1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_NOINCLUDE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
33 /*************************************************************** -*- c -*-
34 * python/precommon.swg
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
39 ************************************************************************/
41 #define SWIG_TypeRegister SWIG_Python_TypeRegister
42 #define SWIG_TypeCheck SWIG_Python_TypeCheck
43 #define SWIG_TypeCast SWIG_Python_TypeCast
44 #define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45 #define SWIG_TypeName SWIG_Python_TypeName
46 #define SWIG_TypeQuery SWIG_Python_TypeQuery
47 #define SWIG_TypeClientData SWIG_Python_TypeClientData
48 #define SWIG_PackData SWIG_Python_PackData
49 #define SWIG_UnpackData SWIG_Python_UnpackData
52 /***********************************************************************
53 * common.swg for wxPython
55 * Include only the function prototypes and such from SWIG's common.swg,
56 * but not the runtime functions themselves. This helps keep the
57 * wrapper files clean of unnecessary stuff that is in the libpy.c file
60 ************************************************************************/
64 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
65 # if defined(_MSC_VER) || defined(__GNUC__)
66 # if defined(STATIC_LINKED)
67 # define SWIGEXPORT(a) a
68 # define SWIGIMPORT(a) extern a
70 # define SWIGEXPORT(a) __declspec(dllexport) a
71 # define SWIGIMPORT(a) extern a
74 # if defined(__BORLANDC__)
75 # define SWIGEXPORT(a) a _export
76 # define SWIGIMPORT(a) a _export
78 # define SWIGEXPORT(a) a
79 # define SWIGIMPORT(a) a
83 # define SWIGEXPORT(a) a
84 # define SWIGIMPORT(a) a
88 # define SWIGRUNTIME(a) SWIGEXPORT(a)
90 # define SWIGRUNTIME(a) static a
97 typedef void *(*swig_converter_func
)(void *);
98 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
100 typedef struct swig_type_info
{
102 swig_converter_func converter
;
105 swig_dycast_func dcast
;
106 struct swig_type_info
*next
;
107 struct swig_type_info
*prev
;
111 SWIGIMPORT(swig_type_info
*) SWIG_TypeRegister(swig_type_info
*);
112 SWIGIMPORT(swig_type_info
*) SWIG_TypeCheck(char *c
, swig_type_info
*);
113 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info
*, void *);
114 SWIGIMPORT(swig_type_info
*) SWIG_TypeDynamicCast(swig_type_info
*, void **);
115 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info
*);
116 SWIGIMPORT(swig_type_info
*) SWIG_TypeQuery(const char *);
117 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info
*, void *);
118 SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
119 SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
126 /***********************************************************************
127 * pyrun.swg for wxPython
129 * Include only the function prototypes and such from SWIG's pyrun.swg,
130 * but not the runtime functions themselves. This helps keep the
131 * wrapper files clean of unnecessary stuff that is in the libpy.c file
134 ************************************************************************/
142 #define SWIG_PY_INT 1
143 #define SWIG_PY_FLOAT 2
144 #define SWIG_PY_STRING 3
145 #define SWIG_PY_POINTER 4
146 #define SWIG_PY_BINARY 5
148 /* Flags for pointer conversion */
150 #define SWIG_POINTER_EXCEPTION 0x1
151 #define SWIG_POINTER_DISOWN 0x2
153 /* Exception handling in wrappers */
154 #define SWIG_fail goto fail
156 /* Constant information structure */
157 typedef struct swig_const_info
{
163 swig_type_info
**ptype
;
166 /* Common SWIG API */
167 #define SWIG_ConvertPtr(obj, pp, type, flags) \
168 SWIG_Python_ConvertPtr(obj, pp, type, flags)
169 #define SWIG_NewPointerObj(p, type, flags) \
170 SWIG_Python_NewPointerObj(p, type, flags)
171 #define SWIG_MustGetPtr(p, type, argnum, flags) \
172 SWIG_Python_MustGetPtr(p, type, argnum, flags)
174 /* Python-specific SWIG API */
175 #define SWIG_newvarlink() \
176 SWIG_Python_newvarlink()
177 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
178 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
179 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
180 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
181 #define SWIG_NewPackedObj(ptr, sz, type) \
182 SWIG_Python_NewPackedObj(ptr, sz, type)
183 #define SWIG_InstallConstants(d, constants) \
184 SWIG_Python_InstallConstants(d, constants)
186 typedef double (*py_objasdbl_conv
)(PyObject
*obj
);
188 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject
*, void **, swig_type_info
*, int);
189 SWIGIMPORT(PyObject
*) SWIG_Python_NewPointerObj(void *, swig_type_info
*,int own
);
190 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject
*, swig_type_info
*, int, int);
191 SWIGIMPORT(PyObject
*) SWIG_Python_newvarlink(void);
192 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
193 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject
*, void *, int sz
, swig_type_info
*, int);
194 SWIGIMPORT(PyObject
*) SWIG_Python_NewPackedObj(void *, int sz
, swig_type_info
*);
195 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]);
198 /* Contract support */
200 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
207 /* -------- TYPES TABLE (BEGIN) -------- */
209 #define SWIGTYPE_p_wxLayoutConstraints swig_types[0]
210 #define SWIGTYPE_p_wxRealPoint swig_types[1]
211 #define SWIGTYPE_p_wxSizerItem swig_types[2]
212 #define SWIGTYPE_p_wxGBSizerItem swig_types[3]
213 #define SWIGTYPE_p_wxScrollEvent swig_types[4]
214 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[5]
215 #define SWIGTYPE_p_wxSizer swig_types[6]
216 #define SWIGTYPE_p_wxBoxSizer swig_types[7]
217 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[8]
218 #define SWIGTYPE_p_wxGridBagSizer swig_types[9]
219 #define SWIGTYPE_p_wxAcceleratorEntry swig_types[10]
220 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[11]
221 #define SWIGTYPE_p_wxMenu swig_types[12]
222 #define SWIGTYPE_p_wxEvent swig_types[13]
223 #define SWIGTYPE_p_wxGridSizer swig_types[14]
224 #define SWIGTYPE_p_wxFlexGridSizer swig_types[15]
225 #define SWIGTYPE_p_wxInitDialogEvent swig_types[16]
226 #define SWIGTYPE_p_wxItemContainer swig_types[17]
227 #define SWIGTYPE_p_wxNcPaintEvent swig_types[18]
228 #define SWIGTYPE_p_wxPaintEvent swig_types[19]
229 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[20]
230 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[21]
231 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[22]
232 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[23]
233 #define SWIGTYPE_p_wxControl swig_types[24]
234 #define SWIGTYPE_p_wxFont swig_types[25]
235 #define SWIGTYPE_p_wxMenuBarBase swig_types[26]
236 #define SWIGTYPE_p_wxSetCursorEvent swig_types[27]
237 #define SWIGTYPE_p_wxFSFile swig_types[28]
238 #define SWIGTYPE_p_wxCaret swig_types[29]
239 #define SWIGTYPE_p_wxRegion swig_types[30]
240 #define SWIGTYPE_p_wxPoint2D swig_types[31]
241 #define SWIGTYPE_p_int swig_types[32]
242 #define SWIGTYPE_p_wxSize swig_types[33]
243 #define SWIGTYPE_p_wxDC swig_types[34]
244 #define SWIGTYPE_p_wxPySizer swig_types[35]
245 #define SWIGTYPE_p_wxVisualAttributes swig_types[36]
246 #define SWIGTYPE_p_wxNotifyEvent swig_types[37]
247 #define SWIGTYPE_p_wxPyEvent swig_types[38]
248 #define SWIGTYPE_p_wxPropagationDisabler swig_types[39]
249 #define SWIGTYPE_p_wxAppTraits swig_types[40]
250 #define SWIGTYPE_p_wxArrayString swig_types[41]
251 #define SWIGTYPE_p_wxShowEvent swig_types[42]
252 #define SWIGTYPE_p_wxToolTip swig_types[43]
253 #define SWIGTYPE_p_wxMaximizeEvent swig_types[44]
254 #define SWIGTYPE_p_wxIconizeEvent swig_types[45]
255 #define SWIGTYPE_p_wxActivateEvent swig_types[46]
256 #define SWIGTYPE_p_wxMoveEvent swig_types[47]
257 #define SWIGTYPE_p_wxSizeEvent swig_types[48]
258 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[49]
259 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[50]
260 #define SWIGTYPE_p_wxIdleEvent swig_types[51]
261 #define SWIGTYPE_p_wxMenuItem swig_types[52]
262 #define SWIGTYPE_p_wxStaticBox swig_types[53]
263 #define SWIGTYPE_p_long swig_types[54]
264 #define SWIGTYPE_p_wxTIFFHandler swig_types[55]
265 #define SWIGTYPE_p_wxXPMHandler swig_types[56]
266 #define SWIGTYPE_p_wxPNMHandler swig_types[57]
267 #define SWIGTYPE_p_wxJPEGHandler swig_types[58]
268 #define SWIGTYPE_p_wxPCXHandler swig_types[59]
269 #define SWIGTYPE_p_wxGIFHandler swig_types[60]
270 #define SWIGTYPE_p_wxPNGHandler swig_types[61]
271 #define SWIGTYPE_p_wxANIHandler swig_types[62]
272 #define SWIGTYPE_p_wxMemoryFSHandler swig_types[63]
273 #define SWIGTYPE_p_wxEvtHandler swig_types[64]
274 #define SWIGTYPE_p_wxCURHandler swig_types[65]
275 #define SWIGTYPE_p_wxICOHandler swig_types[66]
276 #define SWIGTYPE_p_wxBMPHandler swig_types[67]
277 #define SWIGTYPE_p_wxImageHandler swig_types[68]
278 #define SWIGTYPE_p_wxFileSystemHandler swig_types[69]
279 #define SWIGTYPE_p_wxPyFileSystemHandler swig_types[70]
280 #define SWIGTYPE_p_wxInternetFSHandler swig_types[71]
281 #define SWIGTYPE_p_wxZipFSHandler swig_types[72]
282 #define SWIGTYPE_p_wxRect swig_types[73]
283 #define SWIGTYPE_p_wxGBSpan swig_types[74]
284 #define SWIGTYPE_p_wxPropagateOnce swig_types[75]
285 #define SWIGTYPE_p_wxAcceleratorTable swig_types[76]
286 #define SWIGTYPE_p_char swig_types[77]
287 #define SWIGTYPE_p_wxGBPosition swig_types[78]
288 #define SWIGTYPE_p_wxImage swig_types[79]
289 #define SWIGTYPE_p_wxFrame swig_types[80]
290 #define SWIGTYPE_p_wxScrollWinEvent swig_types[81]
291 #define SWIGTYPE_p_wxImageHistogram swig_types[82]
292 #define SWIGTYPE_p_byte swig_types[83]
293 #define SWIGTYPE_p_wxPoint swig_types[84]
294 #define SWIGTYPE_p_wxCursor swig_types[85]
295 #define SWIGTYPE_p_wxObject swig_types[86]
296 #define SWIGTYPE_p_wxPyInputStream swig_types[87]
297 #define SWIGTYPE_p_wxOutputStream swig_types[88]
298 #define SWIGTYPE_p_wxInputStream swig_types[89]
299 #define SWIGTYPE_p_wxDateTime swig_types[90]
300 #define SWIGTYPE_p_wxKeyEvent swig_types[91]
301 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[92]
302 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[93]
303 #define SWIGTYPE_p_wxWindow swig_types[94]
304 #define SWIGTYPE_p_wxMenuBar swig_types[95]
305 #define SWIGTYPE_p_wxFileSystem swig_types[96]
306 #define SWIGTYPE_p_wxBitmap swig_types[97]
307 #define SWIGTYPE_p_wxMenuEvent swig_types[98]
308 #define SWIGTYPE_p_wxContextMenuEvent swig_types[99]
309 #define SWIGTYPE_p_unsigned_char swig_types[100]
310 #define SWIGTYPE_p_wxCloseEvent swig_types[101]
311 #define SWIGTYPE_p_wxEraseEvent swig_types[102]
312 #define SWIGTYPE_p_wxMouseEvent swig_types[103]
313 #define SWIGTYPE_p_wxPyApp swig_types[104]
314 #define SWIGTYPE_p_wxCommandEvent swig_types[105]
315 #define SWIGTYPE_p_wxPyCommandEvent swig_types[106]
316 #define SWIGTYPE_p_wxPyDropTarget swig_types[107]
317 #define SWIGTYPE_p_wxChildFocusEvent swig_types[108]
318 #define SWIGTYPE_p_wxFocusEvent swig_types[109]
319 #define SWIGTYPE_p_wxDropFilesEvent swig_types[110]
320 #define SWIGTYPE_p_wxControlWithItems swig_types[111]
321 #define SWIGTYPE_p_wxColour swig_types[112]
322 #define SWIGTYPE_p_wxValidator swig_types[113]
323 #define SWIGTYPE_p_wxPyValidator swig_types[114]
324 static swig_type_info
*swig_types
[116];
326 /* -------- TYPES TABLE (END) -------- */
329 /*-----------------------------------------------
330 @(target):= _core_.so
331 ------------------------------------------------*/
332 #define SWIG_init init_core_
334 #define SWIG_name "_core_"
336 /* Auxiliar swig macros */
339 #define SWIGSTATICINLINE(a) static inline a
340 #define SWIGSTATIC(a) static a
341 #define swig_new_array(type, size) (new type[(size)])
342 #define swig_delete_array(cptr) delete[] cptr
343 #define swig_const_cast(type,a) const_cast<type>(a)
344 #define swig_static_cast(type,a) static_cast<type>(a)
345 #define swig_reinterpret_cast(type,a) reinterpret_cast<type>(a)
347 #ifdef HAVE_NUMERIC_CAST
348 #define swig_numeric_cast(type,a) numeric_cast<type>(a)
350 #define swig_numeric_cast(type,a) static_cast<type>(a)
355 #define SWIGSTATICINLINE(a) static a
356 #define SWIGSTATIC(a) static a
357 #define swig_new_array(type, size) ((type*) malloc((size)*sizeof(type)))
358 #define swig_delete_array(cptr) free((char*)cptr)
359 #define swig_const_cast(type,a) (type)(a)
360 #define swig_static_cast(type,a) (type)(a)
361 #define swig_reinterpret_cast(type,a) (type)(a)
362 #define swig_numeric_cast(type,a) (type)(a)
364 #endif /* __cplusplus */
367 #define SWIG_FromSignedChar PyInt_FromLong
368 #define SWIG_FromUnsignedChar PyInt_FromLong
369 #define SWIG_FromShort PyInt_FromLong
370 #define SWIG_FromUnsignedShort PyInt_FromLong
371 #define SWIG_FromInt PyInt_FromLong
372 #define SWIG_FromLong PyInt_FromLong
373 #define SWIG_FromFloat PyFloat_FromDouble
374 #define SWIG_FromDouble PyFloat_FromDouble
375 #define SWIG_FromFloat PyFloat_FromDouble
376 #define SWIG_FromDouble PyFloat_FromDouble
379 #include "wx/wxPython/wxPython_int.h"
380 #include "wx/wxPython/pyclasses.h"
383 #ifndef wxPyUSE_EXPORT
384 // Helper functions for dealing with SWIG objects and such. These are
385 // located here so they know about the SWIG types and functions declared
386 // in the wrapper code.
388 #include <wx/hashmap.h>
389 WX_DECLARE_STRING_HASH_MAP( swig_type_info
*, wxPyTypeInfoHashMap
);
392 // Maintains a hashmap of className to swig_type_info pointers. Given the
393 // name of a class either looks up the type info in the cache, or scans the
394 // SWIG tables for it.
395 extern PyObject
* wxPyPtrTypeMap
;
397 swig_type_info
* wxPyFindSwigType(const wxChar
* className
) {
399 static wxPyTypeInfoHashMap
* typeInfoCache
= NULL
;
401 if (typeInfoCache
== NULL
)
402 typeInfoCache
= new wxPyTypeInfoHashMap
;
404 wxString
name(className
);
405 swig_type_info
* swigType
= (*typeInfoCache
)[name
];
408 // it wasn't in the cache, so look it up from SWIG
409 name
.Append(wxT(" *"));
410 swigType
= SWIG_Python_TypeQuery(name
.mb_str());
412 // if it still wasn't found, try looking for a mapped name
417 if ((item
= PyDict_GetItemString(wxPyPtrTypeMap
,
418 (char*)(const char*)name
.mbc_str())) != NULL
) {
419 name
= wxString(PyString_AsString(item
), *wxConvCurrent
);
420 name
.Append(wxT(" *"));
421 swigType
= SWIG_Python_TypeQuery(name
.mb_str());
425 // and add it to the map if found
426 (*typeInfoCache
)[className
] = swigType
;
433 // Check if a class name is a type known to SWIG
434 bool wxPyCheckSwigType(const wxChar
* className
) {
436 swig_type_info
* swigType
= wxPyFindSwigType(className
);
437 return swigType
!= NULL
;
441 // Given a pointer to a C++ object and a class name, construct a Python proxy
443 PyObject
* wxPyConstructObject(void* ptr
,
444 const wxChar
* className
,
447 swig_type_info
* swigType
= wxPyFindSwigType(className
);
448 wxCHECK_MSG(swigType
!= NULL
, NULL
, wxT("Unknown type in wxPyConstructObject"));
450 return SWIG_Python_NewPointerObj(ptr
, swigType
, setThisOwn
);
454 // Extract a pointer to the wrapped C++ object from a Python proxy object.
455 // Ensures that the proxy object is of the specified (or derived) type. If
456 // not able to perform the conversion then a Python exception is set and the
457 // error should be handled properly in the caller. Returns True on success.
458 bool wxPyConvertSwigPtr(PyObject
* obj
, void **ptr
,
459 const wxChar
* className
) {
461 swig_type_info
* swigType
= wxPyFindSwigType(className
);
462 wxCHECK_MSG(swigType
!= NULL
, False
, wxT("Unknown type in wxPyConvertSwigPtr"));
464 return SWIG_Python_ConvertPtr(obj
, ptr
, swigType
, SWIG_POINTER_EXCEPTION
) != -1;
468 // Make a SWIGified pointer object suitable for a .this attribute
469 PyObject
* wxPyMakeSwigPtr(void* ptr
, const wxChar
* className
) {
471 PyObject
* robj
= NULL
;
473 swig_type_info
* swigType
= wxPyFindSwigType(className
);
474 wxCHECK_MSG(swigType
!= NULL
, NULL
, wxT("Unknown type in wxPyConvertSwigPtr"));
476 #ifdef SWIG_COBJECT_TYPES
477 robj
= PyCObject_FromVoidPtrAndDesc((void *) ptr
, (char *) swigType
->name
, NULL
);
483 r
= SWIG_Python_PackData(r
, &ptr
, sizeof(void *));
484 strcpy(r
, swigType
->name
);
485 robj
= PyString_FromString(result
);
495 // Export a C API in a struct. Other modules will be able to load this from
496 // the wx.core module and will then have safe access to these functions, 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
);
1255 PyErr_SetString(PyExc_TypeError
, "Expected callable object or None."));
1258 bool wxEvtHandler_Disconnect(wxEvtHandler
*self
,int id
,int lastId
,wxEventType eventType
){
1259 return self
->Disconnect(id
, lastId
, eventType
,
1260 (wxObjectEventFunction
)
1261 &wxPyCallback::EventThunker
);
1263 void wxEvtHandler__setOORInfo(wxEvtHandler
*self
,PyObject
*_self
){
1264 if (_self
&& _self
!= Py_None
) {
1265 self
->SetClientObject(new wxPyOORClientData(_self
));
1268 wxPyOORClientData
* data
= (wxPyOORClientData
*)self
->GetClientObject();
1270 self
->SetClientObject(NULL
); // This will delete it too
1274 int wxKeyEvent_GetUniChar(wxKeyEvent
*self
){
1276 return self
->m_uniChar
;
1282 #if UINT_MAX < LONG_MAX
1283 #define SWIG_FromUnsignedInt SWIG_FromLong
1285 #define SWIG_FromUnsignedInt SWIG_FromUnsignedLong
1289 #if UINT_MAX != ULONG_MAX
1290 SWIGSTATICINLINE(unsigned int)
1291 SWIG_AsUnsignedInt(PyObject
*obj
)
1293 return swig_numeric_cast(unsigned int,
1294 SWIG_CheckUnsignedLongInRange(SWIG_AsUnsignedLong(obj
),
1295 "unsigned int", UINT_MAX
));
1298 #define SWIG_AsUnsignedInt SWIG_AsUnsignedLong
1302 SWIGSTATICINLINE(int)
1303 SWIG_CheckUnsignedInt(PyObject
* obj
)
1305 SWIG_AsUnsignedInt(obj
);
1306 if (PyErr_Occurred()) {
1314 void wxSizeEvent_SetSize(wxSizeEvent
*self
,wxSize size
){
1315 self
->m_size
= size
;
1317 void wxMoveEvent_SetPosition(wxMoveEvent
*self
,wxPoint pos
){
1320 PyObject
*wxDropFilesEvent_GetFiles(wxDropFilesEvent
*self
){
1321 int count
= self
->GetNumberOfFiles();
1322 wxString
* files
= self
->GetFiles();
1323 PyObject
* list
= PyList_New(count
);
1326 PyErr_SetString(PyExc_MemoryError
, "Can't allocate list of files!");
1330 for (int i
=0; i
<count
; i
++) {
1331 PyList_SetItem(list
, i
, wx2PyString(files
[i
]));
1337 wxPyApp
*new_wxPyApp(){
1338 wxPythonApp
= new wxPyApp();
1341 int PyApp_GetComCtl32Version(){ wxPyRaiseNotImplemented(); return 0; }
1343 void wxApp_CleanUp() {
1348 wxPyApp
* wxGetApp() {
1349 return (wxPyApp
*)wxTheApp
;
1354 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
1355 wxVisualAttributes
*new_wxVisualAttributes(){ return new wxVisualAttributes
; }
1356 void delete_wxVisualAttributes(wxVisualAttributes
*self
){}
1357 PyObject
*wxWindow_GetChildren(wxWindow
*self
){
1358 wxWindowList
& list
= self
->GetChildren();
1359 return wxPy_ConvertList(&list
);
1361 bool wxWindow_RegisterHotKey(wxWindow
*self
,int hotkeyId
,int modifiers
,int keycode
){
1363 return self
->RegisterHotKey(hotkeyId
, modifiers
, keycode
);
1368 bool wxWindow_UnregisterHotKey(wxWindow
*self
,int hotkeyId
){
1375 long wxWindow_GetHandle(wxWindow
*self
){
1376 return wxPyGetWinHandle(self
);
1379 wxWindow
* wxFindWindowById( long id
, const wxWindow
*parent
= NULL
) {
1380 return wxWindow::FindWindowById(id
, parent
);
1383 wxWindow
* wxFindWindowByName( const wxString
& name
,
1384 const wxWindow
*parent
= NULL
) {
1385 return wxWindow::FindWindowByName(name
, parent
);
1388 wxWindow
* wxFindWindowByLabel( const wxString
& label
,
1389 const wxWindow
*parent
= NULL
) {
1390 return wxWindow::FindWindowByLabel(label
, parent
);
1395 #include <wx/msw/private.h> // to get wxGetWindowId
1399 wxWindow
* wxWindow_FromHWND(wxWindow
* parent
, unsigned long _hWnd
) {
1401 WXHWND hWnd
= (WXHWND
)_hWnd
;
1402 long id
= wxGetWindowId(hWnd
);
1403 wxWindow
* win
= new wxWindow
;
1404 parent
->AddChild(win
);
1405 win
->SetEventHandler(win
);
1408 win
->SubclassWin(hWnd
);
1409 win
->AdoptAttributesFromHWND();
1410 win
->SetupColours();
1413 wxPyRaiseNotImplemented();
1419 IMP_PYCALLBACK_BOOL_WXWIN(wxPyValidator
, wxValidator
, Validate
);
1420 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferToWindow
);
1421 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferFromWindow
);
1423 IMPLEMENT_DYNAMIC_CLASS(wxPyValidator
, wxValidator
);
1425 void wxMenu_Destroy(wxMenu
*self
){ delete self
; }
1426 PyObject
*wxMenu_GetMenuItems(wxMenu
*self
){
1427 wxMenuItemList
& list
= self
->GetMenuItems();
1428 return wxPy_ConvertList(&list
);
1430 int MenuItem_GetDefaultMarginWidth(){ return 0; }
1431 static const wxString
wxPyControlNameStr(wxControlNameStr
);
1432 int wxItemContainer_Append(wxItemContainer
*self
,wxString
const &item
,PyObject
*clientData
){
1434 wxPyClientData
* data
= new wxPyClientData(clientData
);
1435 return self
->Append(item
, data
);
1437 return self
->Append(item
);
1439 int wxItemContainer_Insert(wxItemContainer
*self
,wxString
const &item
,int pos
,PyObject
*clientData
){
1441 wxPyClientData
* data
= new wxPyClientData(clientData
);
1442 return self
->Insert(item
, pos
, data
);
1444 return self
->Insert(item
, pos
);
1446 PyObject
*wxItemContainer_GetClientData(wxItemContainer
*self
,int n
){
1447 wxPyClientData
* data
= (wxPyClientData
*)self
->GetClientObject(n
);
1449 Py_INCREF(data
->m_obj
);
1456 void wxItemContainer_SetClientData(wxItemContainer
*self
,int n
,PyObject
*clientData
){
1457 wxPyClientData
* data
= new wxPyClientData(clientData
);
1458 self
->SetClientObject(n
, data
);
1466 SWIG_FloatCast(double value
)
1469 if (!PyErr_Occurred()) {
1470 if (value
< FLT_MIN
) {
1472 PyString_FromFormat("value %g is less than float minimum %g",
1474 PyErr_SetObject(PyExc_OverflowError
, err
);
1476 } else if (value
> FLT_MAX
) {
1478 PyString_FromFormat("value %g is greater than float maximum %g",
1480 PyErr_SetObject(PyExc_OverflowError
, err
);
1483 f
= swig_numeric_cast(float, value
);
1490 SWIGSTATICINLINE(float)
1491 SWIG_AsFloat(PyObject
*obj
)
1493 return SWIG_FloatCast(SWIG_AsDouble(obj
));
1497 SWIGSTATICINLINE(int)
1498 SWIG_CheckFloat(PyObject
* obj
)
1501 if (PyErr_Occurred()) {
1509 PyObject
*wxSizerItem_GetUserData(wxSizerItem
*self
){
1510 wxPyUserData
* data
= (wxPyUserData
*)self
->GetUserData();
1512 Py_INCREF(data
->m_obj
);
1520 // Figure out the type of the sizer item
1522 struct wxPySizerItemInfo
{
1524 : window(NULL
), sizer(NULL
), gotSize(False
),
1525 size(wxDefaultSize
), gotPos(False
), pos(-1)
1536 static wxPySizerItemInfo
wxPySizerItemTypeHelper(PyObject
* item
, bool checkSize
, bool checkIdx
) {
1538 wxPySizerItemInfo info
;
1540 wxSize
* sizePtr
= &size
;
1542 // Find out what the type of the item is
1544 if ( ! wxPyConvertSwigPtr(item
, (void**)&info
.window
, wxT("wxWindow")) ) {
1549 if ( ! wxPyConvertSwigPtr(item
, (void**)&info
.sizer
, wxT("wxSizer")) ) {
1553 // try wxSize or (w,h)
1554 if ( checkSize
&& wxSize_helper(item
, &sizePtr
)) {
1555 info
.size
= *sizePtr
;
1556 info
.gotSize
= True
;
1560 if (checkIdx
&& PyInt_Check(item
)) {
1561 info
.pos
= PyInt_AsLong(item
);
1567 if ( !(info
.window
|| info
.sizer
|| (checkSize
&& info
.gotSize
) || (checkIdx
&& info
.gotPos
)) ) {
1568 // no expected type, figure out what kind of error message to generate
1569 if ( !checkSize
&& !checkIdx
)
1570 PyErr_SetString(PyExc_TypeError
, "wxWindow or wxSizer expected for item");
1571 else if ( checkSize
&& !checkIdx
)
1572 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer, wxSize, or (w,h) expected for item");
1573 else if ( !checkSize
&& checkIdx
)
1574 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer or int (position) expected for item");
1576 // can this one happen?
1577 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer, wxSize, or (w,h) or int (position) expected for item");
1583 void wxSizer__setOORInfo(wxSizer
*self
,PyObject
*_self
){
1584 self
->SetClientObject(new wxPyOORClientData(_self
));
1586 void wxSizer_Add(wxSizer
*self
,PyObject
*item
,int proportion
,int flag
,int border
,PyObject
*userData
){
1588 wxPyUserData
* data
= NULL
;
1589 bool blocked
= wxPyBeginBlockThreads();
1590 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, True
, False
);
1591 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1592 data
= new wxPyUserData(userData
);
1593 wxPyEndBlockThreads(blocked
);
1595 // Now call the real Add method if a valid item type was found
1597 self
->Add(info
.window
, proportion
, flag
, border
, data
);
1598 else if ( info
.sizer
)
1599 self
->Add(info
.sizer
, proportion
, flag
, border
, data
);
1600 else if (info
.gotSize
)
1601 self
->Add(info
.size
.GetWidth(), info
.size
.GetHeight(),
1602 proportion
, flag
, border
, data
);
1604 void wxSizer_Insert(wxSizer
*self
,int before
,PyObject
*item
,int proportion
,int flag
,int border
,PyObject
*userData
){
1606 wxPyUserData
* data
= NULL
;
1607 bool blocked
= wxPyBeginBlockThreads();
1608 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, True
, False
);
1609 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1610 data
= new wxPyUserData(userData
);
1611 wxPyEndBlockThreads(blocked
);
1613 // Now call the real Insert method if a valid item type was found
1615 self
->Insert(before
, info
.window
, proportion
, flag
, border
, data
);
1616 else if ( info
.sizer
)
1617 self
->Insert(before
, info
.sizer
, proportion
, flag
, border
, data
);
1618 else if (info
.gotSize
)
1619 self
->Insert(before
, info
.size
.GetWidth(), info
.size
.GetHeight(),
1620 proportion
, flag
, border
, data
);
1622 void wxSizer_Prepend(wxSizer
*self
,PyObject
*item
,int proportion
,int flag
,int border
,PyObject
*userData
){
1624 wxPyUserData
* data
= NULL
;
1625 bool blocked
= wxPyBeginBlockThreads();
1626 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, True
, False
);
1627 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1628 data
= new wxPyUserData(userData
);
1629 wxPyEndBlockThreads(blocked
);
1631 // Now call the real Prepend method if a valid item type was found
1633 self
->Prepend(info
.window
, proportion
, flag
, border
, data
);
1634 else if ( info
.sizer
)
1635 self
->Prepend(info
.sizer
, proportion
, flag
, border
, data
);
1636 else if (info
.gotSize
)
1637 self
->Prepend(info
.size
.GetWidth(), info
.size
.GetHeight(),
1638 proportion
, flag
, border
, data
);
1640 bool wxSizer_Remove(wxSizer
*self
,PyObject
*item
){
1641 bool blocked
= wxPyBeginBlockThreads();
1642 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, True
);
1643 wxPyEndBlockThreads(blocked
);
1645 return self
->Remove(info
.window
);
1646 else if ( info
.sizer
)
1647 return self
->Remove(info
.sizer
);
1648 else if ( info
.gotPos
)
1649 return self
->Remove(info
.pos
);
1653 void wxSizer__SetItemMinSize(wxSizer
*self
,PyObject
*item
,wxSize
const &size
){
1654 bool blocked
= wxPyBeginBlockThreads();
1655 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, True
);
1656 wxPyEndBlockThreads(blocked
);
1658 self
->SetItemMinSize(info
.window
, size
);
1659 else if ( info
.sizer
)
1660 self
->SetItemMinSize(info
.sizer
, size
);
1661 else if ( info
.gotPos
)
1662 self
->SetItemMinSize(info
.pos
, size
);
1664 PyObject
*wxSizer_GetChildren(wxSizer
*self
){
1665 wxSizerItemList
& list
= self
->GetChildren();
1666 return wxPy_ConvertList(&list
);
1668 void wxSizer_Show(wxSizer
*self
,PyObject
*item
,bool show
){
1669 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, False
);
1671 self
->Show(info
.window
, show
);
1672 else if ( info
.sizer
)
1673 self
->Show(info
.sizer
, show
);
1675 void wxSizer_Hide(wxSizer
*self
,PyObject
*item
){
1676 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, False
);
1678 self
->Hide(info
.window
);
1679 else if ( info
.sizer
)
1680 self
->Hide(info
.sizer
);
1682 bool wxSizer_IsShown(wxSizer
*self
,PyObject
*item
){
1683 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, False
);
1685 return self
->IsShown(info
.window
);
1686 else if ( info
.sizer
)
1687 return self
->IsShown(info
.sizer
);
1693 IMP_PYCALLBACK___pure(wxPySizer
, wxSizer
, RecalcSizes
);
1694 IMP_PYCALLBACK_wxSize__pure(wxPySizer
, wxSizer
, CalcMin
);
1695 IMPLEMENT_DYNAMIC_CLASS(wxPySizer
, wxSizer
);
1700 bool wxGBPosition_helper(PyObject
* source
, wxGBPosition
** obj
)
1702 if (source
== Py_None
) {
1703 **obj
= wxGBPosition(-1,-1);
1706 return wxPyTwoIntItem_helper(source
, obj
, wxT("wxGBPosition"));
1709 bool wxGBSpan_helper(PyObject
* source
, wxGBSpan
** obj
)
1711 if (source
== Py_None
) {
1712 **obj
= wxGBSpan(-1,-1);
1715 return wxPyTwoIntItem_helper(source
, obj
, wxT("wxGBSpan"));
1719 void wxGBPosition_Set(wxGBPosition
*self
,int row
,int col
){
1723 PyObject
*wxGBPosition_Get(wxGBPosition
*self
){
1724 bool blocked
= wxPyBeginBlockThreads();
1725 PyObject
* tup
= PyTuple_New(2);
1726 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRow()));
1727 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetCol()));
1728 wxPyEndBlockThreads(blocked
);
1731 void wxGBSpan_Set(wxGBSpan
*self
,int rowspan
,int colspan
){
1732 self
->SetRowspan(rowspan
);
1733 self
->SetColspan(colspan
);
1735 PyObject
*wxGBSpan_Get(wxGBSpan
*self
){
1736 bool blocked
= wxPyBeginBlockThreads();
1737 PyObject
* tup
= PyTuple_New(2);
1738 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRowspan()));
1739 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetColspan()));
1740 wxPyEndBlockThreads(blocked
);
1743 bool wxGridBagSizer_Add(wxGridBagSizer
*self
,PyObject
*item
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
){
1745 wxPyUserData
* data
= NULL
;
1746 bool blocked
= wxPyBeginBlockThreads();
1747 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, True
, False
);
1748 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1749 data
= new wxPyUserData(userData
);
1750 wxPyEndBlockThreads(blocked
);
1752 // Now call the real Add method if a valid item type was found
1754 return self
->Add(info
.window
, pos
, span
, flag
, border
, data
);
1755 else if ( info
.sizer
)
1756 return self
->Add(info
.sizer
, pos
, span
, flag
, border
, data
);
1757 else if (info
.gotSize
)
1758 return self
->Add(info
.size
.GetWidth(), info
.size
.GetHeight(),
1759 pos
, span
, flag
, border
, data
);
1767 static int _wrap_EmptyString_set(PyObject
*_val
) {
1768 PyErr_SetString(PyExc_TypeError
,"Variable EmptyString is read-only.");
1773 static PyObject
*_wrap_EmptyString_get() {
1778 pyobj
= PyUnicode_FromWideChar((&wxPyEmptyString
)->c_str(), (&wxPyEmptyString
)->Len());
1780 pyobj
= PyString_FromStringAndSize((&wxPyEmptyString
)->c_str(), (&wxPyEmptyString
)->Len());
1787 static PyObject
*_wrap_Object_GetClassName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1788 PyObject
*resultobj
;
1789 wxObject
*arg1
= (wxObject
*) 0 ;
1791 PyObject
* obj0
= 0 ;
1793 (char *) "self", NULL
1796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Object_GetClassName",kwnames
,&obj0
)) goto fail
;
1797 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxObject
,
1798 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1801 result
= wxObject_GetClassName(arg1
);
1803 wxPyEndAllowThreads(__tstate
);
1804 if (PyErr_Occurred()) SWIG_fail
;
1808 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
1810 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
1819 static PyObject
*_wrap_Object_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1820 PyObject
*resultobj
;
1821 wxObject
*arg1
= (wxObject
*) 0 ;
1822 PyObject
* obj0
= 0 ;
1824 (char *) "self", NULL
1827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Object_Destroy",kwnames
,&obj0
)) goto fail
;
1828 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxObject
,
1829 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1832 wxObject_Destroy(arg1
);
1834 wxPyEndAllowThreads(__tstate
);
1835 if (PyErr_Occurred()) SWIG_fail
;
1837 Py_INCREF(Py_None
); resultobj
= Py_None
;
1844 static PyObject
* Object_swigregister(PyObject
*self
, PyObject
*args
) {
1846 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1847 SWIG_TypeClientData(SWIGTYPE_p_wxObject
, obj
);
1849 return Py_BuildValue((char *)"");
1851 static PyObject
*_wrap_Size_width_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1852 PyObject
*resultobj
;
1853 wxSize
*arg1
= (wxSize
*) 0 ;
1855 PyObject
* obj0
= 0 ;
1856 PyObject
* obj1
= 0 ;
1858 (char *) "self",(char *) "x", NULL
1861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
1862 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
1863 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1864 arg2
= (int) SWIG_AsInt(obj1
);
1865 if (PyErr_Occurred()) SWIG_fail
;
1866 if (arg1
) (arg1
)->x
= arg2
;
1868 Py_INCREF(Py_None
); resultobj
= Py_None
;
1875 static PyObject
*_wrap_Size_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1876 PyObject
*resultobj
;
1877 wxSize
*arg1
= (wxSize
*) 0 ;
1879 PyObject
* obj0
= 0 ;
1881 (char *) "self", NULL
1884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_width_get",kwnames
,&obj0
)) goto fail
;
1885 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
1886 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1887 result
= (int) ((arg1
)->x
);
1889 resultobj
= SWIG_FromInt((int)result
);
1896 static PyObject
*_wrap_Size_height_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1897 PyObject
*resultobj
;
1898 wxSize
*arg1
= (wxSize
*) 0 ;
1900 PyObject
* obj0
= 0 ;
1901 PyObject
* obj1
= 0 ;
1903 (char *) "self",(char *) "y", NULL
1906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_height_set",kwnames
,&obj0
,&obj1
)) goto fail
;
1907 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
1908 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1909 arg2
= (int) SWIG_AsInt(obj1
);
1910 if (PyErr_Occurred()) SWIG_fail
;
1911 if (arg1
) (arg1
)->y
= arg2
;
1913 Py_INCREF(Py_None
); resultobj
= Py_None
;
1920 static PyObject
*_wrap_Size_height_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1921 PyObject
*resultobj
;
1922 wxSize
*arg1
= (wxSize
*) 0 ;
1924 PyObject
* obj0
= 0 ;
1926 (char *) "self", NULL
1929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_height_get",kwnames
,&obj0
)) goto fail
;
1930 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
1931 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1932 result
= (int) ((arg1
)->y
);
1934 resultobj
= SWIG_FromInt((int)result
);
1941 static PyObject
*_wrap_new_Size(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1942 PyObject
*resultobj
;
1943 int arg1
= (int) 0 ;
1944 int arg2
= (int) 0 ;
1946 PyObject
* obj0
= 0 ;
1947 PyObject
* obj1
= 0 ;
1949 (char *) "w",(char *) "h", NULL
1952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Size",kwnames
,&obj0
,&obj1
)) goto fail
;
1954 arg1
= (int) SWIG_AsInt(obj0
);
1955 if (PyErr_Occurred()) SWIG_fail
;
1958 arg2
= (int) SWIG_AsInt(obj1
);
1959 if (PyErr_Occurred()) SWIG_fail
;
1962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1963 result
= (wxSize
*)new wxSize(arg1
,arg2
);
1965 wxPyEndAllowThreads(__tstate
);
1966 if (PyErr_Occurred()) SWIG_fail
;
1968 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 1);
1975 static PyObject
*_wrap_delete_Size(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1976 PyObject
*resultobj
;
1977 wxSize
*arg1
= (wxSize
*) 0 ;
1978 PyObject
* obj0
= 0 ;
1980 (char *) "self", NULL
1983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Size",kwnames
,&obj0
)) goto fail
;
1984 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
1985 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1990 wxPyEndAllowThreads(__tstate
);
1991 if (PyErr_Occurred()) SWIG_fail
;
1993 Py_INCREF(Py_None
); resultobj
= Py_None
;
2000 static PyObject
*_wrap_Size___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2001 PyObject
*resultobj
;
2002 wxSize
*arg1
= (wxSize
*) 0 ;
2006 PyObject
* obj0
= 0 ;
2007 PyObject
* obj1
= 0 ;
2009 (char *) "self",(char *) "sz", NULL
2012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
2013 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2014 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2017 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2021 result
= (bool)(arg1
)->operator ==((wxSize
const &)*arg2
);
2023 wxPyEndAllowThreads(__tstate
);
2024 if (PyErr_Occurred()) SWIG_fail
;
2027 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2035 static PyObject
*_wrap_Size___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2036 PyObject
*resultobj
;
2037 wxSize
*arg1
= (wxSize
*) 0 ;
2041 PyObject
* obj0
= 0 ;
2042 PyObject
* obj1
= 0 ;
2044 (char *) "self",(char *) "sz", NULL
2047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
2048 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2049 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2052 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2056 result
= (bool)(arg1
)->operator !=((wxSize
const &)*arg2
);
2058 wxPyEndAllowThreads(__tstate
);
2059 if (PyErr_Occurred()) SWIG_fail
;
2062 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2070 static PyObject
*_wrap_Size___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2071 PyObject
*resultobj
;
2072 wxSize
*arg1
= (wxSize
*) 0 ;
2076 PyObject
* obj0
= 0 ;
2077 PyObject
* obj1
= 0 ;
2079 (char *) "self",(char *) "sz", NULL
2082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
2083 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2084 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2087 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2091 result
= (arg1
)->operator +((wxSize
const &)*arg2
);
2093 wxPyEndAllowThreads(__tstate
);
2094 if (PyErr_Occurred()) SWIG_fail
;
2098 resultptr
= new wxSize((wxSize
&) result
);
2099 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
2107 static PyObject
*_wrap_Size___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2108 PyObject
*resultobj
;
2109 wxSize
*arg1
= (wxSize
*) 0 ;
2113 PyObject
* obj0
= 0 ;
2114 PyObject
* obj1
= 0 ;
2116 (char *) "self",(char *) "sz", NULL
2119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
2120 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2121 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2124 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2128 result
= (arg1
)->operator -((wxSize
const &)*arg2
);
2130 wxPyEndAllowThreads(__tstate
);
2131 if (PyErr_Occurred()) SWIG_fail
;
2135 resultptr
= new wxSize((wxSize
&) result
);
2136 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
2144 static PyObject
*_wrap_Size_IncTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2145 PyObject
*resultobj
;
2146 wxSize
*arg1
= (wxSize
*) 0 ;
2149 PyObject
* obj0
= 0 ;
2150 PyObject
* obj1
= 0 ;
2152 (char *) "self",(char *) "sz", NULL
2155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_IncTo",kwnames
,&obj0
,&obj1
)) goto fail
;
2156 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2157 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2160 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2164 (arg1
)->IncTo((wxSize
const &)*arg2
);
2166 wxPyEndAllowThreads(__tstate
);
2167 if (PyErr_Occurred()) SWIG_fail
;
2169 Py_INCREF(Py_None
); resultobj
= Py_None
;
2176 static PyObject
*_wrap_Size_DecTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2177 PyObject
*resultobj
;
2178 wxSize
*arg1
= (wxSize
*) 0 ;
2181 PyObject
* obj0
= 0 ;
2182 PyObject
* obj1
= 0 ;
2184 (char *) "self",(char *) "sz", NULL
2187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_DecTo",kwnames
,&obj0
,&obj1
)) goto fail
;
2188 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2189 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2192 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2196 (arg1
)->DecTo((wxSize
const &)*arg2
);
2198 wxPyEndAllowThreads(__tstate
);
2199 if (PyErr_Occurred()) SWIG_fail
;
2201 Py_INCREF(Py_None
); resultobj
= Py_None
;
2208 static PyObject
*_wrap_Size_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2209 PyObject
*resultobj
;
2210 wxSize
*arg1
= (wxSize
*) 0 ;
2213 PyObject
* obj0
= 0 ;
2214 PyObject
* obj1
= 0 ;
2215 PyObject
* obj2
= 0 ;
2217 (char *) "self",(char *) "w",(char *) "h", NULL
2220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Size_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2221 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2222 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2223 arg2
= (int) SWIG_AsInt(obj1
);
2224 if (PyErr_Occurred()) SWIG_fail
;
2225 arg3
= (int) SWIG_AsInt(obj2
);
2226 if (PyErr_Occurred()) SWIG_fail
;
2228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2229 (arg1
)->Set(arg2
,arg3
);
2231 wxPyEndAllowThreads(__tstate
);
2232 if (PyErr_Occurred()) SWIG_fail
;
2234 Py_INCREF(Py_None
); resultobj
= Py_None
;
2241 static PyObject
*_wrap_Size_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2242 PyObject
*resultobj
;
2243 wxSize
*arg1
= (wxSize
*) 0 ;
2245 PyObject
* obj0
= 0 ;
2246 PyObject
* obj1
= 0 ;
2248 (char *) "self",(char *) "w", NULL
2251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
2252 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2253 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2254 arg2
= (int) SWIG_AsInt(obj1
);
2255 if (PyErr_Occurred()) SWIG_fail
;
2257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2258 (arg1
)->SetWidth(arg2
);
2260 wxPyEndAllowThreads(__tstate
);
2261 if (PyErr_Occurred()) SWIG_fail
;
2263 Py_INCREF(Py_None
); resultobj
= Py_None
;
2270 static PyObject
*_wrap_Size_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2271 PyObject
*resultobj
;
2272 wxSize
*arg1
= (wxSize
*) 0 ;
2274 PyObject
* obj0
= 0 ;
2275 PyObject
* obj1
= 0 ;
2277 (char *) "self",(char *) "h", NULL
2280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
2281 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2282 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2283 arg2
= (int) SWIG_AsInt(obj1
);
2284 if (PyErr_Occurred()) SWIG_fail
;
2286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2287 (arg1
)->SetHeight(arg2
);
2289 wxPyEndAllowThreads(__tstate
);
2290 if (PyErr_Occurred()) SWIG_fail
;
2292 Py_INCREF(Py_None
); resultobj
= Py_None
;
2299 static PyObject
*_wrap_Size_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2300 PyObject
*resultobj
;
2301 wxSize
*arg1
= (wxSize
*) 0 ;
2303 PyObject
* obj0
= 0 ;
2305 (char *) "self", NULL
2308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_GetWidth",kwnames
,&obj0
)) goto fail
;
2309 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2310 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2313 result
= (int)((wxSize
const *)arg1
)->GetWidth();
2315 wxPyEndAllowThreads(__tstate
);
2316 if (PyErr_Occurred()) SWIG_fail
;
2318 resultobj
= SWIG_FromInt((int)result
);
2325 static PyObject
*_wrap_Size_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2326 PyObject
*resultobj
;
2327 wxSize
*arg1
= (wxSize
*) 0 ;
2329 PyObject
* obj0
= 0 ;
2331 (char *) "self", NULL
2334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_GetHeight",kwnames
,&obj0
)) goto fail
;
2335 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2336 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2339 result
= (int)((wxSize
const *)arg1
)->GetHeight();
2341 wxPyEndAllowThreads(__tstate
);
2342 if (PyErr_Occurred()) SWIG_fail
;
2344 resultobj
= SWIG_FromInt((int)result
);
2351 static PyObject
*_wrap_Size_IsFullySpecified(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2352 PyObject
*resultobj
;
2353 wxSize
*arg1
= (wxSize
*) 0 ;
2355 PyObject
* obj0
= 0 ;
2357 (char *) "self", NULL
2360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_IsFullySpecified",kwnames
,&obj0
)) goto fail
;
2361 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2362 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2365 result
= (bool)((wxSize
const *)arg1
)->IsFullySpecified();
2367 wxPyEndAllowThreads(__tstate
);
2368 if (PyErr_Occurred()) SWIG_fail
;
2371 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2379 static PyObject
*_wrap_Size_SetDefaults(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2380 PyObject
*resultobj
;
2381 wxSize
*arg1
= (wxSize
*) 0 ;
2384 PyObject
* obj0
= 0 ;
2385 PyObject
* obj1
= 0 ;
2387 (char *) "self",(char *) "size", NULL
2390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetDefaults",kwnames
,&obj0
,&obj1
)) goto fail
;
2391 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2392 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2395 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2399 (arg1
)->SetDefaults((wxSize
const &)*arg2
);
2401 wxPyEndAllowThreads(__tstate
);
2402 if (PyErr_Occurred()) SWIG_fail
;
2404 Py_INCREF(Py_None
); resultobj
= Py_None
;
2411 static PyObject
*_wrap_Size_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2412 PyObject
*resultobj
;
2413 wxSize
*arg1
= (wxSize
*) 0 ;
2415 PyObject
* obj0
= 0 ;
2417 (char *) "self", NULL
2420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_Get",kwnames
,&obj0
)) goto fail
;
2421 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2422 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2425 result
= (PyObject
*)wxSize_Get(arg1
);
2427 wxPyEndAllowThreads(__tstate
);
2428 if (PyErr_Occurred()) SWIG_fail
;
2437 static PyObject
* Size_swigregister(PyObject
*self
, PyObject
*args
) {
2439 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2440 SWIG_TypeClientData(SWIGTYPE_p_wxSize
, obj
);
2442 return Py_BuildValue((char *)"");
2444 static PyObject
*_wrap_RealPoint_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2445 PyObject
*resultobj
;
2446 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2448 PyObject
* obj0
= 0 ;
2449 PyObject
* obj1
= 0 ;
2451 (char *) "self",(char *) "x", NULL
2454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
2455 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2456 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2457 arg2
= (double) SWIG_AsDouble(obj1
);
2458 if (PyErr_Occurred()) SWIG_fail
;
2459 if (arg1
) (arg1
)->x
= arg2
;
2461 Py_INCREF(Py_None
); resultobj
= Py_None
;
2468 static PyObject
*_wrap_RealPoint_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2469 PyObject
*resultobj
;
2470 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2472 PyObject
* obj0
= 0 ;
2474 (char *) "self", NULL
2477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_x_get",kwnames
,&obj0
)) goto fail
;
2478 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2479 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2480 result
= (double) ((arg1
)->x
);
2482 resultobj
= SWIG_FromDouble((double)result
);
2489 static PyObject
*_wrap_RealPoint_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2490 PyObject
*resultobj
;
2491 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2493 PyObject
* obj0
= 0 ;
2494 PyObject
* obj1
= 0 ;
2496 (char *) "self",(char *) "y", NULL
2499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
2500 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2501 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2502 arg2
= (double) SWIG_AsDouble(obj1
);
2503 if (PyErr_Occurred()) SWIG_fail
;
2504 if (arg1
) (arg1
)->y
= arg2
;
2506 Py_INCREF(Py_None
); resultobj
= Py_None
;
2513 static PyObject
*_wrap_RealPoint_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2514 PyObject
*resultobj
;
2515 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2517 PyObject
* obj0
= 0 ;
2519 (char *) "self", NULL
2522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_y_get",kwnames
,&obj0
)) goto fail
;
2523 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2524 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2525 result
= (double) ((arg1
)->y
);
2527 resultobj
= SWIG_FromDouble((double)result
);
2534 static PyObject
*_wrap_new_RealPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2535 PyObject
*resultobj
;
2536 double arg1
= (double) 0.0 ;
2537 double arg2
= (double) 0.0 ;
2538 wxRealPoint
*result
;
2539 PyObject
* obj0
= 0 ;
2540 PyObject
* obj1
= 0 ;
2542 (char *) "x",(char *) "y", NULL
2545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_RealPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
2547 arg1
= (double) SWIG_AsDouble(obj0
);
2548 if (PyErr_Occurred()) SWIG_fail
;
2551 arg2
= (double) SWIG_AsDouble(obj1
);
2552 if (PyErr_Occurred()) SWIG_fail
;
2555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2556 result
= (wxRealPoint
*)new wxRealPoint(arg1
,arg2
);
2558 wxPyEndAllowThreads(__tstate
);
2559 if (PyErr_Occurred()) SWIG_fail
;
2561 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRealPoint
, 1);
2568 static PyObject
*_wrap_delete_RealPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2569 PyObject
*resultobj
;
2570 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2571 PyObject
* obj0
= 0 ;
2573 (char *) "self", NULL
2576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_RealPoint",kwnames
,&obj0
)) goto fail
;
2577 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2578 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2583 wxPyEndAllowThreads(__tstate
);
2584 if (PyErr_Occurred()) SWIG_fail
;
2586 Py_INCREF(Py_None
); resultobj
= Py_None
;
2593 static PyObject
*_wrap_RealPoint___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2594 PyObject
*resultobj
;
2595 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2596 wxRealPoint
*arg2
= 0 ;
2599 PyObject
* obj0
= 0 ;
2600 PyObject
* obj1
= 0 ;
2602 (char *) "self",(char *) "pt", NULL
2605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
2606 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2607 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2610 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2614 result
= (bool)(arg1
)->operator ==((wxRealPoint
const &)*arg2
);
2616 wxPyEndAllowThreads(__tstate
);
2617 if (PyErr_Occurred()) SWIG_fail
;
2620 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2628 static PyObject
*_wrap_RealPoint___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2629 PyObject
*resultobj
;
2630 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2631 wxRealPoint
*arg2
= 0 ;
2634 PyObject
* obj0
= 0 ;
2635 PyObject
* obj1
= 0 ;
2637 (char *) "self",(char *) "pt", NULL
2640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
2641 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2642 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2645 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2649 result
= (bool)(arg1
)->operator !=((wxRealPoint
const &)*arg2
);
2651 wxPyEndAllowThreads(__tstate
);
2652 if (PyErr_Occurred()) SWIG_fail
;
2655 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2663 static PyObject
*_wrap_RealPoint___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2664 PyObject
*resultobj
;
2665 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2666 wxRealPoint
*arg2
= 0 ;
2669 PyObject
* obj0
= 0 ;
2670 PyObject
* obj1
= 0 ;
2672 (char *) "self",(char *) "pt", NULL
2675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
2676 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2677 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2680 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2684 result
= (arg1
)->operator +((wxRealPoint
const &)*arg2
);
2686 wxPyEndAllowThreads(__tstate
);
2687 if (PyErr_Occurred()) SWIG_fail
;
2690 wxRealPoint
* resultptr
;
2691 resultptr
= new wxRealPoint((wxRealPoint
&) result
);
2692 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRealPoint
, 1);
2700 static PyObject
*_wrap_RealPoint___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2701 PyObject
*resultobj
;
2702 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2703 wxRealPoint
*arg2
= 0 ;
2706 PyObject
* obj0
= 0 ;
2707 PyObject
* obj1
= 0 ;
2709 (char *) "self",(char *) "pt", NULL
2712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
2713 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2714 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2717 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2721 result
= (arg1
)->operator -((wxRealPoint
const &)*arg2
);
2723 wxPyEndAllowThreads(__tstate
);
2724 if (PyErr_Occurred()) SWIG_fail
;
2727 wxRealPoint
* resultptr
;
2728 resultptr
= new wxRealPoint((wxRealPoint
&) result
);
2729 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRealPoint
, 1);
2737 static PyObject
*_wrap_RealPoint_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2738 PyObject
*resultobj
;
2739 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2742 PyObject
* obj0
= 0 ;
2743 PyObject
* obj1
= 0 ;
2744 PyObject
* obj2
= 0 ;
2746 (char *) "self",(char *) "x",(char *) "y", NULL
2749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RealPoint_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2750 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2751 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2752 arg2
= (double) SWIG_AsDouble(obj1
);
2753 if (PyErr_Occurred()) SWIG_fail
;
2754 arg3
= (double) SWIG_AsDouble(obj2
);
2755 if (PyErr_Occurred()) SWIG_fail
;
2757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2758 wxRealPoint_Set(arg1
,arg2
,arg3
);
2760 wxPyEndAllowThreads(__tstate
);
2761 if (PyErr_Occurred()) SWIG_fail
;
2763 Py_INCREF(Py_None
); resultobj
= Py_None
;
2770 static PyObject
*_wrap_RealPoint_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2771 PyObject
*resultobj
;
2772 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2774 PyObject
* obj0
= 0 ;
2776 (char *) "self", NULL
2779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_Get",kwnames
,&obj0
)) goto fail
;
2780 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2781 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2784 result
= (PyObject
*)wxRealPoint_Get(arg1
);
2786 wxPyEndAllowThreads(__tstate
);
2787 if (PyErr_Occurred()) SWIG_fail
;
2796 static PyObject
* RealPoint_swigregister(PyObject
*self
, PyObject
*args
) {
2798 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2799 SWIG_TypeClientData(SWIGTYPE_p_wxRealPoint
, obj
);
2801 return Py_BuildValue((char *)"");
2803 static PyObject
*_wrap_Point_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2804 PyObject
*resultobj
;
2805 wxPoint
*arg1
= (wxPoint
*) 0 ;
2807 PyObject
* obj0
= 0 ;
2808 PyObject
* obj1
= 0 ;
2810 (char *) "self",(char *) "x", NULL
2813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
2814 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
2815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2816 arg2
= (int) SWIG_AsInt(obj1
);
2817 if (PyErr_Occurred()) SWIG_fail
;
2818 if (arg1
) (arg1
)->x
= arg2
;
2820 Py_INCREF(Py_None
); resultobj
= Py_None
;
2827 static PyObject
*_wrap_Point_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2828 PyObject
*resultobj
;
2829 wxPoint
*arg1
= (wxPoint
*) 0 ;
2831 PyObject
* obj0
= 0 ;
2833 (char *) "self", NULL
2836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_x_get",kwnames
,&obj0
)) goto fail
;
2837 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
2838 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2839 result
= (int) ((arg1
)->x
);
2841 resultobj
= SWIG_FromInt((int)result
);
2848 static PyObject
*_wrap_Point_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2849 PyObject
*resultobj
;
2850 wxPoint
*arg1
= (wxPoint
*) 0 ;
2852 PyObject
* obj0
= 0 ;
2853 PyObject
* obj1
= 0 ;
2855 (char *) "self",(char *) "y", NULL
2858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
2859 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
2860 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2861 arg2
= (int) SWIG_AsInt(obj1
);
2862 if (PyErr_Occurred()) SWIG_fail
;
2863 if (arg1
) (arg1
)->y
= arg2
;
2865 Py_INCREF(Py_None
); resultobj
= Py_None
;
2872 static PyObject
*_wrap_Point_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2873 PyObject
*resultobj
;
2874 wxPoint
*arg1
= (wxPoint
*) 0 ;
2876 PyObject
* obj0
= 0 ;
2878 (char *) "self", NULL
2881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_y_get",kwnames
,&obj0
)) goto fail
;
2882 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
2883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2884 result
= (int) ((arg1
)->y
);
2886 resultobj
= SWIG_FromInt((int)result
);
2893 static PyObject
*_wrap_new_Point(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2894 PyObject
*resultobj
;
2895 int arg1
= (int) 0 ;
2896 int arg2
= (int) 0 ;
2898 PyObject
* obj0
= 0 ;
2899 PyObject
* obj1
= 0 ;
2901 (char *) "x",(char *) "y", NULL
2904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Point",kwnames
,&obj0
,&obj1
)) goto fail
;
2906 arg1
= (int) SWIG_AsInt(obj0
);
2907 if (PyErr_Occurred()) SWIG_fail
;
2910 arg2
= (int) SWIG_AsInt(obj1
);
2911 if (PyErr_Occurred()) SWIG_fail
;
2914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2915 result
= (wxPoint
*)new wxPoint(arg1
,arg2
);
2917 wxPyEndAllowThreads(__tstate
);
2918 if (PyErr_Occurred()) SWIG_fail
;
2920 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 1);
2927 static PyObject
*_wrap_delete_Point(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2928 PyObject
*resultobj
;
2929 wxPoint
*arg1
= (wxPoint
*) 0 ;
2930 PyObject
* obj0
= 0 ;
2932 (char *) "self", NULL
2935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Point",kwnames
,&obj0
)) goto fail
;
2936 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
2937 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2942 wxPyEndAllowThreads(__tstate
);
2943 if (PyErr_Occurred()) SWIG_fail
;
2945 Py_INCREF(Py_None
); resultobj
= Py_None
;
2952 static PyObject
*_wrap_Point___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2953 PyObject
*resultobj
;
2954 wxPoint
*arg1
= (wxPoint
*) 0 ;
2958 PyObject
* obj0
= 0 ;
2959 PyObject
* obj1
= 0 ;
2961 (char *) "self",(char *) "pt", NULL
2964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
2965 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
2966 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2969 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2973 result
= (bool)(arg1
)->operator ==((wxPoint
const &)*arg2
);
2975 wxPyEndAllowThreads(__tstate
);
2976 if (PyErr_Occurred()) SWIG_fail
;
2979 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2987 static PyObject
*_wrap_Point___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2988 PyObject
*resultobj
;
2989 wxPoint
*arg1
= (wxPoint
*) 0 ;
2993 PyObject
* obj0
= 0 ;
2994 PyObject
* obj1
= 0 ;
2996 (char *) "self",(char *) "pt", NULL
2999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
3000 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3001 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3004 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3008 result
= (bool)(arg1
)->operator !=((wxPoint
const &)*arg2
);
3010 wxPyEndAllowThreads(__tstate
);
3011 if (PyErr_Occurred()) SWIG_fail
;
3014 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3022 static PyObject
*_wrap_Point___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3023 PyObject
*resultobj
;
3024 wxPoint
*arg1
= (wxPoint
*) 0 ;
3028 PyObject
* obj0
= 0 ;
3029 PyObject
* obj1
= 0 ;
3031 (char *) "self",(char *) "pt", NULL
3034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
3035 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3036 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3039 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3043 result
= (arg1
)->operator +((wxPoint
const &)*arg2
);
3045 wxPyEndAllowThreads(__tstate
);
3046 if (PyErr_Occurred()) SWIG_fail
;
3049 wxPoint
* resultptr
;
3050 resultptr
= new wxPoint((wxPoint
&) result
);
3051 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3059 static PyObject
*_wrap_Point___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3060 PyObject
*resultobj
;
3061 wxPoint
*arg1
= (wxPoint
*) 0 ;
3065 PyObject
* obj0
= 0 ;
3066 PyObject
* obj1
= 0 ;
3068 (char *) "self",(char *) "pt", NULL
3071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
3072 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3073 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3076 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3080 result
= (arg1
)->operator -((wxPoint
const &)*arg2
);
3082 wxPyEndAllowThreads(__tstate
);
3083 if (PyErr_Occurred()) SWIG_fail
;
3086 wxPoint
* resultptr
;
3087 resultptr
= new wxPoint((wxPoint
&) result
);
3088 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3096 static PyObject
*_wrap_Point___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3097 PyObject
*resultobj
;
3098 wxPoint
*arg1
= (wxPoint
*) 0 ;
3102 PyObject
* obj0
= 0 ;
3103 PyObject
* obj1
= 0 ;
3105 (char *) "self",(char *) "pt", NULL
3108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
3109 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3110 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3113 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3118 wxPoint
&_result_ref
= (arg1
)->operator +=((wxPoint
const &)*arg2
);
3119 result
= (wxPoint
*) &_result_ref
;
3122 wxPyEndAllowThreads(__tstate
);
3123 if (PyErr_Occurred()) SWIG_fail
;
3125 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
3132 static PyObject
*_wrap_Point___isub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3133 PyObject
*resultobj
;
3134 wxPoint
*arg1
= (wxPoint
*) 0 ;
3138 PyObject
* obj0
= 0 ;
3139 PyObject
* obj1
= 0 ;
3141 (char *) "self",(char *) "pt", NULL
3144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
3145 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3146 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3149 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3154 wxPoint
&_result_ref
= (arg1
)->operator -=((wxPoint
const &)*arg2
);
3155 result
= (wxPoint
*) &_result_ref
;
3158 wxPyEndAllowThreads(__tstate
);
3159 if (PyErr_Occurred()) SWIG_fail
;
3161 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
3168 static PyObject
*_wrap_Point_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3169 PyObject
*resultobj
;
3170 wxPoint
*arg1
= (wxPoint
*) 0 ;
3173 PyObject
* obj0
= 0 ;
3174 PyObject
* obj1
= 0 ;
3175 PyObject
* obj2
= 0 ;
3177 (char *) "self",(char *) "x",(char *) "y", NULL
3180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Point_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3181 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3182 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3183 arg2
= (long) SWIG_AsLong(obj1
);
3184 if (PyErr_Occurred()) SWIG_fail
;
3185 arg3
= (long) SWIG_AsLong(obj2
);
3186 if (PyErr_Occurred()) SWIG_fail
;
3188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3189 wxPoint_Set(arg1
,arg2
,arg3
);
3191 wxPyEndAllowThreads(__tstate
);
3192 if (PyErr_Occurred()) SWIG_fail
;
3194 Py_INCREF(Py_None
); resultobj
= Py_None
;
3201 static PyObject
*_wrap_Point_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3202 PyObject
*resultobj
;
3203 wxPoint
*arg1
= (wxPoint
*) 0 ;
3205 PyObject
* obj0
= 0 ;
3207 (char *) "self", NULL
3210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_Get",kwnames
,&obj0
)) goto fail
;
3211 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3212 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3215 result
= (PyObject
*)wxPoint_Get(arg1
);
3217 wxPyEndAllowThreads(__tstate
);
3218 if (PyErr_Occurred()) SWIG_fail
;
3227 static PyObject
* Point_swigregister(PyObject
*self
, PyObject
*args
) {
3229 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3230 SWIG_TypeClientData(SWIGTYPE_p_wxPoint
, obj
);
3232 return Py_BuildValue((char *)"");
3234 static PyObject
*_wrap_new_Rect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3235 PyObject
*resultobj
;
3236 int arg1
= (int) 0 ;
3237 int arg2
= (int) 0 ;
3238 int arg3
= (int) 0 ;
3239 int arg4
= (int) 0 ;
3241 PyObject
* obj0
= 0 ;
3242 PyObject
* obj1
= 0 ;
3243 PyObject
* obj2
= 0 ;
3244 PyObject
* obj3
= 0 ;
3246 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
3249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Rect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3251 arg1
= (int) SWIG_AsInt(obj0
);
3252 if (PyErr_Occurred()) SWIG_fail
;
3255 arg2
= (int) SWIG_AsInt(obj1
);
3256 if (PyErr_Occurred()) SWIG_fail
;
3259 arg3
= (int) SWIG_AsInt(obj2
);
3260 if (PyErr_Occurred()) SWIG_fail
;
3263 arg4
= (int) SWIG_AsInt(obj3
);
3264 if (PyErr_Occurred()) SWIG_fail
;
3267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3268 result
= (wxRect
*)new wxRect(arg1
,arg2
,arg3
,arg4
);
3270 wxPyEndAllowThreads(__tstate
);
3271 if (PyErr_Occurred()) SWIG_fail
;
3273 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
3280 static PyObject
*_wrap_new_RectPP(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3281 PyObject
*resultobj
;
3287 PyObject
* obj0
= 0 ;
3288 PyObject
* obj1
= 0 ;
3290 (char *) "topLeft",(char *) "bottomRight", NULL
3293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RectPP",kwnames
,&obj0
,&obj1
)) goto fail
;
3296 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
3300 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3304 result
= (wxRect
*)new wxRect((wxPoint
const &)*arg1
,(wxPoint
const &)*arg2
);
3306 wxPyEndAllowThreads(__tstate
);
3307 if (PyErr_Occurred()) SWIG_fail
;
3309 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
3316 static PyObject
*_wrap_new_RectPS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3317 PyObject
*resultobj
;
3323 PyObject
* obj0
= 0 ;
3324 PyObject
* obj1
= 0 ;
3326 (char *) "pos",(char *) "size", NULL
3329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RectPS",kwnames
,&obj0
,&obj1
)) goto fail
;
3332 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
3336 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3340 result
= (wxRect
*)new wxRect((wxPoint
const &)*arg1
,(wxSize
const &)*arg2
);
3342 wxPyEndAllowThreads(__tstate
);
3343 if (PyErr_Occurred()) SWIG_fail
;
3345 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
3352 static PyObject
*_wrap_delete_Rect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3353 PyObject
*resultobj
;
3354 wxRect
*arg1
= (wxRect
*) 0 ;
3355 PyObject
* obj0
= 0 ;
3357 (char *) "self", NULL
3360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Rect",kwnames
,&obj0
)) goto fail
;
3361 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3362 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3367 wxPyEndAllowThreads(__tstate
);
3368 if (PyErr_Occurred()) SWIG_fail
;
3370 Py_INCREF(Py_None
); resultobj
= Py_None
;
3377 static PyObject
*_wrap_Rect_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3378 PyObject
*resultobj
;
3379 wxRect
*arg1
= (wxRect
*) 0 ;
3381 PyObject
* obj0
= 0 ;
3383 (char *) "self", NULL
3386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetX",kwnames
,&obj0
)) goto fail
;
3387 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3388 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3391 result
= (int)((wxRect
const *)arg1
)->GetX();
3393 wxPyEndAllowThreads(__tstate
);
3394 if (PyErr_Occurred()) SWIG_fail
;
3396 resultobj
= SWIG_FromInt((int)result
);
3403 static PyObject
*_wrap_Rect_SetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3404 PyObject
*resultobj
;
3405 wxRect
*arg1
= (wxRect
*) 0 ;
3407 PyObject
* obj0
= 0 ;
3408 PyObject
* obj1
= 0 ;
3410 (char *) "self",(char *) "x", NULL
3413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetX",kwnames
,&obj0
,&obj1
)) goto fail
;
3414 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3415 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3416 arg2
= (int) SWIG_AsInt(obj1
);
3417 if (PyErr_Occurred()) SWIG_fail
;
3419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3422 wxPyEndAllowThreads(__tstate
);
3423 if (PyErr_Occurred()) SWIG_fail
;
3425 Py_INCREF(Py_None
); resultobj
= Py_None
;
3432 static PyObject
*_wrap_Rect_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3433 PyObject
*resultobj
;
3434 wxRect
*arg1
= (wxRect
*) 0 ;
3436 PyObject
* obj0
= 0 ;
3438 (char *) "self", NULL
3441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetY",kwnames
,&obj0
)) goto fail
;
3442 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3443 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3446 result
= (int)(arg1
)->GetY();
3448 wxPyEndAllowThreads(__tstate
);
3449 if (PyErr_Occurred()) SWIG_fail
;
3451 resultobj
= SWIG_FromInt((int)result
);
3458 static PyObject
*_wrap_Rect_SetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3459 PyObject
*resultobj
;
3460 wxRect
*arg1
= (wxRect
*) 0 ;
3462 PyObject
* obj0
= 0 ;
3463 PyObject
* obj1
= 0 ;
3465 (char *) "self",(char *) "y", NULL
3468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetY",kwnames
,&obj0
,&obj1
)) goto fail
;
3469 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3471 arg2
= (int) SWIG_AsInt(obj1
);
3472 if (PyErr_Occurred()) SWIG_fail
;
3474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3477 wxPyEndAllowThreads(__tstate
);
3478 if (PyErr_Occurred()) SWIG_fail
;
3480 Py_INCREF(Py_None
); resultobj
= Py_None
;
3487 static PyObject
*_wrap_Rect_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3488 PyObject
*resultobj
;
3489 wxRect
*arg1
= (wxRect
*) 0 ;
3491 PyObject
* obj0
= 0 ;
3493 (char *) "self", NULL
3496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetWidth",kwnames
,&obj0
)) goto fail
;
3497 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3498 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3501 result
= (int)((wxRect
const *)arg1
)->GetWidth();
3503 wxPyEndAllowThreads(__tstate
);
3504 if (PyErr_Occurred()) SWIG_fail
;
3506 resultobj
= SWIG_FromInt((int)result
);
3513 static PyObject
*_wrap_Rect_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3514 PyObject
*resultobj
;
3515 wxRect
*arg1
= (wxRect
*) 0 ;
3517 PyObject
* obj0
= 0 ;
3518 PyObject
* obj1
= 0 ;
3520 (char *) "self",(char *) "w", NULL
3523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
3524 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3525 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3526 arg2
= (int) SWIG_AsInt(obj1
);
3527 if (PyErr_Occurred()) SWIG_fail
;
3529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3530 (arg1
)->SetWidth(arg2
);
3532 wxPyEndAllowThreads(__tstate
);
3533 if (PyErr_Occurred()) SWIG_fail
;
3535 Py_INCREF(Py_None
); resultobj
= Py_None
;
3542 static PyObject
*_wrap_Rect_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3543 PyObject
*resultobj
;
3544 wxRect
*arg1
= (wxRect
*) 0 ;
3546 PyObject
* obj0
= 0 ;
3548 (char *) "self", NULL
3551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetHeight",kwnames
,&obj0
)) goto fail
;
3552 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3553 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3556 result
= (int)((wxRect
const *)arg1
)->GetHeight();
3558 wxPyEndAllowThreads(__tstate
);
3559 if (PyErr_Occurred()) SWIG_fail
;
3561 resultobj
= SWIG_FromInt((int)result
);
3568 static PyObject
*_wrap_Rect_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3569 PyObject
*resultobj
;
3570 wxRect
*arg1
= (wxRect
*) 0 ;
3572 PyObject
* obj0
= 0 ;
3573 PyObject
* obj1
= 0 ;
3575 (char *) "self",(char *) "h", NULL
3578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
3579 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3580 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3581 arg2
= (int) SWIG_AsInt(obj1
);
3582 if (PyErr_Occurred()) SWIG_fail
;
3584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3585 (arg1
)->SetHeight(arg2
);
3587 wxPyEndAllowThreads(__tstate
);
3588 if (PyErr_Occurred()) SWIG_fail
;
3590 Py_INCREF(Py_None
); resultobj
= Py_None
;
3597 static PyObject
*_wrap_Rect_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3598 PyObject
*resultobj
;
3599 wxRect
*arg1
= (wxRect
*) 0 ;
3601 PyObject
* obj0
= 0 ;
3603 (char *) "self", NULL
3606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetPosition",kwnames
,&obj0
)) goto fail
;
3607 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3608 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3611 result
= ((wxRect
const *)arg1
)->GetPosition();
3613 wxPyEndAllowThreads(__tstate
);
3614 if (PyErr_Occurred()) SWIG_fail
;
3617 wxPoint
* resultptr
;
3618 resultptr
= new wxPoint((wxPoint
&) result
);
3619 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3627 static PyObject
*_wrap_Rect_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3628 PyObject
*resultobj
;
3629 wxRect
*arg1
= (wxRect
*) 0 ;
3632 PyObject
* obj0
= 0 ;
3633 PyObject
* obj1
= 0 ;
3635 (char *) "self",(char *) "p", NULL
3638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
3639 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3640 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3643 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3647 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
3649 wxPyEndAllowThreads(__tstate
);
3650 if (PyErr_Occurred()) SWIG_fail
;
3652 Py_INCREF(Py_None
); resultobj
= Py_None
;
3659 static PyObject
*_wrap_Rect_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3660 PyObject
*resultobj
;
3661 wxRect
*arg1
= (wxRect
*) 0 ;
3663 PyObject
* obj0
= 0 ;
3665 (char *) "self", NULL
3668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetSize",kwnames
,&obj0
)) goto fail
;
3669 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3670 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3673 result
= ((wxRect
const *)arg1
)->GetSize();
3675 wxPyEndAllowThreads(__tstate
);
3676 if (PyErr_Occurred()) SWIG_fail
;
3680 resultptr
= new wxSize((wxSize
&) result
);
3681 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
3689 static PyObject
*_wrap_Rect_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3690 PyObject
*resultobj
;
3691 wxRect
*arg1
= (wxRect
*) 0 ;
3694 PyObject
* obj0
= 0 ;
3695 PyObject
* obj1
= 0 ;
3697 (char *) "self",(char *) "s", NULL
3700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
3701 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3702 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3705 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3709 (arg1
)->SetSize((wxSize
const &)*arg2
);
3711 wxPyEndAllowThreads(__tstate
);
3712 if (PyErr_Occurred()) SWIG_fail
;
3714 Py_INCREF(Py_None
); resultobj
= Py_None
;
3721 static PyObject
*_wrap_Rect_GetTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3722 PyObject
*resultobj
;
3723 wxRect
*arg1
= (wxRect
*) 0 ;
3725 PyObject
* obj0
= 0 ;
3727 (char *) "self", NULL
3730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetTopLeft",kwnames
,&obj0
)) goto fail
;
3731 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3732 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3735 result
= ((wxRect
const *)arg1
)->GetTopLeft();
3737 wxPyEndAllowThreads(__tstate
);
3738 if (PyErr_Occurred()) SWIG_fail
;
3741 wxPoint
* resultptr
;
3742 resultptr
= new wxPoint((wxPoint
&) result
);
3743 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3751 static PyObject
*_wrap_Rect_SetTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3752 PyObject
*resultobj
;
3753 wxRect
*arg1
= (wxRect
*) 0 ;
3756 PyObject
* obj0
= 0 ;
3757 PyObject
* obj1
= 0 ;
3759 (char *) "self",(char *) "p", NULL
3762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
3763 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3767 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3771 (arg1
)->SetTopLeft((wxPoint
const &)*arg2
);
3773 wxPyEndAllowThreads(__tstate
);
3774 if (PyErr_Occurred()) SWIG_fail
;
3776 Py_INCREF(Py_None
); resultobj
= Py_None
;
3783 static PyObject
*_wrap_Rect_GetBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3784 PyObject
*resultobj
;
3785 wxRect
*arg1
= (wxRect
*) 0 ;
3787 PyObject
* obj0
= 0 ;
3789 (char *) "self", NULL
3792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetBottomRight",kwnames
,&obj0
)) goto fail
;
3793 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3794 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3797 result
= ((wxRect
const *)arg1
)->GetBottomRight();
3799 wxPyEndAllowThreads(__tstate
);
3800 if (PyErr_Occurred()) SWIG_fail
;
3803 wxPoint
* resultptr
;
3804 resultptr
= new wxPoint((wxPoint
&) result
);
3805 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3813 static PyObject
*_wrap_Rect_SetBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3814 PyObject
*resultobj
;
3815 wxRect
*arg1
= (wxRect
*) 0 ;
3818 PyObject
* obj0
= 0 ;
3819 PyObject
* obj1
= 0 ;
3821 (char *) "self",(char *) "p", NULL
3824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
3825 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3826 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3829 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3833 (arg1
)->SetBottomRight((wxPoint
const &)*arg2
);
3835 wxPyEndAllowThreads(__tstate
);
3836 if (PyErr_Occurred()) SWIG_fail
;
3838 Py_INCREF(Py_None
); resultobj
= Py_None
;
3845 static PyObject
*_wrap_Rect_GetLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3846 PyObject
*resultobj
;
3847 wxRect
*arg1
= (wxRect
*) 0 ;
3849 PyObject
* obj0
= 0 ;
3851 (char *) "self", NULL
3854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetLeft",kwnames
,&obj0
)) goto fail
;
3855 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3856 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3859 result
= (int)((wxRect
const *)arg1
)->GetLeft();
3861 wxPyEndAllowThreads(__tstate
);
3862 if (PyErr_Occurred()) SWIG_fail
;
3864 resultobj
= SWIG_FromInt((int)result
);
3871 static PyObject
*_wrap_Rect_GetTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3872 PyObject
*resultobj
;
3873 wxRect
*arg1
= (wxRect
*) 0 ;
3875 PyObject
* obj0
= 0 ;
3877 (char *) "self", NULL
3880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetTop",kwnames
,&obj0
)) goto fail
;
3881 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3882 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3885 result
= (int)((wxRect
const *)arg1
)->GetTop();
3887 wxPyEndAllowThreads(__tstate
);
3888 if (PyErr_Occurred()) SWIG_fail
;
3890 resultobj
= SWIG_FromInt((int)result
);
3897 static PyObject
*_wrap_Rect_GetBottom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3898 PyObject
*resultobj
;
3899 wxRect
*arg1
= (wxRect
*) 0 ;
3901 PyObject
* obj0
= 0 ;
3903 (char *) "self", NULL
3906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetBottom",kwnames
,&obj0
)) goto fail
;
3907 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3908 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3911 result
= (int)((wxRect
const *)arg1
)->GetBottom();
3913 wxPyEndAllowThreads(__tstate
);
3914 if (PyErr_Occurred()) SWIG_fail
;
3916 resultobj
= SWIG_FromInt((int)result
);
3923 static PyObject
*_wrap_Rect_GetRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3924 PyObject
*resultobj
;
3925 wxRect
*arg1
= (wxRect
*) 0 ;
3927 PyObject
* obj0
= 0 ;
3929 (char *) "self", NULL
3932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetRight",kwnames
,&obj0
)) goto fail
;
3933 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3934 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3937 result
= (int)((wxRect
const *)arg1
)->GetRight();
3939 wxPyEndAllowThreads(__tstate
);
3940 if (PyErr_Occurred()) SWIG_fail
;
3942 resultobj
= SWIG_FromInt((int)result
);
3949 static PyObject
*_wrap_Rect_SetLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3950 PyObject
*resultobj
;
3951 wxRect
*arg1
= (wxRect
*) 0 ;
3953 PyObject
* obj0
= 0 ;
3954 PyObject
* obj1
= 0 ;
3956 (char *) "self",(char *) "left", NULL
3959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
3960 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3961 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3962 arg2
= (int) SWIG_AsInt(obj1
);
3963 if (PyErr_Occurred()) SWIG_fail
;
3965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3966 (arg1
)->SetLeft(arg2
);
3968 wxPyEndAllowThreads(__tstate
);
3969 if (PyErr_Occurred()) SWIG_fail
;
3971 Py_INCREF(Py_None
); resultobj
= Py_None
;
3978 static PyObject
*_wrap_Rect_SetRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3979 PyObject
*resultobj
;
3980 wxRect
*arg1
= (wxRect
*) 0 ;
3982 PyObject
* obj0
= 0 ;
3983 PyObject
* obj1
= 0 ;
3985 (char *) "self",(char *) "right", NULL
3988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetRight",kwnames
,&obj0
,&obj1
)) goto fail
;
3989 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3990 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3991 arg2
= (int) SWIG_AsInt(obj1
);
3992 if (PyErr_Occurred()) SWIG_fail
;
3994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3995 (arg1
)->SetRight(arg2
);
3997 wxPyEndAllowThreads(__tstate
);
3998 if (PyErr_Occurred()) SWIG_fail
;
4000 Py_INCREF(Py_None
); resultobj
= Py_None
;
4007 static PyObject
*_wrap_Rect_SetTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4008 PyObject
*resultobj
;
4009 wxRect
*arg1
= (wxRect
*) 0 ;
4011 PyObject
* obj0
= 0 ;
4012 PyObject
* obj1
= 0 ;
4014 (char *) "self",(char *) "top", NULL
4017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetTop",kwnames
,&obj0
,&obj1
)) goto fail
;
4018 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4019 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4020 arg2
= (int) SWIG_AsInt(obj1
);
4021 if (PyErr_Occurred()) SWIG_fail
;
4023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4024 (arg1
)->SetTop(arg2
);
4026 wxPyEndAllowThreads(__tstate
);
4027 if (PyErr_Occurred()) SWIG_fail
;
4029 Py_INCREF(Py_None
); resultobj
= Py_None
;
4036 static PyObject
*_wrap_Rect_SetBottom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4037 PyObject
*resultobj
;
4038 wxRect
*arg1
= (wxRect
*) 0 ;
4040 PyObject
* obj0
= 0 ;
4041 PyObject
* obj1
= 0 ;
4043 (char *) "self",(char *) "bottom", NULL
4046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetBottom",kwnames
,&obj0
,&obj1
)) goto fail
;
4047 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4048 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4049 arg2
= (int) SWIG_AsInt(obj1
);
4050 if (PyErr_Occurred()) SWIG_fail
;
4052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4053 (arg1
)->SetBottom(arg2
);
4055 wxPyEndAllowThreads(__tstate
);
4056 if (PyErr_Occurred()) SWIG_fail
;
4058 Py_INCREF(Py_None
); resultobj
= Py_None
;
4065 static PyObject
*_wrap_Rect_Inflate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4066 PyObject
*resultobj
;
4067 wxRect
*arg1
= (wxRect
*) 0 ;
4071 PyObject
* obj0
= 0 ;
4072 PyObject
* obj1
= 0 ;
4073 PyObject
* obj2
= 0 ;
4075 (char *) "self",(char *) "dx",(char *) "dy", NULL
4078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_Inflate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4079 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4081 arg2
= (int) SWIG_AsInt(obj1
);
4082 if (PyErr_Occurred()) SWIG_fail
;
4083 arg3
= (int) SWIG_AsInt(obj2
);
4084 if (PyErr_Occurred()) SWIG_fail
;
4086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4088 wxRect
&_result_ref
= (arg1
)->Inflate(arg2
,arg3
);
4089 result
= (wxRect
*) &_result_ref
;
4092 wxPyEndAllowThreads(__tstate
);
4093 if (PyErr_Occurred()) SWIG_fail
;
4095 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
4102 static PyObject
*_wrap_Rect_Deflate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4103 PyObject
*resultobj
;
4104 wxRect
*arg1
= (wxRect
*) 0 ;
4108 PyObject
* obj0
= 0 ;
4109 PyObject
* obj1
= 0 ;
4110 PyObject
* obj2
= 0 ;
4112 (char *) "self",(char *) "dx",(char *) "dy", NULL
4115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_Deflate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4116 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4117 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4118 arg2
= (int) SWIG_AsInt(obj1
);
4119 if (PyErr_Occurred()) SWIG_fail
;
4120 arg3
= (int) SWIG_AsInt(obj2
);
4121 if (PyErr_Occurred()) SWIG_fail
;
4123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4125 wxRect
&_result_ref
= (arg1
)->Deflate(arg2
,arg3
);
4126 result
= (wxRect
*) &_result_ref
;
4129 wxPyEndAllowThreads(__tstate
);
4130 if (PyErr_Occurred()) SWIG_fail
;
4132 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
4139 static PyObject
*_wrap_Rect_OffsetXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4140 PyObject
*resultobj
;
4141 wxRect
*arg1
= (wxRect
*) 0 ;
4144 PyObject
* obj0
= 0 ;
4145 PyObject
* obj1
= 0 ;
4146 PyObject
* obj2
= 0 ;
4148 (char *) "self",(char *) "dx",(char *) "dy", NULL
4151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_OffsetXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4152 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4153 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4154 arg2
= (int) SWIG_AsInt(obj1
);
4155 if (PyErr_Occurred()) SWIG_fail
;
4156 arg3
= (int) SWIG_AsInt(obj2
);
4157 if (PyErr_Occurred()) SWIG_fail
;
4159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4160 (arg1
)->Offset(arg2
,arg3
);
4162 wxPyEndAllowThreads(__tstate
);
4163 if (PyErr_Occurred()) SWIG_fail
;
4165 Py_INCREF(Py_None
); resultobj
= Py_None
;
4172 static PyObject
*_wrap_Rect_Offset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4173 PyObject
*resultobj
;
4174 wxRect
*arg1
= (wxRect
*) 0 ;
4177 PyObject
* obj0
= 0 ;
4178 PyObject
* obj1
= 0 ;
4180 (char *) "self",(char *) "pt", NULL
4183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Offset",kwnames
,&obj0
,&obj1
)) goto fail
;
4184 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4185 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4188 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4192 (arg1
)->Offset((wxPoint
const &)*arg2
);
4194 wxPyEndAllowThreads(__tstate
);
4195 if (PyErr_Occurred()) SWIG_fail
;
4197 Py_INCREF(Py_None
); resultobj
= Py_None
;
4204 static PyObject
*_wrap_Rect_Intersect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4205 PyObject
*resultobj
;
4206 wxRect
*arg1
= (wxRect
*) 0 ;
4210 PyObject
* obj0
= 0 ;
4211 PyObject
* obj1
= 0 ;
4213 (char *) "self",(char *) "rect", NULL
4216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Intersect",kwnames
,&obj0
,&obj1
)) goto fail
;
4217 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4218 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4221 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4226 wxRect
&_result_ref
= (arg1
)->Intersect((wxRect
const &)*arg2
);
4227 result
= (wxRect
*) &_result_ref
;
4230 wxPyEndAllowThreads(__tstate
);
4231 if (PyErr_Occurred()) SWIG_fail
;
4233 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
4240 static PyObject
*_wrap_Rect___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4241 PyObject
*resultobj
;
4242 wxRect
*arg1
= (wxRect
*) 0 ;
4246 PyObject
* obj0
= 0 ;
4247 PyObject
* obj1
= 0 ;
4249 (char *) "self",(char *) "rect", NULL
4252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
4253 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4254 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4257 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4261 result
= ((wxRect
const *)arg1
)->operator +((wxRect
const &)*arg2
);
4263 wxPyEndAllowThreads(__tstate
);
4264 if (PyErr_Occurred()) SWIG_fail
;
4268 resultptr
= new wxRect((wxRect
&) result
);
4269 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
4277 static PyObject
*_wrap_Rect___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4278 PyObject
*resultobj
;
4279 wxRect
*arg1
= (wxRect
*) 0 ;
4283 PyObject
* obj0
= 0 ;
4284 PyObject
* obj1
= 0 ;
4286 (char *) "self",(char *) "rect", NULL
4289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
4290 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4291 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4294 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4299 wxRect
&_result_ref
= (arg1
)->operator +=((wxRect
const &)*arg2
);
4300 result
= (wxRect
*) &_result_ref
;
4303 wxPyEndAllowThreads(__tstate
);
4304 if (PyErr_Occurred()) SWIG_fail
;
4306 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
4313 static PyObject
*_wrap_Rect___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4314 PyObject
*resultobj
;
4315 wxRect
*arg1
= (wxRect
*) 0 ;
4319 PyObject
* obj0
= 0 ;
4320 PyObject
* obj1
= 0 ;
4322 (char *) "self",(char *) "rect", NULL
4325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
4326 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4327 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4330 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4334 result
= (bool)((wxRect
const *)arg1
)->operator ==((wxRect
const &)*arg2
);
4336 wxPyEndAllowThreads(__tstate
);
4337 if (PyErr_Occurred()) SWIG_fail
;
4340 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4348 static PyObject
*_wrap_Rect___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4349 PyObject
*resultobj
;
4350 wxRect
*arg1
= (wxRect
*) 0 ;
4354 PyObject
* obj0
= 0 ;
4355 PyObject
* obj1
= 0 ;
4357 (char *) "self",(char *) "rect", NULL
4360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
4361 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4362 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4365 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4369 result
= (bool)((wxRect
const *)arg1
)->operator !=((wxRect
const &)*arg2
);
4371 wxPyEndAllowThreads(__tstate
);
4372 if (PyErr_Occurred()) SWIG_fail
;
4375 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4383 static PyObject
*_wrap_Rect_InsideXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4384 PyObject
*resultobj
;
4385 wxRect
*arg1
= (wxRect
*) 0 ;
4389 PyObject
* obj0
= 0 ;
4390 PyObject
* obj1
= 0 ;
4391 PyObject
* obj2
= 0 ;
4393 (char *) "self",(char *) "x",(char *) "y", NULL
4396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_InsideXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4397 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4398 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4399 arg2
= (int) SWIG_AsInt(obj1
);
4400 if (PyErr_Occurred()) SWIG_fail
;
4401 arg3
= (int) SWIG_AsInt(obj2
);
4402 if (PyErr_Occurred()) SWIG_fail
;
4404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4405 result
= (bool)((wxRect
const *)arg1
)->Inside(arg2
,arg3
);
4407 wxPyEndAllowThreads(__tstate
);
4408 if (PyErr_Occurred()) SWIG_fail
;
4411 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4419 static PyObject
*_wrap_Rect_Inside(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4420 PyObject
*resultobj
;
4421 wxRect
*arg1
= (wxRect
*) 0 ;
4425 PyObject
* obj0
= 0 ;
4426 PyObject
* obj1
= 0 ;
4428 (char *) "self",(char *) "pt", NULL
4431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Inside",kwnames
,&obj0
,&obj1
)) goto fail
;
4432 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4433 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4436 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4440 result
= (bool)((wxRect
const *)arg1
)->Inside((wxPoint
const &)*arg2
);
4442 wxPyEndAllowThreads(__tstate
);
4443 if (PyErr_Occurred()) SWIG_fail
;
4446 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4454 static PyObject
*_wrap_Rect_Intersects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4455 PyObject
*resultobj
;
4456 wxRect
*arg1
= (wxRect
*) 0 ;
4460 PyObject
* obj0
= 0 ;
4461 PyObject
* obj1
= 0 ;
4463 (char *) "self",(char *) "rect", NULL
4466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Intersects",kwnames
,&obj0
,&obj1
)) goto fail
;
4467 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4468 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4471 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4475 result
= (bool)((wxRect
const *)arg1
)->Intersects((wxRect
const &)*arg2
);
4477 wxPyEndAllowThreads(__tstate
);
4478 if (PyErr_Occurred()) SWIG_fail
;
4481 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4489 static PyObject
*_wrap_Rect_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4490 PyObject
*resultobj
;
4491 wxRect
*arg1
= (wxRect
*) 0 ;
4493 PyObject
* obj0
= 0 ;
4494 PyObject
* obj1
= 0 ;
4496 (char *) "self",(char *) "x", NULL
4499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4500 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4501 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4502 arg2
= (int) SWIG_AsInt(obj1
);
4503 if (PyErr_Occurred()) SWIG_fail
;
4504 if (arg1
) (arg1
)->x
= arg2
;
4506 Py_INCREF(Py_None
); resultobj
= Py_None
;
4513 static PyObject
*_wrap_Rect_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4514 PyObject
*resultobj
;
4515 wxRect
*arg1
= (wxRect
*) 0 ;
4517 PyObject
* obj0
= 0 ;
4519 (char *) "self", NULL
4522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_x_get",kwnames
,&obj0
)) goto fail
;
4523 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4524 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4525 result
= (int) ((arg1
)->x
);
4527 resultobj
= SWIG_FromInt((int)result
);
4534 static PyObject
*_wrap_Rect_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4535 PyObject
*resultobj
;
4536 wxRect
*arg1
= (wxRect
*) 0 ;
4538 PyObject
* obj0
= 0 ;
4539 PyObject
* obj1
= 0 ;
4541 (char *) "self",(char *) "y", NULL
4544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4545 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4546 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4547 arg2
= (int) SWIG_AsInt(obj1
);
4548 if (PyErr_Occurred()) SWIG_fail
;
4549 if (arg1
) (arg1
)->y
= arg2
;
4551 Py_INCREF(Py_None
); resultobj
= Py_None
;
4558 static PyObject
*_wrap_Rect_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4559 PyObject
*resultobj
;
4560 wxRect
*arg1
= (wxRect
*) 0 ;
4562 PyObject
* obj0
= 0 ;
4564 (char *) "self", NULL
4567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_y_get",kwnames
,&obj0
)) goto fail
;
4568 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4569 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4570 result
= (int) ((arg1
)->y
);
4572 resultobj
= SWIG_FromInt((int)result
);
4579 static PyObject
*_wrap_Rect_width_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4580 PyObject
*resultobj
;
4581 wxRect
*arg1
= (wxRect
*) 0 ;
4583 PyObject
* obj0
= 0 ;
4584 PyObject
* obj1
= 0 ;
4586 (char *) "self",(char *) "width", NULL
4589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4590 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4591 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4592 arg2
= (int) SWIG_AsInt(obj1
);
4593 if (PyErr_Occurred()) SWIG_fail
;
4594 if (arg1
) (arg1
)->width
= arg2
;
4596 Py_INCREF(Py_None
); resultobj
= Py_None
;
4603 static PyObject
*_wrap_Rect_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4604 PyObject
*resultobj
;
4605 wxRect
*arg1
= (wxRect
*) 0 ;
4607 PyObject
* obj0
= 0 ;
4609 (char *) "self", NULL
4612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_width_get",kwnames
,&obj0
)) goto fail
;
4613 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4614 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4615 result
= (int) ((arg1
)->width
);
4617 resultobj
= SWIG_FromInt((int)result
);
4624 static PyObject
*_wrap_Rect_height_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4625 PyObject
*resultobj
;
4626 wxRect
*arg1
= (wxRect
*) 0 ;
4628 PyObject
* obj0
= 0 ;
4629 PyObject
* obj1
= 0 ;
4631 (char *) "self",(char *) "height", NULL
4634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_height_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4635 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4636 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4637 arg2
= (int) SWIG_AsInt(obj1
);
4638 if (PyErr_Occurred()) SWIG_fail
;
4639 if (arg1
) (arg1
)->height
= arg2
;
4641 Py_INCREF(Py_None
); resultobj
= Py_None
;
4648 static PyObject
*_wrap_Rect_height_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4649 PyObject
*resultobj
;
4650 wxRect
*arg1
= (wxRect
*) 0 ;
4652 PyObject
* obj0
= 0 ;
4654 (char *) "self", NULL
4657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_height_get",kwnames
,&obj0
)) goto fail
;
4658 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4659 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4660 result
= (int) ((arg1
)->height
);
4662 resultobj
= SWIG_FromInt((int)result
);
4669 static PyObject
*_wrap_Rect_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4670 PyObject
*resultobj
;
4671 wxRect
*arg1
= (wxRect
*) 0 ;
4672 int arg2
= (int) 0 ;
4673 int arg3
= (int) 0 ;
4674 int arg4
= (int) 0 ;
4675 int arg5
= (int) 0 ;
4676 PyObject
* obj0
= 0 ;
4677 PyObject
* obj1
= 0 ;
4678 PyObject
* obj2
= 0 ;
4679 PyObject
* obj3
= 0 ;
4680 PyObject
* obj4
= 0 ;
4682 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
4685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Rect_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
4686 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4687 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4689 arg2
= (int) SWIG_AsInt(obj1
);
4690 if (PyErr_Occurred()) SWIG_fail
;
4693 arg3
= (int) SWIG_AsInt(obj2
);
4694 if (PyErr_Occurred()) SWIG_fail
;
4697 arg4
= (int) SWIG_AsInt(obj3
);
4698 if (PyErr_Occurred()) SWIG_fail
;
4701 arg5
= (int) SWIG_AsInt(obj4
);
4702 if (PyErr_Occurred()) SWIG_fail
;
4705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4706 wxRect_Set(arg1
,arg2
,arg3
,arg4
,arg5
);
4708 wxPyEndAllowThreads(__tstate
);
4709 if (PyErr_Occurred()) SWIG_fail
;
4711 Py_INCREF(Py_None
); resultobj
= Py_None
;
4718 static PyObject
*_wrap_Rect_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4719 PyObject
*resultobj
;
4720 wxRect
*arg1
= (wxRect
*) 0 ;
4722 PyObject
* obj0
= 0 ;
4724 (char *) "self", NULL
4727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_Get",kwnames
,&obj0
)) goto fail
;
4728 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4729 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4732 result
= (PyObject
*)wxRect_Get(arg1
);
4734 wxPyEndAllowThreads(__tstate
);
4735 if (PyErr_Occurred()) SWIG_fail
;
4744 static PyObject
* Rect_swigregister(PyObject
*self
, PyObject
*args
) {
4746 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4747 SWIG_TypeClientData(SWIGTYPE_p_wxRect
, obj
);
4749 return Py_BuildValue((char *)"");
4751 static PyObject
*_wrap_IntersectRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4752 PyObject
*resultobj
;
4753 wxRect
*arg1
= (wxRect
*) 0 ;
4754 wxRect
*arg2
= (wxRect
*) 0 ;
4756 PyObject
* obj0
= 0 ;
4757 PyObject
* obj1
= 0 ;
4759 (char *) "r1",(char *) "r2", NULL
4762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IntersectRect",kwnames
,&obj0
,&obj1
)) goto fail
;
4763 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4765 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRect
,
4766 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4769 result
= (PyObject
*)wxIntersectRect(arg1
,arg2
);
4771 wxPyEndAllowThreads(__tstate
);
4772 if (PyErr_Occurred()) SWIG_fail
;
4781 static PyObject
*_wrap_new_Point2D(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4782 PyObject
*resultobj
;
4783 double arg1
= (double) 0.0 ;
4784 double arg2
= (double) 0.0 ;
4786 PyObject
* obj0
= 0 ;
4787 PyObject
* obj1
= 0 ;
4789 (char *) "x",(char *) "y", NULL
4792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Point2D",kwnames
,&obj0
,&obj1
)) goto fail
;
4794 arg1
= (double) SWIG_AsDouble(obj0
);
4795 if (PyErr_Occurred()) SWIG_fail
;
4798 arg2
= (double) SWIG_AsDouble(obj1
);
4799 if (PyErr_Occurred()) SWIG_fail
;
4802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4803 result
= (wxPoint2D
*)new wxPoint2D(arg1
,arg2
);
4805 wxPyEndAllowThreads(__tstate
);
4806 if (PyErr_Occurred()) SWIG_fail
;
4808 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
4815 static PyObject
*_wrap_new_Point2DCopy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4816 PyObject
*resultobj
;
4817 wxPoint2D
*arg1
= 0 ;
4820 PyObject
* obj0
= 0 ;
4825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Point2DCopy",kwnames
,&obj0
)) goto fail
;
4828 if ( ! wxPoint2D_helper(obj0
, &arg1
)) SWIG_fail
;
4831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4832 result
= (wxPoint2D
*)new wxPoint2D((wxPoint2D
const &)*arg1
);
4834 wxPyEndAllowThreads(__tstate
);
4835 if (PyErr_Occurred()) SWIG_fail
;
4837 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
4844 static PyObject
*_wrap_new_Point2DFromPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4845 PyObject
*resultobj
;
4849 PyObject
* obj0
= 0 ;
4854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Point2DFromPoint",kwnames
,&obj0
)) goto fail
;
4857 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
4860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4861 result
= (wxPoint2D
*)new wxPoint2D((wxPoint
const &)*arg1
);
4863 wxPyEndAllowThreads(__tstate
);
4864 if (PyErr_Occurred()) SWIG_fail
;
4866 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
4873 static PyObject
*_wrap_Point2D_GetFloor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4874 PyObject
*resultobj
;
4875 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4876 int *arg2
= (int *) 0 ;
4877 int *arg3
= (int *) 0 ;
4880 PyObject
* obj0
= 0 ;
4882 (char *) "self", NULL
4887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetFloor",kwnames
,&obj0
)) goto fail
;
4888 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
4889 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4892 ((wxPoint2D
const *)arg1
)->GetFloor(arg2
,arg3
);
4894 wxPyEndAllowThreads(__tstate
);
4895 if (PyErr_Occurred()) SWIG_fail
;
4897 Py_INCREF(Py_None
); resultobj
= Py_None
;
4899 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4900 resultobj
= t_output_helper(resultobj
,o
);
4903 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
4904 resultobj
= t_output_helper(resultobj
,o
);
4912 static PyObject
*_wrap_Point2D_GetRounded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4913 PyObject
*resultobj
;
4914 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4915 int *arg2
= (int *) 0 ;
4916 int *arg3
= (int *) 0 ;
4919 PyObject
* obj0
= 0 ;
4921 (char *) "self", NULL
4926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetRounded",kwnames
,&obj0
)) goto fail
;
4927 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
4928 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4931 ((wxPoint2D
const *)arg1
)->GetRounded(arg2
,arg3
);
4933 wxPyEndAllowThreads(__tstate
);
4934 if (PyErr_Occurred()) SWIG_fail
;
4936 Py_INCREF(Py_None
); resultobj
= Py_None
;
4938 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4939 resultobj
= t_output_helper(resultobj
,o
);
4942 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
4943 resultobj
= t_output_helper(resultobj
,o
);
4951 static PyObject
*_wrap_Point2D_GetVectorLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4952 PyObject
*resultobj
;
4953 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4955 PyObject
* obj0
= 0 ;
4957 (char *) "self", NULL
4960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetVectorLength",kwnames
,&obj0
)) goto fail
;
4961 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
4962 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4965 result
= (double)((wxPoint2D
const *)arg1
)->GetVectorLength();
4967 wxPyEndAllowThreads(__tstate
);
4968 if (PyErr_Occurred()) SWIG_fail
;
4970 resultobj
= SWIG_FromDouble((double)result
);
4977 static PyObject
*_wrap_Point2D_GetVectorAngle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4978 PyObject
*resultobj
;
4979 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4981 PyObject
* obj0
= 0 ;
4983 (char *) "self", NULL
4986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetVectorAngle",kwnames
,&obj0
)) goto fail
;
4987 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
4988 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4991 result
= (double)((wxPoint2D
const *)arg1
)->GetVectorAngle();
4993 wxPyEndAllowThreads(__tstate
);
4994 if (PyErr_Occurred()) SWIG_fail
;
4996 resultobj
= SWIG_FromDouble((double)result
);
5003 static PyObject
*_wrap_Point2D_SetVectorLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5004 PyObject
*resultobj
;
5005 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5007 PyObject
* obj0
= 0 ;
5008 PyObject
* obj1
= 0 ;
5010 (char *) "self",(char *) "length", NULL
5013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_SetVectorLength",kwnames
,&obj0
,&obj1
)) goto fail
;
5014 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5015 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5016 arg2
= (double) SWIG_AsDouble(obj1
);
5017 if (PyErr_Occurred()) SWIG_fail
;
5019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5020 (arg1
)->SetVectorLength(arg2
);
5022 wxPyEndAllowThreads(__tstate
);
5023 if (PyErr_Occurred()) SWIG_fail
;
5025 Py_INCREF(Py_None
); resultobj
= Py_None
;
5032 static PyObject
*_wrap_Point2D_SetVectorAngle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5033 PyObject
*resultobj
;
5034 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5036 PyObject
* obj0
= 0 ;
5037 PyObject
* obj1
= 0 ;
5039 (char *) "self",(char *) "degrees", NULL
5042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_SetVectorAngle",kwnames
,&obj0
,&obj1
)) goto fail
;
5043 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5044 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5045 arg2
= (double) SWIG_AsDouble(obj1
);
5046 if (PyErr_Occurred()) SWIG_fail
;
5048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5049 (arg1
)->SetVectorAngle(arg2
);
5051 wxPyEndAllowThreads(__tstate
);
5052 if (PyErr_Occurred()) SWIG_fail
;
5054 Py_INCREF(Py_None
); resultobj
= Py_None
;
5061 static PyObject
*_wrap_Point2D_GetDistance(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5062 PyObject
*resultobj
;
5063 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5064 wxPoint2D
*arg2
= 0 ;
5067 PyObject
* obj0
= 0 ;
5068 PyObject
* obj1
= 0 ;
5070 (char *) "self",(char *) "pt", NULL
5073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDistance",kwnames
,&obj0
,&obj1
)) goto fail
;
5074 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5075 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5078 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5082 result
= (double)((wxPoint2D
const *)arg1
)->GetDistance((wxPoint2D
const &)*arg2
);
5084 wxPyEndAllowThreads(__tstate
);
5085 if (PyErr_Occurred()) SWIG_fail
;
5087 resultobj
= SWIG_FromDouble((double)result
);
5094 static PyObject
*_wrap_Point2D_GetDistanceSquare(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5095 PyObject
*resultobj
;
5096 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5097 wxPoint2D
*arg2
= 0 ;
5100 PyObject
* obj0
= 0 ;
5101 PyObject
* obj1
= 0 ;
5103 (char *) "self",(char *) "pt", NULL
5106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDistanceSquare",kwnames
,&obj0
,&obj1
)) goto fail
;
5107 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5108 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5111 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5115 result
= (double)((wxPoint2D
const *)arg1
)->GetDistanceSquare((wxPoint2D
const &)*arg2
);
5117 wxPyEndAllowThreads(__tstate
);
5118 if (PyErr_Occurred()) SWIG_fail
;
5120 resultobj
= SWIG_FromDouble((double)result
);
5127 static PyObject
*_wrap_Point2D_GetDotProduct(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5128 PyObject
*resultobj
;
5129 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5130 wxPoint2D
*arg2
= 0 ;
5133 PyObject
* obj0
= 0 ;
5134 PyObject
* obj1
= 0 ;
5136 (char *) "self",(char *) "vec", NULL
5139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDotProduct",kwnames
,&obj0
,&obj1
)) goto fail
;
5140 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5141 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5144 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5148 result
= (double)((wxPoint2D
const *)arg1
)->GetDotProduct((wxPoint2D
const &)*arg2
);
5150 wxPyEndAllowThreads(__tstate
);
5151 if (PyErr_Occurred()) SWIG_fail
;
5153 resultobj
= SWIG_FromDouble((double)result
);
5160 static PyObject
*_wrap_Point2D_GetCrossProduct(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5161 PyObject
*resultobj
;
5162 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5163 wxPoint2D
*arg2
= 0 ;
5166 PyObject
* obj0
= 0 ;
5167 PyObject
* obj1
= 0 ;
5169 (char *) "self",(char *) "vec", NULL
5172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetCrossProduct",kwnames
,&obj0
,&obj1
)) goto fail
;
5173 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5174 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5177 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5181 result
= (double)((wxPoint2D
const *)arg1
)->GetCrossProduct((wxPoint2D
const &)*arg2
);
5183 wxPyEndAllowThreads(__tstate
);
5184 if (PyErr_Occurred()) SWIG_fail
;
5186 resultobj
= SWIG_FromDouble((double)result
);
5193 static PyObject
*_wrap_Point2D___neg__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5194 PyObject
*resultobj
;
5195 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5197 PyObject
* obj0
= 0 ;
5199 (char *) "self", NULL
5202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D___neg__",kwnames
,&obj0
)) goto fail
;
5203 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5204 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5207 result
= (arg1
)->operator -();
5209 wxPyEndAllowThreads(__tstate
);
5210 if (PyErr_Occurred()) SWIG_fail
;
5213 wxPoint2D
* resultptr
;
5214 resultptr
= new wxPoint2D((wxPoint2D
&) result
);
5215 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint2D
, 1);
5223 static PyObject
*_wrap_Point2D___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5224 PyObject
*resultobj
;
5225 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5226 wxPoint2D
*arg2
= 0 ;
5229 PyObject
* obj0
= 0 ;
5230 PyObject
* obj1
= 0 ;
5232 (char *) "self",(char *) "pt", NULL
5235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
5236 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5237 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5240 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5245 wxPoint2D
&_result_ref
= (arg1
)->operator +=((wxPoint2D
const &)*arg2
);
5246 result
= (wxPoint2D
*) &_result_ref
;
5249 wxPyEndAllowThreads(__tstate
);
5250 if (PyErr_Occurred()) SWIG_fail
;
5252 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 0);
5259 static PyObject
*_wrap_Point2D___isub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5260 PyObject
*resultobj
;
5261 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5262 wxPoint2D
*arg2
= 0 ;
5265 PyObject
* obj0
= 0 ;
5266 PyObject
* obj1
= 0 ;
5268 (char *) "self",(char *) "pt", NULL
5271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
5272 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5273 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5276 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5281 wxPoint2D
&_result_ref
= (arg1
)->operator -=((wxPoint2D
const &)*arg2
);
5282 result
= (wxPoint2D
*) &_result_ref
;
5285 wxPyEndAllowThreads(__tstate
);
5286 if (PyErr_Occurred()) SWIG_fail
;
5288 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 0);
5295 static PyObject
*_wrap_Point2D___imul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5296 PyObject
*resultobj
;
5297 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5298 wxPoint2D
*arg2
= 0 ;
5301 PyObject
* obj0
= 0 ;
5302 PyObject
* obj1
= 0 ;
5304 (char *) "self",(char *) "pt", NULL
5307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
5308 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5312 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5317 wxPoint2D
&_result_ref
= (arg1
)->operator *=((wxPoint2D
const &)*arg2
);
5318 result
= (wxPoint2D
*) &_result_ref
;
5321 wxPyEndAllowThreads(__tstate
);
5322 if (PyErr_Occurred()) SWIG_fail
;
5324 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 0);
5331 static PyObject
*_wrap_Point2D___idiv__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5332 PyObject
*resultobj
;
5333 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5334 wxPoint2D
*arg2
= 0 ;
5337 PyObject
* obj0
= 0 ;
5338 PyObject
* obj1
= 0 ;
5340 (char *) "self",(char *) "pt", NULL
5343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___idiv__",kwnames
,&obj0
,&obj1
)) goto fail
;
5344 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5345 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5348 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5353 wxPoint2D
&_result_ref
= (arg1
)->operator /=((wxPoint2D
const &)*arg2
);
5354 result
= (wxPoint2D
*) &_result_ref
;
5357 wxPyEndAllowThreads(__tstate
);
5358 if (PyErr_Occurred()) SWIG_fail
;
5360 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 0);
5367 static PyObject
*_wrap_Point2D___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5368 PyObject
*resultobj
;
5369 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5370 wxPoint2D
*arg2
= 0 ;
5373 PyObject
* obj0
= 0 ;
5374 PyObject
* obj1
= 0 ;
5376 (char *) "self",(char *) "pt", NULL
5379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
5380 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5381 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5384 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5388 result
= (bool)((wxPoint2D
const *)arg1
)->operator ==((wxPoint2D
const &)*arg2
);
5390 wxPyEndAllowThreads(__tstate
);
5391 if (PyErr_Occurred()) SWIG_fail
;
5394 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5402 static PyObject
*_wrap_Point2D___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5403 PyObject
*resultobj
;
5404 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5405 wxPoint2D
*arg2
= 0 ;
5408 PyObject
* obj0
= 0 ;
5409 PyObject
* obj1
= 0 ;
5411 (char *) "self",(char *) "pt", NULL
5414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
5415 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5416 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5419 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5423 result
= (bool)((wxPoint2D
const *)arg1
)->operator !=((wxPoint2D
const &)*arg2
);
5425 wxPyEndAllowThreads(__tstate
);
5426 if (PyErr_Occurred()) SWIG_fail
;
5429 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5437 static PyObject
*_wrap_Point2D_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5438 PyObject
*resultobj
;
5439 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5441 PyObject
* obj0
= 0 ;
5442 PyObject
* obj1
= 0 ;
5444 (char *) "self",(char *) "m_x", NULL
5447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
5448 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5449 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5450 arg2
= (double) SWIG_AsDouble(obj1
);
5451 if (PyErr_Occurred()) SWIG_fail
;
5452 if (arg1
) (arg1
)->m_x
= arg2
;
5454 Py_INCREF(Py_None
); resultobj
= Py_None
;
5461 static PyObject
*_wrap_Point2D_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5462 PyObject
*resultobj
;
5463 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5465 PyObject
* obj0
= 0 ;
5467 (char *) "self", NULL
5470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_x_get",kwnames
,&obj0
)) goto fail
;
5471 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5472 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5473 result
= (double) ((arg1
)->m_x
);
5475 resultobj
= SWIG_FromDouble((double)result
);
5482 static PyObject
*_wrap_Point2D_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5483 PyObject
*resultobj
;
5484 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5486 PyObject
* obj0
= 0 ;
5487 PyObject
* obj1
= 0 ;
5489 (char *) "self",(char *) "m_y", NULL
5492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
5493 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5494 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5495 arg2
= (double) SWIG_AsDouble(obj1
);
5496 if (PyErr_Occurred()) SWIG_fail
;
5497 if (arg1
) (arg1
)->m_y
= arg2
;
5499 Py_INCREF(Py_None
); resultobj
= Py_None
;
5506 static PyObject
*_wrap_Point2D_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5507 PyObject
*resultobj
;
5508 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5510 PyObject
* obj0
= 0 ;
5512 (char *) "self", NULL
5515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_y_get",kwnames
,&obj0
)) goto fail
;
5516 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5517 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5518 result
= (double) ((arg1
)->m_y
);
5520 resultobj
= SWIG_FromDouble((double)result
);
5527 static PyObject
*_wrap_Point2D_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5528 PyObject
*resultobj
;
5529 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5530 double arg2
= (double) 0 ;
5531 double arg3
= (double) 0 ;
5532 PyObject
* obj0
= 0 ;
5533 PyObject
* obj1
= 0 ;
5534 PyObject
* obj2
= 0 ;
5536 (char *) "self",(char *) "x",(char *) "y", NULL
5539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Point2D_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5540 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5541 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5543 arg2
= (double) SWIG_AsDouble(obj1
);
5544 if (PyErr_Occurred()) SWIG_fail
;
5547 arg3
= (double) SWIG_AsDouble(obj2
);
5548 if (PyErr_Occurred()) SWIG_fail
;
5551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5552 wxPoint2D_Set(arg1
,arg2
,arg3
);
5554 wxPyEndAllowThreads(__tstate
);
5555 if (PyErr_Occurred()) SWIG_fail
;
5557 Py_INCREF(Py_None
); resultobj
= Py_None
;
5564 static PyObject
*_wrap_Point2D_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5565 PyObject
*resultobj
;
5566 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5568 PyObject
* obj0
= 0 ;
5570 (char *) "self", NULL
5573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_Get",kwnames
,&obj0
)) goto fail
;
5574 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5575 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5578 result
= (PyObject
*)wxPoint2D_Get(arg1
);
5580 wxPyEndAllowThreads(__tstate
);
5581 if (PyErr_Occurred()) SWIG_fail
;
5590 static PyObject
* Point2D_swigregister(PyObject
*self
, PyObject
*args
) {
5592 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5593 SWIG_TypeClientData(SWIGTYPE_p_wxPoint2D
, obj
);
5595 return Py_BuildValue((char *)"");
5597 static int _wrap_DefaultPosition_set(PyObject
*_val
) {
5598 PyErr_SetString(PyExc_TypeError
,"Variable DefaultPosition is read-only.");
5603 static PyObject
*_wrap_DefaultPosition_get() {
5606 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultPosition
), SWIGTYPE_p_wxPoint
, 0);
5611 static int _wrap_DefaultSize_set(PyObject
*_val
) {
5612 PyErr_SetString(PyExc_TypeError
,"Variable DefaultSize is read-only.");
5617 static PyObject
*_wrap_DefaultSize_get() {
5620 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultSize
), SWIGTYPE_p_wxSize
, 0);
5625 static PyObject
*_wrap_new_InputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5626 PyObject
*resultobj
;
5627 PyObject
*arg1
= (PyObject
*) 0 ;
5628 wxPyInputStream
*result
;
5629 PyObject
* obj0
= 0 ;
5634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_InputStream",kwnames
,&obj0
)) goto fail
;
5637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5638 result
= (wxPyInputStream
*)new_wxPyInputStream(arg1
);
5640 wxPyEndAllowThreads(__tstate
);
5641 if (PyErr_Occurred()) SWIG_fail
;
5643 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyInputStream
, 1);
5650 static PyObject
*_wrap_InputStream_close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5651 PyObject
*resultobj
;
5652 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5653 PyObject
* obj0
= 0 ;
5655 (char *) "self", NULL
5658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_close",kwnames
,&obj0
)) goto fail
;
5659 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5660 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5665 wxPyEndAllowThreads(__tstate
);
5666 if (PyErr_Occurred()) SWIG_fail
;
5668 Py_INCREF(Py_None
); resultobj
= Py_None
;
5675 static PyObject
*_wrap_InputStream_flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5676 PyObject
*resultobj
;
5677 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5678 PyObject
* obj0
= 0 ;
5680 (char *) "self", NULL
5683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_flush",kwnames
,&obj0
)) goto fail
;
5684 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5685 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5690 wxPyEndAllowThreads(__tstate
);
5691 if (PyErr_Occurred()) SWIG_fail
;
5693 Py_INCREF(Py_None
); resultobj
= Py_None
;
5700 static PyObject
*_wrap_InputStream_eof(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5701 PyObject
*resultobj
;
5702 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5704 PyObject
* obj0
= 0 ;
5706 (char *) "self", NULL
5709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_eof",kwnames
,&obj0
)) goto fail
;
5710 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5711 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5714 result
= (bool)(arg1
)->eof();
5716 wxPyEndAllowThreads(__tstate
);
5717 if (PyErr_Occurred()) SWIG_fail
;
5720 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5728 static PyObject
*_wrap_InputStream_read(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5729 PyObject
*resultobj
;
5730 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5731 int arg2
= (int) -1 ;
5733 PyObject
* obj0
= 0 ;
5734 PyObject
* obj1
= 0 ;
5736 (char *) "self",(char *) "size", NULL
5739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_read",kwnames
,&obj0
,&obj1
)) goto fail
;
5740 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5741 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5743 arg2
= (int) SWIG_AsInt(obj1
);
5744 if (PyErr_Occurred()) SWIG_fail
;
5747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5748 result
= (PyObject
*)(arg1
)->read(arg2
);
5750 wxPyEndAllowThreads(__tstate
);
5751 if (PyErr_Occurred()) SWIG_fail
;
5760 static PyObject
*_wrap_InputStream_readline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5761 PyObject
*resultobj
;
5762 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5763 int arg2
= (int) -1 ;
5765 PyObject
* obj0
= 0 ;
5766 PyObject
* obj1
= 0 ;
5768 (char *) "self",(char *) "size", NULL
5771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_readline",kwnames
,&obj0
,&obj1
)) goto fail
;
5772 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5773 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5775 arg2
= (int) SWIG_AsInt(obj1
);
5776 if (PyErr_Occurred()) SWIG_fail
;
5779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5780 result
= (PyObject
*)(arg1
)->readline(arg2
);
5782 wxPyEndAllowThreads(__tstate
);
5783 if (PyErr_Occurred()) SWIG_fail
;
5792 static PyObject
*_wrap_InputStream_readlines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5793 PyObject
*resultobj
;
5794 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5795 int arg2
= (int) -1 ;
5797 PyObject
* obj0
= 0 ;
5798 PyObject
* obj1
= 0 ;
5800 (char *) "self",(char *) "sizehint", NULL
5803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_readlines",kwnames
,&obj0
,&obj1
)) goto fail
;
5804 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5805 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5807 arg2
= (int) SWIG_AsInt(obj1
);
5808 if (PyErr_Occurred()) SWIG_fail
;
5811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5812 result
= (PyObject
*)(arg1
)->readlines(arg2
);
5814 wxPyEndAllowThreads(__tstate
);
5815 if (PyErr_Occurred()) SWIG_fail
;
5824 static PyObject
*_wrap_InputStream_seek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5825 PyObject
*resultobj
;
5826 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5828 int arg3
= (int) 0 ;
5829 PyObject
* obj0
= 0 ;
5830 PyObject
* obj1
= 0 ;
5831 PyObject
* obj2
= 0 ;
5833 (char *) "self",(char *) "offset",(char *) "whence", NULL
5836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:InputStream_seek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5837 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5838 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5839 arg2
= (int) SWIG_AsInt(obj1
);
5840 if (PyErr_Occurred()) SWIG_fail
;
5842 arg3
= (int) SWIG_AsInt(obj2
);
5843 if (PyErr_Occurred()) SWIG_fail
;
5846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5847 (arg1
)->seek(arg2
,arg3
);
5849 wxPyEndAllowThreads(__tstate
);
5850 if (PyErr_Occurred()) SWIG_fail
;
5852 Py_INCREF(Py_None
); resultobj
= Py_None
;
5859 static PyObject
*_wrap_InputStream_tell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5860 PyObject
*resultobj
;
5861 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5863 PyObject
* obj0
= 0 ;
5865 (char *) "self", NULL
5868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_tell",kwnames
,&obj0
)) goto fail
;
5869 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5870 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5873 result
= (int)(arg1
)->tell();
5875 wxPyEndAllowThreads(__tstate
);
5876 if (PyErr_Occurred()) SWIG_fail
;
5878 resultobj
= SWIG_FromInt((int)result
);
5885 static PyObject
*_wrap_InputStream_Peek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5886 PyObject
*resultobj
;
5887 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5889 PyObject
* obj0
= 0 ;
5891 (char *) "self", NULL
5894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_Peek",kwnames
,&obj0
)) goto fail
;
5895 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5896 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5899 result
= (char)(arg1
)->Peek();
5901 wxPyEndAllowThreads(__tstate
);
5902 if (PyErr_Occurred()) SWIG_fail
;
5904 resultobj
= SWIG_FromChar((char)result
);
5911 static PyObject
*_wrap_InputStream_GetC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5912 PyObject
*resultobj
;
5913 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5915 PyObject
* obj0
= 0 ;
5917 (char *) "self", NULL
5920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_GetC",kwnames
,&obj0
)) goto fail
;
5921 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5925 result
= (char)(arg1
)->GetC();
5927 wxPyEndAllowThreads(__tstate
);
5928 if (PyErr_Occurred()) SWIG_fail
;
5930 resultobj
= SWIG_FromChar((char)result
);
5937 static PyObject
*_wrap_InputStream_LastRead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5938 PyObject
*resultobj
;
5939 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5941 PyObject
* obj0
= 0 ;
5943 (char *) "self", NULL
5946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_LastRead",kwnames
,&obj0
)) goto fail
;
5947 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5948 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5951 result
= (size_t)(arg1
)->LastRead();
5953 wxPyEndAllowThreads(__tstate
);
5954 if (PyErr_Occurred()) SWIG_fail
;
5956 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
5963 static PyObject
*_wrap_InputStream_CanRead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5964 PyObject
*resultobj
;
5965 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5967 PyObject
* obj0
= 0 ;
5969 (char *) "self", NULL
5972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_CanRead",kwnames
,&obj0
)) goto fail
;
5973 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5974 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5977 result
= (bool)(arg1
)->CanRead();
5979 wxPyEndAllowThreads(__tstate
);
5980 if (PyErr_Occurred()) SWIG_fail
;
5983 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5991 static PyObject
*_wrap_InputStream_Eof(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5992 PyObject
*resultobj
;
5993 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5995 PyObject
* obj0
= 0 ;
5997 (char *) "self", NULL
6000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_Eof",kwnames
,&obj0
)) goto fail
;
6001 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6002 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6005 result
= (bool)(arg1
)->Eof();
6007 wxPyEndAllowThreads(__tstate
);
6008 if (PyErr_Occurred()) SWIG_fail
;
6011 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6019 static PyObject
*_wrap_InputStream_Ungetch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6020 PyObject
*resultobj
;
6021 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6024 PyObject
* obj0
= 0 ;
6025 PyObject
* obj1
= 0 ;
6027 (char *) "self",(char *) "c", NULL
6030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:InputStream_Ungetch",kwnames
,&obj0
,&obj1
)) goto fail
;
6031 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6032 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6033 arg2
= (char) SWIG_AsChar(obj1
);
6034 if (PyErr_Occurred()) SWIG_fail
;
6036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6037 result
= (bool)(arg1
)->Ungetch(arg2
);
6039 wxPyEndAllowThreads(__tstate
);
6040 if (PyErr_Occurred()) SWIG_fail
;
6043 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6051 static PyObject
*_wrap_InputStream_SeekI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6052 PyObject
*resultobj
;
6053 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6055 int arg3
= (int) wxFromStart
;
6057 PyObject
* obj0
= 0 ;
6058 PyObject
* obj1
= 0 ;
6059 PyObject
* obj2
= 0 ;
6061 (char *) "self",(char *) "pos",(char *) "mode", NULL
6064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:InputStream_SeekI",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6065 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6066 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6067 arg2
= (long) SWIG_AsLong(obj1
);
6068 if (PyErr_Occurred()) SWIG_fail
;
6070 arg3
= (wxSeekMode
) SWIG_AsInt(obj2
);
6071 if (PyErr_Occurred()) SWIG_fail
;
6074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6075 result
= (long)(arg1
)->SeekI(arg2
,(wxSeekMode
)arg3
);
6077 wxPyEndAllowThreads(__tstate
);
6078 if (PyErr_Occurred()) SWIG_fail
;
6080 resultobj
= SWIG_FromLong((long)result
);
6087 static PyObject
*_wrap_InputStream_TellI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6088 PyObject
*resultobj
;
6089 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6091 PyObject
* obj0
= 0 ;
6093 (char *) "self", NULL
6096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_TellI",kwnames
,&obj0
)) goto fail
;
6097 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6098 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6101 result
= (long)(arg1
)->TellI();
6103 wxPyEndAllowThreads(__tstate
);
6104 if (PyErr_Occurred()) SWIG_fail
;
6106 resultobj
= SWIG_FromLong((long)result
);
6113 static PyObject
* InputStream_swigregister(PyObject
*self
, PyObject
*args
) {
6115 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6116 SWIG_TypeClientData(SWIGTYPE_p_wxPyInputStream
, obj
);
6118 return Py_BuildValue((char *)"");
6120 static PyObject
*_wrap_OutputStream_write(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6121 PyObject
*resultobj
;
6122 wxOutputStream
*arg1
= (wxOutputStream
*) 0 ;
6123 PyObject
*arg2
= (PyObject
*) 0 ;
6124 PyObject
* obj0
= 0 ;
6125 PyObject
* obj1
= 0 ;
6127 (char *) "self",(char *) "obj", NULL
6130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:OutputStream_write",kwnames
,&obj0
,&obj1
)) goto fail
;
6131 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxOutputStream
,
6132 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6136 wxOutputStream_write(arg1
,arg2
);
6138 wxPyEndAllowThreads(__tstate
);
6139 if (PyErr_Occurred()) SWIG_fail
;
6141 Py_INCREF(Py_None
); resultobj
= Py_None
;
6148 static PyObject
* OutputStream_swigregister(PyObject
*self
, PyObject
*args
) {
6150 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6151 SWIG_TypeClientData(SWIGTYPE_p_wxOutputStream
, obj
);
6153 return Py_BuildValue((char *)"");
6155 static PyObject
*_wrap_new_FSFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6156 PyObject
*resultobj
;
6157 wxInputStream
*arg1
= (wxInputStream
*) 0 ;
6158 wxString
*arg2
= 0 ;
6159 wxString
*arg3
= 0 ;
6160 wxString
*arg4
= 0 ;
6163 wxPyInputStream
*temp1
;
6165 bool temp2
= False
;
6166 bool temp3
= False
;
6167 bool temp4
= False
;
6169 PyObject
* obj0
= 0 ;
6170 PyObject
* obj1
= 0 ;
6171 PyObject
* obj2
= 0 ;
6172 PyObject
* obj3
= 0 ;
6173 PyObject
* obj4
= 0 ;
6175 (char *) "stream",(char *) "loc",(char *) "mimetype",(char *) "anchor",(char *) "modif", NULL
6178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:new_FSFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
6180 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
6181 arg1
= temp1
->m_wxis
;
6184 PyErr_Clear(); // clear the failure of the wxPyConvert above
6185 arg1
= wxPyCBInputStream_create(obj0
, False
);
6187 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
6194 arg2
= wxString_in_helper(obj1
);
6195 if (arg2
== NULL
) SWIG_fail
;
6199 arg3
= wxString_in_helper(obj2
);
6200 if (arg3
== NULL
) SWIG_fail
;
6204 arg4
= wxString_in_helper(obj3
);
6205 if (arg4
== NULL
) SWIG_fail
;
6208 if ((SWIG_ConvertPtr(obj4
,(void **)(&argp5
),SWIGTYPE_p_wxDateTime
,
6209 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
6212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6213 result
= (wxFSFile
*)new wxFSFile(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
6215 wxPyEndAllowThreads(__tstate
);
6216 if (PyErr_Occurred()) SWIG_fail
;
6219 resultobj
= wxPyMake_wxObject(result
);
6259 static PyObject
*_wrap_delete_FSFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6260 PyObject
*resultobj
;
6261 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6262 PyObject
* obj0
= 0 ;
6264 (char *) "self", NULL
6267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FSFile",kwnames
,&obj0
)) goto fail
;
6268 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6269 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6274 wxPyEndAllowThreads(__tstate
);
6275 if (PyErr_Occurred()) SWIG_fail
;
6277 Py_INCREF(Py_None
); resultobj
= Py_None
;
6284 static PyObject
*_wrap_FSFile_GetStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6285 PyObject
*resultobj
;
6286 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6287 wxInputStream
*result
;
6288 PyObject
* obj0
= 0 ;
6290 (char *) "self", NULL
6293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetStream",kwnames
,&obj0
)) goto fail
;
6294 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6295 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6298 result
= (wxInputStream
*)(arg1
)->GetStream();
6300 wxPyEndAllowThreads(__tstate
);
6301 if (PyErr_Occurred()) SWIG_fail
;
6304 wxPyInputStream
* _ptr
= NULL
;
6307 _ptr
= new wxPyInputStream(result
);
6309 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), True
);
6317 static PyObject
*_wrap_FSFile_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6318 PyObject
*resultobj
;
6319 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6321 PyObject
* obj0
= 0 ;
6323 (char *) "self", NULL
6326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetMimeType",kwnames
,&obj0
)) goto fail
;
6327 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6328 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6332 wxString
const &_result_ref
= (arg1
)->GetMimeType();
6333 result
= (wxString
*) &_result_ref
;
6336 wxPyEndAllowThreads(__tstate
);
6337 if (PyErr_Occurred()) SWIG_fail
;
6341 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
6343 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
6352 static PyObject
*_wrap_FSFile_GetLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6353 PyObject
*resultobj
;
6354 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6356 PyObject
* obj0
= 0 ;
6358 (char *) "self", NULL
6361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetLocation",kwnames
,&obj0
)) goto fail
;
6362 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6363 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6367 wxString
const &_result_ref
= (arg1
)->GetLocation();
6368 result
= (wxString
*) &_result_ref
;
6371 wxPyEndAllowThreads(__tstate
);
6372 if (PyErr_Occurred()) SWIG_fail
;
6376 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
6378 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
6387 static PyObject
*_wrap_FSFile_GetAnchor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6388 PyObject
*resultobj
;
6389 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6391 PyObject
* obj0
= 0 ;
6393 (char *) "self", NULL
6396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetAnchor",kwnames
,&obj0
)) goto fail
;
6397 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6398 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6402 wxString
const &_result_ref
= (arg1
)->GetAnchor();
6403 result
= (wxString
*) &_result_ref
;
6406 wxPyEndAllowThreads(__tstate
);
6407 if (PyErr_Occurred()) SWIG_fail
;
6411 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
6413 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
6422 static PyObject
*_wrap_FSFile_GetModificationTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6423 PyObject
*resultobj
;
6424 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6426 PyObject
* obj0
= 0 ;
6428 (char *) "self", NULL
6431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetModificationTime",kwnames
,&obj0
)) goto fail
;
6432 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6433 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6436 result
= (arg1
)->GetModificationTime();
6438 wxPyEndAllowThreads(__tstate
);
6439 if (PyErr_Occurred()) SWIG_fail
;
6442 wxDateTime
* resultptr
;
6443 resultptr
= new wxDateTime((wxDateTime
&) result
);
6444 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
6452 static PyObject
* FSFile_swigregister(PyObject
*self
, PyObject
*args
) {
6454 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6455 SWIG_TypeClientData(SWIGTYPE_p_wxFSFile
, obj
);
6457 return Py_BuildValue((char *)"");
6459 static PyObject
* CPPFileSystemHandler_swigregister(PyObject
*self
, PyObject
*args
) {
6461 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6462 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystemHandler
, obj
);
6464 return Py_BuildValue((char *)"");
6466 static PyObject
*_wrap_new_FileSystemHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6467 PyObject
*resultobj
;
6468 wxPyFileSystemHandler
*result
;
6473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileSystemHandler",kwnames
)) goto fail
;
6475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6476 result
= (wxPyFileSystemHandler
*)new wxPyFileSystemHandler();
6478 wxPyEndAllowThreads(__tstate
);
6479 if (PyErr_Occurred()) SWIG_fail
;
6481 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFileSystemHandler
, 1);
6488 static PyObject
*_wrap_FileSystemHandler__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6489 PyObject
*resultobj
;
6490 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6491 PyObject
*arg2
= (PyObject
*) 0 ;
6492 PyObject
*arg3
= (PyObject
*) 0 ;
6493 PyObject
* obj0
= 0 ;
6494 PyObject
* obj1
= 0 ;
6495 PyObject
* obj2
= 0 ;
6497 (char *) "self",(char *) "self",(char *) "_class", NULL
6500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileSystemHandler__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6501 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6507 (arg1
)->_setCallbackInfo(arg2
,arg3
);
6509 wxPyEndAllowThreads(__tstate
);
6510 if (PyErr_Occurred()) SWIG_fail
;
6512 Py_INCREF(Py_None
); resultobj
= Py_None
;
6519 static PyObject
*_wrap_FileSystemHandler_CanOpen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6520 PyObject
*resultobj
;
6521 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6522 wxString
*arg2
= 0 ;
6524 bool temp2
= False
;
6525 PyObject
* obj0
= 0 ;
6526 PyObject
* obj1
= 0 ;
6528 (char *) "self",(char *) "location", NULL
6531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
6532 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6533 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6535 arg2
= wxString_in_helper(obj1
);
6536 if (arg2
== NULL
) SWIG_fail
;
6540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6541 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
6543 wxPyEndAllowThreads(__tstate
);
6544 if (PyErr_Occurred()) SWIG_fail
;
6547 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6563 static PyObject
*_wrap_FileSystemHandler_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6564 PyObject
*resultobj
;
6565 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6566 wxFileSystem
*arg2
= 0 ;
6567 wxString
*arg3
= 0 ;
6569 bool temp3
= False
;
6570 PyObject
* obj0
= 0 ;
6571 PyObject
* obj1
= 0 ;
6572 PyObject
* obj2
= 0 ;
6574 (char *) "self",(char *) "fs",(char *) "location", NULL
6577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileSystemHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6578 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6579 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6580 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileSystem
,
6581 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6584 PyErr_SetString(PyExc_TypeError
,"null reference");
6588 arg3
= wxString_in_helper(obj2
);
6589 if (arg3
== NULL
) SWIG_fail
;
6593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6594 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
6596 wxPyEndAllowThreads(__tstate
);
6597 if (PyErr_Occurred()) SWIG_fail
;
6600 resultobj
= wxPyMake_wxObject(result
);
6616 static PyObject
*_wrap_FileSystemHandler_FindFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6617 PyObject
*resultobj
;
6618 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6619 wxString
*arg2
= 0 ;
6620 int arg3
= (int) 0 ;
6622 bool temp2
= False
;
6623 PyObject
* obj0
= 0 ;
6624 PyObject
* obj1
= 0 ;
6625 PyObject
* obj2
= 0 ;
6627 (char *) "self",(char *) "spec",(char *) "flags", NULL
6630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystemHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6631 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6632 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6634 arg2
= wxString_in_helper(obj1
);
6635 if (arg2
== NULL
) SWIG_fail
;
6639 arg3
= (int) SWIG_AsInt(obj2
);
6640 if (PyErr_Occurred()) SWIG_fail
;
6643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6644 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
6646 wxPyEndAllowThreads(__tstate
);
6647 if (PyErr_Occurred()) SWIG_fail
;
6651 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6653 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6670 static PyObject
*_wrap_FileSystemHandler_FindNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6671 PyObject
*resultobj
;
6672 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6674 PyObject
* obj0
= 0 ;
6676 (char *) "self", NULL
6679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystemHandler_FindNext",kwnames
,&obj0
)) goto fail
;
6680 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6681 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6684 result
= (arg1
)->FindNext();
6686 wxPyEndAllowThreads(__tstate
);
6687 if (PyErr_Occurred()) SWIG_fail
;
6691 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6693 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6702 static PyObject
*_wrap_FileSystemHandler_GetProtocol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6703 PyObject
*resultobj
;
6704 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6705 wxString
*arg2
= 0 ;
6707 bool temp2
= False
;
6708 PyObject
* obj0
= 0 ;
6709 PyObject
* obj1
= 0 ;
6711 (char *) "self",(char *) "location", NULL
6714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetProtocol",kwnames
,&obj0
,&obj1
)) goto fail
;
6715 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6716 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6718 arg2
= wxString_in_helper(obj1
);
6719 if (arg2
== NULL
) SWIG_fail
;
6723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6724 result
= (arg1
)->GetProtocol((wxString
const &)*arg2
);
6726 wxPyEndAllowThreads(__tstate
);
6727 if (PyErr_Occurred()) SWIG_fail
;
6731 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6733 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6750 static PyObject
*_wrap_FileSystemHandler_GetLeftLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6751 PyObject
*resultobj
;
6752 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6753 wxString
*arg2
= 0 ;
6755 bool temp2
= False
;
6756 PyObject
* obj0
= 0 ;
6757 PyObject
* obj1
= 0 ;
6759 (char *) "self",(char *) "location", NULL
6762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetLeftLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
6763 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6766 arg2
= wxString_in_helper(obj1
);
6767 if (arg2
== NULL
) SWIG_fail
;
6771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6772 result
= (arg1
)->GetLeftLocation((wxString
const &)*arg2
);
6774 wxPyEndAllowThreads(__tstate
);
6775 if (PyErr_Occurred()) SWIG_fail
;
6779 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6781 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6798 static PyObject
*_wrap_FileSystemHandler_GetAnchor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6799 PyObject
*resultobj
;
6800 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6801 wxString
*arg2
= 0 ;
6803 bool temp2
= False
;
6804 PyObject
* obj0
= 0 ;
6805 PyObject
* obj1
= 0 ;
6807 (char *) "self",(char *) "location", NULL
6810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetAnchor",kwnames
,&obj0
,&obj1
)) goto fail
;
6811 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6812 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6814 arg2
= wxString_in_helper(obj1
);
6815 if (arg2
== NULL
) SWIG_fail
;
6819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6820 result
= (arg1
)->GetAnchor((wxString
const &)*arg2
);
6822 wxPyEndAllowThreads(__tstate
);
6823 if (PyErr_Occurred()) SWIG_fail
;
6827 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6829 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6846 static PyObject
*_wrap_FileSystemHandler_GetRightLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6847 PyObject
*resultobj
;
6848 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6849 wxString
*arg2
= 0 ;
6851 bool temp2
= False
;
6852 PyObject
* obj0
= 0 ;
6853 PyObject
* obj1
= 0 ;
6855 (char *) "self",(char *) "location", NULL
6858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetRightLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
6859 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6860 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6862 arg2
= wxString_in_helper(obj1
);
6863 if (arg2
== NULL
) SWIG_fail
;
6867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6868 result
= (arg1
)->GetRightLocation((wxString
const &)*arg2
);
6870 wxPyEndAllowThreads(__tstate
);
6871 if (PyErr_Occurred()) SWIG_fail
;
6875 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6877 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6894 static PyObject
*_wrap_FileSystemHandler_GetMimeTypeFromExt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6895 PyObject
*resultobj
;
6896 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6897 wxString
*arg2
= 0 ;
6899 bool temp2
= False
;
6900 PyObject
* obj0
= 0 ;
6901 PyObject
* obj1
= 0 ;
6903 (char *) "self",(char *) "location", NULL
6906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetMimeTypeFromExt",kwnames
,&obj0
,&obj1
)) goto fail
;
6907 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6908 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6910 arg2
= wxString_in_helper(obj1
);
6911 if (arg2
== NULL
) SWIG_fail
;
6915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6916 result
= (arg1
)->GetMimeTypeFromExt((wxString
const &)*arg2
);
6918 wxPyEndAllowThreads(__tstate
);
6919 if (PyErr_Occurred()) SWIG_fail
;
6923 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6925 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6942 static PyObject
* FileSystemHandler_swigregister(PyObject
*self
, PyObject
*args
) {
6944 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6945 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileSystemHandler
, obj
);
6947 return Py_BuildValue((char *)"");
6949 static PyObject
*_wrap_new_FileSystem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6950 PyObject
*resultobj
;
6951 wxFileSystem
*result
;
6956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileSystem",kwnames
)) goto fail
;
6958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6959 result
= (wxFileSystem
*)new wxFileSystem();
6961 wxPyEndAllowThreads(__tstate
);
6962 if (PyErr_Occurred()) SWIG_fail
;
6965 resultobj
= wxPyMake_wxObject(result
);
6973 static PyObject
*_wrap_delete_FileSystem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6974 PyObject
*resultobj
;
6975 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
6976 PyObject
* obj0
= 0 ;
6978 (char *) "self", NULL
6981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileSystem",kwnames
,&obj0
)) goto fail
;
6982 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
6983 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6988 wxPyEndAllowThreads(__tstate
);
6989 if (PyErr_Occurred()) SWIG_fail
;
6991 Py_INCREF(Py_None
); resultobj
= Py_None
;
6998 static PyObject
*_wrap_FileSystem_ChangePathTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6999 PyObject
*resultobj
;
7000 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7001 wxString
*arg2
= 0 ;
7002 bool arg3
= (bool) False
;
7003 bool temp2
= False
;
7004 PyObject
* obj0
= 0 ;
7005 PyObject
* obj1
= 0 ;
7006 PyObject
* obj2
= 0 ;
7008 (char *) "self",(char *) "location",(char *) "is_dir", NULL
7011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystem_ChangePathTo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7012 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7013 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7015 arg2
= wxString_in_helper(obj1
);
7016 if (arg2
== NULL
) SWIG_fail
;
7020 arg3
= (bool) SWIG_AsBool(obj2
);
7021 if (PyErr_Occurred()) SWIG_fail
;
7024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7025 (arg1
)->ChangePathTo((wxString
const &)*arg2
,arg3
);
7027 wxPyEndAllowThreads(__tstate
);
7028 if (PyErr_Occurred()) SWIG_fail
;
7030 Py_INCREF(Py_None
); resultobj
= Py_None
;
7045 static PyObject
*_wrap_FileSystem_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7046 PyObject
*resultobj
;
7047 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7049 PyObject
* obj0
= 0 ;
7051 (char *) "self", NULL
7054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_GetPath",kwnames
,&obj0
)) goto fail
;
7055 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7056 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7059 result
= (arg1
)->GetPath();
7061 wxPyEndAllowThreads(__tstate
);
7062 if (PyErr_Occurred()) SWIG_fail
;
7066 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7068 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7077 static PyObject
*_wrap_FileSystem_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7078 PyObject
*resultobj
;
7079 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7080 wxString
*arg2
= 0 ;
7082 bool temp2
= False
;
7083 PyObject
* obj0
= 0 ;
7084 PyObject
* obj1
= 0 ;
7086 (char *) "self",(char *) "location", NULL
7089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystem_OpenFile",kwnames
,&obj0
,&obj1
)) goto fail
;
7090 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7091 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7093 arg2
= wxString_in_helper(obj1
);
7094 if (arg2
== NULL
) SWIG_fail
;
7098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7099 result
= (wxFSFile
*)(arg1
)->OpenFile((wxString
const &)*arg2
);
7101 wxPyEndAllowThreads(__tstate
);
7102 if (PyErr_Occurred()) SWIG_fail
;
7105 resultobj
= wxPyMake_wxObject(result
);
7121 static PyObject
*_wrap_FileSystem_FindFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7122 PyObject
*resultobj
;
7123 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7124 wxString
*arg2
= 0 ;
7125 int arg3
= (int) 0 ;
7127 bool temp2
= False
;
7128 PyObject
* obj0
= 0 ;
7129 PyObject
* obj1
= 0 ;
7130 PyObject
* obj2
= 0 ;
7132 (char *) "self",(char *) "spec",(char *) "flags", NULL
7135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystem_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7136 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7137 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7139 arg2
= wxString_in_helper(obj1
);
7140 if (arg2
== NULL
) SWIG_fail
;
7144 arg3
= (int) SWIG_AsInt(obj2
);
7145 if (PyErr_Occurred()) SWIG_fail
;
7148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7149 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
7151 wxPyEndAllowThreads(__tstate
);
7152 if (PyErr_Occurred()) SWIG_fail
;
7156 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7158 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7175 static PyObject
*_wrap_FileSystem_FindNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7176 PyObject
*resultobj
;
7177 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7179 PyObject
* obj0
= 0 ;
7181 (char *) "self", NULL
7184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_FindNext",kwnames
,&obj0
)) goto fail
;
7185 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7186 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7189 result
= (arg1
)->FindNext();
7191 wxPyEndAllowThreads(__tstate
);
7192 if (PyErr_Occurred()) SWIG_fail
;
7196 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7198 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7207 static PyObject
*_wrap_FileSystem_AddHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7208 PyObject
*resultobj
;
7209 wxFileSystemHandler
*arg1
= (wxFileSystemHandler
*) 0 ;
7210 PyObject
* obj0
= 0 ;
7212 (char *) "handler", NULL
7215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_AddHandler",kwnames
,&obj0
)) goto fail
;
7216 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystemHandler
,
7217 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7220 wxFileSystem::AddHandler(arg1
);
7222 wxPyEndAllowThreads(__tstate
);
7223 if (PyErr_Occurred()) SWIG_fail
;
7225 Py_INCREF(Py_None
); resultobj
= Py_None
;
7232 static PyObject
*_wrap_FileSystem_CleanUpHandlers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7233 PyObject
*resultobj
;
7238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FileSystem_CleanUpHandlers",kwnames
)) goto fail
;
7240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7241 wxFileSystem::CleanUpHandlers();
7243 wxPyEndAllowThreads(__tstate
);
7244 if (PyErr_Occurred()) SWIG_fail
;
7246 Py_INCREF(Py_None
); resultobj
= Py_None
;
7253 static PyObject
*_wrap_FileSystem_FileNameToURL(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7254 PyObject
*resultobj
;
7255 wxString
*arg1
= 0 ;
7257 bool temp1
= False
;
7258 PyObject
* obj0
= 0 ;
7260 (char *) "filename", NULL
7263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_FileNameToURL",kwnames
,&obj0
)) goto fail
;
7265 arg1
= wxString_in_helper(obj0
);
7266 if (arg1
== NULL
) SWIG_fail
;
7270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7271 result
= wxFileSystem::FileNameToURL((wxString
const &)*arg1
);
7273 wxPyEndAllowThreads(__tstate
);
7274 if (PyErr_Occurred()) SWIG_fail
;
7278 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7280 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7297 static PyObject
* FileSystem_swigregister(PyObject
*self
, PyObject
*args
) {
7299 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7300 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystem
, obj
);
7302 return Py_BuildValue((char *)"");
7304 static PyObject
*_wrap_FileSystem_URLToFileName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7305 PyObject
*resultobj
;
7306 wxString
*arg1
= 0 ;
7308 bool temp1
= False
;
7309 PyObject
* obj0
= 0 ;
7311 (char *) "url", NULL
7314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_URLToFileName",kwnames
,&obj0
)) goto fail
;
7316 arg1
= wxString_in_helper(obj0
);
7317 if (arg1
== NULL
) SWIG_fail
;
7321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7322 result
= wxFileSystem_URLToFileName((wxString
const &)*arg1
);
7324 wxPyEndAllowThreads(__tstate
);
7325 if (PyErr_Occurred()) SWIG_fail
;
7329 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7331 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7348 static PyObject
*_wrap_new_InternetFSHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7349 PyObject
*resultobj
;
7350 wxInternetFSHandler
*result
;
7355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_InternetFSHandler",kwnames
)) goto fail
;
7357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7358 result
= (wxInternetFSHandler
*)new wxInternetFSHandler();
7360 wxPyEndAllowThreads(__tstate
);
7361 if (PyErr_Occurred()) SWIG_fail
;
7363 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxInternetFSHandler
, 1);
7370 static PyObject
*_wrap_InternetFSHandler_CanOpen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7371 PyObject
*resultobj
;
7372 wxInternetFSHandler
*arg1
= (wxInternetFSHandler
*) 0 ;
7373 wxString
*arg2
= 0 ;
7375 bool temp2
= False
;
7376 PyObject
* obj0
= 0 ;
7377 PyObject
* obj1
= 0 ;
7379 (char *) "self",(char *) "location", NULL
7382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:InternetFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
7383 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxInternetFSHandler
,
7384 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7386 arg2
= wxString_in_helper(obj1
);
7387 if (arg2
== NULL
) SWIG_fail
;
7391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7392 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
7394 wxPyEndAllowThreads(__tstate
);
7395 if (PyErr_Occurred()) SWIG_fail
;
7398 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7414 static PyObject
*_wrap_InternetFSHandler_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7415 PyObject
*resultobj
;
7416 wxInternetFSHandler
*arg1
= (wxInternetFSHandler
*) 0 ;
7417 wxFileSystem
*arg2
= 0 ;
7418 wxString
*arg3
= 0 ;
7420 bool temp3
= False
;
7421 PyObject
* obj0
= 0 ;
7422 PyObject
* obj1
= 0 ;
7423 PyObject
* obj2
= 0 ;
7425 (char *) "self",(char *) "fs",(char *) "location", NULL
7428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:InternetFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7429 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxInternetFSHandler
,
7430 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7431 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileSystem
,
7432 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7435 PyErr_SetString(PyExc_TypeError
,"null reference");
7439 arg3
= wxString_in_helper(obj2
);
7440 if (arg3
== NULL
) SWIG_fail
;
7444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7445 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
7447 wxPyEndAllowThreads(__tstate
);
7448 if (PyErr_Occurred()) SWIG_fail
;
7451 resultobj
= wxPyMake_wxObject(result
);
7467 static PyObject
* InternetFSHandler_swigregister(PyObject
*self
, PyObject
*args
) {
7469 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7470 SWIG_TypeClientData(SWIGTYPE_p_wxInternetFSHandler
, obj
);
7472 return Py_BuildValue((char *)"");
7474 static PyObject
*_wrap_new_ZipFSHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7475 PyObject
*resultobj
;
7476 wxZipFSHandler
*result
;
7481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ZipFSHandler",kwnames
)) goto fail
;
7483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7484 result
= (wxZipFSHandler
*)new wxZipFSHandler();
7486 wxPyEndAllowThreads(__tstate
);
7487 if (PyErr_Occurred()) SWIG_fail
;
7489 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxZipFSHandler
, 1);
7496 static PyObject
*_wrap_ZipFSHandler_CanOpen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7497 PyObject
*resultobj
;
7498 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
7499 wxString
*arg2
= 0 ;
7501 bool temp2
= False
;
7502 PyObject
* obj0
= 0 ;
7503 PyObject
* obj1
= 0 ;
7505 (char *) "self",(char *) "location", NULL
7508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ZipFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
7509 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxZipFSHandler
,
7510 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7512 arg2
= wxString_in_helper(obj1
);
7513 if (arg2
== NULL
) SWIG_fail
;
7517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7518 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
7520 wxPyEndAllowThreads(__tstate
);
7521 if (PyErr_Occurred()) SWIG_fail
;
7524 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7540 static PyObject
*_wrap_ZipFSHandler_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7541 PyObject
*resultobj
;
7542 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
7543 wxFileSystem
*arg2
= 0 ;
7544 wxString
*arg3
= 0 ;
7546 bool temp3
= False
;
7547 PyObject
* obj0
= 0 ;
7548 PyObject
* obj1
= 0 ;
7549 PyObject
* obj2
= 0 ;
7551 (char *) "self",(char *) "fs",(char *) "location", NULL
7554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ZipFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7555 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxZipFSHandler
,
7556 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7557 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileSystem
,
7558 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7561 PyErr_SetString(PyExc_TypeError
,"null reference");
7565 arg3
= wxString_in_helper(obj2
);
7566 if (arg3
== NULL
) SWIG_fail
;
7570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7571 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
7573 wxPyEndAllowThreads(__tstate
);
7574 if (PyErr_Occurred()) SWIG_fail
;
7577 resultobj
= wxPyMake_wxObject(result
);
7593 static PyObject
*_wrap_ZipFSHandler_FindFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7594 PyObject
*resultobj
;
7595 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
7596 wxString
*arg2
= 0 ;
7597 int arg3
= (int) 0 ;
7599 bool temp2
= False
;
7600 PyObject
* obj0
= 0 ;
7601 PyObject
* obj1
= 0 ;
7602 PyObject
* obj2
= 0 ;
7604 (char *) "self",(char *) "spec",(char *) "flags", NULL
7607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ZipFSHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7608 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxZipFSHandler
,
7609 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7611 arg2
= wxString_in_helper(obj1
);
7612 if (arg2
== NULL
) SWIG_fail
;
7616 arg3
= (int) SWIG_AsInt(obj2
);
7617 if (PyErr_Occurred()) SWIG_fail
;
7620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7621 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
7623 wxPyEndAllowThreads(__tstate
);
7624 if (PyErr_Occurred()) SWIG_fail
;
7628 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7630 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7647 static PyObject
*_wrap_ZipFSHandler_FindNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7648 PyObject
*resultobj
;
7649 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
7651 PyObject
* obj0
= 0 ;
7653 (char *) "self", NULL
7656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ZipFSHandler_FindNext",kwnames
,&obj0
)) goto fail
;
7657 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxZipFSHandler
,
7658 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7661 result
= (arg1
)->FindNext();
7663 wxPyEndAllowThreads(__tstate
);
7664 if (PyErr_Occurred()) SWIG_fail
;
7668 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7670 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7679 static PyObject
* ZipFSHandler_swigregister(PyObject
*self
, PyObject
*args
) {
7681 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7682 SWIG_TypeClientData(SWIGTYPE_p_wxZipFSHandler
, obj
);
7684 return Py_BuildValue((char *)"");
7686 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7687 PyObject
*resultobj
;
7688 wxString
*arg1
= 0 ;
7691 bool temp1
= False
;
7692 PyObject
* obj0
= 0 ;
7693 PyObject
* obj1
= 0 ;
7694 PyObject
* obj2
= 0 ;
7696 (char *) "filename",(char *) "image",(char *) "type", NULL
7699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7701 arg1
= wxString_in_helper(obj0
);
7702 if (arg1
== NULL
) SWIG_fail
;
7705 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImage
,
7706 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7709 PyErr_SetString(PyExc_TypeError
,"null reference");
7712 arg3
= (long) SWIG_AsLong(obj2
);
7713 if (PyErr_Occurred()) SWIG_fail
;
7715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7716 __wxMemoryFSHandler_AddFile_wxImage((wxString
const &)*arg1
,*arg2
,arg3
);
7718 wxPyEndAllowThreads(__tstate
);
7719 if (PyErr_Occurred()) SWIG_fail
;
7721 Py_INCREF(Py_None
); resultobj
= Py_None
;
7736 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7737 PyObject
*resultobj
;
7738 wxString
*arg1
= 0 ;
7739 wxBitmap
*arg2
= 0 ;
7741 bool temp1
= False
;
7742 PyObject
* obj0
= 0 ;
7743 PyObject
* obj1
= 0 ;
7744 PyObject
* obj2
= 0 ;
7746 (char *) "filename",(char *) "bitmap",(char *) "type", NULL
7749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7751 arg1
= wxString_in_helper(obj0
);
7752 if (arg1
== NULL
) SWIG_fail
;
7755 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
7756 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7759 PyErr_SetString(PyExc_TypeError
,"null reference");
7762 arg3
= (long) SWIG_AsLong(obj2
);
7763 if (PyErr_Occurred()) SWIG_fail
;
7765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7766 __wxMemoryFSHandler_AddFile_wxBitmap((wxString
const &)*arg1
,(wxBitmap
const &)*arg2
,arg3
);
7768 wxPyEndAllowThreads(__tstate
);
7769 if (PyErr_Occurred()) SWIG_fail
;
7771 Py_INCREF(Py_None
); resultobj
= Py_None
;
7786 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_Data(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7787 PyObject
*resultobj
;
7788 wxString
*arg1
= 0 ;
7789 PyObject
*arg2
= (PyObject
*) 0 ;
7790 bool temp1
= False
;
7791 PyObject
* obj0
= 0 ;
7792 PyObject
* obj1
= 0 ;
7794 (char *) "filename",(char *) "data", NULL
7797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:__wxMemoryFSHandler_AddFile_Data",kwnames
,&obj0
,&obj1
)) goto fail
;
7799 arg1
= wxString_in_helper(obj0
);
7800 if (arg1
== NULL
) SWIG_fail
;
7805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7806 __wxMemoryFSHandler_AddFile_Data((wxString
const &)*arg1
,arg2
);
7808 wxPyEndAllowThreads(__tstate
);
7809 if (PyErr_Occurred()) SWIG_fail
;
7811 Py_INCREF(Py_None
); resultobj
= Py_None
;
7826 static PyObject
*_wrap_new_MemoryFSHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7827 PyObject
*resultobj
;
7828 wxMemoryFSHandler
*result
;
7833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MemoryFSHandler",kwnames
)) goto fail
;
7835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7836 result
= (wxMemoryFSHandler
*)new wxMemoryFSHandler();
7838 wxPyEndAllowThreads(__tstate
);
7839 if (PyErr_Occurred()) SWIG_fail
;
7841 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMemoryFSHandler
, 1);
7848 static PyObject
*_wrap_MemoryFSHandler_RemoveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7849 PyObject
*resultobj
;
7850 wxString
*arg1
= 0 ;
7851 bool temp1
= False
;
7852 PyObject
* obj0
= 0 ;
7854 (char *) "filename", NULL
7857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MemoryFSHandler_RemoveFile",kwnames
,&obj0
)) goto fail
;
7859 arg1
= wxString_in_helper(obj0
);
7860 if (arg1
== NULL
) SWIG_fail
;
7864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7865 wxMemoryFSHandler::RemoveFile((wxString
const &)*arg1
);
7867 wxPyEndAllowThreads(__tstate
);
7868 if (PyErr_Occurred()) SWIG_fail
;
7870 Py_INCREF(Py_None
); resultobj
= Py_None
;
7885 static PyObject
*_wrap_MemoryFSHandler_CanOpen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7886 PyObject
*resultobj
;
7887 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
7888 wxString
*arg2
= 0 ;
7890 bool temp2
= False
;
7891 PyObject
* obj0
= 0 ;
7892 PyObject
* obj1
= 0 ;
7894 (char *) "self",(char *) "location", NULL
7897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
7898 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryFSHandler
,
7899 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7901 arg2
= wxString_in_helper(obj1
);
7902 if (arg2
== NULL
) SWIG_fail
;
7906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7907 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
7909 wxPyEndAllowThreads(__tstate
);
7910 if (PyErr_Occurred()) SWIG_fail
;
7913 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7929 static PyObject
*_wrap_MemoryFSHandler_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7930 PyObject
*resultobj
;
7931 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
7932 wxFileSystem
*arg2
= 0 ;
7933 wxString
*arg3
= 0 ;
7935 bool temp3
= False
;
7936 PyObject
* obj0
= 0 ;
7937 PyObject
* obj1
= 0 ;
7938 PyObject
* obj2
= 0 ;
7940 (char *) "self",(char *) "fs",(char *) "location", NULL
7943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MemoryFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7944 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryFSHandler
,
7945 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7946 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileSystem
,
7947 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7950 PyErr_SetString(PyExc_TypeError
,"null reference");
7954 arg3
= wxString_in_helper(obj2
);
7955 if (arg3
== NULL
) SWIG_fail
;
7959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7960 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
7962 wxPyEndAllowThreads(__tstate
);
7963 if (PyErr_Occurred()) SWIG_fail
;
7966 resultobj
= wxPyMake_wxObject(result
);
7982 static PyObject
*_wrap_MemoryFSHandler_FindFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7983 PyObject
*resultobj
;
7984 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
7985 wxString
*arg2
= 0 ;
7986 int arg3
= (int) 0 ;
7988 bool temp2
= False
;
7989 PyObject
* obj0
= 0 ;
7990 PyObject
* obj1
= 0 ;
7991 PyObject
* obj2
= 0 ;
7993 (char *) "self",(char *) "spec",(char *) "flags", NULL
7996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MemoryFSHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7997 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryFSHandler
,
7998 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8000 arg2
= wxString_in_helper(obj1
);
8001 if (arg2
== NULL
) SWIG_fail
;
8005 arg3
= (int) SWIG_AsInt(obj2
);
8006 if (PyErr_Occurred()) SWIG_fail
;
8009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8010 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
8012 wxPyEndAllowThreads(__tstate
);
8013 if (PyErr_Occurred()) SWIG_fail
;
8017 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8019 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8036 static PyObject
*_wrap_MemoryFSHandler_FindNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8037 PyObject
*resultobj
;
8038 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
8040 PyObject
* obj0
= 0 ;
8042 (char *) "self", NULL
8045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MemoryFSHandler_FindNext",kwnames
,&obj0
)) goto fail
;
8046 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryFSHandler
,
8047 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8050 result
= (arg1
)->FindNext();
8052 wxPyEndAllowThreads(__tstate
);
8053 if (PyErr_Occurred()) SWIG_fail
;
8057 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8059 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8068 static PyObject
* MemoryFSHandler_swigregister(PyObject
*self
, PyObject
*args
) {
8070 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8071 SWIG_TypeClientData(SWIGTYPE_p_wxMemoryFSHandler
, obj
);
8073 return Py_BuildValue((char *)"");
8075 static PyObject
*_wrap_ImageHandler_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8076 PyObject
*resultobj
;
8077 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8079 PyObject
* obj0
= 0 ;
8081 (char *) "self", NULL
8084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetName",kwnames
,&obj0
)) goto fail
;
8085 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8086 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8089 result
= (arg1
)->GetName();
8091 wxPyEndAllowThreads(__tstate
);
8092 if (PyErr_Occurred()) SWIG_fail
;
8096 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8098 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8107 static PyObject
*_wrap_ImageHandler_GetExtension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8108 PyObject
*resultobj
;
8109 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8111 PyObject
* obj0
= 0 ;
8113 (char *) "self", NULL
8116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetExtension",kwnames
,&obj0
)) goto fail
;
8117 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8118 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8121 result
= (arg1
)->GetExtension();
8123 wxPyEndAllowThreads(__tstate
);
8124 if (PyErr_Occurred()) SWIG_fail
;
8128 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8130 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8139 static PyObject
*_wrap_ImageHandler_GetType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8140 PyObject
*resultobj
;
8141 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8143 PyObject
* obj0
= 0 ;
8145 (char *) "self", NULL
8148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetType",kwnames
,&obj0
)) goto fail
;
8149 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8150 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8153 result
= (long)(arg1
)->GetType();
8155 wxPyEndAllowThreads(__tstate
);
8156 if (PyErr_Occurred()) SWIG_fail
;
8158 resultobj
= SWIG_FromLong((long)result
);
8165 static PyObject
*_wrap_ImageHandler_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8166 PyObject
*resultobj
;
8167 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8169 PyObject
* obj0
= 0 ;
8171 (char *) "self", NULL
8174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetMimeType",kwnames
,&obj0
)) goto fail
;
8175 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8176 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8179 result
= (arg1
)->GetMimeType();
8181 wxPyEndAllowThreads(__tstate
);
8182 if (PyErr_Occurred()) SWIG_fail
;
8186 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8188 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8197 static PyObject
*_wrap_ImageHandler_CanRead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8198 PyObject
*resultobj
;
8199 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8200 wxString
*arg2
= 0 ;
8202 bool temp2
= False
;
8203 PyObject
* obj0
= 0 ;
8204 PyObject
* obj1
= 0 ;
8206 (char *) "self",(char *) "name", NULL
8209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_CanRead",kwnames
,&obj0
,&obj1
)) goto fail
;
8210 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8211 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8213 arg2
= wxString_in_helper(obj1
);
8214 if (arg2
== NULL
) SWIG_fail
;
8218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8219 result
= (bool)(arg1
)->CanRead((wxString
const &)*arg2
);
8221 wxPyEndAllowThreads(__tstate
);
8222 if (PyErr_Occurred()) SWIG_fail
;
8225 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8241 static PyObject
*_wrap_ImageHandler_SetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8242 PyObject
*resultobj
;
8243 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8244 wxString
*arg2
= 0 ;
8245 bool temp2
= False
;
8246 PyObject
* obj0
= 0 ;
8247 PyObject
* obj1
= 0 ;
8249 (char *) "self",(char *) "name", NULL
8252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetName",kwnames
,&obj0
,&obj1
)) goto fail
;
8253 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8254 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8256 arg2
= wxString_in_helper(obj1
);
8257 if (arg2
== NULL
) SWIG_fail
;
8261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8262 (arg1
)->SetName((wxString
const &)*arg2
);
8264 wxPyEndAllowThreads(__tstate
);
8265 if (PyErr_Occurred()) SWIG_fail
;
8267 Py_INCREF(Py_None
); resultobj
= Py_None
;
8282 static PyObject
*_wrap_ImageHandler_SetExtension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8283 PyObject
*resultobj
;
8284 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8285 wxString
*arg2
= 0 ;
8286 bool temp2
= False
;
8287 PyObject
* obj0
= 0 ;
8288 PyObject
* obj1
= 0 ;
8290 (char *) "self",(char *) "extension", NULL
8293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetExtension",kwnames
,&obj0
,&obj1
)) goto fail
;
8294 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8295 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8297 arg2
= wxString_in_helper(obj1
);
8298 if (arg2
== NULL
) SWIG_fail
;
8302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8303 (arg1
)->SetExtension((wxString
const &)*arg2
);
8305 wxPyEndAllowThreads(__tstate
);
8306 if (PyErr_Occurred()) SWIG_fail
;
8308 Py_INCREF(Py_None
); resultobj
= Py_None
;
8323 static PyObject
*_wrap_ImageHandler_SetType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8324 PyObject
*resultobj
;
8325 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8327 PyObject
* obj0
= 0 ;
8328 PyObject
* obj1
= 0 ;
8330 (char *) "self",(char *) "type", NULL
8333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetType",kwnames
,&obj0
,&obj1
)) goto fail
;
8334 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8335 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8336 arg2
= (long) SWIG_AsLong(obj1
);
8337 if (PyErr_Occurred()) SWIG_fail
;
8339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8340 (arg1
)->SetType(arg2
);
8342 wxPyEndAllowThreads(__tstate
);
8343 if (PyErr_Occurred()) SWIG_fail
;
8345 Py_INCREF(Py_None
); resultobj
= Py_None
;
8352 static PyObject
*_wrap_ImageHandler_SetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8353 PyObject
*resultobj
;
8354 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8355 wxString
*arg2
= 0 ;
8356 bool temp2
= False
;
8357 PyObject
* obj0
= 0 ;
8358 PyObject
* obj1
= 0 ;
8360 (char *) "self",(char *) "mimetype", NULL
8363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetMimeType",kwnames
,&obj0
,&obj1
)) goto fail
;
8364 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8365 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8367 arg2
= wxString_in_helper(obj1
);
8368 if (arg2
== NULL
) SWIG_fail
;
8372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8373 (arg1
)->SetMimeType((wxString
const &)*arg2
);
8375 wxPyEndAllowThreads(__tstate
);
8376 if (PyErr_Occurred()) SWIG_fail
;
8378 Py_INCREF(Py_None
); resultobj
= Py_None
;
8393 static PyObject
* ImageHandler_swigregister(PyObject
*self
, PyObject
*args
) {
8395 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8396 SWIG_TypeClientData(SWIGTYPE_p_wxImageHandler
, obj
);
8398 return Py_BuildValue((char *)"");
8400 static PyObject
*_wrap_new_ImageHistogram(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8401 PyObject
*resultobj
;
8402 wxImageHistogram
*result
;
8407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ImageHistogram",kwnames
)) goto fail
;
8409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8410 result
= (wxImageHistogram
*)new wxImageHistogram();
8412 wxPyEndAllowThreads(__tstate
);
8413 if (PyErr_Occurred()) SWIG_fail
;
8415 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImageHistogram
, 1);
8422 static PyObject
*_wrap_ImageHistogram_MakeKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8423 PyObject
*resultobj
;
8424 unsigned char arg1
;
8425 unsigned char arg2
;
8426 unsigned char arg3
;
8427 unsigned long result
;
8428 PyObject
* obj0
= 0 ;
8429 PyObject
* obj1
= 0 ;
8430 PyObject
* obj2
= 0 ;
8432 (char *) "r",(char *) "g",(char *) "b", NULL
8435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageHistogram_MakeKey",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8436 arg1
= (unsigned char) SWIG_AsUnsignedChar(obj0
);
8437 if (PyErr_Occurred()) SWIG_fail
;
8438 arg2
= (unsigned char) SWIG_AsUnsignedChar(obj1
);
8439 if (PyErr_Occurred()) SWIG_fail
;
8440 arg3
= (unsigned char) SWIG_AsUnsignedChar(obj2
);
8441 if (PyErr_Occurred()) SWIG_fail
;
8443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8444 result
= (unsigned long)wxImageHistogram::MakeKey(arg1
,arg2
,arg3
);
8446 wxPyEndAllowThreads(__tstate
);
8447 if (PyErr_Occurred()) SWIG_fail
;
8449 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
8456 static PyObject
*_wrap_ImageHistogram_FindFirstUnusedColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8457 PyObject
*resultobj
;
8458 wxImageHistogram
*arg1
= (wxImageHistogram
*) 0 ;
8459 unsigned char *arg2
= (unsigned char *) 0 ;
8460 unsigned char *arg3
= (unsigned char *) 0 ;
8461 unsigned char *arg4
= (unsigned char *) 0 ;
8462 unsigned char arg5
= (unsigned char) 1 ;
8463 unsigned char arg6
= (unsigned char) 0 ;
8464 unsigned char arg7
= (unsigned char) 0 ;
8466 unsigned char temp2
;
8467 unsigned char temp3
;
8468 unsigned char temp4
;
8469 PyObject
* obj0
= 0 ;
8470 PyObject
* obj1
= 0 ;
8471 PyObject
* obj2
= 0 ;
8472 PyObject
* obj3
= 0 ;
8474 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
8480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:ImageHistogram_FindFirstUnusedColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8481 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHistogram
,
8482 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8484 arg5
= (unsigned char) SWIG_AsUnsignedChar(obj1
);
8485 if (PyErr_Occurred()) SWIG_fail
;
8488 arg6
= (unsigned char) SWIG_AsUnsignedChar(obj2
);
8489 if (PyErr_Occurred()) SWIG_fail
;
8492 arg7
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
8493 if (PyErr_Occurred()) SWIG_fail
;
8496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8497 result
= (bool)((wxImageHistogram
const *)arg1
)->FindFirstUnusedColour(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
8499 wxPyEndAllowThreads(__tstate
);
8500 if (PyErr_Occurred()) SWIG_fail
;
8503 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8506 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
8507 resultobj
= t_output_helper(resultobj
,o
);
8510 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
8511 resultobj
= t_output_helper(resultobj
,o
);
8514 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
8515 resultobj
= t_output_helper(resultobj
,o
);
8523 static PyObject
* ImageHistogram_swigregister(PyObject
*self
, PyObject
*args
) {
8525 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8526 SWIG_TypeClientData(SWIGTYPE_p_wxImageHistogram
, obj
);
8528 return Py_BuildValue((char *)"");
8530 static PyObject
*_wrap_new_Image(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8531 PyObject
*resultobj
;
8532 wxString
*arg1
= 0 ;
8533 long arg2
= (long) wxBITMAP_TYPE_ANY
;
8534 int arg3
= (int) -1 ;
8536 bool temp1
= False
;
8537 PyObject
* obj0
= 0 ;
8538 PyObject
* obj1
= 0 ;
8539 PyObject
* obj2
= 0 ;
8541 (char *) "name",(char *) "type",(char *) "index", NULL
8544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Image",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8546 arg1
= wxString_in_helper(obj0
);
8547 if (arg1
== NULL
) SWIG_fail
;
8551 arg2
= (long) SWIG_AsLong(obj1
);
8552 if (PyErr_Occurred()) SWIG_fail
;
8555 arg3
= (int) SWIG_AsInt(obj2
);
8556 if (PyErr_Occurred()) SWIG_fail
;
8559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8560 result
= (wxImage
*)new wxImage((wxString
const &)*arg1
,arg2
,arg3
);
8562 wxPyEndAllowThreads(__tstate
);
8563 if (PyErr_Occurred()) SWIG_fail
;
8565 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8580 static PyObject
*_wrap_delete_Image(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8581 PyObject
*resultobj
;
8582 wxImage
*arg1
= (wxImage
*) 0 ;
8583 PyObject
* obj0
= 0 ;
8585 (char *) "self", NULL
8588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Image",kwnames
,&obj0
)) goto fail
;
8589 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
8590 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8595 wxPyEndAllowThreads(__tstate
);
8596 if (PyErr_Occurred()) SWIG_fail
;
8598 Py_INCREF(Py_None
); resultobj
= Py_None
;
8605 static PyObject
*_wrap_new_ImageFromMime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8606 PyObject
*resultobj
;
8607 wxString
*arg1
= 0 ;
8608 wxString
*arg2
= 0 ;
8609 int arg3
= (int) -1 ;
8611 bool temp1
= False
;
8612 bool temp2
= False
;
8613 PyObject
* obj0
= 0 ;
8614 PyObject
* obj1
= 0 ;
8615 PyObject
* obj2
= 0 ;
8617 (char *) "name",(char *) "mimetype",(char *) "index", NULL
8620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_ImageFromMime",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8622 arg1
= wxString_in_helper(obj0
);
8623 if (arg1
== NULL
) SWIG_fail
;
8627 arg2
= wxString_in_helper(obj1
);
8628 if (arg2
== NULL
) SWIG_fail
;
8632 arg3
= (int) SWIG_AsInt(obj2
);
8633 if (PyErr_Occurred()) SWIG_fail
;
8636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8637 result
= (wxImage
*)new wxImage((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
8639 wxPyEndAllowThreads(__tstate
);
8640 if (PyErr_Occurred()) SWIG_fail
;
8642 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8665 static PyObject
*_wrap_new_ImageFromStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8666 PyObject
*resultobj
;
8667 wxInputStream
*arg1
= 0 ;
8668 long arg2
= (long) wxBITMAP_TYPE_ANY
;
8669 int arg3
= (int) -1 ;
8671 wxPyInputStream
*temp1
;
8673 PyObject
* obj0
= 0 ;
8674 PyObject
* obj1
= 0 ;
8675 PyObject
* obj2
= 0 ;
8677 (char *) "stream",(char *) "type",(char *) "index", NULL
8680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_ImageFromStream",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8682 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
8683 arg1
= temp1
->m_wxis
;
8686 PyErr_Clear(); // clear the failure of the wxPyConvert above
8687 arg1
= wxPyCBInputStream_create(obj0
, False
);
8689 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
8696 arg2
= (long) SWIG_AsLong(obj1
);
8697 if (PyErr_Occurred()) SWIG_fail
;
8700 arg3
= (int) SWIG_AsInt(obj2
);
8701 if (PyErr_Occurred()) SWIG_fail
;
8704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8705 result
= (wxImage
*)new wxImage(*arg1
,arg2
,arg3
);
8707 wxPyEndAllowThreads(__tstate
);
8708 if (PyErr_Occurred()) SWIG_fail
;
8710 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8725 static PyObject
*_wrap_new_ImageFromStreamMime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8726 PyObject
*resultobj
;
8727 wxInputStream
*arg1
= 0 ;
8728 wxString
*arg2
= 0 ;
8729 int arg3
= (int) -1 ;
8731 wxPyInputStream
*temp1
;
8733 bool temp2
= False
;
8734 PyObject
* obj0
= 0 ;
8735 PyObject
* obj1
= 0 ;
8736 PyObject
* obj2
= 0 ;
8738 (char *) "stream",(char *) "mimetype",(char *) "index", NULL
8741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_ImageFromStreamMime",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8743 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
8744 arg1
= temp1
->m_wxis
;
8747 PyErr_Clear(); // clear the failure of the wxPyConvert above
8748 arg1
= wxPyCBInputStream_create(obj0
, False
);
8750 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
8757 arg2
= wxString_in_helper(obj1
);
8758 if (arg2
== NULL
) SWIG_fail
;
8762 arg3
= (int) SWIG_AsInt(obj2
);
8763 if (PyErr_Occurred()) SWIG_fail
;
8766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8767 result
= (wxImage
*)new wxImage(*arg1
,(wxString
const &)*arg2
,arg3
);
8769 wxPyEndAllowThreads(__tstate
);
8770 if (PyErr_Occurred()) SWIG_fail
;
8772 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8795 static PyObject
*_wrap_new_EmptyImage__SWIG_0(PyObject
*self
, PyObject
*args
) {
8796 PyObject
*resultobj
;
8797 int arg1
= (int) 0 ;
8798 int arg2
= (int) 0 ;
8799 bool arg3
= (bool) True
;
8801 PyObject
* obj0
= 0 ;
8802 PyObject
* obj1
= 0 ;
8803 PyObject
* obj2
= 0 ;
8805 if(!PyArg_ParseTuple(args
,(char *)"|OOO:new_EmptyImage",&obj0
,&obj1
,&obj2
)) goto fail
;
8807 arg1
= (int) SWIG_AsInt(obj0
);
8808 if (PyErr_Occurred()) SWIG_fail
;
8811 arg2
= (int) SWIG_AsInt(obj1
);
8812 if (PyErr_Occurred()) SWIG_fail
;
8815 arg3
= (bool) SWIG_AsBool(obj2
);
8816 if (PyErr_Occurred()) SWIG_fail
;
8819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8820 result
= (wxImage
*)new_wxImage__SWIG_0(arg1
,arg2
,arg3
);
8822 wxPyEndAllowThreads(__tstate
);
8823 if (PyErr_Occurred()) SWIG_fail
;
8825 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8832 static PyObject
*_wrap_new_EmptyImage__SWIG_1(PyObject
*self
, PyObject
*args
) {
8833 PyObject
*resultobj
;
8835 bool arg2
= (bool) True
;
8838 PyObject
* obj0
= 0 ;
8839 PyObject
* obj1
= 0 ;
8841 if(!PyArg_ParseTuple(args
,(char *)"O|O:new_EmptyImage",&obj0
,&obj1
)) goto fail
;
8844 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
8847 arg2
= (bool) SWIG_AsBool(obj1
);
8848 if (PyErr_Occurred()) SWIG_fail
;
8851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8852 result
= (wxImage
*)new_wxImage__SWIG_1((wxSize
const &)*arg1
,arg2
);
8854 wxPyEndAllowThreads(__tstate
);
8855 if (PyErr_Occurred()) SWIG_fail
;
8857 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8864 static PyObject
*_wrap_new_EmptyImage(PyObject
*self
, PyObject
*args
) {
8869 argc
= PyObject_Length(args
);
8870 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
8871 argv
[ii
] = PyTuple_GetItem(args
,ii
);
8873 if ((argc
>= 0) && (argc
<= 3)) {
8876 return _wrap_new_EmptyImage__SWIG_0(self
,args
);
8878 _v
= SWIG_CheckInt(argv
[0]);
8881 return _wrap_new_EmptyImage__SWIG_0(self
,args
);
8883 _v
= SWIG_CheckInt(argv
[1]);
8886 return _wrap_new_EmptyImage__SWIG_0(self
,args
);
8888 _v
= SWIG_CheckBool(argv
[2]);
8890 return _wrap_new_EmptyImage__SWIG_0(self
,args
);
8895 if ((argc
>= 1) && (argc
<= 2)) {
8898 _v
= wxPySimple_typecheck(argv
[0], wxT("wxSize"), 2);
8902 return _wrap_new_EmptyImage__SWIG_1(self
,args
);
8904 _v
= SWIG_CheckBool(argv
[1]);
8906 return _wrap_new_EmptyImage__SWIG_1(self
,args
);
8911 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_EmptyImage'");
8916 static PyObject
*_wrap_new_ImageFromBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8917 PyObject
*resultobj
;
8918 wxBitmap
*arg1
= 0 ;
8920 PyObject
* obj0
= 0 ;
8922 (char *) "bitmap", NULL
8925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ImageFromBitmap",kwnames
,&obj0
)) goto fail
;
8926 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
8927 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8930 PyErr_SetString(PyExc_TypeError
,"null reference");
8934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8935 result
= (wxImage
*)new_wxImage((wxBitmap
const &)*arg1
);
8937 wxPyEndAllowThreads(__tstate
);
8938 if (PyErr_Occurred()) SWIG_fail
;
8940 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8947 static PyObject
*_wrap_new_ImageFromData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8948 PyObject
*resultobj
;
8951 unsigned char *arg3
= (unsigned char *) 0 ;
8953 PyObject
* obj0
= 0 ;
8954 PyObject
* obj1
= 0 ;
8955 PyObject
* obj2
= 0 ;
8957 (char *) "width",(char *) "height",(char *) "data", NULL
8960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_ImageFromData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8961 arg1
= (int) SWIG_AsInt(obj0
);
8962 if (PyErr_Occurred()) SWIG_fail
;
8963 arg2
= (int) SWIG_AsInt(obj1
);
8964 if (PyErr_Occurred()) SWIG_fail
;
8965 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_unsigned_char
,
8966 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8969 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
);
8971 wxPyEndAllowThreads(__tstate
);
8972 if (PyErr_Occurred()) SWIG_fail
;
8974 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8981 static PyObject
*_wrap_Image_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8982 PyObject
*resultobj
;
8983 wxImage
*arg1
= (wxImage
*) 0 ;
8986 PyObject
* obj0
= 0 ;
8987 PyObject
* obj1
= 0 ;
8988 PyObject
* obj2
= 0 ;
8990 (char *) "self",(char *) "width",(char *) "height", NULL
8993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8994 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
8995 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8996 arg2
= (int) SWIG_AsInt(obj1
);
8997 if (PyErr_Occurred()) SWIG_fail
;
8998 arg3
= (int) SWIG_AsInt(obj2
);
8999 if (PyErr_Occurred()) SWIG_fail
;
9001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9002 (arg1
)->Create(arg2
,arg3
);
9004 wxPyEndAllowThreads(__tstate
);
9005 if (PyErr_Occurred()) SWIG_fail
;
9007 Py_INCREF(Py_None
); resultobj
= Py_None
;
9014 static PyObject
*_wrap_Image_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9015 PyObject
*resultobj
;
9016 wxImage
*arg1
= (wxImage
*) 0 ;
9017 PyObject
* obj0
= 0 ;
9019 (char *) "self", NULL
9022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Destroy",kwnames
,&obj0
)) goto fail
;
9023 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9024 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9029 wxPyEndAllowThreads(__tstate
);
9030 if (PyErr_Occurred()) SWIG_fail
;
9032 Py_INCREF(Py_None
); resultobj
= Py_None
;
9039 static PyObject
*_wrap_Image_Scale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9040 PyObject
*resultobj
;
9041 wxImage
*arg1
= (wxImage
*) 0 ;
9044 SwigValueWrapper
< wxImage
> result
;
9045 PyObject
* obj0
= 0 ;
9046 PyObject
* obj1
= 0 ;
9047 PyObject
* obj2
= 0 ;
9049 (char *) "self",(char *) "width",(char *) "height", NULL
9052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9053 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9054 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9055 arg2
= (int) SWIG_AsInt(obj1
);
9056 if (PyErr_Occurred()) SWIG_fail
;
9057 arg3
= (int) SWIG_AsInt(obj2
);
9058 if (PyErr_Occurred()) SWIG_fail
;
9060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9061 result
= (arg1
)->Scale(arg2
,arg3
);
9063 wxPyEndAllowThreads(__tstate
);
9064 if (PyErr_Occurred()) SWIG_fail
;
9067 wxImage
* resultptr
;
9068 resultptr
= new wxImage((wxImage
&) result
);
9069 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
9077 static PyObject
*_wrap_Image_ShrinkBy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9078 PyObject
*resultobj
;
9079 wxImage
*arg1
= (wxImage
*) 0 ;
9082 SwigValueWrapper
< wxImage
> result
;
9083 PyObject
* obj0
= 0 ;
9084 PyObject
* obj1
= 0 ;
9085 PyObject
* obj2
= 0 ;
9087 (char *) "self",(char *) "xFactor",(char *) "yFactor", NULL
9090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_ShrinkBy",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9091 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9092 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9093 arg2
= (int) SWIG_AsInt(obj1
);
9094 if (PyErr_Occurred()) SWIG_fail
;
9095 arg3
= (int) SWIG_AsInt(obj2
);
9096 if (PyErr_Occurred()) SWIG_fail
;
9098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9099 result
= ((wxImage
const *)arg1
)->ShrinkBy(arg2
,arg3
);
9101 wxPyEndAllowThreads(__tstate
);
9102 if (PyErr_Occurred()) SWIG_fail
;
9105 wxImage
* resultptr
;
9106 resultptr
= new wxImage((wxImage
&) result
);
9107 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
9115 static PyObject
*_wrap_Image_Rescale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9116 PyObject
*resultobj
;
9117 wxImage
*arg1
= (wxImage
*) 0 ;
9121 PyObject
* obj0
= 0 ;
9122 PyObject
* obj1
= 0 ;
9123 PyObject
* obj2
= 0 ;
9125 (char *) "self",(char *) "width",(char *) "height", NULL
9128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Rescale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9129 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9130 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9131 arg2
= (int) SWIG_AsInt(obj1
);
9132 if (PyErr_Occurred()) SWIG_fail
;
9133 arg3
= (int) SWIG_AsInt(obj2
);
9134 if (PyErr_Occurred()) SWIG_fail
;
9136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9138 wxImage
&_result_ref
= (arg1
)->Rescale(arg2
,arg3
);
9139 result
= (wxImage
*) &_result_ref
;
9142 wxPyEndAllowThreads(__tstate
);
9143 if (PyErr_Occurred()) SWIG_fail
;
9145 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 0);
9152 static PyObject
*_wrap_Image_SetRGB(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9153 PyObject
*resultobj
;
9154 wxImage
*arg1
= (wxImage
*) 0 ;
9157 unsigned char arg4
;
9158 unsigned char arg5
;
9159 unsigned char arg6
;
9160 PyObject
* obj0
= 0 ;
9161 PyObject
* obj1
= 0 ;
9162 PyObject
* obj2
= 0 ;
9163 PyObject
* obj3
= 0 ;
9164 PyObject
* obj4
= 0 ;
9165 PyObject
* obj5
= 0 ;
9167 (char *) "self",(char *) "x",(char *) "y",(char *) "r",(char *) "g",(char *) "b", NULL
9170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Image_SetRGB",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9171 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9172 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9173 arg2
= (int) SWIG_AsInt(obj1
);
9174 if (PyErr_Occurred()) SWIG_fail
;
9175 arg3
= (int) SWIG_AsInt(obj2
);
9176 if (PyErr_Occurred()) SWIG_fail
;
9177 arg4
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
9178 if (PyErr_Occurred()) SWIG_fail
;
9179 arg5
= (unsigned char) SWIG_AsUnsignedChar(obj4
);
9180 if (PyErr_Occurred()) SWIG_fail
;
9181 arg6
= (unsigned char) SWIG_AsUnsignedChar(obj5
);
9182 if (PyErr_Occurred()) SWIG_fail
;
9184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9185 (arg1
)->SetRGB(arg2
,arg3
,arg4
,arg5
,arg6
);
9187 wxPyEndAllowThreads(__tstate
);
9188 if (PyErr_Occurred()) SWIG_fail
;
9190 Py_INCREF(Py_None
); resultobj
= Py_None
;
9197 static PyObject
*_wrap_Image_GetRed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9198 PyObject
*resultobj
;
9199 wxImage
*arg1
= (wxImage
*) 0 ;
9202 unsigned char result
;
9203 PyObject
* obj0
= 0 ;
9204 PyObject
* obj1
= 0 ;
9205 PyObject
* obj2
= 0 ;
9207 (char *) "self",(char *) "x",(char *) "y", NULL
9210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetRed",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9211 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9212 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9213 arg2
= (int) SWIG_AsInt(obj1
);
9214 if (PyErr_Occurred()) SWIG_fail
;
9215 arg3
= (int) SWIG_AsInt(obj2
);
9216 if (PyErr_Occurred()) SWIG_fail
;
9218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9219 result
= (unsigned char)(arg1
)->GetRed(arg2
,arg3
);
9221 wxPyEndAllowThreads(__tstate
);
9222 if (PyErr_Occurred()) SWIG_fail
;
9224 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
9231 static PyObject
*_wrap_Image_GetGreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9232 PyObject
*resultobj
;
9233 wxImage
*arg1
= (wxImage
*) 0 ;
9236 unsigned char result
;
9237 PyObject
* obj0
= 0 ;
9238 PyObject
* obj1
= 0 ;
9239 PyObject
* obj2
= 0 ;
9241 (char *) "self",(char *) "x",(char *) "y", NULL
9244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetGreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9245 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9246 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9247 arg2
= (int) SWIG_AsInt(obj1
);
9248 if (PyErr_Occurred()) SWIG_fail
;
9249 arg3
= (int) SWIG_AsInt(obj2
);
9250 if (PyErr_Occurred()) SWIG_fail
;
9252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9253 result
= (unsigned char)(arg1
)->GetGreen(arg2
,arg3
);
9255 wxPyEndAllowThreads(__tstate
);
9256 if (PyErr_Occurred()) SWIG_fail
;
9258 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
9265 static PyObject
*_wrap_Image_GetBlue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9266 PyObject
*resultobj
;
9267 wxImage
*arg1
= (wxImage
*) 0 ;
9270 unsigned char result
;
9271 PyObject
* obj0
= 0 ;
9272 PyObject
* obj1
= 0 ;
9273 PyObject
* obj2
= 0 ;
9275 (char *) "self",(char *) "x",(char *) "y", NULL
9278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetBlue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9279 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9280 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9281 arg2
= (int) SWIG_AsInt(obj1
);
9282 if (PyErr_Occurred()) SWIG_fail
;
9283 arg3
= (int) SWIG_AsInt(obj2
);
9284 if (PyErr_Occurred()) SWIG_fail
;
9286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9287 result
= (unsigned char)(arg1
)->GetBlue(arg2
,arg3
);
9289 wxPyEndAllowThreads(__tstate
);
9290 if (PyErr_Occurred()) SWIG_fail
;
9292 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
9299 static PyObject
*_wrap_Image_SetAlpha(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9300 PyObject
*resultobj
;
9301 wxImage
*arg1
= (wxImage
*) 0 ;
9304 unsigned char arg4
;
9305 PyObject
* obj0
= 0 ;
9306 PyObject
* obj1
= 0 ;
9307 PyObject
* obj2
= 0 ;
9308 PyObject
* obj3
= 0 ;
9310 (char *) "self",(char *) "x",(char *) "y",(char *) "alpha", NULL
9313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_SetAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9314 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9315 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9316 arg2
= (int) SWIG_AsInt(obj1
);
9317 if (PyErr_Occurred()) SWIG_fail
;
9318 arg3
= (int) SWIG_AsInt(obj2
);
9319 if (PyErr_Occurred()) SWIG_fail
;
9320 arg4
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
9321 if (PyErr_Occurred()) SWIG_fail
;
9323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9324 (arg1
)->SetAlpha(arg2
,arg3
,arg4
);
9326 wxPyEndAllowThreads(__tstate
);
9327 if (PyErr_Occurred()) SWIG_fail
;
9329 Py_INCREF(Py_None
); resultobj
= Py_None
;
9336 static PyObject
*_wrap_Image_GetAlpha(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9337 PyObject
*resultobj
;
9338 wxImage
*arg1
= (wxImage
*) 0 ;
9341 unsigned char result
;
9342 PyObject
* obj0
= 0 ;
9343 PyObject
* obj1
= 0 ;
9344 PyObject
* obj2
= 0 ;
9346 (char *) "self",(char *) "x",(char *) "y", NULL
9349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetAlpha",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9350 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9351 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9352 arg2
= (int) SWIG_AsInt(obj1
);
9353 if (PyErr_Occurred()) SWIG_fail
;
9354 arg3
= (int) SWIG_AsInt(obj2
);
9355 if (PyErr_Occurred()) SWIG_fail
;
9357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9358 result
= (unsigned char)(arg1
)->GetAlpha(arg2
,arg3
);
9360 wxPyEndAllowThreads(__tstate
);
9361 if (PyErr_Occurred()) SWIG_fail
;
9363 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
9370 static PyObject
*_wrap_Image_HasAlpha(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9371 PyObject
*resultobj
;
9372 wxImage
*arg1
= (wxImage
*) 0 ;
9374 PyObject
* obj0
= 0 ;
9376 (char *) "self", NULL
9379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HasAlpha",kwnames
,&obj0
)) goto fail
;
9380 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9381 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9384 result
= (bool)(arg1
)->HasAlpha();
9386 wxPyEndAllowThreads(__tstate
);
9387 if (PyErr_Occurred()) SWIG_fail
;
9390 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9398 static PyObject
*_wrap_Image_FindFirstUnusedColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9399 PyObject
*resultobj
;
9400 wxImage
*arg1
= (wxImage
*) 0 ;
9401 byte
*arg2
= (byte
*) 0 ;
9402 byte
*arg3
= (byte
*) 0 ;
9403 byte
*arg4
= (byte
*) 0 ;
9404 byte arg5
= (byte
) 0 ;
9405 byte arg6
= (byte
) 0 ;
9406 byte arg7
= (byte
) 0 ;
9411 PyObject
* obj0
= 0 ;
9412 PyObject
* obj1
= 0 ;
9413 PyObject
* obj2
= 0 ;
9414 PyObject
* obj3
= 0 ;
9416 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
9422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Image_FindFirstUnusedColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9423 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9424 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9426 arg5
= (byte
) SWIG_AsUnsignedChar(obj1
);
9427 if (PyErr_Occurred()) SWIG_fail
;
9430 arg6
= (byte
) SWIG_AsUnsignedChar(obj2
);
9431 if (PyErr_Occurred()) SWIG_fail
;
9434 arg7
= (byte
) SWIG_AsUnsignedChar(obj3
);
9435 if (PyErr_Occurred()) SWIG_fail
;
9438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9439 result
= (bool)((wxImage
const *)arg1
)->FindFirstUnusedColour(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
9441 wxPyEndAllowThreads(__tstate
);
9442 if (PyErr_Occurred()) SWIG_fail
;
9445 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9448 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
9449 resultobj
= t_output_helper(resultobj
,o
);
9452 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
9453 resultobj
= t_output_helper(resultobj
,o
);
9456 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
9457 resultobj
= t_output_helper(resultobj
,o
);
9465 static PyObject
*_wrap_Image_SetMaskFromImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9466 PyObject
*resultobj
;
9467 wxImage
*arg1
= (wxImage
*) 0 ;
9473 PyObject
* obj0
= 0 ;
9474 PyObject
* obj1
= 0 ;
9475 PyObject
* obj2
= 0 ;
9476 PyObject
* obj3
= 0 ;
9477 PyObject
* obj4
= 0 ;
9479 (char *) "self",(char *) "mask",(char *) "mr",(char *) "mg",(char *) "mb", NULL
9482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Image_SetMaskFromImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
9483 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9484 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9485 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImage
,
9486 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9489 PyErr_SetString(PyExc_TypeError
,"null reference");
9492 arg3
= (byte
) SWIG_AsUnsignedChar(obj2
);
9493 if (PyErr_Occurred()) SWIG_fail
;
9494 arg4
= (byte
) SWIG_AsUnsignedChar(obj3
);
9495 if (PyErr_Occurred()) SWIG_fail
;
9496 arg5
= (byte
) SWIG_AsUnsignedChar(obj4
);
9497 if (PyErr_Occurred()) SWIG_fail
;
9499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9500 result
= (bool)(arg1
)->SetMaskFromImage((wxImage
const &)*arg2
,arg3
,arg4
,arg5
);
9502 wxPyEndAllowThreads(__tstate
);
9503 if (PyErr_Occurred()) SWIG_fail
;
9506 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9514 static PyObject
*_wrap_Image_CanRead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9515 PyObject
*resultobj
;
9516 wxString
*arg1
= 0 ;
9518 bool temp1
= False
;
9519 PyObject
* obj0
= 0 ;
9521 (char *) "name", NULL
9524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_CanRead",kwnames
,&obj0
)) goto fail
;
9526 arg1
= wxString_in_helper(obj0
);
9527 if (arg1
== NULL
) SWIG_fail
;
9531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9532 result
= (bool)wxImage::CanRead((wxString
const &)*arg1
);
9534 wxPyEndAllowThreads(__tstate
);
9535 if (PyErr_Occurred()) SWIG_fail
;
9538 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9554 static PyObject
*_wrap_Image_GetImageCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9555 PyObject
*resultobj
;
9556 wxString
*arg1
= 0 ;
9557 long arg2
= (long) wxBITMAP_TYPE_ANY
;
9559 bool temp1
= False
;
9560 PyObject
* obj0
= 0 ;
9561 PyObject
* obj1
= 0 ;
9563 (char *) "name",(char *) "type", NULL
9566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_GetImageCount",kwnames
,&obj0
,&obj1
)) goto fail
;
9568 arg1
= wxString_in_helper(obj0
);
9569 if (arg1
== NULL
) SWIG_fail
;
9573 arg2
= (long) SWIG_AsLong(obj1
);
9574 if (PyErr_Occurred()) SWIG_fail
;
9577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9578 result
= (int)wxImage::GetImageCount((wxString
const &)*arg1
,arg2
);
9580 wxPyEndAllowThreads(__tstate
);
9581 if (PyErr_Occurred()) SWIG_fail
;
9583 resultobj
= SWIG_FromInt((int)result
);
9598 static PyObject
*_wrap_Image_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9599 PyObject
*resultobj
;
9600 wxImage
*arg1
= (wxImage
*) 0 ;
9601 wxString
*arg2
= 0 ;
9602 long arg3
= (long) wxBITMAP_TYPE_ANY
;
9603 int arg4
= (int) -1 ;
9605 bool temp2
= False
;
9606 PyObject
* obj0
= 0 ;
9607 PyObject
* obj1
= 0 ;
9608 PyObject
* obj2
= 0 ;
9609 PyObject
* obj3
= 0 ;
9611 (char *) "self",(char *) "name",(char *) "type",(char *) "index", NULL
9614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Image_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9615 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9616 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9618 arg2
= wxString_in_helper(obj1
);
9619 if (arg2
== NULL
) SWIG_fail
;
9623 arg3
= (long) SWIG_AsLong(obj2
);
9624 if (PyErr_Occurred()) SWIG_fail
;
9627 arg4
= (int) SWIG_AsInt(obj3
);
9628 if (PyErr_Occurred()) SWIG_fail
;
9631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9632 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
,arg4
);
9634 wxPyEndAllowThreads(__tstate
);
9635 if (PyErr_Occurred()) SWIG_fail
;
9638 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9654 static PyObject
*_wrap_Image_LoadMimeFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9655 PyObject
*resultobj
;
9656 wxImage
*arg1
= (wxImage
*) 0 ;
9657 wxString
*arg2
= 0 ;
9658 wxString
*arg3
= 0 ;
9659 int arg4
= (int) -1 ;
9661 bool temp2
= False
;
9662 bool temp3
= False
;
9663 PyObject
* obj0
= 0 ;
9664 PyObject
* obj1
= 0 ;
9665 PyObject
* obj2
= 0 ;
9666 PyObject
* obj3
= 0 ;
9668 (char *) "self",(char *) "name",(char *) "mimetype",(char *) "index", NULL
9671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_LoadMimeFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9672 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9673 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9675 arg2
= wxString_in_helper(obj1
);
9676 if (arg2
== NULL
) SWIG_fail
;
9680 arg3
= wxString_in_helper(obj2
);
9681 if (arg3
== NULL
) SWIG_fail
;
9685 arg4
= (int) SWIG_AsInt(obj3
);
9686 if (PyErr_Occurred()) SWIG_fail
;
9689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9690 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
9692 wxPyEndAllowThreads(__tstate
);
9693 if (PyErr_Occurred()) SWIG_fail
;
9696 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9720 static PyObject
*_wrap_Image_SaveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9721 PyObject
*resultobj
;
9722 wxImage
*arg1
= (wxImage
*) 0 ;
9723 wxString
*arg2
= 0 ;
9726 bool temp2
= False
;
9727 PyObject
* obj0
= 0 ;
9728 PyObject
* obj1
= 0 ;
9729 PyObject
* obj2
= 0 ;
9731 (char *) "self",(char *) "name",(char *) "type", NULL
9734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9735 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9736 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9738 arg2
= wxString_in_helper(obj1
);
9739 if (arg2
== NULL
) SWIG_fail
;
9742 arg3
= (int) SWIG_AsInt(obj2
);
9743 if (PyErr_Occurred()) SWIG_fail
;
9745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9746 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
);
9748 wxPyEndAllowThreads(__tstate
);
9749 if (PyErr_Occurred()) SWIG_fail
;
9752 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9768 static PyObject
*_wrap_Image_SaveMimeFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9769 PyObject
*resultobj
;
9770 wxImage
*arg1
= (wxImage
*) 0 ;
9771 wxString
*arg2
= 0 ;
9772 wxString
*arg3
= 0 ;
9774 bool temp2
= False
;
9775 bool temp3
= False
;
9776 PyObject
* obj0
= 0 ;
9777 PyObject
* obj1
= 0 ;
9778 PyObject
* obj2
= 0 ;
9780 (char *) "self",(char *) "name",(char *) "mimetype", NULL
9783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SaveMimeFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9784 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9785 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9787 arg2
= wxString_in_helper(obj1
);
9788 if (arg2
== NULL
) SWIG_fail
;
9792 arg3
= wxString_in_helper(obj2
);
9793 if (arg3
== NULL
) SWIG_fail
;
9797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9798 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,(wxString
const &)*arg3
);
9800 wxPyEndAllowThreads(__tstate
);
9801 if (PyErr_Occurred()) SWIG_fail
;
9804 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9828 static PyObject
*_wrap_Image_CanReadStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9829 PyObject
*resultobj
;
9830 wxInputStream
*arg1
= 0 ;
9832 wxPyInputStream
*temp1
;
9834 PyObject
* obj0
= 0 ;
9836 (char *) "stream", NULL
9839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_CanReadStream",kwnames
,&obj0
)) goto fail
;
9841 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
9842 arg1
= temp1
->m_wxis
;
9845 PyErr_Clear(); // clear the failure of the wxPyConvert above
9846 arg1
= wxPyCBInputStream_create(obj0
, False
);
9848 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
9855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9856 result
= (bool)wxImage::CanRead(*arg1
);
9858 wxPyEndAllowThreads(__tstate
);
9859 if (PyErr_Occurred()) SWIG_fail
;
9862 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9878 static PyObject
*_wrap_Image_LoadStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9879 PyObject
*resultobj
;
9880 wxImage
*arg1
= (wxImage
*) 0 ;
9881 wxInputStream
*arg2
= 0 ;
9882 long arg3
= (long) wxBITMAP_TYPE_ANY
;
9883 int arg4
= (int) -1 ;
9885 wxPyInputStream
*temp2
;
9887 PyObject
* obj0
= 0 ;
9888 PyObject
* obj1
= 0 ;
9889 PyObject
* obj2
= 0 ;
9890 PyObject
* obj3
= 0 ;
9892 (char *) "self",(char *) "stream",(char *) "type",(char *) "index", NULL
9895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Image_LoadStream",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9896 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9897 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9899 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
9900 arg2
= temp2
->m_wxis
;
9903 PyErr_Clear(); // clear the failure of the wxPyConvert above
9904 arg2
= wxPyCBInputStream_create(obj1
, False
);
9906 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
9913 arg3
= (long) SWIG_AsLong(obj2
);
9914 if (PyErr_Occurred()) SWIG_fail
;
9917 arg4
= (int) SWIG_AsInt(obj3
);
9918 if (PyErr_Occurred()) SWIG_fail
;
9921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9922 result
= (bool)(arg1
)->LoadFile(*arg2
,arg3
,arg4
);
9924 wxPyEndAllowThreads(__tstate
);
9925 if (PyErr_Occurred()) SWIG_fail
;
9928 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9944 static PyObject
*_wrap_Image_LoadMimeStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9945 PyObject
*resultobj
;
9946 wxImage
*arg1
= (wxImage
*) 0 ;
9947 wxInputStream
*arg2
= 0 ;
9948 wxString
*arg3
= 0 ;
9949 int arg4
= (int) -1 ;
9951 wxPyInputStream
*temp2
;
9953 bool temp3
= False
;
9954 PyObject
* obj0
= 0 ;
9955 PyObject
* obj1
= 0 ;
9956 PyObject
* obj2
= 0 ;
9957 PyObject
* obj3
= 0 ;
9959 (char *) "self",(char *) "stream",(char *) "mimetype",(char *) "index", NULL
9962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_LoadMimeStream",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9963 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9964 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9966 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
9967 arg2
= temp2
->m_wxis
;
9970 PyErr_Clear(); // clear the failure of the wxPyConvert above
9971 arg2
= wxPyCBInputStream_create(obj1
, False
);
9973 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
9980 arg3
= wxString_in_helper(obj2
);
9981 if (arg3
== NULL
) SWIG_fail
;
9985 arg4
= (int) SWIG_AsInt(obj3
);
9986 if (PyErr_Occurred()) SWIG_fail
;
9989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9990 result
= (bool)(arg1
)->LoadFile(*arg2
,(wxString
const &)*arg3
,arg4
);
9992 wxPyEndAllowThreads(__tstate
);
9993 if (PyErr_Occurred()) SWIG_fail
;
9996 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10020 static PyObject
*_wrap_Image_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10021 PyObject
*resultobj
;
10022 wxImage
*arg1
= (wxImage
*) 0 ;
10024 PyObject
* obj0
= 0 ;
10025 char *kwnames
[] = {
10026 (char *) "self", NULL
10029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Ok",kwnames
,&obj0
)) goto fail
;
10030 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10031 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10034 result
= (bool)(arg1
)->Ok();
10036 wxPyEndAllowThreads(__tstate
);
10037 if (PyErr_Occurred()) SWIG_fail
;
10040 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10048 static PyObject
*_wrap_Image_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10049 PyObject
*resultobj
;
10050 wxImage
*arg1
= (wxImage
*) 0 ;
10052 PyObject
* obj0
= 0 ;
10053 char *kwnames
[] = {
10054 (char *) "self", NULL
10057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetWidth",kwnames
,&obj0
)) goto fail
;
10058 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10059 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10062 result
= (int)(arg1
)->GetWidth();
10064 wxPyEndAllowThreads(__tstate
);
10065 if (PyErr_Occurred()) SWIG_fail
;
10067 resultobj
= SWIG_FromInt((int)result
);
10074 static PyObject
*_wrap_Image_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10075 PyObject
*resultobj
;
10076 wxImage
*arg1
= (wxImage
*) 0 ;
10078 PyObject
* obj0
= 0 ;
10079 char *kwnames
[] = {
10080 (char *) "self", NULL
10083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetHeight",kwnames
,&obj0
)) goto fail
;
10084 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10085 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10088 result
= (int)(arg1
)->GetHeight();
10090 wxPyEndAllowThreads(__tstate
);
10091 if (PyErr_Occurred()) SWIG_fail
;
10093 resultobj
= SWIG_FromInt((int)result
);
10100 static PyObject
*_wrap_Image_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10101 PyObject
*resultobj
;
10102 wxImage
*arg1
= (wxImage
*) 0 ;
10104 PyObject
* obj0
= 0 ;
10105 char *kwnames
[] = {
10106 (char *) "self", NULL
10109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetSize",kwnames
,&obj0
)) goto fail
;
10110 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10111 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10114 result
= wxImage_GetSize(arg1
);
10116 wxPyEndAllowThreads(__tstate
);
10117 if (PyErr_Occurred()) SWIG_fail
;
10120 wxSize
* resultptr
;
10121 resultptr
= new wxSize((wxSize
&) result
);
10122 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
10130 static PyObject
*_wrap_Image_GetSubImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10131 PyObject
*resultobj
;
10132 wxImage
*arg1
= (wxImage
*) 0 ;
10134 SwigValueWrapper
< wxImage
> result
;
10136 PyObject
* obj0
= 0 ;
10137 PyObject
* obj1
= 0 ;
10138 char *kwnames
[] = {
10139 (char *) "self",(char *) "rect", NULL
10142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetSubImage",kwnames
,&obj0
,&obj1
)) goto fail
;
10143 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10144 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10147 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10151 result
= (arg1
)->GetSubImage((wxRect
const &)*arg2
);
10153 wxPyEndAllowThreads(__tstate
);
10154 if (PyErr_Occurred()) SWIG_fail
;
10157 wxImage
* resultptr
;
10158 resultptr
= new wxImage((wxImage
&) result
);
10159 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10167 static PyObject
*_wrap_Image_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10168 PyObject
*resultobj
;
10169 wxImage
*arg1
= (wxImage
*) 0 ;
10170 SwigValueWrapper
< wxImage
> result
;
10171 PyObject
* obj0
= 0 ;
10172 char *kwnames
[] = {
10173 (char *) "self", NULL
10176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Copy",kwnames
,&obj0
)) goto fail
;
10177 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10178 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10181 result
= (arg1
)->Copy();
10183 wxPyEndAllowThreads(__tstate
);
10184 if (PyErr_Occurred()) SWIG_fail
;
10187 wxImage
* resultptr
;
10188 resultptr
= new wxImage((wxImage
&) result
);
10189 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10197 static PyObject
*_wrap_Image_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10198 PyObject
*resultobj
;
10199 wxImage
*arg1
= (wxImage
*) 0 ;
10200 wxImage
*arg2
= 0 ;
10203 PyObject
* obj0
= 0 ;
10204 PyObject
* obj1
= 0 ;
10205 PyObject
* obj2
= 0 ;
10206 PyObject
* obj3
= 0 ;
10207 char *kwnames
[] = {
10208 (char *) "self",(char *) "image",(char *) "x",(char *) "y", NULL
10211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_Paste",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10212 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10213 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10214 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImage
,
10215 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10217 if (arg2
== NULL
) {
10218 PyErr_SetString(PyExc_TypeError
,"null reference");
10221 arg3
= (int) SWIG_AsInt(obj2
);
10222 if (PyErr_Occurred()) SWIG_fail
;
10223 arg4
= (int) SWIG_AsInt(obj3
);
10224 if (PyErr_Occurred()) SWIG_fail
;
10226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10227 (arg1
)->Paste((wxImage
const &)*arg2
,arg3
,arg4
);
10229 wxPyEndAllowThreads(__tstate
);
10230 if (PyErr_Occurred()) SWIG_fail
;
10232 Py_INCREF(Py_None
); resultobj
= Py_None
;
10239 static PyObject
*_wrap_Image_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10240 PyObject
*resultobj
;
10241 wxImage
*arg1
= (wxImage
*) 0 ;
10243 PyObject
* obj0
= 0 ;
10244 char *kwnames
[] = {
10245 (char *) "self", NULL
10248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetData",kwnames
,&obj0
)) goto fail
;
10249 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10250 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10253 result
= (PyObject
*)wxImage_GetData(arg1
);
10255 wxPyEndAllowThreads(__tstate
);
10256 if (PyErr_Occurred()) SWIG_fail
;
10258 resultobj
= result
;
10265 static PyObject
*_wrap_Image_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10266 PyObject
*resultobj
;
10267 wxImage
*arg1
= (wxImage
*) 0 ;
10268 PyObject
*arg2
= (PyObject
*) 0 ;
10269 PyObject
* obj0
= 0 ;
10270 PyObject
* obj1
= 0 ;
10271 char *kwnames
[] = {
10272 (char *) "self",(char *) "data", NULL
10275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
10276 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10277 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10281 wxImage_SetData(arg1
,arg2
);
10283 wxPyEndAllowThreads(__tstate
);
10284 if (PyErr_Occurred()) SWIG_fail
;
10286 Py_INCREF(Py_None
); resultobj
= Py_None
;
10293 static PyObject
*_wrap_Image_GetDataBuffer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10294 PyObject
*resultobj
;
10295 wxImage
*arg1
= (wxImage
*) 0 ;
10297 PyObject
* obj0
= 0 ;
10298 char *kwnames
[] = {
10299 (char *) "self", NULL
10302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetDataBuffer",kwnames
,&obj0
)) goto fail
;
10303 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10304 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10307 result
= (PyObject
*)wxImage_GetDataBuffer(arg1
);
10309 wxPyEndAllowThreads(__tstate
);
10310 if (PyErr_Occurred()) SWIG_fail
;
10312 resultobj
= result
;
10319 static PyObject
*_wrap_Image_SetDataBuffer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10320 PyObject
*resultobj
;
10321 wxImage
*arg1
= (wxImage
*) 0 ;
10322 PyObject
*arg2
= (PyObject
*) 0 ;
10323 PyObject
* obj0
= 0 ;
10324 PyObject
* obj1
= 0 ;
10325 char *kwnames
[] = {
10326 (char *) "self",(char *) "data", NULL
10329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetDataBuffer",kwnames
,&obj0
,&obj1
)) goto fail
;
10330 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10331 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10335 wxImage_SetDataBuffer(arg1
,arg2
);
10337 wxPyEndAllowThreads(__tstate
);
10338 if (PyErr_Occurred()) SWIG_fail
;
10340 Py_INCREF(Py_None
); resultobj
= Py_None
;
10347 static PyObject
*_wrap_Image_GetAlphaData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10348 PyObject
*resultobj
;
10349 wxImage
*arg1
= (wxImage
*) 0 ;
10351 PyObject
* obj0
= 0 ;
10352 char *kwnames
[] = {
10353 (char *) "self", NULL
10356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetAlphaData",kwnames
,&obj0
)) goto fail
;
10357 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10358 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10361 result
= (PyObject
*)wxImage_GetAlphaData(arg1
);
10363 wxPyEndAllowThreads(__tstate
);
10364 if (PyErr_Occurred()) SWIG_fail
;
10366 resultobj
= result
;
10373 static PyObject
*_wrap_Image_SetAlphaData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10374 PyObject
*resultobj
;
10375 wxImage
*arg1
= (wxImage
*) 0 ;
10376 PyObject
*arg2
= (PyObject
*) 0 ;
10377 PyObject
* obj0
= 0 ;
10378 PyObject
* obj1
= 0 ;
10379 char *kwnames
[] = {
10380 (char *) "self",(char *) "data", NULL
10383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetAlphaData",kwnames
,&obj0
,&obj1
)) goto fail
;
10384 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10385 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10389 wxImage_SetAlphaData(arg1
,arg2
);
10391 wxPyEndAllowThreads(__tstate
);
10392 if (PyErr_Occurred()) SWIG_fail
;
10394 Py_INCREF(Py_None
); resultobj
= Py_None
;
10401 static PyObject
*_wrap_Image_GetAlphaBuffer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10402 PyObject
*resultobj
;
10403 wxImage
*arg1
= (wxImage
*) 0 ;
10405 PyObject
* obj0
= 0 ;
10406 char *kwnames
[] = {
10407 (char *) "self", NULL
10410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetAlphaBuffer",kwnames
,&obj0
)) goto fail
;
10411 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10412 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10415 result
= (PyObject
*)wxImage_GetAlphaBuffer(arg1
);
10417 wxPyEndAllowThreads(__tstate
);
10418 if (PyErr_Occurred()) SWIG_fail
;
10420 resultobj
= result
;
10427 static PyObject
*_wrap_Image_SetAlphaBuffer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10428 PyObject
*resultobj
;
10429 wxImage
*arg1
= (wxImage
*) 0 ;
10430 PyObject
*arg2
= (PyObject
*) 0 ;
10431 PyObject
* obj0
= 0 ;
10432 PyObject
* obj1
= 0 ;
10433 char *kwnames
[] = {
10434 (char *) "self",(char *) "data", NULL
10437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetAlphaBuffer",kwnames
,&obj0
,&obj1
)) goto fail
;
10438 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10439 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10443 wxImage_SetAlphaBuffer(arg1
,arg2
);
10445 wxPyEndAllowThreads(__tstate
);
10446 if (PyErr_Occurred()) SWIG_fail
;
10448 Py_INCREF(Py_None
); resultobj
= Py_None
;
10455 static PyObject
*_wrap_Image_SetMaskColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10456 PyObject
*resultobj
;
10457 wxImage
*arg1
= (wxImage
*) 0 ;
10458 unsigned char arg2
;
10459 unsigned char arg3
;
10460 unsigned char arg4
;
10461 PyObject
* obj0
= 0 ;
10462 PyObject
* obj1
= 0 ;
10463 PyObject
* obj2
= 0 ;
10464 PyObject
* obj3
= 0 ;
10465 char *kwnames
[] = {
10466 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
10469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_SetMaskColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10470 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10471 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10472 arg2
= (unsigned char) SWIG_AsUnsignedChar(obj1
);
10473 if (PyErr_Occurred()) SWIG_fail
;
10474 arg3
= (unsigned char) SWIG_AsUnsignedChar(obj2
);
10475 if (PyErr_Occurred()) SWIG_fail
;
10476 arg4
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
10477 if (PyErr_Occurred()) SWIG_fail
;
10479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10480 (arg1
)->SetMaskColour(arg2
,arg3
,arg4
);
10482 wxPyEndAllowThreads(__tstate
);
10483 if (PyErr_Occurred()) SWIG_fail
;
10485 Py_INCREF(Py_None
); resultobj
= Py_None
;
10492 static PyObject
*_wrap_Image_GetMaskRed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10493 PyObject
*resultobj
;
10494 wxImage
*arg1
= (wxImage
*) 0 ;
10495 unsigned char result
;
10496 PyObject
* obj0
= 0 ;
10497 char *kwnames
[] = {
10498 (char *) "self", NULL
10501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskRed",kwnames
,&obj0
)) goto fail
;
10502 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10503 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10506 result
= (unsigned char)(arg1
)->GetMaskRed();
10508 wxPyEndAllowThreads(__tstate
);
10509 if (PyErr_Occurred()) SWIG_fail
;
10511 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
10518 static PyObject
*_wrap_Image_GetMaskGreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10519 PyObject
*resultobj
;
10520 wxImage
*arg1
= (wxImage
*) 0 ;
10521 unsigned char result
;
10522 PyObject
* obj0
= 0 ;
10523 char *kwnames
[] = {
10524 (char *) "self", NULL
10527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskGreen",kwnames
,&obj0
)) goto fail
;
10528 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10529 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10532 result
= (unsigned char)(arg1
)->GetMaskGreen();
10534 wxPyEndAllowThreads(__tstate
);
10535 if (PyErr_Occurred()) SWIG_fail
;
10537 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
10544 static PyObject
*_wrap_Image_GetMaskBlue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10545 PyObject
*resultobj
;
10546 wxImage
*arg1
= (wxImage
*) 0 ;
10547 unsigned char result
;
10548 PyObject
* obj0
= 0 ;
10549 char *kwnames
[] = {
10550 (char *) "self", NULL
10553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskBlue",kwnames
,&obj0
)) goto fail
;
10554 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10555 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10558 result
= (unsigned char)(arg1
)->GetMaskBlue();
10560 wxPyEndAllowThreads(__tstate
);
10561 if (PyErr_Occurred()) SWIG_fail
;
10563 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
10570 static PyObject
*_wrap_Image_SetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10571 PyObject
*resultobj
;
10572 wxImage
*arg1
= (wxImage
*) 0 ;
10573 bool arg2
= (bool) True
;
10574 PyObject
* obj0
= 0 ;
10575 PyObject
* obj1
= 0 ;
10576 char *kwnames
[] = {
10577 (char *) "self",(char *) "mask", NULL
10580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
10581 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10582 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10584 arg2
= (bool) SWIG_AsBool(obj1
);
10585 if (PyErr_Occurred()) SWIG_fail
;
10588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10589 (arg1
)->SetMask(arg2
);
10591 wxPyEndAllowThreads(__tstate
);
10592 if (PyErr_Occurred()) SWIG_fail
;
10594 Py_INCREF(Py_None
); resultobj
= Py_None
;
10601 static PyObject
*_wrap_Image_HasMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10602 PyObject
*resultobj
;
10603 wxImage
*arg1
= (wxImage
*) 0 ;
10605 PyObject
* obj0
= 0 ;
10606 char *kwnames
[] = {
10607 (char *) "self", NULL
10610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HasMask",kwnames
,&obj0
)) goto fail
;
10611 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10612 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10615 result
= (bool)(arg1
)->HasMask();
10617 wxPyEndAllowThreads(__tstate
);
10618 if (PyErr_Occurred()) SWIG_fail
;
10621 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10629 static PyObject
*_wrap_Image_Rotate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10630 PyObject
*resultobj
;
10631 wxImage
*arg1
= (wxImage
*) 0 ;
10633 wxPoint
*arg3
= 0 ;
10634 bool arg4
= (bool) True
;
10635 wxPoint
*arg5
= (wxPoint
*) NULL
;
10636 SwigValueWrapper
< wxImage
> result
;
10638 PyObject
* obj0
= 0 ;
10639 PyObject
* obj1
= 0 ;
10640 PyObject
* obj2
= 0 ;
10641 PyObject
* obj3
= 0 ;
10642 PyObject
* obj4
= 0 ;
10643 char *kwnames
[] = {
10644 (char *) "self",(char *) "angle",(char *) "centre_of_rotation",(char *) "interpolating",(char *) "offset_after_rotation", NULL
10647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Image_Rotate",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
10648 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10650 arg2
= (double) SWIG_AsDouble(obj1
);
10651 if (PyErr_Occurred()) SWIG_fail
;
10654 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10657 arg4
= (bool) SWIG_AsBool(obj3
);
10658 if (PyErr_Occurred()) SWIG_fail
;
10661 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxPoint
,
10662 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10666 result
= ((wxImage
const *)arg1
)->Rotate(arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
10668 wxPyEndAllowThreads(__tstate
);
10669 if (PyErr_Occurred()) SWIG_fail
;
10672 wxImage
* resultptr
;
10673 resultptr
= new wxImage((wxImage
&) result
);
10674 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10682 static PyObject
*_wrap_Image_Rotate90(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10683 PyObject
*resultobj
;
10684 wxImage
*arg1
= (wxImage
*) 0 ;
10685 bool arg2
= (bool) True
;
10686 SwigValueWrapper
< wxImage
> result
;
10687 PyObject
* obj0
= 0 ;
10688 PyObject
* obj1
= 0 ;
10689 char *kwnames
[] = {
10690 (char *) "self",(char *) "clockwise", NULL
10693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_Rotate90",kwnames
,&obj0
,&obj1
)) goto fail
;
10694 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10695 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10697 arg2
= (bool) SWIG_AsBool(obj1
);
10698 if (PyErr_Occurred()) SWIG_fail
;
10701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10702 result
= (arg1
)->Rotate90(arg2
);
10704 wxPyEndAllowThreads(__tstate
);
10705 if (PyErr_Occurred()) SWIG_fail
;
10708 wxImage
* resultptr
;
10709 resultptr
= new wxImage((wxImage
&) result
);
10710 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10718 static PyObject
*_wrap_Image_Mirror(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10719 PyObject
*resultobj
;
10720 wxImage
*arg1
= (wxImage
*) 0 ;
10721 bool arg2
= (bool) True
;
10722 SwigValueWrapper
< wxImage
> result
;
10723 PyObject
* obj0
= 0 ;
10724 PyObject
* obj1
= 0 ;
10725 char *kwnames
[] = {
10726 (char *) "self",(char *) "horizontally", NULL
10729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_Mirror",kwnames
,&obj0
,&obj1
)) goto fail
;
10730 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10731 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10733 arg2
= (bool) SWIG_AsBool(obj1
);
10734 if (PyErr_Occurred()) SWIG_fail
;
10737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10738 result
= (arg1
)->Mirror(arg2
);
10740 wxPyEndAllowThreads(__tstate
);
10741 if (PyErr_Occurred()) SWIG_fail
;
10744 wxImage
* resultptr
;
10745 resultptr
= new wxImage((wxImage
&) result
);
10746 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10754 static PyObject
*_wrap_Image_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10755 PyObject
*resultobj
;
10756 wxImage
*arg1
= (wxImage
*) 0 ;
10757 unsigned char arg2
;
10758 unsigned char arg3
;
10759 unsigned char arg4
;
10760 unsigned char arg5
;
10761 unsigned char arg6
;
10762 unsigned char arg7
;
10763 PyObject
* obj0
= 0 ;
10764 PyObject
* obj1
= 0 ;
10765 PyObject
* obj2
= 0 ;
10766 PyObject
* obj3
= 0 ;
10767 PyObject
* obj4
= 0 ;
10768 PyObject
* obj5
= 0 ;
10769 PyObject
* obj6
= 0 ;
10770 char *kwnames
[] = {
10771 (char *) "self",(char *) "r1",(char *) "g1",(char *) "b1",(char *) "r2",(char *) "g2",(char *) "b2", NULL
10774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:Image_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10775 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10776 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10777 arg2
= (unsigned char) SWIG_AsUnsignedChar(obj1
);
10778 if (PyErr_Occurred()) SWIG_fail
;
10779 arg3
= (unsigned char) SWIG_AsUnsignedChar(obj2
);
10780 if (PyErr_Occurred()) SWIG_fail
;
10781 arg4
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
10782 if (PyErr_Occurred()) SWIG_fail
;
10783 arg5
= (unsigned char) SWIG_AsUnsignedChar(obj4
);
10784 if (PyErr_Occurred()) SWIG_fail
;
10785 arg6
= (unsigned char) SWIG_AsUnsignedChar(obj5
);
10786 if (PyErr_Occurred()) SWIG_fail
;
10787 arg7
= (unsigned char) SWIG_AsUnsignedChar(obj6
);
10788 if (PyErr_Occurred()) SWIG_fail
;
10790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10791 (arg1
)->Replace(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
10793 wxPyEndAllowThreads(__tstate
);
10794 if (PyErr_Occurred()) SWIG_fail
;
10796 Py_INCREF(Py_None
); resultobj
= Py_None
;
10803 static PyObject
*_wrap_Image_ConvertToMono(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10804 PyObject
*resultobj
;
10805 wxImage
*arg1
= (wxImage
*) 0 ;
10806 unsigned char arg2
;
10807 unsigned char arg3
;
10808 unsigned char arg4
;
10809 SwigValueWrapper
< wxImage
> result
;
10810 PyObject
* obj0
= 0 ;
10811 PyObject
* obj1
= 0 ;
10812 PyObject
* obj2
= 0 ;
10813 PyObject
* obj3
= 0 ;
10814 char *kwnames
[] = {
10815 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
10818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertToMono",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10819 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10820 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10821 arg2
= (unsigned char) SWIG_AsUnsignedChar(obj1
);
10822 if (PyErr_Occurred()) SWIG_fail
;
10823 arg3
= (unsigned char) SWIG_AsUnsignedChar(obj2
);
10824 if (PyErr_Occurred()) SWIG_fail
;
10825 arg4
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
10826 if (PyErr_Occurred()) SWIG_fail
;
10828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10829 result
= ((wxImage
const *)arg1
)->ConvertToMono(arg2
,arg3
,arg4
);
10831 wxPyEndAllowThreads(__tstate
);
10832 if (PyErr_Occurred()) SWIG_fail
;
10835 wxImage
* resultptr
;
10836 resultptr
= new wxImage((wxImage
&) result
);
10837 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10845 static PyObject
*_wrap_Image_SetOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10846 PyObject
*resultobj
;
10847 wxImage
*arg1
= (wxImage
*) 0 ;
10848 wxString
*arg2
= 0 ;
10849 wxString
*arg3
= 0 ;
10850 bool temp2
= False
;
10851 bool temp3
= False
;
10852 PyObject
* obj0
= 0 ;
10853 PyObject
* obj1
= 0 ;
10854 PyObject
* obj2
= 0 ;
10855 char *kwnames
[] = {
10856 (char *) "self",(char *) "name",(char *) "value", NULL
10859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SetOption",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10860 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10861 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10863 arg2
= wxString_in_helper(obj1
);
10864 if (arg2
== NULL
) SWIG_fail
;
10868 arg3
= wxString_in_helper(obj2
);
10869 if (arg3
== NULL
) SWIG_fail
;
10873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10874 (arg1
)->SetOption((wxString
const &)*arg2
,(wxString
const &)*arg3
);
10876 wxPyEndAllowThreads(__tstate
);
10877 if (PyErr_Occurred()) SWIG_fail
;
10879 Py_INCREF(Py_None
); resultobj
= Py_None
;
10902 static PyObject
*_wrap_Image_SetOptionInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10903 PyObject
*resultobj
;
10904 wxImage
*arg1
= (wxImage
*) 0 ;
10905 wxString
*arg2
= 0 ;
10907 bool temp2
= False
;
10908 PyObject
* obj0
= 0 ;
10909 PyObject
* obj1
= 0 ;
10910 PyObject
* obj2
= 0 ;
10911 char *kwnames
[] = {
10912 (char *) "self",(char *) "name",(char *) "value", NULL
10915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SetOptionInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10916 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10917 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10919 arg2
= wxString_in_helper(obj1
);
10920 if (arg2
== NULL
) SWIG_fail
;
10923 arg3
= (int) SWIG_AsInt(obj2
);
10924 if (PyErr_Occurred()) SWIG_fail
;
10926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10927 (arg1
)->SetOption((wxString
const &)*arg2
,arg3
);
10929 wxPyEndAllowThreads(__tstate
);
10930 if (PyErr_Occurred()) SWIG_fail
;
10932 Py_INCREF(Py_None
); resultobj
= Py_None
;
10947 static PyObject
*_wrap_Image_GetOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10948 PyObject
*resultobj
;
10949 wxImage
*arg1
= (wxImage
*) 0 ;
10950 wxString
*arg2
= 0 ;
10952 bool temp2
= False
;
10953 PyObject
* obj0
= 0 ;
10954 PyObject
* obj1
= 0 ;
10955 char *kwnames
[] = {
10956 (char *) "self",(char *) "name", NULL
10959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetOption",kwnames
,&obj0
,&obj1
)) goto fail
;
10960 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10961 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10963 arg2
= wxString_in_helper(obj1
);
10964 if (arg2
== NULL
) SWIG_fail
;
10968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10969 result
= ((wxImage
const *)arg1
)->GetOption((wxString
const &)*arg2
);
10971 wxPyEndAllowThreads(__tstate
);
10972 if (PyErr_Occurred()) SWIG_fail
;
10976 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10978 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10995 static PyObject
*_wrap_Image_GetOptionInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10996 PyObject
*resultobj
;
10997 wxImage
*arg1
= (wxImage
*) 0 ;
10998 wxString
*arg2
= 0 ;
11000 bool temp2
= False
;
11001 PyObject
* obj0
= 0 ;
11002 PyObject
* obj1
= 0 ;
11003 char *kwnames
[] = {
11004 (char *) "self",(char *) "name", NULL
11007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetOptionInt",kwnames
,&obj0
,&obj1
)) goto fail
;
11008 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11009 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11011 arg2
= wxString_in_helper(obj1
);
11012 if (arg2
== NULL
) SWIG_fail
;
11016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11017 result
= (int)((wxImage
const *)arg1
)->GetOptionInt((wxString
const &)*arg2
);
11019 wxPyEndAllowThreads(__tstate
);
11020 if (PyErr_Occurred()) SWIG_fail
;
11022 resultobj
= SWIG_FromInt((int)result
);
11037 static PyObject
*_wrap_Image_HasOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11038 PyObject
*resultobj
;
11039 wxImage
*arg1
= (wxImage
*) 0 ;
11040 wxString
*arg2
= 0 ;
11042 bool temp2
= False
;
11043 PyObject
* obj0
= 0 ;
11044 PyObject
* obj1
= 0 ;
11045 char *kwnames
[] = {
11046 (char *) "self",(char *) "name", NULL
11049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_HasOption",kwnames
,&obj0
,&obj1
)) goto fail
;
11050 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11051 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11053 arg2
= wxString_in_helper(obj1
);
11054 if (arg2
== NULL
) SWIG_fail
;
11058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11059 result
= (bool)((wxImage
const *)arg1
)->HasOption((wxString
const &)*arg2
);
11061 wxPyEndAllowThreads(__tstate
);
11062 if (PyErr_Occurred()) SWIG_fail
;
11065 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11081 static PyObject
*_wrap_Image_CountColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11082 PyObject
*resultobj
;
11083 wxImage
*arg1
= (wxImage
*) 0 ;
11084 unsigned long arg2
= (unsigned long) (unsigned long) -1 ;
11085 unsigned long result
;
11086 PyObject
* obj0
= 0 ;
11087 PyObject
* obj1
= 0 ;
11088 char *kwnames
[] = {
11089 (char *) "self",(char *) "stopafter", NULL
11092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_CountColours",kwnames
,&obj0
,&obj1
)) goto fail
;
11093 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11094 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11096 arg2
= (unsigned long) SWIG_AsUnsignedLong(obj1
);
11097 if (PyErr_Occurred()) SWIG_fail
;
11100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11101 result
= (unsigned long)(arg1
)->CountColours(arg2
);
11103 wxPyEndAllowThreads(__tstate
);
11104 if (PyErr_Occurred()) SWIG_fail
;
11106 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
11113 static PyObject
*_wrap_Image_ComputeHistogram(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11114 PyObject
*resultobj
;
11115 wxImage
*arg1
= (wxImage
*) 0 ;
11116 wxImageHistogram
*arg2
= 0 ;
11117 unsigned long result
;
11118 PyObject
* obj0
= 0 ;
11119 PyObject
* obj1
= 0 ;
11120 char *kwnames
[] = {
11121 (char *) "self",(char *) "h", NULL
11124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_ComputeHistogram",kwnames
,&obj0
,&obj1
)) goto fail
;
11125 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11126 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11127 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageHistogram
,
11128 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11130 if (arg2
== NULL
) {
11131 PyErr_SetString(PyExc_TypeError
,"null reference");
11135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11136 result
= (unsigned long)(arg1
)->ComputeHistogram(*arg2
);
11138 wxPyEndAllowThreads(__tstate
);
11139 if (PyErr_Occurred()) SWIG_fail
;
11141 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
11148 static PyObject
*_wrap_Image_AddHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11149 PyObject
*resultobj
;
11150 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
11151 PyObject
* obj0
= 0 ;
11152 char *kwnames
[] = {
11153 (char *) "handler", NULL
11156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_AddHandler",kwnames
,&obj0
)) goto fail
;
11157 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
11158 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11161 wxImage::AddHandler(arg1
);
11163 wxPyEndAllowThreads(__tstate
);
11164 if (PyErr_Occurred()) SWIG_fail
;
11166 Py_INCREF(Py_None
); resultobj
= Py_None
;
11173 static PyObject
*_wrap_Image_InsertHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11174 PyObject
*resultobj
;
11175 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
11176 PyObject
* obj0
= 0 ;
11177 char *kwnames
[] = {
11178 (char *) "handler", NULL
11181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_InsertHandler",kwnames
,&obj0
)) goto fail
;
11182 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
11183 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11186 wxImage::InsertHandler(arg1
);
11188 wxPyEndAllowThreads(__tstate
);
11189 if (PyErr_Occurred()) SWIG_fail
;
11191 Py_INCREF(Py_None
); resultobj
= Py_None
;
11198 static PyObject
*_wrap_Image_RemoveHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11199 PyObject
*resultobj
;
11200 wxString
*arg1
= 0 ;
11202 bool temp1
= False
;
11203 PyObject
* obj0
= 0 ;
11204 char *kwnames
[] = {
11205 (char *) "name", NULL
11208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_RemoveHandler",kwnames
,&obj0
)) goto fail
;
11210 arg1
= wxString_in_helper(obj0
);
11211 if (arg1
== NULL
) SWIG_fail
;
11215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11216 result
= (bool)wxImage::RemoveHandler((wxString
const &)*arg1
);
11218 wxPyEndAllowThreads(__tstate
);
11219 if (PyErr_Occurred()) SWIG_fail
;
11222 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11238 static PyObject
*_wrap_Image_GetImageExtWildcard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11239 PyObject
*resultobj
;
11241 char *kwnames
[] = {
11245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Image_GetImageExtWildcard",kwnames
)) goto fail
;
11247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11248 result
= wxImage::GetImageExtWildcard();
11250 wxPyEndAllowThreads(__tstate
);
11251 if (PyErr_Occurred()) SWIG_fail
;
11255 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11257 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11266 static PyObject
*_wrap_Image_ConvertToBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11267 PyObject
*resultobj
;
11268 wxImage
*arg1
= (wxImage
*) 0 ;
11270 PyObject
* obj0
= 0 ;
11271 char *kwnames
[] = {
11272 (char *) "self", NULL
11275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_ConvertToBitmap",kwnames
,&obj0
)) goto fail
;
11276 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11277 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11280 result
= wxImage_ConvertToBitmap(arg1
);
11282 wxPyEndAllowThreads(__tstate
);
11283 if (PyErr_Occurred()) SWIG_fail
;
11286 wxBitmap
* resultptr
;
11287 resultptr
= new wxBitmap((wxBitmap
&) result
);
11288 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
11296 static PyObject
*_wrap_Image_ConvertToMonoBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11297 PyObject
*resultobj
;
11298 wxImage
*arg1
= (wxImage
*) 0 ;
11299 unsigned char arg2
;
11300 unsigned char arg3
;
11301 unsigned char arg4
;
11303 PyObject
* obj0
= 0 ;
11304 PyObject
* obj1
= 0 ;
11305 PyObject
* obj2
= 0 ;
11306 PyObject
* obj3
= 0 ;
11307 char *kwnames
[] = {
11308 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
11311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertToMonoBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11312 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11313 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11314 arg2
= (unsigned char) SWIG_AsUnsignedChar(obj1
);
11315 if (PyErr_Occurred()) SWIG_fail
;
11316 arg3
= (unsigned char) SWIG_AsUnsignedChar(obj2
);
11317 if (PyErr_Occurred()) SWIG_fail
;
11318 arg4
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
11319 if (PyErr_Occurred()) SWIG_fail
;
11321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11322 result
= wxImage_ConvertToMonoBitmap(arg1
,arg2
,arg3
,arg4
);
11324 wxPyEndAllowThreads(__tstate
);
11325 if (PyErr_Occurred()) SWIG_fail
;
11328 wxBitmap
* resultptr
;
11329 resultptr
= new wxBitmap((wxBitmap
&) result
);
11330 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
11338 static PyObject
* Image_swigregister(PyObject
*self
, PyObject
*args
) {
11340 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11341 SWIG_TypeClientData(SWIGTYPE_p_wxImage
, obj
);
11343 return Py_BuildValue((char *)"");
11345 static PyObject
*_wrap_InitAllImageHandlers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11346 PyObject
*resultobj
;
11347 char *kwnames
[] = {
11351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":InitAllImageHandlers",kwnames
)) goto fail
;
11353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11354 wxInitAllImageHandlers();
11356 wxPyEndAllowThreads(__tstate
);
11357 if (PyErr_Occurred()) SWIG_fail
;
11359 Py_INCREF(Py_None
); resultobj
= Py_None
;
11366 static int _wrap_NullImage_set(PyObject
*_val
) {
11367 PyErr_SetString(PyExc_TypeError
,"Variable NullImage is read-only.");
11372 static PyObject
*_wrap_NullImage_get() {
11375 pyobj
= SWIG_NewPointerObj((void *)(&wxNullImage
), SWIGTYPE_p_wxImage
, 0);
11380 static int _wrap_IMAGE_OPTION_BMP_FORMAT_set(PyObject
*_val
) {
11381 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_BMP_FORMAT is read-only.");
11386 static PyObject
*_wrap_IMAGE_OPTION_BMP_FORMAT_get() {
11391 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
11393 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
11400 static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set(PyObject
*_val
) {
11401 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_X is read-only.");
11406 static PyObject
*_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get() {
11411 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
11413 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
11420 static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set(PyObject
*_val
) {
11421 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_Y is read-only.");
11426 static PyObject
*_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get() {
11431 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
11433 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
11440 static int _wrap_IMAGE_OPTION_RESOLUTION_set(PyObject
*_val
) {
11441 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTION is read-only.");
11446 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTION_get() {
11451 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
11453 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
11460 static int _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set(PyObject
*_val
) {
11461 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTIONUNIT is read-only.");
11466 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get() {
11471 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
11473 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
11480 static PyObject
*_wrap_new_BMPHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11481 PyObject
*resultobj
;
11482 wxBMPHandler
*result
;
11483 char *kwnames
[] = {
11487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_BMPHandler",kwnames
)) goto fail
;
11489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11490 result
= (wxBMPHandler
*)new wxBMPHandler();
11492 wxPyEndAllowThreads(__tstate
);
11493 if (PyErr_Occurred()) SWIG_fail
;
11495 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBMPHandler
, 1);
11502 static PyObject
* BMPHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11504 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11505 SWIG_TypeClientData(SWIGTYPE_p_wxBMPHandler
, obj
);
11507 return Py_BuildValue((char *)"");
11509 static PyObject
*_wrap_new_ICOHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11510 PyObject
*resultobj
;
11511 wxICOHandler
*result
;
11512 char *kwnames
[] = {
11516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ICOHandler",kwnames
)) goto fail
;
11518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11519 result
= (wxICOHandler
*)new wxICOHandler();
11521 wxPyEndAllowThreads(__tstate
);
11522 if (PyErr_Occurred()) SWIG_fail
;
11524 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxICOHandler
, 1);
11531 static PyObject
* ICOHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11533 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11534 SWIG_TypeClientData(SWIGTYPE_p_wxICOHandler
, obj
);
11536 return Py_BuildValue((char *)"");
11538 static PyObject
*_wrap_new_CURHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11539 PyObject
*resultobj
;
11540 wxCURHandler
*result
;
11541 char *kwnames
[] = {
11545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_CURHandler",kwnames
)) goto fail
;
11547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11548 result
= (wxCURHandler
*)new wxCURHandler();
11550 wxPyEndAllowThreads(__tstate
);
11551 if (PyErr_Occurred()) SWIG_fail
;
11553 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCURHandler
, 1);
11560 static PyObject
* CURHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11562 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11563 SWIG_TypeClientData(SWIGTYPE_p_wxCURHandler
, obj
);
11565 return Py_BuildValue((char *)"");
11567 static PyObject
*_wrap_new_ANIHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11568 PyObject
*resultobj
;
11569 wxANIHandler
*result
;
11570 char *kwnames
[] = {
11574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ANIHandler",kwnames
)) goto fail
;
11576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11577 result
= (wxANIHandler
*)new wxANIHandler();
11579 wxPyEndAllowThreads(__tstate
);
11580 if (PyErr_Occurred()) SWIG_fail
;
11582 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxANIHandler
, 1);
11589 static PyObject
* ANIHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11591 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11592 SWIG_TypeClientData(SWIGTYPE_p_wxANIHandler
, obj
);
11594 return Py_BuildValue((char *)"");
11596 static PyObject
*_wrap_new_PNGHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11597 PyObject
*resultobj
;
11598 wxPNGHandler
*result
;
11599 char *kwnames
[] = {
11603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PNGHandler",kwnames
)) goto fail
;
11605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11606 result
= (wxPNGHandler
*)new wxPNGHandler();
11608 wxPyEndAllowThreads(__tstate
);
11609 if (PyErr_Occurred()) SWIG_fail
;
11611 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPNGHandler
, 1);
11618 static PyObject
* PNGHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11620 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11621 SWIG_TypeClientData(SWIGTYPE_p_wxPNGHandler
, obj
);
11623 return Py_BuildValue((char *)"");
11625 static PyObject
*_wrap_new_GIFHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11626 PyObject
*resultobj
;
11627 wxGIFHandler
*result
;
11628 char *kwnames
[] = {
11632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GIFHandler",kwnames
)) goto fail
;
11634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11635 result
= (wxGIFHandler
*)new wxGIFHandler();
11637 wxPyEndAllowThreads(__tstate
);
11638 if (PyErr_Occurred()) SWIG_fail
;
11640 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGIFHandler
, 1);
11647 static PyObject
* GIFHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11649 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11650 SWIG_TypeClientData(SWIGTYPE_p_wxGIFHandler
, obj
);
11652 return Py_BuildValue((char *)"");
11654 static PyObject
*_wrap_new_PCXHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11655 PyObject
*resultobj
;
11656 wxPCXHandler
*result
;
11657 char *kwnames
[] = {
11661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PCXHandler",kwnames
)) goto fail
;
11663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11664 result
= (wxPCXHandler
*)new wxPCXHandler();
11666 wxPyEndAllowThreads(__tstate
);
11667 if (PyErr_Occurred()) SWIG_fail
;
11669 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPCXHandler
, 1);
11676 static PyObject
* PCXHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11678 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11679 SWIG_TypeClientData(SWIGTYPE_p_wxPCXHandler
, obj
);
11681 return Py_BuildValue((char *)"");
11683 static PyObject
*_wrap_new_JPEGHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11684 PyObject
*resultobj
;
11685 wxJPEGHandler
*result
;
11686 char *kwnames
[] = {
11690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_JPEGHandler",kwnames
)) goto fail
;
11692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11693 result
= (wxJPEGHandler
*)new wxJPEGHandler();
11695 wxPyEndAllowThreads(__tstate
);
11696 if (PyErr_Occurred()) SWIG_fail
;
11698 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJPEGHandler
, 1);
11705 static PyObject
* JPEGHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11707 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11708 SWIG_TypeClientData(SWIGTYPE_p_wxJPEGHandler
, obj
);
11710 return Py_BuildValue((char *)"");
11712 static PyObject
*_wrap_new_PNMHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11713 PyObject
*resultobj
;
11714 wxPNMHandler
*result
;
11715 char *kwnames
[] = {
11719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PNMHandler",kwnames
)) goto fail
;
11721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11722 result
= (wxPNMHandler
*)new wxPNMHandler();
11724 wxPyEndAllowThreads(__tstate
);
11725 if (PyErr_Occurred()) SWIG_fail
;
11727 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPNMHandler
, 1);
11734 static PyObject
* PNMHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11736 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11737 SWIG_TypeClientData(SWIGTYPE_p_wxPNMHandler
, obj
);
11739 return Py_BuildValue((char *)"");
11741 static PyObject
*_wrap_new_XPMHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11742 PyObject
*resultobj
;
11743 wxXPMHandler
*result
;
11744 char *kwnames
[] = {
11748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_XPMHandler",kwnames
)) goto fail
;
11750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11751 result
= (wxXPMHandler
*)new wxXPMHandler();
11753 wxPyEndAllowThreads(__tstate
);
11754 if (PyErr_Occurred()) SWIG_fail
;
11756 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxXPMHandler
, 1);
11763 static PyObject
* XPMHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11765 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11766 SWIG_TypeClientData(SWIGTYPE_p_wxXPMHandler
, obj
);
11768 return Py_BuildValue((char *)"");
11770 static PyObject
*_wrap_new_TIFFHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11771 PyObject
*resultobj
;
11772 wxTIFFHandler
*result
;
11773 char *kwnames
[] = {
11777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TIFFHandler",kwnames
)) goto fail
;
11779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11780 result
= (wxTIFFHandler
*)new wxTIFFHandler();
11782 wxPyEndAllowThreads(__tstate
);
11783 if (PyErr_Occurred()) SWIG_fail
;
11785 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTIFFHandler
, 1);
11792 static PyObject
* TIFFHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11794 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11795 SWIG_TypeClientData(SWIGTYPE_p_wxTIFFHandler
, obj
);
11797 return Py_BuildValue((char *)"");
11799 static PyObject
*_wrap_new_EvtHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11800 PyObject
*resultobj
;
11801 wxEvtHandler
*result
;
11802 char *kwnames
[] = {
11806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EvtHandler",kwnames
)) goto fail
;
11808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11809 result
= (wxEvtHandler
*)new wxEvtHandler();
11811 wxPyEndAllowThreads(__tstate
);
11812 if (PyErr_Occurred()) SWIG_fail
;
11815 resultobj
= wxPyMake_wxObject(result
);
11823 static PyObject
*_wrap_EvtHandler_GetNextHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11824 PyObject
*resultobj
;
11825 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11826 wxEvtHandler
*result
;
11827 PyObject
* obj0
= 0 ;
11828 char *kwnames
[] = {
11829 (char *) "self", NULL
11832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetNextHandler",kwnames
,&obj0
)) goto fail
;
11833 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11834 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11837 result
= (wxEvtHandler
*)(arg1
)->GetNextHandler();
11839 wxPyEndAllowThreads(__tstate
);
11840 if (PyErr_Occurred()) SWIG_fail
;
11843 resultobj
= wxPyMake_wxObject(result
);
11851 static PyObject
*_wrap_EvtHandler_GetPreviousHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11852 PyObject
*resultobj
;
11853 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11854 wxEvtHandler
*result
;
11855 PyObject
* obj0
= 0 ;
11856 char *kwnames
[] = {
11857 (char *) "self", NULL
11860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetPreviousHandler",kwnames
,&obj0
)) goto fail
;
11861 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11862 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11865 result
= (wxEvtHandler
*)(arg1
)->GetPreviousHandler();
11867 wxPyEndAllowThreads(__tstate
);
11868 if (PyErr_Occurred()) SWIG_fail
;
11871 resultobj
= wxPyMake_wxObject(result
);
11879 static PyObject
*_wrap_EvtHandler_SetNextHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11880 PyObject
*resultobj
;
11881 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11882 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
11883 PyObject
* obj0
= 0 ;
11884 PyObject
* obj1
= 0 ;
11885 char *kwnames
[] = {
11886 (char *) "self",(char *) "handler", NULL
11889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetNextHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
11890 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11892 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
11893 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11896 (arg1
)->SetNextHandler(arg2
);
11898 wxPyEndAllowThreads(__tstate
);
11899 if (PyErr_Occurred()) SWIG_fail
;
11901 Py_INCREF(Py_None
); resultobj
= Py_None
;
11908 static PyObject
*_wrap_EvtHandler_SetPreviousHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11909 PyObject
*resultobj
;
11910 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11911 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
11912 PyObject
* obj0
= 0 ;
11913 PyObject
* obj1
= 0 ;
11914 char *kwnames
[] = {
11915 (char *) "self",(char *) "handler", NULL
11918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetPreviousHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
11919 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11921 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
11922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11925 (arg1
)->SetPreviousHandler(arg2
);
11927 wxPyEndAllowThreads(__tstate
);
11928 if (PyErr_Occurred()) SWIG_fail
;
11930 Py_INCREF(Py_None
); resultobj
= Py_None
;
11937 static PyObject
*_wrap_EvtHandler_GetEvtHandlerEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11938 PyObject
*resultobj
;
11939 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11941 PyObject
* obj0
= 0 ;
11942 char *kwnames
[] = {
11943 (char *) "self", NULL
11946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetEvtHandlerEnabled",kwnames
,&obj0
)) goto fail
;
11947 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11948 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11951 result
= (bool)(arg1
)->GetEvtHandlerEnabled();
11953 wxPyEndAllowThreads(__tstate
);
11954 if (PyErr_Occurred()) SWIG_fail
;
11957 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11965 static PyObject
*_wrap_EvtHandler_SetEvtHandlerEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11966 PyObject
*resultobj
;
11967 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11969 PyObject
* obj0
= 0 ;
11970 PyObject
* obj1
= 0 ;
11971 char *kwnames
[] = {
11972 (char *) "self",(char *) "enabled", NULL
11975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetEvtHandlerEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
11976 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11977 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11978 arg2
= (bool) SWIG_AsBool(obj1
);
11979 if (PyErr_Occurred()) SWIG_fail
;
11981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11982 (arg1
)->SetEvtHandlerEnabled(arg2
);
11984 wxPyEndAllowThreads(__tstate
);
11985 if (PyErr_Occurred()) SWIG_fail
;
11987 Py_INCREF(Py_None
); resultobj
= Py_None
;
11994 static PyObject
*_wrap_EvtHandler_ProcessEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11995 PyObject
*resultobj
;
11996 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11997 wxEvent
*arg2
= 0 ;
11999 PyObject
* obj0
= 0 ;
12000 PyObject
* obj1
= 0 ;
12001 char *kwnames
[] = {
12002 (char *) "self",(char *) "event", NULL
12005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_ProcessEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
12006 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12007 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12008 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvent
,
12009 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12011 if (arg2
== NULL
) {
12012 PyErr_SetString(PyExc_TypeError
,"null reference");
12016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12017 result
= (bool)(arg1
)->ProcessEvent(*arg2
);
12019 wxPyEndAllowThreads(__tstate
);
12020 if (PyErr_Occurred()) SWIG_fail
;
12023 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12031 static PyObject
*_wrap_EvtHandler_AddPendingEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12032 PyObject
*resultobj
;
12033 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12034 wxEvent
*arg2
= 0 ;
12035 PyObject
* obj0
= 0 ;
12036 PyObject
* obj1
= 0 ;
12037 char *kwnames
[] = {
12038 (char *) "self",(char *) "event", NULL
12041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_AddPendingEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
12042 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12043 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12044 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvent
,
12045 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12047 if (arg2
== NULL
) {
12048 PyErr_SetString(PyExc_TypeError
,"null reference");
12052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12053 (arg1
)->AddPendingEvent(*arg2
);
12055 wxPyEndAllowThreads(__tstate
);
12056 if (PyErr_Occurred()) SWIG_fail
;
12058 Py_INCREF(Py_None
); resultobj
= Py_None
;
12065 static PyObject
*_wrap_EvtHandler_ProcessPendingEvents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12066 PyObject
*resultobj
;
12067 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12068 PyObject
* obj0
= 0 ;
12069 char *kwnames
[] = {
12070 (char *) "self", NULL
12073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_ProcessPendingEvents",kwnames
,&obj0
)) goto fail
;
12074 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12075 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12078 (arg1
)->ProcessPendingEvents();
12080 wxPyEndAllowThreads(__tstate
);
12081 if (PyErr_Occurred()) SWIG_fail
;
12083 Py_INCREF(Py_None
); resultobj
= Py_None
;
12090 static PyObject
*_wrap_EvtHandler_Connect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12091 PyObject
*resultobj
;
12092 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12096 PyObject
*arg5
= (PyObject
*) 0 ;
12097 PyObject
* obj0
= 0 ;
12098 PyObject
* obj1
= 0 ;
12099 PyObject
* obj2
= 0 ;
12100 PyObject
* obj3
= 0 ;
12101 PyObject
* obj4
= 0 ;
12102 char *kwnames
[] = {
12103 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType",(char *) "func", NULL
12106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:EvtHandler_Connect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12107 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12108 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12109 arg2
= (int) SWIG_AsInt(obj1
);
12110 if (PyErr_Occurred()) SWIG_fail
;
12111 arg3
= (int) SWIG_AsInt(obj2
);
12112 if (PyErr_Occurred()) SWIG_fail
;
12113 arg4
= (int) SWIG_AsInt(obj3
);
12114 if (PyErr_Occurred()) SWIG_fail
;
12117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12118 wxEvtHandler_Connect(arg1
,arg2
,arg3
,arg4
,arg5
);
12120 wxPyEndAllowThreads(__tstate
);
12121 if (PyErr_Occurred()) SWIG_fail
;
12123 Py_INCREF(Py_None
); resultobj
= Py_None
;
12130 static PyObject
*_wrap_EvtHandler_Disconnect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12131 PyObject
*resultobj
;
12132 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12134 int arg3
= (int) -1 ;
12135 wxEventType arg4
= (wxEventType
) wxEVT_NULL
;
12137 PyObject
* obj0
= 0 ;
12138 PyObject
* obj1
= 0 ;
12139 PyObject
* obj2
= 0 ;
12140 PyObject
* obj3
= 0 ;
12141 char *kwnames
[] = {
12142 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType", NULL
12145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:EvtHandler_Disconnect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12146 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12147 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12148 arg2
= (int) SWIG_AsInt(obj1
);
12149 if (PyErr_Occurred()) SWIG_fail
;
12151 arg3
= (int) SWIG_AsInt(obj2
);
12152 if (PyErr_Occurred()) SWIG_fail
;
12155 arg4
= (wxEventType
) SWIG_AsInt(obj3
);
12156 if (PyErr_Occurred()) SWIG_fail
;
12159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12160 result
= (bool)wxEvtHandler_Disconnect(arg1
,arg2
,arg3
,arg4
);
12162 wxPyEndAllowThreads(__tstate
);
12163 if (PyErr_Occurred()) SWIG_fail
;
12166 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12174 static PyObject
*_wrap_EvtHandler__setOORInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12175 PyObject
*resultobj
;
12176 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12177 PyObject
*arg2
= (PyObject
*) 0 ;
12178 PyObject
* obj0
= 0 ;
12179 PyObject
* obj1
= 0 ;
12180 char *kwnames
[] = {
12181 (char *) "self",(char *) "_self", NULL
12184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
12185 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12186 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12190 wxEvtHandler__setOORInfo(arg1
,arg2
);
12192 wxPyEndAllowThreads(__tstate
);
12193 if (PyErr_Occurred()) SWIG_fail
;
12195 Py_INCREF(Py_None
); resultobj
= Py_None
;
12202 static PyObject
* EvtHandler_swigregister(PyObject
*self
, PyObject
*args
) {
12204 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12205 SWIG_TypeClientData(SWIGTYPE_p_wxEvtHandler
, obj
);
12207 return Py_BuildValue((char *)"");
12209 static PyObject
*_wrap_NewEventType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12210 PyObject
*resultobj
;
12211 wxEventType result
;
12212 char *kwnames
[] = {
12216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":NewEventType",kwnames
)) goto fail
;
12218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12219 result
= (wxEventType
)wxNewEventType();
12221 wxPyEndAllowThreads(__tstate
);
12222 if (PyErr_Occurred()) SWIG_fail
;
12224 resultobj
= SWIG_FromInt((int)result
);
12231 static PyObject
*_wrap_delete_Event(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12232 PyObject
*resultobj
;
12233 wxEvent
*arg1
= (wxEvent
*) 0 ;
12234 PyObject
* obj0
= 0 ;
12235 char *kwnames
[] = {
12236 (char *) "self", NULL
12239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Event",kwnames
,&obj0
)) goto fail
;
12240 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12241 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12246 wxPyEndAllowThreads(__tstate
);
12247 if (PyErr_Occurred()) SWIG_fail
;
12249 Py_INCREF(Py_None
); resultobj
= Py_None
;
12256 static PyObject
*_wrap_Event_SetEventType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12257 PyObject
*resultobj
;
12258 wxEvent
*arg1
= (wxEvent
*) 0 ;
12260 PyObject
* obj0
= 0 ;
12261 PyObject
* obj1
= 0 ;
12262 char *kwnames
[] = {
12263 (char *) "self",(char *) "typ", NULL
12266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetEventType",kwnames
,&obj0
,&obj1
)) goto fail
;
12267 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12268 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12269 arg2
= (wxEventType
) SWIG_AsInt(obj1
);
12270 if (PyErr_Occurred()) SWIG_fail
;
12272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12273 (arg1
)->SetEventType(arg2
);
12275 wxPyEndAllowThreads(__tstate
);
12276 if (PyErr_Occurred()) SWIG_fail
;
12278 Py_INCREF(Py_None
); resultobj
= Py_None
;
12285 static PyObject
*_wrap_Event_GetEventType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12286 PyObject
*resultobj
;
12287 wxEvent
*arg1
= (wxEvent
*) 0 ;
12288 wxEventType result
;
12289 PyObject
* obj0
= 0 ;
12290 char *kwnames
[] = {
12291 (char *) "self", NULL
12294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetEventType",kwnames
,&obj0
)) goto fail
;
12295 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12296 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12299 result
= (wxEventType
)((wxEvent
const *)arg1
)->GetEventType();
12301 wxPyEndAllowThreads(__tstate
);
12302 if (PyErr_Occurred()) SWIG_fail
;
12304 resultobj
= SWIG_FromInt((int)result
);
12311 static PyObject
*_wrap_Event_GetEventObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12312 PyObject
*resultobj
;
12313 wxEvent
*arg1
= (wxEvent
*) 0 ;
12315 PyObject
* obj0
= 0 ;
12316 char *kwnames
[] = {
12317 (char *) "self", NULL
12320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetEventObject",kwnames
,&obj0
)) goto fail
;
12321 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12322 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12325 result
= (wxObject
*)((wxEvent
const *)arg1
)->GetEventObject();
12327 wxPyEndAllowThreads(__tstate
);
12328 if (PyErr_Occurred()) SWIG_fail
;
12331 resultobj
= wxPyMake_wxObject(result
);
12339 static PyObject
*_wrap_Event_SetEventObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12340 PyObject
*resultobj
;
12341 wxEvent
*arg1
= (wxEvent
*) 0 ;
12342 wxObject
*arg2
= (wxObject
*) 0 ;
12343 PyObject
* obj0
= 0 ;
12344 PyObject
* obj1
= 0 ;
12345 char *kwnames
[] = {
12346 (char *) "self",(char *) "obj", NULL
12349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetEventObject",kwnames
,&obj0
,&obj1
)) goto fail
;
12350 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12351 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12352 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxObject
,
12353 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12356 (arg1
)->SetEventObject(arg2
);
12358 wxPyEndAllowThreads(__tstate
);
12359 if (PyErr_Occurred()) SWIG_fail
;
12361 Py_INCREF(Py_None
); resultobj
= Py_None
;
12368 static PyObject
*_wrap_Event_GetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12369 PyObject
*resultobj
;
12370 wxEvent
*arg1
= (wxEvent
*) 0 ;
12372 PyObject
* obj0
= 0 ;
12373 char *kwnames
[] = {
12374 (char *) "self", NULL
12377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetTimestamp",kwnames
,&obj0
)) goto fail
;
12378 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12379 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12382 result
= (long)((wxEvent
const *)arg1
)->GetTimestamp();
12384 wxPyEndAllowThreads(__tstate
);
12385 if (PyErr_Occurred()) SWIG_fail
;
12387 resultobj
= SWIG_FromLong((long)result
);
12394 static PyObject
*_wrap_Event_SetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12395 PyObject
*resultobj
;
12396 wxEvent
*arg1
= (wxEvent
*) 0 ;
12397 long arg2
= (long) 0 ;
12398 PyObject
* obj0
= 0 ;
12399 PyObject
* obj1
= 0 ;
12400 char *kwnames
[] = {
12401 (char *) "self",(char *) "ts", NULL
12404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Event_SetTimestamp",kwnames
,&obj0
,&obj1
)) goto fail
;
12405 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12408 arg2
= (long) SWIG_AsLong(obj1
);
12409 if (PyErr_Occurred()) SWIG_fail
;
12412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12413 (arg1
)->SetTimestamp(arg2
);
12415 wxPyEndAllowThreads(__tstate
);
12416 if (PyErr_Occurred()) SWIG_fail
;
12418 Py_INCREF(Py_None
); resultobj
= Py_None
;
12425 static PyObject
*_wrap_Event_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12426 PyObject
*resultobj
;
12427 wxEvent
*arg1
= (wxEvent
*) 0 ;
12429 PyObject
* obj0
= 0 ;
12430 char *kwnames
[] = {
12431 (char *) "self", NULL
12434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetId",kwnames
,&obj0
)) goto fail
;
12435 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12436 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12439 result
= (int)((wxEvent
const *)arg1
)->GetId();
12441 wxPyEndAllowThreads(__tstate
);
12442 if (PyErr_Occurred()) SWIG_fail
;
12444 resultobj
= SWIG_FromInt((int)result
);
12451 static PyObject
*_wrap_Event_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12452 PyObject
*resultobj
;
12453 wxEvent
*arg1
= (wxEvent
*) 0 ;
12455 PyObject
* obj0
= 0 ;
12456 PyObject
* obj1
= 0 ;
12457 char *kwnames
[] = {
12458 (char *) "self",(char *) "Id", NULL
12461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
12462 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12463 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12464 arg2
= (int) SWIG_AsInt(obj1
);
12465 if (PyErr_Occurred()) SWIG_fail
;
12467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12468 (arg1
)->SetId(arg2
);
12470 wxPyEndAllowThreads(__tstate
);
12471 if (PyErr_Occurred()) SWIG_fail
;
12473 Py_INCREF(Py_None
); resultobj
= Py_None
;
12480 static PyObject
*_wrap_Event_IsCommandEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12481 PyObject
*resultobj
;
12482 wxEvent
*arg1
= (wxEvent
*) 0 ;
12484 PyObject
* obj0
= 0 ;
12485 char *kwnames
[] = {
12486 (char *) "self", NULL
12489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_IsCommandEvent",kwnames
,&obj0
)) goto fail
;
12490 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12491 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12494 result
= (bool)((wxEvent
const *)arg1
)->IsCommandEvent();
12496 wxPyEndAllowThreads(__tstate
);
12497 if (PyErr_Occurred()) SWIG_fail
;
12500 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12508 static PyObject
*_wrap_Event_Skip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12509 PyObject
*resultobj
;
12510 wxEvent
*arg1
= (wxEvent
*) 0 ;
12511 bool arg2
= (bool) True
;
12512 PyObject
* obj0
= 0 ;
12513 PyObject
* obj1
= 0 ;
12514 char *kwnames
[] = {
12515 (char *) "self",(char *) "skip", NULL
12518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Event_Skip",kwnames
,&obj0
,&obj1
)) goto fail
;
12519 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12520 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12522 arg2
= (bool) SWIG_AsBool(obj1
);
12523 if (PyErr_Occurred()) SWIG_fail
;
12526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12527 (arg1
)->Skip(arg2
);
12529 wxPyEndAllowThreads(__tstate
);
12530 if (PyErr_Occurred()) SWIG_fail
;
12532 Py_INCREF(Py_None
); resultobj
= Py_None
;
12539 static PyObject
*_wrap_Event_GetSkipped(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12540 PyObject
*resultobj
;
12541 wxEvent
*arg1
= (wxEvent
*) 0 ;
12543 PyObject
* obj0
= 0 ;
12544 char *kwnames
[] = {
12545 (char *) "self", NULL
12548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetSkipped",kwnames
,&obj0
)) goto fail
;
12549 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12550 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12553 result
= (bool)((wxEvent
const *)arg1
)->GetSkipped();
12555 wxPyEndAllowThreads(__tstate
);
12556 if (PyErr_Occurred()) SWIG_fail
;
12559 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12567 static PyObject
*_wrap_Event_ShouldPropagate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12568 PyObject
*resultobj
;
12569 wxEvent
*arg1
= (wxEvent
*) 0 ;
12571 PyObject
* obj0
= 0 ;
12572 char *kwnames
[] = {
12573 (char *) "self", NULL
12576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_ShouldPropagate",kwnames
,&obj0
)) goto fail
;
12577 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12578 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12581 result
= (bool)((wxEvent
const *)arg1
)->ShouldPropagate();
12583 wxPyEndAllowThreads(__tstate
);
12584 if (PyErr_Occurred()) SWIG_fail
;
12587 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12595 static PyObject
*_wrap_Event_StopPropagation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12596 PyObject
*resultobj
;
12597 wxEvent
*arg1
= (wxEvent
*) 0 ;
12599 PyObject
* obj0
= 0 ;
12600 char *kwnames
[] = {
12601 (char *) "self", NULL
12604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_StopPropagation",kwnames
,&obj0
)) goto fail
;
12605 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12609 result
= (int)(arg1
)->StopPropagation();
12611 wxPyEndAllowThreads(__tstate
);
12612 if (PyErr_Occurred()) SWIG_fail
;
12614 resultobj
= SWIG_FromInt((int)result
);
12621 static PyObject
*_wrap_Event_ResumePropagation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12622 PyObject
*resultobj
;
12623 wxEvent
*arg1
= (wxEvent
*) 0 ;
12625 PyObject
* obj0
= 0 ;
12626 PyObject
* obj1
= 0 ;
12627 char *kwnames
[] = {
12628 (char *) "self",(char *) "propagationLevel", NULL
12631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_ResumePropagation",kwnames
,&obj0
,&obj1
)) goto fail
;
12632 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12633 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12634 arg2
= (int) SWIG_AsInt(obj1
);
12635 if (PyErr_Occurred()) SWIG_fail
;
12637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12638 (arg1
)->ResumePropagation(arg2
);
12640 wxPyEndAllowThreads(__tstate
);
12641 if (PyErr_Occurred()) SWIG_fail
;
12643 Py_INCREF(Py_None
); resultobj
= Py_None
;
12650 static PyObject
*_wrap_Event_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12651 PyObject
*resultobj
;
12652 wxEvent
*arg1
= (wxEvent
*) 0 ;
12654 PyObject
* obj0
= 0 ;
12655 char *kwnames
[] = {
12656 (char *) "self", NULL
12659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_Clone",kwnames
,&obj0
)) goto fail
;
12660 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12661 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12664 result
= (wxEvent
*)(arg1
)->Clone();
12666 wxPyEndAllowThreads(__tstate
);
12667 if (PyErr_Occurred()) SWIG_fail
;
12669 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvent
, 0);
12676 static PyObject
* Event_swigregister(PyObject
*self
, PyObject
*args
) {
12678 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12679 SWIG_TypeClientData(SWIGTYPE_p_wxEvent
, obj
);
12681 return Py_BuildValue((char *)"");
12683 static PyObject
*_wrap_new_PropagationDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12684 PyObject
*resultobj
;
12685 wxEvent
*arg1
= 0 ;
12686 wxPropagationDisabler
*result
;
12687 PyObject
* obj0
= 0 ;
12688 char *kwnames
[] = {
12689 (char *) "event", NULL
12692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagationDisabler",kwnames
,&obj0
)) goto fail
;
12693 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12694 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12696 if (arg1
== NULL
) {
12697 PyErr_SetString(PyExc_TypeError
,"null reference");
12701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12702 result
= (wxPropagationDisabler
*)new wxPropagationDisabler(*arg1
);
12704 wxPyEndAllowThreads(__tstate
);
12705 if (PyErr_Occurred()) SWIG_fail
;
12707 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPropagationDisabler
, 1);
12714 static PyObject
*_wrap_delete_PropagationDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12715 PyObject
*resultobj
;
12716 wxPropagationDisabler
*arg1
= (wxPropagationDisabler
*) 0 ;
12717 PyObject
* obj0
= 0 ;
12718 char *kwnames
[] = {
12719 (char *) "self", NULL
12722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PropagationDisabler",kwnames
,&obj0
)) goto fail
;
12723 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPropagationDisabler
,
12724 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12729 wxPyEndAllowThreads(__tstate
);
12730 if (PyErr_Occurred()) SWIG_fail
;
12732 Py_INCREF(Py_None
); resultobj
= Py_None
;
12739 static PyObject
* PropagationDisabler_swigregister(PyObject
*self
, PyObject
*args
) {
12741 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12742 SWIG_TypeClientData(SWIGTYPE_p_wxPropagationDisabler
, obj
);
12744 return Py_BuildValue((char *)"");
12746 static PyObject
*_wrap_new_PropagateOnce(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12747 PyObject
*resultobj
;
12748 wxEvent
*arg1
= 0 ;
12749 wxPropagateOnce
*result
;
12750 PyObject
* obj0
= 0 ;
12751 char *kwnames
[] = {
12752 (char *) "event", NULL
12755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagateOnce",kwnames
,&obj0
)) goto fail
;
12756 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12757 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12759 if (arg1
== NULL
) {
12760 PyErr_SetString(PyExc_TypeError
,"null reference");
12764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12765 result
= (wxPropagateOnce
*)new wxPropagateOnce(*arg1
);
12767 wxPyEndAllowThreads(__tstate
);
12768 if (PyErr_Occurred()) SWIG_fail
;
12770 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPropagateOnce
, 1);
12777 static PyObject
*_wrap_delete_PropagateOnce(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12778 PyObject
*resultobj
;
12779 wxPropagateOnce
*arg1
= (wxPropagateOnce
*) 0 ;
12780 PyObject
* obj0
= 0 ;
12781 char *kwnames
[] = {
12782 (char *) "self", NULL
12785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PropagateOnce",kwnames
,&obj0
)) goto fail
;
12786 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPropagateOnce
,
12787 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12792 wxPyEndAllowThreads(__tstate
);
12793 if (PyErr_Occurred()) SWIG_fail
;
12795 Py_INCREF(Py_None
); resultobj
= Py_None
;
12802 static PyObject
* PropagateOnce_swigregister(PyObject
*self
, PyObject
*args
) {
12804 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12805 SWIG_TypeClientData(SWIGTYPE_p_wxPropagateOnce
, obj
);
12807 return Py_BuildValue((char *)"");
12809 static PyObject
*_wrap_new_CommandEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12810 PyObject
*resultobj
;
12811 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
12812 int arg2
= (int) 0 ;
12813 wxCommandEvent
*result
;
12814 PyObject
* obj0
= 0 ;
12815 PyObject
* obj1
= 0 ;
12816 char *kwnames
[] = {
12817 (char *) "commandType",(char *) "winid", NULL
12820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_CommandEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
12822 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
12823 if (PyErr_Occurred()) SWIG_fail
;
12826 arg2
= (int) SWIG_AsInt(obj1
);
12827 if (PyErr_Occurred()) SWIG_fail
;
12830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12831 result
= (wxCommandEvent
*)new wxCommandEvent(arg1
,arg2
);
12833 wxPyEndAllowThreads(__tstate
);
12834 if (PyErr_Occurred()) SWIG_fail
;
12836 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCommandEvent
, 1);
12843 static PyObject
*_wrap_CommandEvent_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12844 PyObject
*resultobj
;
12845 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12847 PyObject
* obj0
= 0 ;
12848 char *kwnames
[] = {
12849 (char *) "self", NULL
12852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetSelection",kwnames
,&obj0
)) goto fail
;
12853 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12854 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12857 result
= (int)((wxCommandEvent
const *)arg1
)->GetSelection();
12859 wxPyEndAllowThreads(__tstate
);
12860 if (PyErr_Occurred()) SWIG_fail
;
12862 resultobj
= SWIG_FromInt((int)result
);
12869 static PyObject
*_wrap_CommandEvent_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12870 PyObject
*resultobj
;
12871 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12872 wxString
*arg2
= 0 ;
12873 bool temp2
= False
;
12874 PyObject
* obj0
= 0 ;
12875 PyObject
* obj1
= 0 ;
12876 char *kwnames
[] = {
12877 (char *) "self",(char *) "s", NULL
12880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetString",kwnames
,&obj0
,&obj1
)) goto fail
;
12881 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12882 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12884 arg2
= wxString_in_helper(obj1
);
12885 if (arg2
== NULL
) SWIG_fail
;
12889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12890 (arg1
)->SetString((wxString
const &)*arg2
);
12892 wxPyEndAllowThreads(__tstate
);
12893 if (PyErr_Occurred()) SWIG_fail
;
12895 Py_INCREF(Py_None
); resultobj
= Py_None
;
12910 static PyObject
*_wrap_CommandEvent_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12911 PyObject
*resultobj
;
12912 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12914 PyObject
* obj0
= 0 ;
12915 char *kwnames
[] = {
12916 (char *) "self", NULL
12919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetString",kwnames
,&obj0
)) goto fail
;
12920 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12921 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12924 result
= ((wxCommandEvent
const *)arg1
)->GetString();
12926 wxPyEndAllowThreads(__tstate
);
12927 if (PyErr_Occurred()) SWIG_fail
;
12931 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12933 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12942 static PyObject
*_wrap_CommandEvent_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12943 PyObject
*resultobj
;
12944 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12946 PyObject
* obj0
= 0 ;
12947 char *kwnames
[] = {
12948 (char *) "self", NULL
12951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_IsChecked",kwnames
,&obj0
)) goto fail
;
12952 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12953 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12956 result
= (bool)((wxCommandEvent
const *)arg1
)->IsChecked();
12958 wxPyEndAllowThreads(__tstate
);
12959 if (PyErr_Occurred()) SWIG_fail
;
12962 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12970 static PyObject
*_wrap_CommandEvent_IsSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12971 PyObject
*resultobj
;
12972 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12974 PyObject
* obj0
= 0 ;
12975 char *kwnames
[] = {
12976 (char *) "self", NULL
12979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_IsSelection",kwnames
,&obj0
)) goto fail
;
12980 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12981 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12984 result
= (bool)((wxCommandEvent
const *)arg1
)->IsSelection();
12986 wxPyEndAllowThreads(__tstate
);
12987 if (PyErr_Occurred()) SWIG_fail
;
12990 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12998 static PyObject
*_wrap_CommandEvent_SetExtraLong(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12999 PyObject
*resultobj
;
13000 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13002 PyObject
* obj0
= 0 ;
13003 PyObject
* obj1
= 0 ;
13004 char *kwnames
[] = {
13005 (char *) "self",(char *) "extraLong", NULL
13008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetExtraLong",kwnames
,&obj0
,&obj1
)) goto fail
;
13009 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13010 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13011 arg2
= (long) SWIG_AsLong(obj1
);
13012 if (PyErr_Occurred()) SWIG_fail
;
13014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13015 (arg1
)->SetExtraLong(arg2
);
13017 wxPyEndAllowThreads(__tstate
);
13018 if (PyErr_Occurred()) SWIG_fail
;
13020 Py_INCREF(Py_None
); resultobj
= Py_None
;
13027 static PyObject
*_wrap_CommandEvent_GetExtraLong(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13028 PyObject
*resultobj
;
13029 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13031 PyObject
* obj0
= 0 ;
13032 char *kwnames
[] = {
13033 (char *) "self", NULL
13036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetExtraLong",kwnames
,&obj0
)) goto fail
;
13037 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13038 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13041 result
= (long)((wxCommandEvent
const *)arg1
)->GetExtraLong();
13043 wxPyEndAllowThreads(__tstate
);
13044 if (PyErr_Occurred()) SWIG_fail
;
13046 resultobj
= SWIG_FromLong((long)result
);
13053 static PyObject
*_wrap_CommandEvent_SetInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13054 PyObject
*resultobj
;
13055 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13057 PyObject
* obj0
= 0 ;
13058 PyObject
* obj1
= 0 ;
13059 char *kwnames
[] = {
13060 (char *) "self",(char *) "i", NULL
13063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetInt",kwnames
,&obj0
,&obj1
)) goto fail
;
13064 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13065 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13066 arg2
= (int) SWIG_AsInt(obj1
);
13067 if (PyErr_Occurred()) SWIG_fail
;
13069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13070 (arg1
)->SetInt(arg2
);
13072 wxPyEndAllowThreads(__tstate
);
13073 if (PyErr_Occurred()) SWIG_fail
;
13075 Py_INCREF(Py_None
); resultobj
= Py_None
;
13082 static PyObject
*_wrap_CommandEvent_GetInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13083 PyObject
*resultobj
;
13084 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13086 PyObject
* obj0
= 0 ;
13087 char *kwnames
[] = {
13088 (char *) "self", NULL
13091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetInt",kwnames
,&obj0
)) goto fail
;
13092 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13093 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13096 result
= (long)((wxCommandEvent
const *)arg1
)->GetInt();
13098 wxPyEndAllowThreads(__tstate
);
13099 if (PyErr_Occurred()) SWIG_fail
;
13101 resultobj
= SWIG_FromLong((long)result
);
13108 static PyObject
*_wrap_CommandEvent_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13109 PyObject
*resultobj
;
13110 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13112 PyObject
* obj0
= 0 ;
13113 char *kwnames
[] = {
13114 (char *) "self", NULL
13117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_Clone",kwnames
,&obj0
)) goto fail
;
13118 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13119 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13122 result
= (wxEvent
*)((wxCommandEvent
const *)arg1
)->Clone();
13124 wxPyEndAllowThreads(__tstate
);
13125 if (PyErr_Occurred()) SWIG_fail
;
13127 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvent
, 0);
13134 static PyObject
* CommandEvent_swigregister(PyObject
*self
, PyObject
*args
) {
13136 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13137 SWIG_TypeClientData(SWIGTYPE_p_wxCommandEvent
, obj
);
13139 return Py_BuildValue((char *)"");
13141 static PyObject
*_wrap_new_NotifyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13142 PyObject
*resultobj
;
13143 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13144 int arg2
= (int) 0 ;
13145 wxNotifyEvent
*result
;
13146 PyObject
* obj0
= 0 ;
13147 PyObject
* obj1
= 0 ;
13148 char *kwnames
[] = {
13149 (char *) "commandType",(char *) "winid", NULL
13152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_NotifyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
13154 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
13155 if (PyErr_Occurred()) SWIG_fail
;
13158 arg2
= (int) SWIG_AsInt(obj1
);
13159 if (PyErr_Occurred()) SWIG_fail
;
13162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13163 result
= (wxNotifyEvent
*)new wxNotifyEvent(arg1
,arg2
);
13165 wxPyEndAllowThreads(__tstate
);
13166 if (PyErr_Occurred()) SWIG_fail
;
13168 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotifyEvent
, 1);
13175 static PyObject
*_wrap_NotifyEvent_Veto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13176 PyObject
*resultobj
;
13177 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
13178 PyObject
* obj0
= 0 ;
13179 char *kwnames
[] = {
13180 (char *) "self", NULL
13183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_Veto",kwnames
,&obj0
)) goto fail
;
13184 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotifyEvent
,
13185 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13190 wxPyEndAllowThreads(__tstate
);
13191 if (PyErr_Occurred()) SWIG_fail
;
13193 Py_INCREF(Py_None
); resultobj
= Py_None
;
13200 static PyObject
*_wrap_NotifyEvent_Allow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13201 PyObject
*resultobj
;
13202 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
13203 PyObject
* obj0
= 0 ;
13204 char *kwnames
[] = {
13205 (char *) "self", NULL
13208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_Allow",kwnames
,&obj0
)) goto fail
;
13209 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotifyEvent
,
13210 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13215 wxPyEndAllowThreads(__tstate
);
13216 if (PyErr_Occurred()) SWIG_fail
;
13218 Py_INCREF(Py_None
); resultobj
= Py_None
;
13225 static PyObject
*_wrap_NotifyEvent_IsAllowed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13226 PyObject
*resultobj
;
13227 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
13229 PyObject
* obj0
= 0 ;
13230 char *kwnames
[] = {
13231 (char *) "self", NULL
13234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_IsAllowed",kwnames
,&obj0
)) goto fail
;
13235 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotifyEvent
,
13236 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13239 result
= (bool)(arg1
)->IsAllowed();
13241 wxPyEndAllowThreads(__tstate
);
13242 if (PyErr_Occurred()) SWIG_fail
;
13245 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13253 static PyObject
* NotifyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
13255 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13256 SWIG_TypeClientData(SWIGTYPE_p_wxNotifyEvent
, obj
);
13258 return Py_BuildValue((char *)"");
13260 static PyObject
*_wrap_new_ScrollEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13261 PyObject
*resultobj
;
13262 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13263 int arg2
= (int) 0 ;
13264 int arg3
= (int) 0 ;
13265 int arg4
= (int) 0 ;
13266 wxScrollEvent
*result
;
13267 PyObject
* obj0
= 0 ;
13268 PyObject
* obj1
= 0 ;
13269 PyObject
* obj2
= 0 ;
13270 PyObject
* obj3
= 0 ;
13271 char *kwnames
[] = {
13272 (char *) "commandType",(char *) "winid",(char *) "pos",(char *) "orient", NULL
13275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ScrollEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13277 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
13278 if (PyErr_Occurred()) SWIG_fail
;
13281 arg2
= (int) SWIG_AsInt(obj1
);
13282 if (PyErr_Occurred()) SWIG_fail
;
13285 arg3
= (int) SWIG_AsInt(obj2
);
13286 if (PyErr_Occurred()) SWIG_fail
;
13289 arg4
= (int) SWIG_AsInt(obj3
);
13290 if (PyErr_Occurred()) SWIG_fail
;
13293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13294 result
= (wxScrollEvent
*)new wxScrollEvent(arg1
,arg2
,arg3
,arg4
);
13296 wxPyEndAllowThreads(__tstate
);
13297 if (PyErr_Occurred()) SWIG_fail
;
13299 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollEvent
, 1);
13306 static PyObject
*_wrap_ScrollEvent_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13307 PyObject
*resultobj
;
13308 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
13310 PyObject
* obj0
= 0 ;
13311 char *kwnames
[] = {
13312 (char *) "self", NULL
13315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
13316 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollEvent
,
13317 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13320 result
= (int)((wxScrollEvent
const *)arg1
)->GetOrientation();
13322 wxPyEndAllowThreads(__tstate
);
13323 if (PyErr_Occurred()) SWIG_fail
;
13325 resultobj
= SWIG_FromInt((int)result
);
13332 static PyObject
*_wrap_ScrollEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13333 PyObject
*resultobj
;
13334 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
13336 PyObject
* obj0
= 0 ;
13337 char *kwnames
[] = {
13338 (char *) "self", NULL
13341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
13342 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollEvent
,
13343 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13346 result
= (int)((wxScrollEvent
const *)arg1
)->GetPosition();
13348 wxPyEndAllowThreads(__tstate
);
13349 if (PyErr_Occurred()) SWIG_fail
;
13351 resultobj
= SWIG_FromInt((int)result
);
13358 static PyObject
*_wrap_ScrollEvent_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13359 PyObject
*resultobj
;
13360 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
13362 PyObject
* obj0
= 0 ;
13363 PyObject
* obj1
= 0 ;
13364 char *kwnames
[] = {
13365 (char *) "self",(char *) "orient", NULL
13368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
13369 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollEvent
,
13370 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13371 arg2
= (int) SWIG_AsInt(obj1
);
13372 if (PyErr_Occurred()) SWIG_fail
;
13374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13375 (arg1
)->SetOrientation(arg2
);
13377 wxPyEndAllowThreads(__tstate
);
13378 if (PyErr_Occurred()) SWIG_fail
;
13380 Py_INCREF(Py_None
); resultobj
= Py_None
;
13387 static PyObject
*_wrap_ScrollEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13388 PyObject
*resultobj
;
13389 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
13391 PyObject
* obj0
= 0 ;
13392 PyObject
* obj1
= 0 ;
13393 char *kwnames
[] = {
13394 (char *) "self",(char *) "pos", NULL
13397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
13398 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollEvent
,
13399 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13400 arg2
= (int) SWIG_AsInt(obj1
);
13401 if (PyErr_Occurred()) SWIG_fail
;
13403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13404 (arg1
)->SetPosition(arg2
);
13406 wxPyEndAllowThreads(__tstate
);
13407 if (PyErr_Occurred()) SWIG_fail
;
13409 Py_INCREF(Py_None
); resultobj
= Py_None
;
13416 static PyObject
* ScrollEvent_swigregister(PyObject
*self
, PyObject
*args
) {
13418 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13419 SWIG_TypeClientData(SWIGTYPE_p_wxScrollEvent
, obj
);
13421 return Py_BuildValue((char *)"");
13423 static PyObject
*_wrap_new_ScrollWinEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13424 PyObject
*resultobj
;
13425 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13426 int arg2
= (int) 0 ;
13427 int arg3
= (int) 0 ;
13428 wxScrollWinEvent
*result
;
13429 PyObject
* obj0
= 0 ;
13430 PyObject
* obj1
= 0 ;
13431 PyObject
* obj2
= 0 ;
13432 char *kwnames
[] = {
13433 (char *) "commandType",(char *) "pos",(char *) "orient", NULL
13436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ScrollWinEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13438 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
13439 if (PyErr_Occurred()) SWIG_fail
;
13442 arg2
= (int) SWIG_AsInt(obj1
);
13443 if (PyErr_Occurred()) SWIG_fail
;
13446 arg3
= (int) SWIG_AsInt(obj2
);
13447 if (PyErr_Occurred()) SWIG_fail
;
13450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13451 result
= (wxScrollWinEvent
*)new wxScrollWinEvent(arg1
,arg2
,arg3
);
13453 wxPyEndAllowThreads(__tstate
);
13454 if (PyErr_Occurred()) SWIG_fail
;
13456 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollWinEvent
, 1);
13463 static PyObject
*_wrap_ScrollWinEvent_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13464 PyObject
*resultobj
;
13465 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
13467 PyObject
* obj0
= 0 ;
13468 char *kwnames
[] = {
13469 (char *) "self", NULL
13472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollWinEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
13473 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollWinEvent
,
13474 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13477 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetOrientation();
13479 wxPyEndAllowThreads(__tstate
);
13480 if (PyErr_Occurred()) SWIG_fail
;
13482 resultobj
= SWIG_FromInt((int)result
);
13489 static PyObject
*_wrap_ScrollWinEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13490 PyObject
*resultobj
;
13491 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
13493 PyObject
* obj0
= 0 ;
13494 char *kwnames
[] = {
13495 (char *) "self", NULL
13498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollWinEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
13499 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollWinEvent
,
13500 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13503 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetPosition();
13505 wxPyEndAllowThreads(__tstate
);
13506 if (PyErr_Occurred()) SWIG_fail
;
13508 resultobj
= SWIG_FromInt((int)result
);
13515 static PyObject
*_wrap_ScrollWinEvent_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13516 PyObject
*resultobj
;
13517 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
13519 PyObject
* obj0
= 0 ;
13520 PyObject
* obj1
= 0 ;
13521 char *kwnames
[] = {
13522 (char *) "self",(char *) "orient", NULL
13525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollWinEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
13526 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollWinEvent
,
13527 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13528 arg2
= (int) SWIG_AsInt(obj1
);
13529 if (PyErr_Occurred()) SWIG_fail
;
13531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13532 (arg1
)->SetOrientation(arg2
);
13534 wxPyEndAllowThreads(__tstate
);
13535 if (PyErr_Occurred()) SWIG_fail
;
13537 Py_INCREF(Py_None
); resultobj
= Py_None
;
13544 static PyObject
*_wrap_ScrollWinEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13545 PyObject
*resultobj
;
13546 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
13548 PyObject
* obj0
= 0 ;
13549 PyObject
* obj1
= 0 ;
13550 char *kwnames
[] = {
13551 (char *) "self",(char *) "pos", NULL
13554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollWinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
13555 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollWinEvent
,
13556 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13557 arg2
= (int) SWIG_AsInt(obj1
);
13558 if (PyErr_Occurred()) SWIG_fail
;
13560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13561 (arg1
)->SetPosition(arg2
);
13563 wxPyEndAllowThreads(__tstate
);
13564 if (PyErr_Occurred()) SWIG_fail
;
13566 Py_INCREF(Py_None
); resultobj
= Py_None
;
13573 static PyObject
* ScrollWinEvent_swigregister(PyObject
*self
, PyObject
*args
) {
13575 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13576 SWIG_TypeClientData(SWIGTYPE_p_wxScrollWinEvent
, obj
);
13578 return Py_BuildValue((char *)"");
13580 static PyObject
*_wrap_new_MouseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13581 PyObject
*resultobj
;
13582 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13583 wxMouseEvent
*result
;
13584 PyObject
* obj0
= 0 ;
13585 char *kwnames
[] = {
13586 (char *) "mouseType", NULL
13589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MouseEvent",kwnames
,&obj0
)) goto fail
;
13591 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
13592 if (PyErr_Occurred()) SWIG_fail
;
13595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13596 result
= (wxMouseEvent
*)new wxMouseEvent(arg1
);
13598 wxPyEndAllowThreads(__tstate
);
13599 if (PyErr_Occurred()) SWIG_fail
;
13602 resultobj
= wxPyMake_wxObject(result
);
13610 static PyObject
*_wrap_MouseEvent_IsButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13611 PyObject
*resultobj
;
13612 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13614 PyObject
* obj0
= 0 ;
13615 char *kwnames
[] = {
13616 (char *) "self", NULL
13619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_IsButton",kwnames
,&obj0
)) goto fail
;
13620 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13621 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13624 result
= (bool)((wxMouseEvent
const *)arg1
)->IsButton();
13626 wxPyEndAllowThreads(__tstate
);
13627 if (PyErr_Occurred()) SWIG_fail
;
13630 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13638 static PyObject
*_wrap_MouseEvent_ButtonDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13639 PyObject
*resultobj
;
13640 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13641 int arg2
= (int) wxMOUSE_BTN_ANY
;
13643 PyObject
* obj0
= 0 ;
13644 PyObject
* obj1
= 0 ;
13645 char *kwnames
[] = {
13646 (char *) "self",(char *) "but", NULL
13649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonDown",kwnames
,&obj0
,&obj1
)) goto fail
;
13650 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13651 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13653 arg2
= (int) SWIG_AsInt(obj1
);
13654 if (PyErr_Occurred()) SWIG_fail
;
13657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13658 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDown(arg2
);
13660 wxPyEndAllowThreads(__tstate
);
13661 if (PyErr_Occurred()) SWIG_fail
;
13664 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13672 static PyObject
*_wrap_MouseEvent_ButtonDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13673 PyObject
*resultobj
;
13674 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13675 int arg2
= (int) wxMOUSE_BTN_ANY
;
13677 PyObject
* obj0
= 0 ;
13678 PyObject
* obj1
= 0 ;
13679 char *kwnames
[] = {
13680 (char *) "self",(char *) "but", NULL
13683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonDClick",kwnames
,&obj0
,&obj1
)) goto fail
;
13684 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13685 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13687 arg2
= (int) SWIG_AsInt(obj1
);
13688 if (PyErr_Occurred()) SWIG_fail
;
13691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13692 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDClick(arg2
);
13694 wxPyEndAllowThreads(__tstate
);
13695 if (PyErr_Occurred()) SWIG_fail
;
13698 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13706 static PyObject
*_wrap_MouseEvent_ButtonUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13707 PyObject
*resultobj
;
13708 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13709 int arg2
= (int) wxMOUSE_BTN_ANY
;
13711 PyObject
* obj0
= 0 ;
13712 PyObject
* obj1
= 0 ;
13713 char *kwnames
[] = {
13714 (char *) "self",(char *) "but", NULL
13717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonUp",kwnames
,&obj0
,&obj1
)) goto fail
;
13718 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13719 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13721 arg2
= (int) SWIG_AsInt(obj1
);
13722 if (PyErr_Occurred()) SWIG_fail
;
13725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13726 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonUp(arg2
);
13728 wxPyEndAllowThreads(__tstate
);
13729 if (PyErr_Occurred()) SWIG_fail
;
13732 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13740 static PyObject
*_wrap_MouseEvent_Button(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13741 PyObject
*resultobj
;
13742 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13745 PyObject
* obj0
= 0 ;
13746 PyObject
* obj1
= 0 ;
13747 char *kwnames
[] = {
13748 (char *) "self",(char *) "but", NULL
13751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_Button",kwnames
,&obj0
,&obj1
)) goto fail
;
13752 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13753 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13754 arg2
= (int) SWIG_AsInt(obj1
);
13755 if (PyErr_Occurred()) SWIG_fail
;
13757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13758 result
= (bool)((wxMouseEvent
const *)arg1
)->Button(arg2
);
13760 wxPyEndAllowThreads(__tstate
);
13761 if (PyErr_Occurred()) SWIG_fail
;
13764 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13772 static PyObject
*_wrap_MouseEvent_ButtonIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13773 PyObject
*resultobj
;
13774 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13777 PyObject
* obj0
= 0 ;
13778 PyObject
* obj1
= 0 ;
13779 char *kwnames
[] = {
13780 (char *) "self",(char *) "but", NULL
13783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_ButtonIsDown",kwnames
,&obj0
,&obj1
)) goto fail
;
13784 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13785 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13786 arg2
= (int) SWIG_AsInt(obj1
);
13787 if (PyErr_Occurred()) SWIG_fail
;
13789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13790 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonIsDown(arg2
);
13792 wxPyEndAllowThreads(__tstate
);
13793 if (PyErr_Occurred()) SWIG_fail
;
13796 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13804 static PyObject
*_wrap_MouseEvent_GetButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13805 PyObject
*resultobj
;
13806 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13808 PyObject
* obj0
= 0 ;
13809 char *kwnames
[] = {
13810 (char *) "self", NULL
13813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetButton",kwnames
,&obj0
)) goto fail
;
13814 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13818 result
= (int)((wxMouseEvent
const *)arg1
)->GetButton();
13820 wxPyEndAllowThreads(__tstate
);
13821 if (PyErr_Occurred()) SWIG_fail
;
13823 resultobj
= SWIG_FromInt((int)result
);
13830 static PyObject
*_wrap_MouseEvent_ControlDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13831 PyObject
*resultobj
;
13832 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13834 PyObject
* obj0
= 0 ;
13835 char *kwnames
[] = {
13836 (char *) "self", NULL
13839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
13840 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13841 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13844 result
= (bool)((wxMouseEvent
const *)arg1
)->ControlDown();
13846 wxPyEndAllowThreads(__tstate
);
13847 if (PyErr_Occurred()) SWIG_fail
;
13850 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13858 static PyObject
*_wrap_MouseEvent_MetaDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13859 PyObject
*resultobj
;
13860 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13862 PyObject
* obj0
= 0 ;
13863 char *kwnames
[] = {
13864 (char *) "self", NULL
13867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
13868 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13869 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13872 result
= (bool)((wxMouseEvent
const *)arg1
)->MetaDown();
13874 wxPyEndAllowThreads(__tstate
);
13875 if (PyErr_Occurred()) SWIG_fail
;
13878 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13886 static PyObject
*_wrap_MouseEvent_AltDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13887 PyObject
*resultobj
;
13888 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13890 PyObject
* obj0
= 0 ;
13891 char *kwnames
[] = {
13892 (char *) "self", NULL
13895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_AltDown",kwnames
,&obj0
)) goto fail
;
13896 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13897 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13900 result
= (bool)((wxMouseEvent
const *)arg1
)->AltDown();
13902 wxPyEndAllowThreads(__tstate
);
13903 if (PyErr_Occurred()) SWIG_fail
;
13906 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13914 static PyObject
*_wrap_MouseEvent_ShiftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13915 PyObject
*resultobj
;
13916 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13918 PyObject
* obj0
= 0 ;
13919 char *kwnames
[] = {
13920 (char *) "self", NULL
13923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
13924 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13925 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13928 result
= (bool)((wxMouseEvent
const *)arg1
)->ShiftDown();
13930 wxPyEndAllowThreads(__tstate
);
13931 if (PyErr_Occurred()) SWIG_fail
;
13934 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13942 static PyObject
*_wrap_MouseEvent_LeftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13943 PyObject
*resultobj
;
13944 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13946 PyObject
* obj0
= 0 ;
13947 char *kwnames
[] = {
13948 (char *) "self", NULL
13951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftDown",kwnames
,&obj0
)) goto fail
;
13952 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13953 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13956 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDown();
13958 wxPyEndAllowThreads(__tstate
);
13959 if (PyErr_Occurred()) SWIG_fail
;
13962 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13970 static PyObject
*_wrap_MouseEvent_MiddleDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13971 PyObject
*resultobj
;
13972 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13974 PyObject
* obj0
= 0 ;
13975 char *kwnames
[] = {
13976 (char *) "self", NULL
13979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleDown",kwnames
,&obj0
)) goto fail
;
13980 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13981 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13984 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDown();
13986 wxPyEndAllowThreads(__tstate
);
13987 if (PyErr_Occurred()) SWIG_fail
;
13990 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13998 static PyObject
*_wrap_MouseEvent_RightDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13999 PyObject
*resultobj
;
14000 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14002 PyObject
* obj0
= 0 ;
14003 char *kwnames
[] = {
14004 (char *) "self", NULL
14007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightDown",kwnames
,&obj0
)) goto fail
;
14008 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14009 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14012 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDown();
14014 wxPyEndAllowThreads(__tstate
);
14015 if (PyErr_Occurred()) SWIG_fail
;
14018 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14026 static PyObject
*_wrap_MouseEvent_LeftUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14027 PyObject
*resultobj
;
14028 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14030 PyObject
* obj0
= 0 ;
14031 char *kwnames
[] = {
14032 (char *) "self", NULL
14035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftUp",kwnames
,&obj0
)) goto fail
;
14036 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14037 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14040 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftUp();
14042 wxPyEndAllowThreads(__tstate
);
14043 if (PyErr_Occurred()) SWIG_fail
;
14046 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14054 static PyObject
*_wrap_MouseEvent_MiddleUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14055 PyObject
*resultobj
;
14056 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14058 PyObject
* obj0
= 0 ;
14059 char *kwnames
[] = {
14060 (char *) "self", NULL
14063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleUp",kwnames
,&obj0
)) goto fail
;
14064 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14065 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14068 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleUp();
14070 wxPyEndAllowThreads(__tstate
);
14071 if (PyErr_Occurred()) SWIG_fail
;
14074 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14082 static PyObject
*_wrap_MouseEvent_RightUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14083 PyObject
*resultobj
;
14084 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14086 PyObject
* obj0
= 0 ;
14087 char *kwnames
[] = {
14088 (char *) "self", NULL
14091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightUp",kwnames
,&obj0
)) goto fail
;
14092 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14093 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14096 result
= (bool)((wxMouseEvent
const *)arg1
)->RightUp();
14098 wxPyEndAllowThreads(__tstate
);
14099 if (PyErr_Occurred()) SWIG_fail
;
14102 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14110 static PyObject
*_wrap_MouseEvent_LeftDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14111 PyObject
*resultobj
;
14112 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14114 PyObject
* obj0
= 0 ;
14115 char *kwnames
[] = {
14116 (char *) "self", NULL
14119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftDClick",kwnames
,&obj0
)) goto fail
;
14120 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14121 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14124 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDClick();
14126 wxPyEndAllowThreads(__tstate
);
14127 if (PyErr_Occurred()) SWIG_fail
;
14130 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14138 static PyObject
*_wrap_MouseEvent_MiddleDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14139 PyObject
*resultobj
;
14140 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14142 PyObject
* obj0
= 0 ;
14143 char *kwnames
[] = {
14144 (char *) "self", NULL
14147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleDClick",kwnames
,&obj0
)) goto fail
;
14148 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14149 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14152 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDClick();
14154 wxPyEndAllowThreads(__tstate
);
14155 if (PyErr_Occurred()) SWIG_fail
;
14158 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14166 static PyObject
*_wrap_MouseEvent_RightDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14167 PyObject
*resultobj
;
14168 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14170 PyObject
* obj0
= 0 ;
14171 char *kwnames
[] = {
14172 (char *) "self", NULL
14175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightDClick",kwnames
,&obj0
)) goto fail
;
14176 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14177 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14180 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDClick();
14182 wxPyEndAllowThreads(__tstate
);
14183 if (PyErr_Occurred()) SWIG_fail
;
14186 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14194 static PyObject
*_wrap_MouseEvent_LeftIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14195 PyObject
*resultobj
;
14196 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14198 PyObject
* obj0
= 0 ;
14199 char *kwnames
[] = {
14200 (char *) "self", NULL
14203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftIsDown",kwnames
,&obj0
)) goto fail
;
14204 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14205 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14208 result
= (bool)(arg1
)->LeftIsDown();
14210 wxPyEndAllowThreads(__tstate
);
14211 if (PyErr_Occurred()) SWIG_fail
;
14214 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14222 static PyObject
*_wrap_MouseEvent_MiddleIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14223 PyObject
*resultobj
;
14224 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14226 PyObject
* obj0
= 0 ;
14227 char *kwnames
[] = {
14228 (char *) "self", NULL
14231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleIsDown",kwnames
,&obj0
)) goto fail
;
14232 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14233 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14236 result
= (bool)(arg1
)->MiddleIsDown();
14238 wxPyEndAllowThreads(__tstate
);
14239 if (PyErr_Occurred()) SWIG_fail
;
14242 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14250 static PyObject
*_wrap_MouseEvent_RightIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14251 PyObject
*resultobj
;
14252 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14254 PyObject
* obj0
= 0 ;
14255 char *kwnames
[] = {
14256 (char *) "self", NULL
14259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightIsDown",kwnames
,&obj0
)) goto fail
;
14260 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14261 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14264 result
= (bool)(arg1
)->RightIsDown();
14266 wxPyEndAllowThreads(__tstate
);
14267 if (PyErr_Occurred()) SWIG_fail
;
14270 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14278 static PyObject
*_wrap_MouseEvent_Dragging(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14279 PyObject
*resultobj
;
14280 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14282 PyObject
* obj0
= 0 ;
14283 char *kwnames
[] = {
14284 (char *) "self", NULL
14287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Dragging",kwnames
,&obj0
)) goto fail
;
14288 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14289 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14292 result
= (bool)((wxMouseEvent
const *)arg1
)->Dragging();
14294 wxPyEndAllowThreads(__tstate
);
14295 if (PyErr_Occurred()) SWIG_fail
;
14298 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14306 static PyObject
*_wrap_MouseEvent_Moving(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14307 PyObject
*resultobj
;
14308 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14310 PyObject
* obj0
= 0 ;
14311 char *kwnames
[] = {
14312 (char *) "self", NULL
14315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Moving",kwnames
,&obj0
)) goto fail
;
14316 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14317 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14320 result
= (bool)((wxMouseEvent
const *)arg1
)->Moving();
14322 wxPyEndAllowThreads(__tstate
);
14323 if (PyErr_Occurred()) SWIG_fail
;
14326 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14334 static PyObject
*_wrap_MouseEvent_Entering(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14335 PyObject
*resultobj
;
14336 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14338 PyObject
* obj0
= 0 ;
14339 char *kwnames
[] = {
14340 (char *) "self", NULL
14343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Entering",kwnames
,&obj0
)) goto fail
;
14344 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14345 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14348 result
= (bool)((wxMouseEvent
const *)arg1
)->Entering();
14350 wxPyEndAllowThreads(__tstate
);
14351 if (PyErr_Occurred()) SWIG_fail
;
14354 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14362 static PyObject
*_wrap_MouseEvent_Leaving(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14363 PyObject
*resultobj
;
14364 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14366 PyObject
* obj0
= 0 ;
14367 char *kwnames
[] = {
14368 (char *) "self", NULL
14371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Leaving",kwnames
,&obj0
)) goto fail
;
14372 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14373 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14376 result
= (bool)((wxMouseEvent
const *)arg1
)->Leaving();
14378 wxPyEndAllowThreads(__tstate
);
14379 if (PyErr_Occurred()) SWIG_fail
;
14382 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14390 static PyObject
*_wrap_MouseEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14391 PyObject
*resultobj
;
14392 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14394 PyObject
* obj0
= 0 ;
14395 char *kwnames
[] = {
14396 (char *) "self", NULL
14399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
14400 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14401 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14404 result
= (arg1
)->GetPosition();
14406 wxPyEndAllowThreads(__tstate
);
14407 if (PyErr_Occurred()) SWIG_fail
;
14410 wxPoint
* resultptr
;
14411 resultptr
= new wxPoint((wxPoint
&) result
);
14412 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
14420 static PyObject
*_wrap_MouseEvent_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14421 PyObject
*resultobj
;
14422 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14423 long *arg2
= (long *) 0 ;
14424 long *arg3
= (long *) 0 ;
14427 PyObject
* obj0
= 0 ;
14428 char *kwnames
[] = {
14429 (char *) "self", NULL
14434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
14435 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14436 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14439 (arg1
)->GetPosition(arg2
,arg3
);
14441 wxPyEndAllowThreads(__tstate
);
14442 if (PyErr_Occurred()) SWIG_fail
;
14444 Py_INCREF(Py_None
); resultobj
= Py_None
;
14446 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
14447 resultobj
= t_output_helper(resultobj
,o
);
14450 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
14451 resultobj
= t_output_helper(resultobj
,o
);
14459 static PyObject
*_wrap_MouseEvent_GetLogicalPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14460 PyObject
*resultobj
;
14461 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14464 PyObject
* obj0
= 0 ;
14465 PyObject
* obj1
= 0 ;
14466 char *kwnames
[] = {
14467 (char *) "self",(char *) "dc", NULL
14470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_GetLogicalPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
14471 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14472 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14473 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
14474 SWIG_POINTER_EXCEPTION
| 0)) == -1)
14476 if (arg2
== NULL
) {
14477 PyErr_SetString(PyExc_TypeError
,"null reference");
14481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14482 result
= ((wxMouseEvent
const *)arg1
)->GetLogicalPosition((wxDC
const &)*arg2
);
14484 wxPyEndAllowThreads(__tstate
);
14485 if (PyErr_Occurred()) SWIG_fail
;
14488 wxPoint
* resultptr
;
14489 resultptr
= new wxPoint((wxPoint
&) result
);
14490 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
14498 static PyObject
*_wrap_MouseEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14499 PyObject
*resultobj
;
14500 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14502 PyObject
* obj0
= 0 ;
14503 char *kwnames
[] = {
14504 (char *) "self", NULL
14507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetX",kwnames
,&obj0
)) goto fail
;
14508 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14509 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14512 result
= (int)((wxMouseEvent
const *)arg1
)->GetX();
14514 wxPyEndAllowThreads(__tstate
);
14515 if (PyErr_Occurred()) SWIG_fail
;
14517 resultobj
= SWIG_FromInt((int)result
);
14524 static PyObject
*_wrap_MouseEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14525 PyObject
*resultobj
;
14526 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14528 PyObject
* obj0
= 0 ;
14529 char *kwnames
[] = {
14530 (char *) "self", NULL
14533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetY",kwnames
,&obj0
)) goto fail
;
14534 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14535 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14538 result
= (int)((wxMouseEvent
const *)arg1
)->GetY();
14540 wxPyEndAllowThreads(__tstate
);
14541 if (PyErr_Occurred()) SWIG_fail
;
14543 resultobj
= SWIG_FromInt((int)result
);
14550 static PyObject
*_wrap_MouseEvent_GetWheelRotation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14551 PyObject
*resultobj
;
14552 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14554 PyObject
* obj0
= 0 ;
14555 char *kwnames
[] = {
14556 (char *) "self", NULL
14559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetWheelRotation",kwnames
,&obj0
)) goto fail
;
14560 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14561 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14564 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelRotation();
14566 wxPyEndAllowThreads(__tstate
);
14567 if (PyErr_Occurred()) SWIG_fail
;
14569 resultobj
= SWIG_FromInt((int)result
);
14576 static PyObject
*_wrap_MouseEvent_GetWheelDelta(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14577 PyObject
*resultobj
;
14578 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14580 PyObject
* obj0
= 0 ;
14581 char *kwnames
[] = {
14582 (char *) "self", NULL
14585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetWheelDelta",kwnames
,&obj0
)) goto fail
;
14586 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14587 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14590 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelDelta();
14592 wxPyEndAllowThreads(__tstate
);
14593 if (PyErr_Occurred()) SWIG_fail
;
14595 resultobj
= SWIG_FromInt((int)result
);
14602 static PyObject
*_wrap_MouseEvent_GetLinesPerAction(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14603 PyObject
*resultobj
;
14604 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14606 PyObject
* obj0
= 0 ;
14607 char *kwnames
[] = {
14608 (char *) "self", NULL
14611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetLinesPerAction",kwnames
,&obj0
)) goto fail
;
14612 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14613 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14616 result
= (int)((wxMouseEvent
const *)arg1
)->GetLinesPerAction();
14618 wxPyEndAllowThreads(__tstate
);
14619 if (PyErr_Occurred()) SWIG_fail
;
14621 resultobj
= SWIG_FromInt((int)result
);
14628 static PyObject
*_wrap_MouseEvent_IsPageScroll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14629 PyObject
*resultobj
;
14630 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14632 PyObject
* obj0
= 0 ;
14633 char *kwnames
[] = {
14634 (char *) "self", NULL
14637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_IsPageScroll",kwnames
,&obj0
)) goto fail
;
14638 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14639 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14642 result
= (bool)((wxMouseEvent
const *)arg1
)->IsPageScroll();
14644 wxPyEndAllowThreads(__tstate
);
14645 if (PyErr_Occurred()) SWIG_fail
;
14648 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14656 static PyObject
*_wrap_MouseEvent_m_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14657 PyObject
*resultobj
;
14658 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14660 PyObject
* obj0
= 0 ;
14661 PyObject
* obj1
= 0 ;
14662 char *kwnames
[] = {
14663 (char *) "self",(char *) "m_x", NULL
14666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14667 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14668 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14669 arg2
= (int) SWIG_AsInt(obj1
);
14670 if (PyErr_Occurred()) SWIG_fail
;
14671 if (arg1
) (arg1
)->m_x
= arg2
;
14673 Py_INCREF(Py_None
); resultobj
= Py_None
;
14680 static PyObject
*_wrap_MouseEvent_m_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14681 PyObject
*resultobj
;
14682 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14684 PyObject
* obj0
= 0 ;
14685 char *kwnames
[] = {
14686 (char *) "self", NULL
14689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_x_get",kwnames
,&obj0
)) goto fail
;
14690 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14691 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14692 result
= (int) ((arg1
)->m_x
);
14694 resultobj
= SWIG_FromInt((int)result
);
14701 static PyObject
*_wrap_MouseEvent_m_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14702 PyObject
*resultobj
;
14703 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14705 PyObject
* obj0
= 0 ;
14706 PyObject
* obj1
= 0 ;
14707 char *kwnames
[] = {
14708 (char *) "self",(char *) "m_y", NULL
14711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14712 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14713 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14714 arg2
= (int) SWIG_AsInt(obj1
);
14715 if (PyErr_Occurred()) SWIG_fail
;
14716 if (arg1
) (arg1
)->m_y
= arg2
;
14718 Py_INCREF(Py_None
); resultobj
= Py_None
;
14725 static PyObject
*_wrap_MouseEvent_m_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14726 PyObject
*resultobj
;
14727 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14729 PyObject
* obj0
= 0 ;
14730 char *kwnames
[] = {
14731 (char *) "self", NULL
14734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_y_get",kwnames
,&obj0
)) goto fail
;
14735 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14736 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14737 result
= (int) ((arg1
)->m_y
);
14739 resultobj
= SWIG_FromInt((int)result
);
14746 static PyObject
*_wrap_MouseEvent_m_leftDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14747 PyObject
*resultobj
;
14748 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14750 PyObject
* obj0
= 0 ;
14751 PyObject
* obj1
= 0 ;
14752 char *kwnames
[] = {
14753 (char *) "self",(char *) "m_leftDown", NULL
14756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_leftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14757 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14758 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14759 arg2
= (bool) SWIG_AsBool(obj1
);
14760 if (PyErr_Occurred()) SWIG_fail
;
14761 if (arg1
) (arg1
)->m_leftDown
= arg2
;
14763 Py_INCREF(Py_None
); resultobj
= Py_None
;
14770 static PyObject
*_wrap_MouseEvent_m_leftDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14771 PyObject
*resultobj
;
14772 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14774 PyObject
* obj0
= 0 ;
14775 char *kwnames
[] = {
14776 (char *) "self", NULL
14779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_leftDown_get",kwnames
,&obj0
)) goto fail
;
14780 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14781 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14782 result
= (bool) ((arg1
)->m_leftDown
);
14785 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14793 static PyObject
*_wrap_MouseEvent_m_middleDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14794 PyObject
*resultobj
;
14795 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14797 PyObject
* obj0
= 0 ;
14798 PyObject
* obj1
= 0 ;
14799 char *kwnames
[] = {
14800 (char *) "self",(char *) "m_middleDown", NULL
14803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_middleDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14804 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14805 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14806 arg2
= (bool) SWIG_AsBool(obj1
);
14807 if (PyErr_Occurred()) SWIG_fail
;
14808 if (arg1
) (arg1
)->m_middleDown
= arg2
;
14810 Py_INCREF(Py_None
); resultobj
= Py_None
;
14817 static PyObject
*_wrap_MouseEvent_m_middleDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14818 PyObject
*resultobj
;
14819 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14821 PyObject
* obj0
= 0 ;
14822 char *kwnames
[] = {
14823 (char *) "self", NULL
14826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_middleDown_get",kwnames
,&obj0
)) goto fail
;
14827 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14828 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14829 result
= (bool) ((arg1
)->m_middleDown
);
14832 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14840 static PyObject
*_wrap_MouseEvent_m_rightDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14841 PyObject
*resultobj
;
14842 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14844 PyObject
* obj0
= 0 ;
14845 PyObject
* obj1
= 0 ;
14846 char *kwnames
[] = {
14847 (char *) "self",(char *) "m_rightDown", NULL
14850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_rightDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14851 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14852 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14853 arg2
= (bool) SWIG_AsBool(obj1
);
14854 if (PyErr_Occurred()) SWIG_fail
;
14855 if (arg1
) (arg1
)->m_rightDown
= arg2
;
14857 Py_INCREF(Py_None
); resultobj
= Py_None
;
14864 static PyObject
*_wrap_MouseEvent_m_rightDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14865 PyObject
*resultobj
;
14866 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14868 PyObject
* obj0
= 0 ;
14869 char *kwnames
[] = {
14870 (char *) "self", NULL
14873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_rightDown_get",kwnames
,&obj0
)) goto fail
;
14874 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14875 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14876 result
= (bool) ((arg1
)->m_rightDown
);
14879 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14887 static PyObject
*_wrap_MouseEvent_m_controlDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14888 PyObject
*resultobj
;
14889 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14891 PyObject
* obj0
= 0 ;
14892 PyObject
* obj1
= 0 ;
14893 char *kwnames
[] = {
14894 (char *) "self",(char *) "m_controlDown", NULL
14897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_controlDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14898 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14899 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14900 arg2
= (bool) SWIG_AsBool(obj1
);
14901 if (PyErr_Occurred()) SWIG_fail
;
14902 if (arg1
) (arg1
)->m_controlDown
= arg2
;
14904 Py_INCREF(Py_None
); resultobj
= Py_None
;
14911 static PyObject
*_wrap_MouseEvent_m_controlDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14912 PyObject
*resultobj
;
14913 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14915 PyObject
* obj0
= 0 ;
14916 char *kwnames
[] = {
14917 (char *) "self", NULL
14920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_controlDown_get",kwnames
,&obj0
)) goto fail
;
14921 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14923 result
= (bool) ((arg1
)->m_controlDown
);
14926 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14934 static PyObject
*_wrap_MouseEvent_m_shiftDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14935 PyObject
*resultobj
;
14936 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14938 PyObject
* obj0
= 0 ;
14939 PyObject
* obj1
= 0 ;
14940 char *kwnames
[] = {
14941 (char *) "self",(char *) "m_shiftDown", NULL
14944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_shiftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14945 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14946 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14947 arg2
= (bool) SWIG_AsBool(obj1
);
14948 if (PyErr_Occurred()) SWIG_fail
;
14949 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
14951 Py_INCREF(Py_None
); resultobj
= Py_None
;
14958 static PyObject
*_wrap_MouseEvent_m_shiftDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14959 PyObject
*resultobj
;
14960 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14962 PyObject
* obj0
= 0 ;
14963 char *kwnames
[] = {
14964 (char *) "self", NULL
14967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_shiftDown_get",kwnames
,&obj0
)) goto fail
;
14968 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14969 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14970 result
= (bool) ((arg1
)->m_shiftDown
);
14973 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14981 static PyObject
*_wrap_MouseEvent_m_altDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14982 PyObject
*resultobj
;
14983 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14985 PyObject
* obj0
= 0 ;
14986 PyObject
* obj1
= 0 ;
14987 char *kwnames
[] = {
14988 (char *) "self",(char *) "m_altDown", NULL
14991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_altDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14992 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14993 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14994 arg2
= (bool) SWIG_AsBool(obj1
);
14995 if (PyErr_Occurred()) SWIG_fail
;
14996 if (arg1
) (arg1
)->m_altDown
= arg2
;
14998 Py_INCREF(Py_None
); resultobj
= Py_None
;
15005 static PyObject
*_wrap_MouseEvent_m_altDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15006 PyObject
*resultobj
;
15007 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15009 PyObject
* obj0
= 0 ;
15010 char *kwnames
[] = {
15011 (char *) "self", NULL
15014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_altDown_get",kwnames
,&obj0
)) goto fail
;
15015 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15016 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15017 result
= (bool) ((arg1
)->m_altDown
);
15020 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15028 static PyObject
*_wrap_MouseEvent_m_metaDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15029 PyObject
*resultobj
;
15030 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15032 PyObject
* obj0
= 0 ;
15033 PyObject
* obj1
= 0 ;
15034 char *kwnames
[] = {
15035 (char *) "self",(char *) "m_metaDown", NULL
15038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_metaDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15039 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15040 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15041 arg2
= (bool) SWIG_AsBool(obj1
);
15042 if (PyErr_Occurred()) SWIG_fail
;
15043 if (arg1
) (arg1
)->m_metaDown
= arg2
;
15045 Py_INCREF(Py_None
); resultobj
= Py_None
;
15052 static PyObject
*_wrap_MouseEvent_m_metaDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15053 PyObject
*resultobj
;
15054 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15056 PyObject
* obj0
= 0 ;
15057 char *kwnames
[] = {
15058 (char *) "self", NULL
15061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_metaDown_get",kwnames
,&obj0
)) goto fail
;
15062 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15063 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15064 result
= (bool) ((arg1
)->m_metaDown
);
15067 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15075 static PyObject
*_wrap_MouseEvent_m_wheelRotation_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15076 PyObject
*resultobj
;
15077 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15079 PyObject
* obj0
= 0 ;
15080 PyObject
* obj1
= 0 ;
15081 char *kwnames
[] = {
15082 (char *) "self",(char *) "m_wheelRotation", NULL
15085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_wheelRotation_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15086 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15087 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15088 arg2
= (int) SWIG_AsInt(obj1
);
15089 if (PyErr_Occurred()) SWIG_fail
;
15090 if (arg1
) (arg1
)->m_wheelRotation
= arg2
;
15092 Py_INCREF(Py_None
); resultobj
= Py_None
;
15099 static PyObject
*_wrap_MouseEvent_m_wheelRotation_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15100 PyObject
*resultobj
;
15101 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15103 PyObject
* obj0
= 0 ;
15104 char *kwnames
[] = {
15105 (char *) "self", NULL
15108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_wheelRotation_get",kwnames
,&obj0
)) goto fail
;
15109 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15110 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15111 result
= (int) ((arg1
)->m_wheelRotation
);
15113 resultobj
= SWIG_FromInt((int)result
);
15120 static PyObject
*_wrap_MouseEvent_m_wheelDelta_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15121 PyObject
*resultobj
;
15122 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15124 PyObject
* obj0
= 0 ;
15125 PyObject
* obj1
= 0 ;
15126 char *kwnames
[] = {
15127 (char *) "self",(char *) "m_wheelDelta", NULL
15130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_wheelDelta_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15131 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15132 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15133 arg2
= (int) SWIG_AsInt(obj1
);
15134 if (PyErr_Occurred()) SWIG_fail
;
15135 if (arg1
) (arg1
)->m_wheelDelta
= arg2
;
15137 Py_INCREF(Py_None
); resultobj
= Py_None
;
15144 static PyObject
*_wrap_MouseEvent_m_wheelDelta_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15145 PyObject
*resultobj
;
15146 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15148 PyObject
* obj0
= 0 ;
15149 char *kwnames
[] = {
15150 (char *) "self", NULL
15153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_wheelDelta_get",kwnames
,&obj0
)) goto fail
;
15154 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15155 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15156 result
= (int) ((arg1
)->m_wheelDelta
);
15158 resultobj
= SWIG_FromInt((int)result
);
15165 static PyObject
*_wrap_MouseEvent_m_linesPerAction_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15166 PyObject
*resultobj
;
15167 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15169 PyObject
* obj0
= 0 ;
15170 PyObject
* obj1
= 0 ;
15171 char *kwnames
[] = {
15172 (char *) "self",(char *) "m_linesPerAction", NULL
15175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_linesPerAction_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15176 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15177 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15178 arg2
= (int) SWIG_AsInt(obj1
);
15179 if (PyErr_Occurred()) SWIG_fail
;
15180 if (arg1
) (arg1
)->m_linesPerAction
= arg2
;
15182 Py_INCREF(Py_None
); resultobj
= Py_None
;
15189 static PyObject
*_wrap_MouseEvent_m_linesPerAction_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15190 PyObject
*resultobj
;
15191 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15193 PyObject
* obj0
= 0 ;
15194 char *kwnames
[] = {
15195 (char *) "self", NULL
15198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_linesPerAction_get",kwnames
,&obj0
)) goto fail
;
15199 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15200 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15201 result
= (int) ((arg1
)->m_linesPerAction
);
15203 resultobj
= SWIG_FromInt((int)result
);
15210 static PyObject
* MouseEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15212 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15213 SWIG_TypeClientData(SWIGTYPE_p_wxMouseEvent
, obj
);
15215 return Py_BuildValue((char *)"");
15217 static PyObject
*_wrap_new_SetCursorEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15218 PyObject
*resultobj
;
15219 int arg1
= (int) 0 ;
15220 int arg2
= (int) 0 ;
15221 wxSetCursorEvent
*result
;
15222 PyObject
* obj0
= 0 ;
15223 PyObject
* obj1
= 0 ;
15224 char *kwnames
[] = {
15225 (char *) "x",(char *) "y", NULL
15228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SetCursorEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
15230 arg1
= (int) SWIG_AsInt(obj0
);
15231 if (PyErr_Occurred()) SWIG_fail
;
15234 arg2
= (int) SWIG_AsInt(obj1
);
15235 if (PyErr_Occurred()) SWIG_fail
;
15238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15239 result
= (wxSetCursorEvent
*)new wxSetCursorEvent(arg1
,arg2
);
15241 wxPyEndAllowThreads(__tstate
);
15242 if (PyErr_Occurred()) SWIG_fail
;
15244 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSetCursorEvent
, 1);
15251 static PyObject
*_wrap_SetCursorEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15252 PyObject
*resultobj
;
15253 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15255 PyObject
* obj0
= 0 ;
15256 char *kwnames
[] = {
15257 (char *) "self", NULL
15260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetX",kwnames
,&obj0
)) goto fail
;
15261 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15262 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15265 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetX();
15267 wxPyEndAllowThreads(__tstate
);
15268 if (PyErr_Occurred()) SWIG_fail
;
15270 resultobj
= SWIG_FromInt((int)result
);
15277 static PyObject
*_wrap_SetCursorEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15278 PyObject
*resultobj
;
15279 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15281 PyObject
* obj0
= 0 ;
15282 char *kwnames
[] = {
15283 (char *) "self", NULL
15286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetY",kwnames
,&obj0
)) goto fail
;
15287 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15288 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15291 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetY();
15293 wxPyEndAllowThreads(__tstate
);
15294 if (PyErr_Occurred()) SWIG_fail
;
15296 resultobj
= SWIG_FromInt((int)result
);
15303 static PyObject
*_wrap_SetCursorEvent_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15304 PyObject
*resultobj
;
15305 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15306 wxCursor
*arg2
= 0 ;
15307 PyObject
* obj0
= 0 ;
15308 PyObject
* obj1
= 0 ;
15309 char *kwnames
[] = {
15310 (char *) "self",(char *) "cursor", NULL
15313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SetCursorEvent_SetCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
15314 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15315 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15316 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
15317 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15319 if (arg2
== NULL
) {
15320 PyErr_SetString(PyExc_TypeError
,"null reference");
15324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15325 (arg1
)->SetCursor((wxCursor
const &)*arg2
);
15327 wxPyEndAllowThreads(__tstate
);
15328 if (PyErr_Occurred()) SWIG_fail
;
15330 Py_INCREF(Py_None
); resultobj
= Py_None
;
15337 static PyObject
*_wrap_SetCursorEvent_GetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15338 PyObject
*resultobj
;
15339 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15341 PyObject
* obj0
= 0 ;
15342 char *kwnames
[] = {
15343 (char *) "self", NULL
15346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetCursor",kwnames
,&obj0
)) goto fail
;
15347 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15348 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15352 wxCursor
const &_result_ref
= ((wxSetCursorEvent
const *)arg1
)->GetCursor();
15353 result
= (wxCursor
*) &_result_ref
;
15356 wxPyEndAllowThreads(__tstate
);
15357 if (PyErr_Occurred()) SWIG_fail
;
15360 wxCursor
* resultptr
= new wxCursor(*result
);
15361 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxCursor
, 1);
15369 static PyObject
*_wrap_SetCursorEvent_HasCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15370 PyObject
*resultobj
;
15371 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15373 PyObject
* obj0
= 0 ;
15374 char *kwnames
[] = {
15375 (char *) "self", NULL
15378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_HasCursor",kwnames
,&obj0
)) goto fail
;
15379 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15380 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15383 result
= (bool)((wxSetCursorEvent
const *)arg1
)->HasCursor();
15385 wxPyEndAllowThreads(__tstate
);
15386 if (PyErr_Occurred()) SWIG_fail
;
15389 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15397 static PyObject
* SetCursorEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15399 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15400 SWIG_TypeClientData(SWIGTYPE_p_wxSetCursorEvent
, obj
);
15402 return Py_BuildValue((char *)"");
15404 static PyObject
*_wrap_new_KeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15405 PyObject
*resultobj
;
15406 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15407 wxKeyEvent
*result
;
15408 PyObject
* obj0
= 0 ;
15409 char *kwnames
[] = {
15410 (char *) "keyType", NULL
15413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_KeyEvent",kwnames
,&obj0
)) goto fail
;
15415 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
15416 if (PyErr_Occurred()) SWIG_fail
;
15419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15420 result
= (wxKeyEvent
*)new wxKeyEvent(arg1
);
15422 wxPyEndAllowThreads(__tstate
);
15423 if (PyErr_Occurred()) SWIG_fail
;
15425 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxKeyEvent
, 1);
15432 static PyObject
*_wrap_KeyEvent_ControlDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15433 PyObject
*resultobj
;
15434 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15436 PyObject
* obj0
= 0 ;
15437 char *kwnames
[] = {
15438 (char *) "self", NULL
15441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
15442 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15443 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15446 result
= (bool)((wxKeyEvent
const *)arg1
)->ControlDown();
15448 wxPyEndAllowThreads(__tstate
);
15449 if (PyErr_Occurred()) SWIG_fail
;
15452 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15460 static PyObject
*_wrap_KeyEvent_MetaDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15461 PyObject
*resultobj
;
15462 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15464 PyObject
* obj0
= 0 ;
15465 char *kwnames
[] = {
15466 (char *) "self", NULL
15469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
15470 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15471 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15474 result
= (bool)((wxKeyEvent
const *)arg1
)->MetaDown();
15476 wxPyEndAllowThreads(__tstate
);
15477 if (PyErr_Occurred()) SWIG_fail
;
15480 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15488 static PyObject
*_wrap_KeyEvent_AltDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15489 PyObject
*resultobj
;
15490 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15492 PyObject
* obj0
= 0 ;
15493 char *kwnames
[] = {
15494 (char *) "self", NULL
15497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_AltDown",kwnames
,&obj0
)) goto fail
;
15498 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15499 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15502 result
= (bool)((wxKeyEvent
const *)arg1
)->AltDown();
15504 wxPyEndAllowThreads(__tstate
);
15505 if (PyErr_Occurred()) SWIG_fail
;
15508 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15516 static PyObject
*_wrap_KeyEvent_ShiftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15517 PyObject
*resultobj
;
15518 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15520 PyObject
* obj0
= 0 ;
15521 char *kwnames
[] = {
15522 (char *) "self", NULL
15525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
15526 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15527 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15530 result
= (bool)((wxKeyEvent
const *)arg1
)->ShiftDown();
15532 wxPyEndAllowThreads(__tstate
);
15533 if (PyErr_Occurred()) SWIG_fail
;
15536 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15544 static PyObject
*_wrap_KeyEvent_HasModifiers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15545 PyObject
*resultobj
;
15546 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15548 PyObject
* obj0
= 0 ;
15549 char *kwnames
[] = {
15550 (char *) "self", NULL
15553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_HasModifiers",kwnames
,&obj0
)) goto fail
;
15554 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15555 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15558 result
= (bool)((wxKeyEvent
const *)arg1
)->HasModifiers();
15560 wxPyEndAllowThreads(__tstate
);
15561 if (PyErr_Occurred()) SWIG_fail
;
15564 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15572 static PyObject
*_wrap_KeyEvent_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15573 PyObject
*resultobj
;
15574 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15576 PyObject
* obj0
= 0 ;
15577 char *kwnames
[] = {
15578 (char *) "self", NULL
15581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
15582 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15583 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15586 result
= (int)((wxKeyEvent
const *)arg1
)->GetKeyCode();
15588 wxPyEndAllowThreads(__tstate
);
15589 if (PyErr_Occurred()) SWIG_fail
;
15591 resultobj
= SWIG_FromInt((int)result
);
15598 static PyObject
*_wrap_KeyEvent_GetUniChar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15599 PyObject
*resultobj
;
15600 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15602 PyObject
* obj0
= 0 ;
15603 char *kwnames
[] = {
15604 (char *) "self", NULL
15607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetUniChar",kwnames
,&obj0
)) goto fail
;
15608 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15609 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15612 result
= (int)wxKeyEvent_GetUniChar(arg1
);
15614 wxPyEndAllowThreads(__tstate
);
15615 if (PyErr_Occurred()) SWIG_fail
;
15617 resultobj
= SWIG_FromInt((int)result
);
15624 static PyObject
*_wrap_KeyEvent_GetRawKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15625 PyObject
*resultobj
;
15626 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15627 unsigned int result
;
15628 PyObject
* obj0
= 0 ;
15629 char *kwnames
[] = {
15630 (char *) "self", NULL
15633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetRawKeyCode",kwnames
,&obj0
)) goto fail
;
15634 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15635 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15638 result
= (unsigned int)((wxKeyEvent
const *)arg1
)->GetRawKeyCode();
15640 wxPyEndAllowThreads(__tstate
);
15641 if (PyErr_Occurred()) SWIG_fail
;
15643 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
15650 static PyObject
*_wrap_KeyEvent_GetRawKeyFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15651 PyObject
*resultobj
;
15652 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15653 unsigned int result
;
15654 PyObject
* obj0
= 0 ;
15655 char *kwnames
[] = {
15656 (char *) "self", NULL
15659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetRawKeyFlags",kwnames
,&obj0
)) goto fail
;
15660 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15661 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15664 result
= (unsigned int)((wxKeyEvent
const *)arg1
)->GetRawKeyFlags();
15666 wxPyEndAllowThreads(__tstate
);
15667 if (PyErr_Occurred()) SWIG_fail
;
15669 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
15676 static PyObject
*_wrap_KeyEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15677 PyObject
*resultobj
;
15678 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15680 PyObject
* obj0
= 0 ;
15681 char *kwnames
[] = {
15682 (char *) "self", NULL
15685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
15686 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15687 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15690 result
= (arg1
)->GetPosition();
15692 wxPyEndAllowThreads(__tstate
);
15693 if (PyErr_Occurred()) SWIG_fail
;
15696 wxPoint
* resultptr
;
15697 resultptr
= new wxPoint((wxPoint
&) result
);
15698 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
15706 static PyObject
*_wrap_KeyEvent_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15707 PyObject
*resultobj
;
15708 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15709 long *arg2
= (long *) 0 ;
15710 long *arg3
= (long *) 0 ;
15713 PyObject
* obj0
= 0 ;
15714 char *kwnames
[] = {
15715 (char *) "self", NULL
15720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
15721 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15722 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15725 (arg1
)->GetPosition(arg2
,arg3
);
15727 wxPyEndAllowThreads(__tstate
);
15728 if (PyErr_Occurred()) SWIG_fail
;
15730 Py_INCREF(Py_None
); resultobj
= Py_None
;
15732 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
15733 resultobj
= t_output_helper(resultobj
,o
);
15736 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15737 resultobj
= t_output_helper(resultobj
,o
);
15745 static PyObject
*_wrap_KeyEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15746 PyObject
*resultobj
;
15747 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15749 PyObject
* obj0
= 0 ;
15750 char *kwnames
[] = {
15751 (char *) "self", NULL
15754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetX",kwnames
,&obj0
)) goto fail
;
15755 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15759 result
= (int)((wxKeyEvent
const *)arg1
)->GetX();
15761 wxPyEndAllowThreads(__tstate
);
15762 if (PyErr_Occurred()) SWIG_fail
;
15764 resultobj
= SWIG_FromInt((int)result
);
15771 static PyObject
*_wrap_KeyEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15772 PyObject
*resultobj
;
15773 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15775 PyObject
* obj0
= 0 ;
15776 char *kwnames
[] = {
15777 (char *) "self", NULL
15780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetY",kwnames
,&obj0
)) goto fail
;
15781 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15782 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15785 result
= (int)((wxKeyEvent
const *)arg1
)->GetY();
15787 wxPyEndAllowThreads(__tstate
);
15788 if (PyErr_Occurred()) SWIG_fail
;
15790 resultobj
= SWIG_FromInt((int)result
);
15797 static PyObject
*_wrap_KeyEvent_m_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15798 PyObject
*resultobj
;
15799 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15801 PyObject
* obj0
= 0 ;
15802 PyObject
* obj1
= 0 ;
15803 char *kwnames
[] = {
15804 (char *) "self",(char *) "m_x", NULL
15807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15808 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15809 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15810 arg2
= (int) SWIG_AsInt(obj1
);
15811 if (PyErr_Occurred()) SWIG_fail
;
15812 if (arg1
) (arg1
)->m_x
= arg2
;
15814 Py_INCREF(Py_None
); resultobj
= Py_None
;
15821 static PyObject
*_wrap_KeyEvent_m_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15822 PyObject
*resultobj
;
15823 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15825 PyObject
* obj0
= 0 ;
15826 char *kwnames
[] = {
15827 (char *) "self", NULL
15830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_x_get",kwnames
,&obj0
)) goto fail
;
15831 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15832 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15833 result
= (int) ((arg1
)->m_x
);
15835 resultobj
= SWIG_FromInt((int)result
);
15842 static PyObject
*_wrap_KeyEvent_m_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15843 PyObject
*resultobj
;
15844 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15846 PyObject
* obj0
= 0 ;
15847 PyObject
* obj1
= 0 ;
15848 char *kwnames
[] = {
15849 (char *) "self",(char *) "m_y", NULL
15852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15853 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15854 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15855 arg2
= (int) SWIG_AsInt(obj1
);
15856 if (PyErr_Occurred()) SWIG_fail
;
15857 if (arg1
) (arg1
)->m_y
= arg2
;
15859 Py_INCREF(Py_None
); resultobj
= Py_None
;
15866 static PyObject
*_wrap_KeyEvent_m_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15867 PyObject
*resultobj
;
15868 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15870 PyObject
* obj0
= 0 ;
15871 char *kwnames
[] = {
15872 (char *) "self", NULL
15875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_y_get",kwnames
,&obj0
)) goto fail
;
15876 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15877 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15878 result
= (int) ((arg1
)->m_y
);
15880 resultobj
= SWIG_FromInt((int)result
);
15887 static PyObject
*_wrap_KeyEvent_m_keyCode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15888 PyObject
*resultobj
;
15889 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15891 PyObject
* obj0
= 0 ;
15892 PyObject
* obj1
= 0 ;
15893 char *kwnames
[] = {
15894 (char *) "self",(char *) "m_keyCode", NULL
15897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_keyCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15898 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15899 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15900 arg2
= (long) SWIG_AsLong(obj1
);
15901 if (PyErr_Occurred()) SWIG_fail
;
15902 if (arg1
) (arg1
)->m_keyCode
= arg2
;
15904 Py_INCREF(Py_None
); resultobj
= Py_None
;
15911 static PyObject
*_wrap_KeyEvent_m_keyCode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15912 PyObject
*resultobj
;
15913 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15915 PyObject
* obj0
= 0 ;
15916 char *kwnames
[] = {
15917 (char *) "self", NULL
15920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_keyCode_get",kwnames
,&obj0
)) goto fail
;
15921 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15923 result
= (long) ((arg1
)->m_keyCode
);
15925 resultobj
= SWIG_FromLong((long)result
);
15932 static PyObject
*_wrap_KeyEvent_m_controlDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15933 PyObject
*resultobj
;
15934 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15936 PyObject
* obj0
= 0 ;
15937 PyObject
* obj1
= 0 ;
15938 char *kwnames
[] = {
15939 (char *) "self",(char *) "m_controlDown", NULL
15942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_controlDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15943 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15944 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15945 arg2
= (bool) SWIG_AsBool(obj1
);
15946 if (PyErr_Occurred()) SWIG_fail
;
15947 if (arg1
) (arg1
)->m_controlDown
= arg2
;
15949 Py_INCREF(Py_None
); resultobj
= Py_None
;
15956 static PyObject
*_wrap_KeyEvent_m_controlDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15957 PyObject
*resultobj
;
15958 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15960 PyObject
* obj0
= 0 ;
15961 char *kwnames
[] = {
15962 (char *) "self", NULL
15965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_controlDown_get",kwnames
,&obj0
)) goto fail
;
15966 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15967 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15968 result
= (bool) ((arg1
)->m_controlDown
);
15971 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15979 static PyObject
*_wrap_KeyEvent_m_shiftDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15980 PyObject
*resultobj
;
15981 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15983 PyObject
* obj0
= 0 ;
15984 PyObject
* obj1
= 0 ;
15985 char *kwnames
[] = {
15986 (char *) "self",(char *) "m_shiftDown", NULL
15989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_shiftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15990 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15991 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15992 arg2
= (bool) SWIG_AsBool(obj1
);
15993 if (PyErr_Occurred()) SWIG_fail
;
15994 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
15996 Py_INCREF(Py_None
); resultobj
= Py_None
;
16003 static PyObject
*_wrap_KeyEvent_m_shiftDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16004 PyObject
*resultobj
;
16005 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16007 PyObject
* obj0
= 0 ;
16008 char *kwnames
[] = {
16009 (char *) "self", NULL
16012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_shiftDown_get",kwnames
,&obj0
)) goto fail
;
16013 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16014 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16015 result
= (bool) ((arg1
)->m_shiftDown
);
16018 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16026 static PyObject
*_wrap_KeyEvent_m_altDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16027 PyObject
*resultobj
;
16028 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16030 PyObject
* obj0
= 0 ;
16031 PyObject
* obj1
= 0 ;
16032 char *kwnames
[] = {
16033 (char *) "self",(char *) "m_altDown", NULL
16036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_altDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16037 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16038 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16039 arg2
= (bool) SWIG_AsBool(obj1
);
16040 if (PyErr_Occurred()) SWIG_fail
;
16041 if (arg1
) (arg1
)->m_altDown
= arg2
;
16043 Py_INCREF(Py_None
); resultobj
= Py_None
;
16050 static PyObject
*_wrap_KeyEvent_m_altDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16051 PyObject
*resultobj
;
16052 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16054 PyObject
* obj0
= 0 ;
16055 char *kwnames
[] = {
16056 (char *) "self", NULL
16059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_altDown_get",kwnames
,&obj0
)) goto fail
;
16060 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16061 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16062 result
= (bool) ((arg1
)->m_altDown
);
16065 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16073 static PyObject
*_wrap_KeyEvent_m_metaDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16074 PyObject
*resultobj
;
16075 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16077 PyObject
* obj0
= 0 ;
16078 PyObject
* obj1
= 0 ;
16079 char *kwnames
[] = {
16080 (char *) "self",(char *) "m_metaDown", NULL
16083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_metaDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16084 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16085 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16086 arg2
= (bool) SWIG_AsBool(obj1
);
16087 if (PyErr_Occurred()) SWIG_fail
;
16088 if (arg1
) (arg1
)->m_metaDown
= arg2
;
16090 Py_INCREF(Py_None
); resultobj
= Py_None
;
16097 static PyObject
*_wrap_KeyEvent_m_metaDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16098 PyObject
*resultobj
;
16099 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16101 PyObject
* obj0
= 0 ;
16102 char *kwnames
[] = {
16103 (char *) "self", NULL
16106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_metaDown_get",kwnames
,&obj0
)) goto fail
;
16107 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16108 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16109 result
= (bool) ((arg1
)->m_metaDown
);
16112 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16120 static PyObject
*_wrap_KeyEvent_m_scanCode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16121 PyObject
*resultobj
;
16122 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16124 PyObject
* obj0
= 0 ;
16125 PyObject
* obj1
= 0 ;
16126 char *kwnames
[] = {
16127 (char *) "self",(char *) "m_scanCode", NULL
16130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_scanCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16131 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16132 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16133 arg2
= (bool) SWIG_AsBool(obj1
);
16134 if (PyErr_Occurred()) SWIG_fail
;
16135 if (arg1
) (arg1
)->m_scanCode
= arg2
;
16137 Py_INCREF(Py_None
); resultobj
= Py_None
;
16144 static PyObject
*_wrap_KeyEvent_m_scanCode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16145 PyObject
*resultobj
;
16146 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16148 PyObject
* obj0
= 0 ;
16149 char *kwnames
[] = {
16150 (char *) "self", NULL
16153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_scanCode_get",kwnames
,&obj0
)) goto fail
;
16154 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16155 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16156 result
= (bool) ((arg1
)->m_scanCode
);
16159 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16167 static PyObject
*_wrap_KeyEvent_m_rawCode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16168 PyObject
*resultobj
;
16169 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16170 unsigned int arg2
;
16171 PyObject
* obj0
= 0 ;
16172 PyObject
* obj1
= 0 ;
16173 char *kwnames
[] = {
16174 (char *) "self",(char *) "m_rawCode", NULL
16177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_rawCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16178 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16179 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16180 arg2
= (unsigned int) SWIG_AsUnsignedInt(obj1
);
16181 if (PyErr_Occurred()) SWIG_fail
;
16182 if (arg1
) (arg1
)->m_rawCode
= arg2
;
16184 Py_INCREF(Py_None
); resultobj
= Py_None
;
16191 static PyObject
*_wrap_KeyEvent_m_rawCode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16192 PyObject
*resultobj
;
16193 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16194 unsigned int result
;
16195 PyObject
* obj0
= 0 ;
16196 char *kwnames
[] = {
16197 (char *) "self", NULL
16200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_rawCode_get",kwnames
,&obj0
)) goto fail
;
16201 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16202 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16203 result
= (unsigned int) ((arg1
)->m_rawCode
);
16205 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
16212 static PyObject
*_wrap_KeyEvent_m_rawFlags_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16213 PyObject
*resultobj
;
16214 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16215 unsigned int arg2
;
16216 PyObject
* obj0
= 0 ;
16217 PyObject
* obj1
= 0 ;
16218 char *kwnames
[] = {
16219 (char *) "self",(char *) "m_rawFlags", NULL
16222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_rawFlags_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16223 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16224 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16225 arg2
= (unsigned int) SWIG_AsUnsignedInt(obj1
);
16226 if (PyErr_Occurred()) SWIG_fail
;
16227 if (arg1
) (arg1
)->m_rawFlags
= arg2
;
16229 Py_INCREF(Py_None
); resultobj
= Py_None
;
16236 static PyObject
*_wrap_KeyEvent_m_rawFlags_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16237 PyObject
*resultobj
;
16238 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16239 unsigned int result
;
16240 PyObject
* obj0
= 0 ;
16241 char *kwnames
[] = {
16242 (char *) "self", NULL
16245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_rawFlags_get",kwnames
,&obj0
)) goto fail
;
16246 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16247 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16248 result
= (unsigned int) ((arg1
)->m_rawFlags
);
16250 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
16257 static PyObject
* KeyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16259 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16260 SWIG_TypeClientData(SWIGTYPE_p_wxKeyEvent
, obj
);
16262 return Py_BuildValue((char *)"");
16264 static PyObject
*_wrap_new_SizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16265 PyObject
*resultobj
;
16266 wxSize
const &arg1_defvalue
= wxDefaultSize
;
16267 wxSize
*arg1
= (wxSize
*) &arg1_defvalue
;
16268 int arg2
= (int) 0 ;
16269 wxSizeEvent
*result
;
16271 PyObject
* obj0
= 0 ;
16272 PyObject
* obj1
= 0 ;
16273 char *kwnames
[] = {
16274 (char *) "sz",(char *) "winid", NULL
16277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SizeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
16281 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
16285 arg2
= (int) SWIG_AsInt(obj1
);
16286 if (PyErr_Occurred()) SWIG_fail
;
16289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16290 result
= (wxSizeEvent
*)new wxSizeEvent((wxSize
const &)*arg1
,arg2
);
16292 wxPyEndAllowThreads(__tstate
);
16293 if (PyErr_Occurred()) SWIG_fail
;
16295 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizeEvent
, 1);
16302 static PyObject
*_wrap_SizeEvent_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16303 PyObject
*resultobj
;
16304 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16306 PyObject
* obj0
= 0 ;
16307 char *kwnames
[] = {
16308 (char *) "self", NULL
16311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_GetSize",kwnames
,&obj0
)) goto fail
;
16312 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16313 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16316 result
= ((wxSizeEvent
const *)arg1
)->GetSize();
16318 wxPyEndAllowThreads(__tstate
);
16319 if (PyErr_Occurred()) SWIG_fail
;
16322 wxSize
* resultptr
;
16323 resultptr
= new wxSize((wxSize
&) result
);
16324 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16332 static PyObject
*_wrap_SizeEvent_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16333 PyObject
*resultobj
;
16334 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16336 PyObject
* obj0
= 0 ;
16337 char *kwnames
[] = {
16338 (char *) "self", NULL
16341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_GetRect",kwnames
,&obj0
)) goto fail
;
16342 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16343 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16346 result
= ((wxSizeEvent
const *)arg1
)->GetRect();
16348 wxPyEndAllowThreads(__tstate
);
16349 if (PyErr_Occurred()) SWIG_fail
;
16352 wxRect
* resultptr
;
16353 resultptr
= new wxRect((wxRect
&) result
);
16354 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
16362 static PyObject
*_wrap_SizeEvent_SetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16363 PyObject
*resultobj
;
16364 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16367 PyObject
* obj0
= 0 ;
16368 PyObject
* obj1
= 0 ;
16369 char *kwnames
[] = {
16370 (char *) "self",(char *) "rect", NULL
16373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
16374 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16375 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16376 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxRect
,
16377 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
16380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16381 (arg1
)->SetRect(arg2
);
16383 wxPyEndAllowThreads(__tstate
);
16384 if (PyErr_Occurred()) SWIG_fail
;
16386 Py_INCREF(Py_None
); resultobj
= Py_None
;
16393 static PyObject
*_wrap_SizeEvent_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16394 PyObject
*resultobj
;
16395 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16398 PyObject
* obj0
= 0 ;
16399 PyObject
* obj1
= 0 ;
16400 char *kwnames
[] = {
16401 (char *) "self",(char *) "size", NULL
16404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
16405 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16407 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxSize
,
16408 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
16411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16412 wxSizeEvent_SetSize(arg1
,arg2
);
16414 wxPyEndAllowThreads(__tstate
);
16415 if (PyErr_Occurred()) SWIG_fail
;
16417 Py_INCREF(Py_None
); resultobj
= Py_None
;
16424 static PyObject
*_wrap_SizeEvent_m_size_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16425 PyObject
*resultobj
;
16426 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16427 wxSize
*arg2
= (wxSize
*) 0 ;
16428 PyObject
* obj0
= 0 ;
16429 PyObject
* obj1
= 0 ;
16430 char *kwnames
[] = {
16431 (char *) "self",(char *) "m_size", NULL
16434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_m_size_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16435 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16436 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16437 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSize
,
16438 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16439 if (arg1
) (arg1
)->m_size
= *arg2
;
16441 Py_INCREF(Py_None
); resultobj
= Py_None
;
16448 static PyObject
*_wrap_SizeEvent_m_size_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16449 PyObject
*resultobj
;
16450 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16452 PyObject
* obj0
= 0 ;
16453 char *kwnames
[] = {
16454 (char *) "self", NULL
16457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_m_size_get",kwnames
,&obj0
)) goto fail
;
16458 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16459 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16460 result
= (wxSize
*)& ((arg1
)->m_size
);
16462 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
16469 static PyObject
*_wrap_SizeEvent_m_rect_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16470 PyObject
*resultobj
;
16471 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16472 wxRect
*arg2
= (wxRect
*) 0 ;
16473 PyObject
* obj0
= 0 ;
16474 PyObject
* obj1
= 0 ;
16475 char *kwnames
[] = {
16476 (char *) "self",(char *) "m_rect", NULL
16479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_m_rect_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16480 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16481 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16482 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRect
,
16483 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16484 if (arg1
) (arg1
)->m_rect
= *arg2
;
16486 Py_INCREF(Py_None
); resultobj
= Py_None
;
16493 static PyObject
*_wrap_SizeEvent_m_rect_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16494 PyObject
*resultobj
;
16495 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16497 PyObject
* obj0
= 0 ;
16498 char *kwnames
[] = {
16499 (char *) "self", NULL
16502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_m_rect_get",kwnames
,&obj0
)) goto fail
;
16503 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16504 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16505 result
= (wxRect
*)& ((arg1
)->m_rect
);
16507 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
16514 static PyObject
* SizeEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16516 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16517 SWIG_TypeClientData(SWIGTYPE_p_wxSizeEvent
, obj
);
16519 return Py_BuildValue((char *)"");
16521 static PyObject
*_wrap_new_MoveEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16522 PyObject
*resultobj
;
16523 wxPoint
const &arg1_defvalue
= wxDefaultPosition
;
16524 wxPoint
*arg1
= (wxPoint
*) &arg1_defvalue
;
16525 int arg2
= (int) 0 ;
16526 wxMoveEvent
*result
;
16528 PyObject
* obj0
= 0 ;
16529 PyObject
* obj1
= 0 ;
16530 char *kwnames
[] = {
16531 (char *) "pos",(char *) "winid", NULL
16534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_MoveEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
16538 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
16542 arg2
= (int) SWIG_AsInt(obj1
);
16543 if (PyErr_Occurred()) SWIG_fail
;
16546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16547 result
= (wxMoveEvent
*)new wxMoveEvent((wxPoint
const &)*arg1
,arg2
);
16549 wxPyEndAllowThreads(__tstate
);
16550 if (PyErr_Occurred()) SWIG_fail
;
16552 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMoveEvent
, 1);
16559 static PyObject
*_wrap_MoveEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16560 PyObject
*resultobj
;
16561 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16563 PyObject
* obj0
= 0 ;
16564 char *kwnames
[] = {
16565 (char *) "self", NULL
16568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
16569 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16570 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16573 result
= ((wxMoveEvent
const *)arg1
)->GetPosition();
16575 wxPyEndAllowThreads(__tstate
);
16576 if (PyErr_Occurred()) SWIG_fail
;
16579 wxPoint
* resultptr
;
16580 resultptr
= new wxPoint((wxPoint
&) result
);
16581 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
16589 static PyObject
*_wrap_MoveEvent_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16590 PyObject
*resultobj
;
16591 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16593 PyObject
* obj0
= 0 ;
16594 char *kwnames
[] = {
16595 (char *) "self", NULL
16598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_GetRect",kwnames
,&obj0
)) goto fail
;
16599 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16600 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16603 result
= ((wxMoveEvent
const *)arg1
)->GetRect();
16605 wxPyEndAllowThreads(__tstate
);
16606 if (PyErr_Occurred()) SWIG_fail
;
16609 wxRect
* resultptr
;
16610 resultptr
= new wxRect((wxRect
&) result
);
16611 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
16619 static PyObject
*_wrap_MoveEvent_SetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16620 PyObject
*resultobj
;
16621 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16624 PyObject
* obj0
= 0 ;
16625 PyObject
* obj1
= 0 ;
16626 char *kwnames
[] = {
16627 (char *) "self",(char *) "rect", NULL
16630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
16631 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16632 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16633 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxRect
,
16634 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
16637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16638 (arg1
)->SetRect(arg2
);
16640 wxPyEndAllowThreads(__tstate
);
16641 if (PyErr_Occurred()) SWIG_fail
;
16643 Py_INCREF(Py_None
); resultobj
= Py_None
;
16650 static PyObject
*_wrap_MoveEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16651 PyObject
*resultobj
;
16652 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16655 PyObject
* obj0
= 0 ;
16656 PyObject
* obj1
= 0 ;
16657 char *kwnames
[] = {
16658 (char *) "self",(char *) "pos", NULL
16661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
16662 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16663 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16664 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxPoint
,
16665 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
16668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16669 wxMoveEvent_SetPosition(arg1
,arg2
);
16671 wxPyEndAllowThreads(__tstate
);
16672 if (PyErr_Occurred()) SWIG_fail
;
16674 Py_INCREF(Py_None
); resultobj
= Py_None
;
16681 static PyObject
*_wrap_MoveEvent_m_pos_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16682 PyObject
*resultobj
;
16683 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16684 wxPoint
*arg2
= (wxPoint
*) 0 ;
16685 PyObject
* obj0
= 0 ;
16686 PyObject
* obj1
= 0 ;
16687 char *kwnames
[] = {
16688 (char *) "self",(char *) "m_pos", NULL
16691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_m_pos_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16692 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16693 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16694 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPoint
,
16695 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16696 if (arg1
) (arg1
)->m_pos
= *arg2
;
16698 Py_INCREF(Py_None
); resultobj
= Py_None
;
16705 static PyObject
*_wrap_MoveEvent_m_pos_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16706 PyObject
*resultobj
;
16707 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16709 PyObject
* obj0
= 0 ;
16710 char *kwnames
[] = {
16711 (char *) "self", NULL
16714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_m_pos_get",kwnames
,&obj0
)) goto fail
;
16715 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16716 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16717 result
= (wxPoint
*)& ((arg1
)->m_pos
);
16719 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
16726 static PyObject
*_wrap_MoveEvent_m_rect_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16727 PyObject
*resultobj
;
16728 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16729 wxRect
*arg2
= (wxRect
*) 0 ;
16730 PyObject
* obj0
= 0 ;
16731 PyObject
* obj1
= 0 ;
16732 char *kwnames
[] = {
16733 (char *) "self",(char *) "m_rect", NULL
16736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_m_rect_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16737 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16738 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16739 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRect
,
16740 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16741 if (arg1
) (arg1
)->m_rect
= *arg2
;
16743 Py_INCREF(Py_None
); resultobj
= Py_None
;
16750 static PyObject
*_wrap_MoveEvent_m_rect_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16751 PyObject
*resultobj
;
16752 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16754 PyObject
* obj0
= 0 ;
16755 char *kwnames
[] = {
16756 (char *) "self", NULL
16759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_m_rect_get",kwnames
,&obj0
)) goto fail
;
16760 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16761 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16762 result
= (wxRect
*)& ((arg1
)->m_rect
);
16764 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
16771 static PyObject
* MoveEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16773 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16774 SWIG_TypeClientData(SWIGTYPE_p_wxMoveEvent
, obj
);
16776 return Py_BuildValue((char *)"");
16778 static PyObject
*_wrap_new_PaintEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16779 PyObject
*resultobj
;
16780 int arg1
= (int) 0 ;
16781 wxPaintEvent
*result
;
16782 PyObject
* obj0
= 0 ;
16783 char *kwnames
[] = {
16784 (char *) "Id", NULL
16787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PaintEvent",kwnames
,&obj0
)) goto fail
;
16789 arg1
= (int) SWIG_AsInt(obj0
);
16790 if (PyErr_Occurred()) SWIG_fail
;
16793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16794 result
= (wxPaintEvent
*)new wxPaintEvent(arg1
);
16796 wxPyEndAllowThreads(__tstate
);
16797 if (PyErr_Occurred()) SWIG_fail
;
16799 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaintEvent
, 1);
16806 static PyObject
* PaintEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16808 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16809 SWIG_TypeClientData(SWIGTYPE_p_wxPaintEvent
, obj
);
16811 return Py_BuildValue((char *)"");
16813 static PyObject
*_wrap_new_NcPaintEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16814 PyObject
*resultobj
;
16815 int arg1
= (int) 0 ;
16816 wxNcPaintEvent
*result
;
16817 PyObject
* obj0
= 0 ;
16818 char *kwnames
[] = {
16819 (char *) "winid", NULL
16822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_NcPaintEvent",kwnames
,&obj0
)) goto fail
;
16824 arg1
= (int) SWIG_AsInt(obj0
);
16825 if (PyErr_Occurred()) SWIG_fail
;
16828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16829 result
= (wxNcPaintEvent
*)new wxNcPaintEvent(arg1
);
16831 wxPyEndAllowThreads(__tstate
);
16832 if (PyErr_Occurred()) SWIG_fail
;
16834 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNcPaintEvent
, 1);
16841 static PyObject
* NcPaintEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16843 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16844 SWIG_TypeClientData(SWIGTYPE_p_wxNcPaintEvent
, obj
);
16846 return Py_BuildValue((char *)"");
16848 static PyObject
*_wrap_new_EraseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16849 PyObject
*resultobj
;
16850 int arg1
= (int) 0 ;
16851 wxDC
*arg2
= (wxDC
*) (wxDC
*) NULL
;
16852 wxEraseEvent
*result
;
16853 PyObject
* obj0
= 0 ;
16854 PyObject
* obj1
= 0 ;
16855 char *kwnames
[] = {
16856 (char *) "Id",(char *) "dc", NULL
16859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_EraseEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
16861 arg1
= (int) SWIG_AsInt(obj0
);
16862 if (PyErr_Occurred()) SWIG_fail
;
16865 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
16866 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16870 result
= (wxEraseEvent
*)new wxEraseEvent(arg1
,arg2
);
16872 wxPyEndAllowThreads(__tstate
);
16873 if (PyErr_Occurred()) SWIG_fail
;
16875 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEraseEvent
, 1);
16882 static PyObject
*_wrap_EraseEvent_GetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16883 PyObject
*resultobj
;
16884 wxEraseEvent
*arg1
= (wxEraseEvent
*) 0 ;
16886 PyObject
* obj0
= 0 ;
16887 char *kwnames
[] = {
16888 (char *) "self", NULL
16891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EraseEvent_GetDC",kwnames
,&obj0
)) goto fail
;
16892 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEraseEvent
,
16893 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16896 result
= (wxDC
*)((wxEraseEvent
const *)arg1
)->GetDC();
16898 wxPyEndAllowThreads(__tstate
);
16899 if (PyErr_Occurred()) SWIG_fail
;
16902 resultobj
= wxPyMake_wxObject(result
);
16910 static PyObject
* EraseEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16912 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16913 SWIG_TypeClientData(SWIGTYPE_p_wxEraseEvent
, obj
);
16915 return Py_BuildValue((char *)"");
16917 static PyObject
*_wrap_new_FocusEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16918 PyObject
*resultobj
;
16919 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16920 int arg2
= (int) 0 ;
16921 wxFocusEvent
*result
;
16922 PyObject
* obj0
= 0 ;
16923 PyObject
* obj1
= 0 ;
16924 char *kwnames
[] = {
16925 (char *) "type",(char *) "winid", NULL
16928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FocusEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
16930 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
16931 if (PyErr_Occurred()) SWIG_fail
;
16934 arg2
= (int) SWIG_AsInt(obj1
);
16935 if (PyErr_Occurred()) SWIG_fail
;
16938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16939 result
= (wxFocusEvent
*)new wxFocusEvent(arg1
,arg2
);
16941 wxPyEndAllowThreads(__tstate
);
16942 if (PyErr_Occurred()) SWIG_fail
;
16944 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFocusEvent
, 1);
16951 static PyObject
*_wrap_FocusEvent_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16952 PyObject
*resultobj
;
16953 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
16955 PyObject
* obj0
= 0 ;
16956 char *kwnames
[] = {
16957 (char *) "self", NULL
16960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FocusEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
16961 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFocusEvent
,
16962 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16965 result
= (wxWindow
*)((wxFocusEvent
const *)arg1
)->GetWindow();
16967 wxPyEndAllowThreads(__tstate
);
16968 if (PyErr_Occurred()) SWIG_fail
;
16971 resultobj
= wxPyMake_wxObject(result
);
16979 static PyObject
*_wrap_FocusEvent_SetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16980 PyObject
*resultobj
;
16981 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
16982 wxWindow
*arg2
= (wxWindow
*) 0 ;
16983 PyObject
* obj0
= 0 ;
16984 PyObject
* obj1
= 0 ;
16985 char *kwnames
[] = {
16986 (char *) "self",(char *) "win", NULL
16989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FocusEvent_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
16990 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFocusEvent
,
16991 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16992 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
16993 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16996 (arg1
)->SetWindow(arg2
);
16998 wxPyEndAllowThreads(__tstate
);
16999 if (PyErr_Occurred()) SWIG_fail
;
17001 Py_INCREF(Py_None
); resultobj
= Py_None
;
17008 static PyObject
* FocusEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17010 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17011 SWIG_TypeClientData(SWIGTYPE_p_wxFocusEvent
, obj
);
17013 return Py_BuildValue((char *)"");
17015 static PyObject
*_wrap_new_ChildFocusEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17016 PyObject
*resultobj
;
17017 wxWindow
*arg1
= (wxWindow
*) NULL
;
17018 wxChildFocusEvent
*result
;
17019 PyObject
* obj0
= 0 ;
17020 char *kwnames
[] = {
17021 (char *) "win", NULL
17024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ChildFocusEvent",kwnames
,&obj0
)) goto fail
;
17026 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
17027 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17031 result
= (wxChildFocusEvent
*)new wxChildFocusEvent(arg1
);
17033 wxPyEndAllowThreads(__tstate
);
17034 if (PyErr_Occurred()) SWIG_fail
;
17036 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChildFocusEvent
, 1);
17043 static PyObject
*_wrap_ChildFocusEvent_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17044 PyObject
*resultobj
;
17045 wxChildFocusEvent
*arg1
= (wxChildFocusEvent
*) 0 ;
17047 PyObject
* obj0
= 0 ;
17048 char *kwnames
[] = {
17049 (char *) "self", NULL
17052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ChildFocusEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
17053 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChildFocusEvent
,
17054 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17057 result
= (wxWindow
*)((wxChildFocusEvent
const *)arg1
)->GetWindow();
17059 wxPyEndAllowThreads(__tstate
);
17060 if (PyErr_Occurred()) SWIG_fail
;
17063 resultobj
= wxPyMake_wxObject(result
);
17071 static PyObject
* ChildFocusEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17073 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17074 SWIG_TypeClientData(SWIGTYPE_p_wxChildFocusEvent
, obj
);
17076 return Py_BuildValue((char *)"");
17078 static PyObject
*_wrap_new_ActivateEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17079 PyObject
*resultobj
;
17080 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17081 bool arg2
= (bool) True
;
17082 int arg3
= (int) 0 ;
17083 wxActivateEvent
*result
;
17084 PyObject
* obj0
= 0 ;
17085 PyObject
* obj1
= 0 ;
17086 PyObject
* obj2
= 0 ;
17087 char *kwnames
[] = {
17088 (char *) "type",(char *) "active",(char *) "Id", NULL
17091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ActivateEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17093 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
17094 if (PyErr_Occurred()) SWIG_fail
;
17097 arg2
= (bool) SWIG_AsBool(obj1
);
17098 if (PyErr_Occurred()) SWIG_fail
;
17101 arg3
= (int) SWIG_AsInt(obj2
);
17102 if (PyErr_Occurred()) SWIG_fail
;
17105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17106 result
= (wxActivateEvent
*)new wxActivateEvent(arg1
,arg2
,arg3
);
17108 wxPyEndAllowThreads(__tstate
);
17109 if (PyErr_Occurred()) SWIG_fail
;
17111 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxActivateEvent
, 1);
17118 static PyObject
*_wrap_ActivateEvent_GetActive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17119 PyObject
*resultobj
;
17120 wxActivateEvent
*arg1
= (wxActivateEvent
*) 0 ;
17122 PyObject
* obj0
= 0 ;
17123 char *kwnames
[] = {
17124 (char *) "self", NULL
17127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ActivateEvent_GetActive",kwnames
,&obj0
)) goto fail
;
17128 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxActivateEvent
,
17129 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17132 result
= (bool)((wxActivateEvent
const *)arg1
)->GetActive();
17134 wxPyEndAllowThreads(__tstate
);
17135 if (PyErr_Occurred()) SWIG_fail
;
17138 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17146 static PyObject
* ActivateEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17148 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17149 SWIG_TypeClientData(SWIGTYPE_p_wxActivateEvent
, obj
);
17151 return Py_BuildValue((char *)"");
17153 static PyObject
*_wrap_new_InitDialogEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17154 PyObject
*resultobj
;
17155 int arg1
= (int) 0 ;
17156 wxInitDialogEvent
*result
;
17157 PyObject
* obj0
= 0 ;
17158 char *kwnames
[] = {
17159 (char *) "Id", NULL
17162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_InitDialogEvent",kwnames
,&obj0
)) goto fail
;
17164 arg1
= (int) SWIG_AsInt(obj0
);
17165 if (PyErr_Occurred()) SWIG_fail
;
17168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17169 result
= (wxInitDialogEvent
*)new wxInitDialogEvent(arg1
);
17171 wxPyEndAllowThreads(__tstate
);
17172 if (PyErr_Occurred()) SWIG_fail
;
17174 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxInitDialogEvent
, 1);
17181 static PyObject
* InitDialogEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17183 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17184 SWIG_TypeClientData(SWIGTYPE_p_wxInitDialogEvent
, obj
);
17186 return Py_BuildValue((char *)"");
17188 static PyObject
*_wrap_new_MenuEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17189 PyObject
*resultobj
;
17190 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17191 int arg2
= (int) 0 ;
17192 wxMenu
*arg3
= (wxMenu
*) NULL
;
17193 wxMenuEvent
*result
;
17194 PyObject
* obj0
= 0 ;
17195 PyObject
* obj1
= 0 ;
17196 PyObject
* obj2
= 0 ;
17197 char *kwnames
[] = {
17198 (char *) "type",(char *) "winid",(char *) "menu", NULL
17201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_MenuEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17203 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
17204 if (PyErr_Occurred()) SWIG_fail
;
17207 arg2
= (int) SWIG_AsInt(obj1
);
17208 if (PyErr_Occurred()) SWIG_fail
;
17211 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMenu
,
17212 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17216 result
= (wxMenuEvent
*)new wxMenuEvent(arg1
,arg2
,arg3
);
17218 wxPyEndAllowThreads(__tstate
);
17219 if (PyErr_Occurred()) SWIG_fail
;
17221 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMenuEvent
, 1);
17228 static PyObject
*_wrap_MenuEvent_GetMenuId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17229 PyObject
*resultobj
;
17230 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
17232 PyObject
* obj0
= 0 ;
17233 char *kwnames
[] = {
17234 (char *) "self", NULL
17237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_GetMenuId",kwnames
,&obj0
)) goto fail
;
17238 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuEvent
,
17239 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17242 result
= (int)((wxMenuEvent
const *)arg1
)->GetMenuId();
17244 wxPyEndAllowThreads(__tstate
);
17245 if (PyErr_Occurred()) SWIG_fail
;
17247 resultobj
= SWIG_FromInt((int)result
);
17254 static PyObject
*_wrap_MenuEvent_IsPopup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17255 PyObject
*resultobj
;
17256 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
17258 PyObject
* obj0
= 0 ;
17259 char *kwnames
[] = {
17260 (char *) "self", NULL
17263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_IsPopup",kwnames
,&obj0
)) goto fail
;
17264 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuEvent
,
17265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17268 result
= (bool)((wxMenuEvent
const *)arg1
)->IsPopup();
17270 wxPyEndAllowThreads(__tstate
);
17271 if (PyErr_Occurred()) SWIG_fail
;
17274 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17282 static PyObject
*_wrap_MenuEvent_GetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17283 PyObject
*resultobj
;
17284 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
17286 PyObject
* obj0
= 0 ;
17287 char *kwnames
[] = {
17288 (char *) "self", NULL
17291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_GetMenu",kwnames
,&obj0
)) goto fail
;
17292 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuEvent
,
17293 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17296 result
= (wxMenu
*)((wxMenuEvent
const *)arg1
)->GetMenu();
17298 wxPyEndAllowThreads(__tstate
);
17299 if (PyErr_Occurred()) SWIG_fail
;
17302 resultobj
= wxPyMake_wxObject(result
);
17310 static PyObject
* MenuEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17312 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17313 SWIG_TypeClientData(SWIGTYPE_p_wxMenuEvent
, obj
);
17315 return Py_BuildValue((char *)"");
17317 static PyObject
*_wrap_new_CloseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17318 PyObject
*resultobj
;
17319 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17320 int arg2
= (int) 0 ;
17321 wxCloseEvent
*result
;
17322 PyObject
* obj0
= 0 ;
17323 PyObject
* obj1
= 0 ;
17324 char *kwnames
[] = {
17325 (char *) "type",(char *) "winid", NULL
17328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_CloseEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
17330 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
17331 if (PyErr_Occurred()) SWIG_fail
;
17334 arg2
= (int) SWIG_AsInt(obj1
);
17335 if (PyErr_Occurred()) SWIG_fail
;
17338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17339 result
= (wxCloseEvent
*)new wxCloseEvent(arg1
,arg2
);
17341 wxPyEndAllowThreads(__tstate
);
17342 if (PyErr_Occurred()) SWIG_fail
;
17344 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCloseEvent
, 1);
17351 static PyObject
*_wrap_CloseEvent_SetLoggingOff(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17352 PyObject
*resultobj
;
17353 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17355 PyObject
* obj0
= 0 ;
17356 PyObject
* obj1
= 0 ;
17357 char *kwnames
[] = {
17358 (char *) "self",(char *) "logOff", NULL
17361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetLoggingOff",kwnames
,&obj0
,&obj1
)) goto fail
;
17362 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17363 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17364 arg2
= (bool) SWIG_AsBool(obj1
);
17365 if (PyErr_Occurred()) SWIG_fail
;
17367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17368 (arg1
)->SetLoggingOff(arg2
);
17370 wxPyEndAllowThreads(__tstate
);
17371 if (PyErr_Occurred()) SWIG_fail
;
17373 Py_INCREF(Py_None
); resultobj
= Py_None
;
17380 static PyObject
*_wrap_CloseEvent_GetLoggingOff(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17381 PyObject
*resultobj
;
17382 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17384 PyObject
* obj0
= 0 ;
17385 char *kwnames
[] = {
17386 (char *) "self", NULL
17389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_GetLoggingOff",kwnames
,&obj0
)) goto fail
;
17390 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17391 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17394 result
= (bool)((wxCloseEvent
const *)arg1
)->GetLoggingOff();
17396 wxPyEndAllowThreads(__tstate
);
17397 if (PyErr_Occurred()) SWIG_fail
;
17400 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17408 static PyObject
*_wrap_CloseEvent_Veto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17409 PyObject
*resultobj
;
17410 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17411 bool arg2
= (bool) True
;
17412 PyObject
* obj0
= 0 ;
17413 PyObject
* obj1
= 0 ;
17414 char *kwnames
[] = {
17415 (char *) "self",(char *) "veto", NULL
17418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CloseEvent_Veto",kwnames
,&obj0
,&obj1
)) goto fail
;
17419 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17420 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17422 arg2
= (bool) SWIG_AsBool(obj1
);
17423 if (PyErr_Occurred()) SWIG_fail
;
17426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17427 (arg1
)->Veto(arg2
);
17429 wxPyEndAllowThreads(__tstate
);
17430 if (PyErr_Occurred()) SWIG_fail
;
17432 Py_INCREF(Py_None
); resultobj
= Py_None
;
17439 static PyObject
*_wrap_CloseEvent_SetCanVeto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17440 PyObject
*resultobj
;
17441 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17443 PyObject
* obj0
= 0 ;
17444 PyObject
* obj1
= 0 ;
17445 char *kwnames
[] = {
17446 (char *) "self",(char *) "canVeto", NULL
17449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetCanVeto",kwnames
,&obj0
,&obj1
)) goto fail
;
17450 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17451 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17452 arg2
= (bool) SWIG_AsBool(obj1
);
17453 if (PyErr_Occurred()) SWIG_fail
;
17455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17456 (arg1
)->SetCanVeto(arg2
);
17458 wxPyEndAllowThreads(__tstate
);
17459 if (PyErr_Occurred()) SWIG_fail
;
17461 Py_INCREF(Py_None
); resultobj
= Py_None
;
17468 static PyObject
*_wrap_CloseEvent_CanVeto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17469 PyObject
*resultobj
;
17470 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17472 PyObject
* obj0
= 0 ;
17473 char *kwnames
[] = {
17474 (char *) "self", NULL
17477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_CanVeto",kwnames
,&obj0
)) goto fail
;
17478 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17479 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17482 result
= (bool)((wxCloseEvent
const *)arg1
)->CanVeto();
17484 wxPyEndAllowThreads(__tstate
);
17485 if (PyErr_Occurred()) SWIG_fail
;
17488 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17496 static PyObject
*_wrap_CloseEvent_GetVeto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17497 PyObject
*resultobj
;
17498 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17500 PyObject
* obj0
= 0 ;
17501 char *kwnames
[] = {
17502 (char *) "self", NULL
17505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_GetVeto",kwnames
,&obj0
)) goto fail
;
17506 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17507 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17510 result
= (bool)((wxCloseEvent
const *)arg1
)->GetVeto();
17512 wxPyEndAllowThreads(__tstate
);
17513 if (PyErr_Occurred()) SWIG_fail
;
17516 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17524 static PyObject
* CloseEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17526 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17527 SWIG_TypeClientData(SWIGTYPE_p_wxCloseEvent
, obj
);
17529 return Py_BuildValue((char *)"");
17531 static PyObject
*_wrap_new_ShowEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17532 PyObject
*resultobj
;
17533 int arg1
= (int) 0 ;
17534 bool arg2
= (bool) False
;
17535 wxShowEvent
*result
;
17536 PyObject
* obj0
= 0 ;
17537 PyObject
* obj1
= 0 ;
17538 char *kwnames
[] = {
17539 (char *) "winid",(char *) "show", NULL
17542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ShowEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
17544 arg1
= (int) SWIG_AsInt(obj0
);
17545 if (PyErr_Occurred()) SWIG_fail
;
17548 arg2
= (bool) SWIG_AsBool(obj1
);
17549 if (PyErr_Occurred()) SWIG_fail
;
17552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17553 result
= (wxShowEvent
*)new wxShowEvent(arg1
,arg2
);
17555 wxPyEndAllowThreads(__tstate
);
17556 if (PyErr_Occurred()) SWIG_fail
;
17558 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxShowEvent
, 1);
17565 static PyObject
*_wrap_ShowEvent_SetShow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17566 PyObject
*resultobj
;
17567 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
17569 PyObject
* obj0
= 0 ;
17570 PyObject
* obj1
= 0 ;
17571 char *kwnames
[] = {
17572 (char *) "self",(char *) "show", NULL
17575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ShowEvent_SetShow",kwnames
,&obj0
,&obj1
)) goto fail
;
17576 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShowEvent
,
17577 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17578 arg2
= (bool) SWIG_AsBool(obj1
);
17579 if (PyErr_Occurred()) SWIG_fail
;
17581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17582 (arg1
)->SetShow(arg2
);
17584 wxPyEndAllowThreads(__tstate
);
17585 if (PyErr_Occurred()) SWIG_fail
;
17587 Py_INCREF(Py_None
); resultobj
= Py_None
;
17594 static PyObject
*_wrap_ShowEvent_GetShow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17595 PyObject
*resultobj
;
17596 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
17598 PyObject
* obj0
= 0 ;
17599 char *kwnames
[] = {
17600 (char *) "self", NULL
17603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShowEvent_GetShow",kwnames
,&obj0
)) goto fail
;
17604 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShowEvent
,
17605 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17608 result
= (bool)((wxShowEvent
const *)arg1
)->GetShow();
17610 wxPyEndAllowThreads(__tstate
);
17611 if (PyErr_Occurred()) SWIG_fail
;
17614 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17622 static PyObject
* ShowEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17624 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17625 SWIG_TypeClientData(SWIGTYPE_p_wxShowEvent
, obj
);
17627 return Py_BuildValue((char *)"");
17629 static PyObject
*_wrap_new_IconizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17630 PyObject
*resultobj
;
17631 int arg1
= (int) 0 ;
17632 bool arg2
= (bool) True
;
17633 wxIconizeEvent
*result
;
17634 PyObject
* obj0
= 0 ;
17635 PyObject
* obj1
= 0 ;
17636 char *kwnames
[] = {
17637 (char *) "id",(char *) "iconized", NULL
17640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconizeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
17642 arg1
= (int) SWIG_AsInt(obj0
);
17643 if (PyErr_Occurred()) SWIG_fail
;
17646 arg2
= (bool) SWIG_AsBool(obj1
);
17647 if (PyErr_Occurred()) SWIG_fail
;
17650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17651 result
= (wxIconizeEvent
*)new wxIconizeEvent(arg1
,arg2
);
17653 wxPyEndAllowThreads(__tstate
);
17654 if (PyErr_Occurred()) SWIG_fail
;
17656 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconizeEvent
, 1);
17663 static PyObject
*_wrap_IconizeEvent_Iconized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17664 PyObject
*resultobj
;
17665 wxIconizeEvent
*arg1
= (wxIconizeEvent
*) 0 ;
17667 PyObject
* obj0
= 0 ;
17668 char *kwnames
[] = {
17669 (char *) "self", NULL
17672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconizeEvent_Iconized",kwnames
,&obj0
)) goto fail
;
17673 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconizeEvent
,
17674 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17677 result
= (bool)(arg1
)->Iconized();
17679 wxPyEndAllowThreads(__tstate
);
17680 if (PyErr_Occurred()) SWIG_fail
;
17683 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17691 static PyObject
* IconizeEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17693 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17694 SWIG_TypeClientData(SWIGTYPE_p_wxIconizeEvent
, obj
);
17696 return Py_BuildValue((char *)"");
17698 static PyObject
*_wrap_new_MaximizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17699 PyObject
*resultobj
;
17700 int arg1
= (int) 0 ;
17701 wxMaximizeEvent
*result
;
17702 PyObject
* obj0
= 0 ;
17703 char *kwnames
[] = {
17704 (char *) "id", NULL
17707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MaximizeEvent",kwnames
,&obj0
)) goto fail
;
17709 arg1
= (int) SWIG_AsInt(obj0
);
17710 if (PyErr_Occurred()) SWIG_fail
;
17713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17714 result
= (wxMaximizeEvent
*)new wxMaximizeEvent(arg1
);
17716 wxPyEndAllowThreads(__tstate
);
17717 if (PyErr_Occurred()) SWIG_fail
;
17719 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMaximizeEvent
, 1);
17726 static PyObject
* MaximizeEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17728 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17729 SWIG_TypeClientData(SWIGTYPE_p_wxMaximizeEvent
, obj
);
17731 return Py_BuildValue((char *)"");
17733 static PyObject
*_wrap_DropFilesEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17734 PyObject
*resultobj
;
17735 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
17737 PyObject
* obj0
= 0 ;
17738 char *kwnames
[] = {
17739 (char *) "self", NULL
17742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
17743 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDropFilesEvent
,
17744 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17747 result
= (arg1
)->GetPosition();
17749 wxPyEndAllowThreads(__tstate
);
17750 if (PyErr_Occurred()) SWIG_fail
;
17753 wxPoint
* resultptr
;
17754 resultptr
= new wxPoint((wxPoint
&) result
);
17755 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
17763 static PyObject
*_wrap_DropFilesEvent_GetNumberOfFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17764 PyObject
*resultobj
;
17765 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
17767 PyObject
* obj0
= 0 ;
17768 char *kwnames
[] = {
17769 (char *) "self", NULL
17772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetNumberOfFiles",kwnames
,&obj0
)) goto fail
;
17773 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDropFilesEvent
,
17774 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17777 result
= (int)(arg1
)->GetNumberOfFiles();
17779 wxPyEndAllowThreads(__tstate
);
17780 if (PyErr_Occurred()) SWIG_fail
;
17782 resultobj
= SWIG_FromInt((int)result
);
17789 static PyObject
*_wrap_DropFilesEvent_GetFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17790 PyObject
*resultobj
;
17791 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
17793 PyObject
* obj0
= 0 ;
17794 char *kwnames
[] = {
17795 (char *) "self", NULL
17798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetFiles",kwnames
,&obj0
)) goto fail
;
17799 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDropFilesEvent
,
17800 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17803 result
= (PyObject
*)wxDropFilesEvent_GetFiles(arg1
);
17805 wxPyEndAllowThreads(__tstate
);
17806 if (PyErr_Occurred()) SWIG_fail
;
17808 resultobj
= result
;
17815 static PyObject
* DropFilesEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17817 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17818 SWIG_TypeClientData(SWIGTYPE_p_wxDropFilesEvent
, obj
);
17820 return Py_BuildValue((char *)"");
17822 static PyObject
*_wrap_new_UpdateUIEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17823 PyObject
*resultobj
;
17824 int arg1
= (int) 0 ;
17825 wxUpdateUIEvent
*result
;
17826 PyObject
* obj0
= 0 ;
17827 char *kwnames
[] = {
17828 (char *) "commandId", NULL
17831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_UpdateUIEvent",kwnames
,&obj0
)) goto fail
;
17833 arg1
= (int) SWIG_AsInt(obj0
);
17834 if (PyErr_Occurred()) SWIG_fail
;
17837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17838 result
= (wxUpdateUIEvent
*)new wxUpdateUIEvent(arg1
);
17840 wxPyEndAllowThreads(__tstate
);
17841 if (PyErr_Occurred()) SWIG_fail
;
17843 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxUpdateUIEvent
, 1);
17850 static PyObject
*_wrap_UpdateUIEvent_GetChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17851 PyObject
*resultobj
;
17852 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17854 PyObject
* obj0
= 0 ;
17855 char *kwnames
[] = {
17856 (char *) "self", NULL
17859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetChecked",kwnames
,&obj0
)) goto fail
;
17860 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
17861 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17864 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetChecked();
17866 wxPyEndAllowThreads(__tstate
);
17867 if (PyErr_Occurred()) SWIG_fail
;
17870 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17878 static PyObject
*_wrap_UpdateUIEvent_GetEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17879 PyObject
*resultobj
;
17880 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17882 PyObject
* obj0
= 0 ;
17883 char *kwnames
[] = {
17884 (char *) "self", NULL
17887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetEnabled",kwnames
,&obj0
)) goto fail
;
17888 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
17889 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17892 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetEnabled();
17894 wxPyEndAllowThreads(__tstate
);
17895 if (PyErr_Occurred()) SWIG_fail
;
17898 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17906 static PyObject
*_wrap_UpdateUIEvent_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17907 PyObject
*resultobj
;
17908 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17910 PyObject
* obj0
= 0 ;
17911 char *kwnames
[] = {
17912 (char *) "self", NULL
17915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetText",kwnames
,&obj0
)) goto fail
;
17916 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
17917 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17920 result
= ((wxUpdateUIEvent
const *)arg1
)->GetText();
17922 wxPyEndAllowThreads(__tstate
);
17923 if (PyErr_Occurred()) SWIG_fail
;
17927 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17929 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17938 static PyObject
*_wrap_UpdateUIEvent_GetSetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17939 PyObject
*resultobj
;
17940 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17942 PyObject
* obj0
= 0 ;
17943 char *kwnames
[] = {
17944 (char *) "self", NULL
17947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetText",kwnames
,&obj0
)) goto fail
;
17948 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
17949 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17952 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetText();
17954 wxPyEndAllowThreads(__tstate
);
17955 if (PyErr_Occurred()) SWIG_fail
;
17958 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17966 static PyObject
*_wrap_UpdateUIEvent_GetSetChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17967 PyObject
*resultobj
;
17968 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17970 PyObject
* obj0
= 0 ;
17971 char *kwnames
[] = {
17972 (char *) "self", NULL
17975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetChecked",kwnames
,&obj0
)) goto fail
;
17976 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
17977 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17980 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetChecked();
17982 wxPyEndAllowThreads(__tstate
);
17983 if (PyErr_Occurred()) SWIG_fail
;
17986 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17994 static PyObject
*_wrap_UpdateUIEvent_GetSetEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17995 PyObject
*resultobj
;
17996 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17998 PyObject
* obj0
= 0 ;
17999 char *kwnames
[] = {
18000 (char *) "self", NULL
18003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetEnabled",kwnames
,&obj0
)) goto fail
;
18004 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18005 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18008 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetEnabled();
18010 wxPyEndAllowThreads(__tstate
);
18011 if (PyErr_Occurred()) SWIG_fail
;
18014 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18022 static PyObject
*_wrap_UpdateUIEvent_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18023 PyObject
*resultobj
;
18024 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18026 PyObject
* obj0
= 0 ;
18027 PyObject
* obj1
= 0 ;
18028 char *kwnames
[] = {
18029 (char *) "self",(char *) "check", NULL
18032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Check",kwnames
,&obj0
,&obj1
)) goto fail
;
18033 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18034 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18035 arg2
= (bool) SWIG_AsBool(obj1
);
18036 if (PyErr_Occurred()) SWIG_fail
;
18038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18039 (arg1
)->Check(arg2
);
18041 wxPyEndAllowThreads(__tstate
);
18042 if (PyErr_Occurred()) SWIG_fail
;
18044 Py_INCREF(Py_None
); resultobj
= Py_None
;
18051 static PyObject
*_wrap_UpdateUIEvent_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18052 PyObject
*resultobj
;
18053 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18055 PyObject
* obj0
= 0 ;
18056 PyObject
* obj1
= 0 ;
18057 char *kwnames
[] = {
18058 (char *) "self",(char *) "enable", NULL
18061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
18062 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18063 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18064 arg2
= (bool) SWIG_AsBool(obj1
);
18065 if (PyErr_Occurred()) SWIG_fail
;
18067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18068 (arg1
)->Enable(arg2
);
18070 wxPyEndAllowThreads(__tstate
);
18071 if (PyErr_Occurred()) SWIG_fail
;
18073 Py_INCREF(Py_None
); resultobj
= Py_None
;
18080 static PyObject
*_wrap_UpdateUIEvent_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18081 PyObject
*resultobj
;
18082 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18083 wxString
*arg2
= 0 ;
18084 bool temp2
= False
;
18085 PyObject
* obj0
= 0 ;
18086 PyObject
* obj1
= 0 ;
18087 char *kwnames
[] = {
18088 (char *) "self",(char *) "text", NULL
18091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
18092 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18093 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18095 arg2
= wxString_in_helper(obj1
);
18096 if (arg2
== NULL
) SWIG_fail
;
18100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18101 (arg1
)->SetText((wxString
const &)*arg2
);
18103 wxPyEndAllowThreads(__tstate
);
18104 if (PyErr_Occurred()) SWIG_fail
;
18106 Py_INCREF(Py_None
); resultobj
= Py_None
;
18121 static PyObject
*_wrap_UpdateUIEvent_SetUpdateInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18122 PyObject
*resultobj
;
18124 PyObject
* obj0
= 0 ;
18125 char *kwnames
[] = {
18126 (char *) "updateInterval", NULL
18129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_SetUpdateInterval",kwnames
,&obj0
)) goto fail
;
18130 arg1
= (long) SWIG_AsLong(obj0
);
18131 if (PyErr_Occurred()) SWIG_fail
;
18133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18134 wxUpdateUIEvent::SetUpdateInterval(arg1
);
18136 wxPyEndAllowThreads(__tstate
);
18137 if (PyErr_Occurred()) SWIG_fail
;
18139 Py_INCREF(Py_None
); resultobj
= Py_None
;
18146 static PyObject
*_wrap_UpdateUIEvent_GetUpdateInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18147 PyObject
*resultobj
;
18149 char *kwnames
[] = {
18153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_GetUpdateInterval",kwnames
)) goto fail
;
18155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18156 result
= (long)wxUpdateUIEvent::GetUpdateInterval();
18158 wxPyEndAllowThreads(__tstate
);
18159 if (PyErr_Occurred()) SWIG_fail
;
18161 resultobj
= SWIG_FromLong((long)result
);
18168 static PyObject
*_wrap_UpdateUIEvent_CanUpdate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18169 PyObject
*resultobj
;
18170 wxWindow
*arg1
= (wxWindow
*) 0 ;
18172 PyObject
* obj0
= 0 ;
18173 char *kwnames
[] = {
18174 (char *) "win", NULL
18177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_CanUpdate",kwnames
,&obj0
)) goto fail
;
18178 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
18179 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18182 result
= (bool)wxUpdateUIEvent::CanUpdate(arg1
);
18184 wxPyEndAllowThreads(__tstate
);
18185 if (PyErr_Occurred()) SWIG_fail
;
18188 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18196 static PyObject
*_wrap_UpdateUIEvent_ResetUpdateTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18197 PyObject
*resultobj
;
18198 char *kwnames
[] = {
18202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_ResetUpdateTime",kwnames
)) goto fail
;
18204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18205 wxUpdateUIEvent::ResetUpdateTime();
18207 wxPyEndAllowThreads(__tstate
);
18208 if (PyErr_Occurred()) SWIG_fail
;
18210 Py_INCREF(Py_None
); resultobj
= Py_None
;
18217 static PyObject
*_wrap_UpdateUIEvent_SetMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18218 PyObject
*resultobj
;
18220 PyObject
* obj0
= 0 ;
18221 char *kwnames
[] = {
18222 (char *) "mode", NULL
18225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_SetMode",kwnames
,&obj0
)) goto fail
;
18226 arg1
= (wxUpdateUIMode
) SWIG_AsInt(obj0
);
18227 if (PyErr_Occurred()) SWIG_fail
;
18229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18230 wxUpdateUIEvent::SetMode((wxUpdateUIMode
)arg1
);
18232 wxPyEndAllowThreads(__tstate
);
18233 if (PyErr_Occurred()) SWIG_fail
;
18235 Py_INCREF(Py_None
); resultobj
= Py_None
;
18242 static PyObject
*_wrap_UpdateUIEvent_GetMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18243 PyObject
*resultobj
;
18245 char *kwnames
[] = {
18249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_GetMode",kwnames
)) goto fail
;
18251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18252 result
= (int)wxUpdateUIEvent::GetMode();
18254 wxPyEndAllowThreads(__tstate
);
18255 if (PyErr_Occurred()) SWIG_fail
;
18257 resultobj
= SWIG_FromInt((int)result
);
18264 static PyObject
* UpdateUIEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18266 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18267 SWIG_TypeClientData(SWIGTYPE_p_wxUpdateUIEvent
, obj
);
18269 return Py_BuildValue((char *)"");
18271 static PyObject
*_wrap_new_SysColourChangedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18272 PyObject
*resultobj
;
18273 wxSysColourChangedEvent
*result
;
18274 char *kwnames
[] = {
18278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SysColourChangedEvent",kwnames
)) goto fail
;
18280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18281 result
= (wxSysColourChangedEvent
*)new wxSysColourChangedEvent();
18283 wxPyEndAllowThreads(__tstate
);
18284 if (PyErr_Occurred()) SWIG_fail
;
18286 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSysColourChangedEvent
, 1);
18293 static PyObject
* SysColourChangedEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18295 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18296 SWIG_TypeClientData(SWIGTYPE_p_wxSysColourChangedEvent
, obj
);
18298 return Py_BuildValue((char *)"");
18300 static PyObject
*_wrap_new_MouseCaptureChangedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18301 PyObject
*resultobj
;
18302 int arg1
= (int) 0 ;
18303 wxWindow
*arg2
= (wxWindow
*) NULL
;
18304 wxMouseCaptureChangedEvent
*result
;
18305 PyObject
* obj0
= 0 ;
18306 PyObject
* obj1
= 0 ;
18307 char *kwnames
[] = {
18308 (char *) "winid",(char *) "gainedCapture", NULL
18311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_MouseCaptureChangedEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
18313 arg1
= (int) SWIG_AsInt(obj0
);
18314 if (PyErr_Occurred()) SWIG_fail
;
18317 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
18318 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18322 result
= (wxMouseCaptureChangedEvent
*)new wxMouseCaptureChangedEvent(arg1
,arg2
);
18324 wxPyEndAllowThreads(__tstate
);
18325 if (PyErr_Occurred()) SWIG_fail
;
18327 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMouseCaptureChangedEvent
, 1);
18334 static PyObject
*_wrap_MouseCaptureChangedEvent_GetCapturedWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18335 PyObject
*resultobj
;
18336 wxMouseCaptureChangedEvent
*arg1
= (wxMouseCaptureChangedEvent
*) 0 ;
18338 PyObject
* obj0
= 0 ;
18339 char *kwnames
[] = {
18340 (char *) "self", NULL
18343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseCaptureChangedEvent_GetCapturedWindow",kwnames
,&obj0
)) goto fail
;
18344 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseCaptureChangedEvent
,
18345 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18348 result
= (wxWindow
*)((wxMouseCaptureChangedEvent
const *)arg1
)->GetCapturedWindow();
18350 wxPyEndAllowThreads(__tstate
);
18351 if (PyErr_Occurred()) SWIG_fail
;
18354 resultobj
= wxPyMake_wxObject(result
);
18362 static PyObject
* MouseCaptureChangedEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18364 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18365 SWIG_TypeClientData(SWIGTYPE_p_wxMouseCaptureChangedEvent
, obj
);
18367 return Py_BuildValue((char *)"");
18369 static PyObject
*_wrap_new_DisplayChangedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18370 PyObject
*resultobj
;
18371 wxDisplayChangedEvent
*result
;
18372 char *kwnames
[] = {
18376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DisplayChangedEvent",kwnames
)) goto fail
;
18378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18379 result
= (wxDisplayChangedEvent
*)new wxDisplayChangedEvent();
18381 wxPyEndAllowThreads(__tstate
);
18382 if (PyErr_Occurred()) SWIG_fail
;
18384 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDisplayChangedEvent
, 1);
18391 static PyObject
* DisplayChangedEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18393 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18394 SWIG_TypeClientData(SWIGTYPE_p_wxDisplayChangedEvent
, obj
);
18396 return Py_BuildValue((char *)"");
18398 static PyObject
*_wrap_new_PaletteChangedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18399 PyObject
*resultobj
;
18400 int arg1
= (int) 0 ;
18401 wxPaletteChangedEvent
*result
;
18402 PyObject
* obj0
= 0 ;
18403 char *kwnames
[] = {
18404 (char *) "id", NULL
18407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PaletteChangedEvent",kwnames
,&obj0
)) goto fail
;
18409 arg1
= (int) SWIG_AsInt(obj0
);
18410 if (PyErr_Occurred()) SWIG_fail
;
18413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18414 result
= (wxPaletteChangedEvent
*)new wxPaletteChangedEvent(arg1
);
18416 wxPyEndAllowThreads(__tstate
);
18417 if (PyErr_Occurred()) SWIG_fail
;
18419 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaletteChangedEvent
, 1);
18426 static PyObject
*_wrap_PaletteChangedEvent_SetChangedWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18427 PyObject
*resultobj
;
18428 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
18429 wxWindow
*arg2
= (wxWindow
*) 0 ;
18430 PyObject
* obj0
= 0 ;
18431 PyObject
* obj1
= 0 ;
18432 char *kwnames
[] = {
18433 (char *) "self",(char *) "win", NULL
18436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PaletteChangedEvent_SetChangedWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
18437 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPaletteChangedEvent
,
18438 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18439 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
18440 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18443 (arg1
)->SetChangedWindow(arg2
);
18445 wxPyEndAllowThreads(__tstate
);
18446 if (PyErr_Occurred()) SWIG_fail
;
18448 Py_INCREF(Py_None
); resultobj
= Py_None
;
18455 static PyObject
*_wrap_PaletteChangedEvent_GetChangedWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18456 PyObject
*resultobj
;
18457 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
18459 PyObject
* obj0
= 0 ;
18460 char *kwnames
[] = {
18461 (char *) "self", NULL
18464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PaletteChangedEvent_GetChangedWindow",kwnames
,&obj0
)) goto fail
;
18465 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPaletteChangedEvent
,
18466 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18469 result
= (wxWindow
*)(arg1
)->GetChangedWindow();
18471 wxPyEndAllowThreads(__tstate
);
18472 if (PyErr_Occurred()) SWIG_fail
;
18475 resultobj
= wxPyMake_wxObject(result
);
18483 static PyObject
* PaletteChangedEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18485 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18486 SWIG_TypeClientData(SWIGTYPE_p_wxPaletteChangedEvent
, obj
);
18488 return Py_BuildValue((char *)"");
18490 static PyObject
*_wrap_new_QueryNewPaletteEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18491 PyObject
*resultobj
;
18492 int arg1
= (int) 0 ;
18493 wxQueryNewPaletteEvent
*result
;
18494 PyObject
* obj0
= 0 ;
18495 char *kwnames
[] = {
18496 (char *) "winid", NULL
18499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryNewPaletteEvent",kwnames
,&obj0
)) goto fail
;
18501 arg1
= (int) SWIG_AsInt(obj0
);
18502 if (PyErr_Occurred()) SWIG_fail
;
18505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18506 result
= (wxQueryNewPaletteEvent
*)new wxQueryNewPaletteEvent(arg1
);
18508 wxPyEndAllowThreads(__tstate
);
18509 if (PyErr_Occurred()) SWIG_fail
;
18511 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxQueryNewPaletteEvent
, 1);
18518 static PyObject
*_wrap_QueryNewPaletteEvent_SetPaletteRealized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18519 PyObject
*resultobj
;
18520 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
18522 PyObject
* obj0
= 0 ;
18523 PyObject
* obj1
= 0 ;
18524 char *kwnames
[] = {
18525 (char *) "self",(char *) "realized", NULL
18528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryNewPaletteEvent_SetPaletteRealized",kwnames
,&obj0
,&obj1
)) goto fail
;
18529 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryNewPaletteEvent
,
18530 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18531 arg2
= (bool) SWIG_AsBool(obj1
);
18532 if (PyErr_Occurred()) SWIG_fail
;
18534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18535 (arg1
)->SetPaletteRealized(arg2
);
18537 wxPyEndAllowThreads(__tstate
);
18538 if (PyErr_Occurred()) SWIG_fail
;
18540 Py_INCREF(Py_None
); resultobj
= Py_None
;
18547 static PyObject
*_wrap_QueryNewPaletteEvent_GetPaletteRealized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18548 PyObject
*resultobj
;
18549 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
18551 PyObject
* obj0
= 0 ;
18552 char *kwnames
[] = {
18553 (char *) "self", NULL
18556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryNewPaletteEvent_GetPaletteRealized",kwnames
,&obj0
)) goto fail
;
18557 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryNewPaletteEvent
,
18558 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18561 result
= (bool)((wxQueryNewPaletteEvent
const *)arg1
)->GetPaletteRealized();
18563 wxPyEndAllowThreads(__tstate
);
18564 if (PyErr_Occurred()) SWIG_fail
;
18567 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18575 static PyObject
* QueryNewPaletteEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18577 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18578 SWIG_TypeClientData(SWIGTYPE_p_wxQueryNewPaletteEvent
, obj
);
18580 return Py_BuildValue((char *)"");
18582 static PyObject
*_wrap_new_NavigationKeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18583 PyObject
*resultobj
;
18584 wxNavigationKeyEvent
*result
;
18585 char *kwnames
[] = {
18589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NavigationKeyEvent",kwnames
)) goto fail
;
18591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18592 result
= (wxNavigationKeyEvent
*)new wxNavigationKeyEvent();
18594 wxPyEndAllowThreads(__tstate
);
18595 if (PyErr_Occurred()) SWIG_fail
;
18597 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNavigationKeyEvent
, 1);
18604 static PyObject
*_wrap_NavigationKeyEvent_GetDirection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18605 PyObject
*resultobj
;
18606 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18608 PyObject
* obj0
= 0 ;
18609 char *kwnames
[] = {
18610 (char *) "self", NULL
18613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_GetDirection",kwnames
,&obj0
)) goto fail
;
18614 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18615 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18618 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->GetDirection();
18620 wxPyEndAllowThreads(__tstate
);
18621 if (PyErr_Occurred()) SWIG_fail
;
18624 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18632 static PyObject
*_wrap_NavigationKeyEvent_SetDirection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18633 PyObject
*resultobj
;
18634 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18636 PyObject
* obj0
= 0 ;
18637 PyObject
* obj1
= 0 ;
18638 char *kwnames
[] = {
18639 (char *) "self",(char *) "bForward", NULL
18642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetDirection",kwnames
,&obj0
,&obj1
)) goto fail
;
18643 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18644 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18645 arg2
= (bool) SWIG_AsBool(obj1
);
18646 if (PyErr_Occurred()) SWIG_fail
;
18648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18649 (arg1
)->SetDirection(arg2
);
18651 wxPyEndAllowThreads(__tstate
);
18652 if (PyErr_Occurred()) SWIG_fail
;
18654 Py_INCREF(Py_None
); resultobj
= Py_None
;
18661 static PyObject
*_wrap_NavigationKeyEvent_IsWindowChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18662 PyObject
*resultobj
;
18663 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18665 PyObject
* obj0
= 0 ;
18666 char *kwnames
[] = {
18667 (char *) "self", NULL
18670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_IsWindowChange",kwnames
,&obj0
)) goto fail
;
18671 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18672 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18675 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->IsWindowChange();
18677 wxPyEndAllowThreads(__tstate
);
18678 if (PyErr_Occurred()) SWIG_fail
;
18681 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18689 static PyObject
*_wrap_NavigationKeyEvent_SetWindowChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18690 PyObject
*resultobj
;
18691 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18693 PyObject
* obj0
= 0 ;
18694 PyObject
* obj1
= 0 ;
18695 char *kwnames
[] = {
18696 (char *) "self",(char *) "bIs", NULL
18699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetWindowChange",kwnames
,&obj0
,&obj1
)) goto fail
;
18700 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18701 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18702 arg2
= (bool) SWIG_AsBool(obj1
);
18703 if (PyErr_Occurred()) SWIG_fail
;
18705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18706 (arg1
)->SetWindowChange(arg2
);
18708 wxPyEndAllowThreads(__tstate
);
18709 if (PyErr_Occurred()) SWIG_fail
;
18711 Py_INCREF(Py_None
); resultobj
= Py_None
;
18718 static PyObject
*_wrap_NavigationKeyEvent_GetCurrentFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18719 PyObject
*resultobj
;
18720 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18722 PyObject
* obj0
= 0 ;
18723 char *kwnames
[] = {
18724 (char *) "self", NULL
18727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_GetCurrentFocus",kwnames
,&obj0
)) goto fail
;
18728 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18729 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18732 result
= (wxWindow
*)((wxNavigationKeyEvent
const *)arg1
)->GetCurrentFocus();
18734 wxPyEndAllowThreads(__tstate
);
18735 if (PyErr_Occurred()) SWIG_fail
;
18738 resultobj
= wxPyMake_wxObject(result
);
18746 static PyObject
*_wrap_NavigationKeyEvent_SetCurrentFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18747 PyObject
*resultobj
;
18748 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18749 wxWindow
*arg2
= (wxWindow
*) 0 ;
18750 PyObject
* obj0
= 0 ;
18751 PyObject
* obj1
= 0 ;
18752 char *kwnames
[] = {
18753 (char *) "self",(char *) "win", NULL
18756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetCurrentFocus",kwnames
,&obj0
,&obj1
)) goto fail
;
18757 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18758 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18759 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
18760 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18763 (arg1
)->SetCurrentFocus(arg2
);
18765 wxPyEndAllowThreads(__tstate
);
18766 if (PyErr_Occurred()) SWIG_fail
;
18768 Py_INCREF(Py_None
); resultobj
= Py_None
;
18775 static PyObject
* NavigationKeyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18777 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18778 SWIG_TypeClientData(SWIGTYPE_p_wxNavigationKeyEvent
, obj
);
18780 return Py_BuildValue((char *)"");
18782 static PyObject
*_wrap_new_WindowCreateEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18783 PyObject
*resultobj
;
18784 wxWindow
*arg1
= (wxWindow
*) NULL
;
18785 wxWindowCreateEvent
*result
;
18786 PyObject
* obj0
= 0 ;
18787 char *kwnames
[] = {
18788 (char *) "win", NULL
18791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowCreateEvent",kwnames
,&obj0
)) goto fail
;
18793 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
18794 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18798 result
= (wxWindowCreateEvent
*)new wxWindowCreateEvent(arg1
);
18800 wxPyEndAllowThreads(__tstate
);
18801 if (PyErr_Occurred()) SWIG_fail
;
18803 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowCreateEvent
, 1);
18810 static PyObject
*_wrap_WindowCreateEvent_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18811 PyObject
*resultobj
;
18812 wxWindowCreateEvent
*arg1
= (wxWindowCreateEvent
*) 0 ;
18814 PyObject
* obj0
= 0 ;
18815 char *kwnames
[] = {
18816 (char *) "self", NULL
18819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WindowCreateEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
18820 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindowCreateEvent
,
18821 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18824 result
= (wxWindow
*)((wxWindowCreateEvent
const *)arg1
)->GetWindow();
18826 wxPyEndAllowThreads(__tstate
);
18827 if (PyErr_Occurred()) SWIG_fail
;
18830 resultobj
= wxPyMake_wxObject(result
);
18838 static PyObject
* WindowCreateEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18840 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18841 SWIG_TypeClientData(SWIGTYPE_p_wxWindowCreateEvent
, obj
);
18843 return Py_BuildValue((char *)"");
18845 static PyObject
*_wrap_new_WindowDestroyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18846 PyObject
*resultobj
;
18847 wxWindow
*arg1
= (wxWindow
*) NULL
;
18848 wxWindowDestroyEvent
*result
;
18849 PyObject
* obj0
= 0 ;
18850 char *kwnames
[] = {
18851 (char *) "win", NULL
18854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDestroyEvent",kwnames
,&obj0
)) goto fail
;
18856 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
18857 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18861 result
= (wxWindowDestroyEvent
*)new wxWindowDestroyEvent(arg1
);
18863 wxPyEndAllowThreads(__tstate
);
18864 if (PyErr_Occurred()) SWIG_fail
;
18866 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDestroyEvent
, 1);
18873 static PyObject
*_wrap_WindowDestroyEvent_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18874 PyObject
*resultobj
;
18875 wxWindowDestroyEvent
*arg1
= (wxWindowDestroyEvent
*) 0 ;
18877 PyObject
* obj0
= 0 ;
18878 char *kwnames
[] = {
18879 (char *) "self", NULL
18882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WindowDestroyEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
18883 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindowDestroyEvent
,
18884 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18887 result
= (wxWindow
*)((wxWindowDestroyEvent
const *)arg1
)->GetWindow();
18889 wxPyEndAllowThreads(__tstate
);
18890 if (PyErr_Occurred()) SWIG_fail
;
18893 resultobj
= wxPyMake_wxObject(result
);
18901 static PyObject
* WindowDestroyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18903 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18904 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDestroyEvent
, obj
);
18906 return Py_BuildValue((char *)"");
18908 static PyObject
*_wrap_new_ContextMenuEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18909 PyObject
*resultobj
;
18910 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
18911 int arg2
= (int) 0 ;
18912 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
18913 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
18914 wxContextMenuEvent
*result
;
18916 PyObject
* obj0
= 0 ;
18917 PyObject
* obj1
= 0 ;
18918 PyObject
* obj2
= 0 ;
18919 char *kwnames
[] = {
18920 (char *) "type",(char *) "winid",(char *) "pt", NULL
18923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ContextMenuEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18925 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
18926 if (PyErr_Occurred()) SWIG_fail
;
18929 arg2
= (int) SWIG_AsInt(obj1
);
18930 if (PyErr_Occurred()) SWIG_fail
;
18935 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18940 result
= (wxContextMenuEvent
*)new wxContextMenuEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
18942 wxPyEndAllowThreads(__tstate
);
18943 if (PyErr_Occurred()) SWIG_fail
;
18945 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextMenuEvent
, 1);
18952 static PyObject
*_wrap_ContextMenuEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18953 PyObject
*resultobj
;
18954 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
18956 PyObject
* obj0
= 0 ;
18957 char *kwnames
[] = {
18958 (char *) "self", NULL
18961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ContextMenuEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
18962 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextMenuEvent
,
18963 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18967 wxPoint
const &_result_ref
= ((wxContextMenuEvent
const *)arg1
)->GetPosition();
18968 result
= (wxPoint
*) &_result_ref
;
18971 wxPyEndAllowThreads(__tstate
);
18972 if (PyErr_Occurred()) SWIG_fail
;
18974 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
18981 static PyObject
*_wrap_ContextMenuEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18982 PyObject
*resultobj
;
18983 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
18984 wxPoint
*arg2
= 0 ;
18986 PyObject
* obj0
= 0 ;
18987 PyObject
* obj1
= 0 ;
18988 char *kwnames
[] = {
18989 (char *) "self",(char *) "pos", NULL
18992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ContextMenuEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
18993 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextMenuEvent
,
18994 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18997 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19001 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
19003 wxPyEndAllowThreads(__tstate
);
19004 if (PyErr_Occurred()) SWIG_fail
;
19006 Py_INCREF(Py_None
); resultobj
= Py_None
;
19013 static PyObject
* ContextMenuEvent_swigregister(PyObject
*self
, PyObject
*args
) {
19015 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19016 SWIG_TypeClientData(SWIGTYPE_p_wxContextMenuEvent
, obj
);
19018 return Py_BuildValue((char *)"");
19020 static PyObject
*_wrap_new_IdleEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19021 PyObject
*resultobj
;
19022 wxIdleEvent
*result
;
19023 char *kwnames
[] = {
19027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_IdleEvent",kwnames
)) goto fail
;
19029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19030 result
= (wxIdleEvent
*)new wxIdleEvent();
19032 wxPyEndAllowThreads(__tstate
);
19033 if (PyErr_Occurred()) SWIG_fail
;
19035 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIdleEvent
, 1);
19042 static PyObject
*_wrap_IdleEvent_RequestMore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19043 PyObject
*resultobj
;
19044 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
19045 bool arg2
= (bool) True
;
19046 PyObject
* obj0
= 0 ;
19047 PyObject
* obj1
= 0 ;
19048 char *kwnames
[] = {
19049 (char *) "self",(char *) "needMore", NULL
19052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:IdleEvent_RequestMore",kwnames
,&obj0
,&obj1
)) goto fail
;
19053 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIdleEvent
,
19054 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19056 arg2
= (bool) SWIG_AsBool(obj1
);
19057 if (PyErr_Occurred()) SWIG_fail
;
19060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19061 (arg1
)->RequestMore(arg2
);
19063 wxPyEndAllowThreads(__tstate
);
19064 if (PyErr_Occurred()) SWIG_fail
;
19066 Py_INCREF(Py_None
); resultobj
= Py_None
;
19073 static PyObject
*_wrap_IdleEvent_MoreRequested(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19074 PyObject
*resultobj
;
19075 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
19077 PyObject
* obj0
= 0 ;
19078 char *kwnames
[] = {
19079 (char *) "self", NULL
19082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_MoreRequested",kwnames
,&obj0
)) goto fail
;
19083 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIdleEvent
,
19084 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19087 result
= (bool)((wxIdleEvent
const *)arg1
)->MoreRequested();
19089 wxPyEndAllowThreads(__tstate
);
19090 if (PyErr_Occurred()) SWIG_fail
;
19093 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19101 static PyObject
*_wrap_IdleEvent_SetMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19102 PyObject
*resultobj
;
19104 PyObject
* obj0
= 0 ;
19105 char *kwnames
[] = {
19106 (char *) "mode", NULL
19109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_SetMode",kwnames
,&obj0
)) goto fail
;
19110 arg1
= (wxIdleMode
) SWIG_AsInt(obj0
);
19111 if (PyErr_Occurred()) SWIG_fail
;
19113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19114 wxIdleEvent::SetMode((wxIdleMode
)arg1
);
19116 wxPyEndAllowThreads(__tstate
);
19117 if (PyErr_Occurred()) SWIG_fail
;
19119 Py_INCREF(Py_None
); resultobj
= Py_None
;
19126 static PyObject
*_wrap_IdleEvent_GetMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19127 PyObject
*resultobj
;
19129 char *kwnames
[] = {
19133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":IdleEvent_GetMode",kwnames
)) goto fail
;
19135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19136 result
= (int)wxIdleEvent::GetMode();
19138 wxPyEndAllowThreads(__tstate
);
19139 if (PyErr_Occurred()) SWIG_fail
;
19141 resultobj
= SWIG_FromInt((int)result
);
19148 static PyObject
*_wrap_IdleEvent_CanSend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19149 PyObject
*resultobj
;
19150 wxWindow
*arg1
= (wxWindow
*) 0 ;
19152 PyObject
* obj0
= 0 ;
19153 char *kwnames
[] = {
19154 (char *) "win", NULL
19157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_CanSend",kwnames
,&obj0
)) goto fail
;
19158 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
19159 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19162 result
= (bool)wxIdleEvent::CanSend(arg1
);
19164 wxPyEndAllowThreads(__tstate
);
19165 if (PyErr_Occurred()) SWIG_fail
;
19168 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19176 static PyObject
* IdleEvent_swigregister(PyObject
*self
, PyObject
*args
) {
19178 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19179 SWIG_TypeClientData(SWIGTYPE_p_wxIdleEvent
, obj
);
19181 return Py_BuildValue((char *)"");
19183 static PyObject
*_wrap_new_PyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19184 PyObject
*resultobj
;
19185 int arg1
= (int) 0 ;
19186 wxEventType arg2
= (wxEventType
) wxEVT_NULL
;
19188 PyObject
* obj0
= 0 ;
19189 PyObject
* obj1
= 0 ;
19190 char *kwnames
[] = {
19191 (char *) "winid",(char *) "commandType", NULL
19194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19196 arg1
= (int) SWIG_AsInt(obj0
);
19197 if (PyErr_Occurred()) SWIG_fail
;
19200 arg2
= (wxEventType
) SWIG_AsInt(obj1
);
19201 if (PyErr_Occurred()) SWIG_fail
;
19204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19205 result
= (wxPyEvent
*)new wxPyEvent(arg1
,arg2
);
19207 wxPyEndAllowThreads(__tstate
);
19208 if (PyErr_Occurred()) SWIG_fail
;
19210 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyEvent
, 1);
19217 static PyObject
*_wrap_delete_PyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19218 PyObject
*resultobj
;
19219 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
19220 PyObject
* obj0
= 0 ;
19221 char *kwnames
[] = {
19222 (char *) "self", NULL
19225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyEvent",kwnames
,&obj0
)) goto fail
;
19226 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEvent
,
19227 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19232 wxPyEndAllowThreads(__tstate
);
19233 if (PyErr_Occurred()) SWIG_fail
;
19235 Py_INCREF(Py_None
); resultobj
= Py_None
;
19242 static PyObject
*_wrap_PyEvent_SetSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19243 PyObject
*resultobj
;
19244 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
19245 PyObject
*arg2
= (PyObject
*) 0 ;
19246 PyObject
* obj0
= 0 ;
19247 PyObject
* obj1
= 0 ;
19248 char *kwnames
[] = {
19249 (char *) "self",(char *) "self", NULL
19252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEvent_SetSelf",kwnames
,&obj0
,&obj1
)) goto fail
;
19253 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEvent
,
19254 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19258 (arg1
)->SetSelf(arg2
);
19260 wxPyEndAllowThreads(__tstate
);
19261 if (PyErr_Occurred()) SWIG_fail
;
19263 Py_INCREF(Py_None
); resultobj
= Py_None
;
19270 static PyObject
*_wrap_PyEvent_GetSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19271 PyObject
*resultobj
;
19272 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
19274 PyObject
* obj0
= 0 ;
19275 char *kwnames
[] = {
19276 (char *) "self", NULL
19279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyEvent_GetSelf",kwnames
,&obj0
)) goto fail
;
19280 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEvent
,
19281 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19284 result
= (PyObject
*)(arg1
)->GetSelf();
19286 wxPyEndAllowThreads(__tstate
);
19287 if (PyErr_Occurred()) SWIG_fail
;
19289 resultobj
= result
;
19296 static PyObject
* PyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
19298 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19299 SWIG_TypeClientData(SWIGTYPE_p_wxPyEvent
, obj
);
19301 return Py_BuildValue((char *)"");
19303 static PyObject
*_wrap_new_PyCommandEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19304 PyObject
*resultobj
;
19305 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19306 int arg2
= (int) 0 ;
19307 wxPyCommandEvent
*result
;
19308 PyObject
* obj0
= 0 ;
19309 PyObject
* obj1
= 0 ;
19310 char *kwnames
[] = {
19311 (char *) "commandType",(char *) "id", NULL
19314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyCommandEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19316 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
19317 if (PyErr_Occurred()) SWIG_fail
;
19320 arg2
= (int) SWIG_AsInt(obj1
);
19321 if (PyErr_Occurred()) SWIG_fail
;
19324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19325 result
= (wxPyCommandEvent
*)new wxPyCommandEvent(arg1
,arg2
);
19327 wxPyEndAllowThreads(__tstate
);
19328 if (PyErr_Occurred()) SWIG_fail
;
19330 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyCommandEvent
, 1);
19337 static PyObject
*_wrap_delete_PyCommandEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19338 PyObject
*resultobj
;
19339 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
19340 PyObject
* obj0
= 0 ;
19341 char *kwnames
[] = {
19342 (char *) "self", NULL
19345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyCommandEvent",kwnames
,&obj0
)) goto fail
;
19346 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCommandEvent
,
19347 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19352 wxPyEndAllowThreads(__tstate
);
19353 if (PyErr_Occurred()) SWIG_fail
;
19355 Py_INCREF(Py_None
); resultobj
= Py_None
;
19362 static PyObject
*_wrap_PyCommandEvent_SetSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19363 PyObject
*resultobj
;
19364 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
19365 PyObject
*arg2
= (PyObject
*) 0 ;
19366 PyObject
* obj0
= 0 ;
19367 PyObject
* obj1
= 0 ;
19368 char *kwnames
[] = {
19369 (char *) "self",(char *) "self", NULL
19372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCommandEvent_SetSelf",kwnames
,&obj0
,&obj1
)) goto fail
;
19373 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCommandEvent
,
19374 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19378 (arg1
)->SetSelf(arg2
);
19380 wxPyEndAllowThreads(__tstate
);
19381 if (PyErr_Occurred()) SWIG_fail
;
19383 Py_INCREF(Py_None
); resultobj
= Py_None
;
19390 static PyObject
*_wrap_PyCommandEvent_GetSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19391 PyObject
*resultobj
;
19392 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
19394 PyObject
* obj0
= 0 ;
19395 char *kwnames
[] = {
19396 (char *) "self", NULL
19399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyCommandEvent_GetSelf",kwnames
,&obj0
)) goto fail
;
19400 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCommandEvent
,
19401 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19404 result
= (PyObject
*)(arg1
)->GetSelf();
19406 wxPyEndAllowThreads(__tstate
);
19407 if (PyErr_Occurred()) SWIG_fail
;
19409 resultobj
= result
;
19416 static PyObject
* PyCommandEvent_swigregister(PyObject
*self
, PyObject
*args
) {
19418 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19419 SWIG_TypeClientData(SWIGTYPE_p_wxPyCommandEvent
, obj
);
19421 return Py_BuildValue((char *)"");
19423 static PyObject
*_wrap_new_PyApp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19424 PyObject
*resultobj
;
19426 char *kwnames
[] = {
19430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyApp",kwnames
)) goto fail
;
19432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19433 result
= (wxPyApp
*)new_wxPyApp();
19435 wxPyEndAllowThreads(__tstate
);
19436 if (PyErr_Occurred()) SWIG_fail
;
19439 resultobj
= wxPyMake_wxObject(result
);
19447 static PyObject
*_wrap_delete_PyApp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19448 PyObject
*resultobj
;
19449 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19450 PyObject
* obj0
= 0 ;
19451 char *kwnames
[] = {
19452 (char *) "self", NULL
19455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyApp",kwnames
,&obj0
)) goto fail
;
19456 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19457 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19462 wxPyEndAllowThreads(__tstate
);
19463 if (PyErr_Occurred()) SWIG_fail
;
19465 Py_INCREF(Py_None
); resultobj
= Py_None
;
19472 static PyObject
*_wrap_PyApp__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19473 PyObject
*resultobj
;
19474 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19475 PyObject
*arg2
= (PyObject
*) 0 ;
19476 PyObject
*arg3
= (PyObject
*) 0 ;
19477 PyObject
* obj0
= 0 ;
19478 PyObject
* obj1
= 0 ;
19479 PyObject
* obj2
= 0 ;
19480 char *kwnames
[] = {
19481 (char *) "self",(char *) "self",(char *) "_class", NULL
19484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyApp__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19485 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19486 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19491 (arg1
)->_setCallbackInfo(arg2
,arg3
);
19493 wxPyEndAllowThreads(__tstate
);
19494 if (PyErr_Occurred()) SWIG_fail
;
19496 Py_INCREF(Py_None
); resultobj
= Py_None
;
19503 static PyObject
*_wrap_PyApp_GetAppName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19504 PyObject
*resultobj
;
19505 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19507 PyObject
* obj0
= 0 ;
19508 char *kwnames
[] = {
19509 (char *) "self", NULL
19512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetAppName",kwnames
,&obj0
)) goto fail
;
19513 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19514 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19517 result
= ((wxPyApp
const *)arg1
)->GetAppName();
19519 wxPyEndAllowThreads(__tstate
);
19520 if (PyErr_Occurred()) SWIG_fail
;
19524 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19526 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19535 static PyObject
*_wrap_PyApp_SetAppName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19536 PyObject
*resultobj
;
19537 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19538 wxString
*arg2
= 0 ;
19539 bool temp2
= False
;
19540 PyObject
* obj0
= 0 ;
19541 PyObject
* obj1
= 0 ;
19542 char *kwnames
[] = {
19543 (char *) "self",(char *) "name", NULL
19546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetAppName",kwnames
,&obj0
,&obj1
)) goto fail
;
19547 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19548 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19550 arg2
= wxString_in_helper(obj1
);
19551 if (arg2
== NULL
) SWIG_fail
;
19555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19556 (arg1
)->SetAppName((wxString
const &)*arg2
);
19558 wxPyEndAllowThreads(__tstate
);
19559 if (PyErr_Occurred()) SWIG_fail
;
19561 Py_INCREF(Py_None
); resultobj
= Py_None
;
19576 static PyObject
*_wrap_PyApp_GetClassName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19577 PyObject
*resultobj
;
19578 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19580 PyObject
* obj0
= 0 ;
19581 char *kwnames
[] = {
19582 (char *) "self", NULL
19585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetClassName",kwnames
,&obj0
)) goto fail
;
19586 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19587 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19590 result
= ((wxPyApp
const *)arg1
)->GetClassName();
19592 wxPyEndAllowThreads(__tstate
);
19593 if (PyErr_Occurred()) SWIG_fail
;
19597 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19599 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19608 static PyObject
*_wrap_PyApp_SetClassName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19609 PyObject
*resultobj
;
19610 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19611 wxString
*arg2
= 0 ;
19612 bool temp2
= False
;
19613 PyObject
* obj0
= 0 ;
19614 PyObject
* obj1
= 0 ;
19615 char *kwnames
[] = {
19616 (char *) "self",(char *) "name", NULL
19619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetClassName",kwnames
,&obj0
,&obj1
)) goto fail
;
19620 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19621 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19623 arg2
= wxString_in_helper(obj1
);
19624 if (arg2
== NULL
) SWIG_fail
;
19628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19629 (arg1
)->SetClassName((wxString
const &)*arg2
);
19631 wxPyEndAllowThreads(__tstate
);
19632 if (PyErr_Occurred()) SWIG_fail
;
19634 Py_INCREF(Py_None
); resultobj
= Py_None
;
19649 static PyObject
*_wrap_PyApp_GetVendorName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19650 PyObject
*resultobj
;
19651 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19653 PyObject
* obj0
= 0 ;
19654 char *kwnames
[] = {
19655 (char *) "self", NULL
19658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetVendorName",kwnames
,&obj0
)) goto fail
;
19659 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19660 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19664 wxString
const &_result_ref
= ((wxPyApp
const *)arg1
)->GetVendorName();
19665 result
= (wxString
*) &_result_ref
;
19668 wxPyEndAllowThreads(__tstate
);
19669 if (PyErr_Occurred()) SWIG_fail
;
19673 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19675 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19684 static PyObject
*_wrap_PyApp_SetVendorName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19685 PyObject
*resultobj
;
19686 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19687 wxString
*arg2
= 0 ;
19688 bool temp2
= False
;
19689 PyObject
* obj0
= 0 ;
19690 PyObject
* obj1
= 0 ;
19691 char *kwnames
[] = {
19692 (char *) "self",(char *) "name", NULL
19695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetVendorName",kwnames
,&obj0
,&obj1
)) goto fail
;
19696 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19697 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19699 arg2
= wxString_in_helper(obj1
);
19700 if (arg2
== NULL
) SWIG_fail
;
19704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19705 (arg1
)->SetVendorName((wxString
const &)*arg2
);
19707 wxPyEndAllowThreads(__tstate
);
19708 if (PyErr_Occurred()) SWIG_fail
;
19710 Py_INCREF(Py_None
); resultobj
= Py_None
;
19725 static PyObject
*_wrap_PyApp_GetTraits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19726 PyObject
*resultobj
;
19727 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19728 wxAppTraits
*result
;
19729 PyObject
* obj0
= 0 ;
19730 char *kwnames
[] = {
19731 (char *) "self", NULL
19734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetTraits",kwnames
,&obj0
)) goto fail
;
19735 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19736 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19739 result
= (wxAppTraits
*)(arg1
)->GetTraits();
19741 wxPyEndAllowThreads(__tstate
);
19742 if (PyErr_Occurred()) SWIG_fail
;
19744 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAppTraits
, 0);
19751 static PyObject
*_wrap_PyApp_ProcessPendingEvents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19752 PyObject
*resultobj
;
19753 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19754 PyObject
* obj0
= 0 ;
19755 char *kwnames
[] = {
19756 (char *) "self", NULL
19759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ProcessPendingEvents",kwnames
,&obj0
)) goto fail
;
19760 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19761 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19764 (arg1
)->ProcessPendingEvents();
19766 wxPyEndAllowThreads(__tstate
);
19767 if (PyErr_Occurred()) SWIG_fail
;
19769 Py_INCREF(Py_None
); resultobj
= Py_None
;
19776 static PyObject
*_wrap_PyApp_Yield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19777 PyObject
*resultobj
;
19778 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19779 bool arg2
= (bool) False
;
19781 PyObject
* obj0
= 0 ;
19782 PyObject
* obj1
= 0 ;
19783 char *kwnames
[] = {
19784 (char *) "self",(char *) "onlyIfNeeded", NULL
19787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyApp_Yield",kwnames
,&obj0
,&obj1
)) goto fail
;
19788 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19789 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19791 arg2
= (bool) SWIG_AsBool(obj1
);
19792 if (PyErr_Occurred()) SWIG_fail
;
19795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19796 result
= (bool)(arg1
)->Yield(arg2
);
19798 wxPyEndAllowThreads(__tstate
);
19799 if (PyErr_Occurred()) SWIG_fail
;
19802 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19810 static PyObject
*_wrap_PyApp_WakeUpIdle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19811 PyObject
*resultobj
;
19812 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19813 PyObject
* obj0
= 0 ;
19814 char *kwnames
[] = {
19815 (char *) "self", NULL
19818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_WakeUpIdle",kwnames
,&obj0
)) goto fail
;
19819 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19820 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19823 (arg1
)->WakeUpIdle();
19825 wxPyEndAllowThreads(__tstate
);
19826 if (PyErr_Occurred()) SWIG_fail
;
19828 Py_INCREF(Py_None
); resultobj
= Py_None
;
19835 static PyObject
*_wrap_PyApp_MainLoop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19836 PyObject
*resultobj
;
19837 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19839 PyObject
* obj0
= 0 ;
19840 char *kwnames
[] = {
19841 (char *) "self", NULL
19844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_MainLoop",kwnames
,&obj0
)) goto fail
;
19845 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19846 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19849 result
= (int)(arg1
)->MainLoop();
19851 wxPyEndAllowThreads(__tstate
);
19852 if (PyErr_Occurred()) SWIG_fail
;
19854 resultobj
= SWIG_FromInt((int)result
);
19861 static PyObject
*_wrap_PyApp_Exit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19862 PyObject
*resultobj
;
19863 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19864 PyObject
* obj0
= 0 ;
19865 char *kwnames
[] = {
19866 (char *) "self", NULL
19869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Exit",kwnames
,&obj0
)) goto fail
;
19870 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19871 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19876 wxPyEndAllowThreads(__tstate
);
19877 if (PyErr_Occurred()) SWIG_fail
;
19879 Py_INCREF(Py_None
); resultobj
= Py_None
;
19886 static PyObject
*_wrap_PyApp_ExitMainLoop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19887 PyObject
*resultobj
;
19888 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19889 PyObject
* obj0
= 0 ;
19890 char *kwnames
[] = {
19891 (char *) "self", NULL
19894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ExitMainLoop",kwnames
,&obj0
)) goto fail
;
19895 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19896 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19899 (arg1
)->ExitMainLoop();
19901 wxPyEndAllowThreads(__tstate
);
19902 if (PyErr_Occurred()) SWIG_fail
;
19904 Py_INCREF(Py_None
); resultobj
= Py_None
;
19911 static PyObject
*_wrap_PyApp_Pending(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19912 PyObject
*resultobj
;
19913 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19915 PyObject
* obj0
= 0 ;
19916 char *kwnames
[] = {
19917 (char *) "self", NULL
19920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Pending",kwnames
,&obj0
)) goto fail
;
19921 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19925 result
= (bool)(arg1
)->Pending();
19927 wxPyEndAllowThreads(__tstate
);
19928 if (PyErr_Occurred()) SWIG_fail
;
19931 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19939 static PyObject
*_wrap_PyApp_Dispatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19940 PyObject
*resultobj
;
19941 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19943 PyObject
* obj0
= 0 ;
19944 char *kwnames
[] = {
19945 (char *) "self", NULL
19948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Dispatch",kwnames
,&obj0
)) goto fail
;
19949 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19950 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19953 result
= (bool)(arg1
)->Dispatch();
19955 wxPyEndAllowThreads(__tstate
);
19956 if (PyErr_Occurred()) SWIG_fail
;
19959 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19967 static PyObject
*_wrap_PyApp_ProcessIdle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19968 PyObject
*resultobj
;
19969 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19971 PyObject
* obj0
= 0 ;
19972 char *kwnames
[] = {
19973 (char *) "self", NULL
19976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ProcessIdle",kwnames
,&obj0
)) goto fail
;
19977 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19978 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19981 result
= (bool)(arg1
)->ProcessIdle();
19983 wxPyEndAllowThreads(__tstate
);
19984 if (PyErr_Occurred()) SWIG_fail
;
19987 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19995 static PyObject
*_wrap_PyApp_SendIdleEvents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19996 PyObject
*resultobj
;
19997 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19998 wxWindow
*arg2
= (wxWindow
*) 0 ;
19999 wxIdleEvent
*arg3
= 0 ;
20001 PyObject
* obj0
= 0 ;
20002 PyObject
* obj1
= 0 ;
20003 PyObject
* obj2
= 0 ;
20004 char *kwnames
[] = {
20005 (char *) "self",(char *) "win",(char *) "event", NULL
20008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyApp_SendIdleEvents",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20009 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20010 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20011 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
20012 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20013 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxIdleEvent
,
20014 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20016 if (arg3
== NULL
) {
20017 PyErr_SetString(PyExc_TypeError
,"null reference");
20021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20022 result
= (bool)(arg1
)->SendIdleEvents(arg2
,*arg3
);
20024 wxPyEndAllowThreads(__tstate
);
20025 if (PyErr_Occurred()) SWIG_fail
;
20028 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20036 static PyObject
*_wrap_PyApp_IsActive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20037 PyObject
*resultobj
;
20038 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20040 PyObject
* obj0
= 0 ;
20041 char *kwnames
[] = {
20042 (char *) "self", NULL
20045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_IsActive",kwnames
,&obj0
)) goto fail
;
20046 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20047 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20050 result
= (bool)((wxPyApp
const *)arg1
)->IsActive();
20052 wxPyEndAllowThreads(__tstate
);
20053 if (PyErr_Occurred()) SWIG_fail
;
20056 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20064 static PyObject
*_wrap_PyApp_SetTopWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20065 PyObject
*resultobj
;
20066 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20067 wxWindow
*arg2
= (wxWindow
*) 0 ;
20068 PyObject
* obj0
= 0 ;
20069 PyObject
* obj1
= 0 ;
20070 char *kwnames
[] = {
20071 (char *) "self",(char *) "win", NULL
20074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetTopWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
20075 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20076 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20077 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
20078 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20081 (arg1
)->SetTopWindow(arg2
);
20083 wxPyEndAllowThreads(__tstate
);
20084 if (PyErr_Occurred()) SWIG_fail
;
20086 Py_INCREF(Py_None
); resultobj
= Py_None
;
20093 static PyObject
*_wrap_PyApp_GetTopWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20094 PyObject
*resultobj
;
20095 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20097 PyObject
* obj0
= 0 ;
20098 char *kwnames
[] = {
20099 (char *) "self", NULL
20102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetTopWindow",kwnames
,&obj0
)) goto fail
;
20103 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20104 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20107 result
= (wxWindow
*)((wxPyApp
const *)arg1
)->GetTopWindow();
20109 wxPyEndAllowThreads(__tstate
);
20110 if (PyErr_Occurred()) SWIG_fail
;
20113 resultobj
= wxPyMake_wxObject(result
);
20121 static PyObject
*_wrap_PyApp_SetExitOnFrameDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20122 PyObject
*resultobj
;
20123 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20125 PyObject
* obj0
= 0 ;
20126 PyObject
* obj1
= 0 ;
20127 char *kwnames
[] = {
20128 (char *) "self",(char *) "flag", NULL
20131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetExitOnFrameDelete",kwnames
,&obj0
,&obj1
)) goto fail
;
20132 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20133 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20134 arg2
= (bool) SWIG_AsBool(obj1
);
20135 if (PyErr_Occurred()) SWIG_fail
;
20137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20138 (arg1
)->SetExitOnFrameDelete(arg2
);
20140 wxPyEndAllowThreads(__tstate
);
20141 if (PyErr_Occurred()) SWIG_fail
;
20143 Py_INCREF(Py_None
); resultobj
= Py_None
;
20150 static PyObject
*_wrap_PyApp_GetExitOnFrameDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20151 PyObject
*resultobj
;
20152 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20154 PyObject
* obj0
= 0 ;
20155 char *kwnames
[] = {
20156 (char *) "self", NULL
20159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetExitOnFrameDelete",kwnames
,&obj0
)) goto fail
;
20160 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20161 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20164 result
= (bool)((wxPyApp
const *)arg1
)->GetExitOnFrameDelete();
20166 wxPyEndAllowThreads(__tstate
);
20167 if (PyErr_Occurred()) SWIG_fail
;
20170 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20178 static PyObject
*_wrap_PyApp_SetUseBestVisual(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20179 PyObject
*resultobj
;
20180 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20182 PyObject
* obj0
= 0 ;
20183 PyObject
* obj1
= 0 ;
20184 char *kwnames
[] = {
20185 (char *) "self",(char *) "flag", NULL
20188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetUseBestVisual",kwnames
,&obj0
,&obj1
)) goto fail
;
20189 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20190 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20191 arg2
= (bool) SWIG_AsBool(obj1
);
20192 if (PyErr_Occurred()) SWIG_fail
;
20194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20195 (arg1
)->SetUseBestVisual(arg2
);
20197 wxPyEndAllowThreads(__tstate
);
20198 if (PyErr_Occurred()) SWIG_fail
;
20200 Py_INCREF(Py_None
); resultobj
= Py_None
;
20207 static PyObject
*_wrap_PyApp_GetUseBestVisual(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20208 PyObject
*resultobj
;
20209 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20211 PyObject
* obj0
= 0 ;
20212 char *kwnames
[] = {
20213 (char *) "self", NULL
20216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetUseBestVisual",kwnames
,&obj0
)) goto fail
;
20217 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20218 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20221 result
= (bool)((wxPyApp
const *)arg1
)->GetUseBestVisual();
20223 wxPyEndAllowThreads(__tstate
);
20224 if (PyErr_Occurred()) SWIG_fail
;
20227 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20235 static PyObject
*_wrap_PyApp_SetPrintMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20236 PyObject
*resultobj
;
20237 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20239 PyObject
* obj0
= 0 ;
20240 PyObject
* obj1
= 0 ;
20241 char *kwnames
[] = {
20242 (char *) "self",(char *) "mode", NULL
20245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetPrintMode",kwnames
,&obj0
,&obj1
)) goto fail
;
20246 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20247 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20248 arg2
= (int) SWIG_AsInt(obj1
);
20249 if (PyErr_Occurred()) SWIG_fail
;
20251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20252 (arg1
)->SetPrintMode(arg2
);
20254 wxPyEndAllowThreads(__tstate
);
20255 if (PyErr_Occurred()) SWIG_fail
;
20257 Py_INCREF(Py_None
); resultobj
= Py_None
;
20264 static PyObject
*_wrap_PyApp_GetPrintMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20265 PyObject
*resultobj
;
20266 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20268 PyObject
* obj0
= 0 ;
20269 char *kwnames
[] = {
20270 (char *) "self", NULL
20273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetPrintMode",kwnames
,&obj0
)) goto fail
;
20274 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20275 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20278 result
= (int)((wxPyApp
const *)arg1
)->GetPrintMode();
20280 wxPyEndAllowThreads(__tstate
);
20281 if (PyErr_Occurred()) SWIG_fail
;
20283 resultobj
= SWIG_FromInt((int)result
);
20290 static PyObject
*_wrap_PyApp_SetAssertMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20291 PyObject
*resultobj
;
20292 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20294 PyObject
* obj0
= 0 ;
20295 PyObject
* obj1
= 0 ;
20296 char *kwnames
[] = {
20297 (char *) "self",(char *) "mode", NULL
20300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetAssertMode",kwnames
,&obj0
,&obj1
)) goto fail
;
20301 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20302 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20303 arg2
= (int) SWIG_AsInt(obj1
);
20304 if (PyErr_Occurred()) SWIG_fail
;
20306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20307 (arg1
)->SetAssertMode(arg2
);
20309 wxPyEndAllowThreads(__tstate
);
20310 if (PyErr_Occurred()) SWIG_fail
;
20312 Py_INCREF(Py_None
); resultobj
= Py_None
;
20319 static PyObject
*_wrap_PyApp_GetAssertMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20320 PyObject
*resultobj
;
20321 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20323 PyObject
* obj0
= 0 ;
20324 char *kwnames
[] = {
20325 (char *) "self", NULL
20328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetAssertMode",kwnames
,&obj0
)) goto fail
;
20329 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20330 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20333 result
= (int)(arg1
)->GetAssertMode();
20335 wxPyEndAllowThreads(__tstate
);
20336 if (PyErr_Occurred()) SWIG_fail
;
20338 resultobj
= SWIG_FromInt((int)result
);
20345 static PyObject
*_wrap_PyApp_GetMacSupportPCMenuShortcuts(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20346 PyObject
*resultobj
;
20348 char *kwnames
[] = {
20352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacSupportPCMenuShortcuts",kwnames
)) goto fail
;
20354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20355 result
= (bool)wxPyApp::GetMacSupportPCMenuShortcuts();
20357 wxPyEndAllowThreads(__tstate
);
20358 if (PyErr_Occurred()) SWIG_fail
;
20361 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20369 static PyObject
*_wrap_PyApp_GetMacAboutMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20370 PyObject
*resultobj
;
20372 char *kwnames
[] = {
20376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacAboutMenuItemId",kwnames
)) goto fail
;
20378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20379 result
= (long)wxPyApp::GetMacAboutMenuItemId();
20381 wxPyEndAllowThreads(__tstate
);
20382 if (PyErr_Occurred()) SWIG_fail
;
20384 resultobj
= SWIG_FromLong((long)result
);
20391 static PyObject
*_wrap_PyApp_GetMacPreferencesMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20392 PyObject
*resultobj
;
20394 char *kwnames
[] = {
20398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacPreferencesMenuItemId",kwnames
)) goto fail
;
20400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20401 result
= (long)wxPyApp::GetMacPreferencesMenuItemId();
20403 wxPyEndAllowThreads(__tstate
);
20404 if (PyErr_Occurred()) SWIG_fail
;
20406 resultobj
= SWIG_FromLong((long)result
);
20413 static PyObject
*_wrap_PyApp_GetMacExitMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20414 PyObject
*resultobj
;
20416 char *kwnames
[] = {
20420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacExitMenuItemId",kwnames
)) goto fail
;
20422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20423 result
= (long)wxPyApp::GetMacExitMenuItemId();
20425 wxPyEndAllowThreads(__tstate
);
20426 if (PyErr_Occurred()) SWIG_fail
;
20428 resultobj
= SWIG_FromLong((long)result
);
20435 static PyObject
*_wrap_PyApp_GetMacHelpMenuTitleName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20436 PyObject
*resultobj
;
20438 char *kwnames
[] = {
20442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacHelpMenuTitleName",kwnames
)) goto fail
;
20444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20445 result
= wxPyApp::GetMacHelpMenuTitleName();
20447 wxPyEndAllowThreads(__tstate
);
20448 if (PyErr_Occurred()) SWIG_fail
;
20452 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20454 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20463 static PyObject
*_wrap_PyApp_SetMacSupportPCMenuShortcuts(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20464 PyObject
*resultobj
;
20466 PyObject
* obj0
= 0 ;
20467 char *kwnames
[] = {
20468 (char *) "val", NULL
20471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacSupportPCMenuShortcuts",kwnames
,&obj0
)) goto fail
;
20472 arg1
= (bool) SWIG_AsBool(obj0
);
20473 if (PyErr_Occurred()) SWIG_fail
;
20475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20476 wxPyApp::SetMacSupportPCMenuShortcuts(arg1
);
20478 wxPyEndAllowThreads(__tstate
);
20479 if (PyErr_Occurred()) SWIG_fail
;
20481 Py_INCREF(Py_None
); resultobj
= Py_None
;
20488 static PyObject
*_wrap_PyApp_SetMacAboutMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20489 PyObject
*resultobj
;
20491 PyObject
* obj0
= 0 ;
20492 char *kwnames
[] = {
20493 (char *) "val", NULL
20496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacAboutMenuItemId",kwnames
,&obj0
)) goto fail
;
20497 arg1
= (long) SWIG_AsLong(obj0
);
20498 if (PyErr_Occurred()) SWIG_fail
;
20500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20501 wxPyApp::SetMacAboutMenuItemId(arg1
);
20503 wxPyEndAllowThreads(__tstate
);
20504 if (PyErr_Occurred()) SWIG_fail
;
20506 Py_INCREF(Py_None
); resultobj
= Py_None
;
20513 static PyObject
*_wrap_PyApp_SetMacPreferencesMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20514 PyObject
*resultobj
;
20516 PyObject
* obj0
= 0 ;
20517 char *kwnames
[] = {
20518 (char *) "val", NULL
20521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacPreferencesMenuItemId",kwnames
,&obj0
)) goto fail
;
20522 arg1
= (long) SWIG_AsLong(obj0
);
20523 if (PyErr_Occurred()) SWIG_fail
;
20525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20526 wxPyApp::SetMacPreferencesMenuItemId(arg1
);
20528 wxPyEndAllowThreads(__tstate
);
20529 if (PyErr_Occurred()) SWIG_fail
;
20531 Py_INCREF(Py_None
); resultobj
= Py_None
;
20538 static PyObject
*_wrap_PyApp_SetMacExitMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20539 PyObject
*resultobj
;
20541 PyObject
* obj0
= 0 ;
20542 char *kwnames
[] = {
20543 (char *) "val", NULL
20546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacExitMenuItemId",kwnames
,&obj0
)) goto fail
;
20547 arg1
= (long) SWIG_AsLong(obj0
);
20548 if (PyErr_Occurred()) SWIG_fail
;
20550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20551 wxPyApp::SetMacExitMenuItemId(arg1
);
20553 wxPyEndAllowThreads(__tstate
);
20554 if (PyErr_Occurred()) SWIG_fail
;
20556 Py_INCREF(Py_None
); resultobj
= Py_None
;
20563 static PyObject
*_wrap_PyApp_SetMacHelpMenuTitleName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20564 PyObject
*resultobj
;
20565 wxString
*arg1
= 0 ;
20566 bool temp1
= False
;
20567 PyObject
* obj0
= 0 ;
20568 char *kwnames
[] = {
20569 (char *) "val", NULL
20572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacHelpMenuTitleName",kwnames
,&obj0
)) goto fail
;
20574 arg1
= wxString_in_helper(obj0
);
20575 if (arg1
== NULL
) SWIG_fail
;
20579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20580 wxPyApp::SetMacHelpMenuTitleName((wxString
const &)*arg1
);
20582 wxPyEndAllowThreads(__tstate
);
20583 if (PyErr_Occurred()) SWIG_fail
;
20585 Py_INCREF(Py_None
); resultobj
= Py_None
;
20600 static PyObject
*_wrap_PyApp__BootstrapApp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20601 PyObject
*resultobj
;
20602 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20603 PyObject
* obj0
= 0 ;
20604 char *kwnames
[] = {
20605 (char *) "self", NULL
20608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp__BootstrapApp",kwnames
,&obj0
)) goto fail
;
20609 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20610 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20613 (arg1
)->_BootstrapApp();
20615 wxPyEndAllowThreads(__tstate
);
20616 if (PyErr_Occurred()) SWIG_fail
;
20618 Py_INCREF(Py_None
); resultobj
= Py_None
;
20625 static PyObject
*_wrap_PyApp_GetComCtl32Version(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20626 PyObject
*resultobj
;
20628 char *kwnames
[] = {
20632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetComCtl32Version",kwnames
)) goto fail
;
20634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20635 result
= (int)PyApp_GetComCtl32Version();
20637 wxPyEndAllowThreads(__tstate
);
20638 if (PyErr_Occurred()) SWIG_fail
;
20640 resultobj
= SWIG_FromInt((int)result
);
20647 static PyObject
* PyApp_swigregister(PyObject
*self
, PyObject
*args
) {
20649 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20650 SWIG_TypeClientData(SWIGTYPE_p_wxPyApp
, obj
);
20652 return Py_BuildValue((char *)"");
20654 static PyObject
*_wrap_Exit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20655 PyObject
*resultobj
;
20656 char *kwnames
[] = {
20660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Exit",kwnames
)) goto fail
;
20662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20665 wxPyEndAllowThreads(__tstate
);
20666 if (PyErr_Occurred()) SWIG_fail
;
20668 Py_INCREF(Py_None
); resultobj
= Py_None
;
20675 static PyObject
*_wrap_Yield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20676 PyObject
*resultobj
;
20678 char *kwnames
[] = {
20682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Yield",kwnames
)) goto fail
;
20684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20685 result
= (bool)wxYield();
20687 wxPyEndAllowThreads(__tstate
);
20688 if (PyErr_Occurred()) SWIG_fail
;
20691 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20699 static PyObject
*_wrap_YieldIfNeeded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20700 PyObject
*resultobj
;
20702 char *kwnames
[] = {
20706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":YieldIfNeeded",kwnames
)) goto fail
;
20708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20709 result
= (bool)wxYieldIfNeeded();
20711 wxPyEndAllowThreads(__tstate
);
20712 if (PyErr_Occurred()) SWIG_fail
;
20715 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20723 static PyObject
*_wrap_SafeYield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20724 PyObject
*resultobj
;
20725 wxWindow
*arg1
= (wxWindow
*) NULL
;
20726 bool arg2
= (bool) False
;
20728 PyObject
* obj0
= 0 ;
20729 PyObject
* obj1
= 0 ;
20730 char *kwnames
[] = {
20731 (char *) "win",(char *) "onlyIfNeeded", NULL
20734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:SafeYield",kwnames
,&obj0
,&obj1
)) goto fail
;
20736 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
20737 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20740 arg2
= (bool) SWIG_AsBool(obj1
);
20741 if (PyErr_Occurred()) SWIG_fail
;
20744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20745 result
= (bool)wxSafeYield(arg1
,arg2
);
20747 wxPyEndAllowThreads(__tstate
);
20748 if (PyErr_Occurred()) SWIG_fail
;
20751 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20759 static PyObject
*_wrap_WakeUpIdle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20760 PyObject
*resultobj
;
20761 char *kwnames
[] = {
20765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":WakeUpIdle",kwnames
)) goto fail
;
20767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20770 wxPyEndAllowThreads(__tstate
);
20771 if (PyErr_Occurred()) SWIG_fail
;
20773 Py_INCREF(Py_None
); resultobj
= Py_None
;
20780 static PyObject
*_wrap_PostEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20781 PyObject
*resultobj
;
20782 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
20783 wxEvent
*arg2
= 0 ;
20784 PyObject
* obj0
= 0 ;
20785 PyObject
* obj1
= 0 ;
20786 char *kwnames
[] = {
20787 (char *) "dest",(char *) "event", NULL
20790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
20791 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
20792 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20793 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvent
,
20794 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20796 if (arg2
== NULL
) {
20797 PyErr_SetString(PyExc_TypeError
,"null reference");
20801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20802 wxPostEvent(arg1
,*arg2
);
20804 wxPyEndAllowThreads(__tstate
);
20805 if (PyErr_Occurred()) SWIG_fail
;
20807 Py_INCREF(Py_None
); resultobj
= Py_None
;
20814 static PyObject
*_wrap_App_CleanUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20815 PyObject
*resultobj
;
20816 char *kwnames
[] = {
20820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":App_CleanUp",kwnames
)) goto fail
;
20822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20825 wxPyEndAllowThreads(__tstate
);
20826 if (PyErr_Occurred()) SWIG_fail
;
20828 Py_INCREF(Py_None
); resultobj
= Py_None
;
20835 static PyObject
*_wrap_GetApp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20836 PyObject
*resultobj
;
20838 char *kwnames
[] = {
20842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetApp",kwnames
)) goto fail
;
20844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20845 result
= (wxPyApp
*)wxGetApp();
20847 wxPyEndAllowThreads(__tstate
);
20848 if (PyErr_Occurred()) SWIG_fail
;
20851 resultobj
= wxPyMake_wxObject(result
);
20859 static PyObject
*_wrap_new_AcceleratorEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20860 PyObject
*resultobj
;
20861 int arg1
= (int) 0 ;
20862 int arg2
= (int) 0 ;
20863 int arg3
= (int) 0 ;
20864 wxMenuItem
*arg4
= (wxMenuItem
*) NULL
;
20865 wxAcceleratorEntry
*result
;
20866 PyObject
* obj0
= 0 ;
20867 PyObject
* obj1
= 0 ;
20868 PyObject
* obj2
= 0 ;
20869 PyObject
* obj3
= 0 ;
20870 char *kwnames
[] = {
20871 (char *) "flags",(char *) "keyCode",(char *) "cmd",(char *) "item", NULL
20874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_AcceleratorEntry",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20876 arg1
= (int) SWIG_AsInt(obj0
);
20877 if (PyErr_Occurred()) SWIG_fail
;
20880 arg2
= (int) SWIG_AsInt(obj1
);
20881 if (PyErr_Occurred()) SWIG_fail
;
20884 arg3
= (int) SWIG_AsInt(obj2
);
20885 if (PyErr_Occurred()) SWIG_fail
;
20888 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxMenuItem
,
20889 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20893 result
= (wxAcceleratorEntry
*)new wxAcceleratorEntry(arg1
,arg2
,arg3
,arg4
);
20895 wxPyEndAllowThreads(__tstate
);
20896 if (PyErr_Occurred()) SWIG_fail
;
20898 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 1);
20905 static PyObject
*_wrap_delete_AcceleratorEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20906 PyObject
*resultobj
;
20907 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
20908 PyObject
* obj0
= 0 ;
20909 char *kwnames
[] = {
20910 (char *) "self", NULL
20913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_AcceleratorEntry",kwnames
,&obj0
)) goto fail
;
20914 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
20915 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20920 wxPyEndAllowThreads(__tstate
);
20921 if (PyErr_Occurred()) SWIG_fail
;
20923 Py_INCREF(Py_None
); resultobj
= Py_None
;
20930 static PyObject
*_wrap_AcceleratorEntry_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20931 PyObject
*resultobj
;
20932 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
20936 wxMenuItem
*arg5
= (wxMenuItem
*) NULL
;
20937 PyObject
* obj0
= 0 ;
20938 PyObject
* obj1
= 0 ;
20939 PyObject
* obj2
= 0 ;
20940 PyObject
* obj3
= 0 ;
20941 PyObject
* obj4
= 0 ;
20942 char *kwnames
[] = {
20943 (char *) "self",(char *) "flags",(char *) "keyCode",(char *) "cmd",(char *) "item", NULL
20946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:AcceleratorEntry_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
20947 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
20948 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20949 arg2
= (int) SWIG_AsInt(obj1
);
20950 if (PyErr_Occurred()) SWIG_fail
;
20951 arg3
= (int) SWIG_AsInt(obj2
);
20952 if (PyErr_Occurred()) SWIG_fail
;
20953 arg4
= (int) SWIG_AsInt(obj3
);
20954 if (PyErr_Occurred()) SWIG_fail
;
20956 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxMenuItem
,
20957 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20961 (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
20963 wxPyEndAllowThreads(__tstate
);
20964 if (PyErr_Occurred()) SWIG_fail
;
20966 Py_INCREF(Py_None
); resultobj
= Py_None
;
20973 static PyObject
*_wrap_AcceleratorEntry_SetMenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20974 PyObject
*resultobj
;
20975 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
20976 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
20977 PyObject
* obj0
= 0 ;
20978 PyObject
* obj1
= 0 ;
20979 char *kwnames
[] = {
20980 (char *) "self",(char *) "item", NULL
20983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AcceleratorEntry_SetMenuItem",kwnames
,&obj0
,&obj1
)) goto fail
;
20984 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
20985 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20986 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
20987 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20990 (arg1
)->SetMenuItem(arg2
);
20992 wxPyEndAllowThreads(__tstate
);
20993 if (PyErr_Occurred()) SWIG_fail
;
20995 Py_INCREF(Py_None
); resultobj
= Py_None
;
21002 static PyObject
*_wrap_AcceleratorEntry_GetMenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21003 PyObject
*resultobj
;
21004 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
21005 wxMenuItem
*result
;
21006 PyObject
* obj0
= 0 ;
21007 char *kwnames
[] = {
21008 (char *) "self", NULL
21011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetMenuItem",kwnames
,&obj0
)) goto fail
;
21012 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
21013 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21016 result
= (wxMenuItem
*)((wxAcceleratorEntry
const *)arg1
)->GetMenuItem();
21018 wxPyEndAllowThreads(__tstate
);
21019 if (PyErr_Occurred()) SWIG_fail
;
21022 resultobj
= wxPyMake_wxObject(result
);
21030 static PyObject
*_wrap_AcceleratorEntry_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21031 PyObject
*resultobj
;
21032 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
21034 PyObject
* obj0
= 0 ;
21035 char *kwnames
[] = {
21036 (char *) "self", NULL
21039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetFlags",kwnames
,&obj0
)) goto fail
;
21040 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
21041 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21044 result
= (int)(arg1
)->GetFlags();
21046 wxPyEndAllowThreads(__tstate
);
21047 if (PyErr_Occurred()) SWIG_fail
;
21049 resultobj
= SWIG_FromInt((int)result
);
21056 static PyObject
*_wrap_AcceleratorEntry_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21057 PyObject
*resultobj
;
21058 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
21060 PyObject
* obj0
= 0 ;
21061 char *kwnames
[] = {
21062 (char *) "self", NULL
21065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetKeyCode",kwnames
,&obj0
)) goto fail
;
21066 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
21067 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21070 result
= (int)(arg1
)->GetKeyCode();
21072 wxPyEndAllowThreads(__tstate
);
21073 if (PyErr_Occurred()) SWIG_fail
;
21075 resultobj
= SWIG_FromInt((int)result
);
21082 static PyObject
*_wrap_AcceleratorEntry_GetCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21083 PyObject
*resultobj
;
21084 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
21086 PyObject
* obj0
= 0 ;
21087 char *kwnames
[] = {
21088 (char *) "self", NULL
21091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetCommand",kwnames
,&obj0
)) goto fail
;
21092 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
21093 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21096 result
= (int)(arg1
)->GetCommand();
21098 wxPyEndAllowThreads(__tstate
);
21099 if (PyErr_Occurred()) SWIG_fail
;
21101 resultobj
= SWIG_FromInt((int)result
);
21108 static PyObject
* AcceleratorEntry_swigregister(PyObject
*self
, PyObject
*args
) {
21110 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21111 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorEntry
, obj
);
21113 return Py_BuildValue((char *)"");
21115 static PyObject
*_wrap_new_AcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21116 PyObject
*resultobj
;
21118 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
21119 wxAcceleratorTable
*result
;
21120 PyObject
* obj0
= 0 ;
21121 char *kwnames
[] = {
21125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_AcceleratorTable",kwnames
,&obj0
)) goto fail
;
21127 arg2
= wxAcceleratorEntry_LIST_helper(obj0
);
21128 if (arg2
) arg1
= PyList_Size(obj0
);
21132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21133 result
= (wxAcceleratorTable
*)new wxAcceleratorTable(arg1
,(wxAcceleratorEntry
const *)arg2
);
21135 wxPyEndAllowThreads(__tstate
);
21136 if (PyErr_Occurred()) SWIG_fail
;
21138 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorTable
, 1);
21151 static PyObject
*_wrap_delete_AcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21152 PyObject
*resultobj
;
21153 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
21154 PyObject
* obj0
= 0 ;
21155 char *kwnames
[] = {
21156 (char *) "self", NULL
21159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_AcceleratorTable",kwnames
,&obj0
)) goto fail
;
21160 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorTable
,
21161 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21166 wxPyEndAllowThreads(__tstate
);
21167 if (PyErr_Occurred()) SWIG_fail
;
21169 Py_INCREF(Py_None
); resultobj
= Py_None
;
21176 static PyObject
*_wrap_AcceleratorTable_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21177 PyObject
*resultobj
;
21178 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
21180 PyObject
* obj0
= 0 ;
21181 char *kwnames
[] = {
21182 (char *) "self", NULL
21185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorTable_Ok",kwnames
,&obj0
)) goto fail
;
21186 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorTable
,
21187 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21190 result
= (bool)((wxAcceleratorTable
const *)arg1
)->Ok();
21192 wxPyEndAllowThreads(__tstate
);
21193 if (PyErr_Occurred()) SWIG_fail
;
21196 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21204 static PyObject
* AcceleratorTable_swigregister(PyObject
*self
, PyObject
*args
) {
21206 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21207 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorTable
, obj
);
21209 return Py_BuildValue((char *)"");
21211 static int _wrap_NullAcceleratorTable_set(PyObject
*_val
) {
21212 PyErr_SetString(PyExc_TypeError
,"Variable NullAcceleratorTable is read-only.");
21217 static PyObject
*_wrap_NullAcceleratorTable_get() {
21220 pyobj
= SWIG_NewPointerObj((void *)(&wxNullAcceleratorTable
), SWIGTYPE_p_wxAcceleratorTable
, 0);
21225 static PyObject
*_wrap_GetAccelFromString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21226 PyObject
*resultobj
;
21227 wxString
*arg1
= 0 ;
21228 wxAcceleratorEntry
*result
;
21229 bool temp1
= False
;
21230 PyObject
* obj0
= 0 ;
21231 char *kwnames
[] = {
21232 (char *) "label", NULL
21235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetAccelFromString",kwnames
,&obj0
)) goto fail
;
21237 arg1
= wxString_in_helper(obj0
);
21238 if (arg1
== NULL
) SWIG_fail
;
21242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21243 result
= (wxAcceleratorEntry
*)wxGetAccelFromString((wxString
const &)*arg1
);
21245 wxPyEndAllowThreads(__tstate
);
21246 if (PyErr_Occurred()) SWIG_fail
;
21248 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 0);
21263 static int _wrap_PanelNameStr_set(PyObject
*_val
) {
21264 PyErr_SetString(PyExc_TypeError
,"Variable PanelNameStr is read-only.");
21269 static PyObject
*_wrap_PanelNameStr_get() {
21274 pyobj
= PyUnicode_FromWideChar((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
21276 pyobj
= PyString_FromStringAndSize((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
21283 static PyObject
*_wrap_new_VisualAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21284 PyObject
*resultobj
;
21285 wxVisualAttributes
*result
;
21286 char *kwnames
[] = {
21290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_VisualAttributes",kwnames
)) goto fail
;
21292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21293 result
= (wxVisualAttributes
*)new_wxVisualAttributes();
21295 wxPyEndAllowThreads(__tstate
);
21296 if (PyErr_Occurred()) SWIG_fail
;
21298 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxVisualAttributes
, 1);
21305 static PyObject
*_wrap_delete_VisualAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21306 PyObject
*resultobj
;
21307 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21308 PyObject
* obj0
= 0 ;
21309 char *kwnames
[] = {
21310 (char *) "self", NULL
21313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_VisualAttributes",kwnames
,&obj0
)) goto fail
;
21314 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21315 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21318 delete_wxVisualAttributes(arg1
);
21320 wxPyEndAllowThreads(__tstate
);
21321 if (PyErr_Occurred()) SWIG_fail
;
21323 Py_INCREF(Py_None
); resultobj
= Py_None
;
21330 static PyObject
*_wrap_VisualAttributes_font_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21331 PyObject
*resultobj
;
21332 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21333 wxFont
*arg2
= (wxFont
*) 0 ;
21334 PyObject
* obj0
= 0 ;
21335 PyObject
* obj1
= 0 ;
21336 char *kwnames
[] = {
21337 (char *) "self",(char *) "font", NULL
21340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_font_set",kwnames
,&obj0
,&obj1
)) goto fail
;
21341 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21342 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21343 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
21344 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21345 if (arg1
) (arg1
)->font
= *arg2
;
21347 Py_INCREF(Py_None
); resultobj
= Py_None
;
21354 static PyObject
*_wrap_VisualAttributes_font_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21355 PyObject
*resultobj
;
21356 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21358 PyObject
* obj0
= 0 ;
21359 char *kwnames
[] = {
21360 (char *) "self", NULL
21363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_font_get",kwnames
,&obj0
)) goto fail
;
21364 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21365 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21366 result
= (wxFont
*)& ((arg1
)->font
);
21368 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 0);
21375 static PyObject
*_wrap_VisualAttributes_colFg_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21376 PyObject
*resultobj
;
21377 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21378 wxColour
*arg2
= (wxColour
*) 0 ;
21379 PyObject
* obj0
= 0 ;
21380 PyObject
* obj1
= 0 ;
21381 char *kwnames
[] = {
21382 (char *) "self",(char *) "colFg", NULL
21385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_colFg_set",kwnames
,&obj0
,&obj1
)) goto fail
;
21386 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21387 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21388 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxColour
,
21389 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21390 if (arg1
) (arg1
)->colFg
= *arg2
;
21392 Py_INCREF(Py_None
); resultobj
= Py_None
;
21399 static PyObject
*_wrap_VisualAttributes_colFg_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21400 PyObject
*resultobj
;
21401 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21403 PyObject
* obj0
= 0 ;
21404 char *kwnames
[] = {
21405 (char *) "self", NULL
21408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_colFg_get",kwnames
,&obj0
)) goto fail
;
21409 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21410 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21411 result
= (wxColour
*)& ((arg1
)->colFg
);
21413 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
21420 static PyObject
*_wrap_VisualAttributes_colBg_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21421 PyObject
*resultobj
;
21422 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21423 wxColour
*arg2
= (wxColour
*) 0 ;
21424 PyObject
* obj0
= 0 ;
21425 PyObject
* obj1
= 0 ;
21426 char *kwnames
[] = {
21427 (char *) "self",(char *) "colBg", NULL
21430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_colBg_set",kwnames
,&obj0
,&obj1
)) goto fail
;
21431 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21432 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21433 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxColour
,
21434 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21435 if (arg1
) (arg1
)->colBg
= *arg2
;
21437 Py_INCREF(Py_None
); resultobj
= Py_None
;
21444 static PyObject
*_wrap_VisualAttributes_colBg_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21445 PyObject
*resultobj
;
21446 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21448 PyObject
* obj0
= 0 ;
21449 char *kwnames
[] = {
21450 (char *) "self", NULL
21453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_colBg_get",kwnames
,&obj0
)) goto fail
;
21454 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21455 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21456 result
= (wxColour
*)& ((arg1
)->colBg
);
21458 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
21465 static PyObject
* VisualAttributes_swigregister(PyObject
*self
, PyObject
*args
) {
21467 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21468 SWIG_TypeClientData(SWIGTYPE_p_wxVisualAttributes
, obj
);
21470 return Py_BuildValue((char *)"");
21472 static PyObject
*_wrap_new_Window(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21473 PyObject
*resultobj
;
21474 wxWindow
*arg1
= (wxWindow
*) 0 ;
21475 int arg2
= (int) (int)-1 ;
21476 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21477 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21478 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21479 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21480 long arg5
= (long) 0 ;
21481 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
21482 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21486 bool temp6
= False
;
21487 PyObject
* obj0
= 0 ;
21488 PyObject
* obj1
= 0 ;
21489 PyObject
* obj2
= 0 ;
21490 PyObject
* obj3
= 0 ;
21491 PyObject
* obj4
= 0 ;
21492 PyObject
* obj5
= 0 ;
21493 char *kwnames
[] = {
21494 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Window",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
21498 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21499 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21501 arg2
= (int const) SWIG_AsInt(obj1
);
21502 if (PyErr_Occurred()) SWIG_fail
;
21507 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21513 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21517 arg5
= (long) SWIG_AsLong(obj4
);
21518 if (PyErr_Occurred()) SWIG_fail
;
21522 arg6
= wxString_in_helper(obj5
);
21523 if (arg6
== NULL
) SWIG_fail
;
21528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21529 result
= (wxWindow
*)new wxWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21531 wxPyEndAllowThreads(__tstate
);
21532 if (PyErr_Occurred()) SWIG_fail
;
21535 resultobj
= wxPyMake_wxObject(result
);
21551 static PyObject
*_wrap_new_PreWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21552 PyObject
*resultobj
;
21554 char *kwnames
[] = {
21558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreWindow",kwnames
)) goto fail
;
21560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21561 result
= (wxWindow
*)new wxWindow();
21563 wxPyEndAllowThreads(__tstate
);
21564 if (PyErr_Occurred()) SWIG_fail
;
21567 resultobj
= wxPyMake_wxObject(result
);
21575 static PyObject
*_wrap_Window_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21576 PyObject
*resultobj
;
21577 wxWindow
*arg1
= (wxWindow
*) 0 ;
21578 wxWindow
*arg2
= (wxWindow
*) 0 ;
21579 int arg3
= (int) (int)-1 ;
21580 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21581 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21582 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21583 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21584 long arg6
= (long) 0 ;
21585 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
21586 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21590 bool temp7
= False
;
21591 PyObject
* obj0
= 0 ;
21592 PyObject
* obj1
= 0 ;
21593 PyObject
* obj2
= 0 ;
21594 PyObject
* obj3
= 0 ;
21595 PyObject
* obj4
= 0 ;
21596 PyObject
* obj5
= 0 ;
21597 PyObject
* obj6
= 0 ;
21598 char *kwnames
[] = {
21599 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Window_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
21603 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21604 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21605 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
21606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21608 arg3
= (int const) SWIG_AsInt(obj2
);
21609 if (PyErr_Occurred()) SWIG_fail
;
21614 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21620 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21624 arg6
= (long) SWIG_AsLong(obj5
);
21625 if (PyErr_Occurred()) SWIG_fail
;
21629 arg7
= wxString_in_helper(obj6
);
21630 if (arg7
== NULL
) SWIG_fail
;
21635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21636 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21638 wxPyEndAllowThreads(__tstate
);
21639 if (PyErr_Occurred()) SWIG_fail
;
21642 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21658 static PyObject
*_wrap_Window_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21659 PyObject
*resultobj
;
21660 wxWindow
*arg1
= (wxWindow
*) 0 ;
21661 bool arg2
= (bool) False
;
21663 PyObject
* obj0
= 0 ;
21664 PyObject
* obj1
= 0 ;
21665 char *kwnames
[] = {
21666 (char *) "self",(char *) "force", NULL
21669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Close",kwnames
,&obj0
,&obj1
)) goto fail
;
21670 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21671 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21673 arg2
= (bool) SWIG_AsBool(obj1
);
21674 if (PyErr_Occurred()) SWIG_fail
;
21677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21678 result
= (bool)(arg1
)->Close(arg2
);
21680 wxPyEndAllowThreads(__tstate
);
21681 if (PyErr_Occurred()) SWIG_fail
;
21684 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21692 static PyObject
*_wrap_Window_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21693 PyObject
*resultobj
;
21694 wxWindow
*arg1
= (wxWindow
*) 0 ;
21696 PyObject
* obj0
= 0 ;
21697 char *kwnames
[] = {
21698 (char *) "self", NULL
21701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Destroy",kwnames
,&obj0
)) goto fail
;
21702 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21703 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21706 result
= (bool)(arg1
)->Destroy();
21708 wxPyEndAllowThreads(__tstate
);
21709 if (PyErr_Occurred()) SWIG_fail
;
21712 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21720 static PyObject
*_wrap_Window_DestroyChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21721 PyObject
*resultobj
;
21722 wxWindow
*arg1
= (wxWindow
*) 0 ;
21724 PyObject
* obj0
= 0 ;
21725 char *kwnames
[] = {
21726 (char *) "self", NULL
21729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_DestroyChildren",kwnames
,&obj0
)) goto fail
;
21730 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21731 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21734 result
= (bool)(arg1
)->DestroyChildren();
21736 wxPyEndAllowThreads(__tstate
);
21737 if (PyErr_Occurred()) SWIG_fail
;
21740 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21748 static PyObject
*_wrap_Window_IsBeingDeleted(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21749 PyObject
*resultobj
;
21750 wxWindow
*arg1
= (wxWindow
*) 0 ;
21752 PyObject
* obj0
= 0 ;
21753 char *kwnames
[] = {
21754 (char *) "self", NULL
21757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsBeingDeleted",kwnames
,&obj0
)) goto fail
;
21758 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21759 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21762 result
= (bool)((wxWindow
const *)arg1
)->IsBeingDeleted();
21764 wxPyEndAllowThreads(__tstate
);
21765 if (PyErr_Occurred()) SWIG_fail
;
21768 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21776 static PyObject
*_wrap_Window_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21777 PyObject
*resultobj
;
21778 wxWindow
*arg1
= (wxWindow
*) 0 ;
21779 wxString
*arg2
= 0 ;
21780 bool temp2
= False
;
21781 PyObject
* obj0
= 0 ;
21782 PyObject
* obj1
= 0 ;
21783 char *kwnames
[] = {
21784 (char *) "self",(char *) "title", NULL
21787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
21788 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21789 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21791 arg2
= wxString_in_helper(obj1
);
21792 if (arg2
== NULL
) SWIG_fail
;
21796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21797 (arg1
)->SetTitle((wxString
const &)*arg2
);
21799 wxPyEndAllowThreads(__tstate
);
21800 if (PyErr_Occurred()) SWIG_fail
;
21802 Py_INCREF(Py_None
); resultobj
= Py_None
;
21817 static PyObject
*_wrap_Window_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21818 PyObject
*resultobj
;
21819 wxWindow
*arg1
= (wxWindow
*) 0 ;
21821 PyObject
* obj0
= 0 ;
21822 char *kwnames
[] = {
21823 (char *) "self", NULL
21826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetTitle",kwnames
,&obj0
)) goto fail
;
21827 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21828 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21831 result
= ((wxWindow
const *)arg1
)->GetTitle();
21833 wxPyEndAllowThreads(__tstate
);
21834 if (PyErr_Occurred()) SWIG_fail
;
21838 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21840 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21849 static PyObject
*_wrap_Window_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21850 PyObject
*resultobj
;
21851 wxWindow
*arg1
= (wxWindow
*) 0 ;
21852 wxString
*arg2
= 0 ;
21853 bool temp2
= False
;
21854 PyObject
* obj0
= 0 ;
21855 PyObject
* obj1
= 0 ;
21856 char *kwnames
[] = {
21857 (char *) "self",(char *) "label", NULL
21860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
21861 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21862 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21864 arg2
= wxString_in_helper(obj1
);
21865 if (arg2
== NULL
) SWIG_fail
;
21869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21870 (arg1
)->SetLabel((wxString
const &)*arg2
);
21872 wxPyEndAllowThreads(__tstate
);
21873 if (PyErr_Occurred()) SWIG_fail
;
21875 Py_INCREF(Py_None
); resultobj
= Py_None
;
21890 static PyObject
*_wrap_Window_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21891 PyObject
*resultobj
;
21892 wxWindow
*arg1
= (wxWindow
*) 0 ;
21894 PyObject
* obj0
= 0 ;
21895 char *kwnames
[] = {
21896 (char *) "self", NULL
21899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetLabel",kwnames
,&obj0
)) goto fail
;
21900 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21901 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21904 result
= ((wxWindow
const *)arg1
)->GetLabel();
21906 wxPyEndAllowThreads(__tstate
);
21907 if (PyErr_Occurred()) SWIG_fail
;
21911 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21913 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21922 static PyObject
*_wrap_Window_SetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21923 PyObject
*resultobj
;
21924 wxWindow
*arg1
= (wxWindow
*) 0 ;
21925 wxString
*arg2
= 0 ;
21926 bool temp2
= False
;
21927 PyObject
* obj0
= 0 ;
21928 PyObject
* obj1
= 0 ;
21929 char *kwnames
[] = {
21930 (char *) "self",(char *) "name", NULL
21933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetName",kwnames
,&obj0
,&obj1
)) goto fail
;
21934 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21935 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21937 arg2
= wxString_in_helper(obj1
);
21938 if (arg2
== NULL
) SWIG_fail
;
21942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21943 (arg1
)->SetName((wxString
const &)*arg2
);
21945 wxPyEndAllowThreads(__tstate
);
21946 if (PyErr_Occurred()) SWIG_fail
;
21948 Py_INCREF(Py_None
); resultobj
= Py_None
;
21963 static PyObject
*_wrap_Window_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21964 PyObject
*resultobj
;
21965 wxWindow
*arg1
= (wxWindow
*) 0 ;
21967 PyObject
* obj0
= 0 ;
21968 char *kwnames
[] = {
21969 (char *) "self", NULL
21972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetName",kwnames
,&obj0
)) goto fail
;
21973 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21974 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21977 result
= ((wxWindow
const *)arg1
)->GetName();
21979 wxPyEndAllowThreads(__tstate
);
21980 if (PyErr_Occurred()) SWIG_fail
;
21984 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21986 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21995 static PyObject
*_wrap_Window_SetWindowVariant(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21996 PyObject
*resultobj
;
21997 wxWindow
*arg1
= (wxWindow
*) 0 ;
21999 PyObject
* obj0
= 0 ;
22000 PyObject
* obj1
= 0 ;
22001 char *kwnames
[] = {
22002 (char *) "self",(char *) "variant", NULL
22005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetWindowVariant",kwnames
,&obj0
,&obj1
)) goto fail
;
22006 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22007 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22008 arg2
= (wxWindowVariant
) SWIG_AsInt(obj1
);
22009 if (PyErr_Occurred()) SWIG_fail
;
22011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22012 (arg1
)->SetWindowVariant((wxWindowVariant
)arg2
);
22014 wxPyEndAllowThreads(__tstate
);
22015 if (PyErr_Occurred()) SWIG_fail
;
22017 Py_INCREF(Py_None
); resultobj
= Py_None
;
22024 static PyObject
*_wrap_Window_GetWindowVariant(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22025 PyObject
*resultobj
;
22026 wxWindow
*arg1
= (wxWindow
*) 0 ;
22028 PyObject
* obj0
= 0 ;
22029 char *kwnames
[] = {
22030 (char *) "self", NULL
22033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetWindowVariant",kwnames
,&obj0
)) goto fail
;
22034 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22035 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22038 result
= (int)((wxWindow
const *)arg1
)->GetWindowVariant();
22040 wxPyEndAllowThreads(__tstate
);
22041 if (PyErr_Occurred()) SWIG_fail
;
22043 resultobj
= SWIG_FromInt((int)result
);
22050 static PyObject
*_wrap_Window_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22051 PyObject
*resultobj
;
22052 wxWindow
*arg1
= (wxWindow
*) 0 ;
22054 PyObject
* obj0
= 0 ;
22055 PyObject
* obj1
= 0 ;
22056 char *kwnames
[] = {
22057 (char *) "self",(char *) "winid", NULL
22060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
22061 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22062 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22063 arg2
= (int) SWIG_AsInt(obj1
);
22064 if (PyErr_Occurred()) SWIG_fail
;
22066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22067 (arg1
)->SetId(arg2
);
22069 wxPyEndAllowThreads(__tstate
);
22070 if (PyErr_Occurred()) SWIG_fail
;
22072 Py_INCREF(Py_None
); resultobj
= Py_None
;
22079 static PyObject
*_wrap_Window_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22080 PyObject
*resultobj
;
22081 wxWindow
*arg1
= (wxWindow
*) 0 ;
22083 PyObject
* obj0
= 0 ;
22084 char *kwnames
[] = {
22085 (char *) "self", NULL
22088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetId",kwnames
,&obj0
)) goto fail
;
22089 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22090 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22093 result
= (int)((wxWindow
const *)arg1
)->GetId();
22095 wxPyEndAllowThreads(__tstate
);
22096 if (PyErr_Occurred()) SWIG_fail
;
22098 resultobj
= SWIG_FromInt((int)result
);
22105 static PyObject
*_wrap_Window_NewControlId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22106 PyObject
*resultobj
;
22108 char *kwnames
[] = {
22112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_NewControlId",kwnames
)) goto fail
;
22114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22115 result
= (int)wxWindow::NewControlId();
22117 wxPyEndAllowThreads(__tstate
);
22118 if (PyErr_Occurred()) SWIG_fail
;
22120 resultobj
= SWIG_FromInt((int)result
);
22127 static PyObject
*_wrap_Window_NextControlId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22128 PyObject
*resultobj
;
22131 PyObject
* obj0
= 0 ;
22132 char *kwnames
[] = {
22133 (char *) "winid", NULL
22136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_NextControlId",kwnames
,&obj0
)) goto fail
;
22137 arg1
= (int) SWIG_AsInt(obj0
);
22138 if (PyErr_Occurred()) SWIG_fail
;
22140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22141 result
= (int)wxWindow::NextControlId(arg1
);
22143 wxPyEndAllowThreads(__tstate
);
22144 if (PyErr_Occurred()) SWIG_fail
;
22146 resultobj
= SWIG_FromInt((int)result
);
22153 static PyObject
*_wrap_Window_PrevControlId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22154 PyObject
*resultobj
;
22157 PyObject
* obj0
= 0 ;
22158 char *kwnames
[] = {
22159 (char *) "winid", NULL
22162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PrevControlId",kwnames
,&obj0
)) goto fail
;
22163 arg1
= (int) SWIG_AsInt(obj0
);
22164 if (PyErr_Occurred()) SWIG_fail
;
22166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22167 result
= (int)wxWindow::PrevControlId(arg1
);
22169 wxPyEndAllowThreads(__tstate
);
22170 if (PyErr_Occurred()) SWIG_fail
;
22172 resultobj
= SWIG_FromInt((int)result
);
22179 static PyObject
*_wrap_Window_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22180 PyObject
*resultobj
;
22181 wxWindow
*arg1
= (wxWindow
*) 0 ;
22184 PyObject
* obj0
= 0 ;
22185 PyObject
* obj1
= 0 ;
22186 char *kwnames
[] = {
22187 (char *) "self",(char *) "size", NULL
22190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
22191 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22192 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22195 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
22198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22199 (arg1
)->SetSize((wxSize
const &)*arg2
);
22201 wxPyEndAllowThreads(__tstate
);
22202 if (PyErr_Occurred()) SWIG_fail
;
22204 Py_INCREF(Py_None
); resultobj
= Py_None
;
22211 static PyObject
*_wrap_Window_SetDimensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22212 PyObject
*resultobj
;
22213 wxWindow
*arg1
= (wxWindow
*) 0 ;
22218 int arg6
= (int) wxSIZE_AUTO
;
22219 PyObject
* obj0
= 0 ;
22220 PyObject
* obj1
= 0 ;
22221 PyObject
* obj2
= 0 ;
22222 PyObject
* obj3
= 0 ;
22223 PyObject
* obj4
= 0 ;
22224 PyObject
* obj5
= 0 ;
22225 char *kwnames
[] = {
22226 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
22229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Window_SetDimensions",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
22230 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22231 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22232 arg2
= (int) SWIG_AsInt(obj1
);
22233 if (PyErr_Occurred()) SWIG_fail
;
22234 arg3
= (int) SWIG_AsInt(obj2
);
22235 if (PyErr_Occurred()) SWIG_fail
;
22236 arg4
= (int) SWIG_AsInt(obj3
);
22237 if (PyErr_Occurred()) SWIG_fail
;
22238 arg5
= (int) SWIG_AsInt(obj4
);
22239 if (PyErr_Occurred()) SWIG_fail
;
22241 arg6
= (int) SWIG_AsInt(obj5
);
22242 if (PyErr_Occurred()) SWIG_fail
;
22245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22246 (arg1
)->SetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
22248 wxPyEndAllowThreads(__tstate
);
22249 if (PyErr_Occurred()) SWIG_fail
;
22251 Py_INCREF(Py_None
); resultobj
= Py_None
;
22258 static PyObject
*_wrap_Window_SetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22259 PyObject
*resultobj
;
22260 wxWindow
*arg1
= (wxWindow
*) 0 ;
22262 int arg3
= (int) wxSIZE_AUTO
;
22264 PyObject
* obj0
= 0 ;
22265 PyObject
* obj1
= 0 ;
22266 PyObject
* obj2
= 0 ;
22267 char *kwnames
[] = {
22268 (char *) "self",(char *) "rect",(char *) "sizeFlags", NULL
22271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22272 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22273 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22276 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
22279 arg3
= (int) SWIG_AsInt(obj2
);
22280 if (PyErr_Occurred()) SWIG_fail
;
22283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22284 (arg1
)->SetSize((wxRect
const &)*arg2
,arg3
);
22286 wxPyEndAllowThreads(__tstate
);
22287 if (PyErr_Occurred()) SWIG_fail
;
22289 Py_INCREF(Py_None
); resultobj
= Py_None
;
22296 static PyObject
*_wrap_Window_SetSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22297 PyObject
*resultobj
;
22298 wxWindow
*arg1
= (wxWindow
*) 0 ;
22301 PyObject
* obj0
= 0 ;
22302 PyObject
* obj1
= 0 ;
22303 PyObject
* obj2
= 0 ;
22304 char *kwnames
[] = {
22305 (char *) "self",(char *) "width",(char *) "height", NULL
22308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22309 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22310 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22311 arg2
= (int) SWIG_AsInt(obj1
);
22312 if (PyErr_Occurred()) SWIG_fail
;
22313 arg3
= (int) SWIG_AsInt(obj2
);
22314 if (PyErr_Occurred()) SWIG_fail
;
22316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22317 (arg1
)->SetSize(arg2
,arg3
);
22319 wxPyEndAllowThreads(__tstate
);
22320 if (PyErr_Occurred()) SWIG_fail
;
22322 Py_INCREF(Py_None
); resultobj
= Py_None
;
22329 static PyObject
*_wrap_Window_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22330 PyObject
*resultobj
;
22331 wxWindow
*arg1
= (wxWindow
*) 0 ;
22332 wxPoint
*arg2
= 0 ;
22333 int arg3
= (int) wxSIZE_USE_EXISTING
;
22335 PyObject
* obj0
= 0 ;
22336 PyObject
* obj1
= 0 ;
22337 PyObject
* obj2
= 0 ;
22338 char *kwnames
[] = {
22339 (char *) "self",(char *) "pt",(char *) "flags", NULL
22342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_Move",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22343 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22344 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22347 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22350 arg3
= (int) SWIG_AsInt(obj2
);
22351 if (PyErr_Occurred()) SWIG_fail
;
22354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22355 (arg1
)->Move((wxPoint
const &)*arg2
,arg3
);
22357 wxPyEndAllowThreads(__tstate
);
22358 if (PyErr_Occurred()) SWIG_fail
;
22360 Py_INCREF(Py_None
); resultobj
= Py_None
;
22367 static PyObject
*_wrap_Window_MoveXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22368 PyObject
*resultobj
;
22369 wxWindow
*arg1
= (wxWindow
*) 0 ;
22372 int arg4
= (int) wxSIZE_USE_EXISTING
;
22373 PyObject
* obj0
= 0 ;
22374 PyObject
* obj1
= 0 ;
22375 PyObject
* obj2
= 0 ;
22376 PyObject
* obj3
= 0 ;
22377 char *kwnames
[] = {
22378 (char *) "self",(char *) "x",(char *) "y",(char *) "flags", NULL
22381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_MoveXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22382 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22383 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22384 arg2
= (int) SWIG_AsInt(obj1
);
22385 if (PyErr_Occurred()) SWIG_fail
;
22386 arg3
= (int) SWIG_AsInt(obj2
);
22387 if (PyErr_Occurred()) SWIG_fail
;
22389 arg4
= (int) SWIG_AsInt(obj3
);
22390 if (PyErr_Occurred()) SWIG_fail
;
22393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22394 (arg1
)->Move(arg2
,arg3
,arg4
);
22396 wxPyEndAllowThreads(__tstate
);
22397 if (PyErr_Occurred()) SWIG_fail
;
22399 Py_INCREF(Py_None
); resultobj
= Py_None
;
22406 static PyObject
*_wrap_Window_Raise(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22407 PyObject
*resultobj
;
22408 wxWindow
*arg1
= (wxWindow
*) 0 ;
22409 PyObject
* obj0
= 0 ;
22410 char *kwnames
[] = {
22411 (char *) "self", NULL
22414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Raise",kwnames
,&obj0
)) goto fail
;
22415 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22416 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22421 wxPyEndAllowThreads(__tstate
);
22422 if (PyErr_Occurred()) SWIG_fail
;
22424 Py_INCREF(Py_None
); resultobj
= Py_None
;
22431 static PyObject
*_wrap_Window_Lower(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22432 PyObject
*resultobj
;
22433 wxWindow
*arg1
= (wxWindow
*) 0 ;
22434 PyObject
* obj0
= 0 ;
22435 char *kwnames
[] = {
22436 (char *) "self", NULL
22439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Lower",kwnames
,&obj0
)) goto fail
;
22440 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22441 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22446 wxPyEndAllowThreads(__tstate
);
22447 if (PyErr_Occurred()) SWIG_fail
;
22449 Py_INCREF(Py_None
); resultobj
= Py_None
;
22456 static PyObject
*_wrap_Window_SetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22457 PyObject
*resultobj
;
22458 wxWindow
*arg1
= (wxWindow
*) 0 ;
22461 PyObject
* obj0
= 0 ;
22462 PyObject
* obj1
= 0 ;
22463 char *kwnames
[] = {
22464 (char *) "self",(char *) "size", NULL
22467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientSize",kwnames
,&obj0
,&obj1
)) goto fail
;
22468 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22469 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22472 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
22475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22476 (arg1
)->SetClientSize((wxSize
const &)*arg2
);
22478 wxPyEndAllowThreads(__tstate
);
22479 if (PyErr_Occurred()) SWIG_fail
;
22481 Py_INCREF(Py_None
); resultobj
= Py_None
;
22488 static PyObject
*_wrap_Window_SetClientSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22489 PyObject
*resultobj
;
22490 wxWindow
*arg1
= (wxWindow
*) 0 ;
22493 PyObject
* obj0
= 0 ;
22494 PyObject
* obj1
= 0 ;
22495 PyObject
* obj2
= 0 ;
22496 char *kwnames
[] = {
22497 (char *) "self",(char *) "width",(char *) "height", NULL
22500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetClientSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22501 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22503 arg2
= (int) SWIG_AsInt(obj1
);
22504 if (PyErr_Occurred()) SWIG_fail
;
22505 arg3
= (int) SWIG_AsInt(obj2
);
22506 if (PyErr_Occurred()) SWIG_fail
;
22508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22509 (arg1
)->SetClientSize(arg2
,arg3
);
22511 wxPyEndAllowThreads(__tstate
);
22512 if (PyErr_Occurred()) SWIG_fail
;
22514 Py_INCREF(Py_None
); resultobj
= Py_None
;
22521 static PyObject
*_wrap_Window_SetClientRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22522 PyObject
*resultobj
;
22523 wxWindow
*arg1
= (wxWindow
*) 0 ;
22526 PyObject
* obj0
= 0 ;
22527 PyObject
* obj1
= 0 ;
22528 char *kwnames
[] = {
22529 (char *) "self",(char *) "rect", NULL
22532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientRect",kwnames
,&obj0
,&obj1
)) goto fail
;
22533 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22534 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22537 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
22540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22541 (arg1
)->SetClientSize((wxRect
const &)*arg2
);
22543 wxPyEndAllowThreads(__tstate
);
22544 if (PyErr_Occurred()) SWIG_fail
;
22546 Py_INCREF(Py_None
); resultobj
= Py_None
;
22553 static PyObject
*_wrap_Window_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22554 PyObject
*resultobj
;
22555 wxWindow
*arg1
= (wxWindow
*) 0 ;
22557 PyObject
* obj0
= 0 ;
22558 char *kwnames
[] = {
22559 (char *) "self", NULL
22562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetPosition",kwnames
,&obj0
)) goto fail
;
22563 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22564 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22567 result
= (arg1
)->GetPosition();
22569 wxPyEndAllowThreads(__tstate
);
22570 if (PyErr_Occurred()) SWIG_fail
;
22573 wxPoint
* resultptr
;
22574 resultptr
= new wxPoint((wxPoint
&) result
);
22575 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
22583 static PyObject
*_wrap_Window_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22584 PyObject
*resultobj
;
22585 wxWindow
*arg1
= (wxWindow
*) 0 ;
22586 int *arg2
= (int *) 0 ;
22587 int *arg3
= (int *) 0 ;
22590 PyObject
* obj0
= 0 ;
22591 char *kwnames
[] = {
22592 (char *) "self", NULL
22597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
22598 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22599 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22602 (arg1
)->GetPosition(arg2
,arg3
);
22604 wxPyEndAllowThreads(__tstate
);
22605 if (PyErr_Occurred()) SWIG_fail
;
22607 Py_INCREF(Py_None
); resultobj
= Py_None
;
22609 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
22610 resultobj
= t_output_helper(resultobj
,o
);
22613 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22614 resultobj
= t_output_helper(resultobj
,o
);
22622 static PyObject
*_wrap_Window_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22623 PyObject
*resultobj
;
22624 wxWindow
*arg1
= (wxWindow
*) 0 ;
22626 PyObject
* obj0
= 0 ;
22627 char *kwnames
[] = {
22628 (char *) "self", NULL
22631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSize",kwnames
,&obj0
)) goto fail
;
22632 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22633 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22636 result
= ((wxWindow
const *)arg1
)->GetSize();
22638 wxPyEndAllowThreads(__tstate
);
22639 if (PyErr_Occurred()) SWIG_fail
;
22642 wxSize
* resultptr
;
22643 resultptr
= new wxSize((wxSize
&) result
);
22644 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
22652 static PyObject
*_wrap_Window_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22653 PyObject
*resultobj
;
22654 wxWindow
*arg1
= (wxWindow
*) 0 ;
22655 int *arg2
= (int *) 0 ;
22656 int *arg3
= (int *) 0 ;
22659 PyObject
* obj0
= 0 ;
22660 char *kwnames
[] = {
22661 (char *) "self", NULL
22666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
22667 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22668 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22671 ((wxWindow
const *)arg1
)->GetSize(arg2
,arg3
);
22673 wxPyEndAllowThreads(__tstate
);
22674 if (PyErr_Occurred()) SWIG_fail
;
22676 Py_INCREF(Py_None
); resultobj
= Py_None
;
22678 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
22679 resultobj
= t_output_helper(resultobj
,o
);
22682 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22683 resultobj
= t_output_helper(resultobj
,o
);
22691 static PyObject
*_wrap_Window_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22692 PyObject
*resultobj
;
22693 wxWindow
*arg1
= (wxWindow
*) 0 ;
22695 PyObject
* obj0
= 0 ;
22696 char *kwnames
[] = {
22697 (char *) "self", NULL
22700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetRect",kwnames
,&obj0
)) goto fail
;
22701 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22702 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22705 result
= ((wxWindow
const *)arg1
)->GetRect();
22707 wxPyEndAllowThreads(__tstate
);
22708 if (PyErr_Occurred()) SWIG_fail
;
22711 wxRect
* resultptr
;
22712 resultptr
= new wxRect((wxRect
&) result
);
22713 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
22721 static PyObject
*_wrap_Window_GetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22722 PyObject
*resultobj
;
22723 wxWindow
*arg1
= (wxWindow
*) 0 ;
22725 PyObject
* obj0
= 0 ;
22726 char *kwnames
[] = {
22727 (char *) "self", NULL
22730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientSize",kwnames
,&obj0
)) goto fail
;
22731 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22732 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22735 result
= ((wxWindow
const *)arg1
)->GetClientSize();
22737 wxPyEndAllowThreads(__tstate
);
22738 if (PyErr_Occurred()) SWIG_fail
;
22741 wxSize
* resultptr
;
22742 resultptr
= new wxSize((wxSize
&) result
);
22743 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
22751 static PyObject
*_wrap_Window_GetClientSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22752 PyObject
*resultobj
;
22753 wxWindow
*arg1
= (wxWindow
*) 0 ;
22754 int *arg2
= (int *) 0 ;
22755 int *arg3
= (int *) 0 ;
22758 PyObject
* obj0
= 0 ;
22759 char *kwnames
[] = {
22760 (char *) "self", NULL
22765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientSizeTuple",kwnames
,&obj0
)) goto fail
;
22766 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22767 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22770 ((wxWindow
const *)arg1
)->GetClientSize(arg2
,arg3
);
22772 wxPyEndAllowThreads(__tstate
);
22773 if (PyErr_Occurred()) SWIG_fail
;
22775 Py_INCREF(Py_None
); resultobj
= Py_None
;
22777 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
22778 resultobj
= t_output_helper(resultobj
,o
);
22781 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22782 resultobj
= t_output_helper(resultobj
,o
);
22790 static PyObject
*_wrap_Window_GetClientAreaOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22791 PyObject
*resultobj
;
22792 wxWindow
*arg1
= (wxWindow
*) 0 ;
22794 PyObject
* obj0
= 0 ;
22795 char *kwnames
[] = {
22796 (char *) "self", NULL
22799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientAreaOrigin",kwnames
,&obj0
)) goto fail
;
22800 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22801 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22804 result
= ((wxWindow
const *)arg1
)->GetClientAreaOrigin();
22806 wxPyEndAllowThreads(__tstate
);
22807 if (PyErr_Occurred()) SWIG_fail
;
22810 wxPoint
* resultptr
;
22811 resultptr
= new wxPoint((wxPoint
&) result
);
22812 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
22820 static PyObject
*_wrap_Window_GetClientRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22821 PyObject
*resultobj
;
22822 wxWindow
*arg1
= (wxWindow
*) 0 ;
22824 PyObject
* obj0
= 0 ;
22825 char *kwnames
[] = {
22826 (char *) "self", NULL
22829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientRect",kwnames
,&obj0
)) goto fail
;
22830 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22831 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22834 result
= ((wxWindow
const *)arg1
)->GetClientRect();
22836 wxPyEndAllowThreads(__tstate
);
22837 if (PyErr_Occurred()) SWIG_fail
;
22840 wxRect
* resultptr
;
22841 resultptr
= new wxRect((wxRect
&) result
);
22842 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
22850 static PyObject
*_wrap_Window_GetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22851 PyObject
*resultobj
;
22852 wxWindow
*arg1
= (wxWindow
*) 0 ;
22854 PyObject
* obj0
= 0 ;
22855 char *kwnames
[] = {
22856 (char *) "self", NULL
22859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestSize",kwnames
,&obj0
)) goto fail
;
22860 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22861 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22864 result
= ((wxWindow
const *)arg1
)->GetBestSize();
22866 wxPyEndAllowThreads(__tstate
);
22867 if (PyErr_Occurred()) SWIG_fail
;
22870 wxSize
* resultptr
;
22871 resultptr
= new wxSize((wxSize
&) result
);
22872 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
22880 static PyObject
*_wrap_Window_GetBestSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22881 PyObject
*resultobj
;
22882 wxWindow
*arg1
= (wxWindow
*) 0 ;
22883 int *arg2
= (int *) 0 ;
22884 int *arg3
= (int *) 0 ;
22887 PyObject
* obj0
= 0 ;
22888 char *kwnames
[] = {
22889 (char *) "self", NULL
22894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestSizeTuple",kwnames
,&obj0
)) goto fail
;
22895 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22896 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22899 ((wxWindow
const *)arg1
)->GetBestSize(arg2
,arg3
);
22901 wxPyEndAllowThreads(__tstate
);
22902 if (PyErr_Occurred()) SWIG_fail
;
22904 Py_INCREF(Py_None
); resultobj
= Py_None
;
22906 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
22907 resultobj
= t_output_helper(resultobj
,o
);
22910 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22911 resultobj
= t_output_helper(resultobj
,o
);
22919 static PyObject
*_wrap_Window_GetAdjustedBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22920 PyObject
*resultobj
;
22921 wxWindow
*arg1
= (wxWindow
*) 0 ;
22923 PyObject
* obj0
= 0 ;
22924 char *kwnames
[] = {
22925 (char *) "self", NULL
22928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAdjustedBestSize",kwnames
,&obj0
)) goto fail
;
22929 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22930 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22933 result
= ((wxWindow
const *)arg1
)->GetAdjustedBestSize();
22935 wxPyEndAllowThreads(__tstate
);
22936 if (PyErr_Occurred()) SWIG_fail
;
22939 wxSize
* resultptr
;
22940 resultptr
= new wxSize((wxSize
&) result
);
22941 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
22949 static PyObject
*_wrap_Window_Center(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22950 PyObject
*resultobj
;
22951 wxWindow
*arg1
= (wxWindow
*) 0 ;
22952 int arg2
= (int) wxBOTH
;
22953 PyObject
* obj0
= 0 ;
22954 PyObject
* obj1
= 0 ;
22955 char *kwnames
[] = {
22956 (char *) "self",(char *) "direction", NULL
22959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Center",kwnames
,&obj0
,&obj1
)) goto fail
;
22960 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22961 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22963 arg2
= (int) SWIG_AsInt(obj1
);
22964 if (PyErr_Occurred()) SWIG_fail
;
22967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22968 (arg1
)->Center(arg2
);
22970 wxPyEndAllowThreads(__tstate
);
22971 if (PyErr_Occurred()) SWIG_fail
;
22973 Py_INCREF(Py_None
); resultobj
= Py_None
;
22980 static PyObject
*_wrap_Window_CenterOnScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22981 PyObject
*resultobj
;
22982 wxWindow
*arg1
= (wxWindow
*) 0 ;
22983 int arg2
= (int) wxBOTH
;
22984 PyObject
* obj0
= 0 ;
22985 PyObject
* obj1
= 0 ;
22986 char *kwnames
[] = {
22987 (char *) "self",(char *) "dir", NULL
22990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_CenterOnScreen",kwnames
,&obj0
,&obj1
)) goto fail
;
22991 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22992 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22994 arg2
= (int) SWIG_AsInt(obj1
);
22995 if (PyErr_Occurred()) SWIG_fail
;
22998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22999 (arg1
)->CenterOnScreen(arg2
);
23001 wxPyEndAllowThreads(__tstate
);
23002 if (PyErr_Occurred()) SWIG_fail
;
23004 Py_INCREF(Py_None
); resultobj
= Py_None
;
23011 static PyObject
*_wrap_Window_CenterOnParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23012 PyObject
*resultobj
;
23013 wxWindow
*arg1
= (wxWindow
*) 0 ;
23014 int arg2
= (int) wxBOTH
;
23015 PyObject
* obj0
= 0 ;
23016 PyObject
* obj1
= 0 ;
23017 char *kwnames
[] = {
23018 (char *) "self",(char *) "dir", NULL
23021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_CenterOnParent",kwnames
,&obj0
,&obj1
)) goto fail
;
23022 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23023 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23025 arg2
= (int) SWIG_AsInt(obj1
);
23026 if (PyErr_Occurred()) SWIG_fail
;
23029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23030 (arg1
)->CenterOnParent(arg2
);
23032 wxPyEndAllowThreads(__tstate
);
23033 if (PyErr_Occurred()) SWIG_fail
;
23035 Py_INCREF(Py_None
); resultobj
= Py_None
;
23042 static PyObject
*_wrap_Window_Fit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23043 PyObject
*resultobj
;
23044 wxWindow
*arg1
= (wxWindow
*) 0 ;
23045 PyObject
* obj0
= 0 ;
23046 char *kwnames
[] = {
23047 (char *) "self", NULL
23050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Fit",kwnames
,&obj0
)) goto fail
;
23051 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23052 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23057 wxPyEndAllowThreads(__tstate
);
23058 if (PyErr_Occurred()) SWIG_fail
;
23060 Py_INCREF(Py_None
); resultobj
= Py_None
;
23067 static PyObject
*_wrap_Window_FitInside(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23068 PyObject
*resultobj
;
23069 wxWindow
*arg1
= (wxWindow
*) 0 ;
23070 PyObject
* obj0
= 0 ;
23071 char *kwnames
[] = {
23072 (char *) "self", NULL
23075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_FitInside",kwnames
,&obj0
)) goto fail
;
23076 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23077 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23080 (arg1
)->FitInside();
23082 wxPyEndAllowThreads(__tstate
);
23083 if (PyErr_Occurred()) SWIG_fail
;
23085 Py_INCREF(Py_None
); resultobj
= Py_None
;
23092 static PyObject
*_wrap_Window_SetSizeHints__SWIG_0(PyObject
*self
, PyObject
*args
) {
23093 PyObject
*resultobj
;
23094 wxWindow
*arg1
= (wxWindow
*) 0 ;
23097 int arg4
= (int) -1 ;
23098 int arg5
= (int) -1 ;
23099 int arg6
= (int) -1 ;
23100 int arg7
= (int) -1 ;
23101 PyObject
* obj0
= 0 ;
23102 PyObject
* obj1
= 0 ;
23103 PyObject
* obj2
= 0 ;
23104 PyObject
* obj3
= 0 ;
23105 PyObject
* obj4
= 0 ;
23106 PyObject
* obj5
= 0 ;
23107 PyObject
* obj6
= 0 ;
23109 if(!PyArg_ParseTuple(args
,(char *)"OOO|OOOO:Window_SetSizeHints",&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
23110 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23111 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23112 arg2
= (int) SWIG_AsInt(obj1
);
23113 if (PyErr_Occurred()) SWIG_fail
;
23114 arg3
= (int) SWIG_AsInt(obj2
);
23115 if (PyErr_Occurred()) SWIG_fail
;
23117 arg4
= (int) SWIG_AsInt(obj3
);
23118 if (PyErr_Occurred()) SWIG_fail
;
23121 arg5
= (int) SWIG_AsInt(obj4
);
23122 if (PyErr_Occurred()) SWIG_fail
;
23125 arg6
= (int) SWIG_AsInt(obj5
);
23126 if (PyErr_Occurred()) SWIG_fail
;
23129 arg7
= (int) SWIG_AsInt(obj6
);
23130 if (PyErr_Occurred()) SWIG_fail
;
23133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23134 (arg1
)->SetSizeHints(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
23136 wxPyEndAllowThreads(__tstate
);
23137 if (PyErr_Occurred()) SWIG_fail
;
23139 Py_INCREF(Py_None
); resultobj
= Py_None
;
23146 static PyObject
*_wrap_Window_SetSizeHints__SWIG_1(PyObject
*self
, PyObject
*args
) {
23147 PyObject
*resultobj
;
23148 wxWindow
*arg1
= (wxWindow
*) 0 ;
23150 wxSize
const &arg3_defvalue
= wxDefaultSize
;
23151 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
23152 wxSize
const &arg4_defvalue
= wxDefaultSize
;
23153 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
23157 PyObject
* obj0
= 0 ;
23158 PyObject
* obj1
= 0 ;
23159 PyObject
* obj2
= 0 ;
23160 PyObject
* obj3
= 0 ;
23162 if(!PyArg_ParseTuple(args
,(char *)"OO|OO:Window_SetSizeHints",&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
23163 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23164 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23167 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
23172 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
23178 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
23182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23183 (arg1
)->SetSizeHints((wxSize
const &)*arg2
,(wxSize
const &)*arg3
,(wxSize
const &)*arg4
);
23185 wxPyEndAllowThreads(__tstate
);
23186 if (PyErr_Occurred()) SWIG_fail
;
23188 Py_INCREF(Py_None
); resultobj
= Py_None
;
23195 static PyObject
*_wrap_Window_SetSizeHints(PyObject
*self
, PyObject
*args
) {
23200 argc
= PyObject_Length(args
);
23201 for (ii
= 0; (ii
< argc
) && (ii
< 7); ii
++) {
23202 argv
[ii
] = PyTuple_GetItem(args
,ii
);
23204 if ((argc
>= 2) && (argc
<= 4)) {
23208 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
23217 _v
= wxPySimple_typecheck(argv
[1], wxT("wxSize"), 2);
23221 return _wrap_Window_SetSizeHints__SWIG_1(self
,args
);
23224 _v
= wxPySimple_typecheck(argv
[2], wxT("wxSize"), 2);
23228 return _wrap_Window_SetSizeHints__SWIG_1(self
,args
);
23231 _v
= wxPySimple_typecheck(argv
[3], wxT("wxSize"), 2);
23234 return _wrap_Window_SetSizeHints__SWIG_1(self
,args
);
23240 if ((argc
>= 3) && (argc
<= 7)) {
23244 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
23252 _v
= SWIG_CheckInt(argv
[1]);
23254 _v
= SWIG_CheckInt(argv
[2]);
23257 return _wrap_Window_SetSizeHints__SWIG_0(self
,args
);
23259 _v
= SWIG_CheckInt(argv
[3]);
23262 return _wrap_Window_SetSizeHints__SWIG_0(self
,args
);
23264 _v
= SWIG_CheckInt(argv
[4]);
23267 return _wrap_Window_SetSizeHints__SWIG_0(self
,args
);
23269 _v
= SWIG_CheckInt(argv
[5]);
23272 return _wrap_Window_SetSizeHints__SWIG_0(self
,args
);
23274 _v
= SWIG_CheckInt(argv
[6]);
23276 return _wrap_Window_SetSizeHints__SWIG_0(self
,args
);
23286 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'Window_SetSizeHints'");
23291 static PyObject
*_wrap_Window_SetVirtualSizeHints__SWIG_0(PyObject
*self
, PyObject
*args
) {
23292 PyObject
*resultobj
;
23293 wxWindow
*arg1
= (wxWindow
*) 0 ;
23296 int arg4
= (int) -1 ;
23297 int arg5
= (int) -1 ;
23298 PyObject
* obj0
= 0 ;
23299 PyObject
* obj1
= 0 ;
23300 PyObject
* obj2
= 0 ;
23301 PyObject
* obj3
= 0 ;
23302 PyObject
* obj4
= 0 ;
23304 if(!PyArg_ParseTuple(args
,(char *)"OOO|OO:Window_SetVirtualSizeHints",&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
23305 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23306 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23307 arg2
= (int) SWIG_AsInt(obj1
);
23308 if (PyErr_Occurred()) SWIG_fail
;
23309 arg3
= (int) SWIG_AsInt(obj2
);
23310 if (PyErr_Occurred()) SWIG_fail
;
23312 arg4
= (int) SWIG_AsInt(obj3
);
23313 if (PyErr_Occurred()) SWIG_fail
;
23316 arg5
= (int) SWIG_AsInt(obj4
);
23317 if (PyErr_Occurred()) SWIG_fail
;
23320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23321 (arg1
)->SetVirtualSizeHints(arg2
,arg3
,arg4
,arg5
);
23323 wxPyEndAllowThreads(__tstate
);
23324 if (PyErr_Occurred()) SWIG_fail
;
23326 Py_INCREF(Py_None
); resultobj
= Py_None
;
23333 static PyObject
*_wrap_Window_SetVirtualSizeHints__SWIG_1(PyObject
*self
, PyObject
*args
) {
23334 PyObject
*resultobj
;
23335 wxWindow
*arg1
= (wxWindow
*) 0 ;
23337 wxSize
const &arg3_defvalue
= wxDefaultSize
;
23338 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
23341 PyObject
* obj0
= 0 ;
23342 PyObject
* obj1
= 0 ;
23343 PyObject
* obj2
= 0 ;
23345 if(!PyArg_ParseTuple(args
,(char *)"OO|O:Window_SetVirtualSizeHints",&obj0
,&obj1
,&obj2
)) goto fail
;
23346 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23347 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23350 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
23355 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
23359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23360 (arg1
)->SetVirtualSizeHints((wxSize
const &)*arg2
,(wxSize
const &)*arg3
);
23362 wxPyEndAllowThreads(__tstate
);
23363 if (PyErr_Occurred()) SWIG_fail
;
23365 Py_INCREF(Py_None
); resultobj
= Py_None
;
23372 static PyObject
*_wrap_Window_SetVirtualSizeHints(PyObject
*self
, PyObject
*args
) {
23377 argc
= PyObject_Length(args
);
23378 for (ii
= 0; (ii
< argc
) && (ii
< 5); ii
++) {
23379 argv
[ii
] = PyTuple_GetItem(args
,ii
);
23381 if ((argc
>= 2) && (argc
<= 3)) {
23385 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
23394 _v
= wxPySimple_typecheck(argv
[1], wxT("wxSize"), 2);
23398 return _wrap_Window_SetVirtualSizeHints__SWIG_1(self
,args
);
23401 _v
= wxPySimple_typecheck(argv
[2], wxT("wxSize"), 2);
23404 return _wrap_Window_SetVirtualSizeHints__SWIG_1(self
,args
);
23409 if ((argc
>= 3) && (argc
<= 5)) {
23413 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
23421 _v
= SWIG_CheckInt(argv
[1]);
23423 _v
= SWIG_CheckInt(argv
[2]);
23426 return _wrap_Window_SetVirtualSizeHints__SWIG_0(self
,args
);
23428 _v
= SWIG_CheckInt(argv
[3]);
23431 return _wrap_Window_SetVirtualSizeHints__SWIG_0(self
,args
);
23433 _v
= SWIG_CheckInt(argv
[4]);
23435 return _wrap_Window_SetVirtualSizeHints__SWIG_0(self
,args
);
23443 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'Window_SetVirtualSizeHints'");
23448 static PyObject
*_wrap_Window_GetMinWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23449 PyObject
*resultobj
;
23450 wxWindow
*arg1
= (wxWindow
*) 0 ;
23452 PyObject
* obj0
= 0 ;
23453 char *kwnames
[] = {
23454 (char *) "self", NULL
23457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinWidth",kwnames
,&obj0
)) goto fail
;
23458 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23459 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23462 result
= (int)((wxWindow
const *)arg1
)->GetMinWidth();
23464 wxPyEndAllowThreads(__tstate
);
23465 if (PyErr_Occurred()) SWIG_fail
;
23467 resultobj
= SWIG_FromInt((int)result
);
23474 static PyObject
*_wrap_Window_GetMinHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23475 PyObject
*resultobj
;
23476 wxWindow
*arg1
= (wxWindow
*) 0 ;
23478 PyObject
* obj0
= 0 ;
23479 char *kwnames
[] = {
23480 (char *) "self", NULL
23483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinHeight",kwnames
,&obj0
)) goto fail
;
23484 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23485 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23488 result
= (int)((wxWindow
const *)arg1
)->GetMinHeight();
23490 wxPyEndAllowThreads(__tstate
);
23491 if (PyErr_Occurred()) SWIG_fail
;
23493 resultobj
= SWIG_FromInt((int)result
);
23500 static PyObject
*_wrap_Window_GetMaxWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23501 PyObject
*resultobj
;
23502 wxWindow
*arg1
= (wxWindow
*) 0 ;
23504 PyObject
* obj0
= 0 ;
23505 char *kwnames
[] = {
23506 (char *) "self", NULL
23509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxWidth",kwnames
,&obj0
)) goto fail
;
23510 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23511 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23514 result
= (int)((wxWindow
const *)arg1
)->GetMaxWidth();
23516 wxPyEndAllowThreads(__tstate
);
23517 if (PyErr_Occurred()) SWIG_fail
;
23519 resultobj
= SWIG_FromInt((int)result
);
23526 static PyObject
*_wrap_Window_GetMaxHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23527 PyObject
*resultobj
;
23528 wxWindow
*arg1
= (wxWindow
*) 0 ;
23530 PyObject
* obj0
= 0 ;
23531 char *kwnames
[] = {
23532 (char *) "self", NULL
23535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxHeight",kwnames
,&obj0
)) goto fail
;
23536 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23537 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23540 result
= (int)((wxWindow
const *)arg1
)->GetMaxHeight();
23542 wxPyEndAllowThreads(__tstate
);
23543 if (PyErr_Occurred()) SWIG_fail
;
23545 resultobj
= SWIG_FromInt((int)result
);
23552 static PyObject
*_wrap_Window_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23553 PyObject
*resultobj
;
23554 wxWindow
*arg1
= (wxWindow
*) 0 ;
23556 PyObject
* obj0
= 0 ;
23557 char *kwnames
[] = {
23558 (char *) "self", NULL
23561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxSize",kwnames
,&obj0
)) goto fail
;
23562 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23563 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23566 result
= ((wxWindow
const *)arg1
)->GetMaxSize();
23568 wxPyEndAllowThreads(__tstate
);
23569 if (PyErr_Occurred()) SWIG_fail
;
23572 wxSize
* resultptr
;
23573 resultptr
= new wxSize((wxSize
&) result
);
23574 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23582 static PyObject
*_wrap_Window_GetMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23583 PyObject
*resultobj
;
23584 wxWindow
*arg1
= (wxWindow
*) 0 ;
23586 PyObject
* obj0
= 0 ;
23587 char *kwnames
[] = {
23588 (char *) "self", NULL
23591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinSize",kwnames
,&obj0
)) goto fail
;
23592 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23593 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23596 result
= ((wxWindow
const *)arg1
)->GetMinSize();
23598 wxPyEndAllowThreads(__tstate
);
23599 if (PyErr_Occurred()) SWIG_fail
;
23602 wxSize
* resultptr
;
23603 resultptr
= new wxSize((wxSize
&) result
);
23604 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23612 static PyObject
*_wrap_Window_SetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23613 PyObject
*resultobj
;
23614 wxWindow
*arg1
= (wxWindow
*) 0 ;
23617 PyObject
* obj0
= 0 ;
23618 PyObject
* obj1
= 0 ;
23619 char *kwnames
[] = {
23620 (char *) "self",(char *) "size", NULL
23623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetVirtualSize",kwnames
,&obj0
,&obj1
)) goto fail
;
23624 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23625 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23628 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
23631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23632 (arg1
)->SetVirtualSize((wxSize
const &)*arg2
);
23634 wxPyEndAllowThreads(__tstate
);
23635 if (PyErr_Occurred()) SWIG_fail
;
23637 Py_INCREF(Py_None
); resultobj
= Py_None
;
23644 static PyObject
*_wrap_Window_SetVirtualSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23645 PyObject
*resultobj
;
23646 wxWindow
*arg1
= (wxWindow
*) 0 ;
23649 PyObject
* obj0
= 0 ;
23650 PyObject
* obj1
= 0 ;
23651 PyObject
* obj2
= 0 ;
23652 char *kwnames
[] = {
23653 (char *) "self",(char *) "w",(char *) "h", NULL
23656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetVirtualSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23657 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23658 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23659 arg2
= (int) SWIG_AsInt(obj1
);
23660 if (PyErr_Occurred()) SWIG_fail
;
23661 arg3
= (int) SWIG_AsInt(obj2
);
23662 if (PyErr_Occurred()) SWIG_fail
;
23664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23665 (arg1
)->SetVirtualSize(arg2
,arg3
);
23667 wxPyEndAllowThreads(__tstate
);
23668 if (PyErr_Occurred()) SWIG_fail
;
23670 Py_INCREF(Py_None
); resultobj
= Py_None
;
23677 static PyObject
*_wrap_Window_GetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23678 PyObject
*resultobj
;
23679 wxWindow
*arg1
= (wxWindow
*) 0 ;
23681 PyObject
* obj0
= 0 ;
23682 char *kwnames
[] = {
23683 (char *) "self", NULL
23686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetVirtualSize",kwnames
,&obj0
)) goto fail
;
23687 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23688 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23691 result
= ((wxWindow
const *)arg1
)->GetVirtualSize();
23693 wxPyEndAllowThreads(__tstate
);
23694 if (PyErr_Occurred()) SWIG_fail
;
23697 wxSize
* resultptr
;
23698 resultptr
= new wxSize((wxSize
&) result
);
23699 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23707 static PyObject
*_wrap_Window_GetVirtualSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23708 PyObject
*resultobj
;
23709 wxWindow
*arg1
= (wxWindow
*) 0 ;
23710 int *arg2
= (int *) 0 ;
23711 int *arg3
= (int *) 0 ;
23714 PyObject
* obj0
= 0 ;
23715 char *kwnames
[] = {
23716 (char *) "self", NULL
23721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetVirtualSizeTuple",kwnames
,&obj0
)) goto fail
;
23722 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23723 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23726 ((wxWindow
const *)arg1
)->GetVirtualSize(arg2
,arg3
);
23728 wxPyEndAllowThreads(__tstate
);
23729 if (PyErr_Occurred()) SWIG_fail
;
23731 Py_INCREF(Py_None
); resultobj
= Py_None
;
23733 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
23734 resultobj
= t_output_helper(resultobj
,o
);
23737 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
23738 resultobj
= t_output_helper(resultobj
,o
);
23746 static PyObject
*_wrap_Window_GetBestVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23747 PyObject
*resultobj
;
23748 wxWindow
*arg1
= (wxWindow
*) 0 ;
23750 PyObject
* obj0
= 0 ;
23751 char *kwnames
[] = {
23752 (char *) "self", NULL
23755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestVirtualSize",kwnames
,&obj0
)) goto fail
;
23756 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23757 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23760 result
= ((wxWindow
const *)arg1
)->GetBestVirtualSize();
23762 wxPyEndAllowThreads(__tstate
);
23763 if (PyErr_Occurred()) SWIG_fail
;
23766 wxSize
* resultptr
;
23767 resultptr
= new wxSize((wxSize
&) result
);
23768 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23776 static PyObject
*_wrap_Window_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23777 PyObject
*resultobj
;
23778 wxWindow
*arg1
= (wxWindow
*) 0 ;
23779 bool arg2
= (bool) True
;
23781 PyObject
* obj0
= 0 ;
23782 PyObject
* obj1
= 0 ;
23783 char *kwnames
[] = {
23784 (char *) "self",(char *) "show", NULL
23787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
23788 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23789 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23791 arg2
= (bool) SWIG_AsBool(obj1
);
23792 if (PyErr_Occurred()) SWIG_fail
;
23795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23796 result
= (bool)(arg1
)->Show(arg2
);
23798 wxPyEndAllowThreads(__tstate
);
23799 if (PyErr_Occurred()) SWIG_fail
;
23802 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23810 static PyObject
*_wrap_Window_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23811 PyObject
*resultobj
;
23812 wxWindow
*arg1
= (wxWindow
*) 0 ;
23814 PyObject
* obj0
= 0 ;
23815 char *kwnames
[] = {
23816 (char *) "self", NULL
23819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Hide",kwnames
,&obj0
)) goto fail
;
23820 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23821 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23824 result
= (bool)(arg1
)->Hide();
23826 wxPyEndAllowThreads(__tstate
);
23827 if (PyErr_Occurred()) SWIG_fail
;
23830 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23838 static PyObject
*_wrap_Window_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23839 PyObject
*resultobj
;
23840 wxWindow
*arg1
= (wxWindow
*) 0 ;
23841 bool arg2
= (bool) True
;
23843 PyObject
* obj0
= 0 ;
23844 PyObject
* obj1
= 0 ;
23845 char *kwnames
[] = {
23846 (char *) "self",(char *) "enable", NULL
23849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
23850 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23851 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23853 arg2
= (bool) SWIG_AsBool(obj1
);
23854 if (PyErr_Occurred()) SWIG_fail
;
23857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23858 result
= (bool)(arg1
)->Enable(arg2
);
23860 wxPyEndAllowThreads(__tstate
);
23861 if (PyErr_Occurred()) SWIG_fail
;
23864 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23872 static PyObject
*_wrap_Window_Disable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23873 PyObject
*resultobj
;
23874 wxWindow
*arg1
= (wxWindow
*) 0 ;
23876 PyObject
* obj0
= 0 ;
23877 char *kwnames
[] = {
23878 (char *) "self", NULL
23881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Disable",kwnames
,&obj0
)) goto fail
;
23882 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23886 result
= (bool)(arg1
)->Disable();
23888 wxPyEndAllowThreads(__tstate
);
23889 if (PyErr_Occurred()) SWIG_fail
;
23892 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23900 static PyObject
*_wrap_Window_IsShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23901 PyObject
*resultobj
;
23902 wxWindow
*arg1
= (wxWindow
*) 0 ;
23904 PyObject
* obj0
= 0 ;
23905 char *kwnames
[] = {
23906 (char *) "self", NULL
23909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsShown",kwnames
,&obj0
)) goto fail
;
23910 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23911 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23914 result
= (bool)((wxWindow
const *)arg1
)->IsShown();
23916 wxPyEndAllowThreads(__tstate
);
23917 if (PyErr_Occurred()) SWIG_fail
;
23920 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23928 static PyObject
*_wrap_Window_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23929 PyObject
*resultobj
;
23930 wxWindow
*arg1
= (wxWindow
*) 0 ;
23932 PyObject
* obj0
= 0 ;
23933 char *kwnames
[] = {
23934 (char *) "self", NULL
23937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsEnabled",kwnames
,&obj0
)) goto fail
;
23938 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23939 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23942 result
= (bool)((wxWindow
const *)arg1
)->IsEnabled();
23944 wxPyEndAllowThreads(__tstate
);
23945 if (PyErr_Occurred()) SWIG_fail
;
23948 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23956 static PyObject
*_wrap_Window_SetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23957 PyObject
*resultobj
;
23958 wxWindow
*arg1
= (wxWindow
*) 0 ;
23960 PyObject
* obj0
= 0 ;
23961 PyObject
* obj1
= 0 ;
23962 char *kwnames
[] = {
23963 (char *) "self",(char *) "style", NULL
23966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetWindowStyleFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
23967 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23968 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23969 arg2
= (long) SWIG_AsLong(obj1
);
23970 if (PyErr_Occurred()) SWIG_fail
;
23972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23973 (arg1
)->SetWindowStyleFlag(arg2
);
23975 wxPyEndAllowThreads(__tstate
);
23976 if (PyErr_Occurred()) SWIG_fail
;
23978 Py_INCREF(Py_None
); resultobj
= Py_None
;
23985 static PyObject
*_wrap_Window_GetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23986 PyObject
*resultobj
;
23987 wxWindow
*arg1
= (wxWindow
*) 0 ;
23989 PyObject
* obj0
= 0 ;
23990 char *kwnames
[] = {
23991 (char *) "self", NULL
23994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetWindowStyleFlag",kwnames
,&obj0
)) goto fail
;
23995 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23996 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23999 result
= (long)((wxWindow
const *)arg1
)->GetWindowStyleFlag();
24001 wxPyEndAllowThreads(__tstate
);
24002 if (PyErr_Occurred()) SWIG_fail
;
24004 resultobj
= SWIG_FromLong((long)result
);
24011 static PyObject
*_wrap_Window_HasFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24012 PyObject
*resultobj
;
24013 wxWindow
*arg1
= (wxWindow
*) 0 ;
24016 PyObject
* obj0
= 0 ;
24017 PyObject
* obj1
= 0 ;
24018 char *kwnames
[] = {
24019 (char *) "self",(char *) "flag", NULL
24022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HasFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
24023 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24024 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24025 arg2
= (int) SWIG_AsInt(obj1
);
24026 if (PyErr_Occurred()) SWIG_fail
;
24028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24029 result
= (bool)((wxWindow
const *)arg1
)->HasFlag(arg2
);
24031 wxPyEndAllowThreads(__tstate
);
24032 if (PyErr_Occurred()) SWIG_fail
;
24035 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24043 static PyObject
*_wrap_Window_IsRetained(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24044 PyObject
*resultobj
;
24045 wxWindow
*arg1
= (wxWindow
*) 0 ;
24047 PyObject
* obj0
= 0 ;
24048 char *kwnames
[] = {
24049 (char *) "self", NULL
24052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsRetained",kwnames
,&obj0
)) goto fail
;
24053 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24054 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24057 result
= (bool)((wxWindow
const *)arg1
)->IsRetained();
24059 wxPyEndAllowThreads(__tstate
);
24060 if (PyErr_Occurred()) SWIG_fail
;
24063 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24071 static PyObject
*_wrap_Window_SetExtraStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24072 PyObject
*resultobj
;
24073 wxWindow
*arg1
= (wxWindow
*) 0 ;
24075 PyObject
* obj0
= 0 ;
24076 PyObject
* obj1
= 0 ;
24077 char *kwnames
[] = {
24078 (char *) "self",(char *) "exStyle", NULL
24081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetExtraStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
24082 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24083 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24084 arg2
= (long) SWIG_AsLong(obj1
);
24085 if (PyErr_Occurred()) SWIG_fail
;
24087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24088 (arg1
)->SetExtraStyle(arg2
);
24090 wxPyEndAllowThreads(__tstate
);
24091 if (PyErr_Occurred()) SWIG_fail
;
24093 Py_INCREF(Py_None
); resultobj
= Py_None
;
24100 static PyObject
*_wrap_Window_GetExtraStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24101 PyObject
*resultobj
;
24102 wxWindow
*arg1
= (wxWindow
*) 0 ;
24104 PyObject
* obj0
= 0 ;
24105 char *kwnames
[] = {
24106 (char *) "self", NULL
24109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetExtraStyle",kwnames
,&obj0
)) goto fail
;
24110 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24111 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24114 result
= (long)((wxWindow
const *)arg1
)->GetExtraStyle();
24116 wxPyEndAllowThreads(__tstate
);
24117 if (PyErr_Occurred()) SWIG_fail
;
24119 resultobj
= SWIG_FromLong((long)result
);
24126 static PyObject
*_wrap_Window_MakeModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24127 PyObject
*resultobj
;
24128 wxWindow
*arg1
= (wxWindow
*) 0 ;
24129 bool arg2
= (bool) True
;
24130 PyObject
* obj0
= 0 ;
24131 PyObject
* obj1
= 0 ;
24132 char *kwnames
[] = {
24133 (char *) "self",(char *) "modal", NULL
24136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_MakeModal",kwnames
,&obj0
,&obj1
)) goto fail
;
24137 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24138 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24140 arg2
= (bool) SWIG_AsBool(obj1
);
24141 if (PyErr_Occurred()) SWIG_fail
;
24144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24145 (arg1
)->MakeModal(arg2
);
24147 wxPyEndAllowThreads(__tstate
);
24148 if (PyErr_Occurred()) SWIG_fail
;
24150 Py_INCREF(Py_None
); resultobj
= Py_None
;
24157 static PyObject
*_wrap_Window_SetThemeEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24158 PyObject
*resultobj
;
24159 wxWindow
*arg1
= (wxWindow
*) 0 ;
24161 PyObject
* obj0
= 0 ;
24162 PyObject
* obj1
= 0 ;
24163 char *kwnames
[] = {
24164 (char *) "self",(char *) "enableTheme", NULL
24167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetThemeEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
24168 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24169 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24170 arg2
= (bool) SWIG_AsBool(obj1
);
24171 if (PyErr_Occurred()) SWIG_fail
;
24173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24174 (arg1
)->SetThemeEnabled(arg2
);
24176 wxPyEndAllowThreads(__tstate
);
24177 if (PyErr_Occurred()) SWIG_fail
;
24179 Py_INCREF(Py_None
); resultobj
= Py_None
;
24186 static PyObject
*_wrap_Window_GetThemeEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24187 PyObject
*resultobj
;
24188 wxWindow
*arg1
= (wxWindow
*) 0 ;
24190 PyObject
* obj0
= 0 ;
24191 char *kwnames
[] = {
24192 (char *) "self", NULL
24195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetThemeEnabled",kwnames
,&obj0
)) goto fail
;
24196 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24197 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24200 result
= (bool)((wxWindow
const *)arg1
)->GetThemeEnabled();
24202 wxPyEndAllowThreads(__tstate
);
24203 if (PyErr_Occurred()) SWIG_fail
;
24206 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24214 static PyObject
*_wrap_Window_SetFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24215 PyObject
*resultobj
;
24216 wxWindow
*arg1
= (wxWindow
*) 0 ;
24217 PyObject
* obj0
= 0 ;
24218 char *kwnames
[] = {
24219 (char *) "self", NULL
24222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_SetFocus",kwnames
,&obj0
)) goto fail
;
24223 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24224 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24227 (arg1
)->SetFocus();
24229 wxPyEndAllowThreads(__tstate
);
24230 if (PyErr_Occurred()) SWIG_fail
;
24232 Py_INCREF(Py_None
); resultobj
= Py_None
;
24239 static PyObject
*_wrap_Window_SetFocusFromKbd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24240 PyObject
*resultobj
;
24241 wxWindow
*arg1
= (wxWindow
*) 0 ;
24242 PyObject
* obj0
= 0 ;
24243 char *kwnames
[] = {
24244 (char *) "self", NULL
24247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_SetFocusFromKbd",kwnames
,&obj0
)) goto fail
;
24248 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24249 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24252 (arg1
)->SetFocusFromKbd();
24254 wxPyEndAllowThreads(__tstate
);
24255 if (PyErr_Occurred()) SWIG_fail
;
24257 Py_INCREF(Py_None
); resultobj
= Py_None
;
24264 static PyObject
*_wrap_Window_FindFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24265 PyObject
*resultobj
;
24267 char *kwnames
[] = {
24271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_FindFocus",kwnames
)) goto fail
;
24273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24274 result
= (wxWindow
*)wxWindow::FindFocus();
24276 wxPyEndAllowThreads(__tstate
);
24277 if (PyErr_Occurred()) SWIG_fail
;
24280 resultobj
= wxPyMake_wxObject(result
);
24288 static PyObject
*_wrap_Window_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24289 PyObject
*resultobj
;
24290 wxWindow
*arg1
= (wxWindow
*) 0 ;
24292 PyObject
* obj0
= 0 ;
24293 char *kwnames
[] = {
24294 (char *) "self", NULL
24297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
24298 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24299 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24302 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocus();
24304 wxPyEndAllowThreads(__tstate
);
24305 if (PyErr_Occurred()) SWIG_fail
;
24308 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24316 static PyObject
*_wrap_Window_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24317 PyObject
*resultobj
;
24318 wxWindow
*arg1
= (wxWindow
*) 0 ;
24320 PyObject
* obj0
= 0 ;
24321 char *kwnames
[] = {
24322 (char *) "self", NULL
24325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
24326 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24327 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24330 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocusFromKeyboard();
24332 wxPyEndAllowThreads(__tstate
);
24333 if (PyErr_Occurred()) SWIG_fail
;
24336 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24344 static PyObject
*_wrap_Window_GetDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24345 PyObject
*resultobj
;
24346 wxWindow
*arg1
= (wxWindow
*) 0 ;
24348 PyObject
* obj0
= 0 ;
24349 char *kwnames
[] = {
24350 (char *) "self", NULL
24353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDefaultItem",kwnames
,&obj0
)) goto fail
;
24354 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24355 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24358 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetDefaultItem();
24360 wxPyEndAllowThreads(__tstate
);
24361 if (PyErr_Occurred()) SWIG_fail
;
24364 resultobj
= wxPyMake_wxObject(result
);
24372 static PyObject
*_wrap_Window_SetDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24373 PyObject
*resultobj
;
24374 wxWindow
*arg1
= (wxWindow
*) 0 ;
24375 wxWindow
*arg2
= (wxWindow
*) 0 ;
24377 PyObject
* obj0
= 0 ;
24378 PyObject
* obj1
= 0 ;
24379 char *kwnames
[] = {
24380 (char *) "self",(char *) "child", NULL
24383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDefaultItem",kwnames
,&obj0
,&obj1
)) goto fail
;
24384 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24385 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24386 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
24387 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24390 result
= (wxWindow
*)(arg1
)->SetDefaultItem(arg2
);
24392 wxPyEndAllowThreads(__tstate
);
24393 if (PyErr_Occurred()) SWIG_fail
;
24396 resultobj
= wxPyMake_wxObject(result
);
24404 static PyObject
*_wrap_Window_SetTmpDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24405 PyObject
*resultobj
;
24406 wxWindow
*arg1
= (wxWindow
*) 0 ;
24407 wxWindow
*arg2
= (wxWindow
*) 0 ;
24408 PyObject
* obj0
= 0 ;
24409 PyObject
* obj1
= 0 ;
24410 char *kwnames
[] = {
24411 (char *) "self",(char *) "win", NULL
24414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetTmpDefaultItem",kwnames
,&obj0
,&obj1
)) goto fail
;
24415 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24416 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24417 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
24418 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24421 (arg1
)->SetTmpDefaultItem(arg2
);
24423 wxPyEndAllowThreads(__tstate
);
24424 if (PyErr_Occurred()) SWIG_fail
;
24426 Py_INCREF(Py_None
); resultobj
= Py_None
;
24433 static PyObject
*_wrap_Window_GetChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24434 PyObject
*resultobj
;
24435 wxWindow
*arg1
= (wxWindow
*) 0 ;
24437 PyObject
* obj0
= 0 ;
24438 char *kwnames
[] = {
24439 (char *) "self", NULL
24442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetChildren",kwnames
,&obj0
)) goto fail
;
24443 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24444 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24447 result
= (PyObject
*)wxWindow_GetChildren(arg1
);
24449 wxPyEndAllowThreads(__tstate
);
24450 if (PyErr_Occurred()) SWIG_fail
;
24452 resultobj
= result
;
24459 static PyObject
*_wrap_Window_GetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24460 PyObject
*resultobj
;
24461 wxWindow
*arg1
= (wxWindow
*) 0 ;
24463 PyObject
* obj0
= 0 ;
24464 char *kwnames
[] = {
24465 (char *) "self", NULL
24468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetParent",kwnames
,&obj0
)) goto fail
;
24469 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24473 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetParent();
24475 wxPyEndAllowThreads(__tstate
);
24476 if (PyErr_Occurred()) SWIG_fail
;
24479 resultobj
= wxPyMake_wxObject(result
);
24487 static PyObject
*_wrap_Window_GetGrandParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24488 PyObject
*resultobj
;
24489 wxWindow
*arg1
= (wxWindow
*) 0 ;
24491 PyObject
* obj0
= 0 ;
24492 char *kwnames
[] = {
24493 (char *) "self", NULL
24496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetGrandParent",kwnames
,&obj0
)) goto fail
;
24497 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24498 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24501 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetGrandParent();
24503 wxPyEndAllowThreads(__tstate
);
24504 if (PyErr_Occurred()) SWIG_fail
;
24507 resultobj
= wxPyMake_wxObject(result
);
24515 static PyObject
*_wrap_Window_IsTopLevel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24516 PyObject
*resultobj
;
24517 wxWindow
*arg1
= (wxWindow
*) 0 ;
24519 PyObject
* obj0
= 0 ;
24520 char *kwnames
[] = {
24521 (char *) "self", NULL
24524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsTopLevel",kwnames
,&obj0
)) goto fail
;
24525 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24526 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24529 result
= (bool)((wxWindow
const *)arg1
)->IsTopLevel();
24531 wxPyEndAllowThreads(__tstate
);
24532 if (PyErr_Occurred()) SWIG_fail
;
24535 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24543 static PyObject
*_wrap_Window_Reparent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24544 PyObject
*resultobj
;
24545 wxWindow
*arg1
= (wxWindow
*) 0 ;
24546 wxWindow
*arg2
= (wxWindow
*) 0 ;
24548 PyObject
* obj0
= 0 ;
24549 PyObject
* obj1
= 0 ;
24550 char *kwnames
[] = {
24551 (char *) "self",(char *) "newParent", NULL
24554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_Reparent",kwnames
,&obj0
,&obj1
)) goto fail
;
24555 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24556 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24557 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
24558 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24561 result
= (bool)(arg1
)->Reparent(arg2
);
24563 wxPyEndAllowThreads(__tstate
);
24564 if (PyErr_Occurred()) SWIG_fail
;
24567 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24575 static PyObject
*_wrap_Window_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24576 PyObject
*resultobj
;
24577 wxWindow
*arg1
= (wxWindow
*) 0 ;
24578 wxWindow
*arg2
= (wxWindow
*) 0 ;
24579 PyObject
* obj0
= 0 ;
24580 PyObject
* obj1
= 0 ;
24581 char *kwnames
[] = {
24582 (char *) "self",(char *) "child", NULL
24585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
24586 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24587 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24588 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
24589 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24592 (arg1
)->AddChild(arg2
);
24594 wxPyEndAllowThreads(__tstate
);
24595 if (PyErr_Occurred()) SWIG_fail
;
24597 Py_INCREF(Py_None
); resultobj
= Py_None
;
24604 static PyObject
*_wrap_Window_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24605 PyObject
*resultobj
;
24606 wxWindow
*arg1
= (wxWindow
*) 0 ;
24607 wxWindow
*arg2
= (wxWindow
*) 0 ;
24608 PyObject
* obj0
= 0 ;
24609 PyObject
* obj1
= 0 ;
24610 char *kwnames
[] = {
24611 (char *) "self",(char *) "child", NULL
24614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
24615 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24616 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24617 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
24618 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24621 (arg1
)->RemoveChild(arg2
);
24623 wxPyEndAllowThreads(__tstate
);
24624 if (PyErr_Occurred()) SWIG_fail
;
24626 Py_INCREF(Py_None
); resultobj
= Py_None
;
24633 static PyObject
*_wrap_Window_FindWindowById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24634 PyObject
*resultobj
;
24635 wxWindow
*arg1
= (wxWindow
*) 0 ;
24638 PyObject
* obj0
= 0 ;
24639 PyObject
* obj1
= 0 ;
24640 char *kwnames
[] = {
24641 (char *) "self",(char *) "winid", NULL
24644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FindWindowById",kwnames
,&obj0
,&obj1
)) goto fail
;
24645 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24646 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24647 arg2
= (long) SWIG_AsLong(obj1
);
24648 if (PyErr_Occurred()) SWIG_fail
;
24650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24651 result
= (wxWindow
*)(arg1
)->FindWindow(arg2
);
24653 wxPyEndAllowThreads(__tstate
);
24654 if (PyErr_Occurred()) SWIG_fail
;
24657 resultobj
= wxPyMake_wxObject(result
);
24665 static PyObject
*_wrap_Window_FindWindowByName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24666 PyObject
*resultobj
;
24667 wxWindow
*arg1
= (wxWindow
*) 0 ;
24668 wxString
*arg2
= 0 ;
24670 bool temp2
= False
;
24671 PyObject
* obj0
= 0 ;
24672 PyObject
* obj1
= 0 ;
24673 char *kwnames
[] = {
24674 (char *) "self",(char *) "name", NULL
24677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FindWindowByName",kwnames
,&obj0
,&obj1
)) goto fail
;
24678 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24679 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24681 arg2
= wxString_in_helper(obj1
);
24682 if (arg2
== NULL
) SWIG_fail
;
24686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24687 result
= (wxWindow
*)(arg1
)->FindWindow((wxString
const &)*arg2
);
24689 wxPyEndAllowThreads(__tstate
);
24690 if (PyErr_Occurred()) SWIG_fail
;
24693 resultobj
= wxPyMake_wxObject(result
);
24709 static PyObject
*_wrap_Window_GetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24710 PyObject
*resultobj
;
24711 wxWindow
*arg1
= (wxWindow
*) 0 ;
24712 wxEvtHandler
*result
;
24713 PyObject
* obj0
= 0 ;
24714 char *kwnames
[] = {
24715 (char *) "self", NULL
24718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetEventHandler",kwnames
,&obj0
)) goto fail
;
24719 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24720 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24723 result
= (wxEvtHandler
*)((wxWindow
const *)arg1
)->GetEventHandler();
24725 wxPyEndAllowThreads(__tstate
);
24726 if (PyErr_Occurred()) SWIG_fail
;
24729 resultobj
= wxPyMake_wxObject(result
);
24737 static PyObject
*_wrap_Window_SetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24738 PyObject
*resultobj
;
24739 wxWindow
*arg1
= (wxWindow
*) 0 ;
24740 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
24741 PyObject
* obj0
= 0 ;
24742 PyObject
* obj1
= 0 ;
24743 char *kwnames
[] = {
24744 (char *) "self",(char *) "handler", NULL
24747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
24748 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24749 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24750 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
24751 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24754 (arg1
)->SetEventHandler(arg2
);
24756 wxPyEndAllowThreads(__tstate
);
24757 if (PyErr_Occurred()) SWIG_fail
;
24759 Py_INCREF(Py_None
); resultobj
= Py_None
;
24766 static PyObject
*_wrap_Window_PushEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24767 PyObject
*resultobj
;
24768 wxWindow
*arg1
= (wxWindow
*) 0 ;
24769 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
24770 PyObject
* obj0
= 0 ;
24771 PyObject
* obj1
= 0 ;
24772 char *kwnames
[] = {
24773 (char *) "self",(char *) "handler", NULL
24776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PushEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
24777 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24778 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24779 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
24780 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24783 (arg1
)->PushEventHandler(arg2
);
24785 wxPyEndAllowThreads(__tstate
);
24786 if (PyErr_Occurred()) SWIG_fail
;
24788 Py_INCREF(Py_None
); resultobj
= Py_None
;
24795 static PyObject
*_wrap_Window_PopEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24796 PyObject
*resultobj
;
24797 wxWindow
*arg1
= (wxWindow
*) 0 ;
24798 bool arg2
= (bool) False
;
24799 wxEvtHandler
*result
;
24800 PyObject
* obj0
= 0 ;
24801 PyObject
* obj1
= 0 ;
24802 char *kwnames
[] = {
24803 (char *) "self",(char *) "deleteHandler", NULL
24806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_PopEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
24807 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24808 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24810 arg2
= (bool) SWIG_AsBool(obj1
);
24811 if (PyErr_Occurred()) SWIG_fail
;
24814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24815 result
= (wxEvtHandler
*)(arg1
)->PopEventHandler(arg2
);
24817 wxPyEndAllowThreads(__tstate
);
24818 if (PyErr_Occurred()) SWIG_fail
;
24821 resultobj
= wxPyMake_wxObject(result
);
24829 static PyObject
*_wrap_Window_RemoveEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24830 PyObject
*resultobj
;
24831 wxWindow
*arg1
= (wxWindow
*) 0 ;
24832 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
24834 PyObject
* obj0
= 0 ;
24835 PyObject
* obj1
= 0 ;
24836 char *kwnames
[] = {
24837 (char *) "self",(char *) "handler", NULL
24840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
24841 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24842 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24843 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
24844 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24847 result
= (bool)(arg1
)->RemoveEventHandler(arg2
);
24849 wxPyEndAllowThreads(__tstate
);
24850 if (PyErr_Occurred()) SWIG_fail
;
24853 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24861 static PyObject
*_wrap_Window_SetValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24862 PyObject
*resultobj
;
24863 wxWindow
*arg1
= (wxWindow
*) 0 ;
24864 wxValidator
*arg2
= 0 ;
24865 PyObject
* obj0
= 0 ;
24866 PyObject
* obj1
= 0 ;
24867 char *kwnames
[] = {
24868 (char *) "self",(char *) "validator", NULL
24871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetValidator",kwnames
,&obj0
,&obj1
)) goto fail
;
24872 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24873 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24874 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxValidator
,
24875 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24877 if (arg2
== NULL
) {
24878 PyErr_SetString(PyExc_TypeError
,"null reference");
24882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24883 (arg1
)->SetValidator((wxValidator
const &)*arg2
);
24885 wxPyEndAllowThreads(__tstate
);
24886 if (PyErr_Occurred()) SWIG_fail
;
24888 Py_INCREF(Py_None
); resultobj
= Py_None
;
24895 static PyObject
*_wrap_Window_GetValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24896 PyObject
*resultobj
;
24897 wxWindow
*arg1
= (wxWindow
*) 0 ;
24898 wxValidator
*result
;
24899 PyObject
* obj0
= 0 ;
24900 char *kwnames
[] = {
24901 (char *) "self", NULL
24904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetValidator",kwnames
,&obj0
)) goto fail
;
24905 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24906 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24909 result
= (wxValidator
*)(arg1
)->GetValidator();
24911 wxPyEndAllowThreads(__tstate
);
24912 if (PyErr_Occurred()) SWIG_fail
;
24915 resultobj
= wxPyMake_wxObject(result
);
24923 static PyObject
*_wrap_Window_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24924 PyObject
*resultobj
;
24925 wxWindow
*arg1
= (wxWindow
*) 0 ;
24927 PyObject
* obj0
= 0 ;
24928 char *kwnames
[] = {
24929 (char *) "self", NULL
24932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Validate",kwnames
,&obj0
)) goto fail
;
24933 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24934 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24937 result
= (bool)(arg1
)->Validate();
24939 wxPyEndAllowThreads(__tstate
);
24940 if (PyErr_Occurred()) SWIG_fail
;
24943 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24951 static PyObject
*_wrap_Window_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24952 PyObject
*resultobj
;
24953 wxWindow
*arg1
= (wxWindow
*) 0 ;
24955 PyObject
* obj0
= 0 ;
24956 char *kwnames
[] = {
24957 (char *) "self", NULL
24960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
24961 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24962 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24965 result
= (bool)(arg1
)->TransferDataToWindow();
24967 wxPyEndAllowThreads(__tstate
);
24968 if (PyErr_Occurred()) SWIG_fail
;
24971 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24979 static PyObject
*_wrap_Window_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24980 PyObject
*resultobj
;
24981 wxWindow
*arg1
= (wxWindow
*) 0 ;
24983 PyObject
* obj0
= 0 ;
24984 char *kwnames
[] = {
24985 (char *) "self", NULL
24988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
24989 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24990 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24993 result
= (bool)(arg1
)->TransferDataFromWindow();
24995 wxPyEndAllowThreads(__tstate
);
24996 if (PyErr_Occurred()) SWIG_fail
;
24999 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25007 static PyObject
*_wrap_Window_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25008 PyObject
*resultobj
;
25009 wxWindow
*arg1
= (wxWindow
*) 0 ;
25010 PyObject
* obj0
= 0 ;
25011 char *kwnames
[] = {
25012 (char *) "self", NULL
25015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InitDialog",kwnames
,&obj0
)) goto fail
;
25016 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25017 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25020 (arg1
)->InitDialog();
25022 wxPyEndAllowThreads(__tstate
);
25023 if (PyErr_Occurred()) SWIG_fail
;
25025 Py_INCREF(Py_None
); resultobj
= Py_None
;
25032 static PyObject
*_wrap_Window_SetAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25033 PyObject
*resultobj
;
25034 wxWindow
*arg1
= (wxWindow
*) 0 ;
25035 wxAcceleratorTable
*arg2
= 0 ;
25036 PyObject
* obj0
= 0 ;
25037 PyObject
* obj1
= 0 ;
25038 char *kwnames
[] = {
25039 (char *) "self",(char *) "accel", NULL
25042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAcceleratorTable",kwnames
,&obj0
,&obj1
)) goto fail
;
25043 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25044 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25045 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxAcceleratorTable
,
25046 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25048 if (arg2
== NULL
) {
25049 PyErr_SetString(PyExc_TypeError
,"null reference");
25053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25054 (arg1
)->SetAcceleratorTable((wxAcceleratorTable
const &)*arg2
);
25056 wxPyEndAllowThreads(__tstate
);
25057 if (PyErr_Occurred()) SWIG_fail
;
25059 Py_INCREF(Py_None
); resultobj
= Py_None
;
25066 static PyObject
*_wrap_Window_GetAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25067 PyObject
*resultobj
;
25068 wxWindow
*arg1
= (wxWindow
*) 0 ;
25069 wxAcceleratorTable
*result
;
25070 PyObject
* obj0
= 0 ;
25071 char *kwnames
[] = {
25072 (char *) "self", NULL
25075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAcceleratorTable",kwnames
,&obj0
)) goto fail
;
25076 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25077 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25080 result
= (wxAcceleratorTable
*)(arg1
)->GetAcceleratorTable();
25082 wxPyEndAllowThreads(__tstate
);
25083 if (PyErr_Occurred()) SWIG_fail
;
25085 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorTable
, 0);
25092 static PyObject
*_wrap_Window_RegisterHotKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25093 PyObject
*resultobj
;
25094 wxWindow
*arg1
= (wxWindow
*) 0 ;
25099 PyObject
* obj0
= 0 ;
25100 PyObject
* obj1
= 0 ;
25101 PyObject
* obj2
= 0 ;
25102 PyObject
* obj3
= 0 ;
25103 char *kwnames
[] = {
25104 (char *) "self",(char *) "hotkeyId",(char *) "modifiers",(char *) "keycode", NULL
25107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Window_RegisterHotKey",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25108 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25109 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25110 arg2
= (int) SWIG_AsInt(obj1
);
25111 if (PyErr_Occurred()) SWIG_fail
;
25112 arg3
= (int) SWIG_AsInt(obj2
);
25113 if (PyErr_Occurred()) SWIG_fail
;
25114 arg4
= (int) SWIG_AsInt(obj3
);
25115 if (PyErr_Occurred()) SWIG_fail
;
25117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25118 result
= (bool)wxWindow_RegisterHotKey(arg1
,arg2
,arg3
,arg4
);
25120 wxPyEndAllowThreads(__tstate
);
25121 if (PyErr_Occurred()) SWIG_fail
;
25124 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25132 static PyObject
*_wrap_Window_UnregisterHotKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25133 PyObject
*resultobj
;
25134 wxWindow
*arg1
= (wxWindow
*) 0 ;
25137 PyObject
* obj0
= 0 ;
25138 PyObject
* obj1
= 0 ;
25139 char *kwnames
[] = {
25140 (char *) "self",(char *) "hotkeyId", NULL
25143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_UnregisterHotKey",kwnames
,&obj0
,&obj1
)) goto fail
;
25144 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25145 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25146 arg2
= (int) SWIG_AsInt(obj1
);
25147 if (PyErr_Occurred()) SWIG_fail
;
25149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25150 result
= (bool)wxWindow_UnregisterHotKey(arg1
,arg2
);
25152 wxPyEndAllowThreads(__tstate
);
25153 if (PyErr_Occurred()) SWIG_fail
;
25156 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25164 static PyObject
*_wrap_Window_ConvertDialogPointToPixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25165 PyObject
*resultobj
;
25166 wxWindow
*arg1
= (wxWindow
*) 0 ;
25167 wxPoint
*arg2
= 0 ;
25170 PyObject
* obj0
= 0 ;
25171 PyObject
* obj1
= 0 ;
25172 char *kwnames
[] = {
25173 (char *) "self",(char *) "pt", NULL
25176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogPointToPixels",kwnames
,&obj0
,&obj1
)) goto fail
;
25177 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25178 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25181 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25185 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
25187 wxPyEndAllowThreads(__tstate
);
25188 if (PyErr_Occurred()) SWIG_fail
;
25191 wxPoint
* resultptr
;
25192 resultptr
= new wxPoint((wxPoint
&) result
);
25193 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
25201 static PyObject
*_wrap_Window_ConvertDialogSizeToPixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25202 PyObject
*resultobj
;
25203 wxWindow
*arg1
= (wxWindow
*) 0 ;
25207 PyObject
* obj0
= 0 ;
25208 PyObject
* obj1
= 0 ;
25209 char *kwnames
[] = {
25210 (char *) "self",(char *) "sz", NULL
25213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogSizeToPixels",kwnames
,&obj0
,&obj1
)) goto fail
;
25214 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25215 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25218 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25222 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
25224 wxPyEndAllowThreads(__tstate
);
25225 if (PyErr_Occurred()) SWIG_fail
;
25228 wxSize
* resultptr
;
25229 resultptr
= new wxSize((wxSize
&) result
);
25230 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
25238 static PyObject
*_wrap_Window_DLG_PNT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25239 PyObject
*resultobj
;
25240 wxWindow
*arg1
= (wxWindow
*) 0 ;
25241 wxPoint
*arg2
= 0 ;
25244 PyObject
* obj0
= 0 ;
25245 PyObject
* obj1
= 0 ;
25246 char *kwnames
[] = {
25247 (char *) "self",(char *) "pt", NULL
25250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_PNT",kwnames
,&obj0
,&obj1
)) goto fail
;
25251 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25252 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25255 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25259 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
25261 wxPyEndAllowThreads(__tstate
);
25262 if (PyErr_Occurred()) SWIG_fail
;
25265 wxPoint
* resultptr
;
25266 resultptr
= new wxPoint((wxPoint
&) result
);
25267 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
25275 static PyObject
*_wrap_Window_DLG_SZE(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25276 PyObject
*resultobj
;
25277 wxWindow
*arg1
= (wxWindow
*) 0 ;
25281 PyObject
* obj0
= 0 ;
25282 PyObject
* obj1
= 0 ;
25283 char *kwnames
[] = {
25284 (char *) "self",(char *) "sz", NULL
25287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_SZE",kwnames
,&obj0
,&obj1
)) goto fail
;
25288 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25289 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25292 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25296 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
25298 wxPyEndAllowThreads(__tstate
);
25299 if (PyErr_Occurred()) SWIG_fail
;
25302 wxSize
* resultptr
;
25303 resultptr
= new wxSize((wxSize
&) result
);
25304 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
25312 static PyObject
*_wrap_Window_ConvertPixelPointToDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25313 PyObject
*resultobj
;
25314 wxWindow
*arg1
= (wxWindow
*) 0 ;
25315 wxPoint
*arg2
= 0 ;
25318 PyObject
* obj0
= 0 ;
25319 PyObject
* obj1
= 0 ;
25320 char *kwnames
[] = {
25321 (char *) "self",(char *) "pt", NULL
25324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelPointToDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
25325 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25326 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25329 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25333 result
= (arg1
)->ConvertPixelsToDialog((wxPoint
const &)*arg2
);
25335 wxPyEndAllowThreads(__tstate
);
25336 if (PyErr_Occurred()) SWIG_fail
;
25339 wxPoint
* resultptr
;
25340 resultptr
= new wxPoint((wxPoint
&) result
);
25341 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
25349 static PyObject
*_wrap_Window_ConvertPixelSizeToDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25350 PyObject
*resultobj
;
25351 wxWindow
*arg1
= (wxWindow
*) 0 ;
25355 PyObject
* obj0
= 0 ;
25356 PyObject
* obj1
= 0 ;
25357 char *kwnames
[] = {
25358 (char *) "self",(char *) "sz", NULL
25361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelSizeToDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
25362 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25363 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25366 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25370 result
= (arg1
)->ConvertPixelsToDialog((wxSize
const &)*arg2
);
25372 wxPyEndAllowThreads(__tstate
);
25373 if (PyErr_Occurred()) SWIG_fail
;
25376 wxSize
* resultptr
;
25377 resultptr
= new wxSize((wxSize
&) result
);
25378 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
25386 static PyObject
*_wrap_Window_WarpPointer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25387 PyObject
*resultobj
;
25388 wxWindow
*arg1
= (wxWindow
*) 0 ;
25391 PyObject
* obj0
= 0 ;
25392 PyObject
* obj1
= 0 ;
25393 PyObject
* obj2
= 0 ;
25394 char *kwnames
[] = {
25395 (char *) "self",(char *) "x",(char *) "y", NULL
25398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_WarpPointer",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25399 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25400 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25401 arg2
= (int) SWIG_AsInt(obj1
);
25402 if (PyErr_Occurred()) SWIG_fail
;
25403 arg3
= (int) SWIG_AsInt(obj2
);
25404 if (PyErr_Occurred()) SWIG_fail
;
25406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25407 (arg1
)->WarpPointer(arg2
,arg3
);
25409 wxPyEndAllowThreads(__tstate
);
25410 if (PyErr_Occurred()) SWIG_fail
;
25412 Py_INCREF(Py_None
); resultobj
= Py_None
;
25419 static PyObject
*_wrap_Window_CaptureMouse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25420 PyObject
*resultobj
;
25421 wxWindow
*arg1
= (wxWindow
*) 0 ;
25422 PyObject
* obj0
= 0 ;
25423 char *kwnames
[] = {
25424 (char *) "self", NULL
25427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_CaptureMouse",kwnames
,&obj0
)) goto fail
;
25428 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25429 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25432 (arg1
)->CaptureMouse();
25434 wxPyEndAllowThreads(__tstate
);
25435 if (PyErr_Occurred()) SWIG_fail
;
25437 Py_INCREF(Py_None
); resultobj
= Py_None
;
25444 static PyObject
*_wrap_Window_ReleaseMouse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25445 PyObject
*resultobj
;
25446 wxWindow
*arg1
= (wxWindow
*) 0 ;
25447 PyObject
* obj0
= 0 ;
25448 char *kwnames
[] = {
25449 (char *) "self", NULL
25452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ReleaseMouse",kwnames
,&obj0
)) goto fail
;
25453 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25454 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25457 (arg1
)->ReleaseMouse();
25459 wxPyEndAllowThreads(__tstate
);
25460 if (PyErr_Occurred()) SWIG_fail
;
25462 Py_INCREF(Py_None
); resultobj
= Py_None
;
25469 static PyObject
*_wrap_Window_GetCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25470 PyObject
*resultobj
;
25472 char *kwnames
[] = {
25476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_GetCapture",kwnames
)) goto fail
;
25478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25479 result
= (wxWindow
*)wxWindow::GetCapture();
25481 wxPyEndAllowThreads(__tstate
);
25482 if (PyErr_Occurred()) SWIG_fail
;
25485 resultobj
= wxPyMake_wxObject(result
);
25493 static PyObject
*_wrap_Window_HasCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25494 PyObject
*resultobj
;
25495 wxWindow
*arg1
= (wxWindow
*) 0 ;
25497 PyObject
* obj0
= 0 ;
25498 char *kwnames
[] = {
25499 (char *) "self", NULL
25502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_HasCapture",kwnames
,&obj0
)) goto fail
;
25503 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25504 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25507 result
= (bool)((wxWindow
const *)arg1
)->HasCapture();
25509 wxPyEndAllowThreads(__tstate
);
25510 if (PyErr_Occurred()) SWIG_fail
;
25513 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25521 static PyObject
*_wrap_Window_Refresh(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25522 PyObject
*resultobj
;
25523 wxWindow
*arg1
= (wxWindow
*) 0 ;
25524 bool arg2
= (bool) True
;
25525 wxRect
*arg3
= (wxRect
*) NULL
;
25526 PyObject
* obj0
= 0 ;
25527 PyObject
* obj1
= 0 ;
25528 PyObject
* obj2
= 0 ;
25529 char *kwnames
[] = {
25530 (char *) "self",(char *) "eraseBackground",(char *) "rect", NULL
25533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Window_Refresh",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25534 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25535 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25537 arg2
= (bool) SWIG_AsBool(obj1
);
25538 if (PyErr_Occurred()) SWIG_fail
;
25541 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxRect
,
25542 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25546 (arg1
)->Refresh(arg2
,(wxRect
const *)arg3
);
25548 wxPyEndAllowThreads(__tstate
);
25549 if (PyErr_Occurred()) SWIG_fail
;
25551 Py_INCREF(Py_None
); resultobj
= Py_None
;
25558 static PyObject
*_wrap_Window_RefreshRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25559 PyObject
*resultobj
;
25560 wxWindow
*arg1
= (wxWindow
*) 0 ;
25563 PyObject
* obj0
= 0 ;
25564 PyObject
* obj1
= 0 ;
25565 char *kwnames
[] = {
25566 (char *) "self",(char *) "rect", NULL
25569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RefreshRect",kwnames
,&obj0
,&obj1
)) goto fail
;
25570 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25571 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25574 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
25577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25578 (arg1
)->RefreshRect((wxRect
const &)*arg2
);
25580 wxPyEndAllowThreads(__tstate
);
25581 if (PyErr_Occurred()) SWIG_fail
;
25583 Py_INCREF(Py_None
); resultobj
= Py_None
;
25590 static PyObject
*_wrap_Window_Update(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25591 PyObject
*resultobj
;
25592 wxWindow
*arg1
= (wxWindow
*) 0 ;
25593 PyObject
* obj0
= 0 ;
25594 char *kwnames
[] = {
25595 (char *) "self", NULL
25598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Update",kwnames
,&obj0
)) goto fail
;
25599 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25600 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25605 wxPyEndAllowThreads(__tstate
);
25606 if (PyErr_Occurred()) SWIG_fail
;
25608 Py_INCREF(Py_None
); resultobj
= Py_None
;
25615 static PyObject
*_wrap_Window_ClearBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25616 PyObject
*resultobj
;
25617 wxWindow
*arg1
= (wxWindow
*) 0 ;
25618 PyObject
* obj0
= 0 ;
25619 char *kwnames
[] = {
25620 (char *) "self", NULL
25623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ClearBackground",kwnames
,&obj0
)) goto fail
;
25624 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25625 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25628 (arg1
)->ClearBackground();
25630 wxPyEndAllowThreads(__tstate
);
25631 if (PyErr_Occurred()) SWIG_fail
;
25633 Py_INCREF(Py_None
); resultobj
= Py_None
;
25640 static PyObject
*_wrap_Window_Freeze(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25641 PyObject
*resultobj
;
25642 wxWindow
*arg1
= (wxWindow
*) 0 ;
25643 PyObject
* obj0
= 0 ;
25644 char *kwnames
[] = {
25645 (char *) "self", NULL
25648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Freeze",kwnames
,&obj0
)) goto fail
;
25649 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25650 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25655 wxPyEndAllowThreads(__tstate
);
25656 if (PyErr_Occurred()) SWIG_fail
;
25658 Py_INCREF(Py_None
); resultobj
= Py_None
;
25665 static PyObject
*_wrap_Window_Thaw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25666 PyObject
*resultobj
;
25667 wxWindow
*arg1
= (wxWindow
*) 0 ;
25668 PyObject
* obj0
= 0 ;
25669 char *kwnames
[] = {
25670 (char *) "self", NULL
25673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Thaw",kwnames
,&obj0
)) goto fail
;
25674 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25675 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25680 wxPyEndAllowThreads(__tstate
);
25681 if (PyErr_Occurred()) SWIG_fail
;
25683 Py_INCREF(Py_None
); resultobj
= Py_None
;
25690 static PyObject
*_wrap_Window_PrepareDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25691 PyObject
*resultobj
;
25692 wxWindow
*arg1
= (wxWindow
*) 0 ;
25694 PyObject
* obj0
= 0 ;
25695 PyObject
* obj1
= 0 ;
25696 char *kwnames
[] = {
25697 (char *) "self",(char *) "dc", NULL
25700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PrepareDC",kwnames
,&obj0
,&obj1
)) goto fail
;
25701 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25702 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25703 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
25704 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25706 if (arg2
== NULL
) {
25707 PyErr_SetString(PyExc_TypeError
,"null reference");
25711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25712 (arg1
)->PrepareDC(*arg2
);
25714 wxPyEndAllowThreads(__tstate
);
25715 if (PyErr_Occurred()) SWIG_fail
;
25717 Py_INCREF(Py_None
); resultobj
= Py_None
;
25724 static PyObject
*_wrap_Window_GetUpdateRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25725 PyObject
*resultobj
;
25726 wxWindow
*arg1
= (wxWindow
*) 0 ;
25728 PyObject
* obj0
= 0 ;
25729 char *kwnames
[] = {
25730 (char *) "self", NULL
25733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetUpdateRegion",kwnames
,&obj0
)) goto fail
;
25734 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25735 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25739 wxRegion
&_result_ref
= (arg1
)->GetUpdateRegion();
25740 result
= (wxRegion
*) &_result_ref
;
25743 wxPyEndAllowThreads(__tstate
);
25744 if (PyErr_Occurred()) SWIG_fail
;
25746 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 0);
25753 static PyObject
*_wrap_Window_GetUpdateClientRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25754 PyObject
*resultobj
;
25755 wxWindow
*arg1
= (wxWindow
*) 0 ;
25757 PyObject
* obj0
= 0 ;
25758 char *kwnames
[] = {
25759 (char *) "self", NULL
25762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetUpdateClientRect",kwnames
,&obj0
)) goto fail
;
25763 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25767 result
= ((wxWindow
const *)arg1
)->GetUpdateClientRect();
25769 wxPyEndAllowThreads(__tstate
);
25770 if (PyErr_Occurred()) SWIG_fail
;
25773 wxRect
* resultptr
;
25774 resultptr
= new wxRect((wxRect
&) result
);
25775 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
25783 static PyObject
*_wrap_Window_IsExposed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25784 PyObject
*resultobj
;
25785 wxWindow
*arg1
= (wxWindow
*) 0 ;
25788 int arg4
= (int) 1 ;
25789 int arg5
= (int) 1 ;
25791 PyObject
* obj0
= 0 ;
25792 PyObject
* obj1
= 0 ;
25793 PyObject
* obj2
= 0 ;
25794 PyObject
* obj3
= 0 ;
25795 PyObject
* obj4
= 0 ;
25796 char *kwnames
[] = {
25797 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
25800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Window_IsExposed",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
25801 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25802 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25803 arg2
= (int) SWIG_AsInt(obj1
);
25804 if (PyErr_Occurred()) SWIG_fail
;
25805 arg3
= (int) SWIG_AsInt(obj2
);
25806 if (PyErr_Occurred()) SWIG_fail
;
25808 arg4
= (int) SWIG_AsInt(obj3
);
25809 if (PyErr_Occurred()) SWIG_fail
;
25812 arg5
= (int) SWIG_AsInt(obj4
);
25813 if (PyErr_Occurred()) SWIG_fail
;
25816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25817 result
= (bool)((wxWindow
const *)arg1
)->IsExposed(arg2
,arg3
,arg4
,arg5
);
25819 wxPyEndAllowThreads(__tstate
);
25820 if (PyErr_Occurred()) SWIG_fail
;
25823 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25831 static PyObject
*_wrap_Window_IsExposedPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25832 PyObject
*resultobj
;
25833 wxWindow
*arg1
= (wxWindow
*) 0 ;
25834 wxPoint
*arg2
= 0 ;
25837 PyObject
* obj0
= 0 ;
25838 PyObject
* obj1
= 0 ;
25839 char *kwnames
[] = {
25840 (char *) "self",(char *) "pt", NULL
25843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_IsExposedPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
25844 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25845 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25848 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25852 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxPoint
const &)*arg2
);
25854 wxPyEndAllowThreads(__tstate
);
25855 if (PyErr_Occurred()) SWIG_fail
;
25858 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25866 static PyObject
*_wrap_Window_IsExposedRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25867 PyObject
*resultobj
;
25868 wxWindow
*arg1
= (wxWindow
*) 0 ;
25872 PyObject
* obj0
= 0 ;
25873 PyObject
* obj1
= 0 ;
25874 char *kwnames
[] = {
25875 (char *) "self",(char *) "rect", NULL
25878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_IsExposedRect",kwnames
,&obj0
,&obj1
)) goto fail
;
25879 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25880 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25883 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
25886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25887 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxRect
const &)*arg2
);
25889 wxPyEndAllowThreads(__tstate
);
25890 if (PyErr_Occurred()) SWIG_fail
;
25893 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25901 static PyObject
*_wrap_Window_GetDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25902 PyObject
*resultobj
;
25903 wxWindow
*arg1
= (wxWindow
*) 0 ;
25904 wxVisualAttributes result
;
25905 PyObject
* obj0
= 0 ;
25906 char *kwnames
[] = {
25907 (char *) "self", NULL
25910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
25911 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25912 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25915 result
= ((wxWindow
const *)arg1
)->GetDefaultAttributes();
25917 wxPyEndAllowThreads(__tstate
);
25918 if (PyErr_Occurred()) SWIG_fail
;
25921 wxVisualAttributes
* resultptr
;
25922 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
25923 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
25931 static PyObject
*_wrap_Window_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25932 PyObject
*resultobj
;
25933 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
25934 wxVisualAttributes result
;
25935 PyObject
* obj0
= 0 ;
25936 char *kwnames
[] = {
25937 (char *) "variant", NULL
25940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Window_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
25942 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
25943 if (PyErr_Occurred()) SWIG_fail
;
25946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25947 result
= wxWindow::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
25949 wxPyEndAllowThreads(__tstate
);
25950 if (PyErr_Occurred()) SWIG_fail
;
25953 wxVisualAttributes
* resultptr
;
25954 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
25955 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
25963 static PyObject
*_wrap_Window_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25964 PyObject
*resultobj
;
25965 wxWindow
*arg1
= (wxWindow
*) 0 ;
25966 wxColour
*arg2
= 0 ;
25969 PyObject
* obj0
= 0 ;
25970 PyObject
* obj1
= 0 ;
25971 char *kwnames
[] = {
25972 (char *) "self",(char *) "colour", NULL
25975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
25976 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25977 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25980 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25984 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
25986 wxPyEndAllowThreads(__tstate
);
25987 if (PyErr_Occurred()) SWIG_fail
;
25990 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25998 static PyObject
*_wrap_Window_SetDefaultBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25999 PyObject
*resultobj
;
26000 wxWindow
*arg1
= (wxWindow
*) 0 ;
26001 wxColour
*arg2
= 0 ;
26003 PyObject
* obj0
= 0 ;
26004 PyObject
* obj1
= 0 ;
26005 char *kwnames
[] = {
26006 (char *) "self",(char *) "colour", NULL
26009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDefaultBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
26010 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26011 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26014 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26018 (arg1
)->SetDefaultBackgroundColour((wxColour
const &)*arg2
);
26020 wxPyEndAllowThreads(__tstate
);
26021 if (PyErr_Occurred()) SWIG_fail
;
26023 Py_INCREF(Py_None
); resultobj
= Py_None
;
26030 static PyObject
*_wrap_Window_SetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26031 PyObject
*resultobj
;
26032 wxWindow
*arg1
= (wxWindow
*) 0 ;
26033 wxColour
*arg2
= 0 ;
26036 PyObject
* obj0
= 0 ;
26037 PyObject
* obj1
= 0 ;
26038 char *kwnames
[] = {
26039 (char *) "self",(char *) "colour", NULL
26042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
26043 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26044 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26047 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26051 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
26053 wxPyEndAllowThreads(__tstate
);
26054 if (PyErr_Occurred()) SWIG_fail
;
26057 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26065 static PyObject
*_wrap_Window_SetDefaultForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26066 PyObject
*resultobj
;
26067 wxWindow
*arg1
= (wxWindow
*) 0 ;
26068 wxColour
*arg2
= 0 ;
26070 PyObject
* obj0
= 0 ;
26071 PyObject
* obj1
= 0 ;
26072 char *kwnames
[] = {
26073 (char *) "self",(char *) "colour", NULL
26076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDefaultForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
26077 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26078 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26081 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26085 (arg1
)->SetDefaultForegroundColour((wxColour
const &)*arg2
);
26087 wxPyEndAllowThreads(__tstate
);
26088 if (PyErr_Occurred()) SWIG_fail
;
26090 Py_INCREF(Py_None
); resultobj
= Py_None
;
26097 static PyObject
*_wrap_Window_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26098 PyObject
*resultobj
;
26099 wxWindow
*arg1
= (wxWindow
*) 0 ;
26101 PyObject
* obj0
= 0 ;
26102 char *kwnames
[] = {
26103 (char *) "self", NULL
26106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
26107 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26108 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26111 result
= ((wxWindow
const *)arg1
)->GetBackgroundColour();
26113 wxPyEndAllowThreads(__tstate
);
26114 if (PyErr_Occurred()) SWIG_fail
;
26117 wxColour
* resultptr
;
26118 resultptr
= new wxColour((wxColour
&) result
);
26119 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
26127 static PyObject
*_wrap_Window_GetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26128 PyObject
*resultobj
;
26129 wxWindow
*arg1
= (wxWindow
*) 0 ;
26131 PyObject
* obj0
= 0 ;
26132 char *kwnames
[] = {
26133 (char *) "self", NULL
26136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetForegroundColour",kwnames
,&obj0
)) goto fail
;
26137 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26138 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26141 result
= ((wxWindow
const *)arg1
)->GetForegroundColour();
26143 wxPyEndAllowThreads(__tstate
);
26144 if (PyErr_Occurred()) SWIG_fail
;
26147 wxColour
* resultptr
;
26148 resultptr
= new wxColour((wxColour
&) result
);
26149 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
26157 static PyObject
*_wrap_Window_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26158 PyObject
*resultobj
;
26159 wxWindow
*arg1
= (wxWindow
*) 0 ;
26160 wxCursor
*arg2
= 0 ;
26162 PyObject
* obj0
= 0 ;
26163 PyObject
* obj1
= 0 ;
26164 char *kwnames
[] = {
26165 (char *) "self",(char *) "cursor", NULL
26168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
26169 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26170 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26171 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
26172 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26174 if (arg2
== NULL
) {
26175 PyErr_SetString(PyExc_TypeError
,"null reference");
26179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26180 result
= (bool)(arg1
)->SetCursor((wxCursor
const &)*arg2
);
26182 wxPyEndAllowThreads(__tstate
);
26183 if (PyErr_Occurred()) SWIG_fail
;
26186 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26194 static PyObject
*_wrap_Window_GetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26195 PyObject
*resultobj
;
26196 wxWindow
*arg1
= (wxWindow
*) 0 ;
26198 PyObject
* obj0
= 0 ;
26199 char *kwnames
[] = {
26200 (char *) "self", NULL
26203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCursor",kwnames
,&obj0
)) goto fail
;
26204 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26205 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26209 wxCursor
&_result_ref
= (arg1
)->GetCursor();
26210 result
= (wxCursor
*) &_result_ref
;
26213 wxPyEndAllowThreads(__tstate
);
26214 if (PyErr_Occurred()) SWIG_fail
;
26217 wxCursor
* resultptr
= new wxCursor(*result
);
26218 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxCursor
, 1);
26226 static PyObject
*_wrap_Window_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26227 PyObject
*resultobj
;
26228 wxWindow
*arg1
= (wxWindow
*) 0 ;
26231 PyObject
* obj0
= 0 ;
26232 PyObject
* obj1
= 0 ;
26233 char *kwnames
[] = {
26234 (char *) "self",(char *) "font", NULL
26237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
26238 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26239 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26240 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
26241 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26243 if (arg2
== NULL
) {
26244 PyErr_SetString(PyExc_TypeError
,"null reference");
26248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26249 result
= (bool)(arg1
)->SetFont((wxFont
const &)*arg2
);
26251 wxPyEndAllowThreads(__tstate
);
26252 if (PyErr_Occurred()) SWIG_fail
;
26255 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26263 static PyObject
*_wrap_Window_SetDefaultFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26264 PyObject
*resultobj
;
26265 wxWindow
*arg1
= (wxWindow
*) 0 ;
26267 PyObject
* obj0
= 0 ;
26268 PyObject
* obj1
= 0 ;
26269 char *kwnames
[] = {
26270 (char *) "self",(char *) "font", NULL
26273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDefaultFont",kwnames
,&obj0
,&obj1
)) goto fail
;
26274 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26275 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26276 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
26277 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26279 if (arg2
== NULL
) {
26280 PyErr_SetString(PyExc_TypeError
,"null reference");
26284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26285 (arg1
)->SetDefaultFont((wxFont
const &)*arg2
);
26287 wxPyEndAllowThreads(__tstate
);
26288 if (PyErr_Occurred()) SWIG_fail
;
26290 Py_INCREF(Py_None
); resultobj
= Py_None
;
26297 static PyObject
*_wrap_Window_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26298 PyObject
*resultobj
;
26299 wxWindow
*arg1
= (wxWindow
*) 0 ;
26301 PyObject
* obj0
= 0 ;
26302 char *kwnames
[] = {
26303 (char *) "self", NULL
26306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetFont",kwnames
,&obj0
)) goto fail
;
26307 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26308 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26312 wxFont
&_result_ref
= (arg1
)->GetFont();
26313 result
= (wxFont
*) &_result_ref
;
26316 wxPyEndAllowThreads(__tstate
);
26317 if (PyErr_Occurred()) SWIG_fail
;
26320 wxFont
* resultptr
= new wxFont(*result
);
26321 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
26329 static PyObject
*_wrap_Window_SetCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26330 PyObject
*resultobj
;
26331 wxWindow
*arg1
= (wxWindow
*) 0 ;
26332 wxCaret
*arg2
= (wxCaret
*) 0 ;
26333 PyObject
* obj0
= 0 ;
26334 PyObject
* obj1
= 0 ;
26335 char *kwnames
[] = {
26336 (char *) "self",(char *) "caret", NULL
26339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCaret",kwnames
,&obj0
,&obj1
)) goto fail
;
26340 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26342 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCaret
,
26343 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26346 (arg1
)->SetCaret(arg2
);
26348 wxPyEndAllowThreads(__tstate
);
26349 if (PyErr_Occurred()) SWIG_fail
;
26351 Py_INCREF(Py_None
); resultobj
= Py_None
;
26358 static PyObject
*_wrap_Window_GetCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26359 PyObject
*resultobj
;
26360 wxWindow
*arg1
= (wxWindow
*) 0 ;
26362 PyObject
* obj0
= 0 ;
26363 char *kwnames
[] = {
26364 (char *) "self", NULL
26367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCaret",kwnames
,&obj0
)) goto fail
;
26368 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26369 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26372 result
= (wxCaret
*)((wxWindow
const *)arg1
)->GetCaret();
26374 wxPyEndAllowThreads(__tstate
);
26375 if (PyErr_Occurred()) SWIG_fail
;
26377 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCaret
, 0);
26384 static PyObject
*_wrap_Window_GetCharHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26385 PyObject
*resultobj
;
26386 wxWindow
*arg1
= (wxWindow
*) 0 ;
26388 PyObject
* obj0
= 0 ;
26389 char *kwnames
[] = {
26390 (char *) "self", NULL
26393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCharHeight",kwnames
,&obj0
)) goto fail
;
26394 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26395 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26398 result
= (int)((wxWindow
const *)arg1
)->GetCharHeight();
26400 wxPyEndAllowThreads(__tstate
);
26401 if (PyErr_Occurred()) SWIG_fail
;
26403 resultobj
= SWIG_FromInt((int)result
);
26410 static PyObject
*_wrap_Window_GetCharWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26411 PyObject
*resultobj
;
26412 wxWindow
*arg1
= (wxWindow
*) 0 ;
26414 PyObject
* obj0
= 0 ;
26415 char *kwnames
[] = {
26416 (char *) "self", NULL
26419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCharWidth",kwnames
,&obj0
)) goto fail
;
26420 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26421 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26424 result
= (int)((wxWindow
const *)arg1
)->GetCharWidth();
26426 wxPyEndAllowThreads(__tstate
);
26427 if (PyErr_Occurred()) SWIG_fail
;
26429 resultobj
= SWIG_FromInt((int)result
);
26436 static PyObject
*_wrap_Window_GetTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26437 PyObject
*resultobj
;
26438 wxWindow
*arg1
= (wxWindow
*) 0 ;
26439 wxString
*arg2
= 0 ;
26440 int *arg3
= (int *) 0 ;
26441 int *arg4
= (int *) 0 ;
26442 bool temp2
= False
;
26445 PyObject
* obj0
= 0 ;
26446 PyObject
* obj1
= 0 ;
26447 char *kwnames
[] = {
26448 (char *) "self",(char *) "string", NULL
26453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetTextExtent",kwnames
,&obj0
,&obj1
)) goto fail
;
26454 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26455 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26457 arg2
= wxString_in_helper(obj1
);
26458 if (arg2
== NULL
) SWIG_fail
;
26462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26463 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
26465 wxPyEndAllowThreads(__tstate
);
26466 if (PyErr_Occurred()) SWIG_fail
;
26468 Py_INCREF(Py_None
); resultobj
= Py_None
;
26470 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
26471 resultobj
= t_output_helper(resultobj
,o
);
26474 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
26475 resultobj
= t_output_helper(resultobj
,o
);
26491 static PyObject
*_wrap_Window_GetFullTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26492 PyObject
*resultobj
;
26493 wxWindow
*arg1
= (wxWindow
*) 0 ;
26494 wxString
*arg2
= 0 ;
26495 int *arg3
= (int *) 0 ;
26496 int *arg4
= (int *) 0 ;
26497 int *arg5
= (int *) 0 ;
26498 int *arg6
= (int *) 0 ;
26499 wxFont
*arg7
= (wxFont
*) NULL
;
26500 bool temp2
= False
;
26505 PyObject
* obj0
= 0 ;
26506 PyObject
* obj1
= 0 ;
26507 PyObject
* obj2
= 0 ;
26508 char *kwnames
[] = {
26509 (char *) "self",(char *) "string",(char *) "font", NULL
26516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26517 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26518 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26520 arg2
= wxString_in_helper(obj1
);
26521 if (arg2
== NULL
) SWIG_fail
;
26525 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg7
),SWIGTYPE_p_wxFont
,
26526 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26530 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,(wxFont
const *)arg7
);
26532 wxPyEndAllowThreads(__tstate
);
26533 if (PyErr_Occurred()) SWIG_fail
;
26535 Py_INCREF(Py_None
); resultobj
= Py_None
;
26537 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
26538 resultobj
= t_output_helper(resultobj
,o
);
26541 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
26542 resultobj
= t_output_helper(resultobj
,o
);
26545 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
26546 resultobj
= t_output_helper(resultobj
,o
);
26549 PyObject
*o
= PyInt_FromLong((long) (*arg6
));
26550 resultobj
= t_output_helper(resultobj
,o
);
26566 static PyObject
*_wrap_Window_ClientToScreenXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26567 PyObject
*resultobj
;
26568 wxWindow
*arg1
= (wxWindow
*) 0 ;
26569 int *arg2
= (int *) 0 ;
26570 int *arg3
= (int *) 0 ;
26573 PyObject
* obj0
= 0 ;
26574 PyObject
* obj1
= 0 ;
26575 PyObject
* obj2
= 0 ;
26576 char *kwnames
[] = {
26577 (char *) "self",(char *) "x",(char *) "y", NULL
26580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ClientToScreenXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26581 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26582 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26584 temp2
= PyInt_AsLong(obj1
);
26585 if (PyErr_Occurred()) SWIG_fail
;
26589 temp3
= PyInt_AsLong(obj2
);
26590 if (PyErr_Occurred()) SWIG_fail
;
26594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26595 ((wxWindow
const *)arg1
)->ClientToScreen(arg2
,arg3
);
26597 wxPyEndAllowThreads(__tstate
);
26598 if (PyErr_Occurred()) SWIG_fail
;
26600 Py_INCREF(Py_None
); resultobj
= Py_None
;
26602 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
26603 resultobj
= t_output_helper(resultobj
,o
);
26606 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
26607 resultobj
= t_output_helper(resultobj
,o
);
26615 static PyObject
*_wrap_Window_ScreenToClientXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26616 PyObject
*resultobj
;
26617 wxWindow
*arg1
= (wxWindow
*) 0 ;
26618 int *arg2
= (int *) 0 ;
26619 int *arg3
= (int *) 0 ;
26622 PyObject
* obj0
= 0 ;
26623 PyObject
* obj1
= 0 ;
26624 PyObject
* obj2
= 0 ;
26625 char *kwnames
[] = {
26626 (char *) "self",(char *) "x",(char *) "y", NULL
26629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ScreenToClientXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26630 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26631 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26633 temp2
= PyInt_AsLong(obj1
);
26634 if (PyErr_Occurred()) SWIG_fail
;
26638 temp3
= PyInt_AsLong(obj2
);
26639 if (PyErr_Occurred()) SWIG_fail
;
26643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26644 ((wxWindow
const *)arg1
)->ScreenToClient(arg2
,arg3
);
26646 wxPyEndAllowThreads(__tstate
);
26647 if (PyErr_Occurred()) SWIG_fail
;
26649 Py_INCREF(Py_None
); resultobj
= Py_None
;
26651 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
26652 resultobj
= t_output_helper(resultobj
,o
);
26655 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
26656 resultobj
= t_output_helper(resultobj
,o
);
26664 static PyObject
*_wrap_Window_ClientToScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26665 PyObject
*resultobj
;
26666 wxWindow
*arg1
= (wxWindow
*) 0 ;
26667 wxPoint
*arg2
= 0 ;
26670 PyObject
* obj0
= 0 ;
26671 PyObject
* obj1
= 0 ;
26672 char *kwnames
[] = {
26673 (char *) "self",(char *) "pt", NULL
26676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ClientToScreen",kwnames
,&obj0
,&obj1
)) goto fail
;
26677 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26678 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26681 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26685 result
= ((wxWindow
const *)arg1
)->ClientToScreen((wxPoint
const &)*arg2
);
26687 wxPyEndAllowThreads(__tstate
);
26688 if (PyErr_Occurred()) SWIG_fail
;
26691 wxPoint
* resultptr
;
26692 resultptr
= new wxPoint((wxPoint
&) result
);
26693 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
26701 static PyObject
*_wrap_Window_ScreenToClient(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26702 PyObject
*resultobj
;
26703 wxWindow
*arg1
= (wxWindow
*) 0 ;
26704 wxPoint
*arg2
= 0 ;
26707 PyObject
* obj0
= 0 ;
26708 PyObject
* obj1
= 0 ;
26709 char *kwnames
[] = {
26710 (char *) "self",(char *) "pt", NULL
26713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScreenToClient",kwnames
,&obj0
,&obj1
)) goto fail
;
26714 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26715 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26718 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26722 result
= ((wxWindow
const *)arg1
)->ScreenToClient((wxPoint
const &)*arg2
);
26724 wxPyEndAllowThreads(__tstate
);
26725 if (PyErr_Occurred()) SWIG_fail
;
26728 wxPoint
* resultptr
;
26729 resultptr
= new wxPoint((wxPoint
&) result
);
26730 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
26738 static PyObject
*_wrap_Window_HitTestXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26739 PyObject
*resultobj
;
26740 wxWindow
*arg1
= (wxWindow
*) 0 ;
26744 PyObject
* obj0
= 0 ;
26745 PyObject
* obj1
= 0 ;
26746 PyObject
* obj2
= 0 ;
26747 char *kwnames
[] = {
26748 (char *) "self",(char *) "x",(char *) "y", NULL
26751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26752 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26753 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26754 arg2
= (int) SWIG_AsInt(obj1
);
26755 if (PyErr_Occurred()) SWIG_fail
;
26756 arg3
= (int) SWIG_AsInt(obj2
);
26757 if (PyErr_Occurred()) SWIG_fail
;
26759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26760 result
= (int)((wxWindow
const *)arg1
)->HitTest(arg2
,arg3
);
26762 wxPyEndAllowThreads(__tstate
);
26763 if (PyErr_Occurred()) SWIG_fail
;
26765 resultobj
= SWIG_FromInt((int)result
);
26772 static PyObject
*_wrap_Window_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26773 PyObject
*resultobj
;
26774 wxWindow
*arg1
= (wxWindow
*) 0 ;
26775 wxPoint
*arg2
= 0 ;
26778 PyObject
* obj0
= 0 ;
26779 PyObject
* obj1
= 0 ;
26780 char *kwnames
[] = {
26781 (char *) "self",(char *) "pt", NULL
26784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
26785 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26786 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26789 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26793 result
= (int)((wxWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
26795 wxPyEndAllowThreads(__tstate
);
26796 if (PyErr_Occurred()) SWIG_fail
;
26798 resultobj
= SWIG_FromInt((int)result
);
26805 static PyObject
*_wrap_Window_GetBorder__SWIG_0(PyObject
*self
, PyObject
*args
) {
26806 PyObject
*resultobj
;
26807 wxWindow
*arg1
= (wxWindow
*) 0 ;
26810 PyObject
* obj0
= 0 ;
26811 PyObject
* obj1
= 0 ;
26813 if(!PyArg_ParseTuple(args
,(char *)"OO:Window_GetBorder",&obj0
,&obj1
)) goto fail
;
26814 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26816 arg2
= (long) SWIG_AsLong(obj1
);
26817 if (PyErr_Occurred()) SWIG_fail
;
26819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26820 result
= (int)((wxWindow
const *)arg1
)->GetBorder(arg2
);
26822 wxPyEndAllowThreads(__tstate
);
26823 if (PyErr_Occurred()) SWIG_fail
;
26825 resultobj
= SWIG_FromInt((int)result
);
26832 static PyObject
*_wrap_Window_GetBorder__SWIG_1(PyObject
*self
, PyObject
*args
) {
26833 PyObject
*resultobj
;
26834 wxWindow
*arg1
= (wxWindow
*) 0 ;
26836 PyObject
* obj0
= 0 ;
26838 if(!PyArg_ParseTuple(args
,(char *)"O:Window_GetBorder",&obj0
)) goto fail
;
26839 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26840 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26843 result
= (int)((wxWindow
const *)arg1
)->GetBorder();
26845 wxPyEndAllowThreads(__tstate
);
26846 if (PyErr_Occurred()) SWIG_fail
;
26848 resultobj
= SWIG_FromInt((int)result
);
26855 static PyObject
*_wrap_Window_GetBorder(PyObject
*self
, PyObject
*args
) {
26860 argc
= PyObject_Length(args
);
26861 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
26862 argv
[ii
] = PyTuple_GetItem(args
,ii
);
26868 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
26876 return _wrap_Window_GetBorder__SWIG_1(self
,args
);
26883 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
26891 _v
= SWIG_CheckLong(argv
[1]);
26893 return _wrap_Window_GetBorder__SWIG_0(self
,args
);
26898 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'Window_GetBorder'");
26903 static PyObject
*_wrap_Window_UpdateWindowUI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26904 PyObject
*resultobj
;
26905 wxWindow
*arg1
= (wxWindow
*) 0 ;
26906 long arg2
= (long) wxUPDATE_UI_NONE
;
26907 PyObject
* obj0
= 0 ;
26908 PyObject
* obj1
= 0 ;
26909 char *kwnames
[] = {
26910 (char *) "self",(char *) "flags", NULL
26913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_UpdateWindowUI",kwnames
,&obj0
,&obj1
)) goto fail
;
26914 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26915 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26917 arg2
= (long) SWIG_AsLong(obj1
);
26918 if (PyErr_Occurred()) SWIG_fail
;
26921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26922 (arg1
)->UpdateWindowUI(arg2
);
26924 wxPyEndAllowThreads(__tstate
);
26925 if (PyErr_Occurred()) SWIG_fail
;
26927 Py_INCREF(Py_None
); resultobj
= Py_None
;
26934 static PyObject
*_wrap_Window_PopupMenuXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26935 PyObject
*resultobj
;
26936 wxWindow
*arg1
= (wxWindow
*) 0 ;
26937 wxMenu
*arg2
= (wxMenu
*) 0 ;
26941 PyObject
* obj0
= 0 ;
26942 PyObject
* obj1
= 0 ;
26943 PyObject
* obj2
= 0 ;
26944 PyObject
* obj3
= 0 ;
26945 char *kwnames
[] = {
26946 (char *) "self",(char *) "menu",(char *) "x",(char *) "y", NULL
26949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Window_PopupMenuXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26950 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26951 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26952 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
26953 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26954 arg3
= (int) SWIG_AsInt(obj2
);
26955 if (PyErr_Occurred()) SWIG_fail
;
26956 arg4
= (int) SWIG_AsInt(obj3
);
26957 if (PyErr_Occurred()) SWIG_fail
;
26959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26960 result
= (bool)(arg1
)->PopupMenu(arg2
,arg3
,arg4
);
26962 wxPyEndAllowThreads(__tstate
);
26963 if (PyErr_Occurred()) SWIG_fail
;
26966 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26974 static PyObject
*_wrap_Window_PopupMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26975 PyObject
*resultobj
;
26976 wxWindow
*arg1
= (wxWindow
*) 0 ;
26977 wxMenu
*arg2
= (wxMenu
*) 0 ;
26978 wxPoint
*arg3
= 0 ;
26981 PyObject
* obj0
= 0 ;
26982 PyObject
* obj1
= 0 ;
26983 PyObject
* obj2
= 0 ;
26984 char *kwnames
[] = {
26985 (char *) "self",(char *) "menu",(char *) "pos", NULL
26988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_PopupMenu",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26989 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26990 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26991 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
26992 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26995 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
26998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26999 result
= (bool)(arg1
)->PopupMenu(arg2
,(wxPoint
const &)*arg3
);
27001 wxPyEndAllowThreads(__tstate
);
27002 if (PyErr_Occurred()) SWIG_fail
;
27005 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27013 static PyObject
*_wrap_Window_GetHandle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27014 PyObject
*resultobj
;
27015 wxWindow
*arg1
= (wxWindow
*) 0 ;
27017 PyObject
* obj0
= 0 ;
27018 char *kwnames
[] = {
27019 (char *) "self", NULL
27022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetHandle",kwnames
,&obj0
)) goto fail
;
27023 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27024 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27027 result
= (long)wxWindow_GetHandle(arg1
);
27029 wxPyEndAllowThreads(__tstate
);
27030 if (PyErr_Occurred()) SWIG_fail
;
27032 resultobj
= SWIG_FromLong((long)result
);
27039 static PyObject
*_wrap_Window_HasScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27040 PyObject
*resultobj
;
27041 wxWindow
*arg1
= (wxWindow
*) 0 ;
27044 PyObject
* obj0
= 0 ;
27045 PyObject
* obj1
= 0 ;
27046 char *kwnames
[] = {
27047 (char *) "self",(char *) "orient", NULL
27050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HasScrollbar",kwnames
,&obj0
,&obj1
)) goto fail
;
27051 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27052 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27053 arg2
= (int) SWIG_AsInt(obj1
);
27054 if (PyErr_Occurred()) SWIG_fail
;
27056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27057 result
= (bool)((wxWindow
const *)arg1
)->HasScrollbar(arg2
);
27059 wxPyEndAllowThreads(__tstate
);
27060 if (PyErr_Occurred()) SWIG_fail
;
27063 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27071 static PyObject
*_wrap_Window_SetScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27072 PyObject
*resultobj
;
27073 wxWindow
*arg1
= (wxWindow
*) 0 ;
27078 bool arg6
= (bool) True
;
27079 PyObject
* obj0
= 0 ;
27080 PyObject
* obj1
= 0 ;
27081 PyObject
* obj2
= 0 ;
27082 PyObject
* obj3
= 0 ;
27083 PyObject
* obj4
= 0 ;
27084 PyObject
* obj5
= 0 ;
27085 char *kwnames
[] = {
27086 (char *) "self",(char *) "orientation",(char *) "pos",(char *) "thumbvisible",(char *) "range",(char *) "refresh", NULL
27089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Window_SetScrollbar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
27090 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27091 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27092 arg2
= (int) SWIG_AsInt(obj1
);
27093 if (PyErr_Occurred()) SWIG_fail
;
27094 arg3
= (int) SWIG_AsInt(obj2
);
27095 if (PyErr_Occurred()) SWIG_fail
;
27096 arg4
= (int) SWIG_AsInt(obj3
);
27097 if (PyErr_Occurred()) SWIG_fail
;
27098 arg5
= (int) SWIG_AsInt(obj4
);
27099 if (PyErr_Occurred()) SWIG_fail
;
27101 arg6
= (bool) SWIG_AsBool(obj5
);
27102 if (PyErr_Occurred()) SWIG_fail
;
27105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27106 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
27108 wxPyEndAllowThreads(__tstate
);
27109 if (PyErr_Occurred()) SWIG_fail
;
27111 Py_INCREF(Py_None
); resultobj
= Py_None
;
27118 static PyObject
*_wrap_Window_SetScrollPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27119 PyObject
*resultobj
;
27120 wxWindow
*arg1
= (wxWindow
*) 0 ;
27123 bool arg4
= (bool) True
;
27124 PyObject
* obj0
= 0 ;
27125 PyObject
* obj1
= 0 ;
27126 PyObject
* obj2
= 0 ;
27127 PyObject
* obj3
= 0 ;
27128 char *kwnames
[] = {
27129 (char *) "self",(char *) "orientation",(char *) "pos",(char *) "refresh", NULL
27132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_SetScrollPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27133 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27134 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27135 arg2
= (int) SWIG_AsInt(obj1
);
27136 if (PyErr_Occurred()) SWIG_fail
;
27137 arg3
= (int) SWIG_AsInt(obj2
);
27138 if (PyErr_Occurred()) SWIG_fail
;
27140 arg4
= (bool) SWIG_AsBool(obj3
);
27141 if (PyErr_Occurred()) SWIG_fail
;
27144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27145 (arg1
)->SetScrollPos(arg2
,arg3
,arg4
);
27147 wxPyEndAllowThreads(__tstate
);
27148 if (PyErr_Occurred()) SWIG_fail
;
27150 Py_INCREF(Py_None
); resultobj
= Py_None
;
27157 static PyObject
*_wrap_Window_GetScrollPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27158 PyObject
*resultobj
;
27159 wxWindow
*arg1
= (wxWindow
*) 0 ;
27162 PyObject
* obj0
= 0 ;
27163 PyObject
* obj1
= 0 ;
27164 char *kwnames
[] = {
27165 (char *) "self",(char *) "orientation", NULL
27168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollPos",kwnames
,&obj0
,&obj1
)) goto fail
;
27169 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27170 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27171 arg2
= (int) SWIG_AsInt(obj1
);
27172 if (PyErr_Occurred()) SWIG_fail
;
27174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27175 result
= (int)((wxWindow
const *)arg1
)->GetScrollPos(arg2
);
27177 wxPyEndAllowThreads(__tstate
);
27178 if (PyErr_Occurred()) SWIG_fail
;
27180 resultobj
= SWIG_FromInt((int)result
);
27187 static PyObject
*_wrap_Window_GetScrollThumb(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27188 PyObject
*resultobj
;
27189 wxWindow
*arg1
= (wxWindow
*) 0 ;
27192 PyObject
* obj0
= 0 ;
27193 PyObject
* obj1
= 0 ;
27194 char *kwnames
[] = {
27195 (char *) "self",(char *) "orientation", NULL
27198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollThumb",kwnames
,&obj0
,&obj1
)) goto fail
;
27199 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27200 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27201 arg2
= (int) SWIG_AsInt(obj1
);
27202 if (PyErr_Occurred()) SWIG_fail
;
27204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27205 result
= (int)((wxWindow
const *)arg1
)->GetScrollThumb(arg2
);
27207 wxPyEndAllowThreads(__tstate
);
27208 if (PyErr_Occurred()) SWIG_fail
;
27210 resultobj
= SWIG_FromInt((int)result
);
27217 static PyObject
*_wrap_Window_GetScrollRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27218 PyObject
*resultobj
;
27219 wxWindow
*arg1
= (wxWindow
*) 0 ;
27222 PyObject
* obj0
= 0 ;
27223 PyObject
* obj1
= 0 ;
27224 char *kwnames
[] = {
27225 (char *) "self",(char *) "orientation", NULL
27228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollRange",kwnames
,&obj0
,&obj1
)) goto fail
;
27229 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27230 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27231 arg2
= (int) SWIG_AsInt(obj1
);
27232 if (PyErr_Occurred()) SWIG_fail
;
27234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27235 result
= (int)((wxWindow
const *)arg1
)->GetScrollRange(arg2
);
27237 wxPyEndAllowThreads(__tstate
);
27238 if (PyErr_Occurred()) SWIG_fail
;
27240 resultobj
= SWIG_FromInt((int)result
);
27247 static PyObject
*_wrap_Window_ScrollWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27248 PyObject
*resultobj
;
27249 wxWindow
*arg1
= (wxWindow
*) 0 ;
27252 wxRect
*arg4
= (wxRect
*) NULL
;
27253 PyObject
* obj0
= 0 ;
27254 PyObject
* obj1
= 0 ;
27255 PyObject
* obj2
= 0 ;
27256 PyObject
* obj3
= 0 ;
27257 char *kwnames
[] = {
27258 (char *) "self",(char *) "dx",(char *) "dy",(char *) "rect", NULL
27261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_ScrollWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27262 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27263 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27264 arg2
= (int) SWIG_AsInt(obj1
);
27265 if (PyErr_Occurred()) SWIG_fail
;
27266 arg3
= (int) SWIG_AsInt(obj2
);
27267 if (PyErr_Occurred()) SWIG_fail
;
27269 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxRect
,
27270 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27274 (arg1
)->ScrollWindow(arg2
,arg3
,(wxRect
const *)arg4
);
27276 wxPyEndAllowThreads(__tstate
);
27277 if (PyErr_Occurred()) SWIG_fail
;
27279 Py_INCREF(Py_None
); resultobj
= Py_None
;
27286 static PyObject
*_wrap_Window_ScrollLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27287 PyObject
*resultobj
;
27288 wxWindow
*arg1
= (wxWindow
*) 0 ;
27291 PyObject
* obj0
= 0 ;
27292 PyObject
* obj1
= 0 ;
27293 char *kwnames
[] = {
27294 (char *) "self",(char *) "lines", NULL
27297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScrollLines",kwnames
,&obj0
,&obj1
)) goto fail
;
27298 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27299 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27300 arg2
= (int) SWIG_AsInt(obj1
);
27301 if (PyErr_Occurred()) SWIG_fail
;
27303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27304 result
= (bool)(arg1
)->ScrollLines(arg2
);
27306 wxPyEndAllowThreads(__tstate
);
27307 if (PyErr_Occurred()) SWIG_fail
;
27310 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27318 static PyObject
*_wrap_Window_ScrollPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27319 PyObject
*resultobj
;
27320 wxWindow
*arg1
= (wxWindow
*) 0 ;
27323 PyObject
* obj0
= 0 ;
27324 PyObject
* obj1
= 0 ;
27325 char *kwnames
[] = {
27326 (char *) "self",(char *) "pages", NULL
27329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScrollPages",kwnames
,&obj0
,&obj1
)) goto fail
;
27330 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27331 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27332 arg2
= (int) SWIG_AsInt(obj1
);
27333 if (PyErr_Occurred()) SWIG_fail
;
27335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27336 result
= (bool)(arg1
)->ScrollPages(arg2
);
27338 wxPyEndAllowThreads(__tstate
);
27339 if (PyErr_Occurred()) SWIG_fail
;
27342 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27350 static PyObject
*_wrap_Window_LineUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27351 PyObject
*resultobj
;
27352 wxWindow
*arg1
= (wxWindow
*) 0 ;
27354 PyObject
* obj0
= 0 ;
27355 char *kwnames
[] = {
27356 (char *) "self", NULL
27359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_LineUp",kwnames
,&obj0
)) goto fail
;
27360 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27361 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27364 result
= (bool)(arg1
)->LineUp();
27366 wxPyEndAllowThreads(__tstate
);
27367 if (PyErr_Occurred()) SWIG_fail
;
27370 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27378 static PyObject
*_wrap_Window_LineDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27379 PyObject
*resultobj
;
27380 wxWindow
*arg1
= (wxWindow
*) 0 ;
27382 PyObject
* obj0
= 0 ;
27383 char *kwnames
[] = {
27384 (char *) "self", NULL
27387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_LineDown",kwnames
,&obj0
)) goto fail
;
27388 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27389 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27392 result
= (bool)(arg1
)->LineDown();
27394 wxPyEndAllowThreads(__tstate
);
27395 if (PyErr_Occurred()) SWIG_fail
;
27398 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27406 static PyObject
*_wrap_Window_PageUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27407 PyObject
*resultobj
;
27408 wxWindow
*arg1
= (wxWindow
*) 0 ;
27410 PyObject
* obj0
= 0 ;
27411 char *kwnames
[] = {
27412 (char *) "self", NULL
27415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PageUp",kwnames
,&obj0
)) goto fail
;
27416 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27417 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27420 result
= (bool)(arg1
)->PageUp();
27422 wxPyEndAllowThreads(__tstate
);
27423 if (PyErr_Occurred()) SWIG_fail
;
27426 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27434 static PyObject
*_wrap_Window_PageDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27435 PyObject
*resultobj
;
27436 wxWindow
*arg1
= (wxWindow
*) 0 ;
27438 PyObject
* obj0
= 0 ;
27439 char *kwnames
[] = {
27440 (char *) "self", NULL
27443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PageDown",kwnames
,&obj0
)) goto fail
;
27444 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27445 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27448 result
= (bool)(arg1
)->PageDown();
27450 wxPyEndAllowThreads(__tstate
);
27451 if (PyErr_Occurred()) SWIG_fail
;
27454 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27462 static PyObject
*_wrap_Window_SetHelpText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27463 PyObject
*resultobj
;
27464 wxWindow
*arg1
= (wxWindow
*) 0 ;
27465 wxString
*arg2
= 0 ;
27466 bool temp2
= False
;
27467 PyObject
* obj0
= 0 ;
27468 PyObject
* obj1
= 0 ;
27469 char *kwnames
[] = {
27470 (char *) "self",(char *) "text", NULL
27473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpText",kwnames
,&obj0
,&obj1
)) goto fail
;
27474 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27475 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27477 arg2
= wxString_in_helper(obj1
);
27478 if (arg2
== NULL
) SWIG_fail
;
27482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27483 (arg1
)->SetHelpText((wxString
const &)*arg2
);
27485 wxPyEndAllowThreads(__tstate
);
27486 if (PyErr_Occurred()) SWIG_fail
;
27488 Py_INCREF(Py_None
); resultobj
= Py_None
;
27503 static PyObject
*_wrap_Window_SetHelpTextForId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27504 PyObject
*resultobj
;
27505 wxWindow
*arg1
= (wxWindow
*) 0 ;
27506 wxString
*arg2
= 0 ;
27507 bool temp2
= False
;
27508 PyObject
* obj0
= 0 ;
27509 PyObject
* obj1
= 0 ;
27510 char *kwnames
[] = {
27511 (char *) "self",(char *) "text", NULL
27514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpTextForId",kwnames
,&obj0
,&obj1
)) goto fail
;
27515 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27516 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27518 arg2
= wxString_in_helper(obj1
);
27519 if (arg2
== NULL
) SWIG_fail
;
27523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27524 (arg1
)->SetHelpTextForId((wxString
const &)*arg2
);
27526 wxPyEndAllowThreads(__tstate
);
27527 if (PyErr_Occurred()) SWIG_fail
;
27529 Py_INCREF(Py_None
); resultobj
= Py_None
;
27544 static PyObject
*_wrap_Window_GetHelpText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27545 PyObject
*resultobj
;
27546 wxWindow
*arg1
= (wxWindow
*) 0 ;
27548 PyObject
* obj0
= 0 ;
27549 char *kwnames
[] = {
27550 (char *) "self", NULL
27553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetHelpText",kwnames
,&obj0
)) goto fail
;
27554 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27555 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27558 result
= ((wxWindow
const *)arg1
)->GetHelpText();
27560 wxPyEndAllowThreads(__tstate
);
27561 if (PyErr_Occurred()) SWIG_fail
;
27565 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27567 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27576 static PyObject
*_wrap_Window_SetToolTipString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27577 PyObject
*resultobj
;
27578 wxWindow
*arg1
= (wxWindow
*) 0 ;
27579 wxString
*arg2
= 0 ;
27580 bool temp2
= False
;
27581 PyObject
* obj0
= 0 ;
27582 PyObject
* obj1
= 0 ;
27583 char *kwnames
[] = {
27584 (char *) "self",(char *) "tip", NULL
27587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTipString",kwnames
,&obj0
,&obj1
)) goto fail
;
27588 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27589 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27591 arg2
= wxString_in_helper(obj1
);
27592 if (arg2
== NULL
) SWIG_fail
;
27596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27597 (arg1
)->SetToolTip((wxString
const &)*arg2
);
27599 wxPyEndAllowThreads(__tstate
);
27600 if (PyErr_Occurred()) SWIG_fail
;
27602 Py_INCREF(Py_None
); resultobj
= Py_None
;
27617 static PyObject
*_wrap_Window_SetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27618 PyObject
*resultobj
;
27619 wxWindow
*arg1
= (wxWindow
*) 0 ;
27620 wxToolTip
*arg2
= (wxToolTip
*) 0 ;
27621 PyObject
* obj0
= 0 ;
27622 PyObject
* obj1
= 0 ;
27623 char *kwnames
[] = {
27624 (char *) "self",(char *) "tip", NULL
27627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTip",kwnames
,&obj0
,&obj1
)) goto fail
;
27628 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27629 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27630 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolTip
,
27631 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27634 (arg1
)->SetToolTip(arg2
);
27636 wxPyEndAllowThreads(__tstate
);
27637 if (PyErr_Occurred()) SWIG_fail
;
27639 Py_INCREF(Py_None
); resultobj
= Py_None
;
27646 static PyObject
*_wrap_Window_GetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27647 PyObject
*resultobj
;
27648 wxWindow
*arg1
= (wxWindow
*) 0 ;
27650 PyObject
* obj0
= 0 ;
27651 char *kwnames
[] = {
27652 (char *) "self", NULL
27655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetToolTip",kwnames
,&obj0
)) goto fail
;
27656 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27657 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27660 result
= (wxToolTip
*)((wxWindow
const *)arg1
)->GetToolTip();
27662 wxPyEndAllowThreads(__tstate
);
27663 if (PyErr_Occurred()) SWIG_fail
;
27666 resultobj
= wxPyMake_wxObject(result
);
27674 static PyObject
*_wrap_Window_SetDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27675 PyObject
*resultobj
;
27676 wxWindow
*arg1
= (wxWindow
*) 0 ;
27677 wxPyDropTarget
*arg2
= (wxPyDropTarget
*) 0 ;
27678 PyObject
* obj0
= 0 ;
27679 PyObject
* obj1
= 0 ;
27680 char *kwnames
[] = {
27681 (char *) "self",(char *) "dropTarget", NULL
27684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDropTarget",kwnames
,&obj0
,&obj1
)) goto fail
;
27685 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27686 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27687 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyDropTarget
,
27688 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
27690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27691 (arg1
)->SetDropTarget(arg2
);
27693 wxPyEndAllowThreads(__tstate
);
27694 if (PyErr_Occurred()) SWIG_fail
;
27696 Py_INCREF(Py_None
); resultobj
= Py_None
;
27703 static PyObject
*_wrap_Window_GetDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27704 PyObject
*resultobj
;
27705 wxWindow
*arg1
= (wxWindow
*) 0 ;
27706 wxPyDropTarget
*result
;
27707 PyObject
* obj0
= 0 ;
27708 char *kwnames
[] = {
27709 (char *) "self", NULL
27712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDropTarget",kwnames
,&obj0
)) goto fail
;
27713 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27714 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27717 result
= (wxPyDropTarget
*)((wxWindow
const *)arg1
)->GetDropTarget();
27719 wxPyEndAllowThreads(__tstate
);
27720 if (PyErr_Occurred()) SWIG_fail
;
27722 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropTarget
, 0);
27729 static PyObject
*_wrap_Window_SetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27730 PyObject
*resultobj
;
27731 wxWindow
*arg1
= (wxWindow
*) 0 ;
27732 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
27733 PyObject
* obj0
= 0 ;
27734 PyObject
* obj1
= 0 ;
27735 char *kwnames
[] = {
27736 (char *) "self",(char *) "constraints", NULL
27739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetConstraints",kwnames
,&obj0
,&obj1
)) goto fail
;
27740 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27741 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27742 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxLayoutConstraints
,
27743 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27746 (arg1
)->SetConstraints(arg2
);
27748 wxPyEndAllowThreads(__tstate
);
27749 if (PyErr_Occurred()) SWIG_fail
;
27751 Py_INCREF(Py_None
); resultobj
= Py_None
;
27758 static PyObject
*_wrap_Window_GetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27759 PyObject
*resultobj
;
27760 wxWindow
*arg1
= (wxWindow
*) 0 ;
27761 wxLayoutConstraints
*result
;
27762 PyObject
* obj0
= 0 ;
27763 char *kwnames
[] = {
27764 (char *) "self", NULL
27767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetConstraints",kwnames
,&obj0
)) goto fail
;
27768 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27769 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27772 result
= (wxLayoutConstraints
*)((wxWindow
const *)arg1
)->GetConstraints();
27774 wxPyEndAllowThreads(__tstate
);
27775 if (PyErr_Occurred()) SWIG_fail
;
27777 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutConstraints
, 0);
27784 static PyObject
*_wrap_Window_SetAutoLayout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27785 PyObject
*resultobj
;
27786 wxWindow
*arg1
= (wxWindow
*) 0 ;
27788 PyObject
* obj0
= 0 ;
27789 PyObject
* obj1
= 0 ;
27790 char *kwnames
[] = {
27791 (char *) "self",(char *) "autoLayout", NULL
27794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAutoLayout",kwnames
,&obj0
,&obj1
)) goto fail
;
27795 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27796 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27797 arg2
= (bool) SWIG_AsBool(obj1
);
27798 if (PyErr_Occurred()) SWIG_fail
;
27800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27801 (arg1
)->SetAutoLayout(arg2
);
27803 wxPyEndAllowThreads(__tstate
);
27804 if (PyErr_Occurred()) SWIG_fail
;
27806 Py_INCREF(Py_None
); resultobj
= Py_None
;
27813 static PyObject
*_wrap_Window_GetAutoLayout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27814 PyObject
*resultobj
;
27815 wxWindow
*arg1
= (wxWindow
*) 0 ;
27817 PyObject
* obj0
= 0 ;
27818 char *kwnames
[] = {
27819 (char *) "self", NULL
27822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAutoLayout",kwnames
,&obj0
)) goto fail
;
27823 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27824 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27827 result
= (bool)((wxWindow
const *)arg1
)->GetAutoLayout();
27829 wxPyEndAllowThreads(__tstate
);
27830 if (PyErr_Occurred()) SWIG_fail
;
27833 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27841 static PyObject
*_wrap_Window_Layout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27842 PyObject
*resultobj
;
27843 wxWindow
*arg1
= (wxWindow
*) 0 ;
27845 PyObject
* obj0
= 0 ;
27846 char *kwnames
[] = {
27847 (char *) "self", NULL
27850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Layout",kwnames
,&obj0
)) goto fail
;
27851 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27852 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27855 result
= (bool)(arg1
)->Layout();
27857 wxPyEndAllowThreads(__tstate
);
27858 if (PyErr_Occurred()) SWIG_fail
;
27861 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27869 static PyObject
*_wrap_Window_SetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27870 PyObject
*resultobj
;
27871 wxWindow
*arg1
= (wxWindow
*) 0 ;
27872 wxSizer
*arg2
= (wxSizer
*) 0 ;
27873 bool arg3
= (bool) True
;
27874 PyObject
* obj0
= 0 ;
27875 PyObject
* obj1
= 0 ;
27876 PyObject
* obj2
= 0 ;
27877 char *kwnames
[] = {
27878 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
27881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizer",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27882 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27884 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
27885 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27887 arg3
= (bool) SWIG_AsBool(obj2
);
27888 if (PyErr_Occurred()) SWIG_fail
;
27891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27892 (arg1
)->SetSizer(arg2
,arg3
);
27894 wxPyEndAllowThreads(__tstate
);
27895 if (PyErr_Occurred()) SWIG_fail
;
27897 Py_INCREF(Py_None
); resultobj
= Py_None
;
27904 static PyObject
*_wrap_Window_SetSizerAndFit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27905 PyObject
*resultobj
;
27906 wxWindow
*arg1
= (wxWindow
*) 0 ;
27907 wxSizer
*arg2
= (wxSizer
*) 0 ;
27908 bool arg3
= (bool) True
;
27909 PyObject
* obj0
= 0 ;
27910 PyObject
* obj1
= 0 ;
27911 PyObject
* obj2
= 0 ;
27912 char *kwnames
[] = {
27913 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
27916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizerAndFit",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27917 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27918 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27919 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
27920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27922 arg3
= (bool) SWIG_AsBool(obj2
);
27923 if (PyErr_Occurred()) SWIG_fail
;
27926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27927 (arg1
)->SetSizerAndFit(arg2
,arg3
);
27929 wxPyEndAllowThreads(__tstate
);
27930 if (PyErr_Occurred()) SWIG_fail
;
27932 Py_INCREF(Py_None
); resultobj
= Py_None
;
27939 static PyObject
*_wrap_Window_GetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27940 PyObject
*resultobj
;
27941 wxWindow
*arg1
= (wxWindow
*) 0 ;
27943 PyObject
* obj0
= 0 ;
27944 char *kwnames
[] = {
27945 (char *) "self", NULL
27948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSizer",kwnames
,&obj0
)) goto fail
;
27949 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27950 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27953 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetSizer();
27955 wxPyEndAllowThreads(__tstate
);
27956 if (PyErr_Occurred()) SWIG_fail
;
27959 resultobj
= wxPyMake_wxSizer(result
);
27967 static PyObject
*_wrap_Window_SetContainingSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27968 PyObject
*resultobj
;
27969 wxWindow
*arg1
= (wxWindow
*) 0 ;
27970 wxSizer
*arg2
= (wxSizer
*) 0 ;
27971 PyObject
* obj0
= 0 ;
27972 PyObject
* obj1
= 0 ;
27973 char *kwnames
[] = {
27974 (char *) "self",(char *) "sizer", NULL
27977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetContainingSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
27978 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27979 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27980 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
27981 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27984 (arg1
)->SetContainingSizer(arg2
);
27986 wxPyEndAllowThreads(__tstate
);
27987 if (PyErr_Occurred()) SWIG_fail
;
27989 Py_INCREF(Py_None
); resultobj
= Py_None
;
27996 static PyObject
*_wrap_Window_GetContainingSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27997 PyObject
*resultobj
;
27998 wxWindow
*arg1
= (wxWindow
*) 0 ;
28000 PyObject
* obj0
= 0 ;
28001 char *kwnames
[] = {
28002 (char *) "self", NULL
28005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetContainingSizer",kwnames
,&obj0
)) goto fail
;
28006 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28007 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28010 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetContainingSizer();
28012 wxPyEndAllowThreads(__tstate
);
28013 if (PyErr_Occurred()) SWIG_fail
;
28016 resultobj
= wxPyMake_wxSizer(result
);
28024 static PyObject
*_wrap_Window_InheritAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28025 PyObject
*resultobj
;
28026 wxWindow
*arg1
= (wxWindow
*) 0 ;
28027 PyObject
* obj0
= 0 ;
28028 char *kwnames
[] = {
28029 (char *) "self", NULL
28032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InheritAttributes",kwnames
,&obj0
)) goto fail
;
28033 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28034 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28037 (arg1
)->InheritAttributes();
28039 wxPyEndAllowThreads(__tstate
);
28040 if (PyErr_Occurred()) SWIG_fail
;
28042 Py_INCREF(Py_None
); resultobj
= Py_None
;
28049 static PyObject
*_wrap_Window_ShouldInheritColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28050 PyObject
*resultobj
;
28051 wxWindow
*arg1
= (wxWindow
*) 0 ;
28053 PyObject
* obj0
= 0 ;
28054 char *kwnames
[] = {
28055 (char *) "self", NULL
28058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
28059 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28060 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28063 result
= (bool)((wxWindow
const *)arg1
)->ShouldInheritColours();
28065 wxPyEndAllowThreads(__tstate
);
28066 if (PyErr_Occurred()) SWIG_fail
;
28069 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28077 static PyObject
* Window_swigregister(PyObject
*self
, PyObject
*args
) {
28079 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28080 SWIG_TypeClientData(SWIGTYPE_p_wxWindow
, obj
);
28082 return Py_BuildValue((char *)"");
28084 static PyObject
*_wrap_FindWindowById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28085 PyObject
*resultobj
;
28087 wxWindow
*arg2
= (wxWindow
*) NULL
;
28089 PyObject
* obj0
= 0 ;
28090 PyObject
* obj1
= 0 ;
28091 char *kwnames
[] = {
28092 (char *) "id",(char *) "parent", NULL
28095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowById",kwnames
,&obj0
,&obj1
)) goto fail
;
28096 arg1
= (long) SWIG_AsLong(obj0
);
28097 if (PyErr_Occurred()) SWIG_fail
;
28099 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28100 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28104 result
= (wxWindow
*)wxFindWindowById(arg1
,(wxWindow
const *)arg2
);
28106 wxPyEndAllowThreads(__tstate
);
28107 if (PyErr_Occurred()) SWIG_fail
;
28110 resultobj
= wxPyMake_wxObject(result
);
28118 static PyObject
*_wrap_FindWindowByName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28119 PyObject
*resultobj
;
28120 wxString
*arg1
= 0 ;
28121 wxWindow
*arg2
= (wxWindow
*) NULL
;
28123 bool temp1
= False
;
28124 PyObject
* obj0
= 0 ;
28125 PyObject
* obj1
= 0 ;
28126 char *kwnames
[] = {
28127 (char *) "name",(char *) "parent", NULL
28130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByName",kwnames
,&obj0
,&obj1
)) goto fail
;
28132 arg1
= wxString_in_helper(obj0
);
28133 if (arg1
== NULL
) SWIG_fail
;
28137 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28138 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28142 result
= (wxWindow
*)wxFindWindowByName((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
28144 wxPyEndAllowThreads(__tstate
);
28145 if (PyErr_Occurred()) SWIG_fail
;
28148 resultobj
= wxPyMake_wxObject(result
);
28164 static PyObject
*_wrap_FindWindowByLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28165 PyObject
*resultobj
;
28166 wxString
*arg1
= 0 ;
28167 wxWindow
*arg2
= (wxWindow
*) NULL
;
28169 bool temp1
= False
;
28170 PyObject
* obj0
= 0 ;
28171 PyObject
* obj1
= 0 ;
28172 char *kwnames
[] = {
28173 (char *) "label",(char *) "parent", NULL
28176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
28178 arg1
= wxString_in_helper(obj0
);
28179 if (arg1
== NULL
) SWIG_fail
;
28183 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28184 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28188 result
= (wxWindow
*)wxFindWindowByLabel((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
28190 wxPyEndAllowThreads(__tstate
);
28191 if (PyErr_Occurred()) SWIG_fail
;
28194 resultobj
= wxPyMake_wxObject(result
);
28210 static PyObject
*_wrap_Window_FromHWND(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28211 PyObject
*resultobj
;
28212 wxWindow
*arg1
= (wxWindow
*) 0 ;
28213 unsigned long arg2
;
28215 PyObject
* obj0
= 0 ;
28216 PyObject
* obj1
= 0 ;
28217 char *kwnames
[] = {
28218 (char *) "parent",(char *) "_hWnd", NULL
28221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FromHWND",kwnames
,&obj0
,&obj1
)) goto fail
;
28222 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28223 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28224 arg2
= (unsigned long) SWIG_AsUnsignedLong(obj1
);
28225 if (PyErr_Occurred()) SWIG_fail
;
28227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28228 result
= (wxWindow
*)wxWindow_FromHWND(arg1
,arg2
);
28230 wxPyEndAllowThreads(__tstate
);
28231 if (PyErr_Occurred()) SWIG_fail
;
28234 resultobj
= wxPyMake_wxObject(result
);
28242 static PyObject
*_wrap_new_Validator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28243 PyObject
*resultobj
;
28244 wxValidator
*result
;
28245 char *kwnames
[] = {
28249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Validator",kwnames
)) goto fail
;
28251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28252 result
= (wxValidator
*)new wxValidator();
28254 wxPyEndAllowThreads(__tstate
);
28255 if (PyErr_Occurred()) SWIG_fail
;
28258 resultobj
= wxPyMake_wxObject(result
);
28266 static PyObject
*_wrap_Validator_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28267 PyObject
*resultobj
;
28268 wxValidator
*arg1
= (wxValidator
*) 0 ;
28269 wxValidator
*result
;
28270 PyObject
* obj0
= 0 ;
28271 char *kwnames
[] = {
28272 (char *) "self", NULL
28275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_Clone",kwnames
,&obj0
)) goto fail
;
28276 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
28277 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28280 result
= (wxValidator
*)(arg1
)->Clone();
28282 wxPyEndAllowThreads(__tstate
);
28283 if (PyErr_Occurred()) SWIG_fail
;
28286 resultobj
= wxPyMake_wxObject(result
);
28294 static PyObject
*_wrap_Validator_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28295 PyObject
*resultobj
;
28296 wxValidator
*arg1
= (wxValidator
*) 0 ;
28297 wxWindow
*arg2
= (wxWindow
*) 0 ;
28299 PyObject
* obj0
= 0 ;
28300 PyObject
* obj1
= 0 ;
28301 char *kwnames
[] = {
28302 (char *) "self",(char *) "parent", NULL
28305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_Validate",kwnames
,&obj0
,&obj1
)) goto fail
;
28306 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
28307 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28308 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28312 result
= (bool)(arg1
)->Validate(arg2
);
28314 wxPyEndAllowThreads(__tstate
);
28315 if (PyErr_Occurred()) SWIG_fail
;
28318 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28326 static PyObject
*_wrap_Validator_TransferToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28327 PyObject
*resultobj
;
28328 wxValidator
*arg1
= (wxValidator
*) 0 ;
28330 PyObject
* obj0
= 0 ;
28331 char *kwnames
[] = {
28332 (char *) "self", NULL
28335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_TransferToWindow",kwnames
,&obj0
)) goto fail
;
28336 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
28337 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28340 result
= (bool)(arg1
)->TransferToWindow();
28342 wxPyEndAllowThreads(__tstate
);
28343 if (PyErr_Occurred()) SWIG_fail
;
28346 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28354 static PyObject
*_wrap_Validator_TransferFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28355 PyObject
*resultobj
;
28356 wxValidator
*arg1
= (wxValidator
*) 0 ;
28358 PyObject
* obj0
= 0 ;
28359 char *kwnames
[] = {
28360 (char *) "self", NULL
28363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_TransferFromWindow",kwnames
,&obj0
)) goto fail
;
28364 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
28365 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28368 result
= (bool)(arg1
)->TransferFromWindow();
28370 wxPyEndAllowThreads(__tstate
);
28371 if (PyErr_Occurred()) SWIG_fail
;
28374 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28382 static PyObject
*_wrap_Validator_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28383 PyObject
*resultobj
;
28384 wxValidator
*arg1
= (wxValidator
*) 0 ;
28386 PyObject
* obj0
= 0 ;
28387 char *kwnames
[] = {
28388 (char *) "self", NULL
28391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_GetWindow",kwnames
,&obj0
)) goto fail
;
28392 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
28393 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28396 result
= (wxWindow
*)(arg1
)->GetWindow();
28398 wxPyEndAllowThreads(__tstate
);
28399 if (PyErr_Occurred()) SWIG_fail
;
28402 resultobj
= wxPyMake_wxObject(result
);
28410 static PyObject
*_wrap_Validator_SetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28411 PyObject
*resultobj
;
28412 wxValidator
*arg1
= (wxValidator
*) 0 ;
28413 wxWindow
*arg2
= (wxWindow
*) 0 ;
28414 PyObject
* obj0
= 0 ;
28415 PyObject
* obj1
= 0 ;
28416 char *kwnames
[] = {
28417 (char *) "self",(char *) "window", NULL
28420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
28421 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
28422 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28423 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28424 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28427 (arg1
)->SetWindow(arg2
);
28429 wxPyEndAllowThreads(__tstate
);
28430 if (PyErr_Occurred()) SWIG_fail
;
28432 Py_INCREF(Py_None
); resultobj
= Py_None
;
28439 static PyObject
*_wrap_Validator_IsSilent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28440 PyObject
*resultobj
;
28442 char *kwnames
[] = {
28446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Validator_IsSilent",kwnames
)) goto fail
;
28448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28449 result
= (bool)wxValidator::IsSilent();
28451 wxPyEndAllowThreads(__tstate
);
28452 if (PyErr_Occurred()) SWIG_fail
;
28455 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28463 static PyObject
*_wrap_Validator_SetBellOnError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28464 PyObject
*resultobj
;
28465 int arg1
= (int) True
;
28466 PyObject
* obj0
= 0 ;
28467 char *kwnames
[] = {
28468 (char *) "doIt", NULL
28471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Validator_SetBellOnError",kwnames
,&obj0
)) goto fail
;
28473 arg1
= (int) SWIG_AsInt(obj0
);
28474 if (PyErr_Occurred()) SWIG_fail
;
28477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28478 wxValidator::SetBellOnError(arg1
);
28480 wxPyEndAllowThreads(__tstate
);
28481 if (PyErr_Occurred()) SWIG_fail
;
28483 Py_INCREF(Py_None
); resultobj
= Py_None
;
28490 static PyObject
* Validator_swigregister(PyObject
*self
, PyObject
*args
) {
28492 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28493 SWIG_TypeClientData(SWIGTYPE_p_wxValidator
, obj
);
28495 return Py_BuildValue((char *)"");
28497 static PyObject
*_wrap_new_PyValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28498 PyObject
*resultobj
;
28499 wxPyValidator
*result
;
28500 char *kwnames
[] = {
28504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyValidator",kwnames
)) goto fail
;
28506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28507 result
= (wxPyValidator
*)new wxPyValidator();
28509 wxPyEndAllowThreads(__tstate
);
28510 if (PyErr_Occurred()) SWIG_fail
;
28512 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyValidator
, 1);
28519 static PyObject
*_wrap_PyValidator__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28520 PyObject
*resultobj
;
28521 wxPyValidator
*arg1
= (wxPyValidator
*) 0 ;
28522 PyObject
*arg2
= (PyObject
*) 0 ;
28523 PyObject
*arg3
= (PyObject
*) 0 ;
28524 int arg4
= (int) True
;
28525 PyObject
* obj0
= 0 ;
28526 PyObject
* obj1
= 0 ;
28527 PyObject
* obj2
= 0 ;
28528 PyObject
* obj3
= 0 ;
28529 char *kwnames
[] = {
28530 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
28533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PyValidator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28534 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyValidator
,
28535 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28539 arg4
= (int) SWIG_AsInt(obj3
);
28540 if (PyErr_Occurred()) SWIG_fail
;
28543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28544 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
28546 wxPyEndAllowThreads(__tstate
);
28547 if (PyErr_Occurred()) SWIG_fail
;
28549 Py_INCREF(Py_None
); resultobj
= Py_None
;
28556 static PyObject
* PyValidator_swigregister(PyObject
*self
, PyObject
*args
) {
28558 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28559 SWIG_TypeClientData(SWIGTYPE_p_wxPyValidator
, obj
);
28561 return Py_BuildValue((char *)"");
28563 static int _wrap_DefaultValidator_set(PyObject
*_val
) {
28564 PyErr_SetString(PyExc_TypeError
,"Variable DefaultValidator is read-only.");
28569 static PyObject
*_wrap_DefaultValidator_get() {
28572 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultValidator
), SWIGTYPE_p_wxValidator
, 0);
28577 static PyObject
*_wrap_new_Menu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28578 PyObject
*resultobj
;
28579 wxString
const &arg1_defvalue
= wxPyEmptyString
;
28580 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
28581 long arg2
= (long) 0 ;
28583 bool temp1
= False
;
28584 PyObject
* obj0
= 0 ;
28585 PyObject
* obj1
= 0 ;
28586 char *kwnames
[] = {
28587 (char *) "title",(char *) "style", NULL
28590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Menu",kwnames
,&obj0
,&obj1
)) goto fail
;
28593 arg1
= wxString_in_helper(obj0
);
28594 if (arg1
== NULL
) SWIG_fail
;
28599 arg2
= (long) SWIG_AsLong(obj1
);
28600 if (PyErr_Occurred()) SWIG_fail
;
28603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28604 result
= (wxMenu
*)new wxMenu((wxString
const &)*arg1
,arg2
);
28606 wxPyEndAllowThreads(__tstate
);
28607 if (PyErr_Occurred()) SWIG_fail
;
28610 resultobj
= wxPyMake_wxObject(result
);
28626 static PyObject
*_wrap_Menu_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28627 PyObject
*resultobj
;
28628 wxMenu
*arg1
= (wxMenu
*) 0 ;
28630 wxString
*arg3
= 0 ;
28631 wxString
const &arg4_defvalue
= wxPyEmptyString
;
28632 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
28633 int arg5
= (int) wxITEM_NORMAL
;
28634 wxMenuItem
*result
;
28635 bool temp3
= False
;
28636 bool temp4
= False
;
28637 PyObject
* obj0
= 0 ;
28638 PyObject
* obj1
= 0 ;
28639 PyObject
* obj2
= 0 ;
28640 PyObject
* obj3
= 0 ;
28641 PyObject
* obj4
= 0 ;
28642 char *kwnames
[] = {
28643 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
28646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Menu_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
28647 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28648 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28649 arg2
= (int) SWIG_AsInt(obj1
);
28650 if (PyErr_Occurred()) SWIG_fail
;
28652 arg3
= wxString_in_helper(obj2
);
28653 if (arg3
== NULL
) SWIG_fail
;
28658 arg4
= wxString_in_helper(obj3
);
28659 if (arg4
== NULL
) SWIG_fail
;
28664 arg5
= (wxItemKind
) SWIG_AsInt(obj4
);
28665 if (PyErr_Occurred()) SWIG_fail
;
28668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28669 result
= (wxMenuItem
*)(arg1
)->Append(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
);
28671 wxPyEndAllowThreads(__tstate
);
28672 if (PyErr_Occurred()) SWIG_fail
;
28675 resultobj
= wxPyMake_wxObject(result
);
28699 static PyObject
*_wrap_Menu_AppendSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28700 PyObject
*resultobj
;
28701 wxMenu
*arg1
= (wxMenu
*) 0 ;
28702 wxMenuItem
*result
;
28703 PyObject
* obj0
= 0 ;
28704 char *kwnames
[] = {
28705 (char *) "self", NULL
28708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_AppendSeparator",kwnames
,&obj0
)) goto fail
;
28709 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28710 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28713 result
= (wxMenuItem
*)(arg1
)->AppendSeparator();
28715 wxPyEndAllowThreads(__tstate
);
28716 if (PyErr_Occurred()) SWIG_fail
;
28719 resultobj
= wxPyMake_wxObject(result
);
28727 static PyObject
*_wrap_Menu_AppendCheckItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28728 PyObject
*resultobj
;
28729 wxMenu
*arg1
= (wxMenu
*) 0 ;
28731 wxString
*arg3
= 0 ;
28732 wxString
const &arg4_defvalue
= wxPyEmptyString
;
28733 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
28734 wxMenuItem
*result
;
28735 bool temp3
= False
;
28736 bool temp4
= False
;
28737 PyObject
* obj0
= 0 ;
28738 PyObject
* obj1
= 0 ;
28739 PyObject
* obj2
= 0 ;
28740 PyObject
* obj3
= 0 ;
28741 char *kwnames
[] = {
28742 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
28745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_AppendCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28746 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28747 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28748 arg2
= (int) SWIG_AsInt(obj1
);
28749 if (PyErr_Occurred()) SWIG_fail
;
28751 arg3
= wxString_in_helper(obj2
);
28752 if (arg3
== NULL
) SWIG_fail
;
28757 arg4
= wxString_in_helper(obj3
);
28758 if (arg4
== NULL
) SWIG_fail
;
28763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28764 result
= (wxMenuItem
*)(arg1
)->AppendCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
28766 wxPyEndAllowThreads(__tstate
);
28767 if (PyErr_Occurred()) SWIG_fail
;
28770 resultobj
= wxPyMake_wxObject(result
);
28794 static PyObject
*_wrap_Menu_AppendRadioItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28795 PyObject
*resultobj
;
28796 wxMenu
*arg1
= (wxMenu
*) 0 ;
28798 wxString
*arg3
= 0 ;
28799 wxString
const &arg4_defvalue
= wxPyEmptyString
;
28800 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
28801 wxMenuItem
*result
;
28802 bool temp3
= False
;
28803 bool temp4
= False
;
28804 PyObject
* obj0
= 0 ;
28805 PyObject
* obj1
= 0 ;
28806 PyObject
* obj2
= 0 ;
28807 PyObject
* obj3
= 0 ;
28808 char *kwnames
[] = {
28809 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
28812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_AppendRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28813 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28814 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28815 arg2
= (int) SWIG_AsInt(obj1
);
28816 if (PyErr_Occurred()) SWIG_fail
;
28818 arg3
= wxString_in_helper(obj2
);
28819 if (arg3
== NULL
) SWIG_fail
;
28824 arg4
= wxString_in_helper(obj3
);
28825 if (arg4
== NULL
) SWIG_fail
;
28830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28831 result
= (wxMenuItem
*)(arg1
)->AppendRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
28833 wxPyEndAllowThreads(__tstate
);
28834 if (PyErr_Occurred()) SWIG_fail
;
28837 resultobj
= wxPyMake_wxObject(result
);
28861 static PyObject
*_wrap_Menu_AppendMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28862 PyObject
*resultobj
;
28863 wxMenu
*arg1
= (wxMenu
*) 0 ;
28865 wxString
*arg3
= 0 ;
28866 wxMenu
*arg4
= (wxMenu
*) 0 ;
28867 wxString
const &arg5_defvalue
= wxPyEmptyString
;
28868 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
28869 wxMenuItem
*result
;
28870 bool temp3
= False
;
28871 bool temp5
= False
;
28872 PyObject
* obj0
= 0 ;
28873 PyObject
* obj1
= 0 ;
28874 PyObject
* obj2
= 0 ;
28875 PyObject
* obj3
= 0 ;
28876 PyObject
* obj4
= 0 ;
28877 char *kwnames
[] = {
28878 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
28881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_AppendMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
28882 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28884 arg2
= (int) SWIG_AsInt(obj1
);
28885 if (PyErr_Occurred()) SWIG_fail
;
28887 arg3
= wxString_in_helper(obj2
);
28888 if (arg3
== NULL
) SWIG_fail
;
28891 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxMenu
,
28892 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28895 arg5
= wxString_in_helper(obj4
);
28896 if (arg5
== NULL
) SWIG_fail
;
28901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28902 result
= (wxMenuItem
*)(arg1
)->Append(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
28904 wxPyEndAllowThreads(__tstate
);
28905 if (PyErr_Occurred()) SWIG_fail
;
28908 resultobj
= wxPyMake_wxObject(result
);
28932 static PyObject
*_wrap_Menu_AppendItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28933 PyObject
*resultobj
;
28934 wxMenu
*arg1
= (wxMenu
*) 0 ;
28935 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
28936 wxMenuItem
*result
;
28937 PyObject
* obj0
= 0 ;
28938 PyObject
* obj1
= 0 ;
28939 char *kwnames
[] = {
28940 (char *) "self",(char *) "item", NULL
28943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_AppendItem",kwnames
,&obj0
,&obj1
)) goto fail
;
28944 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28945 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28946 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
28947 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28950 result
= (wxMenuItem
*)(arg1
)->Append(arg2
);
28952 wxPyEndAllowThreads(__tstate
);
28953 if (PyErr_Occurred()) SWIG_fail
;
28956 resultobj
= wxPyMake_wxObject(result
);
28964 static PyObject
*_wrap_Menu_Break(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28965 PyObject
*resultobj
;
28966 wxMenu
*arg1
= (wxMenu
*) 0 ;
28967 PyObject
* obj0
= 0 ;
28968 char *kwnames
[] = {
28969 (char *) "self", NULL
28972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Break",kwnames
,&obj0
)) goto fail
;
28973 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28974 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28979 wxPyEndAllowThreads(__tstate
);
28980 if (PyErr_Occurred()) SWIG_fail
;
28982 Py_INCREF(Py_None
); resultobj
= Py_None
;
28989 static PyObject
*_wrap_Menu_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28990 PyObject
*resultobj
;
28991 wxMenu
*arg1
= (wxMenu
*) 0 ;
28993 wxMenuItem
*arg3
= (wxMenuItem
*) 0 ;
28994 wxMenuItem
*result
;
28995 PyObject
* obj0
= 0 ;
28996 PyObject
* obj1
= 0 ;
28997 PyObject
* obj2
= 0 ;
28998 char *kwnames
[] = {
28999 (char *) "self",(char *) "pos",(char *) "item", NULL
29002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29003 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29004 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29005 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
29006 if (PyErr_Occurred()) SWIG_fail
;
29007 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMenuItem
,
29008 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29011 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
);
29013 wxPyEndAllowThreads(__tstate
);
29014 if (PyErr_Occurred()) SWIG_fail
;
29017 resultobj
= wxPyMake_wxObject(result
);
29025 static PyObject
*_wrap_Menu_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29026 PyObject
*resultobj
;
29027 wxMenu
*arg1
= (wxMenu
*) 0 ;
29030 wxString
*arg4
= 0 ;
29031 wxString
const &arg5_defvalue
= wxPyEmptyString
;
29032 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
29033 int arg6
= (int) wxITEM_NORMAL
;
29034 wxMenuItem
*result
;
29035 bool temp4
= False
;
29036 bool temp5
= False
;
29037 PyObject
* obj0
= 0 ;
29038 PyObject
* obj1
= 0 ;
29039 PyObject
* obj2
= 0 ;
29040 PyObject
* obj3
= 0 ;
29041 PyObject
* obj4
= 0 ;
29042 PyObject
* obj5
= 0 ;
29043 char *kwnames
[] = {
29044 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
29047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:Menu_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
29048 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29049 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29050 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
29051 if (PyErr_Occurred()) SWIG_fail
;
29052 arg3
= (int) SWIG_AsInt(obj2
);
29053 if (PyErr_Occurred()) SWIG_fail
;
29055 arg4
= wxString_in_helper(obj3
);
29056 if (arg4
== NULL
) SWIG_fail
;
29061 arg5
= wxString_in_helper(obj4
);
29062 if (arg5
== NULL
) SWIG_fail
;
29067 arg6
= (wxItemKind
) SWIG_AsInt(obj5
);
29068 if (PyErr_Occurred()) SWIG_fail
;
29071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29072 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,(wxItemKind
)arg6
);
29074 wxPyEndAllowThreads(__tstate
);
29075 if (PyErr_Occurred()) SWIG_fail
;
29078 resultobj
= wxPyMake_wxObject(result
);
29102 static PyObject
*_wrap_Menu_InsertSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29103 PyObject
*resultobj
;
29104 wxMenu
*arg1
= (wxMenu
*) 0 ;
29106 wxMenuItem
*result
;
29107 PyObject
* obj0
= 0 ;
29108 PyObject
* obj1
= 0 ;
29109 char *kwnames
[] = {
29110 (char *) "self",(char *) "pos", NULL
29113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_InsertSeparator",kwnames
,&obj0
,&obj1
)) goto fail
;
29114 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29115 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29116 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
29117 if (PyErr_Occurred()) SWIG_fail
;
29119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29120 result
= (wxMenuItem
*)(arg1
)->InsertSeparator(arg2
);
29122 wxPyEndAllowThreads(__tstate
);
29123 if (PyErr_Occurred()) SWIG_fail
;
29126 resultobj
= wxPyMake_wxObject(result
);
29134 static PyObject
*_wrap_Menu_InsertCheckItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29135 PyObject
*resultobj
;
29136 wxMenu
*arg1
= (wxMenu
*) 0 ;
29139 wxString
*arg4
= 0 ;
29140 wxString
const &arg5_defvalue
= wxPyEmptyString
;
29141 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
29142 wxMenuItem
*result
;
29143 bool temp4
= False
;
29144 bool temp5
= False
;
29145 PyObject
* obj0
= 0 ;
29146 PyObject
* obj1
= 0 ;
29147 PyObject
* obj2
= 0 ;
29148 PyObject
* obj3
= 0 ;
29149 PyObject
* obj4
= 0 ;
29150 char *kwnames
[] = {
29151 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
29154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_InsertCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29155 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29156 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29157 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
29158 if (PyErr_Occurred()) SWIG_fail
;
29159 arg3
= (int) SWIG_AsInt(obj2
);
29160 if (PyErr_Occurred()) SWIG_fail
;
29162 arg4
= wxString_in_helper(obj3
);
29163 if (arg4
== NULL
) SWIG_fail
;
29168 arg5
= wxString_in_helper(obj4
);
29169 if (arg5
== NULL
) SWIG_fail
;
29174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29175 result
= (wxMenuItem
*)(arg1
)->InsertCheckItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
29177 wxPyEndAllowThreads(__tstate
);
29178 if (PyErr_Occurred()) SWIG_fail
;
29181 resultobj
= wxPyMake_wxObject(result
);
29205 static PyObject
*_wrap_Menu_InsertRadioItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29206 PyObject
*resultobj
;
29207 wxMenu
*arg1
= (wxMenu
*) 0 ;
29210 wxString
*arg4
= 0 ;
29211 wxString
const &arg5_defvalue
= wxPyEmptyString
;
29212 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
29213 wxMenuItem
*result
;
29214 bool temp4
= False
;
29215 bool temp5
= False
;
29216 PyObject
* obj0
= 0 ;
29217 PyObject
* obj1
= 0 ;
29218 PyObject
* obj2
= 0 ;
29219 PyObject
* obj3
= 0 ;
29220 PyObject
* obj4
= 0 ;
29221 char *kwnames
[] = {
29222 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
29225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_InsertRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29226 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29227 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29228 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
29229 if (PyErr_Occurred()) SWIG_fail
;
29230 arg3
= (int) SWIG_AsInt(obj2
);
29231 if (PyErr_Occurred()) SWIG_fail
;
29233 arg4
= wxString_in_helper(obj3
);
29234 if (arg4
== NULL
) SWIG_fail
;
29239 arg5
= wxString_in_helper(obj4
);
29240 if (arg5
== NULL
) SWIG_fail
;
29245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29246 result
= (wxMenuItem
*)(arg1
)->InsertRadioItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
29248 wxPyEndAllowThreads(__tstate
);
29249 if (PyErr_Occurred()) SWIG_fail
;
29252 resultobj
= wxPyMake_wxObject(result
);
29276 static PyObject
*_wrap_Menu_InsertMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29277 PyObject
*resultobj
;
29278 wxMenu
*arg1
= (wxMenu
*) 0 ;
29281 wxString
*arg4
= 0 ;
29282 wxMenu
*arg5
= (wxMenu
*) 0 ;
29283 wxString
const &arg6_defvalue
= wxPyEmptyString
;
29284 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
29285 wxMenuItem
*result
;
29286 bool temp4
= False
;
29287 bool temp6
= False
;
29288 PyObject
* obj0
= 0 ;
29289 PyObject
* obj1
= 0 ;
29290 PyObject
* obj2
= 0 ;
29291 PyObject
* obj3
= 0 ;
29292 PyObject
* obj4
= 0 ;
29293 PyObject
* obj5
= 0 ;
29294 char *kwnames
[] = {
29295 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
29298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Menu_InsertMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
29299 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29300 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29301 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
29302 if (PyErr_Occurred()) SWIG_fail
;
29303 arg3
= (int) SWIG_AsInt(obj2
);
29304 if (PyErr_Occurred()) SWIG_fail
;
29306 arg4
= wxString_in_helper(obj3
);
29307 if (arg4
== NULL
) SWIG_fail
;
29310 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxMenu
,
29311 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29314 arg6
= wxString_in_helper(obj5
);
29315 if (arg6
== NULL
) SWIG_fail
;
29320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29321 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
29323 wxPyEndAllowThreads(__tstate
);
29324 if (PyErr_Occurred()) SWIG_fail
;
29327 resultobj
= wxPyMake_wxObject(result
);
29351 static PyObject
*_wrap_Menu_PrependItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29352 PyObject
*resultobj
;
29353 wxMenu
*arg1
= (wxMenu
*) 0 ;
29354 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
29355 wxMenuItem
*result
;
29356 PyObject
* obj0
= 0 ;
29357 PyObject
* obj1
= 0 ;
29358 char *kwnames
[] = {
29359 (char *) "self",(char *) "item", NULL
29362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_PrependItem",kwnames
,&obj0
,&obj1
)) goto fail
;
29363 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29364 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29365 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
29366 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29369 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
);
29371 wxPyEndAllowThreads(__tstate
);
29372 if (PyErr_Occurred()) SWIG_fail
;
29375 resultobj
= wxPyMake_wxObject(result
);
29383 static PyObject
*_wrap_Menu_Prepend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29384 PyObject
*resultobj
;
29385 wxMenu
*arg1
= (wxMenu
*) 0 ;
29387 wxString
*arg3
= 0 ;
29388 wxString
const &arg4_defvalue
= wxPyEmptyString
;
29389 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
29390 int arg5
= (int) wxITEM_NORMAL
;
29391 wxMenuItem
*result
;
29392 bool temp3
= False
;
29393 bool temp4
= False
;
29394 PyObject
* obj0
= 0 ;
29395 PyObject
* obj1
= 0 ;
29396 PyObject
* obj2
= 0 ;
29397 PyObject
* obj3
= 0 ;
29398 PyObject
* obj4
= 0 ;
29399 char *kwnames
[] = {
29400 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
29403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Menu_Prepend",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29404 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29405 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29406 arg2
= (int) SWIG_AsInt(obj1
);
29407 if (PyErr_Occurred()) SWIG_fail
;
29409 arg3
= wxString_in_helper(obj2
);
29410 if (arg3
== NULL
) SWIG_fail
;
29415 arg4
= wxString_in_helper(obj3
);
29416 if (arg4
== NULL
) SWIG_fail
;
29421 arg5
= (wxItemKind
) SWIG_AsInt(obj4
);
29422 if (PyErr_Occurred()) SWIG_fail
;
29425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29426 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
);
29428 wxPyEndAllowThreads(__tstate
);
29429 if (PyErr_Occurred()) SWIG_fail
;
29432 resultobj
= wxPyMake_wxObject(result
);
29456 static PyObject
*_wrap_Menu_PrependSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29457 PyObject
*resultobj
;
29458 wxMenu
*arg1
= (wxMenu
*) 0 ;
29459 wxMenuItem
*result
;
29460 PyObject
* obj0
= 0 ;
29461 char *kwnames
[] = {
29462 (char *) "self", NULL
29465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_PrependSeparator",kwnames
,&obj0
)) goto fail
;
29466 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29467 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29470 result
= (wxMenuItem
*)(arg1
)->PrependSeparator();
29472 wxPyEndAllowThreads(__tstate
);
29473 if (PyErr_Occurred()) SWIG_fail
;
29476 resultobj
= wxPyMake_wxObject(result
);
29484 static PyObject
*_wrap_Menu_PrependCheckItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29485 PyObject
*resultobj
;
29486 wxMenu
*arg1
= (wxMenu
*) 0 ;
29488 wxString
*arg3
= 0 ;
29489 wxString
const &arg4_defvalue
= wxPyEmptyString
;
29490 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
29491 wxMenuItem
*result
;
29492 bool temp3
= False
;
29493 bool temp4
= False
;
29494 PyObject
* obj0
= 0 ;
29495 PyObject
* obj1
= 0 ;
29496 PyObject
* obj2
= 0 ;
29497 PyObject
* obj3
= 0 ;
29498 char *kwnames
[] = {
29499 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
29502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_PrependCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29503 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29504 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29505 arg2
= (int) SWIG_AsInt(obj1
);
29506 if (PyErr_Occurred()) SWIG_fail
;
29508 arg3
= wxString_in_helper(obj2
);
29509 if (arg3
== NULL
) SWIG_fail
;
29514 arg4
= wxString_in_helper(obj3
);
29515 if (arg4
== NULL
) SWIG_fail
;
29520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29521 result
= (wxMenuItem
*)(arg1
)->PrependCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
29523 wxPyEndAllowThreads(__tstate
);
29524 if (PyErr_Occurred()) SWIG_fail
;
29527 resultobj
= wxPyMake_wxObject(result
);
29551 static PyObject
*_wrap_Menu_PrependRadioItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29552 PyObject
*resultobj
;
29553 wxMenu
*arg1
= (wxMenu
*) 0 ;
29555 wxString
*arg3
= 0 ;
29556 wxString
const &arg4_defvalue
= wxPyEmptyString
;
29557 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
29558 wxMenuItem
*result
;
29559 bool temp3
= False
;
29560 bool temp4
= False
;
29561 PyObject
* obj0
= 0 ;
29562 PyObject
* obj1
= 0 ;
29563 PyObject
* obj2
= 0 ;
29564 PyObject
* obj3
= 0 ;
29565 char *kwnames
[] = {
29566 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
29569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_PrependRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29570 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29571 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29572 arg2
= (int) SWIG_AsInt(obj1
);
29573 if (PyErr_Occurred()) SWIG_fail
;
29575 arg3
= wxString_in_helper(obj2
);
29576 if (arg3
== NULL
) SWIG_fail
;
29581 arg4
= wxString_in_helper(obj3
);
29582 if (arg4
== NULL
) SWIG_fail
;
29587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29588 result
= (wxMenuItem
*)(arg1
)->PrependRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
29590 wxPyEndAllowThreads(__tstate
);
29591 if (PyErr_Occurred()) SWIG_fail
;
29594 resultobj
= wxPyMake_wxObject(result
);
29618 static PyObject
*_wrap_Menu_PrependMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29619 PyObject
*resultobj
;
29620 wxMenu
*arg1
= (wxMenu
*) 0 ;
29622 wxString
*arg3
= 0 ;
29623 wxMenu
*arg4
= (wxMenu
*) 0 ;
29624 wxString
const &arg5_defvalue
= wxPyEmptyString
;
29625 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
29626 wxMenuItem
*result
;
29627 bool temp3
= False
;
29628 bool temp5
= False
;
29629 PyObject
* obj0
= 0 ;
29630 PyObject
* obj1
= 0 ;
29631 PyObject
* obj2
= 0 ;
29632 PyObject
* obj3
= 0 ;
29633 PyObject
* obj4
= 0 ;
29634 char *kwnames
[] = {
29635 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
29638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_PrependMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29639 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29640 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29641 arg2
= (int) SWIG_AsInt(obj1
);
29642 if (PyErr_Occurred()) SWIG_fail
;
29644 arg3
= wxString_in_helper(obj2
);
29645 if (arg3
== NULL
) SWIG_fail
;
29648 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxMenu
,
29649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29652 arg5
= wxString_in_helper(obj4
);
29653 if (arg5
== NULL
) SWIG_fail
;
29658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29659 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
29661 wxPyEndAllowThreads(__tstate
);
29662 if (PyErr_Occurred()) SWIG_fail
;
29665 resultobj
= wxPyMake_wxObject(result
);
29689 static PyObject
*_wrap_Menu_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29690 PyObject
*resultobj
;
29691 wxMenu
*arg1
= (wxMenu
*) 0 ;
29693 wxMenuItem
*result
;
29694 PyObject
* obj0
= 0 ;
29695 PyObject
* obj1
= 0 ;
29696 char *kwnames
[] = {
29697 (char *) "self",(char *) "id", NULL
29700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
29701 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29702 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29703 arg2
= (int) SWIG_AsInt(obj1
);
29704 if (PyErr_Occurred()) SWIG_fail
;
29706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29707 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
29709 wxPyEndAllowThreads(__tstate
);
29710 if (PyErr_Occurred()) SWIG_fail
;
29713 resultobj
= wxPyMake_wxObject(result
);
29721 static PyObject
*_wrap_Menu_RemoveItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29722 PyObject
*resultobj
;
29723 wxMenu
*arg1
= (wxMenu
*) 0 ;
29724 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
29725 wxMenuItem
*result
;
29726 PyObject
* obj0
= 0 ;
29727 PyObject
* obj1
= 0 ;
29728 char *kwnames
[] = {
29729 (char *) "self",(char *) "item", NULL
29732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_RemoveItem",kwnames
,&obj0
,&obj1
)) goto fail
;
29733 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29734 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29735 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
29736 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29739 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
29741 wxPyEndAllowThreads(__tstate
);
29742 if (PyErr_Occurred()) SWIG_fail
;
29745 resultobj
= wxPyMake_wxObject(result
);
29753 static PyObject
*_wrap_Menu_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29754 PyObject
*resultobj
;
29755 wxMenu
*arg1
= (wxMenu
*) 0 ;
29758 PyObject
* obj0
= 0 ;
29759 PyObject
* obj1
= 0 ;
29760 char *kwnames
[] = {
29761 (char *) "self",(char *) "id", NULL
29764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
29765 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29766 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29767 arg2
= (int) SWIG_AsInt(obj1
);
29768 if (PyErr_Occurred()) SWIG_fail
;
29770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29771 result
= (bool)(arg1
)->Delete(arg2
);
29773 wxPyEndAllowThreads(__tstate
);
29774 if (PyErr_Occurred()) SWIG_fail
;
29777 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29785 static PyObject
*_wrap_Menu_DeleteItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29786 PyObject
*resultobj
;
29787 wxMenu
*arg1
= (wxMenu
*) 0 ;
29788 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
29790 PyObject
* obj0
= 0 ;
29791 PyObject
* obj1
= 0 ;
29792 char *kwnames
[] = {
29793 (char *) "self",(char *) "item", NULL
29796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DeleteItem",kwnames
,&obj0
,&obj1
)) goto fail
;
29797 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29798 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29799 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
29800 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29803 result
= (bool)(arg1
)->Delete(arg2
);
29805 wxPyEndAllowThreads(__tstate
);
29806 if (PyErr_Occurred()) SWIG_fail
;
29809 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29817 static PyObject
*_wrap_Menu_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29818 PyObject
*resultobj
;
29819 wxMenu
*arg1
= (wxMenu
*) 0 ;
29820 PyObject
* obj0
= 0 ;
29821 char *kwnames
[] = {
29822 (char *) "self", NULL
29825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Destroy",kwnames
,&obj0
)) goto fail
;
29826 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29827 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29830 wxMenu_Destroy(arg1
);
29832 wxPyEndAllowThreads(__tstate
);
29833 if (PyErr_Occurred()) SWIG_fail
;
29835 Py_INCREF(Py_None
); resultobj
= Py_None
;
29842 static PyObject
*_wrap_Menu_DestroyId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29843 PyObject
*resultobj
;
29844 wxMenu
*arg1
= (wxMenu
*) 0 ;
29847 PyObject
* obj0
= 0 ;
29848 PyObject
* obj1
= 0 ;
29849 char *kwnames
[] = {
29850 (char *) "self",(char *) "id", NULL
29853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DestroyId",kwnames
,&obj0
,&obj1
)) goto fail
;
29854 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29855 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29856 arg2
= (int) SWIG_AsInt(obj1
);
29857 if (PyErr_Occurred()) SWIG_fail
;
29859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29860 result
= (bool)(arg1
)->Destroy(arg2
);
29862 wxPyEndAllowThreads(__tstate
);
29863 if (PyErr_Occurred()) SWIG_fail
;
29866 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29874 static PyObject
*_wrap_Menu_DestroyItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29875 PyObject
*resultobj
;
29876 wxMenu
*arg1
= (wxMenu
*) 0 ;
29877 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
29879 PyObject
* obj0
= 0 ;
29880 PyObject
* obj1
= 0 ;
29881 char *kwnames
[] = {
29882 (char *) "self",(char *) "item", NULL
29885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DestroyItem",kwnames
,&obj0
,&obj1
)) goto fail
;
29886 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29887 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29888 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
29889 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29892 result
= (bool)(arg1
)->Destroy(arg2
);
29894 wxPyEndAllowThreads(__tstate
);
29895 if (PyErr_Occurred()) SWIG_fail
;
29898 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29906 static PyObject
*_wrap_Menu_GetMenuItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29907 PyObject
*resultobj
;
29908 wxMenu
*arg1
= (wxMenu
*) 0 ;
29910 PyObject
* obj0
= 0 ;
29911 char *kwnames
[] = {
29912 (char *) "self", NULL
29915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuItemCount",kwnames
,&obj0
)) goto fail
;
29916 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29917 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29920 result
= (size_t)((wxMenu
const *)arg1
)->GetMenuItemCount();
29922 wxPyEndAllowThreads(__tstate
);
29923 if (PyErr_Occurred()) SWIG_fail
;
29925 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
29932 static PyObject
*_wrap_Menu_GetMenuItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29933 PyObject
*resultobj
;
29934 wxMenu
*arg1
= (wxMenu
*) 0 ;
29936 PyObject
* obj0
= 0 ;
29937 char *kwnames
[] = {
29938 (char *) "self", NULL
29941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuItems",kwnames
,&obj0
)) goto fail
;
29942 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29943 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29946 result
= (PyObject
*)wxMenu_GetMenuItems(arg1
);
29948 wxPyEndAllowThreads(__tstate
);
29949 if (PyErr_Occurred()) SWIG_fail
;
29951 resultobj
= result
;
29958 static PyObject
*_wrap_Menu_FindItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29959 PyObject
*resultobj
;
29960 wxMenu
*arg1
= (wxMenu
*) 0 ;
29961 wxString
*arg2
= 0 ;
29963 bool temp2
= False
;
29964 PyObject
* obj0
= 0 ;
29965 PyObject
* obj1
= 0 ;
29966 char *kwnames
[] = {
29967 (char *) "self",(char *) "item", NULL
29970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItem",kwnames
,&obj0
,&obj1
)) goto fail
;
29971 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29972 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29974 arg2
= wxString_in_helper(obj1
);
29975 if (arg2
== NULL
) SWIG_fail
;
29979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29980 result
= (int)((wxMenu
const *)arg1
)->FindItem((wxString
const &)*arg2
);
29982 wxPyEndAllowThreads(__tstate
);
29983 if (PyErr_Occurred()) SWIG_fail
;
29985 resultobj
= SWIG_FromInt((int)result
);
30000 static PyObject
*_wrap_Menu_FindItemById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30001 PyObject
*resultobj
;
30002 wxMenu
*arg1
= (wxMenu
*) 0 ;
30004 wxMenuItem
*result
;
30005 PyObject
* obj0
= 0 ;
30006 PyObject
* obj1
= 0 ;
30007 char *kwnames
[] = {
30008 (char *) "self",(char *) "id", NULL
30011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItemById",kwnames
,&obj0
,&obj1
)) goto fail
;
30012 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30013 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30014 arg2
= (int) SWIG_AsInt(obj1
);
30015 if (PyErr_Occurred()) SWIG_fail
;
30017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30018 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItem(arg2
);
30020 wxPyEndAllowThreads(__tstate
);
30021 if (PyErr_Occurred()) SWIG_fail
;
30024 resultobj
= wxPyMake_wxObject(result
);
30032 static PyObject
*_wrap_Menu_FindItemByPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30033 PyObject
*resultobj
;
30034 wxMenu
*arg1
= (wxMenu
*) 0 ;
30036 wxMenuItem
*result
;
30037 PyObject
* obj0
= 0 ;
30038 PyObject
* obj1
= 0 ;
30039 char *kwnames
[] = {
30040 (char *) "self",(char *) "position", NULL
30043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItemByPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
30044 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30045 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30046 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
30047 if (PyErr_Occurred()) SWIG_fail
;
30049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30050 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItemByPosition(arg2
);
30052 wxPyEndAllowThreads(__tstate
);
30053 if (PyErr_Occurred()) SWIG_fail
;
30056 resultobj
= wxPyMake_wxObject(result
);
30064 static PyObject
*_wrap_Menu_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30065 PyObject
*resultobj
;
30066 wxMenu
*arg1
= (wxMenu
*) 0 ;
30069 PyObject
* obj0
= 0 ;
30070 PyObject
* obj1
= 0 ;
30071 PyObject
* obj2
= 0 ;
30072 char *kwnames
[] = {
30073 (char *) "self",(char *) "id",(char *) "enable", NULL
30076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_Enable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30077 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30078 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30079 arg2
= (int) SWIG_AsInt(obj1
);
30080 if (PyErr_Occurred()) SWIG_fail
;
30081 arg3
= (bool) SWIG_AsBool(obj2
);
30082 if (PyErr_Occurred()) SWIG_fail
;
30084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30085 (arg1
)->Enable(arg2
,arg3
);
30087 wxPyEndAllowThreads(__tstate
);
30088 if (PyErr_Occurred()) SWIG_fail
;
30090 Py_INCREF(Py_None
); resultobj
= Py_None
;
30097 static PyObject
*_wrap_Menu_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30098 PyObject
*resultobj
;
30099 wxMenu
*arg1
= (wxMenu
*) 0 ;
30102 PyObject
* obj0
= 0 ;
30103 PyObject
* obj1
= 0 ;
30104 char *kwnames
[] = {
30105 (char *) "self",(char *) "id", NULL
30108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_IsEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
30109 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30110 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30111 arg2
= (int) SWIG_AsInt(obj1
);
30112 if (PyErr_Occurred()) SWIG_fail
;
30114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30115 result
= (bool)((wxMenu
const *)arg1
)->IsEnabled(arg2
);
30117 wxPyEndAllowThreads(__tstate
);
30118 if (PyErr_Occurred()) SWIG_fail
;
30121 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30129 static PyObject
*_wrap_Menu_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30130 PyObject
*resultobj
;
30131 wxMenu
*arg1
= (wxMenu
*) 0 ;
30134 PyObject
* obj0
= 0 ;
30135 PyObject
* obj1
= 0 ;
30136 PyObject
* obj2
= 0 ;
30137 char *kwnames
[] = {
30138 (char *) "self",(char *) "id",(char *) "check", NULL
30141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30142 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30143 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30144 arg2
= (int) SWIG_AsInt(obj1
);
30145 if (PyErr_Occurred()) SWIG_fail
;
30146 arg3
= (bool) SWIG_AsBool(obj2
);
30147 if (PyErr_Occurred()) SWIG_fail
;
30149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30150 (arg1
)->Check(arg2
,arg3
);
30152 wxPyEndAllowThreads(__tstate
);
30153 if (PyErr_Occurred()) SWIG_fail
;
30155 Py_INCREF(Py_None
); resultobj
= Py_None
;
30162 static PyObject
*_wrap_Menu_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30163 PyObject
*resultobj
;
30164 wxMenu
*arg1
= (wxMenu
*) 0 ;
30167 PyObject
* obj0
= 0 ;
30168 PyObject
* obj1
= 0 ;
30169 char *kwnames
[] = {
30170 (char *) "self",(char *) "id", NULL
30173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
30174 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30175 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30176 arg2
= (int) SWIG_AsInt(obj1
);
30177 if (PyErr_Occurred()) SWIG_fail
;
30179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30180 result
= (bool)((wxMenu
const *)arg1
)->IsChecked(arg2
);
30182 wxPyEndAllowThreads(__tstate
);
30183 if (PyErr_Occurred()) SWIG_fail
;
30186 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30194 static PyObject
*_wrap_Menu_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30195 PyObject
*resultobj
;
30196 wxMenu
*arg1
= (wxMenu
*) 0 ;
30198 wxString
*arg3
= 0 ;
30199 bool temp3
= False
;
30200 PyObject
* obj0
= 0 ;
30201 PyObject
* obj1
= 0 ;
30202 PyObject
* obj2
= 0 ;
30203 char *kwnames
[] = {
30204 (char *) "self",(char *) "id",(char *) "label", NULL
30207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_SetLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30208 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30209 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30210 arg2
= (int) SWIG_AsInt(obj1
);
30211 if (PyErr_Occurred()) SWIG_fail
;
30213 arg3
= wxString_in_helper(obj2
);
30214 if (arg3
== NULL
) SWIG_fail
;
30218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30219 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
30221 wxPyEndAllowThreads(__tstate
);
30222 if (PyErr_Occurred()) SWIG_fail
;
30224 Py_INCREF(Py_None
); resultobj
= Py_None
;
30239 static PyObject
*_wrap_Menu_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30240 PyObject
*resultobj
;
30241 wxMenu
*arg1
= (wxMenu
*) 0 ;
30244 PyObject
* obj0
= 0 ;
30245 PyObject
* obj1
= 0 ;
30246 char *kwnames
[] = {
30247 (char *) "self",(char *) "id", NULL
30250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_GetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
30251 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30252 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30253 arg2
= (int) SWIG_AsInt(obj1
);
30254 if (PyErr_Occurred()) SWIG_fail
;
30256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30257 result
= ((wxMenu
const *)arg1
)->GetLabel(arg2
);
30259 wxPyEndAllowThreads(__tstate
);
30260 if (PyErr_Occurred()) SWIG_fail
;
30264 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30266 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30275 static PyObject
*_wrap_Menu_SetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30276 PyObject
*resultobj
;
30277 wxMenu
*arg1
= (wxMenu
*) 0 ;
30279 wxString
*arg3
= 0 ;
30280 bool temp3
= False
;
30281 PyObject
* obj0
= 0 ;
30282 PyObject
* obj1
= 0 ;
30283 PyObject
* obj2
= 0 ;
30284 char *kwnames
[] = {
30285 (char *) "self",(char *) "id",(char *) "helpString", NULL
30288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_SetHelpString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30289 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30290 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30291 arg2
= (int) SWIG_AsInt(obj1
);
30292 if (PyErr_Occurred()) SWIG_fail
;
30294 arg3
= wxString_in_helper(obj2
);
30295 if (arg3
== NULL
) SWIG_fail
;
30299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30300 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
30302 wxPyEndAllowThreads(__tstate
);
30303 if (PyErr_Occurred()) SWIG_fail
;
30305 Py_INCREF(Py_None
); resultobj
= Py_None
;
30320 static PyObject
*_wrap_Menu_GetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30321 PyObject
*resultobj
;
30322 wxMenu
*arg1
= (wxMenu
*) 0 ;
30325 PyObject
* obj0
= 0 ;
30326 PyObject
* obj1
= 0 ;
30327 char *kwnames
[] = {
30328 (char *) "self",(char *) "id", NULL
30331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_GetHelpString",kwnames
,&obj0
,&obj1
)) goto fail
;
30332 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30333 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30334 arg2
= (int) SWIG_AsInt(obj1
);
30335 if (PyErr_Occurred()) SWIG_fail
;
30337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30338 result
= ((wxMenu
const *)arg1
)->GetHelpString(arg2
);
30340 wxPyEndAllowThreads(__tstate
);
30341 if (PyErr_Occurred()) SWIG_fail
;
30345 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30347 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30356 static PyObject
*_wrap_Menu_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30357 PyObject
*resultobj
;
30358 wxMenu
*arg1
= (wxMenu
*) 0 ;
30359 wxString
*arg2
= 0 ;
30360 bool temp2
= False
;
30361 PyObject
* obj0
= 0 ;
30362 PyObject
* obj1
= 0 ;
30363 char *kwnames
[] = {
30364 (char *) "self",(char *) "title", NULL
30367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
30368 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30369 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30371 arg2
= wxString_in_helper(obj1
);
30372 if (arg2
== NULL
) SWIG_fail
;
30376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30377 (arg1
)->SetTitle((wxString
const &)*arg2
);
30379 wxPyEndAllowThreads(__tstate
);
30380 if (PyErr_Occurred()) SWIG_fail
;
30382 Py_INCREF(Py_None
); resultobj
= Py_None
;
30397 static PyObject
*_wrap_Menu_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30398 PyObject
*resultobj
;
30399 wxMenu
*arg1
= (wxMenu
*) 0 ;
30401 PyObject
* obj0
= 0 ;
30402 char *kwnames
[] = {
30403 (char *) "self", NULL
30406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetTitle",kwnames
,&obj0
)) goto fail
;
30407 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30408 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30411 result
= ((wxMenu
const *)arg1
)->GetTitle();
30413 wxPyEndAllowThreads(__tstate
);
30414 if (PyErr_Occurred()) SWIG_fail
;
30418 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30420 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30429 static PyObject
*_wrap_Menu_SetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30430 PyObject
*resultobj
;
30431 wxMenu
*arg1
= (wxMenu
*) 0 ;
30432 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
30433 PyObject
* obj0
= 0 ;
30434 PyObject
* obj1
= 0 ;
30435 char *kwnames
[] = {
30436 (char *) "self",(char *) "handler", NULL
30439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
30440 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30441 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30442 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
30443 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30446 (arg1
)->SetEventHandler(arg2
);
30448 wxPyEndAllowThreads(__tstate
);
30449 if (PyErr_Occurred()) SWIG_fail
;
30451 Py_INCREF(Py_None
); resultobj
= Py_None
;
30458 static PyObject
*_wrap_Menu_GetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30459 PyObject
*resultobj
;
30460 wxMenu
*arg1
= (wxMenu
*) 0 ;
30461 wxEvtHandler
*result
;
30462 PyObject
* obj0
= 0 ;
30463 char *kwnames
[] = {
30464 (char *) "self", NULL
30467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetEventHandler",kwnames
,&obj0
)) goto fail
;
30468 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30469 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30472 result
= (wxEvtHandler
*)((wxMenu
const *)arg1
)->GetEventHandler();
30474 wxPyEndAllowThreads(__tstate
);
30475 if (PyErr_Occurred()) SWIG_fail
;
30478 resultobj
= wxPyMake_wxObject(result
);
30486 static PyObject
*_wrap_Menu_SetInvokingWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30487 PyObject
*resultobj
;
30488 wxMenu
*arg1
= (wxMenu
*) 0 ;
30489 wxWindow
*arg2
= (wxWindow
*) 0 ;
30490 PyObject
* obj0
= 0 ;
30491 PyObject
* obj1
= 0 ;
30492 char *kwnames
[] = {
30493 (char *) "self",(char *) "win", NULL
30496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetInvokingWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
30497 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30498 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30499 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
30500 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30503 (arg1
)->SetInvokingWindow(arg2
);
30505 wxPyEndAllowThreads(__tstate
);
30506 if (PyErr_Occurred()) SWIG_fail
;
30508 Py_INCREF(Py_None
); resultobj
= Py_None
;
30515 static PyObject
*_wrap_Menu_GetInvokingWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30516 PyObject
*resultobj
;
30517 wxMenu
*arg1
= (wxMenu
*) 0 ;
30519 PyObject
* obj0
= 0 ;
30520 char *kwnames
[] = {
30521 (char *) "self", NULL
30524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetInvokingWindow",kwnames
,&obj0
)) goto fail
;
30525 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30526 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30529 result
= (wxWindow
*)((wxMenu
const *)arg1
)->GetInvokingWindow();
30531 wxPyEndAllowThreads(__tstate
);
30532 if (PyErr_Occurred()) SWIG_fail
;
30535 resultobj
= wxPyMake_wxObject(result
);
30543 static PyObject
*_wrap_Menu_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30544 PyObject
*resultobj
;
30545 wxMenu
*arg1
= (wxMenu
*) 0 ;
30547 PyObject
* obj0
= 0 ;
30548 char *kwnames
[] = {
30549 (char *) "self", NULL
30552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetStyle",kwnames
,&obj0
)) goto fail
;
30553 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30554 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30557 result
= (long)((wxMenu
const *)arg1
)->GetStyle();
30559 wxPyEndAllowThreads(__tstate
);
30560 if (PyErr_Occurred()) SWIG_fail
;
30562 resultobj
= SWIG_FromLong((long)result
);
30569 static PyObject
*_wrap_Menu_UpdateUI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30570 PyObject
*resultobj
;
30571 wxMenu
*arg1
= (wxMenu
*) 0 ;
30572 wxEvtHandler
*arg2
= (wxEvtHandler
*) NULL
;
30573 PyObject
* obj0
= 0 ;
30574 PyObject
* obj1
= 0 ;
30575 char *kwnames
[] = {
30576 (char *) "self",(char *) "source", NULL
30579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Menu_UpdateUI",kwnames
,&obj0
,&obj1
)) goto fail
;
30580 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30581 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30583 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
30584 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30588 (arg1
)->UpdateUI(arg2
);
30590 wxPyEndAllowThreads(__tstate
);
30591 if (PyErr_Occurred()) SWIG_fail
;
30593 Py_INCREF(Py_None
); resultobj
= Py_None
;
30600 static PyObject
*_wrap_Menu_GetMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30601 PyObject
*resultobj
;
30602 wxMenu
*arg1
= (wxMenu
*) 0 ;
30604 PyObject
* obj0
= 0 ;
30605 char *kwnames
[] = {
30606 (char *) "self", NULL
30609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuBar",kwnames
,&obj0
)) goto fail
;
30610 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30611 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30614 result
= (wxMenuBar
*)((wxMenu
const *)arg1
)->GetMenuBar();
30616 wxPyEndAllowThreads(__tstate
);
30617 if (PyErr_Occurred()) SWIG_fail
;
30620 resultobj
= wxPyMake_wxObject(result
);
30628 static PyObject
*_wrap_Menu_Attach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30629 PyObject
*resultobj
;
30630 wxMenu
*arg1
= (wxMenu
*) 0 ;
30631 wxMenuBarBase
*arg2
= (wxMenuBarBase
*) 0 ;
30632 PyObject
* obj0
= 0 ;
30633 PyObject
* obj1
= 0 ;
30634 char *kwnames
[] = {
30635 (char *) "self",(char *) "menubar", NULL
30638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
30639 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30640 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30641 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuBarBase
,
30642 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30645 (arg1
)->Attach(arg2
);
30647 wxPyEndAllowThreads(__tstate
);
30648 if (PyErr_Occurred()) SWIG_fail
;
30650 Py_INCREF(Py_None
); resultobj
= Py_None
;
30657 static PyObject
*_wrap_Menu_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30658 PyObject
*resultobj
;
30659 wxMenu
*arg1
= (wxMenu
*) 0 ;
30660 PyObject
* obj0
= 0 ;
30661 char *kwnames
[] = {
30662 (char *) "self", NULL
30665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Detach",kwnames
,&obj0
)) goto fail
;
30666 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30667 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30672 wxPyEndAllowThreads(__tstate
);
30673 if (PyErr_Occurred()) SWIG_fail
;
30675 Py_INCREF(Py_None
); resultobj
= Py_None
;
30682 static PyObject
*_wrap_Menu_IsAttached(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30683 PyObject
*resultobj
;
30684 wxMenu
*arg1
= (wxMenu
*) 0 ;
30686 PyObject
* obj0
= 0 ;
30687 char *kwnames
[] = {
30688 (char *) "self", NULL
30691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_IsAttached",kwnames
,&obj0
)) goto fail
;
30692 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30693 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30696 result
= (bool)((wxMenu
const *)arg1
)->IsAttached();
30698 wxPyEndAllowThreads(__tstate
);
30699 if (PyErr_Occurred()) SWIG_fail
;
30702 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30710 static PyObject
*_wrap_Menu_SetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30711 PyObject
*resultobj
;
30712 wxMenu
*arg1
= (wxMenu
*) 0 ;
30713 wxMenu
*arg2
= (wxMenu
*) 0 ;
30714 PyObject
* obj0
= 0 ;
30715 PyObject
* obj1
= 0 ;
30716 char *kwnames
[] = {
30717 (char *) "self",(char *) "parent", NULL
30720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetParent",kwnames
,&obj0
,&obj1
)) goto fail
;
30721 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30722 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30723 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
30724 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30727 (arg1
)->SetParent(arg2
);
30729 wxPyEndAllowThreads(__tstate
);
30730 if (PyErr_Occurred()) SWIG_fail
;
30732 Py_INCREF(Py_None
); resultobj
= Py_None
;
30739 static PyObject
*_wrap_Menu_GetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30740 PyObject
*resultobj
;
30741 wxMenu
*arg1
= (wxMenu
*) 0 ;
30743 PyObject
* obj0
= 0 ;
30744 char *kwnames
[] = {
30745 (char *) "self", NULL
30748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetParent",kwnames
,&obj0
)) goto fail
;
30749 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30750 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30753 result
= (wxMenu
*)((wxMenu
const *)arg1
)->GetParent();
30755 wxPyEndAllowThreads(__tstate
);
30756 if (PyErr_Occurred()) SWIG_fail
;
30759 resultobj
= wxPyMake_wxObject(result
);
30767 static PyObject
* Menu_swigregister(PyObject
*self
, PyObject
*args
) {
30769 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30770 SWIG_TypeClientData(SWIGTYPE_p_wxMenu
, obj
);
30772 return Py_BuildValue((char *)"");
30774 static PyObject
*_wrap_new_MenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30775 PyObject
*resultobj
;
30776 long arg1
= (long) 0 ;
30778 PyObject
* obj0
= 0 ;
30779 char *kwnames
[] = {
30780 (char *) "style", NULL
30783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MenuBar",kwnames
,&obj0
)) goto fail
;
30785 arg1
= (long) SWIG_AsLong(obj0
);
30786 if (PyErr_Occurred()) SWIG_fail
;
30789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30790 result
= (wxMenuBar
*)new wxMenuBar(arg1
);
30792 wxPyEndAllowThreads(__tstate
);
30793 if (PyErr_Occurred()) SWIG_fail
;
30796 resultobj
= wxPyMake_wxObject(result
);
30804 static PyObject
*_wrap_MenuBar_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30805 PyObject
*resultobj
;
30806 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30807 wxMenu
*arg2
= (wxMenu
*) 0 ;
30808 wxString
*arg3
= 0 ;
30810 bool temp3
= False
;
30811 PyObject
* obj0
= 0 ;
30812 PyObject
* obj1
= 0 ;
30813 PyObject
* obj2
= 0 ;
30814 char *kwnames
[] = {
30815 (char *) "self",(char *) "menu",(char *) "title", NULL
30818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Append",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30819 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30820 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30821 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
30822 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30824 arg3
= wxString_in_helper(obj2
);
30825 if (arg3
== NULL
) SWIG_fail
;
30829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30830 result
= (bool)(arg1
)->Append(arg2
,(wxString
const &)*arg3
);
30832 wxPyEndAllowThreads(__tstate
);
30833 if (PyErr_Occurred()) SWIG_fail
;
30836 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30852 static PyObject
*_wrap_MenuBar_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30853 PyObject
*resultobj
;
30854 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30856 wxMenu
*arg3
= (wxMenu
*) 0 ;
30857 wxString
*arg4
= 0 ;
30859 bool temp4
= False
;
30860 PyObject
* obj0
= 0 ;
30861 PyObject
* obj1
= 0 ;
30862 PyObject
* obj2
= 0 ;
30863 PyObject
* obj3
= 0 ;
30864 char *kwnames
[] = {
30865 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
30868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30869 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30870 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30871 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
30872 if (PyErr_Occurred()) SWIG_fail
;
30873 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMenu
,
30874 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30876 arg4
= wxString_in_helper(obj3
);
30877 if (arg4
== NULL
) SWIG_fail
;
30881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30882 result
= (bool)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
);
30884 wxPyEndAllowThreads(__tstate
);
30885 if (PyErr_Occurred()) SWIG_fail
;
30888 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30904 static PyObject
*_wrap_MenuBar_GetMenuCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30905 PyObject
*resultobj
;
30906 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30908 PyObject
* obj0
= 0 ;
30909 char *kwnames
[] = {
30910 (char *) "self", NULL
30913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_GetMenuCount",kwnames
,&obj0
)) goto fail
;
30914 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30915 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30918 result
= (size_t)((wxMenuBar
const *)arg1
)->GetMenuCount();
30920 wxPyEndAllowThreads(__tstate
);
30921 if (PyErr_Occurred()) SWIG_fail
;
30923 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
30930 static PyObject
*_wrap_MenuBar_GetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30931 PyObject
*resultobj
;
30932 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30935 PyObject
* obj0
= 0 ;
30936 PyObject
* obj1
= 0 ;
30937 char *kwnames
[] = {
30938 (char *) "self",(char *) "pos", NULL
30941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
30942 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30943 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30944 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
30945 if (PyErr_Occurred()) SWIG_fail
;
30947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30948 result
= (wxMenu
*)((wxMenuBar
const *)arg1
)->GetMenu(arg2
);
30950 wxPyEndAllowThreads(__tstate
);
30951 if (PyErr_Occurred()) SWIG_fail
;
30954 resultobj
= wxPyMake_wxObject(result
);
30962 static PyObject
*_wrap_MenuBar_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30963 PyObject
*resultobj
;
30964 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30966 wxMenu
*arg3
= (wxMenu
*) 0 ;
30967 wxString
*arg4
= 0 ;
30969 bool temp4
= False
;
30970 PyObject
* obj0
= 0 ;
30971 PyObject
* obj1
= 0 ;
30972 PyObject
* obj2
= 0 ;
30973 PyObject
* obj3
= 0 ;
30974 char *kwnames
[] = {
30975 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
30978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30979 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30980 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30981 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
30982 if (PyErr_Occurred()) SWIG_fail
;
30983 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMenu
,
30984 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30986 arg4
= wxString_in_helper(obj3
);
30987 if (arg4
== NULL
) SWIG_fail
;
30991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30992 result
= (wxMenu
*)(arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
30994 wxPyEndAllowThreads(__tstate
);
30995 if (PyErr_Occurred()) SWIG_fail
;
30998 resultobj
= wxPyMake_wxObject(result
);
31014 static PyObject
*_wrap_MenuBar_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31015 PyObject
*resultobj
;
31016 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31019 PyObject
* obj0
= 0 ;
31020 PyObject
* obj1
= 0 ;
31021 char *kwnames
[] = {
31022 (char *) "self",(char *) "pos", NULL
31025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
31026 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31027 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31028 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
31029 if (PyErr_Occurred()) SWIG_fail
;
31031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31032 result
= (wxMenu
*)(arg1
)->Remove(arg2
);
31034 wxPyEndAllowThreads(__tstate
);
31035 if (PyErr_Occurred()) SWIG_fail
;
31038 resultobj
= wxPyMake_wxObject(result
);
31046 static PyObject
*_wrap_MenuBar_EnableTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31047 PyObject
*resultobj
;
31048 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31051 PyObject
* obj0
= 0 ;
31052 PyObject
* obj1
= 0 ;
31053 PyObject
* obj2
= 0 ;
31054 char *kwnames
[] = {
31055 (char *) "self",(char *) "pos",(char *) "enable", NULL
31058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_EnableTop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31059 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31060 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31061 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
31062 if (PyErr_Occurred()) SWIG_fail
;
31063 arg3
= (bool) SWIG_AsBool(obj2
);
31064 if (PyErr_Occurred()) SWIG_fail
;
31066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31067 (arg1
)->EnableTop(arg2
,arg3
);
31069 wxPyEndAllowThreads(__tstate
);
31070 if (PyErr_Occurred()) SWIG_fail
;
31072 Py_INCREF(Py_None
); resultobj
= Py_None
;
31079 static PyObject
*_wrap_MenuBar_IsEnabledTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31080 PyObject
*resultobj
;
31081 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31084 PyObject
* obj0
= 0 ;
31085 PyObject
* obj1
= 0 ;
31086 char *kwnames
[] = {
31087 (char *) "self",(char *) "pos", NULL
31090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsEnabledTop",kwnames
,&obj0
,&obj1
)) goto fail
;
31091 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31092 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31093 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
31094 if (PyErr_Occurred()) SWIG_fail
;
31096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31097 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabledTop(arg2
);
31099 wxPyEndAllowThreads(__tstate
);
31100 if (PyErr_Occurred()) SWIG_fail
;
31103 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31111 static PyObject
*_wrap_MenuBar_SetLabelTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31112 PyObject
*resultobj
;
31113 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31115 wxString
*arg3
= 0 ;
31116 bool temp3
= False
;
31117 PyObject
* obj0
= 0 ;
31118 PyObject
* obj1
= 0 ;
31119 PyObject
* obj2
= 0 ;
31120 char *kwnames
[] = {
31121 (char *) "self",(char *) "pos",(char *) "label", NULL
31124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetLabelTop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31125 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31126 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31127 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
31128 if (PyErr_Occurred()) SWIG_fail
;
31130 arg3
= wxString_in_helper(obj2
);
31131 if (arg3
== NULL
) SWIG_fail
;
31135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31136 (arg1
)->SetLabelTop(arg2
,(wxString
const &)*arg3
);
31138 wxPyEndAllowThreads(__tstate
);
31139 if (PyErr_Occurred()) SWIG_fail
;
31141 Py_INCREF(Py_None
); resultobj
= Py_None
;
31156 static PyObject
*_wrap_MenuBar_GetLabelTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31157 PyObject
*resultobj
;
31158 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31161 PyObject
* obj0
= 0 ;
31162 PyObject
* obj1
= 0 ;
31163 char *kwnames
[] = {
31164 (char *) "self",(char *) "pos", NULL
31167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetLabelTop",kwnames
,&obj0
,&obj1
)) goto fail
;
31168 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31169 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31170 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
31171 if (PyErr_Occurred()) SWIG_fail
;
31173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31174 result
= ((wxMenuBar
const *)arg1
)->GetLabelTop(arg2
);
31176 wxPyEndAllowThreads(__tstate
);
31177 if (PyErr_Occurred()) SWIG_fail
;
31181 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31183 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31192 static PyObject
*_wrap_MenuBar_FindMenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31193 PyObject
*resultobj
;
31194 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31195 wxString
*arg2
= 0 ;
31196 wxString
*arg3
= 0 ;
31198 bool temp2
= False
;
31199 bool temp3
= False
;
31200 PyObject
* obj0
= 0 ;
31201 PyObject
* obj1
= 0 ;
31202 PyObject
* obj2
= 0 ;
31203 char *kwnames
[] = {
31204 (char *) "self",(char *) "menu",(char *) "item", NULL
31207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_FindMenuItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31208 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31209 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31211 arg2
= wxString_in_helper(obj1
);
31212 if (arg2
== NULL
) SWIG_fail
;
31216 arg3
= wxString_in_helper(obj2
);
31217 if (arg3
== NULL
) SWIG_fail
;
31221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31222 result
= (int)((wxMenuBar
const *)arg1
)->FindMenuItem((wxString
const &)*arg2
,(wxString
const &)*arg3
);
31224 wxPyEndAllowThreads(__tstate
);
31225 if (PyErr_Occurred()) SWIG_fail
;
31227 resultobj
= SWIG_FromInt((int)result
);
31250 static PyObject
*_wrap_MenuBar_FindItemById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31251 PyObject
*resultobj
;
31252 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31254 wxMenuItem
*result
;
31255 PyObject
* obj0
= 0 ;
31256 PyObject
* obj1
= 0 ;
31257 char *kwnames
[] = {
31258 (char *) "self",(char *) "id", NULL
31261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_FindItemById",kwnames
,&obj0
,&obj1
)) goto fail
;
31262 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31263 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31264 arg2
= (int) SWIG_AsInt(obj1
);
31265 if (PyErr_Occurred()) SWIG_fail
;
31267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31268 result
= (wxMenuItem
*)((wxMenuBar
const *)arg1
)->FindItem(arg2
);
31270 wxPyEndAllowThreads(__tstate
);
31271 if (PyErr_Occurred()) SWIG_fail
;
31274 resultobj
= wxPyMake_wxObject(result
);
31282 static PyObject
*_wrap_MenuBar_FindMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31283 PyObject
*resultobj
;
31284 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31285 wxString
*arg2
= 0 ;
31287 bool temp2
= False
;
31288 PyObject
* obj0
= 0 ;
31289 PyObject
* obj1
= 0 ;
31290 char *kwnames
[] = {
31291 (char *) "self",(char *) "title", NULL
31294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_FindMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
31295 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31296 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31298 arg2
= wxString_in_helper(obj1
);
31299 if (arg2
== NULL
) SWIG_fail
;
31303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31304 result
= (int)((wxMenuBar
const *)arg1
)->FindMenu((wxString
const &)*arg2
);
31306 wxPyEndAllowThreads(__tstate
);
31307 if (PyErr_Occurred()) SWIG_fail
;
31309 resultobj
= SWIG_FromInt((int)result
);
31324 static PyObject
*_wrap_MenuBar_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31325 PyObject
*resultobj
;
31326 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31329 PyObject
* obj0
= 0 ;
31330 PyObject
* obj1
= 0 ;
31331 PyObject
* obj2
= 0 ;
31332 char *kwnames
[] = {
31333 (char *) "self",(char *) "id",(char *) "enable", NULL
31336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Enable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31337 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31338 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31339 arg2
= (int) SWIG_AsInt(obj1
);
31340 if (PyErr_Occurred()) SWIG_fail
;
31341 arg3
= (bool) SWIG_AsBool(obj2
);
31342 if (PyErr_Occurred()) SWIG_fail
;
31344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31345 (arg1
)->Enable(arg2
,arg3
);
31347 wxPyEndAllowThreads(__tstate
);
31348 if (PyErr_Occurred()) SWIG_fail
;
31350 Py_INCREF(Py_None
); resultobj
= Py_None
;
31357 static PyObject
*_wrap_MenuBar_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31358 PyObject
*resultobj
;
31359 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31362 PyObject
* obj0
= 0 ;
31363 PyObject
* obj1
= 0 ;
31364 PyObject
* obj2
= 0 ;
31365 char *kwnames
[] = {
31366 (char *) "self",(char *) "id",(char *) "check", NULL
31369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31370 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31371 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31372 arg2
= (int) SWIG_AsInt(obj1
);
31373 if (PyErr_Occurred()) SWIG_fail
;
31374 arg3
= (bool) SWIG_AsBool(obj2
);
31375 if (PyErr_Occurred()) SWIG_fail
;
31377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31378 (arg1
)->Check(arg2
,arg3
);
31380 wxPyEndAllowThreads(__tstate
);
31381 if (PyErr_Occurred()) SWIG_fail
;
31383 Py_INCREF(Py_None
); resultobj
= Py_None
;
31390 static PyObject
*_wrap_MenuBar_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31391 PyObject
*resultobj
;
31392 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31395 PyObject
* obj0
= 0 ;
31396 PyObject
* obj1
= 0 ;
31397 char *kwnames
[] = {
31398 (char *) "self",(char *) "id", NULL
31401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
31402 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31403 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31404 arg2
= (int) SWIG_AsInt(obj1
);
31405 if (PyErr_Occurred()) SWIG_fail
;
31407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31408 result
= (bool)((wxMenuBar
const *)arg1
)->IsChecked(arg2
);
31410 wxPyEndAllowThreads(__tstate
);
31411 if (PyErr_Occurred()) SWIG_fail
;
31414 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31422 static PyObject
*_wrap_MenuBar_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31423 PyObject
*resultobj
;
31424 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31427 PyObject
* obj0
= 0 ;
31428 PyObject
* obj1
= 0 ;
31429 char *kwnames
[] = {
31430 (char *) "self",(char *) "id", NULL
31433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
31434 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31435 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31436 arg2
= (int) SWIG_AsInt(obj1
);
31437 if (PyErr_Occurred()) SWIG_fail
;
31439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31440 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabled(arg2
);
31442 wxPyEndAllowThreads(__tstate
);
31443 if (PyErr_Occurred()) SWIG_fail
;
31446 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31454 static PyObject
*_wrap_MenuBar_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31455 PyObject
*resultobj
;
31456 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31458 wxString
*arg3
= 0 ;
31459 bool temp3
= False
;
31460 PyObject
* obj0
= 0 ;
31461 PyObject
* obj1
= 0 ;
31462 PyObject
* obj2
= 0 ;
31463 char *kwnames
[] = {
31464 (char *) "self",(char *) "id",(char *) "label", NULL
31467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31468 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31469 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31470 arg2
= (int) SWIG_AsInt(obj1
);
31471 if (PyErr_Occurred()) SWIG_fail
;
31473 arg3
= wxString_in_helper(obj2
);
31474 if (arg3
== NULL
) SWIG_fail
;
31478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31479 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
31481 wxPyEndAllowThreads(__tstate
);
31482 if (PyErr_Occurred()) SWIG_fail
;
31484 Py_INCREF(Py_None
); resultobj
= Py_None
;
31499 static PyObject
*_wrap_MenuBar_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31500 PyObject
*resultobj
;
31501 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31504 PyObject
* obj0
= 0 ;
31505 PyObject
* obj1
= 0 ;
31506 char *kwnames
[] = {
31507 (char *) "self",(char *) "id", NULL
31510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
31511 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31512 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31513 arg2
= (int) SWIG_AsInt(obj1
);
31514 if (PyErr_Occurred()) SWIG_fail
;
31516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31517 result
= ((wxMenuBar
const *)arg1
)->GetLabel(arg2
);
31519 wxPyEndAllowThreads(__tstate
);
31520 if (PyErr_Occurred()) SWIG_fail
;
31524 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31526 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31535 static PyObject
*_wrap_MenuBar_SetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31536 PyObject
*resultobj
;
31537 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31539 wxString
*arg3
= 0 ;
31540 bool temp3
= False
;
31541 PyObject
* obj0
= 0 ;
31542 PyObject
* obj1
= 0 ;
31543 PyObject
* obj2
= 0 ;
31544 char *kwnames
[] = {
31545 (char *) "self",(char *) "id",(char *) "helpString", NULL
31548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetHelpString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31549 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31550 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31551 arg2
= (int) SWIG_AsInt(obj1
);
31552 if (PyErr_Occurred()) SWIG_fail
;
31554 arg3
= wxString_in_helper(obj2
);
31555 if (arg3
== NULL
) SWIG_fail
;
31559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31560 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
31562 wxPyEndAllowThreads(__tstate
);
31563 if (PyErr_Occurred()) SWIG_fail
;
31565 Py_INCREF(Py_None
); resultobj
= Py_None
;
31580 static PyObject
*_wrap_MenuBar_GetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31581 PyObject
*resultobj
;
31582 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31585 PyObject
* obj0
= 0 ;
31586 PyObject
* obj1
= 0 ;
31587 char *kwnames
[] = {
31588 (char *) "self",(char *) "id", NULL
31591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetHelpString",kwnames
,&obj0
,&obj1
)) goto fail
;
31592 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31593 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31594 arg2
= (int) SWIG_AsInt(obj1
);
31595 if (PyErr_Occurred()) SWIG_fail
;
31597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31598 result
= ((wxMenuBar
const *)arg1
)->GetHelpString(arg2
);
31600 wxPyEndAllowThreads(__tstate
);
31601 if (PyErr_Occurred()) SWIG_fail
;
31605 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31607 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31616 static PyObject
*_wrap_MenuBar_GetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31617 PyObject
*resultobj
;
31618 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31620 PyObject
* obj0
= 0 ;
31621 char *kwnames
[] = {
31622 (char *) "self", NULL
31625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_GetFrame",kwnames
,&obj0
)) goto fail
;
31626 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31627 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31630 result
= (wxFrame
*)((wxMenuBar
const *)arg1
)->GetFrame();
31632 wxPyEndAllowThreads(__tstate
);
31633 if (PyErr_Occurred()) SWIG_fail
;
31636 resultobj
= wxPyMake_wxObject(result
);
31644 static PyObject
*_wrap_MenuBar_IsAttached(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31645 PyObject
*resultobj
;
31646 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31648 PyObject
* obj0
= 0 ;
31649 char *kwnames
[] = {
31650 (char *) "self", NULL
31653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_IsAttached",kwnames
,&obj0
)) goto fail
;
31654 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31655 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31658 result
= (bool)((wxMenuBar
const *)arg1
)->IsAttached();
31660 wxPyEndAllowThreads(__tstate
);
31661 if (PyErr_Occurred()) SWIG_fail
;
31664 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31672 static PyObject
*_wrap_MenuBar_Attach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31673 PyObject
*resultobj
;
31674 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31675 wxFrame
*arg2
= (wxFrame
*) 0 ;
31676 PyObject
* obj0
= 0 ;
31677 PyObject
* obj1
= 0 ;
31678 char *kwnames
[] = {
31679 (char *) "self",(char *) "frame", NULL
31682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
31683 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31684 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31685 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
31686 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31689 (arg1
)->Attach(arg2
);
31691 wxPyEndAllowThreads(__tstate
);
31692 if (PyErr_Occurred()) SWIG_fail
;
31694 Py_INCREF(Py_None
); resultobj
= Py_None
;
31701 static PyObject
*_wrap_MenuBar_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31702 PyObject
*resultobj
;
31703 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31704 PyObject
* obj0
= 0 ;
31705 char *kwnames
[] = {
31706 (char *) "self", NULL
31709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_Detach",kwnames
,&obj0
)) goto fail
;
31710 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31711 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31716 wxPyEndAllowThreads(__tstate
);
31717 if (PyErr_Occurred()) SWIG_fail
;
31719 Py_INCREF(Py_None
); resultobj
= Py_None
;
31726 static PyObject
* MenuBar_swigregister(PyObject
*self
, PyObject
*args
) {
31728 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31729 SWIG_TypeClientData(SWIGTYPE_p_wxMenuBar
, obj
);
31731 return Py_BuildValue((char *)"");
31733 static PyObject
*_wrap_new_MenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31734 PyObject
*resultobj
;
31735 wxMenu
*arg1
= (wxMenu
*) NULL
;
31736 int arg2
= (int) wxID_ANY
;
31737 wxString
const &arg3_defvalue
= wxPyEmptyString
;
31738 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
31739 wxString
const &arg4_defvalue
= wxPyEmptyString
;
31740 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
31741 int arg5
= (int) wxITEM_NORMAL
;
31742 wxMenu
*arg6
= (wxMenu
*) NULL
;
31743 wxMenuItem
*result
;
31744 bool temp3
= False
;
31745 bool temp4
= False
;
31746 PyObject
* obj0
= 0 ;
31747 PyObject
* obj1
= 0 ;
31748 PyObject
* obj2
= 0 ;
31749 PyObject
* obj3
= 0 ;
31750 PyObject
* obj4
= 0 ;
31751 PyObject
* obj5
= 0 ;
31752 char *kwnames
[] = {
31753 (char *) "parentMenu",(char *) "id",(char *) "text",(char *) "help",(char *) "kind",(char *) "subMenu", NULL
31756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOO:new_MenuItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
31758 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31759 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31762 arg2
= (int) SWIG_AsInt(obj1
);
31763 if (PyErr_Occurred()) SWIG_fail
;
31767 arg3
= wxString_in_helper(obj2
);
31768 if (arg3
== NULL
) SWIG_fail
;
31774 arg4
= wxString_in_helper(obj3
);
31775 if (arg4
== NULL
) SWIG_fail
;
31780 arg5
= (wxItemKind
) SWIG_AsInt(obj4
);
31781 if (PyErr_Occurred()) SWIG_fail
;
31784 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxMenu
,
31785 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31789 result
= (wxMenuItem
*)new wxMenuItem(arg1
,arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
,arg6
);
31791 wxPyEndAllowThreads(__tstate
);
31792 if (PyErr_Occurred()) SWIG_fail
;
31795 resultobj
= wxPyMake_wxObject(result
);
31819 static PyObject
*_wrap_MenuItem_GetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31820 PyObject
*resultobj
;
31821 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31823 PyObject
* obj0
= 0 ;
31824 char *kwnames
[] = {
31825 (char *) "self", NULL
31828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetMenu",kwnames
,&obj0
)) goto fail
;
31829 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31830 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31833 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetMenu();
31835 wxPyEndAllowThreads(__tstate
);
31836 if (PyErr_Occurred()) SWIG_fail
;
31839 resultobj
= wxPyMake_wxObject(result
);
31847 static PyObject
*_wrap_MenuItem_SetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31848 PyObject
*resultobj
;
31849 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31850 wxMenu
*arg2
= (wxMenu
*) 0 ;
31851 PyObject
* obj0
= 0 ;
31852 PyObject
* obj1
= 0 ;
31853 char *kwnames
[] = {
31854 (char *) "self",(char *) "menu", NULL
31857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
31858 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31859 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31860 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
31861 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31864 (arg1
)->SetMenu(arg2
);
31866 wxPyEndAllowThreads(__tstate
);
31867 if (PyErr_Occurred()) SWIG_fail
;
31869 Py_INCREF(Py_None
); resultobj
= Py_None
;
31876 static PyObject
*_wrap_MenuItem_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31877 PyObject
*resultobj
;
31878 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31880 PyObject
* obj0
= 0 ;
31881 PyObject
* obj1
= 0 ;
31882 char *kwnames
[] = {
31883 (char *) "self",(char *) "id", NULL
31886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
31887 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31888 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31889 arg2
= (int) SWIG_AsInt(obj1
);
31890 if (PyErr_Occurred()) SWIG_fail
;
31892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31893 (arg1
)->SetId(arg2
);
31895 wxPyEndAllowThreads(__tstate
);
31896 if (PyErr_Occurred()) SWIG_fail
;
31898 Py_INCREF(Py_None
); resultobj
= Py_None
;
31905 static PyObject
*_wrap_MenuItem_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31906 PyObject
*resultobj
;
31907 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31909 PyObject
* obj0
= 0 ;
31910 char *kwnames
[] = {
31911 (char *) "self", NULL
31914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetId",kwnames
,&obj0
)) goto fail
;
31915 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31916 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31919 result
= (int)((wxMenuItem
const *)arg1
)->GetId();
31921 wxPyEndAllowThreads(__tstate
);
31922 if (PyErr_Occurred()) SWIG_fail
;
31924 resultobj
= SWIG_FromInt((int)result
);
31931 static PyObject
*_wrap_MenuItem_IsSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31932 PyObject
*resultobj
;
31933 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31935 PyObject
* obj0
= 0 ;
31936 char *kwnames
[] = {
31937 (char *) "self", NULL
31940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsSeparator",kwnames
,&obj0
)) goto fail
;
31941 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31942 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31945 result
= (bool)((wxMenuItem
const *)arg1
)->IsSeparator();
31947 wxPyEndAllowThreads(__tstate
);
31948 if (PyErr_Occurred()) SWIG_fail
;
31951 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31959 static PyObject
*_wrap_MenuItem_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31960 PyObject
*resultobj
;
31961 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31962 wxString
*arg2
= 0 ;
31963 bool temp2
= False
;
31964 PyObject
* obj0
= 0 ;
31965 PyObject
* obj1
= 0 ;
31966 char *kwnames
[] = {
31967 (char *) "self",(char *) "str", NULL
31970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
31971 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31972 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31974 arg2
= wxString_in_helper(obj1
);
31975 if (arg2
== NULL
) SWIG_fail
;
31979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31980 (arg1
)->SetText((wxString
const &)*arg2
);
31982 wxPyEndAllowThreads(__tstate
);
31983 if (PyErr_Occurred()) SWIG_fail
;
31985 Py_INCREF(Py_None
); resultobj
= Py_None
;
32000 static PyObject
*_wrap_MenuItem_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32001 PyObject
*resultobj
;
32002 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32004 PyObject
* obj0
= 0 ;
32005 char *kwnames
[] = {
32006 (char *) "self", NULL
32009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetLabel",kwnames
,&obj0
)) goto fail
;
32010 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32011 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32014 result
= ((wxMenuItem
const *)arg1
)->GetLabel();
32016 wxPyEndAllowThreads(__tstate
);
32017 if (PyErr_Occurred()) SWIG_fail
;
32021 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32023 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32032 static PyObject
*_wrap_MenuItem_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32033 PyObject
*resultobj
;
32034 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32036 PyObject
* obj0
= 0 ;
32037 char *kwnames
[] = {
32038 (char *) "self", NULL
32041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetText",kwnames
,&obj0
)) goto fail
;
32042 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32043 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32047 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetText();
32048 result
= (wxString
*) &_result_ref
;
32051 wxPyEndAllowThreads(__tstate
);
32052 if (PyErr_Occurred()) SWIG_fail
;
32056 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
32058 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
32067 static PyObject
*_wrap_MenuItem_GetLabelFromText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32068 PyObject
*resultobj
;
32069 wxString
*arg1
= 0 ;
32071 bool temp1
= False
;
32072 PyObject
* obj0
= 0 ;
32073 char *kwnames
[] = {
32074 (char *) "text", NULL
32077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetLabelFromText",kwnames
,&obj0
)) goto fail
;
32079 arg1
= wxString_in_helper(obj0
);
32080 if (arg1
== NULL
) SWIG_fail
;
32084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32085 result
= wxMenuItem::GetLabelFromText((wxString
const &)*arg1
);
32087 wxPyEndAllowThreads(__tstate
);
32088 if (PyErr_Occurred()) SWIG_fail
;
32092 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32094 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32111 static PyObject
*_wrap_MenuItem_GetKind(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32112 PyObject
*resultobj
;
32113 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32115 PyObject
* obj0
= 0 ;
32116 char *kwnames
[] = {
32117 (char *) "self", NULL
32120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetKind",kwnames
,&obj0
)) goto fail
;
32121 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32122 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32125 result
= (int)((wxMenuItem
const *)arg1
)->GetKind();
32127 wxPyEndAllowThreads(__tstate
);
32128 if (PyErr_Occurred()) SWIG_fail
;
32130 resultobj
= SWIG_FromInt((int)result
);
32137 static PyObject
*_wrap_MenuItem_SetKind(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32138 PyObject
*resultobj
;
32139 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32141 PyObject
* obj0
= 0 ;
32142 PyObject
* obj1
= 0 ;
32143 char *kwnames
[] = {
32144 (char *) "self",(char *) "kind", NULL
32147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetKind",kwnames
,&obj0
,&obj1
)) goto fail
;
32148 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32149 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32150 arg2
= (wxItemKind
) SWIG_AsInt(obj1
);
32151 if (PyErr_Occurred()) SWIG_fail
;
32153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32154 (arg1
)->SetKind((wxItemKind
)arg2
);
32156 wxPyEndAllowThreads(__tstate
);
32157 if (PyErr_Occurred()) SWIG_fail
;
32159 Py_INCREF(Py_None
); resultobj
= Py_None
;
32166 static PyObject
*_wrap_MenuItem_SetCheckable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32167 PyObject
*resultobj
;
32168 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32170 PyObject
* obj0
= 0 ;
32171 PyObject
* obj1
= 0 ;
32172 char *kwnames
[] = {
32173 (char *) "self",(char *) "checkable", NULL
32176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetCheckable",kwnames
,&obj0
,&obj1
)) goto fail
;
32177 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32178 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32179 arg2
= (bool) SWIG_AsBool(obj1
);
32180 if (PyErr_Occurred()) SWIG_fail
;
32182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32183 (arg1
)->SetCheckable(arg2
);
32185 wxPyEndAllowThreads(__tstate
);
32186 if (PyErr_Occurred()) SWIG_fail
;
32188 Py_INCREF(Py_None
); resultobj
= Py_None
;
32195 static PyObject
*_wrap_MenuItem_IsCheckable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32196 PyObject
*resultobj
;
32197 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32199 PyObject
* obj0
= 0 ;
32200 char *kwnames
[] = {
32201 (char *) "self", NULL
32204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsCheckable",kwnames
,&obj0
)) goto fail
;
32205 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32206 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32209 result
= (bool)((wxMenuItem
const *)arg1
)->IsCheckable();
32211 wxPyEndAllowThreads(__tstate
);
32212 if (PyErr_Occurred()) SWIG_fail
;
32215 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32223 static PyObject
*_wrap_MenuItem_IsSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32224 PyObject
*resultobj
;
32225 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32227 PyObject
* obj0
= 0 ;
32228 char *kwnames
[] = {
32229 (char *) "self", NULL
32232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsSubMenu",kwnames
,&obj0
)) goto fail
;
32233 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32234 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32237 result
= (bool)((wxMenuItem
const *)arg1
)->IsSubMenu();
32239 wxPyEndAllowThreads(__tstate
);
32240 if (PyErr_Occurred()) SWIG_fail
;
32243 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32251 static PyObject
*_wrap_MenuItem_SetSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32252 PyObject
*resultobj
;
32253 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32254 wxMenu
*arg2
= (wxMenu
*) 0 ;
32255 PyObject
* obj0
= 0 ;
32256 PyObject
* obj1
= 0 ;
32257 char *kwnames
[] = {
32258 (char *) "self",(char *) "menu", NULL
32261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetSubMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
32262 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32263 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32264 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
32265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32268 (arg1
)->SetSubMenu(arg2
);
32270 wxPyEndAllowThreads(__tstate
);
32271 if (PyErr_Occurred()) SWIG_fail
;
32273 Py_INCREF(Py_None
); resultobj
= Py_None
;
32280 static PyObject
*_wrap_MenuItem_GetSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32281 PyObject
*resultobj
;
32282 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32284 PyObject
* obj0
= 0 ;
32285 char *kwnames
[] = {
32286 (char *) "self", NULL
32289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetSubMenu",kwnames
,&obj0
)) goto fail
;
32290 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32291 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32294 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetSubMenu();
32296 wxPyEndAllowThreads(__tstate
);
32297 if (PyErr_Occurred()) SWIG_fail
;
32300 resultobj
= wxPyMake_wxObject(result
);
32308 static PyObject
*_wrap_MenuItem_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32309 PyObject
*resultobj
;
32310 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32311 bool arg2
= (bool) True
;
32312 PyObject
* obj0
= 0 ;
32313 PyObject
* obj1
= 0 ;
32314 char *kwnames
[] = {
32315 (char *) "self",(char *) "enable", NULL
32318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
32319 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32320 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32322 arg2
= (bool) SWIG_AsBool(obj1
);
32323 if (PyErr_Occurred()) SWIG_fail
;
32326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32327 (arg1
)->Enable(arg2
);
32329 wxPyEndAllowThreads(__tstate
);
32330 if (PyErr_Occurred()) SWIG_fail
;
32332 Py_INCREF(Py_None
); resultobj
= Py_None
;
32339 static PyObject
*_wrap_MenuItem_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32340 PyObject
*resultobj
;
32341 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32343 PyObject
* obj0
= 0 ;
32344 char *kwnames
[] = {
32345 (char *) "self", NULL
32348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsEnabled",kwnames
,&obj0
)) goto fail
;
32349 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32350 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32353 result
= (bool)((wxMenuItem
const *)arg1
)->IsEnabled();
32355 wxPyEndAllowThreads(__tstate
);
32356 if (PyErr_Occurred()) SWIG_fail
;
32359 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32367 static PyObject
*_wrap_MenuItem_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32368 PyObject
*resultobj
;
32369 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32370 bool arg2
= (bool) True
;
32371 PyObject
* obj0
= 0 ;
32372 PyObject
* obj1
= 0 ;
32373 char *kwnames
[] = {
32374 (char *) "self",(char *) "check", NULL
32377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Check",kwnames
,&obj0
,&obj1
)) goto fail
;
32378 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32379 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32381 arg2
= (bool) SWIG_AsBool(obj1
);
32382 if (PyErr_Occurred()) SWIG_fail
;
32385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32386 (arg1
)->Check(arg2
);
32388 wxPyEndAllowThreads(__tstate
);
32389 if (PyErr_Occurred()) SWIG_fail
;
32391 Py_INCREF(Py_None
); resultobj
= Py_None
;
32398 static PyObject
*_wrap_MenuItem_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32399 PyObject
*resultobj
;
32400 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32402 PyObject
* obj0
= 0 ;
32403 char *kwnames
[] = {
32404 (char *) "self", NULL
32407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsChecked",kwnames
,&obj0
)) goto fail
;
32408 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32409 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32412 result
= (bool)((wxMenuItem
const *)arg1
)->IsChecked();
32414 wxPyEndAllowThreads(__tstate
);
32415 if (PyErr_Occurred()) SWIG_fail
;
32418 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32426 static PyObject
*_wrap_MenuItem_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32427 PyObject
*resultobj
;
32428 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32429 PyObject
* obj0
= 0 ;
32430 char *kwnames
[] = {
32431 (char *) "self", NULL
32434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_Toggle",kwnames
,&obj0
)) goto fail
;
32435 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32436 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32441 wxPyEndAllowThreads(__tstate
);
32442 if (PyErr_Occurred()) SWIG_fail
;
32444 Py_INCREF(Py_None
); resultobj
= Py_None
;
32451 static PyObject
*_wrap_MenuItem_SetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32452 PyObject
*resultobj
;
32453 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32454 wxString
*arg2
= 0 ;
32455 bool temp2
= False
;
32456 PyObject
* obj0
= 0 ;
32457 PyObject
* obj1
= 0 ;
32458 char *kwnames
[] = {
32459 (char *) "self",(char *) "str", NULL
32462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
32463 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32464 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32466 arg2
= wxString_in_helper(obj1
);
32467 if (arg2
== NULL
) SWIG_fail
;
32471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32472 (arg1
)->SetHelp((wxString
const &)*arg2
);
32474 wxPyEndAllowThreads(__tstate
);
32475 if (PyErr_Occurred()) SWIG_fail
;
32477 Py_INCREF(Py_None
); resultobj
= Py_None
;
32492 static PyObject
*_wrap_MenuItem_GetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32493 PyObject
*resultobj
;
32494 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32496 PyObject
* obj0
= 0 ;
32497 char *kwnames
[] = {
32498 (char *) "self", NULL
32501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetHelp",kwnames
,&obj0
)) goto fail
;
32502 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32503 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32507 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetHelp();
32508 result
= (wxString
*) &_result_ref
;
32511 wxPyEndAllowThreads(__tstate
);
32512 if (PyErr_Occurred()) SWIG_fail
;
32516 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
32518 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
32527 static PyObject
*_wrap_MenuItem_GetAccel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32528 PyObject
*resultobj
;
32529 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32530 wxAcceleratorEntry
*result
;
32531 PyObject
* obj0
= 0 ;
32532 char *kwnames
[] = {
32533 (char *) "self", NULL
32536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetAccel",kwnames
,&obj0
)) goto fail
;
32537 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32538 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32541 result
= (wxAcceleratorEntry
*)((wxMenuItem
const *)arg1
)->GetAccel();
32543 wxPyEndAllowThreads(__tstate
);
32544 if (PyErr_Occurred()) SWIG_fail
;
32546 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 0);
32553 static PyObject
*_wrap_MenuItem_SetAccel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32554 PyObject
*resultobj
;
32555 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32556 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
32557 PyObject
* obj0
= 0 ;
32558 PyObject
* obj1
= 0 ;
32559 char *kwnames
[] = {
32560 (char *) "self",(char *) "accel", NULL
32563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetAccel",kwnames
,&obj0
,&obj1
)) goto fail
;
32564 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32565 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32566 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxAcceleratorEntry
,
32567 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32570 (arg1
)->SetAccel(arg2
);
32572 wxPyEndAllowThreads(__tstate
);
32573 if (PyErr_Occurred()) SWIG_fail
;
32575 Py_INCREF(Py_None
); resultobj
= Py_None
;
32582 static PyObject
*_wrap_MenuItem_GetDefaultMarginWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32583 PyObject
*resultobj
;
32585 char *kwnames
[] = {
32589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MenuItem_GetDefaultMarginWidth",kwnames
)) goto fail
;
32591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32592 result
= (int)MenuItem_GetDefaultMarginWidth();
32594 wxPyEndAllowThreads(__tstate
);
32595 if (PyErr_Occurred()) SWIG_fail
;
32597 resultobj
= SWIG_FromInt((int)result
);
32604 static PyObject
*_wrap_MenuItem_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32605 PyObject
*resultobj
;
32606 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32607 wxBitmap
*arg2
= 0 ;
32608 PyObject
* obj0
= 0 ;
32609 PyObject
* obj1
= 0 ;
32610 char *kwnames
[] = {
32611 (char *) "self",(char *) "bitmap", NULL
32614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
32615 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32616 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32617 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
32618 SWIG_POINTER_EXCEPTION
| 0)) == -1)
32620 if (arg2
== NULL
) {
32621 PyErr_SetString(PyExc_TypeError
,"null reference");
32625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32626 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
32628 wxPyEndAllowThreads(__tstate
);
32629 if (PyErr_Occurred()) SWIG_fail
;
32631 Py_INCREF(Py_None
); resultobj
= Py_None
;
32638 static PyObject
*_wrap_MenuItem_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32639 PyObject
*resultobj
;
32640 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32642 PyObject
* obj0
= 0 ;
32643 char *kwnames
[] = {
32644 (char *) "self", NULL
32647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetBitmap",kwnames
,&obj0
)) goto fail
;
32648 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32653 wxBitmap
const &_result_ref
= (arg1
)->GetBitmap();
32654 result
= (wxBitmap
*) &_result_ref
;
32657 wxPyEndAllowThreads(__tstate
);
32658 if (PyErr_Occurred()) SWIG_fail
;
32661 wxBitmap
* resultptr
= new wxBitmap(*result
);
32662 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
32670 static PyObject
* MenuItem_swigregister(PyObject
*self
, PyObject
*args
) {
32672 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32673 SWIG_TypeClientData(SWIGTYPE_p_wxMenuItem
, obj
);
32675 return Py_BuildValue((char *)"");
32677 static int _wrap_ControlNameStr_set(PyObject
*_val
) {
32678 PyErr_SetString(PyExc_TypeError
,"Variable ControlNameStr is read-only.");
32683 static PyObject
*_wrap_ControlNameStr_get() {
32688 pyobj
= PyUnicode_FromWideChar((&wxPyControlNameStr
)->c_str(), (&wxPyControlNameStr
)->Len());
32690 pyobj
= PyString_FromStringAndSize((&wxPyControlNameStr
)->c_str(), (&wxPyControlNameStr
)->Len());
32697 static PyObject
*_wrap_new_Control(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32698 PyObject
*resultobj
;
32699 wxWindow
*arg1
= (wxWindow
*) 0 ;
32701 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
32702 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
32703 wxSize
const &arg4_defvalue
= wxDefaultSize
;
32704 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
32705 long arg5
= (long) 0 ;
32706 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
32707 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
32708 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
32709 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
32713 bool temp7
= False
;
32714 PyObject
* obj0
= 0 ;
32715 PyObject
* obj1
= 0 ;
32716 PyObject
* obj2
= 0 ;
32717 PyObject
* obj3
= 0 ;
32718 PyObject
* obj4
= 0 ;
32719 PyObject
* obj5
= 0 ;
32720 PyObject
* obj6
= 0 ;
32721 char *kwnames
[] = {
32722 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
32725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:new_Control",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
32726 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
32727 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32728 arg2
= (int) SWIG_AsInt(obj1
);
32729 if (PyErr_Occurred()) SWIG_fail
;
32733 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
32739 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
32743 arg5
= (long) SWIG_AsLong(obj4
);
32744 if (PyErr_Occurred()) SWIG_fail
;
32747 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
32748 SWIG_POINTER_EXCEPTION
| 0)) == -1)
32750 if (arg6
== NULL
) {
32751 PyErr_SetString(PyExc_TypeError
,"null reference");
32757 arg7
= wxString_in_helper(obj6
);
32758 if (arg7
== NULL
) SWIG_fail
;
32763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32764 result
= (wxControl
*)new wxControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
32766 wxPyEndAllowThreads(__tstate
);
32767 if (PyErr_Occurred()) SWIG_fail
;
32770 resultobj
= wxPyMake_wxObject(result
);
32786 static PyObject
*_wrap_new_PreControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32787 PyObject
*resultobj
;
32789 char *kwnames
[] = {
32793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreControl",kwnames
)) goto fail
;
32795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32796 result
= (wxControl
*)new wxControl();
32798 wxPyEndAllowThreads(__tstate
);
32799 if (PyErr_Occurred()) SWIG_fail
;
32802 resultobj
= wxPyMake_wxObject(result
);
32810 static PyObject
*_wrap_Control_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32811 PyObject
*resultobj
;
32812 wxControl
*arg1
= (wxControl
*) 0 ;
32813 wxWindow
*arg2
= (wxWindow
*) 0 ;
32815 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
32816 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
32817 wxSize
const &arg5_defvalue
= wxDefaultSize
;
32818 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
32819 long arg6
= (long) 0 ;
32820 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
32821 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
32822 wxString
const &arg8_defvalue
= wxPyControlNameStr
;
32823 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
32827 bool temp8
= False
;
32828 PyObject
* obj0
= 0 ;
32829 PyObject
* obj1
= 0 ;
32830 PyObject
* obj2
= 0 ;
32831 PyObject
* obj3
= 0 ;
32832 PyObject
* obj4
= 0 ;
32833 PyObject
* obj5
= 0 ;
32834 PyObject
* obj6
= 0 ;
32835 PyObject
* obj7
= 0 ;
32836 char *kwnames
[] = {
32837 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
32840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:Control_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
32841 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxControl
,
32842 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32843 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
32844 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32845 arg3
= (int) SWIG_AsInt(obj2
);
32846 if (PyErr_Occurred()) SWIG_fail
;
32850 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
32856 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
32860 arg6
= (long) SWIG_AsLong(obj5
);
32861 if (PyErr_Occurred()) SWIG_fail
;
32864 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
32865 SWIG_POINTER_EXCEPTION
| 0)) == -1)
32867 if (arg7
== NULL
) {
32868 PyErr_SetString(PyExc_TypeError
,"null reference");
32874 arg8
= wxString_in_helper(obj7
);
32875 if (arg8
== NULL
) SWIG_fail
;
32880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32881 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
32883 wxPyEndAllowThreads(__tstate
);
32884 if (PyErr_Occurred()) SWIG_fail
;
32887 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32903 static PyObject
*_wrap_Control_Command(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32904 PyObject
*resultobj
;
32905 wxControl
*arg1
= (wxControl
*) 0 ;
32906 wxCommandEvent
*arg2
= 0 ;
32907 PyObject
* obj0
= 0 ;
32908 PyObject
* obj1
= 0 ;
32909 char *kwnames
[] = {
32910 (char *) "self",(char *) "event", NULL
32913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Control_Command",kwnames
,&obj0
,&obj1
)) goto fail
;
32914 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxControl
,
32915 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32916 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCommandEvent
,
32917 SWIG_POINTER_EXCEPTION
| 0)) == -1)
32919 if (arg2
== NULL
) {
32920 PyErr_SetString(PyExc_TypeError
,"null reference");
32924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32925 (arg1
)->Command(*arg2
);
32927 wxPyEndAllowThreads(__tstate
);
32928 if (PyErr_Occurred()) SWIG_fail
;
32930 Py_INCREF(Py_None
); resultobj
= Py_None
;
32937 static PyObject
*_wrap_Control_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32938 PyObject
*resultobj
;
32939 wxControl
*arg1
= (wxControl
*) 0 ;
32941 PyObject
* obj0
= 0 ;
32942 char *kwnames
[] = {
32943 (char *) "self", NULL
32946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Control_GetLabel",kwnames
,&obj0
)) goto fail
;
32947 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxControl
,
32948 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32951 result
= (arg1
)->GetLabel();
32953 wxPyEndAllowThreads(__tstate
);
32954 if (PyErr_Occurred()) SWIG_fail
;
32958 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32960 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32969 static PyObject
*_wrap_Control_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32970 PyObject
*resultobj
;
32971 wxControl
*arg1
= (wxControl
*) 0 ;
32972 wxString
*arg2
= 0 ;
32973 bool temp2
= False
;
32974 PyObject
* obj0
= 0 ;
32975 PyObject
* obj1
= 0 ;
32976 char *kwnames
[] = {
32977 (char *) "self",(char *) "label", NULL
32980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Control_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
32981 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxControl
,
32982 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32984 arg2
= wxString_in_helper(obj1
);
32985 if (arg2
== NULL
) SWIG_fail
;
32989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32990 (arg1
)->SetLabel((wxString
const &)*arg2
);
32992 wxPyEndAllowThreads(__tstate
);
32993 if (PyErr_Occurred()) SWIG_fail
;
32995 Py_INCREF(Py_None
); resultobj
= Py_None
;
33010 static PyObject
*_wrap_Control_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33011 PyObject
*resultobj
;
33012 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
33013 wxVisualAttributes result
;
33014 PyObject
* obj0
= 0 ;
33015 char *kwnames
[] = {
33016 (char *) "variant", NULL
33019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Control_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
33021 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
33022 if (PyErr_Occurred()) SWIG_fail
;
33025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33026 result
= wxControl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
33028 wxPyEndAllowThreads(__tstate
);
33029 if (PyErr_Occurred()) SWIG_fail
;
33032 wxVisualAttributes
* resultptr
;
33033 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
33034 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
33042 static PyObject
* Control_swigregister(PyObject
*self
, PyObject
*args
) {
33044 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33045 SWIG_TypeClientData(SWIGTYPE_p_wxControl
, obj
);
33047 return Py_BuildValue((char *)"");
33049 static PyObject
*_wrap_ItemContainer_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33050 PyObject
*resultobj
;
33051 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33052 wxString
*arg2
= 0 ;
33053 PyObject
*arg3
= (PyObject
*) NULL
;
33055 bool temp2
= False
;
33056 PyObject
* obj0
= 0 ;
33057 PyObject
* obj1
= 0 ;
33058 PyObject
* obj2
= 0 ;
33059 char *kwnames
[] = {
33060 (char *) "self",(char *) "item",(char *) "clientData", NULL
33063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ItemContainer_Append",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33064 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33065 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33067 arg2
= wxString_in_helper(obj1
);
33068 if (arg2
== NULL
) SWIG_fail
;
33075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33076 result
= (int)wxItemContainer_Append(arg1
,(wxString
const &)*arg2
,arg3
);
33078 wxPyEndAllowThreads(__tstate
);
33079 if (PyErr_Occurred()) SWIG_fail
;
33081 resultobj
= SWIG_FromInt((int)result
);
33096 static PyObject
*_wrap_ItemContainer_AppendItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33097 PyObject
*resultobj
;
33098 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33099 wxArrayString
*arg2
= 0 ;
33100 bool temp2
= False
;
33101 PyObject
* obj0
= 0 ;
33102 PyObject
* obj1
= 0 ;
33103 char *kwnames
[] = {
33104 (char *) "self",(char *) "strings", NULL
33107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_AppendItems",kwnames
,&obj0
,&obj1
)) goto fail
;
33108 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33109 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33111 if (! PySequence_Check(obj1
)) {
33112 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
33115 arg2
= new wxArrayString
;
33117 int i
, len
=PySequence_Length(obj1
);
33118 for (i
=0; i
<len
; i
++) {
33119 PyObject
* item
= PySequence_GetItem(obj1
, i
);
33121 PyObject
* str
= PyObject_Unicode(item
);
33123 PyObject
* str
= PyObject_Str(item
);
33125 if (PyErr_Occurred()) SWIG_fail
;
33126 arg2
->Add(Py2wxString(str
));
33132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33133 (arg1
)->Append((wxArrayString
const &)*arg2
);
33135 wxPyEndAllowThreads(__tstate
);
33136 if (PyErr_Occurred()) SWIG_fail
;
33138 Py_INCREF(Py_None
); resultobj
= Py_None
;
33140 if (temp2
) delete arg2
;
33145 if (temp2
) delete arg2
;
33151 static PyObject
*_wrap_ItemContainer_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33152 PyObject
*resultobj
;
33153 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33154 wxString
*arg2
= 0 ;
33156 PyObject
*arg4
= (PyObject
*) NULL
;
33158 bool temp2
= False
;
33159 PyObject
* obj0
= 0 ;
33160 PyObject
* obj1
= 0 ;
33161 PyObject
* obj2
= 0 ;
33162 PyObject
* obj3
= 0 ;
33163 char *kwnames
[] = {
33164 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
33167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ItemContainer_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
33168 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33169 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33171 arg2
= wxString_in_helper(obj1
);
33172 if (arg2
== NULL
) SWIG_fail
;
33175 arg3
= (int) SWIG_AsInt(obj2
);
33176 if (PyErr_Occurred()) SWIG_fail
;
33181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33182 result
= (int)wxItemContainer_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
33184 wxPyEndAllowThreads(__tstate
);
33185 if (PyErr_Occurred()) SWIG_fail
;
33187 resultobj
= SWIG_FromInt((int)result
);
33202 static PyObject
*_wrap_ItemContainer_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33203 PyObject
*resultobj
;
33204 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33205 PyObject
* obj0
= 0 ;
33206 char *kwnames
[] = {
33207 (char *) "self", NULL
33210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_Clear",kwnames
,&obj0
)) goto fail
;
33211 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33212 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33217 wxPyEndAllowThreads(__tstate
);
33218 if (PyErr_Occurred()) SWIG_fail
;
33220 Py_INCREF(Py_None
); resultobj
= Py_None
;
33227 static PyObject
*_wrap_ItemContainer_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33228 PyObject
*resultobj
;
33229 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33231 PyObject
* obj0
= 0 ;
33232 PyObject
* obj1
= 0 ;
33233 char *kwnames
[] = {
33234 (char *) "self",(char *) "n", NULL
33237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
33238 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33239 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33240 arg2
= (int) SWIG_AsInt(obj1
);
33241 if (PyErr_Occurred()) SWIG_fail
;
33243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33244 (arg1
)->Delete(arg2
);
33246 wxPyEndAllowThreads(__tstate
);
33247 if (PyErr_Occurred()) SWIG_fail
;
33249 Py_INCREF(Py_None
); resultobj
= Py_None
;
33256 static PyObject
*_wrap_ItemContainer_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33257 PyObject
*resultobj
;
33258 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33260 PyObject
* obj0
= 0 ;
33261 char *kwnames
[] = {
33262 (char *) "self", NULL
33265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetCount",kwnames
,&obj0
)) goto fail
;
33266 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33267 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33270 result
= (int)((wxItemContainer
const *)arg1
)->GetCount();
33272 wxPyEndAllowThreads(__tstate
);
33273 if (PyErr_Occurred()) SWIG_fail
;
33275 resultobj
= SWIG_FromInt((int)result
);
33282 static PyObject
*_wrap_ItemContainer_IsEmpty(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33283 PyObject
*resultobj
;
33284 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33286 PyObject
* obj0
= 0 ;
33287 char *kwnames
[] = {
33288 (char *) "self", NULL
33291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_IsEmpty",kwnames
,&obj0
)) goto fail
;
33292 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33293 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33296 result
= (bool)((wxItemContainer
const *)arg1
)->IsEmpty();
33298 wxPyEndAllowThreads(__tstate
);
33299 if (PyErr_Occurred()) SWIG_fail
;
33302 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33310 static PyObject
*_wrap_ItemContainer_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33311 PyObject
*resultobj
;
33312 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33315 PyObject
* obj0
= 0 ;
33316 PyObject
* obj1
= 0 ;
33317 char *kwnames
[] = {
33318 (char *) "self",(char *) "n", NULL
33321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_GetString",kwnames
,&obj0
,&obj1
)) goto fail
;
33322 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33323 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33324 arg2
= (int) SWIG_AsInt(obj1
);
33325 if (PyErr_Occurred()) SWIG_fail
;
33327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33328 result
= ((wxItemContainer
const *)arg1
)->GetString(arg2
);
33330 wxPyEndAllowThreads(__tstate
);
33331 if (PyErr_Occurred()) SWIG_fail
;
33335 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33337 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33346 static PyObject
*_wrap_ItemContainer_GetStrings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33347 PyObject
*resultobj
;
33348 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33349 wxArrayString result
;
33350 PyObject
* obj0
= 0 ;
33351 char *kwnames
[] = {
33352 (char *) "self", NULL
33355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetStrings",kwnames
,&obj0
)) goto fail
;
33356 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33357 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33360 result
= ((wxItemContainer
const *)arg1
)->GetStrings();
33362 wxPyEndAllowThreads(__tstate
);
33363 if (PyErr_Occurred()) SWIG_fail
;
33366 resultobj
= wxArrayString2PyList_helper(result
);
33374 static PyObject
*_wrap_ItemContainer_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33375 PyObject
*resultobj
;
33376 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33378 wxString
*arg3
= 0 ;
33379 bool temp3
= False
;
33380 PyObject
* obj0
= 0 ;
33381 PyObject
* obj1
= 0 ;
33382 PyObject
* obj2
= 0 ;
33383 char *kwnames
[] = {
33384 (char *) "self",(char *) "n",(char *) "s", NULL
33387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ItemContainer_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33388 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33389 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33390 arg2
= (int) SWIG_AsInt(obj1
);
33391 if (PyErr_Occurred()) SWIG_fail
;
33393 arg3
= wxString_in_helper(obj2
);
33394 if (arg3
== NULL
) SWIG_fail
;
33398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33399 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
33401 wxPyEndAllowThreads(__tstate
);
33402 if (PyErr_Occurred()) SWIG_fail
;
33404 Py_INCREF(Py_None
); resultobj
= Py_None
;
33419 static PyObject
*_wrap_ItemContainer_FindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33420 PyObject
*resultobj
;
33421 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33422 wxString
*arg2
= 0 ;
33424 bool temp2
= False
;
33425 PyObject
* obj0
= 0 ;
33426 PyObject
* obj1
= 0 ;
33427 char *kwnames
[] = {
33428 (char *) "self",(char *) "s", NULL
33431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_FindString",kwnames
,&obj0
,&obj1
)) goto fail
;
33432 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33433 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33435 arg2
= wxString_in_helper(obj1
);
33436 if (arg2
== NULL
) SWIG_fail
;
33440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33441 result
= (int)((wxItemContainer
const *)arg1
)->FindString((wxString
const &)*arg2
);
33443 wxPyEndAllowThreads(__tstate
);
33444 if (PyErr_Occurred()) SWIG_fail
;
33446 resultobj
= SWIG_FromInt((int)result
);
33461 static PyObject
*_wrap_ItemContainer_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33462 PyObject
*resultobj
;
33463 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33465 PyObject
* obj0
= 0 ;
33466 PyObject
* obj1
= 0 ;
33467 char *kwnames
[] = {
33468 (char *) "self",(char *) "n", NULL
33471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_Select",kwnames
,&obj0
,&obj1
)) goto fail
;
33472 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33473 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33474 arg2
= (int) SWIG_AsInt(obj1
);
33475 if (PyErr_Occurred()) SWIG_fail
;
33477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33478 (arg1
)->Select(arg2
);
33480 wxPyEndAllowThreads(__tstate
);
33481 if (PyErr_Occurred()) SWIG_fail
;
33483 Py_INCREF(Py_None
); resultobj
= Py_None
;
33490 static PyObject
*_wrap_ItemContainer_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33491 PyObject
*resultobj
;
33492 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33494 PyObject
* obj0
= 0 ;
33495 char *kwnames
[] = {
33496 (char *) "self", NULL
33499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetSelection",kwnames
,&obj0
)) goto fail
;
33500 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33501 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33504 result
= (int)((wxItemContainer
const *)arg1
)->GetSelection();
33506 wxPyEndAllowThreads(__tstate
);
33507 if (PyErr_Occurred()) SWIG_fail
;
33509 resultobj
= SWIG_FromInt((int)result
);
33516 static PyObject
*_wrap_ItemContainer_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33517 PyObject
*resultobj
;
33518 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33520 PyObject
* obj0
= 0 ;
33521 char *kwnames
[] = {
33522 (char *) "self", NULL
33525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetStringSelection",kwnames
,&obj0
)) goto fail
;
33526 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33527 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33530 result
= ((wxItemContainer
const *)arg1
)->GetStringSelection();
33532 wxPyEndAllowThreads(__tstate
);
33533 if (PyErr_Occurred()) SWIG_fail
;
33537 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33539 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33548 static PyObject
*_wrap_ItemContainer_GetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33549 PyObject
*resultobj
;
33550 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33553 PyObject
* obj0
= 0 ;
33554 PyObject
* obj1
= 0 ;
33555 char *kwnames
[] = {
33556 (char *) "self",(char *) "n", NULL
33559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_GetClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
33560 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33561 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33562 arg2
= (int) SWIG_AsInt(obj1
);
33563 if (PyErr_Occurred()) SWIG_fail
;
33565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33566 result
= (PyObject
*)wxItemContainer_GetClientData(arg1
,arg2
);
33568 wxPyEndAllowThreads(__tstate
);
33569 if (PyErr_Occurred()) SWIG_fail
;
33571 resultobj
= result
;
33578 static PyObject
*_wrap_ItemContainer_SetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33579 PyObject
*resultobj
;
33580 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33582 PyObject
*arg3
= (PyObject
*) 0 ;
33583 PyObject
* obj0
= 0 ;
33584 PyObject
* obj1
= 0 ;
33585 PyObject
* obj2
= 0 ;
33586 char *kwnames
[] = {
33587 (char *) "self",(char *) "n",(char *) "clientData", NULL
33590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ItemContainer_SetClientData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33591 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33592 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33593 arg2
= (int) SWIG_AsInt(obj1
);
33594 if (PyErr_Occurred()) SWIG_fail
;
33597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33598 wxItemContainer_SetClientData(arg1
,arg2
,arg3
);
33600 wxPyEndAllowThreads(__tstate
);
33601 if (PyErr_Occurred()) SWIG_fail
;
33603 Py_INCREF(Py_None
); resultobj
= Py_None
;
33610 static PyObject
* ItemContainer_swigregister(PyObject
*self
, PyObject
*args
) {
33612 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33613 SWIG_TypeClientData(SWIGTYPE_p_wxItemContainer
, obj
);
33615 return Py_BuildValue((char *)"");
33617 static PyObject
* ControlWithItems_swigregister(PyObject
*self
, PyObject
*args
) {
33619 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33620 SWIG_TypeClientData(SWIGTYPE_p_wxControlWithItems
, obj
);
33622 return Py_BuildValue((char *)"");
33624 static PyObject
*_wrap_new_SizerItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33625 PyObject
*resultobj
;
33626 wxSizerItem
*result
;
33627 char *kwnames
[] = {
33631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SizerItem",kwnames
)) goto fail
;
33633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33634 result
= (wxSizerItem
*)new wxSizerItem();
33636 wxPyEndAllowThreads(__tstate
);
33637 if (PyErr_Occurred()) SWIG_fail
;
33639 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
33646 static PyObject
*_wrap_new_SizerItemSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33647 PyObject
*resultobj
;
33653 wxObject
*arg6
= (wxObject
*) 0 ;
33654 wxSizerItem
*result
;
33655 PyObject
* obj0
= 0 ;
33656 PyObject
* obj1
= 0 ;
33657 PyObject
* obj2
= 0 ;
33658 PyObject
* obj3
= 0 ;
33659 PyObject
* obj4
= 0 ;
33660 PyObject
* obj5
= 0 ;
33661 char *kwnames
[] = {
33662 (char *) "width",(char *) "height",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
33665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:new_SizerItemSpacer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
33666 arg1
= (int) SWIG_AsInt(obj0
);
33667 if (PyErr_Occurred()) SWIG_fail
;
33668 arg2
= (int) SWIG_AsInt(obj1
);
33669 if (PyErr_Occurred()) SWIG_fail
;
33670 arg3
= (int) SWIG_AsInt(obj2
);
33671 if (PyErr_Occurred()) SWIG_fail
;
33672 arg4
= (int) SWIG_AsInt(obj3
);
33673 if (PyErr_Occurred()) SWIG_fail
;
33674 arg5
= (int) SWIG_AsInt(obj4
);
33675 if (PyErr_Occurred()) SWIG_fail
;
33676 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxObject
,
33677 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33680 result
= (wxSizerItem
*)new wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
33682 wxPyEndAllowThreads(__tstate
);
33683 if (PyErr_Occurred()) SWIG_fail
;
33685 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
33692 static PyObject
*_wrap_new_SizerItemWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33693 PyObject
*resultobj
;
33694 wxWindow
*arg1
= (wxWindow
*) 0 ;
33698 wxObject
*arg5
= (wxObject
*) 0 ;
33699 wxSizerItem
*result
;
33700 PyObject
* obj0
= 0 ;
33701 PyObject
* obj1
= 0 ;
33702 PyObject
* obj2
= 0 ;
33703 PyObject
* obj3
= 0 ;
33704 PyObject
* obj4
= 0 ;
33705 char *kwnames
[] = {
33706 (char *) "window",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
33709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:new_SizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
33710 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
33711 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33712 arg2
= (int) SWIG_AsInt(obj1
);
33713 if (PyErr_Occurred()) SWIG_fail
;
33714 arg3
= (int) SWIG_AsInt(obj2
);
33715 if (PyErr_Occurred()) SWIG_fail
;
33716 arg4
= (int) SWIG_AsInt(obj3
);
33717 if (PyErr_Occurred()) SWIG_fail
;
33718 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxObject
,
33719 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33722 result
= (wxSizerItem
*)new wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
33724 wxPyEndAllowThreads(__tstate
);
33725 if (PyErr_Occurred()) SWIG_fail
;
33727 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
33734 static PyObject
*_wrap_new_SizerItemSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33735 PyObject
*resultobj
;
33736 wxSizer
*arg1
= (wxSizer
*) 0 ;
33740 wxObject
*arg5
= (wxObject
*) 0 ;
33741 wxSizerItem
*result
;
33742 PyObject
* obj0
= 0 ;
33743 PyObject
* obj1
= 0 ;
33744 PyObject
* obj2
= 0 ;
33745 PyObject
* obj3
= 0 ;
33746 PyObject
* obj4
= 0 ;
33747 char *kwnames
[] = {
33748 (char *) "sizer",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
33751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:new_SizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
33752 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
33753 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33754 arg2
= (int) SWIG_AsInt(obj1
);
33755 if (PyErr_Occurred()) SWIG_fail
;
33756 arg3
= (int) SWIG_AsInt(obj2
);
33757 if (PyErr_Occurred()) SWIG_fail
;
33758 arg4
= (int) SWIG_AsInt(obj3
);
33759 if (PyErr_Occurred()) SWIG_fail
;
33760 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxObject
,
33761 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33764 result
= (wxSizerItem
*)new wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
33766 wxPyEndAllowThreads(__tstate
);
33767 if (PyErr_Occurred()) SWIG_fail
;
33769 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
33776 static PyObject
*_wrap_SizerItem_DeleteWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33777 PyObject
*resultobj
;
33778 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33779 PyObject
* obj0
= 0 ;
33780 char *kwnames
[] = {
33781 (char *) "self", NULL
33784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_DeleteWindows",kwnames
,&obj0
)) goto fail
;
33785 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33786 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33789 (arg1
)->DeleteWindows();
33791 wxPyEndAllowThreads(__tstate
);
33792 if (PyErr_Occurred()) SWIG_fail
;
33794 Py_INCREF(Py_None
); resultobj
= Py_None
;
33801 static PyObject
*_wrap_SizerItem_DetachSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33802 PyObject
*resultobj
;
33803 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33804 PyObject
* obj0
= 0 ;
33805 char *kwnames
[] = {
33806 (char *) "self", NULL
33809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_DetachSizer",kwnames
,&obj0
)) goto fail
;
33810 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33811 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33814 (arg1
)->DetachSizer();
33816 wxPyEndAllowThreads(__tstate
);
33817 if (PyErr_Occurred()) SWIG_fail
;
33819 Py_INCREF(Py_None
); resultobj
= Py_None
;
33826 static PyObject
*_wrap_SizerItem_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33827 PyObject
*resultobj
;
33828 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33830 PyObject
* obj0
= 0 ;
33831 char *kwnames
[] = {
33832 (char *) "self", NULL
33835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSize",kwnames
,&obj0
)) goto fail
;
33836 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33837 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33840 result
= (arg1
)->GetSize();
33842 wxPyEndAllowThreads(__tstate
);
33843 if (PyErr_Occurred()) SWIG_fail
;
33846 wxSize
* resultptr
;
33847 resultptr
= new wxSize((wxSize
&) result
);
33848 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
33856 static PyObject
*_wrap_SizerItem_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33857 PyObject
*resultobj
;
33858 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33860 PyObject
* obj0
= 0 ;
33861 char *kwnames
[] = {
33862 (char *) "self", NULL
33865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_CalcMin",kwnames
,&obj0
)) goto fail
;
33866 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33867 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33870 result
= (arg1
)->CalcMin();
33872 wxPyEndAllowThreads(__tstate
);
33873 if (PyErr_Occurred()) SWIG_fail
;
33876 wxSize
* resultptr
;
33877 resultptr
= new wxSize((wxSize
&) result
);
33878 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
33886 static PyObject
*_wrap_SizerItem_SetDimension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33887 PyObject
*resultobj
;
33888 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33893 PyObject
* obj0
= 0 ;
33894 PyObject
* obj1
= 0 ;
33895 PyObject
* obj2
= 0 ;
33896 char *kwnames
[] = {
33897 (char *) "self",(char *) "pos",(char *) "size", NULL
33900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33901 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33902 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33903 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxPoint
,
33904 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
33906 if ((SWIG_ConvertPtr(obj2
,(void **)(&argp3
),SWIGTYPE_p_wxSize
,
33907 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
33910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33911 (arg1
)->SetDimension(arg2
,arg3
);
33913 wxPyEndAllowThreads(__tstate
);
33914 if (PyErr_Occurred()) SWIG_fail
;
33916 Py_INCREF(Py_None
); resultobj
= Py_None
;
33923 static PyObject
*_wrap_SizerItem_GetMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33924 PyObject
*resultobj
;
33925 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33927 PyObject
* obj0
= 0 ;
33928 char *kwnames
[] = {
33929 (char *) "self", NULL
33932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetMinSize",kwnames
,&obj0
)) goto fail
;
33933 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33934 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33937 result
= (arg1
)->GetMinSize();
33939 wxPyEndAllowThreads(__tstate
);
33940 if (PyErr_Occurred()) SWIG_fail
;
33943 wxSize
* resultptr
;
33944 resultptr
= new wxSize((wxSize
&) result
);
33945 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
33953 static PyObject
*_wrap_SizerItem_SetInitSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33954 PyObject
*resultobj
;
33955 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33958 PyObject
* obj0
= 0 ;
33959 PyObject
* obj1
= 0 ;
33960 PyObject
* obj2
= 0 ;
33961 char *kwnames
[] = {
33962 (char *) "self",(char *) "x",(char *) "y", NULL
33965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetInitSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33966 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33967 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33968 arg2
= (int) SWIG_AsInt(obj1
);
33969 if (PyErr_Occurred()) SWIG_fail
;
33970 arg3
= (int) SWIG_AsInt(obj2
);
33971 if (PyErr_Occurred()) SWIG_fail
;
33973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33974 (arg1
)->SetInitSize(arg2
,arg3
);
33976 wxPyEndAllowThreads(__tstate
);
33977 if (PyErr_Occurred()) SWIG_fail
;
33979 Py_INCREF(Py_None
); resultobj
= Py_None
;
33986 static PyObject
*_wrap_SizerItem_SetRatioWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33987 PyObject
*resultobj
;
33988 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33991 PyObject
* obj0
= 0 ;
33992 PyObject
* obj1
= 0 ;
33993 PyObject
* obj2
= 0 ;
33994 char *kwnames
[] = {
33995 (char *) "self",(char *) "width",(char *) "height", NULL
33998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetRatioWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33999 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34000 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34001 arg2
= (int) SWIG_AsInt(obj1
);
34002 if (PyErr_Occurred()) SWIG_fail
;
34003 arg3
= (int) SWIG_AsInt(obj2
);
34004 if (PyErr_Occurred()) SWIG_fail
;
34006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34007 (arg1
)->SetRatio(arg2
,arg3
);
34009 wxPyEndAllowThreads(__tstate
);
34010 if (PyErr_Occurred()) SWIG_fail
;
34012 Py_INCREF(Py_None
); resultobj
= Py_None
;
34019 static PyObject
*_wrap_SizerItem_SetRatioSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34020 PyObject
*resultobj
;
34021 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34024 PyObject
* obj0
= 0 ;
34025 PyObject
* obj1
= 0 ;
34026 char *kwnames
[] = {
34027 (char *) "self",(char *) "size", NULL
34030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetRatioSize",kwnames
,&obj0
,&obj1
)) goto fail
;
34031 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34032 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34033 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxSize
,
34034 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
34037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34038 (arg1
)->SetRatio(arg2
);
34040 wxPyEndAllowThreads(__tstate
);
34041 if (PyErr_Occurred()) SWIG_fail
;
34043 Py_INCREF(Py_None
); resultobj
= Py_None
;
34050 static PyObject
*_wrap_SizerItem_SetRatio(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34051 PyObject
*resultobj
;
34052 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34054 PyObject
* obj0
= 0 ;
34055 PyObject
* obj1
= 0 ;
34056 char *kwnames
[] = {
34057 (char *) "self",(char *) "ratio", NULL
34060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetRatio",kwnames
,&obj0
,&obj1
)) goto fail
;
34061 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34062 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34063 arg2
= (float) SWIG_AsFloat(obj1
);
34064 if (PyErr_Occurred()) SWIG_fail
;
34066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34067 (arg1
)->SetRatio(arg2
);
34069 wxPyEndAllowThreads(__tstate
);
34070 if (PyErr_Occurred()) SWIG_fail
;
34072 Py_INCREF(Py_None
); resultobj
= Py_None
;
34079 static PyObject
*_wrap_SizerItem_GetRatio(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34080 PyObject
*resultobj
;
34081 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34083 PyObject
* obj0
= 0 ;
34084 char *kwnames
[] = {
34085 (char *) "self", NULL
34088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetRatio",kwnames
,&obj0
)) goto fail
;
34089 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34090 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34093 result
= (float)(arg1
)->GetRatio();
34095 wxPyEndAllowThreads(__tstate
);
34096 if (PyErr_Occurred()) SWIG_fail
;
34098 resultobj
= SWIG_FromFloat((float)result
);
34105 static PyObject
*_wrap_SizerItem_IsWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34106 PyObject
*resultobj
;
34107 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34109 PyObject
* obj0
= 0 ;
34110 char *kwnames
[] = {
34111 (char *) "self", NULL
34114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsWindow",kwnames
,&obj0
)) goto fail
;
34115 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34116 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34119 result
= (bool)(arg1
)->IsWindow();
34121 wxPyEndAllowThreads(__tstate
);
34122 if (PyErr_Occurred()) SWIG_fail
;
34125 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34133 static PyObject
*_wrap_SizerItem_IsSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34134 PyObject
*resultobj
;
34135 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34137 PyObject
* obj0
= 0 ;
34138 char *kwnames
[] = {
34139 (char *) "self", NULL
34142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsSizer",kwnames
,&obj0
)) goto fail
;
34143 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34144 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34147 result
= (bool)(arg1
)->IsSizer();
34149 wxPyEndAllowThreads(__tstate
);
34150 if (PyErr_Occurred()) SWIG_fail
;
34153 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34161 static PyObject
*_wrap_SizerItem_IsSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34162 PyObject
*resultobj
;
34163 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34165 PyObject
* obj0
= 0 ;
34166 char *kwnames
[] = {
34167 (char *) "self", NULL
34170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsSpacer",kwnames
,&obj0
)) goto fail
;
34171 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34172 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34175 result
= (bool)(arg1
)->IsSpacer();
34177 wxPyEndAllowThreads(__tstate
);
34178 if (PyErr_Occurred()) SWIG_fail
;
34181 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34189 static PyObject
*_wrap_SizerItem_SetProportion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34190 PyObject
*resultobj
;
34191 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34193 PyObject
* obj0
= 0 ;
34194 PyObject
* obj1
= 0 ;
34195 char *kwnames
[] = {
34196 (char *) "self",(char *) "proportion", NULL
34199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetProportion",kwnames
,&obj0
,&obj1
)) goto fail
;
34200 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34201 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34202 arg2
= (int) SWIG_AsInt(obj1
);
34203 if (PyErr_Occurred()) SWIG_fail
;
34205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34206 (arg1
)->SetProportion(arg2
);
34208 wxPyEndAllowThreads(__tstate
);
34209 if (PyErr_Occurred()) SWIG_fail
;
34211 Py_INCREF(Py_None
); resultobj
= Py_None
;
34218 static PyObject
*_wrap_SizerItem_GetProportion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34219 PyObject
*resultobj
;
34220 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34222 PyObject
* obj0
= 0 ;
34223 char *kwnames
[] = {
34224 (char *) "self", NULL
34227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetProportion",kwnames
,&obj0
)) goto fail
;
34228 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34229 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34232 result
= (int)(arg1
)->GetProportion();
34234 wxPyEndAllowThreads(__tstate
);
34235 if (PyErr_Occurred()) SWIG_fail
;
34237 resultobj
= SWIG_FromInt((int)result
);
34244 static PyObject
*_wrap_SizerItem_SetFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34245 PyObject
*resultobj
;
34246 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34248 PyObject
* obj0
= 0 ;
34249 PyObject
* obj1
= 0 ;
34250 char *kwnames
[] = {
34251 (char *) "self",(char *) "flag", NULL
34254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
34255 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34256 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34257 arg2
= (int) SWIG_AsInt(obj1
);
34258 if (PyErr_Occurred()) SWIG_fail
;
34260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34261 (arg1
)->SetFlag(arg2
);
34263 wxPyEndAllowThreads(__tstate
);
34264 if (PyErr_Occurred()) SWIG_fail
;
34266 Py_INCREF(Py_None
); resultobj
= Py_None
;
34273 static PyObject
*_wrap_SizerItem_GetFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34274 PyObject
*resultobj
;
34275 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34277 PyObject
* obj0
= 0 ;
34278 char *kwnames
[] = {
34279 (char *) "self", NULL
34282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetFlag",kwnames
,&obj0
)) goto fail
;
34283 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34284 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34287 result
= (int)(arg1
)->GetFlag();
34289 wxPyEndAllowThreads(__tstate
);
34290 if (PyErr_Occurred()) SWIG_fail
;
34292 resultobj
= SWIG_FromInt((int)result
);
34299 static PyObject
*_wrap_SizerItem_SetBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34300 PyObject
*resultobj
;
34301 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34303 PyObject
* obj0
= 0 ;
34304 PyObject
* obj1
= 0 ;
34305 char *kwnames
[] = {
34306 (char *) "self",(char *) "border", NULL
34309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetBorder",kwnames
,&obj0
,&obj1
)) goto fail
;
34310 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34311 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34312 arg2
= (int) SWIG_AsInt(obj1
);
34313 if (PyErr_Occurred()) SWIG_fail
;
34315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34316 (arg1
)->SetBorder(arg2
);
34318 wxPyEndAllowThreads(__tstate
);
34319 if (PyErr_Occurred()) SWIG_fail
;
34321 Py_INCREF(Py_None
); resultobj
= Py_None
;
34328 static PyObject
*_wrap_SizerItem_GetBorder(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_GetBorder",kwnames
,&obj0
)) goto fail
;
34338 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34339 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34342 result
= (int)(arg1
)->GetBorder();
34344 wxPyEndAllowThreads(__tstate
);
34345 if (PyErr_Occurred()) SWIG_fail
;
34347 resultobj
= SWIG_FromInt((int)result
);
34354 static PyObject
*_wrap_SizerItem_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34355 PyObject
*resultobj
;
34356 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34358 PyObject
* obj0
= 0 ;
34359 char *kwnames
[] = {
34360 (char *) "self", NULL
34363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetWindow",kwnames
,&obj0
)) goto fail
;
34364 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34365 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34368 result
= (wxWindow
*)(arg1
)->GetWindow();
34370 wxPyEndAllowThreads(__tstate
);
34371 if (PyErr_Occurred()) SWIG_fail
;
34374 resultobj
= wxPyMake_wxObject(result
);
34382 static PyObject
*_wrap_SizerItem_SetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34383 PyObject
*resultobj
;
34384 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34385 wxWindow
*arg2
= (wxWindow
*) 0 ;
34386 PyObject
* obj0
= 0 ;
34387 PyObject
* obj1
= 0 ;
34388 char *kwnames
[] = {
34389 (char *) "self",(char *) "window", NULL
34392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
34393 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34394 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34395 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
34396 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34399 (arg1
)->SetWindow(arg2
);
34401 wxPyEndAllowThreads(__tstate
);
34402 if (PyErr_Occurred()) SWIG_fail
;
34404 Py_INCREF(Py_None
); resultobj
= Py_None
;
34411 static PyObject
*_wrap_SizerItem_GetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34412 PyObject
*resultobj
;
34413 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34415 PyObject
* obj0
= 0 ;
34416 char *kwnames
[] = {
34417 (char *) "self", NULL
34420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSizer",kwnames
,&obj0
)) goto fail
;
34421 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34422 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34425 result
= (wxSizer
*)(arg1
)->GetSizer();
34427 wxPyEndAllowThreads(__tstate
);
34428 if (PyErr_Occurred()) SWIG_fail
;
34431 resultobj
= wxPyMake_wxSizer(result
);
34439 static PyObject
*_wrap_SizerItem_SetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34440 PyObject
*resultobj
;
34441 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34442 wxSizer
*arg2
= (wxSizer
*) 0 ;
34443 PyObject
* obj0
= 0 ;
34444 PyObject
* obj1
= 0 ;
34445 char *kwnames
[] = {
34446 (char *) "self",(char *) "sizer", NULL
34449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
34450 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34451 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34452 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
34453 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34456 (arg1
)->SetSizer(arg2
);
34458 wxPyEndAllowThreads(__tstate
);
34459 if (PyErr_Occurred()) SWIG_fail
;
34461 Py_INCREF(Py_None
); resultobj
= Py_None
;
34468 static PyObject
*_wrap_SizerItem_GetSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34469 PyObject
*resultobj
;
34470 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34472 PyObject
* obj0
= 0 ;
34473 char *kwnames
[] = {
34474 (char *) "self", NULL
34477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSpacer",kwnames
,&obj0
)) goto fail
;
34478 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34479 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34483 wxSize
const &_result_ref
= (arg1
)->GetSpacer();
34484 result
= (wxSize
*) &_result_ref
;
34487 wxPyEndAllowThreads(__tstate
);
34488 if (PyErr_Occurred()) SWIG_fail
;
34490 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
34497 static PyObject
*_wrap_SizerItem_SetSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34498 PyObject
*resultobj
;
34499 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34502 PyObject
* obj0
= 0 ;
34503 PyObject
* obj1
= 0 ;
34504 char *kwnames
[] = {
34505 (char *) "self",(char *) "size", NULL
34508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSpacer",kwnames
,&obj0
,&obj1
)) goto fail
;
34509 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34510 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34513 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
34516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34517 (arg1
)->SetSpacer((wxSize
const &)*arg2
);
34519 wxPyEndAllowThreads(__tstate
);
34520 if (PyErr_Occurred()) SWIG_fail
;
34522 Py_INCREF(Py_None
); resultobj
= Py_None
;
34529 static PyObject
*_wrap_SizerItem_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34530 PyObject
*resultobj
;
34531 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34533 PyObject
* obj0
= 0 ;
34534 PyObject
* obj1
= 0 ;
34535 char *kwnames
[] = {
34536 (char *) "self",(char *) "show", NULL
34539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
34540 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34541 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34542 arg2
= (bool) SWIG_AsBool(obj1
);
34543 if (PyErr_Occurred()) SWIG_fail
;
34545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34546 (arg1
)->Show(arg2
);
34548 wxPyEndAllowThreads(__tstate
);
34549 if (PyErr_Occurred()) SWIG_fail
;
34551 Py_INCREF(Py_None
); resultobj
= Py_None
;
34558 static PyObject
*_wrap_SizerItem_IsShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34559 PyObject
*resultobj
;
34560 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34562 PyObject
* obj0
= 0 ;
34563 char *kwnames
[] = {
34564 (char *) "self", NULL
34567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsShown",kwnames
,&obj0
)) goto fail
;
34568 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34569 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34572 result
= (bool)(arg1
)->IsShown();
34574 wxPyEndAllowThreads(__tstate
);
34575 if (PyErr_Occurred()) SWIG_fail
;
34578 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34586 static PyObject
*_wrap_SizerItem_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34587 PyObject
*resultobj
;
34588 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34590 PyObject
* obj0
= 0 ;
34591 char *kwnames
[] = {
34592 (char *) "self", NULL
34595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetPosition",kwnames
,&obj0
)) goto fail
;
34596 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34597 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34600 result
= (arg1
)->GetPosition();
34602 wxPyEndAllowThreads(__tstate
);
34603 if (PyErr_Occurred()) SWIG_fail
;
34606 wxPoint
* resultptr
;
34607 resultptr
= new wxPoint((wxPoint
&) result
);
34608 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
34616 static PyObject
*_wrap_SizerItem_GetUserData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34617 PyObject
*resultobj
;
34618 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34620 PyObject
* obj0
= 0 ;
34621 char *kwnames
[] = {
34622 (char *) "self", NULL
34625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetUserData",kwnames
,&obj0
)) goto fail
;
34626 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34627 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34630 result
= (PyObject
*)wxSizerItem_GetUserData(arg1
);
34632 wxPyEndAllowThreads(__tstate
);
34633 if (PyErr_Occurred()) SWIG_fail
;
34635 resultobj
= result
;
34642 static PyObject
* SizerItem_swigregister(PyObject
*self
, PyObject
*args
) {
34644 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34645 SWIG_TypeClientData(SWIGTYPE_p_wxSizerItem
, obj
);
34647 return Py_BuildValue((char *)"");
34649 static PyObject
*_wrap_Sizer__setOORInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34650 PyObject
*resultobj
;
34651 wxSizer
*arg1
= (wxSizer
*) 0 ;
34652 PyObject
*arg2
= (PyObject
*) 0 ;
34653 PyObject
* obj0
= 0 ;
34654 PyObject
* obj1
= 0 ;
34655 char *kwnames
[] = {
34656 (char *) "self",(char *) "_self", NULL
34659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
34660 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34661 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34665 wxSizer__setOORInfo(arg1
,arg2
);
34667 wxPyEndAllowThreads(__tstate
);
34668 if (PyErr_Occurred()) SWIG_fail
;
34670 Py_INCREF(Py_None
); resultobj
= Py_None
;
34677 static PyObject
*_wrap_Sizer_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34678 PyObject
*resultobj
;
34679 wxSizer
*arg1
= (wxSizer
*) 0 ;
34680 PyObject
*arg2
= (PyObject
*) 0 ;
34681 int arg3
= (int) 0 ;
34682 int arg4
= (int) 0 ;
34683 int arg5
= (int) 0 ;
34684 PyObject
*arg6
= (PyObject
*) NULL
;
34685 PyObject
* obj0
= 0 ;
34686 PyObject
* obj1
= 0 ;
34687 PyObject
* obj2
= 0 ;
34688 PyObject
* obj3
= 0 ;
34689 PyObject
* obj4
= 0 ;
34690 PyObject
* obj5
= 0 ;
34691 char *kwnames
[] = {
34692 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
34695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Sizer_Add",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
34696 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34697 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34700 arg3
= (int) SWIG_AsInt(obj2
);
34701 if (PyErr_Occurred()) SWIG_fail
;
34704 arg4
= (int) SWIG_AsInt(obj3
);
34705 if (PyErr_Occurred()) SWIG_fail
;
34708 arg5
= (int) SWIG_AsInt(obj4
);
34709 if (PyErr_Occurred()) SWIG_fail
;
34715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34716 wxSizer_Add(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
34718 wxPyEndAllowThreads(__tstate
);
34719 if (PyErr_Occurred()) SWIG_fail
;
34721 Py_INCREF(Py_None
); resultobj
= Py_None
;
34728 static PyObject
*_wrap_Sizer_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34729 PyObject
*resultobj
;
34730 wxSizer
*arg1
= (wxSizer
*) 0 ;
34732 PyObject
*arg3
= (PyObject
*) 0 ;
34733 int arg4
= (int) 0 ;
34734 int arg5
= (int) 0 ;
34735 int arg6
= (int) 0 ;
34736 PyObject
*arg7
= (PyObject
*) NULL
;
34737 PyObject
* obj0
= 0 ;
34738 PyObject
* obj1
= 0 ;
34739 PyObject
* obj2
= 0 ;
34740 PyObject
* obj3
= 0 ;
34741 PyObject
* obj4
= 0 ;
34742 PyObject
* obj5
= 0 ;
34743 PyObject
* obj6
= 0 ;
34744 char *kwnames
[] = {
34745 (char *) "self",(char *) "before",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
34748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Sizer_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
34749 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34750 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34751 arg2
= (int) SWIG_AsInt(obj1
);
34752 if (PyErr_Occurred()) SWIG_fail
;
34755 arg4
= (int) SWIG_AsInt(obj3
);
34756 if (PyErr_Occurred()) SWIG_fail
;
34759 arg5
= (int) SWIG_AsInt(obj4
);
34760 if (PyErr_Occurred()) SWIG_fail
;
34763 arg6
= (int) SWIG_AsInt(obj5
);
34764 if (PyErr_Occurred()) SWIG_fail
;
34770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34771 wxSizer_Insert(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
34773 wxPyEndAllowThreads(__tstate
);
34774 if (PyErr_Occurred()) SWIG_fail
;
34776 Py_INCREF(Py_None
); resultobj
= Py_None
;
34783 static PyObject
*_wrap_Sizer_Prepend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34784 PyObject
*resultobj
;
34785 wxSizer
*arg1
= (wxSizer
*) 0 ;
34786 PyObject
*arg2
= (PyObject
*) 0 ;
34787 int arg3
= (int) 0 ;
34788 int arg4
= (int) 0 ;
34789 int arg5
= (int) 0 ;
34790 PyObject
*arg6
= (PyObject
*) NULL
;
34791 PyObject
* obj0
= 0 ;
34792 PyObject
* obj1
= 0 ;
34793 PyObject
* obj2
= 0 ;
34794 PyObject
* obj3
= 0 ;
34795 PyObject
* obj4
= 0 ;
34796 PyObject
* obj5
= 0 ;
34797 char *kwnames
[] = {
34798 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
34801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Sizer_Prepend",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
34802 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34803 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34806 arg3
= (int) SWIG_AsInt(obj2
);
34807 if (PyErr_Occurred()) SWIG_fail
;
34810 arg4
= (int) SWIG_AsInt(obj3
);
34811 if (PyErr_Occurred()) SWIG_fail
;
34814 arg5
= (int) SWIG_AsInt(obj4
);
34815 if (PyErr_Occurred()) SWIG_fail
;
34821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34822 wxSizer_Prepend(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
34824 wxPyEndAllowThreads(__tstate
);
34825 if (PyErr_Occurred()) SWIG_fail
;
34827 Py_INCREF(Py_None
); resultobj
= Py_None
;
34834 static PyObject
*_wrap_Sizer_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34835 PyObject
*resultobj
;
34836 wxSizer
*arg1
= (wxSizer
*) 0 ;
34837 PyObject
*arg2
= (PyObject
*) 0 ;
34839 PyObject
* obj0
= 0 ;
34840 PyObject
* obj1
= 0 ;
34841 char *kwnames
[] = {
34842 (char *) "self",(char *) "item", NULL
34845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
34846 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34847 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34851 result
= (bool)wxSizer_Remove(arg1
,arg2
);
34853 wxPyEndAllowThreads(__tstate
);
34854 if (PyErr_Occurred()) SWIG_fail
;
34857 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34865 static PyObject
*_wrap_Sizer__SetItemMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34866 PyObject
*resultobj
;
34867 wxSizer
*arg1
= (wxSizer
*) 0 ;
34868 PyObject
*arg2
= (PyObject
*) 0 ;
34871 PyObject
* obj0
= 0 ;
34872 PyObject
* obj1
= 0 ;
34873 PyObject
* obj2
= 0 ;
34874 char *kwnames
[] = {
34875 (char *) "self",(char *) "item",(char *) "size", NULL
34878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer__SetItemMinSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34879 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34880 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34884 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
34887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34888 wxSizer__SetItemMinSize(arg1
,arg2
,(wxSize
const &)*arg3
);
34890 wxPyEndAllowThreads(__tstate
);
34891 if (PyErr_Occurred()) SWIG_fail
;
34893 Py_INCREF(Py_None
); resultobj
= Py_None
;
34900 static PyObject
*_wrap_Sizer_AddItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34901 PyObject
*resultobj
;
34902 wxSizer
*arg1
= (wxSizer
*) 0 ;
34903 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
34904 PyObject
* obj0
= 0 ;
34905 PyObject
* obj1
= 0 ;
34906 char *kwnames
[] = {
34907 (char *) "self",(char *) "item", NULL
34910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_AddItem",kwnames
,&obj0
,&obj1
)) goto fail
;
34911 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34912 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34913 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizerItem
,
34914 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34919 wxPyEndAllowThreads(__tstate
);
34920 if (PyErr_Occurred()) SWIG_fail
;
34922 Py_INCREF(Py_None
); resultobj
= Py_None
;
34929 static PyObject
*_wrap_Sizer_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34930 PyObject
*resultobj
;
34931 wxSizer
*arg1
= (wxSizer
*) 0 ;
34933 wxSizerItem
*arg3
= (wxSizerItem
*) 0 ;
34934 PyObject
* obj0
= 0 ;
34935 PyObject
* obj1
= 0 ;
34936 PyObject
* obj2
= 0 ;
34937 char *kwnames
[] = {
34938 (char *) "self",(char *) "index",(char *) "item", NULL
34941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34942 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34943 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34944 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
34945 if (PyErr_Occurred()) SWIG_fail
;
34946 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxSizerItem
,
34947 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34950 (arg1
)->Insert(arg2
,arg3
);
34952 wxPyEndAllowThreads(__tstate
);
34953 if (PyErr_Occurred()) SWIG_fail
;
34955 Py_INCREF(Py_None
); resultobj
= Py_None
;
34962 static PyObject
*_wrap_Sizer_PrependItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34963 PyObject
*resultobj
;
34964 wxSizer
*arg1
= (wxSizer
*) 0 ;
34965 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
34966 PyObject
* obj0
= 0 ;
34967 PyObject
* obj1
= 0 ;
34968 char *kwnames
[] = {
34969 (char *) "self",(char *) "item", NULL
34972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_PrependItem",kwnames
,&obj0
,&obj1
)) goto fail
;
34973 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34974 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34975 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizerItem
,
34976 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34979 (arg1
)->Prepend(arg2
);
34981 wxPyEndAllowThreads(__tstate
);
34982 if (PyErr_Occurred()) SWIG_fail
;
34984 Py_INCREF(Py_None
); resultobj
= Py_None
;
34991 static PyObject
*_wrap_Sizer_SetDimension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34992 PyObject
*resultobj
;
34993 wxSizer
*arg1
= (wxSizer
*) 0 ;
34998 PyObject
* obj0
= 0 ;
34999 PyObject
* obj1
= 0 ;
35000 PyObject
* obj2
= 0 ;
35001 PyObject
* obj3
= 0 ;
35002 PyObject
* obj4
= 0 ;
35003 char *kwnames
[] = {
35004 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
35007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Sizer_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
35008 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35009 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35010 arg2
= (int) SWIG_AsInt(obj1
);
35011 if (PyErr_Occurred()) SWIG_fail
;
35012 arg3
= (int) SWIG_AsInt(obj2
);
35013 if (PyErr_Occurred()) SWIG_fail
;
35014 arg4
= (int) SWIG_AsInt(obj3
);
35015 if (PyErr_Occurred()) SWIG_fail
;
35016 arg5
= (int) SWIG_AsInt(obj4
);
35017 if (PyErr_Occurred()) SWIG_fail
;
35019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35020 (arg1
)->SetDimension(arg2
,arg3
,arg4
,arg5
);
35022 wxPyEndAllowThreads(__tstate
);
35023 if (PyErr_Occurred()) SWIG_fail
;
35025 Py_INCREF(Py_None
); resultobj
= Py_None
;
35032 static PyObject
*_wrap_Sizer_SetMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35033 PyObject
*resultobj
;
35034 wxSizer
*arg1
= (wxSizer
*) 0 ;
35037 PyObject
* obj0
= 0 ;
35038 PyObject
* obj1
= 0 ;
35039 char *kwnames
[] = {
35040 (char *) "self",(char *) "size", NULL
35043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetMinSize",kwnames
,&obj0
,&obj1
)) goto fail
;
35044 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35045 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35048 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
35051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35052 (arg1
)->SetMinSize((wxSize
const &)*arg2
);
35054 wxPyEndAllowThreads(__tstate
);
35055 if (PyErr_Occurred()) SWIG_fail
;
35057 Py_INCREF(Py_None
); resultobj
= Py_None
;
35064 static PyObject
*_wrap_Sizer_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35065 PyObject
*resultobj
;
35066 wxSizer
*arg1
= (wxSizer
*) 0 ;
35068 PyObject
* obj0
= 0 ;
35069 char *kwnames
[] = {
35070 (char *) "self", NULL
35073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetSize",kwnames
,&obj0
)) goto fail
;
35074 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35075 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35078 result
= (arg1
)->GetSize();
35080 wxPyEndAllowThreads(__tstate
);
35081 if (PyErr_Occurred()) SWIG_fail
;
35084 wxSize
* resultptr
;
35085 resultptr
= new wxSize((wxSize
&) result
);
35086 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
35094 static PyObject
*_wrap_Sizer_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35095 PyObject
*resultobj
;
35096 wxSizer
*arg1
= (wxSizer
*) 0 ;
35098 PyObject
* obj0
= 0 ;
35099 char *kwnames
[] = {
35100 (char *) "self", NULL
35103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetPosition",kwnames
,&obj0
)) goto fail
;
35104 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35105 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35108 result
= (arg1
)->GetPosition();
35110 wxPyEndAllowThreads(__tstate
);
35111 if (PyErr_Occurred()) SWIG_fail
;
35114 wxPoint
* resultptr
;
35115 resultptr
= new wxPoint((wxPoint
&) result
);
35116 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
35124 static PyObject
*_wrap_Sizer_GetMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35125 PyObject
*resultobj
;
35126 wxSizer
*arg1
= (wxSizer
*) 0 ;
35128 PyObject
* obj0
= 0 ;
35129 char *kwnames
[] = {
35130 (char *) "self", NULL
35133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetMinSize",kwnames
,&obj0
)) goto fail
;
35134 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35135 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35138 result
= (arg1
)->GetMinSize();
35140 wxPyEndAllowThreads(__tstate
);
35141 if (PyErr_Occurred()) SWIG_fail
;
35144 wxSize
* resultptr
;
35145 resultptr
= new wxSize((wxSize
&) result
);
35146 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
35154 static PyObject
*_wrap_Sizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35155 PyObject
*resultobj
;
35156 wxSizer
*arg1
= (wxSizer
*) 0 ;
35157 PyObject
* obj0
= 0 ;
35158 char *kwnames
[] = {
35159 (char *) "self", NULL
35162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
35163 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35164 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35167 (arg1
)->RecalcSizes();
35169 wxPyEndAllowThreads(__tstate
);
35170 if (PyErr_Occurred()) SWIG_fail
;
35172 Py_INCREF(Py_None
); resultobj
= Py_None
;
35179 static PyObject
*_wrap_Sizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35180 PyObject
*resultobj
;
35181 wxSizer
*arg1
= (wxSizer
*) 0 ;
35183 PyObject
* obj0
= 0 ;
35184 char *kwnames
[] = {
35185 (char *) "self", NULL
35188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_CalcMin",kwnames
,&obj0
)) goto fail
;
35189 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35190 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35193 result
= (arg1
)->CalcMin();
35195 wxPyEndAllowThreads(__tstate
);
35196 if (PyErr_Occurred()) SWIG_fail
;
35199 wxSize
* resultptr
;
35200 resultptr
= new wxSize((wxSize
&) result
);
35201 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
35209 static PyObject
*_wrap_Sizer_Layout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35210 PyObject
*resultobj
;
35211 wxSizer
*arg1
= (wxSizer
*) 0 ;
35212 PyObject
* obj0
= 0 ;
35213 char *kwnames
[] = {
35214 (char *) "self", NULL
35217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_Layout",kwnames
,&obj0
)) goto fail
;
35218 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35219 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35224 wxPyEndAllowThreads(__tstate
);
35225 if (PyErr_Occurred()) SWIG_fail
;
35227 Py_INCREF(Py_None
); resultobj
= Py_None
;
35234 static PyObject
*_wrap_Sizer_Fit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35235 PyObject
*resultobj
;
35236 wxSizer
*arg1
= (wxSizer
*) 0 ;
35237 wxWindow
*arg2
= (wxWindow
*) 0 ;
35239 PyObject
* obj0
= 0 ;
35240 PyObject
* obj1
= 0 ;
35241 char *kwnames
[] = {
35242 (char *) "self",(char *) "window", NULL
35245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Fit",kwnames
,&obj0
,&obj1
)) goto fail
;
35246 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35247 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35248 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
35249 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35252 result
= (arg1
)->Fit(arg2
);
35254 wxPyEndAllowThreads(__tstate
);
35255 if (PyErr_Occurred()) SWIG_fail
;
35258 wxSize
* resultptr
;
35259 resultptr
= new wxSize((wxSize
&) result
);
35260 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
35268 static PyObject
*_wrap_Sizer_FitInside(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35269 PyObject
*resultobj
;
35270 wxSizer
*arg1
= (wxSizer
*) 0 ;
35271 wxWindow
*arg2
= (wxWindow
*) 0 ;
35272 PyObject
* obj0
= 0 ;
35273 PyObject
* obj1
= 0 ;
35274 char *kwnames
[] = {
35275 (char *) "self",(char *) "window", NULL
35278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_FitInside",kwnames
,&obj0
,&obj1
)) goto fail
;
35279 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35280 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35281 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
35282 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35285 (arg1
)->FitInside(arg2
);
35287 wxPyEndAllowThreads(__tstate
);
35288 if (PyErr_Occurred()) SWIG_fail
;
35290 Py_INCREF(Py_None
); resultobj
= Py_None
;
35297 static PyObject
*_wrap_Sizer_SetSizeHints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35298 PyObject
*resultobj
;
35299 wxSizer
*arg1
= (wxSizer
*) 0 ;
35300 wxWindow
*arg2
= (wxWindow
*) 0 ;
35301 PyObject
* obj0
= 0 ;
35302 PyObject
* obj1
= 0 ;
35303 char *kwnames
[] = {
35304 (char *) "self",(char *) "window", NULL
35307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetSizeHints",kwnames
,&obj0
,&obj1
)) goto fail
;
35308 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35310 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
35311 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35314 (arg1
)->SetSizeHints(arg2
);
35316 wxPyEndAllowThreads(__tstate
);
35317 if (PyErr_Occurred()) SWIG_fail
;
35319 Py_INCREF(Py_None
); resultobj
= Py_None
;
35326 static PyObject
*_wrap_Sizer_SetVirtualSizeHints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35327 PyObject
*resultobj
;
35328 wxSizer
*arg1
= (wxSizer
*) 0 ;
35329 wxWindow
*arg2
= (wxWindow
*) 0 ;
35330 PyObject
* obj0
= 0 ;
35331 PyObject
* obj1
= 0 ;
35332 char *kwnames
[] = {
35333 (char *) "self",(char *) "window", NULL
35336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetVirtualSizeHints",kwnames
,&obj0
,&obj1
)) goto fail
;
35337 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35338 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35339 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
35340 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35343 (arg1
)->SetVirtualSizeHints(arg2
);
35345 wxPyEndAllowThreads(__tstate
);
35346 if (PyErr_Occurred()) SWIG_fail
;
35348 Py_INCREF(Py_None
); resultobj
= Py_None
;
35355 static PyObject
*_wrap_Sizer_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35356 PyObject
*resultobj
;
35357 wxSizer
*arg1
= (wxSizer
*) 0 ;
35358 bool arg2
= (bool) False
;
35359 PyObject
* obj0
= 0 ;
35360 PyObject
* obj1
= 0 ;
35361 char *kwnames
[] = {
35362 (char *) "self",(char *) "delete_windows", NULL
35365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sizer_Clear",kwnames
,&obj0
,&obj1
)) goto fail
;
35366 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35367 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35369 arg2
= (bool) SWIG_AsBool(obj1
);
35370 if (PyErr_Occurred()) SWIG_fail
;
35373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35374 (arg1
)->Clear(arg2
);
35376 wxPyEndAllowThreads(__tstate
);
35377 if (PyErr_Occurred()) SWIG_fail
;
35379 Py_INCREF(Py_None
); resultobj
= Py_None
;
35386 static PyObject
*_wrap_Sizer_DeleteWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35387 PyObject
*resultobj
;
35388 wxSizer
*arg1
= (wxSizer
*) 0 ;
35389 PyObject
* obj0
= 0 ;
35390 char *kwnames
[] = {
35391 (char *) "self", NULL
35394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_DeleteWindows",kwnames
,&obj0
)) goto fail
;
35395 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35396 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35399 (arg1
)->DeleteWindows();
35401 wxPyEndAllowThreads(__tstate
);
35402 if (PyErr_Occurred()) SWIG_fail
;
35404 Py_INCREF(Py_None
); resultobj
= Py_None
;
35411 static PyObject
*_wrap_Sizer_GetChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35412 PyObject
*resultobj
;
35413 wxSizer
*arg1
= (wxSizer
*) 0 ;
35415 PyObject
* obj0
= 0 ;
35416 char *kwnames
[] = {
35417 (char *) "self", NULL
35420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetChildren",kwnames
,&obj0
)) goto fail
;
35421 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35422 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35425 result
= (PyObject
*)wxSizer_GetChildren(arg1
);
35427 wxPyEndAllowThreads(__tstate
);
35428 if (PyErr_Occurred()) SWIG_fail
;
35430 resultobj
= result
;
35437 static PyObject
*_wrap_Sizer_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35438 PyObject
*resultobj
;
35439 wxSizer
*arg1
= (wxSizer
*) 0 ;
35440 PyObject
*arg2
= (PyObject
*) 0 ;
35441 bool arg3
= (bool) True
;
35442 PyObject
* obj0
= 0 ;
35443 PyObject
* obj1
= 0 ;
35444 PyObject
* obj2
= 0 ;
35445 char *kwnames
[] = {
35446 (char *) "self",(char *) "item",(char *) "show", NULL
35449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Sizer_Show",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35450 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35451 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35454 arg3
= (bool) SWIG_AsBool(obj2
);
35455 if (PyErr_Occurred()) SWIG_fail
;
35458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35459 wxSizer_Show(arg1
,arg2
,arg3
);
35461 wxPyEndAllowThreads(__tstate
);
35462 if (PyErr_Occurred()) SWIG_fail
;
35464 Py_INCREF(Py_None
); resultobj
= Py_None
;
35471 static PyObject
*_wrap_Sizer_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35472 PyObject
*resultobj
;
35473 wxSizer
*arg1
= (wxSizer
*) 0 ;
35474 PyObject
*arg2
= (PyObject
*) 0 ;
35475 PyObject
* obj0
= 0 ;
35476 PyObject
* obj1
= 0 ;
35477 char *kwnames
[] = {
35478 (char *) "self",(char *) "item", NULL
35481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Hide",kwnames
,&obj0
,&obj1
)) goto fail
;
35482 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35483 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35487 wxSizer_Hide(arg1
,arg2
);
35489 wxPyEndAllowThreads(__tstate
);
35490 if (PyErr_Occurred()) SWIG_fail
;
35492 Py_INCREF(Py_None
); resultobj
= Py_None
;
35499 static PyObject
*_wrap_Sizer_IsShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35500 PyObject
*resultobj
;
35501 wxSizer
*arg1
= (wxSizer
*) 0 ;
35502 PyObject
*arg2
= (PyObject
*) 0 ;
35504 PyObject
* obj0
= 0 ;
35505 PyObject
* obj1
= 0 ;
35506 char *kwnames
[] = {
35507 (char *) "self",(char *) "item", NULL
35510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_IsShown",kwnames
,&obj0
,&obj1
)) goto fail
;
35511 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35512 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35516 result
= (bool)wxSizer_IsShown(arg1
,arg2
);
35518 wxPyEndAllowThreads(__tstate
);
35519 if (PyErr_Occurred()) SWIG_fail
;
35522 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35530 static PyObject
*_wrap_Sizer_ShowItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35531 PyObject
*resultobj
;
35532 wxSizer
*arg1
= (wxSizer
*) 0 ;
35534 PyObject
* obj0
= 0 ;
35535 PyObject
* obj1
= 0 ;
35536 char *kwnames
[] = {
35537 (char *) "self",(char *) "show", NULL
35540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_ShowItems",kwnames
,&obj0
,&obj1
)) goto fail
;
35541 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35542 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35543 arg2
= (bool) SWIG_AsBool(obj1
);
35544 if (PyErr_Occurred()) SWIG_fail
;
35546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35547 (arg1
)->ShowItems(arg2
);
35549 wxPyEndAllowThreads(__tstate
);
35550 if (PyErr_Occurred()) SWIG_fail
;
35552 Py_INCREF(Py_None
); resultobj
= Py_None
;
35559 static PyObject
* Sizer_swigregister(PyObject
*self
, PyObject
*args
) {
35561 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
35562 SWIG_TypeClientData(SWIGTYPE_p_wxSizer
, obj
);
35564 return Py_BuildValue((char *)"");
35566 static PyObject
*_wrap_new_PySizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35567 PyObject
*resultobj
;
35569 char *kwnames
[] = {
35573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PySizer",kwnames
)) goto fail
;
35575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35576 result
= (wxPySizer
*)new wxPySizer();
35578 wxPyEndAllowThreads(__tstate
);
35579 if (PyErr_Occurred()) SWIG_fail
;
35581 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPySizer
, 1);
35588 static PyObject
*_wrap_PySizer__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35589 PyObject
*resultobj
;
35590 wxPySizer
*arg1
= (wxPySizer
*) 0 ;
35591 PyObject
*arg2
= (PyObject
*) 0 ;
35592 PyObject
*arg3
= (PyObject
*) 0 ;
35593 PyObject
* obj0
= 0 ;
35594 PyObject
* obj1
= 0 ;
35595 PyObject
* obj2
= 0 ;
35596 char *kwnames
[] = {
35597 (char *) "self",(char *) "self",(char *) "_class", NULL
35600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PySizer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35601 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPySizer
,
35602 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35607 (arg1
)->_setCallbackInfo(arg2
,arg3
);
35609 wxPyEndAllowThreads(__tstate
);
35610 if (PyErr_Occurred()) SWIG_fail
;
35612 Py_INCREF(Py_None
); resultobj
= Py_None
;
35619 static PyObject
* PySizer_swigregister(PyObject
*self
, PyObject
*args
) {
35621 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
35622 SWIG_TypeClientData(SWIGTYPE_p_wxPySizer
, obj
);
35624 return Py_BuildValue((char *)"");
35626 static PyObject
*_wrap_new_BoxSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35627 PyObject
*resultobj
;
35628 int arg1
= (int) wxHORIZONTAL
;
35629 wxBoxSizer
*result
;
35630 PyObject
* obj0
= 0 ;
35631 char *kwnames
[] = {
35632 (char *) "orient", NULL
35635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BoxSizer",kwnames
,&obj0
)) goto fail
;
35637 arg1
= (int) SWIG_AsInt(obj0
);
35638 if (PyErr_Occurred()) SWIG_fail
;
35641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35642 result
= (wxBoxSizer
*)new wxBoxSizer(arg1
);
35644 wxPyEndAllowThreads(__tstate
);
35645 if (PyErr_Occurred()) SWIG_fail
;
35647 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBoxSizer
, 1);
35654 static PyObject
*_wrap_BoxSizer_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35655 PyObject
*resultobj
;
35656 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
35658 PyObject
* obj0
= 0 ;
35659 char *kwnames
[] = {
35660 (char *) "self", NULL
35663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BoxSizer_GetOrientation",kwnames
,&obj0
)) goto fail
;
35664 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBoxSizer
,
35665 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35668 result
= (int)(arg1
)->GetOrientation();
35670 wxPyEndAllowThreads(__tstate
);
35671 if (PyErr_Occurred()) SWIG_fail
;
35673 resultobj
= SWIG_FromInt((int)result
);
35680 static PyObject
*_wrap_BoxSizer_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35681 PyObject
*resultobj
;
35682 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
35684 PyObject
* obj0
= 0 ;
35685 PyObject
* obj1
= 0 ;
35686 char *kwnames
[] = {
35687 (char *) "self",(char *) "orient", NULL
35690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BoxSizer_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
35691 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBoxSizer
,
35692 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35693 arg2
= (int) SWIG_AsInt(obj1
);
35694 if (PyErr_Occurred()) SWIG_fail
;
35696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35697 (arg1
)->SetOrientation(arg2
);
35699 wxPyEndAllowThreads(__tstate
);
35700 if (PyErr_Occurred()) SWIG_fail
;
35702 Py_INCREF(Py_None
); resultobj
= Py_None
;
35709 static PyObject
*_wrap_BoxSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35710 PyObject
*resultobj
;
35711 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
35712 PyObject
* obj0
= 0 ;
35713 char *kwnames
[] = {
35714 (char *) "self", NULL
35717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BoxSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
35718 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBoxSizer
,
35719 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35722 (arg1
)->RecalcSizes();
35724 wxPyEndAllowThreads(__tstate
);
35725 if (PyErr_Occurred()) SWIG_fail
;
35727 Py_INCREF(Py_None
); resultobj
= Py_None
;
35734 static PyObject
*_wrap_BoxSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35735 PyObject
*resultobj
;
35736 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
35738 PyObject
* obj0
= 0 ;
35739 char *kwnames
[] = {
35740 (char *) "self", NULL
35743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BoxSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
35744 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBoxSizer
,
35745 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35748 result
= (arg1
)->CalcMin();
35750 wxPyEndAllowThreads(__tstate
);
35751 if (PyErr_Occurred()) SWIG_fail
;
35754 wxSize
* resultptr
;
35755 resultptr
= new wxSize((wxSize
&) result
);
35756 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
35764 static PyObject
* BoxSizer_swigregister(PyObject
*self
, PyObject
*args
) {
35766 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
35767 SWIG_TypeClientData(SWIGTYPE_p_wxBoxSizer
, obj
);
35769 return Py_BuildValue((char *)"");
35771 static PyObject
*_wrap_new_StaticBoxSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35772 PyObject
*resultobj
;
35773 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
35774 int arg2
= (int) wxHORIZONTAL
;
35775 wxStaticBoxSizer
*result
;
35776 PyObject
* obj0
= 0 ;
35777 PyObject
* obj1
= 0 ;
35778 char *kwnames
[] = {
35779 (char *) "box",(char *) "orient", NULL
35782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_StaticBoxSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
35783 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBox
,
35784 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35786 arg2
= (int) SWIG_AsInt(obj1
);
35787 if (PyErr_Occurred()) SWIG_fail
;
35790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35791 result
= (wxStaticBoxSizer
*)new wxStaticBoxSizer(arg1
,arg2
);
35793 wxPyEndAllowThreads(__tstate
);
35794 if (PyErr_Occurred()) SWIG_fail
;
35796 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBoxSizer
, 1);
35803 static PyObject
*_wrap_StaticBoxSizer_GetStaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35804 PyObject
*resultobj
;
35805 wxStaticBoxSizer
*arg1
= (wxStaticBoxSizer
*) 0 ;
35806 wxStaticBox
*result
;
35807 PyObject
* obj0
= 0 ;
35808 char *kwnames
[] = {
35809 (char *) "self", NULL
35812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBoxSizer_GetStaticBox",kwnames
,&obj0
)) goto fail
;
35813 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBoxSizer
,
35814 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35817 result
= (wxStaticBox
*)(arg1
)->GetStaticBox();
35819 wxPyEndAllowThreads(__tstate
);
35820 if (PyErr_Occurred()) SWIG_fail
;
35823 resultobj
= wxPyMake_wxObject(result
);
35831 static PyObject
*_wrap_StaticBoxSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35832 PyObject
*resultobj
;
35833 wxStaticBoxSizer
*arg1
= (wxStaticBoxSizer
*) 0 ;
35834 PyObject
* obj0
= 0 ;
35835 char *kwnames
[] = {
35836 (char *) "self", NULL
35839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBoxSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
35840 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBoxSizer
,
35841 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35844 (arg1
)->RecalcSizes();
35846 wxPyEndAllowThreads(__tstate
);
35847 if (PyErr_Occurred()) SWIG_fail
;
35849 Py_INCREF(Py_None
); resultobj
= Py_None
;
35856 static PyObject
*_wrap_StaticBoxSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35857 PyObject
*resultobj
;
35858 wxStaticBoxSizer
*arg1
= (wxStaticBoxSizer
*) 0 ;
35860 PyObject
* obj0
= 0 ;
35861 char *kwnames
[] = {
35862 (char *) "self", NULL
35865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBoxSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
35866 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBoxSizer
,
35867 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35870 result
= (arg1
)->CalcMin();
35872 wxPyEndAllowThreads(__tstate
);
35873 if (PyErr_Occurred()) SWIG_fail
;
35876 wxSize
* resultptr
;
35877 resultptr
= new wxSize((wxSize
&) result
);
35878 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
35886 static PyObject
* StaticBoxSizer_swigregister(PyObject
*self
, PyObject
*args
) {
35888 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
35889 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBoxSizer
, obj
);
35891 return Py_BuildValue((char *)"");
35893 static PyObject
*_wrap_new_GridSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35894 PyObject
*resultobj
;
35895 int arg1
= (int) 1 ;
35896 int arg2
= (int) 0 ;
35897 int arg3
= (int) 0 ;
35898 int arg4
= (int) 0 ;
35899 wxGridSizer
*result
;
35900 PyObject
* obj0
= 0 ;
35901 PyObject
* obj1
= 0 ;
35902 PyObject
* obj2
= 0 ;
35903 PyObject
* obj3
= 0 ;
35904 char *kwnames
[] = {
35905 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
35908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_GridSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
35910 arg1
= (int) SWIG_AsInt(obj0
);
35911 if (PyErr_Occurred()) SWIG_fail
;
35914 arg2
= (int) SWIG_AsInt(obj1
);
35915 if (PyErr_Occurred()) SWIG_fail
;
35918 arg3
= (int) SWIG_AsInt(obj2
);
35919 if (PyErr_Occurred()) SWIG_fail
;
35922 arg4
= (int) SWIG_AsInt(obj3
);
35923 if (PyErr_Occurred()) SWIG_fail
;
35926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35927 result
= (wxGridSizer
*)new wxGridSizer(arg1
,arg2
,arg3
,arg4
);
35929 wxPyEndAllowThreads(__tstate
);
35930 if (PyErr_Occurred()) SWIG_fail
;
35932 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridSizer
, 1);
35939 static PyObject
*_wrap_GridSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35940 PyObject
*resultobj
;
35941 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
35942 PyObject
* obj0
= 0 ;
35943 char *kwnames
[] = {
35944 (char *) "self", NULL
35947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
35948 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
35949 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35952 (arg1
)->RecalcSizes();
35954 wxPyEndAllowThreads(__tstate
);
35955 if (PyErr_Occurred()) SWIG_fail
;
35957 Py_INCREF(Py_None
); resultobj
= Py_None
;
35964 static PyObject
*_wrap_GridSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35965 PyObject
*resultobj
;
35966 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
35968 PyObject
* obj0
= 0 ;
35969 char *kwnames
[] = {
35970 (char *) "self", NULL
35973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
35974 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
35975 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35978 result
= (arg1
)->CalcMin();
35980 wxPyEndAllowThreads(__tstate
);
35981 if (PyErr_Occurred()) SWIG_fail
;
35984 wxSize
* resultptr
;
35985 resultptr
= new wxSize((wxSize
&) result
);
35986 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
35994 static PyObject
*_wrap_GridSizer_SetCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35995 PyObject
*resultobj
;
35996 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
35998 PyObject
* obj0
= 0 ;
35999 PyObject
* obj1
= 0 ;
36000 char *kwnames
[] = {
36001 (char *) "self",(char *) "cols", NULL
36004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetCols",kwnames
,&obj0
,&obj1
)) goto fail
;
36005 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36006 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36007 arg2
= (int) SWIG_AsInt(obj1
);
36008 if (PyErr_Occurred()) SWIG_fail
;
36010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36011 (arg1
)->SetCols(arg2
);
36013 wxPyEndAllowThreads(__tstate
);
36014 if (PyErr_Occurred()) SWIG_fail
;
36016 Py_INCREF(Py_None
); resultobj
= Py_None
;
36023 static PyObject
*_wrap_GridSizer_SetRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36024 PyObject
*resultobj
;
36025 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36027 PyObject
* obj0
= 0 ;
36028 PyObject
* obj1
= 0 ;
36029 char *kwnames
[] = {
36030 (char *) "self",(char *) "rows", NULL
36033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetRows",kwnames
,&obj0
,&obj1
)) goto fail
;
36034 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36035 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36036 arg2
= (int) SWIG_AsInt(obj1
);
36037 if (PyErr_Occurred()) SWIG_fail
;
36039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36040 (arg1
)->SetRows(arg2
);
36042 wxPyEndAllowThreads(__tstate
);
36043 if (PyErr_Occurred()) SWIG_fail
;
36045 Py_INCREF(Py_None
); resultobj
= Py_None
;
36052 static PyObject
*_wrap_GridSizer_SetVGap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36053 PyObject
*resultobj
;
36054 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36056 PyObject
* obj0
= 0 ;
36057 PyObject
* obj1
= 0 ;
36058 char *kwnames
[] = {
36059 (char *) "self",(char *) "gap", NULL
36062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetVGap",kwnames
,&obj0
,&obj1
)) goto fail
;
36063 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36064 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36065 arg2
= (int) SWIG_AsInt(obj1
);
36066 if (PyErr_Occurred()) SWIG_fail
;
36068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36069 (arg1
)->SetVGap(arg2
);
36071 wxPyEndAllowThreads(__tstate
);
36072 if (PyErr_Occurred()) SWIG_fail
;
36074 Py_INCREF(Py_None
); resultobj
= Py_None
;
36081 static PyObject
*_wrap_GridSizer_SetHGap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36082 PyObject
*resultobj
;
36083 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36085 PyObject
* obj0
= 0 ;
36086 PyObject
* obj1
= 0 ;
36087 char *kwnames
[] = {
36088 (char *) "self",(char *) "gap", NULL
36091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetHGap",kwnames
,&obj0
,&obj1
)) goto fail
;
36092 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36093 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36094 arg2
= (int) SWIG_AsInt(obj1
);
36095 if (PyErr_Occurred()) SWIG_fail
;
36097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36098 (arg1
)->SetHGap(arg2
);
36100 wxPyEndAllowThreads(__tstate
);
36101 if (PyErr_Occurred()) SWIG_fail
;
36103 Py_INCREF(Py_None
); resultobj
= Py_None
;
36110 static PyObject
*_wrap_GridSizer_GetCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36111 PyObject
*resultobj
;
36112 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36114 PyObject
* obj0
= 0 ;
36115 char *kwnames
[] = {
36116 (char *) "self", NULL
36119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetCols",kwnames
,&obj0
)) goto fail
;
36120 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36121 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36124 result
= (int)(arg1
)->GetCols();
36126 wxPyEndAllowThreads(__tstate
);
36127 if (PyErr_Occurred()) SWIG_fail
;
36129 resultobj
= SWIG_FromInt((int)result
);
36136 static PyObject
*_wrap_GridSizer_GetRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36137 PyObject
*resultobj
;
36138 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36140 PyObject
* obj0
= 0 ;
36141 char *kwnames
[] = {
36142 (char *) "self", NULL
36145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetRows",kwnames
,&obj0
)) goto fail
;
36146 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36147 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36150 result
= (int)(arg1
)->GetRows();
36152 wxPyEndAllowThreads(__tstate
);
36153 if (PyErr_Occurred()) SWIG_fail
;
36155 resultobj
= SWIG_FromInt((int)result
);
36162 static PyObject
*_wrap_GridSizer_GetVGap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36163 PyObject
*resultobj
;
36164 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36166 PyObject
* obj0
= 0 ;
36167 char *kwnames
[] = {
36168 (char *) "self", NULL
36171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetVGap",kwnames
,&obj0
)) goto fail
;
36172 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36173 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36176 result
= (int)(arg1
)->GetVGap();
36178 wxPyEndAllowThreads(__tstate
);
36179 if (PyErr_Occurred()) SWIG_fail
;
36181 resultobj
= SWIG_FromInt((int)result
);
36188 static PyObject
*_wrap_GridSizer_GetHGap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36189 PyObject
*resultobj
;
36190 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36192 PyObject
* obj0
= 0 ;
36193 char *kwnames
[] = {
36194 (char *) "self", NULL
36197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetHGap",kwnames
,&obj0
)) goto fail
;
36198 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36199 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36202 result
= (int)(arg1
)->GetHGap();
36204 wxPyEndAllowThreads(__tstate
);
36205 if (PyErr_Occurred()) SWIG_fail
;
36207 resultobj
= SWIG_FromInt((int)result
);
36214 static PyObject
* GridSizer_swigregister(PyObject
*self
, PyObject
*args
) {
36216 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
36217 SWIG_TypeClientData(SWIGTYPE_p_wxGridSizer
, obj
);
36219 return Py_BuildValue((char *)"");
36221 static PyObject
*_wrap_new_FlexGridSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36222 PyObject
*resultobj
;
36223 int arg1
= (int) 1 ;
36224 int arg2
= (int) 0 ;
36225 int arg3
= (int) 0 ;
36226 int arg4
= (int) 0 ;
36227 wxFlexGridSizer
*result
;
36228 PyObject
* obj0
= 0 ;
36229 PyObject
* obj1
= 0 ;
36230 PyObject
* obj2
= 0 ;
36231 PyObject
* obj3
= 0 ;
36232 char *kwnames
[] = {
36233 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
36236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_FlexGridSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
36238 arg1
= (int) SWIG_AsInt(obj0
);
36239 if (PyErr_Occurred()) SWIG_fail
;
36242 arg2
= (int) SWIG_AsInt(obj1
);
36243 if (PyErr_Occurred()) SWIG_fail
;
36246 arg3
= (int) SWIG_AsInt(obj2
);
36247 if (PyErr_Occurred()) SWIG_fail
;
36250 arg4
= (int) SWIG_AsInt(obj3
);
36251 if (PyErr_Occurred()) SWIG_fail
;
36254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36255 result
= (wxFlexGridSizer
*)new wxFlexGridSizer(arg1
,arg2
,arg3
,arg4
);
36257 wxPyEndAllowThreads(__tstate
);
36258 if (PyErr_Occurred()) SWIG_fail
;
36260 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFlexGridSizer
, 1);
36267 static PyObject
*_wrap_FlexGridSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36268 PyObject
*resultobj
;
36269 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36270 PyObject
* obj0
= 0 ;
36271 char *kwnames
[] = {
36272 (char *) "self", NULL
36275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
36276 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36277 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36280 (arg1
)->RecalcSizes();
36282 wxPyEndAllowThreads(__tstate
);
36283 if (PyErr_Occurred()) SWIG_fail
;
36285 Py_INCREF(Py_None
); resultobj
= Py_None
;
36292 static PyObject
*_wrap_FlexGridSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36293 PyObject
*resultobj
;
36294 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36296 PyObject
* obj0
= 0 ;
36297 char *kwnames
[] = {
36298 (char *) "self", NULL
36301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
36302 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36303 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36306 result
= (arg1
)->CalcMin();
36308 wxPyEndAllowThreads(__tstate
);
36309 if (PyErr_Occurred()) SWIG_fail
;
36312 wxSize
* resultptr
;
36313 resultptr
= new wxSize((wxSize
&) result
);
36314 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
36322 static PyObject
*_wrap_FlexGridSizer_AddGrowableRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36323 PyObject
*resultobj
;
36324 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36326 int arg3
= (int) 0 ;
36327 PyObject
* obj0
= 0 ;
36328 PyObject
* obj1
= 0 ;
36329 PyObject
* obj2
= 0 ;
36330 char *kwnames
[] = {
36331 (char *) "self",(char *) "idx",(char *) "proportion", NULL
36334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FlexGridSizer_AddGrowableRow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
36335 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36336 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36337 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
36338 if (PyErr_Occurred()) SWIG_fail
;
36340 arg3
= (int) SWIG_AsInt(obj2
);
36341 if (PyErr_Occurred()) SWIG_fail
;
36344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36345 (arg1
)->AddGrowableRow(arg2
,arg3
);
36347 wxPyEndAllowThreads(__tstate
);
36348 if (PyErr_Occurred()) SWIG_fail
;
36350 Py_INCREF(Py_None
); resultobj
= Py_None
;
36357 static PyObject
*_wrap_FlexGridSizer_RemoveGrowableRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36358 PyObject
*resultobj
;
36359 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36361 PyObject
* obj0
= 0 ;
36362 PyObject
* obj1
= 0 ;
36363 char *kwnames
[] = {
36364 (char *) "self",(char *) "idx", NULL
36367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableRow",kwnames
,&obj0
,&obj1
)) goto fail
;
36368 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36369 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36370 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
36371 if (PyErr_Occurred()) SWIG_fail
;
36373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36374 (arg1
)->RemoveGrowableRow(arg2
);
36376 wxPyEndAllowThreads(__tstate
);
36377 if (PyErr_Occurred()) SWIG_fail
;
36379 Py_INCREF(Py_None
); resultobj
= Py_None
;
36386 static PyObject
*_wrap_FlexGridSizer_AddGrowableCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36387 PyObject
*resultobj
;
36388 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36390 int arg3
= (int) 0 ;
36391 PyObject
* obj0
= 0 ;
36392 PyObject
* obj1
= 0 ;
36393 PyObject
* obj2
= 0 ;
36394 char *kwnames
[] = {
36395 (char *) "self",(char *) "idx",(char *) "proportion", NULL
36398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FlexGridSizer_AddGrowableCol",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
36399 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36400 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36401 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
36402 if (PyErr_Occurred()) SWIG_fail
;
36404 arg3
= (int) SWIG_AsInt(obj2
);
36405 if (PyErr_Occurred()) SWIG_fail
;
36408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36409 (arg1
)->AddGrowableCol(arg2
,arg3
);
36411 wxPyEndAllowThreads(__tstate
);
36412 if (PyErr_Occurred()) SWIG_fail
;
36414 Py_INCREF(Py_None
); resultobj
= Py_None
;
36421 static PyObject
*_wrap_FlexGridSizer_RemoveGrowableCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36422 PyObject
*resultobj
;
36423 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36425 PyObject
* obj0
= 0 ;
36426 PyObject
* obj1
= 0 ;
36427 char *kwnames
[] = {
36428 (char *) "self",(char *) "idx", NULL
36431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableCol",kwnames
,&obj0
,&obj1
)) goto fail
;
36432 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36433 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36434 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
36435 if (PyErr_Occurred()) SWIG_fail
;
36437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36438 (arg1
)->RemoveGrowableCol(arg2
);
36440 wxPyEndAllowThreads(__tstate
);
36441 if (PyErr_Occurred()) SWIG_fail
;
36443 Py_INCREF(Py_None
); resultobj
= Py_None
;
36450 static PyObject
*_wrap_FlexGridSizer_SetFlexibleDirection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36451 PyObject
*resultobj
;
36452 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36454 PyObject
* obj0
= 0 ;
36455 PyObject
* obj1
= 0 ;
36456 char *kwnames
[] = {
36457 (char *) "self",(char *) "direction", NULL
36460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_SetFlexibleDirection",kwnames
,&obj0
,&obj1
)) goto fail
;
36461 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36462 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36463 arg2
= (int) SWIG_AsInt(obj1
);
36464 if (PyErr_Occurred()) SWIG_fail
;
36466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36467 (arg1
)->SetFlexibleDirection(arg2
);
36469 wxPyEndAllowThreads(__tstate
);
36470 if (PyErr_Occurred()) SWIG_fail
;
36472 Py_INCREF(Py_None
); resultobj
= Py_None
;
36479 static PyObject
*_wrap_FlexGridSizer_GetFlexibleDirection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36480 PyObject
*resultobj
;
36481 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36483 PyObject
* obj0
= 0 ;
36484 char *kwnames
[] = {
36485 (char *) "self", NULL
36488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetFlexibleDirection",kwnames
,&obj0
)) goto fail
;
36489 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36490 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36493 result
= (int)(arg1
)->GetFlexibleDirection();
36495 wxPyEndAllowThreads(__tstate
);
36496 if (PyErr_Occurred()) SWIG_fail
;
36498 resultobj
= SWIG_FromInt((int)result
);
36505 static PyObject
*_wrap_FlexGridSizer_SetNonFlexibleGrowMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36506 PyObject
*resultobj
;
36507 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36509 PyObject
* obj0
= 0 ;
36510 PyObject
* obj1
= 0 ;
36511 char *kwnames
[] = {
36512 (char *) "self",(char *) "mode", NULL
36515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_SetNonFlexibleGrowMode",kwnames
,&obj0
,&obj1
)) goto fail
;
36516 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36517 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36518 arg2
= (wxFlexSizerGrowMode
) SWIG_AsInt(obj1
);
36519 if (PyErr_Occurred()) SWIG_fail
;
36521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36522 (arg1
)->SetNonFlexibleGrowMode((wxFlexSizerGrowMode
)arg2
);
36524 wxPyEndAllowThreads(__tstate
);
36525 if (PyErr_Occurred()) SWIG_fail
;
36527 Py_INCREF(Py_None
); resultobj
= Py_None
;
36534 static PyObject
*_wrap_FlexGridSizer_GetNonFlexibleGrowMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36535 PyObject
*resultobj
;
36536 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36538 PyObject
* obj0
= 0 ;
36539 char *kwnames
[] = {
36540 (char *) "self", NULL
36543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetNonFlexibleGrowMode",kwnames
,&obj0
)) goto fail
;
36544 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36545 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36548 result
= (int)(arg1
)->GetNonFlexibleGrowMode();
36550 wxPyEndAllowThreads(__tstate
);
36551 if (PyErr_Occurred()) SWIG_fail
;
36553 resultobj
= SWIG_FromInt((int)result
);
36560 static PyObject
*_wrap_FlexGridSizer_GetRowHeights(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36561 PyObject
*resultobj
;
36562 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36563 wxArrayInt
*result
;
36564 PyObject
* obj0
= 0 ;
36565 char *kwnames
[] = {
36566 (char *) "self", NULL
36569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetRowHeights",kwnames
,&obj0
)) goto fail
;
36570 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36571 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36575 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetRowHeights();
36576 result
= (wxArrayInt
*) &_result_ref
;
36579 wxPyEndAllowThreads(__tstate
);
36580 if (PyErr_Occurred()) SWIG_fail
;
36583 resultobj
= PyList_New(0);
36585 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
36586 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
36587 PyList_Append(resultobj
, val
);
36597 static PyObject
*_wrap_FlexGridSizer_GetColWidths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36598 PyObject
*resultobj
;
36599 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36600 wxArrayInt
*result
;
36601 PyObject
* obj0
= 0 ;
36602 char *kwnames
[] = {
36603 (char *) "self", NULL
36606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetColWidths",kwnames
,&obj0
)) goto fail
;
36607 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36608 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36612 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetColWidths();
36613 result
= (wxArrayInt
*) &_result_ref
;
36616 wxPyEndAllowThreads(__tstate
);
36617 if (PyErr_Occurred()) SWIG_fail
;
36620 resultobj
= PyList_New(0);
36622 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
36623 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
36624 PyList_Append(resultobj
, val
);
36634 static PyObject
* FlexGridSizer_swigregister(PyObject
*self
, PyObject
*args
) {
36636 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
36637 SWIG_TypeClientData(SWIGTYPE_p_wxFlexGridSizer
, obj
);
36639 return Py_BuildValue((char *)"");
36641 static PyObject
*_wrap_new_GBPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36642 PyObject
*resultobj
;
36643 int arg1
= (int) 0 ;
36644 int arg2
= (int) 0 ;
36645 wxGBPosition
*result
;
36646 PyObject
* obj0
= 0 ;
36647 PyObject
* obj1
= 0 ;
36648 char *kwnames
[] = {
36649 (char *) "row",(char *) "col", NULL
36652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GBPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
36654 arg1
= (int) SWIG_AsInt(obj0
);
36655 if (PyErr_Occurred()) SWIG_fail
;
36658 arg2
= (int) SWIG_AsInt(obj1
);
36659 if (PyErr_Occurred()) SWIG_fail
;
36662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36663 result
= (wxGBPosition
*)new wxGBPosition(arg1
,arg2
);
36665 wxPyEndAllowThreads(__tstate
);
36666 if (PyErr_Occurred()) SWIG_fail
;
36668 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBPosition
, 1);
36675 static PyObject
*_wrap_GBPosition_GetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36676 PyObject
*resultobj
;
36677 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
36679 PyObject
* obj0
= 0 ;
36680 char *kwnames
[] = {
36681 (char *) "self", NULL
36684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_GetRow",kwnames
,&obj0
)) goto fail
;
36685 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
36686 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36689 result
= (int)((wxGBPosition
const *)arg1
)->GetRow();
36691 wxPyEndAllowThreads(__tstate
);
36692 if (PyErr_Occurred()) SWIG_fail
;
36694 resultobj
= SWIG_FromInt((int)result
);
36701 static PyObject
*_wrap_GBPosition_GetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36702 PyObject
*resultobj
;
36703 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
36705 PyObject
* obj0
= 0 ;
36706 char *kwnames
[] = {
36707 (char *) "self", NULL
36710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_GetCol",kwnames
,&obj0
)) goto fail
;
36711 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
36712 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36715 result
= (int)((wxGBPosition
const *)arg1
)->GetCol();
36717 wxPyEndAllowThreads(__tstate
);
36718 if (PyErr_Occurred()) SWIG_fail
;
36720 resultobj
= SWIG_FromInt((int)result
);
36727 static PyObject
*_wrap_GBPosition_SetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36728 PyObject
*resultobj
;
36729 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
36731 PyObject
* obj0
= 0 ;
36732 PyObject
* obj1
= 0 ;
36733 char *kwnames
[] = {
36734 (char *) "self",(char *) "row", NULL
36737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition_SetRow",kwnames
,&obj0
,&obj1
)) goto fail
;
36738 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
36739 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36740 arg2
= (int) SWIG_AsInt(obj1
);
36741 if (PyErr_Occurred()) SWIG_fail
;
36743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36744 (arg1
)->SetRow(arg2
);
36746 wxPyEndAllowThreads(__tstate
);
36747 if (PyErr_Occurred()) SWIG_fail
;
36749 Py_INCREF(Py_None
); resultobj
= Py_None
;
36756 static PyObject
*_wrap_GBPosition_SetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36757 PyObject
*resultobj
;
36758 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
36760 PyObject
* obj0
= 0 ;
36761 PyObject
* obj1
= 0 ;
36762 char *kwnames
[] = {
36763 (char *) "self",(char *) "col", NULL
36766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition_SetCol",kwnames
,&obj0
,&obj1
)) goto fail
;
36767 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
36768 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36769 arg2
= (int) SWIG_AsInt(obj1
);
36770 if (PyErr_Occurred()) SWIG_fail
;
36772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36773 (arg1
)->SetCol(arg2
);
36775 wxPyEndAllowThreads(__tstate
);
36776 if (PyErr_Occurred()) SWIG_fail
;
36778 Py_INCREF(Py_None
); resultobj
= Py_None
;
36785 static PyObject
*_wrap_GBPosition___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36786 PyObject
*resultobj
;
36787 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
36788 wxGBPosition
*arg2
= 0 ;
36790 wxGBPosition temp2
;
36791 PyObject
* obj0
= 0 ;
36792 PyObject
* obj1
= 0 ;
36793 char *kwnames
[] = {
36794 (char *) "self",(char *) "other", NULL
36797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
36798 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
36799 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36802 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
36805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36806 result
= (bool)(arg1
)->operator ==((wxGBPosition
const &)*arg2
);
36808 wxPyEndAllowThreads(__tstate
);
36809 if (PyErr_Occurred()) SWIG_fail
;
36812 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36820 static PyObject
*_wrap_GBPosition___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36821 PyObject
*resultobj
;
36822 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
36823 wxGBPosition
*arg2
= 0 ;
36825 wxGBPosition temp2
;
36826 PyObject
* obj0
= 0 ;
36827 PyObject
* obj1
= 0 ;
36828 char *kwnames
[] = {
36829 (char *) "self",(char *) "other", NULL
36832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
36833 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
36834 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36837 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
36840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36841 result
= (bool)(arg1
)->operator !=((wxGBPosition
const &)*arg2
);
36843 wxPyEndAllowThreads(__tstate
);
36844 if (PyErr_Occurred()) SWIG_fail
;
36847 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36855 static PyObject
*_wrap_GBPosition_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36856 PyObject
*resultobj
;
36857 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
36858 int arg2
= (int) 0 ;
36859 int arg3
= (int) 0 ;
36860 PyObject
* obj0
= 0 ;
36861 PyObject
* obj1
= 0 ;
36862 PyObject
* obj2
= 0 ;
36863 char *kwnames
[] = {
36864 (char *) "self",(char *) "row",(char *) "col", NULL
36867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GBPosition_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
36868 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
36869 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36871 arg2
= (int) SWIG_AsInt(obj1
);
36872 if (PyErr_Occurred()) SWIG_fail
;
36875 arg3
= (int) SWIG_AsInt(obj2
);
36876 if (PyErr_Occurred()) SWIG_fail
;
36879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36880 wxGBPosition_Set(arg1
,arg2
,arg3
);
36882 wxPyEndAllowThreads(__tstate
);
36883 if (PyErr_Occurred()) SWIG_fail
;
36885 Py_INCREF(Py_None
); resultobj
= Py_None
;
36892 static PyObject
*_wrap_GBPosition_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36893 PyObject
*resultobj
;
36894 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
36896 PyObject
* obj0
= 0 ;
36897 char *kwnames
[] = {
36898 (char *) "self", NULL
36901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_Get",kwnames
,&obj0
)) goto fail
;
36902 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
36903 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36906 result
= (PyObject
*)wxGBPosition_Get(arg1
);
36908 wxPyEndAllowThreads(__tstate
);
36909 if (PyErr_Occurred()) SWIG_fail
;
36911 resultobj
= result
;
36918 static PyObject
* GBPosition_swigregister(PyObject
*self
, PyObject
*args
) {
36920 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
36921 SWIG_TypeClientData(SWIGTYPE_p_wxGBPosition
, obj
);
36923 return Py_BuildValue((char *)"");
36925 static PyObject
*_wrap_new_GBSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36926 PyObject
*resultobj
;
36927 int arg1
= (int) 1 ;
36928 int arg2
= (int) 1 ;
36930 PyObject
* obj0
= 0 ;
36931 PyObject
* obj1
= 0 ;
36932 char *kwnames
[] = {
36933 (char *) "rowspan",(char *) "colspan", NULL
36936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GBSpan",kwnames
,&obj0
,&obj1
)) goto fail
;
36938 arg1
= (int) SWIG_AsInt(obj0
);
36939 if (PyErr_Occurred()) SWIG_fail
;
36942 arg2
= (int) SWIG_AsInt(obj1
);
36943 if (PyErr_Occurred()) SWIG_fail
;
36946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36947 result
= (wxGBSpan
*)new wxGBSpan(arg1
,arg2
);
36949 wxPyEndAllowThreads(__tstate
);
36950 if (PyErr_Occurred()) SWIG_fail
;
36952 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSpan
, 1);
36959 static PyObject
*_wrap_GBSpan_GetRowspan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36960 PyObject
*resultobj
;
36961 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
36963 PyObject
* obj0
= 0 ;
36964 char *kwnames
[] = {
36965 (char *) "self", NULL
36968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_GetRowspan",kwnames
,&obj0
)) goto fail
;
36969 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
36970 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36973 result
= (int)((wxGBSpan
const *)arg1
)->GetRowspan();
36975 wxPyEndAllowThreads(__tstate
);
36976 if (PyErr_Occurred()) SWIG_fail
;
36978 resultobj
= SWIG_FromInt((int)result
);
36985 static PyObject
*_wrap_GBSpan_GetColspan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36986 PyObject
*resultobj
;
36987 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
36989 PyObject
* obj0
= 0 ;
36990 char *kwnames
[] = {
36991 (char *) "self", NULL
36994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_GetColspan",kwnames
,&obj0
)) goto fail
;
36995 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
36996 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36999 result
= (int)((wxGBSpan
const *)arg1
)->GetColspan();
37001 wxPyEndAllowThreads(__tstate
);
37002 if (PyErr_Occurred()) SWIG_fail
;
37004 resultobj
= SWIG_FromInt((int)result
);
37011 static PyObject
*_wrap_GBSpan_SetRowspan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37012 PyObject
*resultobj
;
37013 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37015 PyObject
* obj0
= 0 ;
37016 PyObject
* obj1
= 0 ;
37017 char *kwnames
[] = {
37018 (char *) "self",(char *) "rowspan", NULL
37021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan_SetRowspan",kwnames
,&obj0
,&obj1
)) goto fail
;
37022 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37023 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37024 arg2
= (int) SWIG_AsInt(obj1
);
37025 if (PyErr_Occurred()) SWIG_fail
;
37027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37028 (arg1
)->SetRowspan(arg2
);
37030 wxPyEndAllowThreads(__tstate
);
37031 if (PyErr_Occurred()) SWIG_fail
;
37033 Py_INCREF(Py_None
); resultobj
= Py_None
;
37040 static PyObject
*_wrap_GBSpan_SetColspan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37041 PyObject
*resultobj
;
37042 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37044 PyObject
* obj0
= 0 ;
37045 PyObject
* obj1
= 0 ;
37046 char *kwnames
[] = {
37047 (char *) "self",(char *) "colspan", NULL
37050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan_SetColspan",kwnames
,&obj0
,&obj1
)) goto fail
;
37051 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37052 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37053 arg2
= (int) SWIG_AsInt(obj1
);
37054 if (PyErr_Occurred()) SWIG_fail
;
37056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37057 (arg1
)->SetColspan(arg2
);
37059 wxPyEndAllowThreads(__tstate
);
37060 if (PyErr_Occurred()) SWIG_fail
;
37062 Py_INCREF(Py_None
); resultobj
= Py_None
;
37069 static PyObject
*_wrap_GBSpan___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37070 PyObject
*resultobj
;
37071 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37072 wxGBSpan
*arg2
= 0 ;
37075 PyObject
* obj0
= 0 ;
37076 PyObject
* obj1
= 0 ;
37077 char *kwnames
[] = {
37078 (char *) "self",(char *) "other", NULL
37081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
37082 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37083 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37086 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
37089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37090 result
= (bool)(arg1
)->operator ==((wxGBSpan
const &)*arg2
);
37092 wxPyEndAllowThreads(__tstate
);
37093 if (PyErr_Occurred()) SWIG_fail
;
37096 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37104 static PyObject
*_wrap_GBSpan___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37105 PyObject
*resultobj
;
37106 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37107 wxGBSpan
*arg2
= 0 ;
37110 PyObject
* obj0
= 0 ;
37111 PyObject
* obj1
= 0 ;
37112 char *kwnames
[] = {
37113 (char *) "self",(char *) "other", NULL
37116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
37117 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37118 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37121 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
37124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37125 result
= (bool)(arg1
)->operator !=((wxGBSpan
const &)*arg2
);
37127 wxPyEndAllowThreads(__tstate
);
37128 if (PyErr_Occurred()) SWIG_fail
;
37131 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37139 static PyObject
*_wrap_GBSpan_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37140 PyObject
*resultobj
;
37141 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37142 int arg2
= (int) 1 ;
37143 int arg3
= (int) 1 ;
37144 PyObject
* obj0
= 0 ;
37145 PyObject
* obj1
= 0 ;
37146 PyObject
* obj2
= 0 ;
37147 char *kwnames
[] = {
37148 (char *) "self",(char *) "rowspan",(char *) "colspan", NULL
37151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GBSpan_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37152 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37153 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37155 arg2
= (int) SWIG_AsInt(obj1
);
37156 if (PyErr_Occurred()) SWIG_fail
;
37159 arg3
= (int) SWIG_AsInt(obj2
);
37160 if (PyErr_Occurred()) SWIG_fail
;
37163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37164 wxGBSpan_Set(arg1
,arg2
,arg3
);
37166 wxPyEndAllowThreads(__tstate
);
37167 if (PyErr_Occurred()) SWIG_fail
;
37169 Py_INCREF(Py_None
); resultobj
= Py_None
;
37176 static PyObject
*_wrap_GBSpan_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37177 PyObject
*resultobj
;
37178 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37180 PyObject
* obj0
= 0 ;
37181 char *kwnames
[] = {
37182 (char *) "self", NULL
37185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_Get",kwnames
,&obj0
)) goto fail
;
37186 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37187 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37190 result
= (PyObject
*)wxGBSpan_Get(arg1
);
37192 wxPyEndAllowThreads(__tstate
);
37193 if (PyErr_Occurred()) SWIG_fail
;
37195 resultobj
= result
;
37202 static PyObject
* GBSpan_swigregister(PyObject
*self
, PyObject
*args
) {
37204 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
37205 SWIG_TypeClientData(SWIGTYPE_p_wxGBSpan
, obj
);
37207 return Py_BuildValue((char *)"");
37209 static int _wrap_DefaultSpan_set(PyObject
*_val
) {
37210 PyErr_SetString(PyExc_TypeError
,"Variable DefaultSpan is read-only.");
37215 static PyObject
*_wrap_DefaultSpan_get() {
37218 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultSpan
), SWIGTYPE_p_wxGBSpan
, 0);
37223 static PyObject
*_wrap_new_GBSizerItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37224 PyObject
*resultobj
;
37225 wxGBSizerItem
*result
;
37226 char *kwnames
[] = {
37230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GBSizerItem",kwnames
)) goto fail
;
37232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37233 result
= (wxGBSizerItem
*)new wxGBSizerItem();
37235 wxPyEndAllowThreads(__tstate
);
37236 if (PyErr_Occurred()) SWIG_fail
;
37238 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
37245 static PyObject
*_wrap_new_GBSizerItemWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37246 PyObject
*resultobj
;
37247 wxWindow
*arg1
= (wxWindow
*) 0 ;
37248 wxGBPosition
*arg2
= 0 ;
37249 wxGBSpan
*arg3
= 0 ;
37252 wxObject
*arg6
= (wxObject
*) 0 ;
37253 wxGBSizerItem
*result
;
37254 wxGBPosition temp2
;
37256 PyObject
* obj0
= 0 ;
37257 PyObject
* obj1
= 0 ;
37258 PyObject
* obj2
= 0 ;
37259 PyObject
* obj3
= 0 ;
37260 PyObject
* obj4
= 0 ;
37261 PyObject
* obj5
= 0 ;
37262 char *kwnames
[] = {
37263 (char *) "window",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
37266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:new_GBSizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
37267 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
37268 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37271 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
37275 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
37277 arg4
= (int) SWIG_AsInt(obj3
);
37278 if (PyErr_Occurred()) SWIG_fail
;
37279 arg5
= (int) SWIG_AsInt(obj4
);
37280 if (PyErr_Occurred()) SWIG_fail
;
37281 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxObject
,
37282 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37285 result
= (wxGBSizerItem
*)new wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
37287 wxPyEndAllowThreads(__tstate
);
37288 if (PyErr_Occurred()) SWIG_fail
;
37290 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
37297 static PyObject
*_wrap_new_GBSizerItemSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37298 PyObject
*resultobj
;
37299 wxSizer
*arg1
= (wxSizer
*) 0 ;
37300 wxGBPosition
*arg2
= 0 ;
37301 wxGBSpan
*arg3
= 0 ;
37304 wxObject
*arg6
= (wxObject
*) 0 ;
37305 wxGBSizerItem
*result
;
37306 wxGBPosition temp2
;
37308 PyObject
* obj0
= 0 ;
37309 PyObject
* obj1
= 0 ;
37310 PyObject
* obj2
= 0 ;
37311 PyObject
* obj3
= 0 ;
37312 PyObject
* obj4
= 0 ;
37313 PyObject
* obj5
= 0 ;
37314 char *kwnames
[] = {
37315 (char *) "sizer",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
37318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:new_GBSizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
37319 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
37320 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37323 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
37327 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
37329 arg4
= (int) SWIG_AsInt(obj3
);
37330 if (PyErr_Occurred()) SWIG_fail
;
37331 arg5
= (int) SWIG_AsInt(obj4
);
37332 if (PyErr_Occurred()) SWIG_fail
;
37333 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxObject
,
37334 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37337 result
= (wxGBSizerItem
*)new wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
37339 wxPyEndAllowThreads(__tstate
);
37340 if (PyErr_Occurred()) SWIG_fail
;
37342 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
37349 static PyObject
*_wrap_new_GBSizerItemSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37350 PyObject
*resultobj
;
37353 wxGBPosition
*arg3
= 0 ;
37354 wxGBSpan
*arg4
= 0 ;
37357 wxObject
*arg7
= (wxObject
*) 0 ;
37358 wxGBSizerItem
*result
;
37359 wxGBPosition temp3
;
37361 PyObject
* obj0
= 0 ;
37362 PyObject
* obj1
= 0 ;
37363 PyObject
* obj2
= 0 ;
37364 PyObject
* obj3
= 0 ;
37365 PyObject
* obj4
= 0 ;
37366 PyObject
* obj5
= 0 ;
37367 PyObject
* obj6
= 0 ;
37368 char *kwnames
[] = {
37369 (char *) "width",(char *) "height",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
37372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:new_GBSizerItemSpacer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
37373 arg1
= (int) SWIG_AsInt(obj0
);
37374 if (PyErr_Occurred()) SWIG_fail
;
37375 arg2
= (int) SWIG_AsInt(obj1
);
37376 if (PyErr_Occurred()) SWIG_fail
;
37379 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
37383 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
37385 arg5
= (int) SWIG_AsInt(obj4
);
37386 if (PyErr_Occurred()) SWIG_fail
;
37387 arg6
= (int) SWIG_AsInt(obj5
);
37388 if (PyErr_Occurred()) SWIG_fail
;
37389 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxObject
,
37390 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37393 result
= (wxGBSizerItem
*)new wxGBSizerItem(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
37395 wxPyEndAllowThreads(__tstate
);
37396 if (PyErr_Occurred()) SWIG_fail
;
37398 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
37405 static PyObject
*_wrap_GBSizerItem_GetPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37406 PyObject
*resultobj
;
37407 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
37408 wxGBPosition result
;
37409 PyObject
* obj0
= 0 ;
37410 char *kwnames
[] = {
37411 (char *) "self", NULL
37414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetPos",kwnames
,&obj0
)) goto fail
;
37415 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
37416 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37419 result
= ((wxGBSizerItem
const *)arg1
)->GetPos();
37421 wxPyEndAllowThreads(__tstate
);
37422 if (PyErr_Occurred()) SWIG_fail
;
37425 wxGBPosition
* resultptr
;
37426 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
37427 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
37435 static PyObject
*_wrap_GBSizerItem_GetSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37436 PyObject
*resultobj
;
37437 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
37439 PyObject
* obj0
= 0 ;
37440 char *kwnames
[] = {
37441 (char *) "self", NULL
37444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetSpan",kwnames
,&obj0
)) goto fail
;
37445 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
37446 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37449 result
= ((wxGBSizerItem
const *)arg1
)->GetSpan();
37451 wxPyEndAllowThreads(__tstate
);
37452 if (PyErr_Occurred()) SWIG_fail
;
37455 wxGBSpan
* resultptr
;
37456 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
37457 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
37465 static PyObject
*_wrap_GBSizerItem_SetPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37466 PyObject
*resultobj
;
37467 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
37468 wxGBPosition
*arg2
= 0 ;
37470 wxGBPosition temp2
;
37471 PyObject
* obj0
= 0 ;
37472 PyObject
* obj1
= 0 ;
37473 char *kwnames
[] = {
37474 (char *) "self",(char *) "pos", NULL
37477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetPos",kwnames
,&obj0
,&obj1
)) goto fail
;
37478 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
37479 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37482 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
37485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37486 result
= (bool)(arg1
)->SetPos((wxGBPosition
const &)*arg2
);
37488 wxPyEndAllowThreads(__tstate
);
37489 if (PyErr_Occurred()) SWIG_fail
;
37492 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37500 static PyObject
*_wrap_GBSizerItem_SetSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37501 PyObject
*resultobj
;
37502 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
37503 wxGBSpan
*arg2
= 0 ;
37506 PyObject
* obj0
= 0 ;
37507 PyObject
* obj1
= 0 ;
37508 char *kwnames
[] = {
37509 (char *) "self",(char *) "span", NULL
37512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetSpan",kwnames
,&obj0
,&obj1
)) goto fail
;
37513 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
37514 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37517 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
37520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37521 result
= (bool)(arg1
)->SetSpan((wxGBSpan
const &)*arg2
);
37523 wxPyEndAllowThreads(__tstate
);
37524 if (PyErr_Occurred()) SWIG_fail
;
37527 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37535 static PyObject
*_wrap_GBSizerItem_Intersects__SWIG_0(PyObject
*self
, PyObject
*args
) {
37536 PyObject
*resultobj
;
37537 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
37538 wxGBSizerItem
*arg2
= 0 ;
37540 PyObject
* obj0
= 0 ;
37541 PyObject
* obj1
= 0 ;
37543 if(!PyArg_ParseTuple(args
,(char *)"OO:GBSizerItem_Intersects",&obj0
,&obj1
)) goto fail
;
37544 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
37545 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37546 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGBSizerItem
,
37547 SWIG_POINTER_EXCEPTION
| 0)) == -1)
37549 if (arg2
== NULL
) {
37550 PyErr_SetString(PyExc_TypeError
,"null reference");
37554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37555 result
= (bool)(arg1
)->Intersects((wxGBSizerItem
const &)*arg2
);
37557 wxPyEndAllowThreads(__tstate
);
37558 if (PyErr_Occurred()) SWIG_fail
;
37561 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37569 static PyObject
*_wrap_GBSizerItem_Intersects__SWIG_1(PyObject
*self
, PyObject
*args
) {
37570 PyObject
*resultobj
;
37571 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
37572 wxGBPosition
*arg2
= 0 ;
37573 wxGBSpan
*arg3
= 0 ;
37575 wxGBPosition temp2
;
37577 PyObject
* obj0
= 0 ;
37578 PyObject
* obj1
= 0 ;
37579 PyObject
* obj2
= 0 ;
37581 if(!PyArg_ParseTuple(args
,(char *)"OOO:GBSizerItem_Intersects",&obj0
,&obj1
,&obj2
)) goto fail
;
37582 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
37583 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37586 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
37590 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
37593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37594 result
= (bool)(arg1
)->Intersects((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
);
37596 wxPyEndAllowThreads(__tstate
);
37597 if (PyErr_Occurred()) SWIG_fail
;
37600 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37608 static PyObject
*_wrap_GBSizerItem_Intersects(PyObject
*self
, PyObject
*args
) {
37613 argc
= PyObject_Length(args
);
37614 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
37615 argv
[ii
] = PyTuple_GetItem(args
,ii
);
37621 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
37631 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
37639 return _wrap_GBSizerItem_Intersects__SWIG_0(self
,args
);
37647 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
37656 _v
= wxPySimple_typecheck(argv
[1], wxT("wxGBPosition"), 2);
37660 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
37663 return _wrap_GBSizerItem_Intersects__SWIG_1(self
,args
);
37669 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GBSizerItem_Intersects'");
37674 static PyObject
*_wrap_GBSizerItem_GetEndPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37675 PyObject
*resultobj
;
37676 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
37679 PyObject
* obj0
= 0 ;
37680 PyObject
* obj1
= 0 ;
37681 PyObject
* obj2
= 0 ;
37682 char *kwnames
[] = {
37683 (char *) "self",(char *) "row",(char *) "col", NULL
37686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GBSizerItem_GetEndPos",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37687 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
37688 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37689 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_int
,
37690 SWIG_POINTER_EXCEPTION
| 0)) == -1)
37692 if (arg2
== NULL
) {
37693 PyErr_SetString(PyExc_TypeError
,"null reference");
37696 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_int
,
37697 SWIG_POINTER_EXCEPTION
| 0)) == -1)
37699 if (arg3
== NULL
) {
37700 PyErr_SetString(PyExc_TypeError
,"null reference");
37704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37705 (arg1
)->GetEndPos(*arg2
,*arg3
);
37707 wxPyEndAllowThreads(__tstate
);
37708 if (PyErr_Occurred()) SWIG_fail
;
37710 Py_INCREF(Py_None
); resultobj
= Py_None
;
37717 static PyObject
*_wrap_GBSizerItem_GetGBSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37718 PyObject
*resultobj
;
37719 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
37720 wxGridBagSizer
*result
;
37721 PyObject
* obj0
= 0 ;
37722 char *kwnames
[] = {
37723 (char *) "self", NULL
37726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetGBSizer",kwnames
,&obj0
)) goto fail
;
37727 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
37728 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37731 result
= (wxGridBagSizer
*)((wxGBSizerItem
const *)arg1
)->GetGBSizer();
37733 wxPyEndAllowThreads(__tstate
);
37734 if (PyErr_Occurred()) SWIG_fail
;
37736 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridBagSizer
, 0);
37743 static PyObject
*_wrap_GBSizerItem_SetGBSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37744 PyObject
*resultobj
;
37745 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
37746 wxGridBagSizer
*arg2
= (wxGridBagSizer
*) 0 ;
37747 PyObject
* obj0
= 0 ;
37748 PyObject
* obj1
= 0 ;
37749 char *kwnames
[] = {
37750 (char *) "self",(char *) "sizer", NULL
37753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetGBSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
37754 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
37755 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37756 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridBagSizer
,
37757 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37760 (arg1
)->SetGBSizer(arg2
);
37762 wxPyEndAllowThreads(__tstate
);
37763 if (PyErr_Occurred()) SWIG_fail
;
37765 Py_INCREF(Py_None
); resultobj
= Py_None
;
37772 static PyObject
* GBSizerItem_swigregister(PyObject
*self
, PyObject
*args
) {
37774 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
37775 SWIG_TypeClientData(SWIGTYPE_p_wxGBSizerItem
, obj
);
37777 return Py_BuildValue((char *)"");
37779 static PyObject
*_wrap_new_GridBagSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37780 PyObject
*resultobj
;
37781 int arg1
= (int) 0 ;
37782 int arg2
= (int) 0 ;
37783 wxGridBagSizer
*result
;
37784 PyObject
* obj0
= 0 ;
37785 PyObject
* obj1
= 0 ;
37786 char *kwnames
[] = {
37787 (char *) "vgap",(char *) "hgap", NULL
37790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridBagSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
37792 arg1
= (int) SWIG_AsInt(obj0
);
37793 if (PyErr_Occurred()) SWIG_fail
;
37796 arg2
= (int) SWIG_AsInt(obj1
);
37797 if (PyErr_Occurred()) SWIG_fail
;
37800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37801 result
= (wxGridBagSizer
*)new wxGridBagSizer(arg1
,arg2
);
37803 wxPyEndAllowThreads(__tstate
);
37804 if (PyErr_Occurred()) SWIG_fail
;
37806 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridBagSizer
, 1);
37813 static PyObject
*_wrap_GridBagSizer_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37814 PyObject
*resultobj
;
37815 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37816 PyObject
*arg2
= (PyObject
*) 0 ;
37817 wxGBPosition
*arg3
= 0 ;
37818 wxGBSpan
const &arg4_defvalue
= wxDefaultSpan
;
37819 wxGBSpan
*arg4
= (wxGBSpan
*) &arg4_defvalue
;
37820 int arg5
= (int) 0 ;
37821 int arg6
= (int) 0 ;
37822 PyObject
*arg7
= (PyObject
*) NULL
;
37824 wxGBPosition temp3
;
37826 PyObject
* obj0
= 0 ;
37827 PyObject
* obj1
= 0 ;
37828 PyObject
* obj2
= 0 ;
37829 PyObject
* obj3
= 0 ;
37830 PyObject
* obj4
= 0 ;
37831 PyObject
* obj5
= 0 ;
37832 PyObject
* obj6
= 0 ;
37833 char *kwnames
[] = {
37834 (char *) "self",(char *) "item",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
37837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:GridBagSizer_Add",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
37838 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
37839 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37843 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
37848 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
37852 arg5
= (int) SWIG_AsInt(obj4
);
37853 if (PyErr_Occurred()) SWIG_fail
;
37856 arg6
= (int) SWIG_AsInt(obj5
);
37857 if (PyErr_Occurred()) SWIG_fail
;
37863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37864 result
= (bool)wxGridBagSizer_Add(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
37866 wxPyEndAllowThreads(__tstate
);
37867 if (PyErr_Occurred()) SWIG_fail
;
37870 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37878 static PyObject
*_wrap_GridBagSizer_AddItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37879 PyObject
*resultobj
;
37880 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37881 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
37883 PyObject
* obj0
= 0 ;
37884 PyObject
* obj1
= 0 ;
37885 char *kwnames
[] = {
37886 (char *) "self",(char *) "item", NULL
37889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_AddItem",kwnames
,&obj0
,&obj1
)) goto fail
;
37890 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
37891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37892 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGBSizerItem
,
37893 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37896 result
= (bool)(arg1
)->Add(arg2
);
37898 wxPyEndAllowThreads(__tstate
);
37899 if (PyErr_Occurred()) SWIG_fail
;
37902 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37910 static PyObject
*_wrap_GridBagSizer_GetEmptyCellSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37911 PyObject
*resultobj
;
37912 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37914 PyObject
* obj0
= 0 ;
37915 char *kwnames
[] = {
37916 (char *) "self", NULL
37919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridBagSizer_GetEmptyCellSize",kwnames
,&obj0
)) goto fail
;
37920 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
37921 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37924 result
= ((wxGridBagSizer
const *)arg1
)->GetEmptyCellSize();
37926 wxPyEndAllowThreads(__tstate
);
37927 if (PyErr_Occurred()) SWIG_fail
;
37930 wxSize
* resultptr
;
37931 resultptr
= new wxSize((wxSize
&) result
);
37932 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
37940 static PyObject
*_wrap_GridBagSizer_SetEmptyCellSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37941 PyObject
*resultobj
;
37942 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37945 PyObject
* obj0
= 0 ;
37946 PyObject
* obj1
= 0 ;
37947 char *kwnames
[] = {
37948 (char *) "self",(char *) "sz", NULL
37951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_SetEmptyCellSize",kwnames
,&obj0
,&obj1
)) goto fail
;
37952 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
37953 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37956 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
37959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37960 (arg1
)->SetEmptyCellSize((wxSize
const &)*arg2
);
37962 wxPyEndAllowThreads(__tstate
);
37963 if (PyErr_Occurred()) SWIG_fail
;
37965 Py_INCREF(Py_None
); resultobj
= Py_None
;
37972 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_0(PyObject
*self
, PyObject
*args
) {
37973 PyObject
*resultobj
;
37974 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37975 wxWindow
*arg2
= (wxWindow
*) 0 ;
37976 wxGBPosition result
;
37977 PyObject
* obj0
= 0 ;
37978 PyObject
* obj1
= 0 ;
37980 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
37981 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
37982 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37983 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
37984 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37987 result
= (arg1
)->GetItemPosition(arg2
);
37989 wxPyEndAllowThreads(__tstate
);
37990 if (PyErr_Occurred()) SWIG_fail
;
37993 wxGBPosition
* resultptr
;
37994 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
37995 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
38003 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_1(PyObject
*self
, PyObject
*args
) {
38004 PyObject
*resultobj
;
38005 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38006 wxSizer
*arg2
= (wxSizer
*) 0 ;
38007 wxGBPosition result
;
38008 PyObject
* obj0
= 0 ;
38009 PyObject
* obj1
= 0 ;
38011 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
38012 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38013 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38014 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
38015 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38018 result
= (arg1
)->GetItemPosition(arg2
);
38020 wxPyEndAllowThreads(__tstate
);
38021 if (PyErr_Occurred()) SWIG_fail
;
38024 wxGBPosition
* resultptr
;
38025 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
38026 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
38034 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_2(PyObject
*self
, PyObject
*args
) {
38035 PyObject
*resultobj
;
38036 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38038 wxGBPosition result
;
38039 PyObject
* obj0
= 0 ;
38040 PyObject
* obj1
= 0 ;
38042 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
38043 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38044 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38045 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
38046 if (PyErr_Occurred()) SWIG_fail
;
38048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38049 result
= (arg1
)->GetItemPosition(arg2
);
38051 wxPyEndAllowThreads(__tstate
);
38052 if (PyErr_Occurred()) SWIG_fail
;
38055 wxGBPosition
* resultptr
;
38056 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
38057 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
38065 static PyObject
*_wrap_GridBagSizer_GetItemPosition(PyObject
*self
, PyObject
*args
) {
38070 argc
= PyObject_Length(args
);
38071 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
38072 argv
[ii
] = PyTuple_GetItem(args
,ii
);
38078 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38088 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
38096 return _wrap_GridBagSizer_GetItemPosition__SWIG_0(self
,args
);
38104 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38114 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
38122 return _wrap_GridBagSizer_GetItemPosition__SWIG_1(self
,args
);
38130 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38138 _v
= SWIG_CheckUnsignedLong(argv
[1]);
38140 return _wrap_GridBagSizer_GetItemPosition__SWIG_2(self
,args
);
38145 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_GetItemPosition'");
38150 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_0(PyObject
*self
, PyObject
*args
) {
38151 PyObject
*resultobj
;
38152 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38153 wxWindow
*arg2
= (wxWindow
*) 0 ;
38154 wxGBPosition
*arg3
= 0 ;
38156 wxGBPosition temp3
;
38157 PyObject
* obj0
= 0 ;
38158 PyObject
* obj1
= 0 ;
38159 PyObject
* obj2
= 0 ;
38161 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
38162 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38163 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38164 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
38165 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38168 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
38171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38172 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
38174 wxPyEndAllowThreads(__tstate
);
38175 if (PyErr_Occurred()) SWIG_fail
;
38178 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38186 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_1(PyObject
*self
, PyObject
*args
) {
38187 PyObject
*resultobj
;
38188 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38189 wxSizer
*arg2
= (wxSizer
*) 0 ;
38190 wxGBPosition
*arg3
= 0 ;
38192 wxGBPosition temp3
;
38193 PyObject
* obj0
= 0 ;
38194 PyObject
* obj1
= 0 ;
38195 PyObject
* obj2
= 0 ;
38197 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
38198 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38199 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38200 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
38201 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38204 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
38207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38208 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
38210 wxPyEndAllowThreads(__tstate
);
38211 if (PyErr_Occurred()) SWIG_fail
;
38214 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38222 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_2(PyObject
*self
, PyObject
*args
) {
38223 PyObject
*resultobj
;
38224 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38226 wxGBPosition
*arg3
= 0 ;
38228 wxGBPosition temp3
;
38229 PyObject
* obj0
= 0 ;
38230 PyObject
* obj1
= 0 ;
38231 PyObject
* obj2
= 0 ;
38233 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
38234 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38235 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38236 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
38237 if (PyErr_Occurred()) SWIG_fail
;
38240 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
38243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38244 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
38246 wxPyEndAllowThreads(__tstate
);
38247 if (PyErr_Occurred()) SWIG_fail
;
38250 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38258 static PyObject
*_wrap_GridBagSizer_SetItemPosition(PyObject
*self
, PyObject
*args
) {
38263 argc
= PyObject_Length(args
);
38264 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
38265 argv
[ii
] = PyTuple_GetItem(args
,ii
);
38271 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38281 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
38290 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
38293 return _wrap_GridBagSizer_SetItemPosition__SWIG_0(self
,args
);
38302 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38312 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
38321 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
38324 return _wrap_GridBagSizer_SetItemPosition__SWIG_1(self
,args
);
38333 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38341 _v
= SWIG_CheckUnsignedLong(argv
[1]);
38344 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
38347 return _wrap_GridBagSizer_SetItemPosition__SWIG_2(self
,args
);
38353 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_SetItemPosition'");
38358 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_0(PyObject
*self
, PyObject
*args
) {
38359 PyObject
*resultobj
;
38360 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38361 wxWindow
*arg2
= (wxWindow
*) 0 ;
38363 PyObject
* obj0
= 0 ;
38364 PyObject
* obj1
= 0 ;
38366 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
38367 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38368 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38369 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
38370 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38373 result
= (arg1
)->GetItemSpan(arg2
);
38375 wxPyEndAllowThreads(__tstate
);
38376 if (PyErr_Occurred()) SWIG_fail
;
38379 wxGBSpan
* resultptr
;
38380 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
38381 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
38389 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_1(PyObject
*self
, PyObject
*args
) {
38390 PyObject
*resultobj
;
38391 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38392 wxSizer
*arg2
= (wxSizer
*) 0 ;
38394 PyObject
* obj0
= 0 ;
38395 PyObject
* obj1
= 0 ;
38397 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
38398 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38399 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38400 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
38401 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38404 result
= (arg1
)->GetItemSpan(arg2
);
38406 wxPyEndAllowThreads(__tstate
);
38407 if (PyErr_Occurred()) SWIG_fail
;
38410 wxGBSpan
* resultptr
;
38411 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
38412 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
38420 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_2(PyObject
*self
, PyObject
*args
) {
38421 PyObject
*resultobj
;
38422 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38425 PyObject
* obj0
= 0 ;
38426 PyObject
* obj1
= 0 ;
38428 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
38429 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38430 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38431 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
38432 if (PyErr_Occurred()) SWIG_fail
;
38434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38435 result
= (arg1
)->GetItemSpan(arg2
);
38437 wxPyEndAllowThreads(__tstate
);
38438 if (PyErr_Occurred()) SWIG_fail
;
38441 wxGBSpan
* resultptr
;
38442 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
38443 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
38451 static PyObject
*_wrap_GridBagSizer_GetItemSpan(PyObject
*self
, PyObject
*args
) {
38456 argc
= PyObject_Length(args
);
38457 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
38458 argv
[ii
] = PyTuple_GetItem(args
,ii
);
38464 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38474 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
38482 return _wrap_GridBagSizer_GetItemSpan__SWIG_0(self
,args
);
38490 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38500 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
38508 return _wrap_GridBagSizer_GetItemSpan__SWIG_1(self
,args
);
38516 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38524 _v
= SWIG_CheckUnsignedLong(argv
[1]);
38526 return _wrap_GridBagSizer_GetItemSpan__SWIG_2(self
,args
);
38531 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_GetItemSpan'");
38536 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_0(PyObject
*self
, PyObject
*args
) {
38537 PyObject
*resultobj
;
38538 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38539 wxWindow
*arg2
= (wxWindow
*) 0 ;
38540 wxGBSpan
*arg3
= 0 ;
38543 PyObject
* obj0
= 0 ;
38544 PyObject
* obj1
= 0 ;
38545 PyObject
* obj2
= 0 ;
38547 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
38548 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38549 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38550 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
38551 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38554 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
38557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38558 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
38560 wxPyEndAllowThreads(__tstate
);
38561 if (PyErr_Occurred()) SWIG_fail
;
38564 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38572 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_1(PyObject
*self
, PyObject
*args
) {
38573 PyObject
*resultobj
;
38574 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38575 wxSizer
*arg2
= (wxSizer
*) 0 ;
38576 wxGBSpan
*arg3
= 0 ;
38579 PyObject
* obj0
= 0 ;
38580 PyObject
* obj1
= 0 ;
38581 PyObject
* obj2
= 0 ;
38583 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
38584 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38585 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38586 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
38587 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38590 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
38593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38594 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
38596 wxPyEndAllowThreads(__tstate
);
38597 if (PyErr_Occurred()) SWIG_fail
;
38600 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38608 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_2(PyObject
*self
, PyObject
*args
) {
38609 PyObject
*resultobj
;
38610 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38612 wxGBSpan
*arg3
= 0 ;
38615 PyObject
* obj0
= 0 ;
38616 PyObject
* obj1
= 0 ;
38617 PyObject
* obj2
= 0 ;
38619 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
38620 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38621 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38622 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
38623 if (PyErr_Occurred()) SWIG_fail
;
38626 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
38629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38630 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
38632 wxPyEndAllowThreads(__tstate
);
38633 if (PyErr_Occurred()) SWIG_fail
;
38636 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38644 static PyObject
*_wrap_GridBagSizer_SetItemSpan(PyObject
*self
, PyObject
*args
) {
38649 argc
= PyObject_Length(args
);
38650 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
38651 argv
[ii
] = PyTuple_GetItem(args
,ii
);
38657 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38667 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
38676 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
38679 return _wrap_GridBagSizer_SetItemSpan__SWIG_0(self
,args
);
38688 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38698 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
38707 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
38710 return _wrap_GridBagSizer_SetItemSpan__SWIG_1(self
,args
);
38719 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38727 _v
= SWIG_CheckUnsignedLong(argv
[1]);
38730 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
38733 return _wrap_GridBagSizer_SetItemSpan__SWIG_2(self
,args
);
38739 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_SetItemSpan'");
38744 static PyObject
*_wrap_GridBagSizer_FindItem__SWIG_0(PyObject
*self
, PyObject
*args
) {
38745 PyObject
*resultobj
;
38746 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38747 wxWindow
*arg2
= (wxWindow
*) 0 ;
38748 wxGBSizerItem
*result
;
38749 PyObject
* obj0
= 0 ;
38750 PyObject
* obj1
= 0 ;
38752 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_FindItem",&obj0
,&obj1
)) goto fail
;
38753 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38754 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38755 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
38756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38759 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
38761 wxPyEndAllowThreads(__tstate
);
38762 if (PyErr_Occurred()) SWIG_fail
;
38764 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
38771 static PyObject
*_wrap_GridBagSizer_FindItem__SWIG_1(PyObject
*self
, PyObject
*args
) {
38772 PyObject
*resultobj
;
38773 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38774 wxSizer
*arg2
= (wxSizer
*) 0 ;
38775 wxGBSizerItem
*result
;
38776 PyObject
* obj0
= 0 ;
38777 PyObject
* obj1
= 0 ;
38779 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_FindItem",&obj0
,&obj1
)) goto fail
;
38780 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38781 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38782 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
38783 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38786 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
38788 wxPyEndAllowThreads(__tstate
);
38789 if (PyErr_Occurred()) SWIG_fail
;
38791 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
38798 static PyObject
*_wrap_GridBagSizer_FindItem(PyObject
*self
, PyObject
*args
) {
38803 argc
= PyObject_Length(args
);
38804 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
38805 argv
[ii
] = PyTuple_GetItem(args
,ii
);
38811 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38821 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
38829 return _wrap_GridBagSizer_FindItem__SWIG_0(self
,args
);
38837 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38847 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
38855 return _wrap_GridBagSizer_FindItem__SWIG_1(self
,args
);
38860 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_FindItem'");
38865 static PyObject
*_wrap_GridBagSizer_FindItemAtPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38866 PyObject
*resultobj
;
38867 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38868 wxGBPosition
*arg2
= 0 ;
38869 wxGBSizerItem
*result
;
38870 wxGBPosition temp2
;
38871 PyObject
* obj0
= 0 ;
38872 PyObject
* obj1
= 0 ;
38873 char *kwnames
[] = {
38874 (char *) "self",(char *) "pos", NULL
38877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
38878 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38879 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38882 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
38885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38886 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPosition((wxGBPosition
const &)*arg2
);
38888 wxPyEndAllowThreads(__tstate
);
38889 if (PyErr_Occurred()) SWIG_fail
;
38891 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
38898 static PyObject
*_wrap_GridBagSizer_FindItemAtPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38899 PyObject
*resultobj
;
38900 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38901 wxPoint
*arg2
= 0 ;
38902 wxGBSizerItem
*result
;
38904 PyObject
* obj0
= 0 ;
38905 PyObject
* obj1
= 0 ;
38906 char *kwnames
[] = {
38907 (char *) "self",(char *) "pt", NULL
38910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
38911 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38912 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38915 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
38918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38919 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPoint((wxPoint
const &)*arg2
);
38921 wxPyEndAllowThreads(__tstate
);
38922 if (PyErr_Occurred()) SWIG_fail
;
38924 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
38931 static PyObject
*_wrap_GridBagSizer_FindItemWithData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38932 PyObject
*resultobj
;
38933 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38934 wxObject
*arg2
= (wxObject
*) 0 ;
38935 wxGBSizerItem
*result
;
38936 PyObject
* obj0
= 0 ;
38937 PyObject
* obj1
= 0 ;
38938 char *kwnames
[] = {
38939 (char *) "self",(char *) "userData", NULL
38942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemWithData",kwnames
,&obj0
,&obj1
)) goto fail
;
38943 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38944 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38945 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxObject
,
38946 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38949 result
= (wxGBSizerItem
*)(arg1
)->FindItemWithData((wxObject
const *)arg2
);
38951 wxPyEndAllowThreads(__tstate
);
38952 if (PyErr_Occurred()) SWIG_fail
;
38954 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
38961 static PyObject
*_wrap_GridBagSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38962 PyObject
*resultobj
;
38963 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38964 PyObject
* obj0
= 0 ;
38965 char *kwnames
[] = {
38966 (char *) "self", NULL
38969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridBagSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
38970 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38971 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38974 (arg1
)->RecalcSizes();
38976 wxPyEndAllowThreads(__tstate
);
38977 if (PyErr_Occurred()) SWIG_fail
;
38979 Py_INCREF(Py_None
); resultobj
= Py_None
;
38986 static PyObject
*_wrap_GridBagSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38987 PyObject
*resultobj
;
38988 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38990 PyObject
* obj0
= 0 ;
38991 char *kwnames
[] = {
38992 (char *) "self", NULL
38995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridBagSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
38996 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38997 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39000 result
= (arg1
)->CalcMin();
39002 wxPyEndAllowThreads(__tstate
);
39003 if (PyErr_Occurred()) SWIG_fail
;
39006 wxSize
* resultptr
;
39007 resultptr
= new wxSize((wxSize
&) result
);
39008 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
39016 static PyObject
*_wrap_GridBagSizer_CheckForIntersection__SWIG_0(PyObject
*self
, PyObject
*args
) {
39017 PyObject
*resultobj
;
39018 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39019 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
39020 wxGBSizerItem
*arg3
= (wxGBSizerItem
*) NULL
;
39022 PyObject
* obj0
= 0 ;
39023 PyObject
* obj1
= 0 ;
39024 PyObject
* obj2
= 0 ;
39026 if(!PyArg_ParseTuple(args
,(char *)"OO|O:GridBagSizer_CheckForIntersection",&obj0
,&obj1
,&obj2
)) goto fail
;
39027 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39028 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39029 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGBSizerItem
,
39030 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39032 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxGBSizerItem
,
39033 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39037 result
= (bool)(arg1
)->CheckForIntersection(arg2
,arg3
);
39039 wxPyEndAllowThreads(__tstate
);
39040 if (PyErr_Occurred()) SWIG_fail
;
39043 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39051 static PyObject
*_wrap_GridBagSizer_CheckForIntersection__SWIG_1(PyObject
*self
, PyObject
*args
) {
39052 PyObject
*resultobj
;
39053 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39054 wxGBPosition
*arg2
= 0 ;
39055 wxGBSpan
*arg3
= 0 ;
39056 wxGBSizerItem
*arg4
= (wxGBSizerItem
*) NULL
;
39058 wxGBPosition temp2
;
39060 PyObject
* obj0
= 0 ;
39061 PyObject
* obj1
= 0 ;
39062 PyObject
* obj2
= 0 ;
39063 PyObject
* obj3
= 0 ;
39065 if(!PyArg_ParseTuple(args
,(char *)"OOO|O:GridBagSizer_CheckForIntersection",&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
39066 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39067 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39070 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
39074 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
39077 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxGBSizerItem
,
39078 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39082 result
= (bool)(arg1
)->CheckForIntersection((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
);
39084 wxPyEndAllowThreads(__tstate
);
39085 if (PyErr_Occurred()) SWIG_fail
;
39088 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39096 static PyObject
*_wrap_GridBagSizer_CheckForIntersection(PyObject
*self
, PyObject
*args
) {
39101 argc
= PyObject_Length(args
);
39102 for (ii
= 0; (ii
< argc
) && (ii
< 4); ii
++) {
39103 argv
[ii
] = PyTuple_GetItem(args
,ii
);
39105 if ((argc
>= 2) && (argc
<= 3)) {
39109 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39119 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
39128 return _wrap_GridBagSizer_CheckForIntersection__SWIG_0(self
,args
);
39132 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
39140 return _wrap_GridBagSizer_CheckForIntersection__SWIG_0(self
,args
);
39145 if ((argc
>= 3) && (argc
<= 4)) {
39149 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39158 _v
= wxPySimple_typecheck(argv
[1], wxT("wxGBPosition"), 2);
39162 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
39166 return _wrap_GridBagSizer_CheckForIntersection__SWIG_1(self
,args
);
39170 if (SWIG_ConvertPtr(argv
[3], &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
39178 return _wrap_GridBagSizer_CheckForIntersection__SWIG_1(self
,args
);
39185 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_CheckForIntersection'");
39190 static PyObject
* GridBagSizer_swigregister(PyObject
*self
, PyObject
*args
) {
39192 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
39193 SWIG_TypeClientData(SWIGTYPE_p_wxGridBagSizer
, obj
);
39195 return Py_BuildValue((char *)"");
39197 static PyObject
*_wrap_IndividualLayoutConstraint_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39198 PyObject
*resultobj
;
39199 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39201 wxWindow
*arg3
= (wxWindow
*) 0 ;
39203 int arg5
= (int) 0 ;
39204 int arg6
= (int) wxLAYOUT_DEFAULT_MARGIN
;
39205 PyObject
* obj0
= 0 ;
39206 PyObject
* obj1
= 0 ;
39207 PyObject
* obj2
= 0 ;
39208 PyObject
* obj3
= 0 ;
39209 PyObject
* obj4
= 0 ;
39210 PyObject
* obj5
= 0 ;
39211 char *kwnames
[] = {
39212 (char *) "self",(char *) "rel",(char *) "otherW",(char *) "otherE",(char *) "val",(char *) "marg", NULL
39215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:IndividualLayoutConstraint_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
39216 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39217 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39218 arg2
= (wxRelationship
) SWIG_AsInt(obj1
);
39219 if (PyErr_Occurred()) SWIG_fail
;
39220 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
39221 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39222 arg4
= (wxEdge
) SWIG_AsInt(obj3
);
39223 if (PyErr_Occurred()) SWIG_fail
;
39225 arg5
= (int) SWIG_AsInt(obj4
);
39226 if (PyErr_Occurred()) SWIG_fail
;
39229 arg6
= (int) SWIG_AsInt(obj5
);
39230 if (PyErr_Occurred()) SWIG_fail
;
39233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39234 (arg1
)->Set((wxRelationship
)arg2
,arg3
,(wxEdge
)arg4
,arg5
,arg6
);
39236 wxPyEndAllowThreads(__tstate
);
39237 if (PyErr_Occurred()) SWIG_fail
;
39239 Py_INCREF(Py_None
); resultobj
= Py_None
;
39246 static PyObject
*_wrap_IndividualLayoutConstraint_LeftOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39247 PyObject
*resultobj
;
39248 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39249 wxWindow
*arg2
= (wxWindow
*) 0 ;
39250 int arg3
= (int) 0 ;
39251 PyObject
* obj0
= 0 ;
39252 PyObject
* obj1
= 0 ;
39253 PyObject
* obj2
= 0 ;
39254 char *kwnames
[] = {
39255 (char *) "self",(char *) "sibling",(char *) "marg", NULL
39258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_LeftOf",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39259 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39260 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39261 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39262 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39264 arg3
= (int) SWIG_AsInt(obj2
);
39265 if (PyErr_Occurred()) SWIG_fail
;
39268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39269 (arg1
)->LeftOf(arg2
,arg3
);
39271 wxPyEndAllowThreads(__tstate
);
39272 if (PyErr_Occurred()) SWIG_fail
;
39274 Py_INCREF(Py_None
); resultobj
= Py_None
;
39281 static PyObject
*_wrap_IndividualLayoutConstraint_RightOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39282 PyObject
*resultobj
;
39283 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39284 wxWindow
*arg2
= (wxWindow
*) 0 ;
39285 int arg3
= (int) 0 ;
39286 PyObject
* obj0
= 0 ;
39287 PyObject
* obj1
= 0 ;
39288 PyObject
* obj2
= 0 ;
39289 char *kwnames
[] = {
39290 (char *) "self",(char *) "sibling",(char *) "marg", NULL
39293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_RightOf",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39294 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39295 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39296 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39297 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39299 arg3
= (int) SWIG_AsInt(obj2
);
39300 if (PyErr_Occurred()) SWIG_fail
;
39303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39304 (arg1
)->RightOf(arg2
,arg3
);
39306 wxPyEndAllowThreads(__tstate
);
39307 if (PyErr_Occurred()) SWIG_fail
;
39309 Py_INCREF(Py_None
); resultobj
= Py_None
;
39316 static PyObject
*_wrap_IndividualLayoutConstraint_Above(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39317 PyObject
*resultobj
;
39318 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39319 wxWindow
*arg2
= (wxWindow
*) 0 ;
39320 int arg3
= (int) 0 ;
39321 PyObject
* obj0
= 0 ;
39322 PyObject
* obj1
= 0 ;
39323 PyObject
* obj2
= 0 ;
39324 char *kwnames
[] = {
39325 (char *) "self",(char *) "sibling",(char *) "marg", NULL
39328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_Above",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39329 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39330 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39331 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39332 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39334 arg3
= (int) SWIG_AsInt(obj2
);
39335 if (PyErr_Occurred()) SWIG_fail
;
39338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39339 (arg1
)->Above(arg2
,arg3
);
39341 wxPyEndAllowThreads(__tstate
);
39342 if (PyErr_Occurred()) SWIG_fail
;
39344 Py_INCREF(Py_None
); resultobj
= Py_None
;
39351 static PyObject
*_wrap_IndividualLayoutConstraint_Below(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39352 PyObject
*resultobj
;
39353 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39354 wxWindow
*arg2
= (wxWindow
*) 0 ;
39355 int arg3
= (int) 0 ;
39356 PyObject
* obj0
= 0 ;
39357 PyObject
* obj1
= 0 ;
39358 PyObject
* obj2
= 0 ;
39359 char *kwnames
[] = {
39360 (char *) "self",(char *) "sibling",(char *) "marg", NULL
39363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_Below",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39364 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39365 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39366 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39367 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39369 arg3
= (int) SWIG_AsInt(obj2
);
39370 if (PyErr_Occurred()) SWIG_fail
;
39373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39374 (arg1
)->Below(arg2
,arg3
);
39376 wxPyEndAllowThreads(__tstate
);
39377 if (PyErr_Occurred()) SWIG_fail
;
39379 Py_INCREF(Py_None
); resultobj
= Py_None
;
39386 static PyObject
*_wrap_IndividualLayoutConstraint_SameAs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39387 PyObject
*resultobj
;
39388 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39389 wxWindow
*arg2
= (wxWindow
*) 0 ;
39391 int arg4
= (int) 0 ;
39392 PyObject
* obj0
= 0 ;
39393 PyObject
* obj1
= 0 ;
39394 PyObject
* obj2
= 0 ;
39395 PyObject
* obj3
= 0 ;
39396 char *kwnames
[] = {
39397 (char *) "self",(char *) "otherW",(char *) "edge",(char *) "marg", NULL
39400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:IndividualLayoutConstraint_SameAs",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
39401 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39402 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39403 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39404 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39405 arg3
= (wxEdge
) SWIG_AsInt(obj2
);
39406 if (PyErr_Occurred()) SWIG_fail
;
39408 arg4
= (int) SWIG_AsInt(obj3
);
39409 if (PyErr_Occurred()) SWIG_fail
;
39412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39413 (arg1
)->SameAs(arg2
,(wxEdge
)arg3
,arg4
);
39415 wxPyEndAllowThreads(__tstate
);
39416 if (PyErr_Occurred()) SWIG_fail
;
39418 Py_INCREF(Py_None
); resultobj
= Py_None
;
39425 static PyObject
*_wrap_IndividualLayoutConstraint_PercentOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39426 PyObject
*resultobj
;
39427 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39428 wxWindow
*arg2
= (wxWindow
*) 0 ;
39431 PyObject
* obj0
= 0 ;
39432 PyObject
* obj1
= 0 ;
39433 PyObject
* obj2
= 0 ;
39434 PyObject
* obj3
= 0 ;
39435 char *kwnames
[] = {
39436 (char *) "self",(char *) "otherW",(char *) "wh",(char *) "per", NULL
39439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:IndividualLayoutConstraint_PercentOf",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
39440 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39441 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39442 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39443 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39444 arg3
= (wxEdge
) SWIG_AsInt(obj2
);
39445 if (PyErr_Occurred()) SWIG_fail
;
39446 arg4
= (int) SWIG_AsInt(obj3
);
39447 if (PyErr_Occurred()) SWIG_fail
;
39449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39450 (arg1
)->PercentOf(arg2
,(wxEdge
)arg3
,arg4
);
39452 wxPyEndAllowThreads(__tstate
);
39453 if (PyErr_Occurred()) SWIG_fail
;
39455 Py_INCREF(Py_None
); resultobj
= Py_None
;
39462 static PyObject
*_wrap_IndividualLayoutConstraint_Absolute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39463 PyObject
*resultobj
;
39464 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39466 PyObject
* obj0
= 0 ;
39467 PyObject
* obj1
= 0 ;
39468 char *kwnames
[] = {
39469 (char *) "self",(char *) "val", NULL
39472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_Absolute",kwnames
,&obj0
,&obj1
)) goto fail
;
39473 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39474 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39475 arg2
= (int) SWIG_AsInt(obj1
);
39476 if (PyErr_Occurred()) SWIG_fail
;
39478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39479 (arg1
)->Absolute(arg2
);
39481 wxPyEndAllowThreads(__tstate
);
39482 if (PyErr_Occurred()) SWIG_fail
;
39484 Py_INCREF(Py_None
); resultobj
= Py_None
;
39491 static PyObject
*_wrap_IndividualLayoutConstraint_Unconstrained(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39492 PyObject
*resultobj
;
39493 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39494 PyObject
* obj0
= 0 ;
39495 char *kwnames
[] = {
39496 (char *) "self", NULL
39499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_Unconstrained",kwnames
,&obj0
)) goto fail
;
39500 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39501 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39504 (arg1
)->Unconstrained();
39506 wxPyEndAllowThreads(__tstate
);
39507 if (PyErr_Occurred()) SWIG_fail
;
39509 Py_INCREF(Py_None
); resultobj
= Py_None
;
39516 static PyObject
*_wrap_IndividualLayoutConstraint_AsIs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39517 PyObject
*resultobj
;
39518 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39519 PyObject
* obj0
= 0 ;
39520 char *kwnames
[] = {
39521 (char *) "self", NULL
39524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_AsIs",kwnames
,&obj0
)) goto fail
;
39525 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39526 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39531 wxPyEndAllowThreads(__tstate
);
39532 if (PyErr_Occurred()) SWIG_fail
;
39534 Py_INCREF(Py_None
); resultobj
= Py_None
;
39541 static PyObject
*_wrap_IndividualLayoutConstraint_GetOtherWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39542 PyObject
*resultobj
;
39543 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39545 PyObject
* obj0
= 0 ;
39546 char *kwnames
[] = {
39547 (char *) "self", NULL
39550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetOtherWindow",kwnames
,&obj0
)) goto fail
;
39551 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39552 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39555 result
= (wxWindow
*)(arg1
)->GetOtherWindow();
39557 wxPyEndAllowThreads(__tstate
);
39558 if (PyErr_Occurred()) SWIG_fail
;
39561 resultobj
= wxPyMake_wxObject(result
);
39569 static PyObject
*_wrap_IndividualLayoutConstraint_GetMyEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39570 PyObject
*resultobj
;
39571 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39573 PyObject
* obj0
= 0 ;
39574 char *kwnames
[] = {
39575 (char *) "self", NULL
39578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetMyEdge",kwnames
,&obj0
)) goto fail
;
39579 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39580 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39583 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetMyEdge();
39585 wxPyEndAllowThreads(__tstate
);
39586 if (PyErr_Occurred()) SWIG_fail
;
39588 resultobj
= SWIG_FromInt((int)result
);
39595 static PyObject
*_wrap_IndividualLayoutConstraint_SetEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39596 PyObject
*resultobj
;
39597 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39599 PyObject
* obj0
= 0 ;
39600 PyObject
* obj1
= 0 ;
39601 char *kwnames
[] = {
39602 (char *) "self",(char *) "which", NULL
39605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetEdge",kwnames
,&obj0
,&obj1
)) goto fail
;
39606 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39607 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39608 arg2
= (wxEdge
) SWIG_AsInt(obj1
);
39609 if (PyErr_Occurred()) SWIG_fail
;
39611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39612 (arg1
)->SetEdge((wxEdge
)arg2
);
39614 wxPyEndAllowThreads(__tstate
);
39615 if (PyErr_Occurred()) SWIG_fail
;
39617 Py_INCREF(Py_None
); resultobj
= Py_None
;
39624 static PyObject
*_wrap_IndividualLayoutConstraint_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39625 PyObject
*resultobj
;
39626 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39628 PyObject
* obj0
= 0 ;
39629 PyObject
* obj1
= 0 ;
39630 char *kwnames
[] = {
39631 (char *) "self",(char *) "v", NULL
39634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
39635 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39636 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39637 arg2
= (int) SWIG_AsInt(obj1
);
39638 if (PyErr_Occurred()) SWIG_fail
;
39640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39641 (arg1
)->SetValue(arg2
);
39643 wxPyEndAllowThreads(__tstate
);
39644 if (PyErr_Occurred()) SWIG_fail
;
39646 Py_INCREF(Py_None
); resultobj
= Py_None
;
39653 static PyObject
*_wrap_IndividualLayoutConstraint_GetMargin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39654 PyObject
*resultobj
;
39655 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39657 PyObject
* obj0
= 0 ;
39658 char *kwnames
[] = {
39659 (char *) "self", NULL
39662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetMargin",kwnames
,&obj0
)) goto fail
;
39663 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39664 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39667 result
= (int)(arg1
)->GetMargin();
39669 wxPyEndAllowThreads(__tstate
);
39670 if (PyErr_Occurred()) SWIG_fail
;
39672 resultobj
= SWIG_FromInt((int)result
);
39679 static PyObject
*_wrap_IndividualLayoutConstraint_SetMargin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39680 PyObject
*resultobj
;
39681 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39683 PyObject
* obj0
= 0 ;
39684 PyObject
* obj1
= 0 ;
39685 char *kwnames
[] = {
39686 (char *) "self",(char *) "m", NULL
39689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetMargin",kwnames
,&obj0
,&obj1
)) goto fail
;
39690 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39691 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39692 arg2
= (int) SWIG_AsInt(obj1
);
39693 if (PyErr_Occurred()) SWIG_fail
;
39695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39696 (arg1
)->SetMargin(arg2
);
39698 wxPyEndAllowThreads(__tstate
);
39699 if (PyErr_Occurred()) SWIG_fail
;
39701 Py_INCREF(Py_None
); resultobj
= Py_None
;
39708 static PyObject
*_wrap_IndividualLayoutConstraint_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39709 PyObject
*resultobj
;
39710 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39712 PyObject
* obj0
= 0 ;
39713 char *kwnames
[] = {
39714 (char *) "self", NULL
39717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetValue",kwnames
,&obj0
)) goto fail
;
39718 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39719 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39722 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetValue();
39724 wxPyEndAllowThreads(__tstate
);
39725 if (PyErr_Occurred()) SWIG_fail
;
39727 resultobj
= SWIG_FromInt((int)result
);
39734 static PyObject
*_wrap_IndividualLayoutConstraint_GetPercent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39735 PyObject
*resultobj
;
39736 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39738 PyObject
* obj0
= 0 ;
39739 char *kwnames
[] = {
39740 (char *) "self", NULL
39743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetPercent",kwnames
,&obj0
)) goto fail
;
39744 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39745 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39748 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetPercent();
39750 wxPyEndAllowThreads(__tstate
);
39751 if (PyErr_Occurred()) SWIG_fail
;
39753 resultobj
= SWIG_FromInt((int)result
);
39760 static PyObject
*_wrap_IndividualLayoutConstraint_GetOtherEdge(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_GetOtherEdge",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)((wxIndividualLayoutConstraint
const *)arg1
)->GetOtherEdge();
39776 wxPyEndAllowThreads(__tstate
);
39777 if (PyErr_Occurred()) SWIG_fail
;
39779 resultobj
= SWIG_FromInt((int)result
);
39786 static PyObject
*_wrap_IndividualLayoutConstraint_GetDone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39787 PyObject
*resultobj
;
39788 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39790 PyObject
* obj0
= 0 ;
39791 char *kwnames
[] = {
39792 (char *) "self", NULL
39795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetDone",kwnames
,&obj0
)) goto fail
;
39796 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39797 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39800 result
= (bool)((wxIndividualLayoutConstraint
const *)arg1
)->GetDone();
39802 wxPyEndAllowThreads(__tstate
);
39803 if (PyErr_Occurred()) SWIG_fail
;
39806 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39814 static PyObject
*_wrap_IndividualLayoutConstraint_SetDone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39815 PyObject
*resultobj
;
39816 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39818 PyObject
* obj0
= 0 ;
39819 PyObject
* obj1
= 0 ;
39820 char *kwnames
[] = {
39821 (char *) "self",(char *) "d", NULL
39824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetDone",kwnames
,&obj0
,&obj1
)) goto fail
;
39825 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39826 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39827 arg2
= (bool) SWIG_AsBool(obj1
);
39828 if (PyErr_Occurred()) SWIG_fail
;
39830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39831 (arg1
)->SetDone(arg2
);
39833 wxPyEndAllowThreads(__tstate
);
39834 if (PyErr_Occurred()) SWIG_fail
;
39836 Py_INCREF(Py_None
); resultobj
= Py_None
;
39843 static PyObject
*_wrap_IndividualLayoutConstraint_GetRelationship(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39844 PyObject
*resultobj
;
39845 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39847 PyObject
* obj0
= 0 ;
39848 char *kwnames
[] = {
39849 (char *) "self", NULL
39852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetRelationship",kwnames
,&obj0
)) goto fail
;
39853 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39854 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39857 result
= (int)(arg1
)->GetRelationship();
39859 wxPyEndAllowThreads(__tstate
);
39860 if (PyErr_Occurred()) SWIG_fail
;
39862 resultobj
= SWIG_FromInt((int)result
);
39869 static PyObject
*_wrap_IndividualLayoutConstraint_SetRelationship(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39870 PyObject
*resultobj
;
39871 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39873 PyObject
* obj0
= 0 ;
39874 PyObject
* obj1
= 0 ;
39875 char *kwnames
[] = {
39876 (char *) "self",(char *) "r", NULL
39879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetRelationship",kwnames
,&obj0
,&obj1
)) goto fail
;
39880 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39881 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39882 arg2
= (wxRelationship
) SWIG_AsInt(obj1
);
39883 if (PyErr_Occurred()) SWIG_fail
;
39885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39886 (arg1
)->SetRelationship((wxRelationship
)arg2
);
39888 wxPyEndAllowThreads(__tstate
);
39889 if (PyErr_Occurred()) SWIG_fail
;
39891 Py_INCREF(Py_None
); resultobj
= Py_None
;
39898 static PyObject
*_wrap_IndividualLayoutConstraint_ResetIfWin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39899 PyObject
*resultobj
;
39900 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39901 wxWindow
*arg2
= (wxWindow
*) 0 ;
39903 PyObject
* obj0
= 0 ;
39904 PyObject
* obj1
= 0 ;
39905 char *kwnames
[] = {
39906 (char *) "self",(char *) "otherW", NULL
39909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_ResetIfWin",kwnames
,&obj0
,&obj1
)) goto fail
;
39910 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39911 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39912 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39913 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39916 result
= (bool)(arg1
)->ResetIfWin(arg2
);
39918 wxPyEndAllowThreads(__tstate
);
39919 if (PyErr_Occurred()) SWIG_fail
;
39922 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39930 static PyObject
*_wrap_IndividualLayoutConstraint_SatisfyConstraint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39931 PyObject
*resultobj
;
39932 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39933 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
39934 wxWindow
*arg3
= (wxWindow
*) 0 ;
39936 PyObject
* obj0
= 0 ;
39937 PyObject
* obj1
= 0 ;
39938 PyObject
* obj2
= 0 ;
39939 char *kwnames
[] = {
39940 (char *) "self",(char *) "constraints",(char *) "win", NULL
39943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IndividualLayoutConstraint_SatisfyConstraint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39944 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39945 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39946 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxLayoutConstraints
,
39947 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39948 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
39949 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39952 result
= (bool)(arg1
)->SatisfyConstraint(arg2
,arg3
);
39954 wxPyEndAllowThreads(__tstate
);
39955 if (PyErr_Occurred()) SWIG_fail
;
39958 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39966 static PyObject
*_wrap_IndividualLayoutConstraint_GetEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39967 PyObject
*resultobj
;
39968 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39970 wxWindow
*arg3
= (wxWindow
*) 0 ;
39971 wxWindow
*arg4
= (wxWindow
*) 0 ;
39973 PyObject
* obj0
= 0 ;
39974 PyObject
* obj1
= 0 ;
39975 PyObject
* obj2
= 0 ;
39976 PyObject
* obj3
= 0 ;
39977 char *kwnames
[] = {
39978 (char *) "self",(char *) "which",(char *) "thisWin",(char *) "other", NULL
39981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:IndividualLayoutConstraint_GetEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
39982 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39983 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39984 arg2
= (wxEdge
) SWIG_AsInt(obj1
);
39985 if (PyErr_Occurred()) SWIG_fail
;
39986 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
39987 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39988 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
39989 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39992 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetEdge((wxEdge
)arg2
,arg3
,arg4
);
39994 wxPyEndAllowThreads(__tstate
);
39995 if (PyErr_Occurred()) SWIG_fail
;
39997 resultobj
= SWIG_FromInt((int)result
);
40004 static PyObject
* IndividualLayoutConstraint_swigregister(PyObject
*self
, PyObject
*args
) {
40006 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
40007 SWIG_TypeClientData(SWIGTYPE_p_wxIndividualLayoutConstraint
, obj
);
40009 return Py_BuildValue((char *)"");
40011 static PyObject
*_wrap_LayoutConstraints_left_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40012 PyObject
*resultobj
;
40013 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40014 wxIndividualLayoutConstraint
*result
;
40015 PyObject
* obj0
= 0 ;
40016 char *kwnames
[] = {
40017 (char *) "self", NULL
40020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_left_get",kwnames
,&obj0
)) goto fail
;
40021 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40022 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40023 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->left
);
40025 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40032 static PyObject
*_wrap_LayoutConstraints_top_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40033 PyObject
*resultobj
;
40034 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40035 wxIndividualLayoutConstraint
*result
;
40036 PyObject
* obj0
= 0 ;
40037 char *kwnames
[] = {
40038 (char *) "self", NULL
40041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_top_get",kwnames
,&obj0
)) goto fail
;
40042 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40043 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40044 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->top
);
40046 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40053 static PyObject
*_wrap_LayoutConstraints_right_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40054 PyObject
*resultobj
;
40055 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40056 wxIndividualLayoutConstraint
*result
;
40057 PyObject
* obj0
= 0 ;
40058 char *kwnames
[] = {
40059 (char *) "self", NULL
40062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_right_get",kwnames
,&obj0
)) goto fail
;
40063 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40064 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40065 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->right
);
40067 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40074 static PyObject
*_wrap_LayoutConstraints_bottom_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40075 PyObject
*resultobj
;
40076 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40077 wxIndividualLayoutConstraint
*result
;
40078 PyObject
* obj0
= 0 ;
40079 char *kwnames
[] = {
40080 (char *) "self", NULL
40083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_bottom_get",kwnames
,&obj0
)) goto fail
;
40084 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40085 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40086 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->bottom
);
40088 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40095 static PyObject
*_wrap_LayoutConstraints_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40096 PyObject
*resultobj
;
40097 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40098 wxIndividualLayoutConstraint
*result
;
40099 PyObject
* obj0
= 0 ;
40100 char *kwnames
[] = {
40101 (char *) "self", NULL
40104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_width_get",kwnames
,&obj0
)) goto fail
;
40105 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40106 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40107 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->width
);
40109 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40116 static PyObject
*_wrap_LayoutConstraints_height_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40117 PyObject
*resultobj
;
40118 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40119 wxIndividualLayoutConstraint
*result
;
40120 PyObject
* obj0
= 0 ;
40121 char *kwnames
[] = {
40122 (char *) "self", NULL
40125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_height_get",kwnames
,&obj0
)) goto fail
;
40126 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40127 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40128 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->height
);
40130 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40137 static PyObject
*_wrap_LayoutConstraints_centreX_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40138 PyObject
*resultobj
;
40139 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40140 wxIndividualLayoutConstraint
*result
;
40141 PyObject
* obj0
= 0 ;
40142 char *kwnames
[] = {
40143 (char *) "self", NULL
40146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_centreX_get",kwnames
,&obj0
)) goto fail
;
40147 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40148 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40149 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreX
);
40151 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40158 static PyObject
*_wrap_LayoutConstraints_centreY_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40159 PyObject
*resultobj
;
40160 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40161 wxIndividualLayoutConstraint
*result
;
40162 PyObject
* obj0
= 0 ;
40163 char *kwnames
[] = {
40164 (char *) "self", NULL
40167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_centreY_get",kwnames
,&obj0
)) goto fail
;
40168 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40169 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40170 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreY
);
40172 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40179 static PyObject
*_wrap_new_LayoutConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40180 PyObject
*resultobj
;
40181 wxLayoutConstraints
*result
;
40182 char *kwnames
[] = {
40186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LayoutConstraints",kwnames
)) goto fail
;
40188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40189 result
= (wxLayoutConstraints
*)new wxLayoutConstraints();
40191 wxPyEndAllowThreads(__tstate
);
40192 if (PyErr_Occurred()) SWIG_fail
;
40194 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutConstraints
, 1);
40201 static PyObject
*_wrap_LayoutConstraints_SatisfyConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40202 PyObject
*resultobj
;
40203 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40204 wxWindow
*arg2
= (wxWindow
*) 0 ;
40205 int *arg3
= (int *) 0 ;
40208 PyObject
* obj0
= 0 ;
40209 PyObject
* obj1
= 0 ;
40210 char *kwnames
[] = {
40211 (char *) "self",(char *) "win", NULL
40215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LayoutConstraints_SatisfyConstraints",kwnames
,&obj0
,&obj1
)) goto fail
;
40216 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40217 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40218 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
40219 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40222 result
= (bool)(arg1
)->SatisfyConstraints(arg2
,arg3
);
40224 wxPyEndAllowThreads(__tstate
);
40225 if (PyErr_Occurred()) SWIG_fail
;
40228 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40231 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
40232 resultobj
= t_output_helper(resultobj
,o
);
40240 static PyObject
*_wrap_LayoutConstraints_AreSatisfied(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40241 PyObject
*resultobj
;
40242 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40244 PyObject
* obj0
= 0 ;
40245 char *kwnames
[] = {
40246 (char *) "self", NULL
40249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_AreSatisfied",kwnames
,&obj0
)) goto fail
;
40250 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40251 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40254 result
= (bool)((wxLayoutConstraints
const *)arg1
)->AreSatisfied();
40256 wxPyEndAllowThreads(__tstate
);
40257 if (PyErr_Occurred()) SWIG_fail
;
40260 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40268 static PyObject
* LayoutConstraints_swigregister(PyObject
*self
, PyObject
*args
) {
40270 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
40271 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutConstraints
, obj
);
40273 return Py_BuildValue((char *)"");
40275 static PyMethodDef SwigMethods
[] = {
40276 { (char *)"_wxPySetDictionary", __wxPySetDictionary
, METH_VARARGS
},
40277 { (char *)"_wxPyFixStockObjects", __wxPyFixStockObjects
, METH_VARARGS
},
40278 { (char *)"Object_GetClassName", (PyCFunction
) _wrap_Object_GetClassName
, METH_VARARGS
| METH_KEYWORDS
},
40279 { (char *)"Object_Destroy", (PyCFunction
) _wrap_Object_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
40280 { (char *)"Object_swigregister", Object_swigregister
, METH_VARARGS
},
40281 { (char *)"Size_width_set", (PyCFunction
) _wrap_Size_width_set
, METH_VARARGS
| METH_KEYWORDS
},
40282 { (char *)"Size_width_get", (PyCFunction
) _wrap_Size_width_get
, METH_VARARGS
| METH_KEYWORDS
},
40283 { (char *)"Size_height_set", (PyCFunction
) _wrap_Size_height_set
, METH_VARARGS
| METH_KEYWORDS
},
40284 { (char *)"Size_height_get", (PyCFunction
) _wrap_Size_height_get
, METH_VARARGS
| METH_KEYWORDS
},
40285 { (char *)"new_Size", (PyCFunction
) _wrap_new_Size
, METH_VARARGS
| METH_KEYWORDS
},
40286 { (char *)"delete_Size", (PyCFunction
) _wrap_delete_Size
, METH_VARARGS
| METH_KEYWORDS
},
40287 { (char *)"Size___eq__", (PyCFunction
) _wrap_Size___eq__
, METH_VARARGS
| METH_KEYWORDS
},
40288 { (char *)"Size___ne__", (PyCFunction
) _wrap_Size___ne__
, METH_VARARGS
| METH_KEYWORDS
},
40289 { (char *)"Size___add__", (PyCFunction
) _wrap_Size___add__
, METH_VARARGS
| METH_KEYWORDS
},
40290 { (char *)"Size___sub__", (PyCFunction
) _wrap_Size___sub__
, METH_VARARGS
| METH_KEYWORDS
},
40291 { (char *)"Size_IncTo", (PyCFunction
) _wrap_Size_IncTo
, METH_VARARGS
| METH_KEYWORDS
},
40292 { (char *)"Size_DecTo", (PyCFunction
) _wrap_Size_DecTo
, METH_VARARGS
| METH_KEYWORDS
},
40293 { (char *)"Size_Set", (PyCFunction
) _wrap_Size_Set
, METH_VARARGS
| METH_KEYWORDS
},
40294 { (char *)"Size_SetWidth", (PyCFunction
) _wrap_Size_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
40295 { (char *)"Size_SetHeight", (PyCFunction
) _wrap_Size_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
40296 { (char *)"Size_GetWidth", (PyCFunction
) _wrap_Size_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
40297 { (char *)"Size_GetHeight", (PyCFunction
) _wrap_Size_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
40298 { (char *)"Size_IsFullySpecified", (PyCFunction
) _wrap_Size_IsFullySpecified
, METH_VARARGS
| METH_KEYWORDS
},
40299 { (char *)"Size_SetDefaults", (PyCFunction
) _wrap_Size_SetDefaults
, METH_VARARGS
| METH_KEYWORDS
},
40300 { (char *)"Size_Get", (PyCFunction
) _wrap_Size_Get
, METH_VARARGS
| METH_KEYWORDS
},
40301 { (char *)"Size_swigregister", Size_swigregister
, METH_VARARGS
},
40302 { (char *)"RealPoint_x_set", (PyCFunction
) _wrap_RealPoint_x_set
, METH_VARARGS
| METH_KEYWORDS
},
40303 { (char *)"RealPoint_x_get", (PyCFunction
) _wrap_RealPoint_x_get
, METH_VARARGS
| METH_KEYWORDS
},
40304 { (char *)"RealPoint_y_set", (PyCFunction
) _wrap_RealPoint_y_set
, METH_VARARGS
| METH_KEYWORDS
},
40305 { (char *)"RealPoint_y_get", (PyCFunction
) _wrap_RealPoint_y_get
, METH_VARARGS
| METH_KEYWORDS
},
40306 { (char *)"new_RealPoint", (PyCFunction
) _wrap_new_RealPoint
, METH_VARARGS
| METH_KEYWORDS
},
40307 { (char *)"delete_RealPoint", (PyCFunction
) _wrap_delete_RealPoint
, METH_VARARGS
| METH_KEYWORDS
},
40308 { (char *)"RealPoint___eq__", (PyCFunction
) _wrap_RealPoint___eq__
, METH_VARARGS
| METH_KEYWORDS
},
40309 { (char *)"RealPoint___ne__", (PyCFunction
) _wrap_RealPoint___ne__
, METH_VARARGS
| METH_KEYWORDS
},
40310 { (char *)"RealPoint___add__", (PyCFunction
) _wrap_RealPoint___add__
, METH_VARARGS
| METH_KEYWORDS
},
40311 { (char *)"RealPoint___sub__", (PyCFunction
) _wrap_RealPoint___sub__
, METH_VARARGS
| METH_KEYWORDS
},
40312 { (char *)"RealPoint_Set", (PyCFunction
) _wrap_RealPoint_Set
, METH_VARARGS
| METH_KEYWORDS
},
40313 { (char *)"RealPoint_Get", (PyCFunction
) _wrap_RealPoint_Get
, METH_VARARGS
| METH_KEYWORDS
},
40314 { (char *)"RealPoint_swigregister", RealPoint_swigregister
, METH_VARARGS
},
40315 { (char *)"Point_x_set", (PyCFunction
) _wrap_Point_x_set
, METH_VARARGS
| METH_KEYWORDS
},
40316 { (char *)"Point_x_get", (PyCFunction
) _wrap_Point_x_get
, METH_VARARGS
| METH_KEYWORDS
},
40317 { (char *)"Point_y_set", (PyCFunction
) _wrap_Point_y_set
, METH_VARARGS
| METH_KEYWORDS
},
40318 { (char *)"Point_y_get", (PyCFunction
) _wrap_Point_y_get
, METH_VARARGS
| METH_KEYWORDS
},
40319 { (char *)"new_Point", (PyCFunction
) _wrap_new_Point
, METH_VARARGS
| METH_KEYWORDS
},
40320 { (char *)"delete_Point", (PyCFunction
) _wrap_delete_Point
, METH_VARARGS
| METH_KEYWORDS
},
40321 { (char *)"Point___eq__", (PyCFunction
) _wrap_Point___eq__
, METH_VARARGS
| METH_KEYWORDS
},
40322 { (char *)"Point___ne__", (PyCFunction
) _wrap_Point___ne__
, METH_VARARGS
| METH_KEYWORDS
},
40323 { (char *)"Point___add__", (PyCFunction
) _wrap_Point___add__
, METH_VARARGS
| METH_KEYWORDS
},
40324 { (char *)"Point___sub__", (PyCFunction
) _wrap_Point___sub__
, METH_VARARGS
| METH_KEYWORDS
},
40325 { (char *)"Point___iadd__", (PyCFunction
) _wrap_Point___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
40326 { (char *)"Point___isub__", (PyCFunction
) _wrap_Point___isub__
, METH_VARARGS
| METH_KEYWORDS
},
40327 { (char *)"Point_Set", (PyCFunction
) _wrap_Point_Set
, METH_VARARGS
| METH_KEYWORDS
},
40328 { (char *)"Point_Get", (PyCFunction
) _wrap_Point_Get
, METH_VARARGS
| METH_KEYWORDS
},
40329 { (char *)"Point_swigregister", Point_swigregister
, METH_VARARGS
},
40330 { (char *)"new_Rect", (PyCFunction
) _wrap_new_Rect
, METH_VARARGS
| METH_KEYWORDS
},
40331 { (char *)"new_RectPP", (PyCFunction
) _wrap_new_RectPP
, METH_VARARGS
| METH_KEYWORDS
},
40332 { (char *)"new_RectPS", (PyCFunction
) _wrap_new_RectPS
, METH_VARARGS
| METH_KEYWORDS
},
40333 { (char *)"delete_Rect", (PyCFunction
) _wrap_delete_Rect
, METH_VARARGS
| METH_KEYWORDS
},
40334 { (char *)"Rect_GetX", (PyCFunction
) _wrap_Rect_GetX
, METH_VARARGS
| METH_KEYWORDS
},
40335 { (char *)"Rect_SetX", (PyCFunction
) _wrap_Rect_SetX
, METH_VARARGS
| METH_KEYWORDS
},
40336 { (char *)"Rect_GetY", (PyCFunction
) _wrap_Rect_GetY
, METH_VARARGS
| METH_KEYWORDS
},
40337 { (char *)"Rect_SetY", (PyCFunction
) _wrap_Rect_SetY
, METH_VARARGS
| METH_KEYWORDS
},
40338 { (char *)"Rect_GetWidth", (PyCFunction
) _wrap_Rect_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
40339 { (char *)"Rect_SetWidth", (PyCFunction
) _wrap_Rect_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
40340 { (char *)"Rect_GetHeight", (PyCFunction
) _wrap_Rect_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
40341 { (char *)"Rect_SetHeight", (PyCFunction
) _wrap_Rect_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
40342 { (char *)"Rect_GetPosition", (PyCFunction
) _wrap_Rect_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40343 { (char *)"Rect_SetPosition", (PyCFunction
) _wrap_Rect_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40344 { (char *)"Rect_GetSize", (PyCFunction
) _wrap_Rect_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
40345 { (char *)"Rect_SetSize", (PyCFunction
) _wrap_Rect_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
40346 { (char *)"Rect_GetTopLeft", (PyCFunction
) _wrap_Rect_GetTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
40347 { (char *)"Rect_SetTopLeft", (PyCFunction
) _wrap_Rect_SetTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
40348 { (char *)"Rect_GetBottomRight", (PyCFunction
) _wrap_Rect_GetBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
40349 { (char *)"Rect_SetBottomRight", (PyCFunction
) _wrap_Rect_SetBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
40350 { (char *)"Rect_GetLeft", (PyCFunction
) _wrap_Rect_GetLeft
, METH_VARARGS
| METH_KEYWORDS
},
40351 { (char *)"Rect_GetTop", (PyCFunction
) _wrap_Rect_GetTop
, METH_VARARGS
| METH_KEYWORDS
},
40352 { (char *)"Rect_GetBottom", (PyCFunction
) _wrap_Rect_GetBottom
, METH_VARARGS
| METH_KEYWORDS
},
40353 { (char *)"Rect_GetRight", (PyCFunction
) _wrap_Rect_GetRight
, METH_VARARGS
| METH_KEYWORDS
},
40354 { (char *)"Rect_SetLeft", (PyCFunction
) _wrap_Rect_SetLeft
, METH_VARARGS
| METH_KEYWORDS
},
40355 { (char *)"Rect_SetRight", (PyCFunction
) _wrap_Rect_SetRight
, METH_VARARGS
| METH_KEYWORDS
},
40356 { (char *)"Rect_SetTop", (PyCFunction
) _wrap_Rect_SetTop
, METH_VARARGS
| METH_KEYWORDS
},
40357 { (char *)"Rect_SetBottom", (PyCFunction
) _wrap_Rect_SetBottom
, METH_VARARGS
| METH_KEYWORDS
},
40358 { (char *)"Rect_Inflate", (PyCFunction
) _wrap_Rect_Inflate
, METH_VARARGS
| METH_KEYWORDS
},
40359 { (char *)"Rect_Deflate", (PyCFunction
) _wrap_Rect_Deflate
, METH_VARARGS
| METH_KEYWORDS
},
40360 { (char *)"Rect_OffsetXY", (PyCFunction
) _wrap_Rect_OffsetXY
, METH_VARARGS
| METH_KEYWORDS
},
40361 { (char *)"Rect_Offset", (PyCFunction
) _wrap_Rect_Offset
, METH_VARARGS
| METH_KEYWORDS
},
40362 { (char *)"Rect_Intersect", (PyCFunction
) _wrap_Rect_Intersect
, METH_VARARGS
| METH_KEYWORDS
},
40363 { (char *)"Rect___add__", (PyCFunction
) _wrap_Rect___add__
, METH_VARARGS
| METH_KEYWORDS
},
40364 { (char *)"Rect___iadd__", (PyCFunction
) _wrap_Rect___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
40365 { (char *)"Rect___eq__", (PyCFunction
) _wrap_Rect___eq__
, METH_VARARGS
| METH_KEYWORDS
},
40366 { (char *)"Rect___ne__", (PyCFunction
) _wrap_Rect___ne__
, METH_VARARGS
| METH_KEYWORDS
},
40367 { (char *)"Rect_InsideXY", (PyCFunction
) _wrap_Rect_InsideXY
, METH_VARARGS
| METH_KEYWORDS
},
40368 { (char *)"Rect_Inside", (PyCFunction
) _wrap_Rect_Inside
, METH_VARARGS
| METH_KEYWORDS
},
40369 { (char *)"Rect_Intersects", (PyCFunction
) _wrap_Rect_Intersects
, METH_VARARGS
| METH_KEYWORDS
},
40370 { (char *)"Rect_x_set", (PyCFunction
) _wrap_Rect_x_set
, METH_VARARGS
| METH_KEYWORDS
},
40371 { (char *)"Rect_x_get", (PyCFunction
) _wrap_Rect_x_get
, METH_VARARGS
| METH_KEYWORDS
},
40372 { (char *)"Rect_y_set", (PyCFunction
) _wrap_Rect_y_set
, METH_VARARGS
| METH_KEYWORDS
},
40373 { (char *)"Rect_y_get", (PyCFunction
) _wrap_Rect_y_get
, METH_VARARGS
| METH_KEYWORDS
},
40374 { (char *)"Rect_width_set", (PyCFunction
) _wrap_Rect_width_set
, METH_VARARGS
| METH_KEYWORDS
},
40375 { (char *)"Rect_width_get", (PyCFunction
) _wrap_Rect_width_get
, METH_VARARGS
| METH_KEYWORDS
},
40376 { (char *)"Rect_height_set", (PyCFunction
) _wrap_Rect_height_set
, METH_VARARGS
| METH_KEYWORDS
},
40377 { (char *)"Rect_height_get", (PyCFunction
) _wrap_Rect_height_get
, METH_VARARGS
| METH_KEYWORDS
},
40378 { (char *)"Rect_Set", (PyCFunction
) _wrap_Rect_Set
, METH_VARARGS
| METH_KEYWORDS
},
40379 { (char *)"Rect_Get", (PyCFunction
) _wrap_Rect_Get
, METH_VARARGS
| METH_KEYWORDS
},
40380 { (char *)"Rect_swigregister", Rect_swigregister
, METH_VARARGS
},
40381 { (char *)"IntersectRect", (PyCFunction
) _wrap_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
},
40382 { (char *)"new_Point2D", (PyCFunction
) _wrap_new_Point2D
, METH_VARARGS
| METH_KEYWORDS
},
40383 { (char *)"new_Point2DCopy", (PyCFunction
) _wrap_new_Point2DCopy
, METH_VARARGS
| METH_KEYWORDS
},
40384 { (char *)"new_Point2DFromPoint", (PyCFunction
) _wrap_new_Point2DFromPoint
, METH_VARARGS
| METH_KEYWORDS
},
40385 { (char *)"Point2D_GetFloor", (PyCFunction
) _wrap_Point2D_GetFloor
, METH_VARARGS
| METH_KEYWORDS
},
40386 { (char *)"Point2D_GetRounded", (PyCFunction
) _wrap_Point2D_GetRounded
, METH_VARARGS
| METH_KEYWORDS
},
40387 { (char *)"Point2D_GetVectorLength", (PyCFunction
) _wrap_Point2D_GetVectorLength
, METH_VARARGS
| METH_KEYWORDS
},
40388 { (char *)"Point2D_GetVectorAngle", (PyCFunction
) _wrap_Point2D_GetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
},
40389 { (char *)"Point2D_SetVectorLength", (PyCFunction
) _wrap_Point2D_SetVectorLength
, METH_VARARGS
| METH_KEYWORDS
},
40390 { (char *)"Point2D_SetVectorAngle", (PyCFunction
) _wrap_Point2D_SetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
},
40391 { (char *)"Point2D_GetDistance", (PyCFunction
) _wrap_Point2D_GetDistance
, METH_VARARGS
| METH_KEYWORDS
},
40392 { (char *)"Point2D_GetDistanceSquare", (PyCFunction
) _wrap_Point2D_GetDistanceSquare
, METH_VARARGS
| METH_KEYWORDS
},
40393 { (char *)"Point2D_GetDotProduct", (PyCFunction
) _wrap_Point2D_GetDotProduct
, METH_VARARGS
| METH_KEYWORDS
},
40394 { (char *)"Point2D_GetCrossProduct", (PyCFunction
) _wrap_Point2D_GetCrossProduct
, METH_VARARGS
| METH_KEYWORDS
},
40395 { (char *)"Point2D___neg__", (PyCFunction
) _wrap_Point2D___neg__
, METH_VARARGS
| METH_KEYWORDS
},
40396 { (char *)"Point2D___iadd__", (PyCFunction
) _wrap_Point2D___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
40397 { (char *)"Point2D___isub__", (PyCFunction
) _wrap_Point2D___isub__
, METH_VARARGS
| METH_KEYWORDS
},
40398 { (char *)"Point2D___imul__", (PyCFunction
) _wrap_Point2D___imul__
, METH_VARARGS
| METH_KEYWORDS
},
40399 { (char *)"Point2D___idiv__", (PyCFunction
) _wrap_Point2D___idiv__
, METH_VARARGS
| METH_KEYWORDS
},
40400 { (char *)"Point2D___eq__", (PyCFunction
) _wrap_Point2D___eq__
, METH_VARARGS
| METH_KEYWORDS
},
40401 { (char *)"Point2D___ne__", (PyCFunction
) _wrap_Point2D___ne__
, METH_VARARGS
| METH_KEYWORDS
},
40402 { (char *)"Point2D_x_set", (PyCFunction
) _wrap_Point2D_x_set
, METH_VARARGS
| METH_KEYWORDS
},
40403 { (char *)"Point2D_x_get", (PyCFunction
) _wrap_Point2D_x_get
, METH_VARARGS
| METH_KEYWORDS
},
40404 { (char *)"Point2D_y_set", (PyCFunction
) _wrap_Point2D_y_set
, METH_VARARGS
| METH_KEYWORDS
},
40405 { (char *)"Point2D_y_get", (PyCFunction
) _wrap_Point2D_y_get
, METH_VARARGS
| METH_KEYWORDS
},
40406 { (char *)"Point2D_Set", (PyCFunction
) _wrap_Point2D_Set
, METH_VARARGS
| METH_KEYWORDS
},
40407 { (char *)"Point2D_Get", (PyCFunction
) _wrap_Point2D_Get
, METH_VARARGS
| METH_KEYWORDS
},
40408 { (char *)"Point2D_swigregister", Point2D_swigregister
, METH_VARARGS
},
40409 { (char *)"new_InputStream", (PyCFunction
) _wrap_new_InputStream
, METH_VARARGS
| METH_KEYWORDS
},
40410 { (char *)"InputStream_close", (PyCFunction
) _wrap_InputStream_close
, METH_VARARGS
| METH_KEYWORDS
},
40411 { (char *)"InputStream_flush", (PyCFunction
) _wrap_InputStream_flush
, METH_VARARGS
| METH_KEYWORDS
},
40412 { (char *)"InputStream_eof", (PyCFunction
) _wrap_InputStream_eof
, METH_VARARGS
| METH_KEYWORDS
},
40413 { (char *)"InputStream_read", (PyCFunction
) _wrap_InputStream_read
, METH_VARARGS
| METH_KEYWORDS
},
40414 { (char *)"InputStream_readline", (PyCFunction
) _wrap_InputStream_readline
, METH_VARARGS
| METH_KEYWORDS
},
40415 { (char *)"InputStream_readlines", (PyCFunction
) _wrap_InputStream_readlines
, METH_VARARGS
| METH_KEYWORDS
},
40416 { (char *)"InputStream_seek", (PyCFunction
) _wrap_InputStream_seek
, METH_VARARGS
| METH_KEYWORDS
},
40417 { (char *)"InputStream_tell", (PyCFunction
) _wrap_InputStream_tell
, METH_VARARGS
| METH_KEYWORDS
},
40418 { (char *)"InputStream_Peek", (PyCFunction
) _wrap_InputStream_Peek
, METH_VARARGS
| METH_KEYWORDS
},
40419 { (char *)"InputStream_GetC", (PyCFunction
) _wrap_InputStream_GetC
, METH_VARARGS
| METH_KEYWORDS
},
40420 { (char *)"InputStream_LastRead", (PyCFunction
) _wrap_InputStream_LastRead
, METH_VARARGS
| METH_KEYWORDS
},
40421 { (char *)"InputStream_CanRead", (PyCFunction
) _wrap_InputStream_CanRead
, METH_VARARGS
| METH_KEYWORDS
},
40422 { (char *)"InputStream_Eof", (PyCFunction
) _wrap_InputStream_Eof
, METH_VARARGS
| METH_KEYWORDS
},
40423 { (char *)"InputStream_Ungetch", (PyCFunction
) _wrap_InputStream_Ungetch
, METH_VARARGS
| METH_KEYWORDS
},
40424 { (char *)"InputStream_SeekI", (PyCFunction
) _wrap_InputStream_SeekI
, METH_VARARGS
| METH_KEYWORDS
},
40425 { (char *)"InputStream_TellI", (PyCFunction
) _wrap_InputStream_TellI
, METH_VARARGS
| METH_KEYWORDS
},
40426 { (char *)"InputStream_swigregister", InputStream_swigregister
, METH_VARARGS
},
40427 { (char *)"OutputStream_write", (PyCFunction
) _wrap_OutputStream_write
, METH_VARARGS
| METH_KEYWORDS
},
40428 { (char *)"OutputStream_swigregister", OutputStream_swigregister
, METH_VARARGS
},
40429 { (char *)"new_FSFile", (PyCFunction
) _wrap_new_FSFile
, METH_VARARGS
| METH_KEYWORDS
},
40430 { (char *)"delete_FSFile", (PyCFunction
) _wrap_delete_FSFile
, METH_VARARGS
| METH_KEYWORDS
},
40431 { (char *)"FSFile_GetStream", (PyCFunction
) _wrap_FSFile_GetStream
, METH_VARARGS
| METH_KEYWORDS
},
40432 { (char *)"FSFile_GetMimeType", (PyCFunction
) _wrap_FSFile_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
40433 { (char *)"FSFile_GetLocation", (PyCFunction
) _wrap_FSFile_GetLocation
, METH_VARARGS
| METH_KEYWORDS
},
40434 { (char *)"FSFile_GetAnchor", (PyCFunction
) _wrap_FSFile_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
},
40435 { (char *)"FSFile_GetModificationTime", (PyCFunction
) _wrap_FSFile_GetModificationTime
, METH_VARARGS
| METH_KEYWORDS
},
40436 { (char *)"FSFile_swigregister", FSFile_swigregister
, METH_VARARGS
},
40437 { (char *)"CPPFileSystemHandler_swigregister", CPPFileSystemHandler_swigregister
, METH_VARARGS
},
40438 { (char *)"new_FileSystemHandler", (PyCFunction
) _wrap_new_FileSystemHandler
, METH_VARARGS
| METH_KEYWORDS
},
40439 { (char *)"FileSystemHandler__setCallbackInfo", (PyCFunction
) _wrap_FileSystemHandler__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
40440 { (char *)"FileSystemHandler_CanOpen", (PyCFunction
) _wrap_FileSystemHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
},
40441 { (char *)"FileSystemHandler_OpenFile", (PyCFunction
) _wrap_FileSystemHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
40442 { (char *)"FileSystemHandler_FindFirst", (PyCFunction
) _wrap_FileSystemHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
},
40443 { (char *)"FileSystemHandler_FindNext", (PyCFunction
) _wrap_FileSystemHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
},
40444 { (char *)"FileSystemHandler_GetProtocol", (PyCFunction
) _wrap_FileSystemHandler_GetProtocol
, METH_VARARGS
| METH_KEYWORDS
},
40445 { (char *)"FileSystemHandler_GetLeftLocation", (PyCFunction
) _wrap_FileSystemHandler_GetLeftLocation
, METH_VARARGS
| METH_KEYWORDS
},
40446 { (char *)"FileSystemHandler_GetAnchor", (PyCFunction
) _wrap_FileSystemHandler_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
},
40447 { (char *)"FileSystemHandler_GetRightLocation", (PyCFunction
) _wrap_FileSystemHandler_GetRightLocation
, METH_VARARGS
| METH_KEYWORDS
},
40448 { (char *)"FileSystemHandler_GetMimeTypeFromExt", (PyCFunction
) _wrap_FileSystemHandler_GetMimeTypeFromExt
, METH_VARARGS
| METH_KEYWORDS
},
40449 { (char *)"FileSystemHandler_swigregister", FileSystemHandler_swigregister
, METH_VARARGS
},
40450 { (char *)"new_FileSystem", (PyCFunction
) _wrap_new_FileSystem
, METH_VARARGS
| METH_KEYWORDS
},
40451 { (char *)"delete_FileSystem", (PyCFunction
) _wrap_delete_FileSystem
, METH_VARARGS
| METH_KEYWORDS
},
40452 { (char *)"FileSystem_ChangePathTo", (PyCFunction
) _wrap_FileSystem_ChangePathTo
, METH_VARARGS
| METH_KEYWORDS
},
40453 { (char *)"FileSystem_GetPath", (PyCFunction
) _wrap_FileSystem_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
40454 { (char *)"FileSystem_OpenFile", (PyCFunction
) _wrap_FileSystem_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
40455 { (char *)"FileSystem_FindFirst", (PyCFunction
) _wrap_FileSystem_FindFirst
, METH_VARARGS
| METH_KEYWORDS
},
40456 { (char *)"FileSystem_FindNext", (PyCFunction
) _wrap_FileSystem_FindNext
, METH_VARARGS
| METH_KEYWORDS
},
40457 { (char *)"FileSystem_AddHandler", (PyCFunction
) _wrap_FileSystem_AddHandler
, METH_VARARGS
| METH_KEYWORDS
},
40458 { (char *)"FileSystem_CleanUpHandlers", (PyCFunction
) _wrap_FileSystem_CleanUpHandlers
, METH_VARARGS
| METH_KEYWORDS
},
40459 { (char *)"FileSystem_FileNameToURL", (PyCFunction
) _wrap_FileSystem_FileNameToURL
, METH_VARARGS
| METH_KEYWORDS
},
40460 { (char *)"FileSystem_swigregister", FileSystem_swigregister
, METH_VARARGS
},
40461 { (char *)"FileSystem_URLToFileName", (PyCFunction
) _wrap_FileSystem_URLToFileName
, METH_VARARGS
| METH_KEYWORDS
},
40462 { (char *)"new_InternetFSHandler", (PyCFunction
) _wrap_new_InternetFSHandler
, METH_VARARGS
| METH_KEYWORDS
},
40463 { (char *)"InternetFSHandler_CanOpen", (PyCFunction
) _wrap_InternetFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
},
40464 { (char *)"InternetFSHandler_OpenFile", (PyCFunction
) _wrap_InternetFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
40465 { (char *)"InternetFSHandler_swigregister", InternetFSHandler_swigregister
, METH_VARARGS
},
40466 { (char *)"new_ZipFSHandler", (PyCFunction
) _wrap_new_ZipFSHandler
, METH_VARARGS
| METH_KEYWORDS
},
40467 { (char *)"ZipFSHandler_CanOpen", (PyCFunction
) _wrap_ZipFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
},
40468 { (char *)"ZipFSHandler_OpenFile", (PyCFunction
) _wrap_ZipFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
40469 { (char *)"ZipFSHandler_FindFirst", (PyCFunction
) _wrap_ZipFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
},
40470 { (char *)"ZipFSHandler_FindNext", (PyCFunction
) _wrap_ZipFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
},
40471 { (char *)"ZipFSHandler_swigregister", ZipFSHandler_swigregister
, METH_VARARGS
},
40472 { (char *)"__wxMemoryFSHandler_AddFile_wxImage", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxImage
, METH_VARARGS
| METH_KEYWORDS
},
40473 { (char *)"__wxMemoryFSHandler_AddFile_wxBitmap", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxBitmap
, METH_VARARGS
| METH_KEYWORDS
},
40474 { (char *)"__wxMemoryFSHandler_AddFile_Data", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_Data
, METH_VARARGS
| METH_KEYWORDS
},
40475 { (char *)"new_MemoryFSHandler", (PyCFunction
) _wrap_new_MemoryFSHandler
, METH_VARARGS
| METH_KEYWORDS
},
40476 { (char *)"MemoryFSHandler_RemoveFile", (PyCFunction
) _wrap_MemoryFSHandler_RemoveFile
, METH_VARARGS
| METH_KEYWORDS
},
40477 { (char *)"MemoryFSHandler_CanOpen", (PyCFunction
) _wrap_MemoryFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
},
40478 { (char *)"MemoryFSHandler_OpenFile", (PyCFunction
) _wrap_MemoryFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
40479 { (char *)"MemoryFSHandler_FindFirst", (PyCFunction
) _wrap_MemoryFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
},
40480 { (char *)"MemoryFSHandler_FindNext", (PyCFunction
) _wrap_MemoryFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
},
40481 { (char *)"MemoryFSHandler_swigregister", MemoryFSHandler_swigregister
, METH_VARARGS
},
40482 { (char *)"ImageHandler_GetName", (PyCFunction
) _wrap_ImageHandler_GetName
, METH_VARARGS
| METH_KEYWORDS
},
40483 { (char *)"ImageHandler_GetExtension", (PyCFunction
) _wrap_ImageHandler_GetExtension
, METH_VARARGS
| METH_KEYWORDS
},
40484 { (char *)"ImageHandler_GetType", (PyCFunction
) _wrap_ImageHandler_GetType
, METH_VARARGS
| METH_KEYWORDS
},
40485 { (char *)"ImageHandler_GetMimeType", (PyCFunction
) _wrap_ImageHandler_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
40486 { (char *)"ImageHandler_CanRead", (PyCFunction
) _wrap_ImageHandler_CanRead
, METH_VARARGS
| METH_KEYWORDS
},
40487 { (char *)"ImageHandler_SetName", (PyCFunction
) _wrap_ImageHandler_SetName
, METH_VARARGS
| METH_KEYWORDS
},
40488 { (char *)"ImageHandler_SetExtension", (PyCFunction
) _wrap_ImageHandler_SetExtension
, METH_VARARGS
| METH_KEYWORDS
},
40489 { (char *)"ImageHandler_SetType", (PyCFunction
) _wrap_ImageHandler_SetType
, METH_VARARGS
| METH_KEYWORDS
},
40490 { (char *)"ImageHandler_SetMimeType", (PyCFunction
) _wrap_ImageHandler_SetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
40491 { (char *)"ImageHandler_swigregister", ImageHandler_swigregister
, METH_VARARGS
},
40492 { (char *)"new_ImageHistogram", (PyCFunction
) _wrap_new_ImageHistogram
, METH_VARARGS
| METH_KEYWORDS
},
40493 { (char *)"ImageHistogram_MakeKey", (PyCFunction
) _wrap_ImageHistogram_MakeKey
, METH_VARARGS
| METH_KEYWORDS
},
40494 { (char *)"ImageHistogram_FindFirstUnusedColour", (PyCFunction
) _wrap_ImageHistogram_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
},
40495 { (char *)"ImageHistogram_swigregister", ImageHistogram_swigregister
, METH_VARARGS
},
40496 { (char *)"new_Image", (PyCFunction
) _wrap_new_Image
, METH_VARARGS
| METH_KEYWORDS
},
40497 { (char *)"delete_Image", (PyCFunction
) _wrap_delete_Image
, METH_VARARGS
| METH_KEYWORDS
},
40498 { (char *)"new_ImageFromMime", (PyCFunction
) _wrap_new_ImageFromMime
, METH_VARARGS
| METH_KEYWORDS
},
40499 { (char *)"new_ImageFromStream", (PyCFunction
) _wrap_new_ImageFromStream
, METH_VARARGS
| METH_KEYWORDS
},
40500 { (char *)"new_ImageFromStreamMime", (PyCFunction
) _wrap_new_ImageFromStreamMime
, METH_VARARGS
| METH_KEYWORDS
},
40501 { (char *)"new_EmptyImage", _wrap_new_EmptyImage
, METH_VARARGS
},
40502 { (char *)"new_ImageFromBitmap", (PyCFunction
) _wrap_new_ImageFromBitmap
, METH_VARARGS
| METH_KEYWORDS
},
40503 { (char *)"new_ImageFromData", (PyCFunction
) _wrap_new_ImageFromData
, METH_VARARGS
| METH_KEYWORDS
},
40504 { (char *)"Image_Create", (PyCFunction
) _wrap_Image_Create
, METH_VARARGS
| METH_KEYWORDS
},
40505 { (char *)"Image_Destroy", (PyCFunction
) _wrap_Image_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
40506 { (char *)"Image_Scale", (PyCFunction
) _wrap_Image_Scale
, METH_VARARGS
| METH_KEYWORDS
},
40507 { (char *)"Image_ShrinkBy", (PyCFunction
) _wrap_Image_ShrinkBy
, METH_VARARGS
| METH_KEYWORDS
},
40508 { (char *)"Image_Rescale", (PyCFunction
) _wrap_Image_Rescale
, METH_VARARGS
| METH_KEYWORDS
},
40509 { (char *)"Image_SetRGB", (PyCFunction
) _wrap_Image_SetRGB
, METH_VARARGS
| METH_KEYWORDS
},
40510 { (char *)"Image_GetRed", (PyCFunction
) _wrap_Image_GetRed
, METH_VARARGS
| METH_KEYWORDS
},
40511 { (char *)"Image_GetGreen", (PyCFunction
) _wrap_Image_GetGreen
, METH_VARARGS
| METH_KEYWORDS
},
40512 { (char *)"Image_GetBlue", (PyCFunction
) _wrap_Image_GetBlue
, METH_VARARGS
| METH_KEYWORDS
},
40513 { (char *)"Image_SetAlpha", (PyCFunction
) _wrap_Image_SetAlpha
, METH_VARARGS
| METH_KEYWORDS
},
40514 { (char *)"Image_GetAlpha", (PyCFunction
) _wrap_Image_GetAlpha
, METH_VARARGS
| METH_KEYWORDS
},
40515 { (char *)"Image_HasAlpha", (PyCFunction
) _wrap_Image_HasAlpha
, METH_VARARGS
| METH_KEYWORDS
},
40516 { (char *)"Image_FindFirstUnusedColour", (PyCFunction
) _wrap_Image_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
},
40517 { (char *)"Image_SetMaskFromImage", (PyCFunction
) _wrap_Image_SetMaskFromImage
, METH_VARARGS
| METH_KEYWORDS
},
40518 { (char *)"Image_CanRead", (PyCFunction
) _wrap_Image_CanRead
, METH_VARARGS
| METH_KEYWORDS
},
40519 { (char *)"Image_GetImageCount", (PyCFunction
) _wrap_Image_GetImageCount
, METH_VARARGS
| METH_KEYWORDS
},
40520 { (char *)"Image_LoadFile", (PyCFunction
) _wrap_Image_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
40521 { (char *)"Image_LoadMimeFile", (PyCFunction
) _wrap_Image_LoadMimeFile
, METH_VARARGS
| METH_KEYWORDS
},
40522 { (char *)"Image_SaveFile", (PyCFunction
) _wrap_Image_SaveFile
, METH_VARARGS
| METH_KEYWORDS
},
40523 { (char *)"Image_SaveMimeFile", (PyCFunction
) _wrap_Image_SaveMimeFile
, METH_VARARGS
| METH_KEYWORDS
},
40524 { (char *)"Image_CanReadStream", (PyCFunction
) _wrap_Image_CanReadStream
, METH_VARARGS
| METH_KEYWORDS
},
40525 { (char *)"Image_LoadStream", (PyCFunction
) _wrap_Image_LoadStream
, METH_VARARGS
| METH_KEYWORDS
},
40526 { (char *)"Image_LoadMimeStream", (PyCFunction
) _wrap_Image_LoadMimeStream
, METH_VARARGS
| METH_KEYWORDS
},
40527 { (char *)"Image_Ok", (PyCFunction
) _wrap_Image_Ok
, METH_VARARGS
| METH_KEYWORDS
},
40528 { (char *)"Image_GetWidth", (PyCFunction
) _wrap_Image_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
40529 { (char *)"Image_GetHeight", (PyCFunction
) _wrap_Image_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
40530 { (char *)"Image_GetSize", (PyCFunction
) _wrap_Image_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
40531 { (char *)"Image_GetSubImage", (PyCFunction
) _wrap_Image_GetSubImage
, METH_VARARGS
| METH_KEYWORDS
},
40532 { (char *)"Image_Copy", (PyCFunction
) _wrap_Image_Copy
, METH_VARARGS
| METH_KEYWORDS
},
40533 { (char *)"Image_Paste", (PyCFunction
) _wrap_Image_Paste
, METH_VARARGS
| METH_KEYWORDS
},
40534 { (char *)"Image_GetData", (PyCFunction
) _wrap_Image_GetData
, METH_VARARGS
| METH_KEYWORDS
},
40535 { (char *)"Image_SetData", (PyCFunction
) _wrap_Image_SetData
, METH_VARARGS
| METH_KEYWORDS
},
40536 { (char *)"Image_GetDataBuffer", (PyCFunction
) _wrap_Image_GetDataBuffer
, METH_VARARGS
| METH_KEYWORDS
},
40537 { (char *)"Image_SetDataBuffer", (PyCFunction
) _wrap_Image_SetDataBuffer
, METH_VARARGS
| METH_KEYWORDS
},
40538 { (char *)"Image_GetAlphaData", (PyCFunction
) _wrap_Image_GetAlphaData
, METH_VARARGS
| METH_KEYWORDS
},
40539 { (char *)"Image_SetAlphaData", (PyCFunction
) _wrap_Image_SetAlphaData
, METH_VARARGS
| METH_KEYWORDS
},
40540 { (char *)"Image_GetAlphaBuffer", (PyCFunction
) _wrap_Image_GetAlphaBuffer
, METH_VARARGS
| METH_KEYWORDS
},
40541 { (char *)"Image_SetAlphaBuffer", (PyCFunction
) _wrap_Image_SetAlphaBuffer
, METH_VARARGS
| METH_KEYWORDS
},
40542 { (char *)"Image_SetMaskColour", (PyCFunction
) _wrap_Image_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
},
40543 { (char *)"Image_GetMaskRed", (PyCFunction
) _wrap_Image_GetMaskRed
, METH_VARARGS
| METH_KEYWORDS
},
40544 { (char *)"Image_GetMaskGreen", (PyCFunction
) _wrap_Image_GetMaskGreen
, METH_VARARGS
| METH_KEYWORDS
},
40545 { (char *)"Image_GetMaskBlue", (PyCFunction
) _wrap_Image_GetMaskBlue
, METH_VARARGS
| METH_KEYWORDS
},
40546 { (char *)"Image_SetMask", (PyCFunction
) _wrap_Image_SetMask
, METH_VARARGS
| METH_KEYWORDS
},
40547 { (char *)"Image_HasMask", (PyCFunction
) _wrap_Image_HasMask
, METH_VARARGS
| METH_KEYWORDS
},
40548 { (char *)"Image_Rotate", (PyCFunction
) _wrap_Image_Rotate
, METH_VARARGS
| METH_KEYWORDS
},
40549 { (char *)"Image_Rotate90", (PyCFunction
) _wrap_Image_Rotate90
, METH_VARARGS
| METH_KEYWORDS
},
40550 { (char *)"Image_Mirror", (PyCFunction
) _wrap_Image_Mirror
, METH_VARARGS
| METH_KEYWORDS
},
40551 { (char *)"Image_Replace", (PyCFunction
) _wrap_Image_Replace
, METH_VARARGS
| METH_KEYWORDS
},
40552 { (char *)"Image_ConvertToMono", (PyCFunction
) _wrap_Image_ConvertToMono
, METH_VARARGS
| METH_KEYWORDS
},
40553 { (char *)"Image_SetOption", (PyCFunction
) _wrap_Image_SetOption
, METH_VARARGS
| METH_KEYWORDS
},
40554 { (char *)"Image_SetOptionInt", (PyCFunction
) _wrap_Image_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
},
40555 { (char *)"Image_GetOption", (PyCFunction
) _wrap_Image_GetOption
, METH_VARARGS
| METH_KEYWORDS
},
40556 { (char *)"Image_GetOptionInt", (PyCFunction
) _wrap_Image_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
},
40557 { (char *)"Image_HasOption", (PyCFunction
) _wrap_Image_HasOption
, METH_VARARGS
| METH_KEYWORDS
},
40558 { (char *)"Image_CountColours", (PyCFunction
) _wrap_Image_CountColours
, METH_VARARGS
| METH_KEYWORDS
},
40559 { (char *)"Image_ComputeHistogram", (PyCFunction
) _wrap_Image_ComputeHistogram
, METH_VARARGS
| METH_KEYWORDS
},
40560 { (char *)"Image_AddHandler", (PyCFunction
) _wrap_Image_AddHandler
, METH_VARARGS
| METH_KEYWORDS
},
40561 { (char *)"Image_InsertHandler", (PyCFunction
) _wrap_Image_InsertHandler
, METH_VARARGS
| METH_KEYWORDS
},
40562 { (char *)"Image_RemoveHandler", (PyCFunction
) _wrap_Image_RemoveHandler
, METH_VARARGS
| METH_KEYWORDS
},
40563 { (char *)"Image_GetImageExtWildcard", (PyCFunction
) _wrap_Image_GetImageExtWildcard
, METH_VARARGS
| METH_KEYWORDS
},
40564 { (char *)"Image_ConvertToBitmap", (PyCFunction
) _wrap_Image_ConvertToBitmap
, METH_VARARGS
| METH_KEYWORDS
},
40565 { (char *)"Image_ConvertToMonoBitmap", (PyCFunction
) _wrap_Image_ConvertToMonoBitmap
, METH_VARARGS
| METH_KEYWORDS
},
40566 { (char *)"Image_swigregister", Image_swigregister
, METH_VARARGS
},
40567 { (char *)"InitAllImageHandlers", (PyCFunction
) _wrap_InitAllImageHandlers
, METH_VARARGS
| METH_KEYWORDS
},
40568 { (char *)"new_BMPHandler", (PyCFunction
) _wrap_new_BMPHandler
, METH_VARARGS
| METH_KEYWORDS
},
40569 { (char *)"BMPHandler_swigregister", BMPHandler_swigregister
, METH_VARARGS
},
40570 { (char *)"new_ICOHandler", (PyCFunction
) _wrap_new_ICOHandler
, METH_VARARGS
| METH_KEYWORDS
},
40571 { (char *)"ICOHandler_swigregister", ICOHandler_swigregister
, METH_VARARGS
},
40572 { (char *)"new_CURHandler", (PyCFunction
) _wrap_new_CURHandler
, METH_VARARGS
| METH_KEYWORDS
},
40573 { (char *)"CURHandler_swigregister", CURHandler_swigregister
, METH_VARARGS
},
40574 { (char *)"new_ANIHandler", (PyCFunction
) _wrap_new_ANIHandler
, METH_VARARGS
| METH_KEYWORDS
},
40575 { (char *)"ANIHandler_swigregister", ANIHandler_swigregister
, METH_VARARGS
},
40576 { (char *)"new_PNGHandler", (PyCFunction
) _wrap_new_PNGHandler
, METH_VARARGS
| METH_KEYWORDS
},
40577 { (char *)"PNGHandler_swigregister", PNGHandler_swigregister
, METH_VARARGS
},
40578 { (char *)"new_GIFHandler", (PyCFunction
) _wrap_new_GIFHandler
, METH_VARARGS
| METH_KEYWORDS
},
40579 { (char *)"GIFHandler_swigregister", GIFHandler_swigregister
, METH_VARARGS
},
40580 { (char *)"new_PCXHandler", (PyCFunction
) _wrap_new_PCXHandler
, METH_VARARGS
| METH_KEYWORDS
},
40581 { (char *)"PCXHandler_swigregister", PCXHandler_swigregister
, METH_VARARGS
},
40582 { (char *)"new_JPEGHandler", (PyCFunction
) _wrap_new_JPEGHandler
, METH_VARARGS
| METH_KEYWORDS
},
40583 { (char *)"JPEGHandler_swigregister", JPEGHandler_swigregister
, METH_VARARGS
},
40584 { (char *)"new_PNMHandler", (PyCFunction
) _wrap_new_PNMHandler
, METH_VARARGS
| METH_KEYWORDS
},
40585 { (char *)"PNMHandler_swigregister", PNMHandler_swigregister
, METH_VARARGS
},
40586 { (char *)"new_XPMHandler", (PyCFunction
) _wrap_new_XPMHandler
, METH_VARARGS
| METH_KEYWORDS
},
40587 { (char *)"XPMHandler_swigregister", XPMHandler_swigregister
, METH_VARARGS
},
40588 { (char *)"new_TIFFHandler", (PyCFunction
) _wrap_new_TIFFHandler
, METH_VARARGS
| METH_KEYWORDS
},
40589 { (char *)"TIFFHandler_swigregister", TIFFHandler_swigregister
, METH_VARARGS
},
40590 { (char *)"new_EvtHandler", (PyCFunction
) _wrap_new_EvtHandler
, METH_VARARGS
| METH_KEYWORDS
},
40591 { (char *)"EvtHandler_GetNextHandler", (PyCFunction
) _wrap_EvtHandler_GetNextHandler
, METH_VARARGS
| METH_KEYWORDS
},
40592 { (char *)"EvtHandler_GetPreviousHandler", (PyCFunction
) _wrap_EvtHandler_GetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
40593 { (char *)"EvtHandler_SetNextHandler", (PyCFunction
) _wrap_EvtHandler_SetNextHandler
, METH_VARARGS
| METH_KEYWORDS
},
40594 { (char *)"EvtHandler_SetPreviousHandler", (PyCFunction
) _wrap_EvtHandler_SetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
40595 { (char *)"EvtHandler_GetEvtHandlerEnabled", (PyCFunction
) _wrap_EvtHandler_GetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
},
40596 { (char *)"EvtHandler_SetEvtHandlerEnabled", (PyCFunction
) _wrap_EvtHandler_SetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
},
40597 { (char *)"EvtHandler_ProcessEvent", (PyCFunction
) _wrap_EvtHandler_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
},
40598 { (char *)"EvtHandler_AddPendingEvent", (PyCFunction
) _wrap_EvtHandler_AddPendingEvent
, METH_VARARGS
| METH_KEYWORDS
},
40599 { (char *)"EvtHandler_ProcessPendingEvents", (PyCFunction
) _wrap_EvtHandler_ProcessPendingEvents
, METH_VARARGS
| METH_KEYWORDS
},
40600 { (char *)"EvtHandler_Connect", (PyCFunction
) _wrap_EvtHandler_Connect
, METH_VARARGS
| METH_KEYWORDS
},
40601 { (char *)"EvtHandler_Disconnect", (PyCFunction
) _wrap_EvtHandler_Disconnect
, METH_VARARGS
| METH_KEYWORDS
},
40602 { (char *)"EvtHandler__setOORInfo", (PyCFunction
) _wrap_EvtHandler__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
},
40603 { (char *)"EvtHandler_swigregister", EvtHandler_swigregister
, METH_VARARGS
},
40604 { (char *)"NewEventType", (PyCFunction
) _wrap_NewEventType
, METH_VARARGS
| METH_KEYWORDS
},
40605 { (char *)"delete_Event", (PyCFunction
) _wrap_delete_Event
, METH_VARARGS
| METH_KEYWORDS
},
40606 { (char *)"Event_SetEventType", (PyCFunction
) _wrap_Event_SetEventType
, METH_VARARGS
| METH_KEYWORDS
},
40607 { (char *)"Event_GetEventType", (PyCFunction
) _wrap_Event_GetEventType
, METH_VARARGS
| METH_KEYWORDS
},
40608 { (char *)"Event_GetEventObject", (PyCFunction
) _wrap_Event_GetEventObject
, METH_VARARGS
| METH_KEYWORDS
},
40609 { (char *)"Event_SetEventObject", (PyCFunction
) _wrap_Event_SetEventObject
, METH_VARARGS
| METH_KEYWORDS
},
40610 { (char *)"Event_GetTimestamp", (PyCFunction
) _wrap_Event_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
40611 { (char *)"Event_SetTimestamp", (PyCFunction
) _wrap_Event_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
40612 { (char *)"Event_GetId", (PyCFunction
) _wrap_Event_GetId
, METH_VARARGS
| METH_KEYWORDS
},
40613 { (char *)"Event_SetId", (PyCFunction
) _wrap_Event_SetId
, METH_VARARGS
| METH_KEYWORDS
},
40614 { (char *)"Event_IsCommandEvent", (PyCFunction
) _wrap_Event_IsCommandEvent
, METH_VARARGS
| METH_KEYWORDS
},
40615 { (char *)"Event_Skip", (PyCFunction
) _wrap_Event_Skip
, METH_VARARGS
| METH_KEYWORDS
},
40616 { (char *)"Event_GetSkipped", (PyCFunction
) _wrap_Event_GetSkipped
, METH_VARARGS
| METH_KEYWORDS
},
40617 { (char *)"Event_ShouldPropagate", (PyCFunction
) _wrap_Event_ShouldPropagate
, METH_VARARGS
| METH_KEYWORDS
},
40618 { (char *)"Event_StopPropagation", (PyCFunction
) _wrap_Event_StopPropagation
, METH_VARARGS
| METH_KEYWORDS
},
40619 { (char *)"Event_ResumePropagation", (PyCFunction
) _wrap_Event_ResumePropagation
, METH_VARARGS
| METH_KEYWORDS
},
40620 { (char *)"Event_Clone", (PyCFunction
) _wrap_Event_Clone
, METH_VARARGS
| METH_KEYWORDS
},
40621 { (char *)"Event_swigregister", Event_swigregister
, METH_VARARGS
},
40622 { (char *)"new_PropagationDisabler", (PyCFunction
) _wrap_new_PropagationDisabler
, METH_VARARGS
| METH_KEYWORDS
},
40623 { (char *)"delete_PropagationDisabler", (PyCFunction
) _wrap_delete_PropagationDisabler
, METH_VARARGS
| METH_KEYWORDS
},
40624 { (char *)"PropagationDisabler_swigregister", PropagationDisabler_swigregister
, METH_VARARGS
},
40625 { (char *)"new_PropagateOnce", (PyCFunction
) _wrap_new_PropagateOnce
, METH_VARARGS
| METH_KEYWORDS
},
40626 { (char *)"delete_PropagateOnce", (PyCFunction
) _wrap_delete_PropagateOnce
, METH_VARARGS
| METH_KEYWORDS
},
40627 { (char *)"PropagateOnce_swigregister", PropagateOnce_swigregister
, METH_VARARGS
},
40628 { (char *)"new_CommandEvent", (PyCFunction
) _wrap_new_CommandEvent
, METH_VARARGS
| METH_KEYWORDS
},
40629 { (char *)"CommandEvent_GetSelection", (PyCFunction
) _wrap_CommandEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
40630 { (char *)"CommandEvent_SetString", (PyCFunction
) _wrap_CommandEvent_SetString
, METH_VARARGS
| METH_KEYWORDS
},
40631 { (char *)"CommandEvent_GetString", (PyCFunction
) _wrap_CommandEvent_GetString
, METH_VARARGS
| METH_KEYWORDS
},
40632 { (char *)"CommandEvent_IsChecked", (PyCFunction
) _wrap_CommandEvent_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
40633 { (char *)"CommandEvent_IsSelection", (PyCFunction
) _wrap_CommandEvent_IsSelection
, METH_VARARGS
| METH_KEYWORDS
},
40634 { (char *)"CommandEvent_SetExtraLong", (PyCFunction
) _wrap_CommandEvent_SetExtraLong
, METH_VARARGS
| METH_KEYWORDS
},
40635 { (char *)"CommandEvent_GetExtraLong", (PyCFunction
) _wrap_CommandEvent_GetExtraLong
, METH_VARARGS
| METH_KEYWORDS
},
40636 { (char *)"CommandEvent_SetInt", (PyCFunction
) _wrap_CommandEvent_SetInt
, METH_VARARGS
| METH_KEYWORDS
},
40637 { (char *)"CommandEvent_GetInt", (PyCFunction
) _wrap_CommandEvent_GetInt
, METH_VARARGS
| METH_KEYWORDS
},
40638 { (char *)"CommandEvent_Clone", (PyCFunction
) _wrap_CommandEvent_Clone
, METH_VARARGS
| METH_KEYWORDS
},
40639 { (char *)"CommandEvent_swigregister", CommandEvent_swigregister
, METH_VARARGS
},
40640 { (char *)"new_NotifyEvent", (PyCFunction
) _wrap_new_NotifyEvent
, METH_VARARGS
| METH_KEYWORDS
},
40641 { (char *)"NotifyEvent_Veto", (PyCFunction
) _wrap_NotifyEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
},
40642 { (char *)"NotifyEvent_Allow", (PyCFunction
) _wrap_NotifyEvent_Allow
, METH_VARARGS
| METH_KEYWORDS
},
40643 { (char *)"NotifyEvent_IsAllowed", (PyCFunction
) _wrap_NotifyEvent_IsAllowed
, METH_VARARGS
| METH_KEYWORDS
},
40644 { (char *)"NotifyEvent_swigregister", NotifyEvent_swigregister
, METH_VARARGS
},
40645 { (char *)"new_ScrollEvent", (PyCFunction
) _wrap_new_ScrollEvent
, METH_VARARGS
| METH_KEYWORDS
},
40646 { (char *)"ScrollEvent_GetOrientation", (PyCFunction
) _wrap_ScrollEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
40647 { (char *)"ScrollEvent_GetPosition", (PyCFunction
) _wrap_ScrollEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40648 { (char *)"ScrollEvent_SetOrientation", (PyCFunction
) _wrap_ScrollEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
40649 { (char *)"ScrollEvent_SetPosition", (PyCFunction
) _wrap_ScrollEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40650 { (char *)"ScrollEvent_swigregister", ScrollEvent_swigregister
, METH_VARARGS
},
40651 { (char *)"new_ScrollWinEvent", (PyCFunction
) _wrap_new_ScrollWinEvent
, METH_VARARGS
| METH_KEYWORDS
},
40652 { (char *)"ScrollWinEvent_GetOrientation", (PyCFunction
) _wrap_ScrollWinEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
40653 { (char *)"ScrollWinEvent_GetPosition", (PyCFunction
) _wrap_ScrollWinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40654 { (char *)"ScrollWinEvent_SetOrientation", (PyCFunction
) _wrap_ScrollWinEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
40655 { (char *)"ScrollWinEvent_SetPosition", (PyCFunction
) _wrap_ScrollWinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40656 { (char *)"ScrollWinEvent_swigregister", ScrollWinEvent_swigregister
, METH_VARARGS
},
40657 { (char *)"new_MouseEvent", (PyCFunction
) _wrap_new_MouseEvent
, METH_VARARGS
| METH_KEYWORDS
},
40658 { (char *)"MouseEvent_IsButton", (PyCFunction
) _wrap_MouseEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
},
40659 { (char *)"MouseEvent_ButtonDown", (PyCFunction
) _wrap_MouseEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
},
40660 { (char *)"MouseEvent_ButtonDClick", (PyCFunction
) _wrap_MouseEvent_ButtonDClick
, METH_VARARGS
| METH_KEYWORDS
},
40661 { (char *)"MouseEvent_ButtonUp", (PyCFunction
) _wrap_MouseEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
},
40662 { (char *)"MouseEvent_Button", (PyCFunction
) _wrap_MouseEvent_Button
, METH_VARARGS
| METH_KEYWORDS
},
40663 { (char *)"MouseEvent_ButtonIsDown", (PyCFunction
) _wrap_MouseEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
},
40664 { (char *)"MouseEvent_GetButton", (PyCFunction
) _wrap_MouseEvent_GetButton
, METH_VARARGS
| METH_KEYWORDS
},
40665 { (char *)"MouseEvent_ControlDown", (PyCFunction
) _wrap_MouseEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
},
40666 { (char *)"MouseEvent_MetaDown", (PyCFunction
) _wrap_MouseEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
},
40667 { (char *)"MouseEvent_AltDown", (PyCFunction
) _wrap_MouseEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
},
40668 { (char *)"MouseEvent_ShiftDown", (PyCFunction
) _wrap_MouseEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
},
40669 { (char *)"MouseEvent_LeftDown", (PyCFunction
) _wrap_MouseEvent_LeftDown
, METH_VARARGS
| METH_KEYWORDS
},
40670 { (char *)"MouseEvent_MiddleDown", (PyCFunction
) _wrap_MouseEvent_MiddleDown
, METH_VARARGS
| METH_KEYWORDS
},
40671 { (char *)"MouseEvent_RightDown", (PyCFunction
) _wrap_MouseEvent_RightDown
, METH_VARARGS
| METH_KEYWORDS
},
40672 { (char *)"MouseEvent_LeftUp", (PyCFunction
) _wrap_MouseEvent_LeftUp
, METH_VARARGS
| METH_KEYWORDS
},
40673 { (char *)"MouseEvent_MiddleUp", (PyCFunction
) _wrap_MouseEvent_MiddleUp
, METH_VARARGS
| METH_KEYWORDS
},
40674 { (char *)"MouseEvent_RightUp", (PyCFunction
) _wrap_MouseEvent_RightUp
, METH_VARARGS
| METH_KEYWORDS
},
40675 { (char *)"MouseEvent_LeftDClick", (PyCFunction
) _wrap_MouseEvent_LeftDClick
, METH_VARARGS
| METH_KEYWORDS
},
40676 { (char *)"MouseEvent_MiddleDClick", (PyCFunction
) _wrap_MouseEvent_MiddleDClick
, METH_VARARGS
| METH_KEYWORDS
},
40677 { (char *)"MouseEvent_RightDClick", (PyCFunction
) _wrap_MouseEvent_RightDClick
, METH_VARARGS
| METH_KEYWORDS
},
40678 { (char *)"MouseEvent_LeftIsDown", (PyCFunction
) _wrap_MouseEvent_LeftIsDown
, METH_VARARGS
| METH_KEYWORDS
},
40679 { (char *)"MouseEvent_MiddleIsDown", (PyCFunction
) _wrap_MouseEvent_MiddleIsDown
, METH_VARARGS
| METH_KEYWORDS
},
40680 { (char *)"MouseEvent_RightIsDown", (PyCFunction
) _wrap_MouseEvent_RightIsDown
, METH_VARARGS
| METH_KEYWORDS
},
40681 { (char *)"MouseEvent_Dragging", (PyCFunction
) _wrap_MouseEvent_Dragging
, METH_VARARGS
| METH_KEYWORDS
},
40682 { (char *)"MouseEvent_Moving", (PyCFunction
) _wrap_MouseEvent_Moving
, METH_VARARGS
| METH_KEYWORDS
},
40683 { (char *)"MouseEvent_Entering", (PyCFunction
) _wrap_MouseEvent_Entering
, METH_VARARGS
| METH_KEYWORDS
},
40684 { (char *)"MouseEvent_Leaving", (PyCFunction
) _wrap_MouseEvent_Leaving
, METH_VARARGS
| METH_KEYWORDS
},
40685 { (char *)"MouseEvent_GetPosition", (PyCFunction
) _wrap_MouseEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40686 { (char *)"MouseEvent_GetPositionTuple", (PyCFunction
) _wrap_MouseEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
40687 { (char *)"MouseEvent_GetLogicalPosition", (PyCFunction
) _wrap_MouseEvent_GetLogicalPosition
, METH_VARARGS
| METH_KEYWORDS
},
40688 { (char *)"MouseEvent_GetX", (PyCFunction
) _wrap_MouseEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
40689 { (char *)"MouseEvent_GetY", (PyCFunction
) _wrap_MouseEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
40690 { (char *)"MouseEvent_GetWheelRotation", (PyCFunction
) _wrap_MouseEvent_GetWheelRotation
, METH_VARARGS
| METH_KEYWORDS
},
40691 { (char *)"MouseEvent_GetWheelDelta", (PyCFunction
) _wrap_MouseEvent_GetWheelDelta
, METH_VARARGS
| METH_KEYWORDS
},
40692 { (char *)"MouseEvent_GetLinesPerAction", (PyCFunction
) _wrap_MouseEvent_GetLinesPerAction
, METH_VARARGS
| METH_KEYWORDS
},
40693 { (char *)"MouseEvent_IsPageScroll", (PyCFunction
) _wrap_MouseEvent_IsPageScroll
, METH_VARARGS
| METH_KEYWORDS
},
40694 { (char *)"MouseEvent_m_x_set", (PyCFunction
) _wrap_MouseEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
},
40695 { (char *)"MouseEvent_m_x_get", (PyCFunction
) _wrap_MouseEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
},
40696 { (char *)"MouseEvent_m_y_set", (PyCFunction
) _wrap_MouseEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
},
40697 { (char *)"MouseEvent_m_y_get", (PyCFunction
) _wrap_MouseEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
},
40698 { (char *)"MouseEvent_m_leftDown_set", (PyCFunction
) _wrap_MouseEvent_m_leftDown_set
, METH_VARARGS
| METH_KEYWORDS
},
40699 { (char *)"MouseEvent_m_leftDown_get", (PyCFunction
) _wrap_MouseEvent_m_leftDown_get
, METH_VARARGS
| METH_KEYWORDS
},
40700 { (char *)"MouseEvent_m_middleDown_set", (PyCFunction
) _wrap_MouseEvent_m_middleDown_set
, METH_VARARGS
| METH_KEYWORDS
},
40701 { (char *)"MouseEvent_m_middleDown_get", (PyCFunction
) _wrap_MouseEvent_m_middleDown_get
, METH_VARARGS
| METH_KEYWORDS
},
40702 { (char *)"MouseEvent_m_rightDown_set", (PyCFunction
) _wrap_MouseEvent_m_rightDown_set
, METH_VARARGS
| METH_KEYWORDS
},
40703 { (char *)"MouseEvent_m_rightDown_get", (PyCFunction
) _wrap_MouseEvent_m_rightDown_get
, METH_VARARGS
| METH_KEYWORDS
},
40704 { (char *)"MouseEvent_m_controlDown_set", (PyCFunction
) _wrap_MouseEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
},
40705 { (char *)"MouseEvent_m_controlDown_get", (PyCFunction
) _wrap_MouseEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
},
40706 { (char *)"MouseEvent_m_shiftDown_set", (PyCFunction
) _wrap_MouseEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
},
40707 { (char *)"MouseEvent_m_shiftDown_get", (PyCFunction
) _wrap_MouseEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
},
40708 { (char *)"MouseEvent_m_altDown_set", (PyCFunction
) _wrap_MouseEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
},
40709 { (char *)"MouseEvent_m_altDown_get", (PyCFunction
) _wrap_MouseEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
},
40710 { (char *)"MouseEvent_m_metaDown_set", (PyCFunction
) _wrap_MouseEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
},
40711 { (char *)"MouseEvent_m_metaDown_get", (PyCFunction
) _wrap_MouseEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
},
40712 { (char *)"MouseEvent_m_wheelRotation_set", (PyCFunction
) _wrap_MouseEvent_m_wheelRotation_set
, METH_VARARGS
| METH_KEYWORDS
},
40713 { (char *)"MouseEvent_m_wheelRotation_get", (PyCFunction
) _wrap_MouseEvent_m_wheelRotation_get
, METH_VARARGS
| METH_KEYWORDS
},
40714 { (char *)"MouseEvent_m_wheelDelta_set", (PyCFunction
) _wrap_MouseEvent_m_wheelDelta_set
, METH_VARARGS
| METH_KEYWORDS
},
40715 { (char *)"MouseEvent_m_wheelDelta_get", (PyCFunction
) _wrap_MouseEvent_m_wheelDelta_get
, METH_VARARGS
| METH_KEYWORDS
},
40716 { (char *)"MouseEvent_m_linesPerAction_set", (PyCFunction
) _wrap_MouseEvent_m_linesPerAction_set
, METH_VARARGS
| METH_KEYWORDS
},
40717 { (char *)"MouseEvent_m_linesPerAction_get", (PyCFunction
) _wrap_MouseEvent_m_linesPerAction_get
, METH_VARARGS
| METH_KEYWORDS
},
40718 { (char *)"MouseEvent_swigregister", MouseEvent_swigregister
, METH_VARARGS
},
40719 { (char *)"new_SetCursorEvent", (PyCFunction
) _wrap_new_SetCursorEvent
, METH_VARARGS
| METH_KEYWORDS
},
40720 { (char *)"SetCursorEvent_GetX", (PyCFunction
) _wrap_SetCursorEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
40721 { (char *)"SetCursorEvent_GetY", (PyCFunction
) _wrap_SetCursorEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
40722 { (char *)"SetCursorEvent_SetCursor", (PyCFunction
) _wrap_SetCursorEvent_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
40723 { (char *)"SetCursorEvent_GetCursor", (PyCFunction
) _wrap_SetCursorEvent_GetCursor
, METH_VARARGS
| METH_KEYWORDS
},
40724 { (char *)"SetCursorEvent_HasCursor", (PyCFunction
) _wrap_SetCursorEvent_HasCursor
, METH_VARARGS
| METH_KEYWORDS
},
40725 { (char *)"SetCursorEvent_swigregister", SetCursorEvent_swigregister
, METH_VARARGS
},
40726 { (char *)"new_KeyEvent", (PyCFunction
) _wrap_new_KeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
40727 { (char *)"KeyEvent_ControlDown", (PyCFunction
) _wrap_KeyEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
},
40728 { (char *)"KeyEvent_MetaDown", (PyCFunction
) _wrap_KeyEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
},
40729 { (char *)"KeyEvent_AltDown", (PyCFunction
) _wrap_KeyEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
},
40730 { (char *)"KeyEvent_ShiftDown", (PyCFunction
) _wrap_KeyEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
},
40731 { (char *)"KeyEvent_HasModifiers", (PyCFunction
) _wrap_KeyEvent_HasModifiers
, METH_VARARGS
| METH_KEYWORDS
},
40732 { (char *)"KeyEvent_GetKeyCode", (PyCFunction
) _wrap_KeyEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
40733 { (char *)"KeyEvent_GetUniChar", (PyCFunction
) _wrap_KeyEvent_GetUniChar
, METH_VARARGS
| METH_KEYWORDS
},
40734 { (char *)"KeyEvent_GetRawKeyCode", (PyCFunction
) _wrap_KeyEvent_GetRawKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
40735 { (char *)"KeyEvent_GetRawKeyFlags", (PyCFunction
) _wrap_KeyEvent_GetRawKeyFlags
, METH_VARARGS
| METH_KEYWORDS
},
40736 { (char *)"KeyEvent_GetPosition", (PyCFunction
) _wrap_KeyEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40737 { (char *)"KeyEvent_GetPositionTuple", (PyCFunction
) _wrap_KeyEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
40738 { (char *)"KeyEvent_GetX", (PyCFunction
) _wrap_KeyEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
40739 { (char *)"KeyEvent_GetY", (PyCFunction
) _wrap_KeyEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
40740 { (char *)"KeyEvent_m_x_set", (PyCFunction
) _wrap_KeyEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
},
40741 { (char *)"KeyEvent_m_x_get", (PyCFunction
) _wrap_KeyEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
},
40742 { (char *)"KeyEvent_m_y_set", (PyCFunction
) _wrap_KeyEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
},
40743 { (char *)"KeyEvent_m_y_get", (PyCFunction
) _wrap_KeyEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
},
40744 { (char *)"KeyEvent_m_keyCode_set", (PyCFunction
) _wrap_KeyEvent_m_keyCode_set
, METH_VARARGS
| METH_KEYWORDS
},
40745 { (char *)"KeyEvent_m_keyCode_get", (PyCFunction
) _wrap_KeyEvent_m_keyCode_get
, METH_VARARGS
| METH_KEYWORDS
},
40746 { (char *)"KeyEvent_m_controlDown_set", (PyCFunction
) _wrap_KeyEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
},
40747 { (char *)"KeyEvent_m_controlDown_get", (PyCFunction
) _wrap_KeyEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
},
40748 { (char *)"KeyEvent_m_shiftDown_set", (PyCFunction
) _wrap_KeyEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
},
40749 { (char *)"KeyEvent_m_shiftDown_get", (PyCFunction
) _wrap_KeyEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
},
40750 { (char *)"KeyEvent_m_altDown_set", (PyCFunction
) _wrap_KeyEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
},
40751 { (char *)"KeyEvent_m_altDown_get", (PyCFunction
) _wrap_KeyEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
},
40752 { (char *)"KeyEvent_m_metaDown_set", (PyCFunction
) _wrap_KeyEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
},
40753 { (char *)"KeyEvent_m_metaDown_get", (PyCFunction
) _wrap_KeyEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
},
40754 { (char *)"KeyEvent_m_scanCode_set", (PyCFunction
) _wrap_KeyEvent_m_scanCode_set
, METH_VARARGS
| METH_KEYWORDS
},
40755 { (char *)"KeyEvent_m_scanCode_get", (PyCFunction
) _wrap_KeyEvent_m_scanCode_get
, METH_VARARGS
| METH_KEYWORDS
},
40756 { (char *)"KeyEvent_m_rawCode_set", (PyCFunction
) _wrap_KeyEvent_m_rawCode_set
, METH_VARARGS
| METH_KEYWORDS
},
40757 { (char *)"KeyEvent_m_rawCode_get", (PyCFunction
) _wrap_KeyEvent_m_rawCode_get
, METH_VARARGS
| METH_KEYWORDS
},
40758 { (char *)"KeyEvent_m_rawFlags_set", (PyCFunction
) _wrap_KeyEvent_m_rawFlags_set
, METH_VARARGS
| METH_KEYWORDS
},
40759 { (char *)"KeyEvent_m_rawFlags_get", (PyCFunction
) _wrap_KeyEvent_m_rawFlags_get
, METH_VARARGS
| METH_KEYWORDS
},
40760 { (char *)"KeyEvent_swigregister", KeyEvent_swigregister
, METH_VARARGS
},
40761 { (char *)"new_SizeEvent", (PyCFunction
) _wrap_new_SizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
40762 { (char *)"SizeEvent_GetSize", (PyCFunction
) _wrap_SizeEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
40763 { (char *)"SizeEvent_GetRect", (PyCFunction
) _wrap_SizeEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
40764 { (char *)"SizeEvent_SetRect", (PyCFunction
) _wrap_SizeEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
40765 { (char *)"SizeEvent_SetSize", (PyCFunction
) _wrap_SizeEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
40766 { (char *)"SizeEvent_m_size_set", (PyCFunction
) _wrap_SizeEvent_m_size_set
, METH_VARARGS
| METH_KEYWORDS
},
40767 { (char *)"SizeEvent_m_size_get", (PyCFunction
) _wrap_SizeEvent_m_size_get
, METH_VARARGS
| METH_KEYWORDS
},
40768 { (char *)"SizeEvent_m_rect_set", (PyCFunction
) _wrap_SizeEvent_m_rect_set
, METH_VARARGS
| METH_KEYWORDS
},
40769 { (char *)"SizeEvent_m_rect_get", (PyCFunction
) _wrap_SizeEvent_m_rect_get
, METH_VARARGS
| METH_KEYWORDS
},
40770 { (char *)"SizeEvent_swigregister", SizeEvent_swigregister
, METH_VARARGS
},
40771 { (char *)"new_MoveEvent", (PyCFunction
) _wrap_new_MoveEvent
, METH_VARARGS
| METH_KEYWORDS
},
40772 { (char *)"MoveEvent_GetPosition", (PyCFunction
) _wrap_MoveEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40773 { (char *)"MoveEvent_GetRect", (PyCFunction
) _wrap_MoveEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
40774 { (char *)"MoveEvent_SetRect", (PyCFunction
) _wrap_MoveEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
40775 { (char *)"MoveEvent_SetPosition", (PyCFunction
) _wrap_MoveEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40776 { (char *)"MoveEvent_m_pos_set", (PyCFunction
) _wrap_MoveEvent_m_pos_set
, METH_VARARGS
| METH_KEYWORDS
},
40777 { (char *)"MoveEvent_m_pos_get", (PyCFunction
) _wrap_MoveEvent_m_pos_get
, METH_VARARGS
| METH_KEYWORDS
},
40778 { (char *)"MoveEvent_m_rect_set", (PyCFunction
) _wrap_MoveEvent_m_rect_set
, METH_VARARGS
| METH_KEYWORDS
},
40779 { (char *)"MoveEvent_m_rect_get", (PyCFunction
) _wrap_MoveEvent_m_rect_get
, METH_VARARGS
| METH_KEYWORDS
},
40780 { (char *)"MoveEvent_swigregister", MoveEvent_swigregister
, METH_VARARGS
},
40781 { (char *)"new_PaintEvent", (PyCFunction
) _wrap_new_PaintEvent
, METH_VARARGS
| METH_KEYWORDS
},
40782 { (char *)"PaintEvent_swigregister", PaintEvent_swigregister
, METH_VARARGS
},
40783 { (char *)"new_NcPaintEvent", (PyCFunction
) _wrap_new_NcPaintEvent
, METH_VARARGS
| METH_KEYWORDS
},
40784 { (char *)"NcPaintEvent_swigregister", NcPaintEvent_swigregister
, METH_VARARGS
},
40785 { (char *)"new_EraseEvent", (PyCFunction
) _wrap_new_EraseEvent
, METH_VARARGS
| METH_KEYWORDS
},
40786 { (char *)"EraseEvent_GetDC", (PyCFunction
) _wrap_EraseEvent_GetDC
, METH_VARARGS
| METH_KEYWORDS
},
40787 { (char *)"EraseEvent_swigregister", EraseEvent_swigregister
, METH_VARARGS
},
40788 { (char *)"new_FocusEvent", (PyCFunction
) _wrap_new_FocusEvent
, METH_VARARGS
| METH_KEYWORDS
},
40789 { (char *)"FocusEvent_GetWindow", (PyCFunction
) _wrap_FocusEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
40790 { (char *)"FocusEvent_SetWindow", (PyCFunction
) _wrap_FocusEvent_SetWindow
, METH_VARARGS
| METH_KEYWORDS
},
40791 { (char *)"FocusEvent_swigregister", FocusEvent_swigregister
, METH_VARARGS
},
40792 { (char *)"new_ChildFocusEvent", (PyCFunction
) _wrap_new_ChildFocusEvent
, METH_VARARGS
| METH_KEYWORDS
},
40793 { (char *)"ChildFocusEvent_GetWindow", (PyCFunction
) _wrap_ChildFocusEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
40794 { (char *)"ChildFocusEvent_swigregister", ChildFocusEvent_swigregister
, METH_VARARGS
},
40795 { (char *)"new_ActivateEvent", (PyCFunction
) _wrap_new_ActivateEvent
, METH_VARARGS
| METH_KEYWORDS
},
40796 { (char *)"ActivateEvent_GetActive", (PyCFunction
) _wrap_ActivateEvent_GetActive
, METH_VARARGS
| METH_KEYWORDS
},
40797 { (char *)"ActivateEvent_swigregister", ActivateEvent_swigregister
, METH_VARARGS
},
40798 { (char *)"new_InitDialogEvent", (PyCFunction
) _wrap_new_InitDialogEvent
, METH_VARARGS
| METH_KEYWORDS
},
40799 { (char *)"InitDialogEvent_swigregister", InitDialogEvent_swigregister
, METH_VARARGS
},
40800 { (char *)"new_MenuEvent", (PyCFunction
) _wrap_new_MenuEvent
, METH_VARARGS
| METH_KEYWORDS
},
40801 { (char *)"MenuEvent_GetMenuId", (PyCFunction
) _wrap_MenuEvent_GetMenuId
, METH_VARARGS
| METH_KEYWORDS
},
40802 { (char *)"MenuEvent_IsPopup", (PyCFunction
) _wrap_MenuEvent_IsPopup
, METH_VARARGS
| METH_KEYWORDS
},
40803 { (char *)"MenuEvent_GetMenu", (PyCFunction
) _wrap_MenuEvent_GetMenu
, METH_VARARGS
| METH_KEYWORDS
},
40804 { (char *)"MenuEvent_swigregister", MenuEvent_swigregister
, METH_VARARGS
},
40805 { (char *)"new_CloseEvent", (PyCFunction
) _wrap_new_CloseEvent
, METH_VARARGS
| METH_KEYWORDS
},
40806 { (char *)"CloseEvent_SetLoggingOff", (PyCFunction
) _wrap_CloseEvent_SetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
},
40807 { (char *)"CloseEvent_GetLoggingOff", (PyCFunction
) _wrap_CloseEvent_GetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
},
40808 { (char *)"CloseEvent_Veto", (PyCFunction
) _wrap_CloseEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
},
40809 { (char *)"CloseEvent_SetCanVeto", (PyCFunction
) _wrap_CloseEvent_SetCanVeto
, METH_VARARGS
| METH_KEYWORDS
},
40810 { (char *)"CloseEvent_CanVeto", (PyCFunction
) _wrap_CloseEvent_CanVeto
, METH_VARARGS
| METH_KEYWORDS
},
40811 { (char *)"CloseEvent_GetVeto", (PyCFunction
) _wrap_CloseEvent_GetVeto
, METH_VARARGS
| METH_KEYWORDS
},
40812 { (char *)"CloseEvent_swigregister", CloseEvent_swigregister
, METH_VARARGS
},
40813 { (char *)"new_ShowEvent", (PyCFunction
) _wrap_new_ShowEvent
, METH_VARARGS
| METH_KEYWORDS
},
40814 { (char *)"ShowEvent_SetShow", (PyCFunction
) _wrap_ShowEvent_SetShow
, METH_VARARGS
| METH_KEYWORDS
},
40815 { (char *)"ShowEvent_GetShow", (PyCFunction
) _wrap_ShowEvent_GetShow
, METH_VARARGS
| METH_KEYWORDS
},
40816 { (char *)"ShowEvent_swigregister", ShowEvent_swigregister
, METH_VARARGS
},
40817 { (char *)"new_IconizeEvent", (PyCFunction
) _wrap_new_IconizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
40818 { (char *)"IconizeEvent_Iconized", (PyCFunction
) _wrap_IconizeEvent_Iconized
, METH_VARARGS
| METH_KEYWORDS
},
40819 { (char *)"IconizeEvent_swigregister", IconizeEvent_swigregister
, METH_VARARGS
},
40820 { (char *)"new_MaximizeEvent", (PyCFunction
) _wrap_new_MaximizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
40821 { (char *)"MaximizeEvent_swigregister", MaximizeEvent_swigregister
, METH_VARARGS
},
40822 { (char *)"DropFilesEvent_GetPosition", (PyCFunction
) _wrap_DropFilesEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40823 { (char *)"DropFilesEvent_GetNumberOfFiles", (PyCFunction
) _wrap_DropFilesEvent_GetNumberOfFiles
, METH_VARARGS
| METH_KEYWORDS
},
40824 { (char *)"DropFilesEvent_GetFiles", (PyCFunction
) _wrap_DropFilesEvent_GetFiles
, METH_VARARGS
| METH_KEYWORDS
},
40825 { (char *)"DropFilesEvent_swigregister", DropFilesEvent_swigregister
, METH_VARARGS
},
40826 { (char *)"new_UpdateUIEvent", (PyCFunction
) _wrap_new_UpdateUIEvent
, METH_VARARGS
| METH_KEYWORDS
},
40827 { (char *)"UpdateUIEvent_GetChecked", (PyCFunction
) _wrap_UpdateUIEvent_GetChecked
, METH_VARARGS
| METH_KEYWORDS
},
40828 { (char *)"UpdateUIEvent_GetEnabled", (PyCFunction
) _wrap_UpdateUIEvent_GetEnabled
, METH_VARARGS
| METH_KEYWORDS
},
40829 { (char *)"UpdateUIEvent_GetText", (PyCFunction
) _wrap_UpdateUIEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
},
40830 { (char *)"UpdateUIEvent_GetSetText", (PyCFunction
) _wrap_UpdateUIEvent_GetSetText
, METH_VARARGS
| METH_KEYWORDS
},
40831 { (char *)"UpdateUIEvent_GetSetChecked", (PyCFunction
) _wrap_UpdateUIEvent_GetSetChecked
, METH_VARARGS
| METH_KEYWORDS
},
40832 { (char *)"UpdateUIEvent_GetSetEnabled", (PyCFunction
) _wrap_UpdateUIEvent_GetSetEnabled
, METH_VARARGS
| METH_KEYWORDS
},
40833 { (char *)"UpdateUIEvent_Check", (PyCFunction
) _wrap_UpdateUIEvent_Check
, METH_VARARGS
| METH_KEYWORDS
},
40834 { (char *)"UpdateUIEvent_Enable", (PyCFunction
) _wrap_UpdateUIEvent_Enable
, METH_VARARGS
| METH_KEYWORDS
},
40835 { (char *)"UpdateUIEvent_SetText", (PyCFunction
) _wrap_UpdateUIEvent_SetText
, METH_VARARGS
| METH_KEYWORDS
},
40836 { (char *)"UpdateUIEvent_SetUpdateInterval", (PyCFunction
) _wrap_UpdateUIEvent_SetUpdateInterval
, METH_VARARGS
| METH_KEYWORDS
},
40837 { (char *)"UpdateUIEvent_GetUpdateInterval", (PyCFunction
) _wrap_UpdateUIEvent_GetUpdateInterval
, METH_VARARGS
| METH_KEYWORDS
},
40838 { (char *)"UpdateUIEvent_CanUpdate", (PyCFunction
) _wrap_UpdateUIEvent_CanUpdate
, METH_VARARGS
| METH_KEYWORDS
},
40839 { (char *)"UpdateUIEvent_ResetUpdateTime", (PyCFunction
) _wrap_UpdateUIEvent_ResetUpdateTime
, METH_VARARGS
| METH_KEYWORDS
},
40840 { (char *)"UpdateUIEvent_SetMode", (PyCFunction
) _wrap_UpdateUIEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
},
40841 { (char *)"UpdateUIEvent_GetMode", (PyCFunction
) _wrap_UpdateUIEvent_GetMode
, METH_VARARGS
| METH_KEYWORDS
},
40842 { (char *)"UpdateUIEvent_swigregister", UpdateUIEvent_swigregister
, METH_VARARGS
},
40843 { (char *)"new_SysColourChangedEvent", (PyCFunction
) _wrap_new_SysColourChangedEvent
, METH_VARARGS
| METH_KEYWORDS
},
40844 { (char *)"SysColourChangedEvent_swigregister", SysColourChangedEvent_swigregister
, METH_VARARGS
},
40845 { (char *)"new_MouseCaptureChangedEvent", (PyCFunction
) _wrap_new_MouseCaptureChangedEvent
, METH_VARARGS
| METH_KEYWORDS
},
40846 { (char *)"MouseCaptureChangedEvent_GetCapturedWindow", (PyCFunction
) _wrap_MouseCaptureChangedEvent_GetCapturedWindow
, METH_VARARGS
| METH_KEYWORDS
},
40847 { (char *)"MouseCaptureChangedEvent_swigregister", MouseCaptureChangedEvent_swigregister
, METH_VARARGS
},
40848 { (char *)"new_DisplayChangedEvent", (PyCFunction
) _wrap_new_DisplayChangedEvent
, METH_VARARGS
| METH_KEYWORDS
},
40849 { (char *)"DisplayChangedEvent_swigregister", DisplayChangedEvent_swigregister
, METH_VARARGS
},
40850 { (char *)"new_PaletteChangedEvent", (PyCFunction
) _wrap_new_PaletteChangedEvent
, METH_VARARGS
| METH_KEYWORDS
},
40851 { (char *)"PaletteChangedEvent_SetChangedWindow", (PyCFunction
) _wrap_PaletteChangedEvent_SetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
},
40852 { (char *)"PaletteChangedEvent_GetChangedWindow", (PyCFunction
) _wrap_PaletteChangedEvent_GetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
},
40853 { (char *)"PaletteChangedEvent_swigregister", PaletteChangedEvent_swigregister
, METH_VARARGS
},
40854 { (char *)"new_QueryNewPaletteEvent", (PyCFunction
) _wrap_new_QueryNewPaletteEvent
, METH_VARARGS
| METH_KEYWORDS
},
40855 { (char *)"QueryNewPaletteEvent_SetPaletteRealized", (PyCFunction
) _wrap_QueryNewPaletteEvent_SetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
},
40856 { (char *)"QueryNewPaletteEvent_GetPaletteRealized", (PyCFunction
) _wrap_QueryNewPaletteEvent_GetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
},
40857 { (char *)"QueryNewPaletteEvent_swigregister", QueryNewPaletteEvent_swigregister
, METH_VARARGS
},
40858 { (char *)"new_NavigationKeyEvent", (PyCFunction
) _wrap_new_NavigationKeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
40859 { (char *)"NavigationKeyEvent_GetDirection", (PyCFunction
) _wrap_NavigationKeyEvent_GetDirection
, METH_VARARGS
| METH_KEYWORDS
},
40860 { (char *)"NavigationKeyEvent_SetDirection", (PyCFunction
) _wrap_NavigationKeyEvent_SetDirection
, METH_VARARGS
| METH_KEYWORDS
},
40861 { (char *)"NavigationKeyEvent_IsWindowChange", (PyCFunction
) _wrap_NavigationKeyEvent_IsWindowChange
, METH_VARARGS
| METH_KEYWORDS
},
40862 { (char *)"NavigationKeyEvent_SetWindowChange", (PyCFunction
) _wrap_NavigationKeyEvent_SetWindowChange
, METH_VARARGS
| METH_KEYWORDS
},
40863 { (char *)"NavigationKeyEvent_GetCurrentFocus", (PyCFunction
) _wrap_NavigationKeyEvent_GetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
},
40864 { (char *)"NavigationKeyEvent_SetCurrentFocus", (PyCFunction
) _wrap_NavigationKeyEvent_SetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
},
40865 { (char *)"NavigationKeyEvent_swigregister", NavigationKeyEvent_swigregister
, METH_VARARGS
},
40866 { (char *)"new_WindowCreateEvent", (PyCFunction
) _wrap_new_WindowCreateEvent
, METH_VARARGS
| METH_KEYWORDS
},
40867 { (char *)"WindowCreateEvent_GetWindow", (PyCFunction
) _wrap_WindowCreateEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
40868 { (char *)"WindowCreateEvent_swigregister", WindowCreateEvent_swigregister
, METH_VARARGS
},
40869 { (char *)"new_WindowDestroyEvent", (PyCFunction
) _wrap_new_WindowDestroyEvent
, METH_VARARGS
| METH_KEYWORDS
},
40870 { (char *)"WindowDestroyEvent_GetWindow", (PyCFunction
) _wrap_WindowDestroyEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
40871 { (char *)"WindowDestroyEvent_swigregister", WindowDestroyEvent_swigregister
, METH_VARARGS
},
40872 { (char *)"new_ContextMenuEvent", (PyCFunction
) _wrap_new_ContextMenuEvent
, METH_VARARGS
| METH_KEYWORDS
},
40873 { (char *)"ContextMenuEvent_GetPosition", (PyCFunction
) _wrap_ContextMenuEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40874 { (char *)"ContextMenuEvent_SetPosition", (PyCFunction
) _wrap_ContextMenuEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40875 { (char *)"ContextMenuEvent_swigregister", ContextMenuEvent_swigregister
, METH_VARARGS
},
40876 { (char *)"new_IdleEvent", (PyCFunction
) _wrap_new_IdleEvent
, METH_VARARGS
| METH_KEYWORDS
},
40877 { (char *)"IdleEvent_RequestMore", (PyCFunction
) _wrap_IdleEvent_RequestMore
, METH_VARARGS
| METH_KEYWORDS
},
40878 { (char *)"IdleEvent_MoreRequested", (PyCFunction
) _wrap_IdleEvent_MoreRequested
, METH_VARARGS
| METH_KEYWORDS
},
40879 { (char *)"IdleEvent_SetMode", (PyCFunction
) _wrap_IdleEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
},
40880 { (char *)"IdleEvent_GetMode", (PyCFunction
) _wrap_IdleEvent_GetMode
, METH_VARARGS
| METH_KEYWORDS
},
40881 { (char *)"IdleEvent_CanSend", (PyCFunction
) _wrap_IdleEvent_CanSend
, METH_VARARGS
| METH_KEYWORDS
},
40882 { (char *)"IdleEvent_swigregister", IdleEvent_swigregister
, METH_VARARGS
},
40883 { (char *)"new_PyEvent", (PyCFunction
) _wrap_new_PyEvent
, METH_VARARGS
| METH_KEYWORDS
},
40884 { (char *)"delete_PyEvent", (PyCFunction
) _wrap_delete_PyEvent
, METH_VARARGS
| METH_KEYWORDS
},
40885 { (char *)"PyEvent_SetSelf", (PyCFunction
) _wrap_PyEvent_SetSelf
, METH_VARARGS
| METH_KEYWORDS
},
40886 { (char *)"PyEvent_GetSelf", (PyCFunction
) _wrap_PyEvent_GetSelf
, METH_VARARGS
| METH_KEYWORDS
},
40887 { (char *)"PyEvent_swigregister", PyEvent_swigregister
, METH_VARARGS
},
40888 { (char *)"new_PyCommandEvent", (PyCFunction
) _wrap_new_PyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
},
40889 { (char *)"delete_PyCommandEvent", (PyCFunction
) _wrap_delete_PyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
},
40890 { (char *)"PyCommandEvent_SetSelf", (PyCFunction
) _wrap_PyCommandEvent_SetSelf
, METH_VARARGS
| METH_KEYWORDS
},
40891 { (char *)"PyCommandEvent_GetSelf", (PyCFunction
) _wrap_PyCommandEvent_GetSelf
, METH_VARARGS
| METH_KEYWORDS
},
40892 { (char *)"PyCommandEvent_swigregister", PyCommandEvent_swigregister
, METH_VARARGS
},
40893 { (char *)"new_PyApp", (PyCFunction
) _wrap_new_PyApp
, METH_VARARGS
| METH_KEYWORDS
},
40894 { (char *)"delete_PyApp", (PyCFunction
) _wrap_delete_PyApp
, METH_VARARGS
| METH_KEYWORDS
},
40895 { (char *)"PyApp__setCallbackInfo", (PyCFunction
) _wrap_PyApp__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
40896 { (char *)"PyApp_GetAppName", (PyCFunction
) _wrap_PyApp_GetAppName
, METH_VARARGS
| METH_KEYWORDS
},
40897 { (char *)"PyApp_SetAppName", (PyCFunction
) _wrap_PyApp_SetAppName
, METH_VARARGS
| METH_KEYWORDS
},
40898 { (char *)"PyApp_GetClassName", (PyCFunction
) _wrap_PyApp_GetClassName
, METH_VARARGS
| METH_KEYWORDS
},
40899 { (char *)"PyApp_SetClassName", (PyCFunction
) _wrap_PyApp_SetClassName
, METH_VARARGS
| METH_KEYWORDS
},
40900 { (char *)"PyApp_GetVendorName", (PyCFunction
) _wrap_PyApp_GetVendorName
, METH_VARARGS
| METH_KEYWORDS
},
40901 { (char *)"PyApp_SetVendorName", (PyCFunction
) _wrap_PyApp_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
},
40902 { (char *)"PyApp_GetTraits", (PyCFunction
) _wrap_PyApp_GetTraits
, METH_VARARGS
| METH_KEYWORDS
},
40903 { (char *)"PyApp_ProcessPendingEvents", (PyCFunction
) _wrap_PyApp_ProcessPendingEvents
, METH_VARARGS
| METH_KEYWORDS
},
40904 { (char *)"PyApp_Yield", (PyCFunction
) _wrap_PyApp_Yield
, METH_VARARGS
| METH_KEYWORDS
},
40905 { (char *)"PyApp_WakeUpIdle", (PyCFunction
) _wrap_PyApp_WakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
},
40906 { (char *)"PyApp_MainLoop", (PyCFunction
) _wrap_PyApp_MainLoop
, METH_VARARGS
| METH_KEYWORDS
},
40907 { (char *)"PyApp_Exit", (PyCFunction
) _wrap_PyApp_Exit
, METH_VARARGS
| METH_KEYWORDS
},
40908 { (char *)"PyApp_ExitMainLoop", (PyCFunction
) _wrap_PyApp_ExitMainLoop
, METH_VARARGS
| METH_KEYWORDS
},
40909 { (char *)"PyApp_Pending", (PyCFunction
) _wrap_PyApp_Pending
, METH_VARARGS
| METH_KEYWORDS
},
40910 { (char *)"PyApp_Dispatch", (PyCFunction
) _wrap_PyApp_Dispatch
, METH_VARARGS
| METH_KEYWORDS
},
40911 { (char *)"PyApp_ProcessIdle", (PyCFunction
) _wrap_PyApp_ProcessIdle
, METH_VARARGS
| METH_KEYWORDS
},
40912 { (char *)"PyApp_SendIdleEvents", (PyCFunction
) _wrap_PyApp_SendIdleEvents
, METH_VARARGS
| METH_KEYWORDS
},
40913 { (char *)"PyApp_IsActive", (PyCFunction
) _wrap_PyApp_IsActive
, METH_VARARGS
| METH_KEYWORDS
},
40914 { (char *)"PyApp_SetTopWindow", (PyCFunction
) _wrap_PyApp_SetTopWindow
, METH_VARARGS
| METH_KEYWORDS
},
40915 { (char *)"PyApp_GetTopWindow", (PyCFunction
) _wrap_PyApp_GetTopWindow
, METH_VARARGS
| METH_KEYWORDS
},
40916 { (char *)"PyApp_SetExitOnFrameDelete", (PyCFunction
) _wrap_PyApp_SetExitOnFrameDelete
, METH_VARARGS
| METH_KEYWORDS
},
40917 { (char *)"PyApp_GetExitOnFrameDelete", (PyCFunction
) _wrap_PyApp_GetExitOnFrameDelete
, METH_VARARGS
| METH_KEYWORDS
},
40918 { (char *)"PyApp_SetUseBestVisual", (PyCFunction
) _wrap_PyApp_SetUseBestVisual
, METH_VARARGS
| METH_KEYWORDS
},
40919 { (char *)"PyApp_GetUseBestVisual", (PyCFunction
) _wrap_PyApp_GetUseBestVisual
, METH_VARARGS
| METH_KEYWORDS
},
40920 { (char *)"PyApp_SetPrintMode", (PyCFunction
) _wrap_PyApp_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
},
40921 { (char *)"PyApp_GetPrintMode", (PyCFunction
) _wrap_PyApp_GetPrintMode
, METH_VARARGS
| METH_KEYWORDS
},
40922 { (char *)"PyApp_SetAssertMode", (PyCFunction
) _wrap_PyApp_SetAssertMode
, METH_VARARGS
| METH_KEYWORDS
},
40923 { (char *)"PyApp_GetAssertMode", (PyCFunction
) _wrap_PyApp_GetAssertMode
, METH_VARARGS
| METH_KEYWORDS
},
40924 { (char *)"PyApp_GetMacSupportPCMenuShortcuts", (PyCFunction
) _wrap_PyApp_GetMacSupportPCMenuShortcuts
, METH_VARARGS
| METH_KEYWORDS
},
40925 { (char *)"PyApp_GetMacAboutMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacAboutMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
40926 { (char *)"PyApp_GetMacPreferencesMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacPreferencesMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
40927 { (char *)"PyApp_GetMacExitMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacExitMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
40928 { (char *)"PyApp_GetMacHelpMenuTitleName", (PyCFunction
) _wrap_PyApp_GetMacHelpMenuTitleName
, METH_VARARGS
| METH_KEYWORDS
},
40929 { (char *)"PyApp_SetMacSupportPCMenuShortcuts", (PyCFunction
) _wrap_PyApp_SetMacSupportPCMenuShortcuts
, METH_VARARGS
| METH_KEYWORDS
},
40930 { (char *)"PyApp_SetMacAboutMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacAboutMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
40931 { (char *)"PyApp_SetMacPreferencesMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacPreferencesMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
40932 { (char *)"PyApp_SetMacExitMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacExitMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
40933 { (char *)"PyApp_SetMacHelpMenuTitleName", (PyCFunction
) _wrap_PyApp_SetMacHelpMenuTitleName
, METH_VARARGS
| METH_KEYWORDS
},
40934 { (char *)"PyApp__BootstrapApp", (PyCFunction
) _wrap_PyApp__BootstrapApp
, METH_VARARGS
| METH_KEYWORDS
},
40935 { (char *)"PyApp_GetComCtl32Version", (PyCFunction
) _wrap_PyApp_GetComCtl32Version
, METH_VARARGS
| METH_KEYWORDS
},
40936 { (char *)"PyApp_swigregister", PyApp_swigregister
, METH_VARARGS
},
40937 { (char *)"Exit", (PyCFunction
) _wrap_Exit
, METH_VARARGS
| METH_KEYWORDS
},
40938 { (char *)"Yield", (PyCFunction
) _wrap_Yield
, METH_VARARGS
| METH_KEYWORDS
},
40939 { (char *)"YieldIfNeeded", (PyCFunction
) _wrap_YieldIfNeeded
, METH_VARARGS
| METH_KEYWORDS
},
40940 { (char *)"SafeYield", (PyCFunction
) _wrap_SafeYield
, METH_VARARGS
| METH_KEYWORDS
},
40941 { (char *)"WakeUpIdle", (PyCFunction
) _wrap_WakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
},
40942 { (char *)"PostEvent", (PyCFunction
) _wrap_PostEvent
, METH_VARARGS
| METH_KEYWORDS
},
40943 { (char *)"App_CleanUp", (PyCFunction
) _wrap_App_CleanUp
, METH_VARARGS
| METH_KEYWORDS
},
40944 { (char *)"GetApp", (PyCFunction
) _wrap_GetApp
, METH_VARARGS
| METH_KEYWORDS
},
40945 { (char *)"new_AcceleratorEntry", (PyCFunction
) _wrap_new_AcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
},
40946 { (char *)"delete_AcceleratorEntry", (PyCFunction
) _wrap_delete_AcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
},
40947 { (char *)"AcceleratorEntry_Set", (PyCFunction
) _wrap_AcceleratorEntry_Set
, METH_VARARGS
| METH_KEYWORDS
},
40948 { (char *)"AcceleratorEntry_SetMenuItem", (PyCFunction
) _wrap_AcceleratorEntry_SetMenuItem
, METH_VARARGS
| METH_KEYWORDS
},
40949 { (char *)"AcceleratorEntry_GetMenuItem", (PyCFunction
) _wrap_AcceleratorEntry_GetMenuItem
, METH_VARARGS
| METH_KEYWORDS
},
40950 { (char *)"AcceleratorEntry_GetFlags", (PyCFunction
) _wrap_AcceleratorEntry_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
40951 { (char *)"AcceleratorEntry_GetKeyCode", (PyCFunction
) _wrap_AcceleratorEntry_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
40952 { (char *)"AcceleratorEntry_GetCommand", (PyCFunction
) _wrap_AcceleratorEntry_GetCommand
, METH_VARARGS
| METH_KEYWORDS
},
40953 { (char *)"AcceleratorEntry_swigregister", AcceleratorEntry_swigregister
, METH_VARARGS
},
40954 { (char *)"new_AcceleratorTable", (PyCFunction
) _wrap_new_AcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
40955 { (char *)"delete_AcceleratorTable", (PyCFunction
) _wrap_delete_AcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
40956 { (char *)"AcceleratorTable_Ok", (PyCFunction
) _wrap_AcceleratorTable_Ok
, METH_VARARGS
| METH_KEYWORDS
},
40957 { (char *)"AcceleratorTable_swigregister", AcceleratorTable_swigregister
, METH_VARARGS
},
40958 { (char *)"GetAccelFromString", (PyCFunction
) _wrap_GetAccelFromString
, METH_VARARGS
| METH_KEYWORDS
},
40959 { (char *)"new_VisualAttributes", (PyCFunction
) _wrap_new_VisualAttributes
, METH_VARARGS
| METH_KEYWORDS
},
40960 { (char *)"delete_VisualAttributes", (PyCFunction
) _wrap_delete_VisualAttributes
, METH_VARARGS
| METH_KEYWORDS
},
40961 { (char *)"VisualAttributes_font_set", (PyCFunction
) _wrap_VisualAttributes_font_set
, METH_VARARGS
| METH_KEYWORDS
},
40962 { (char *)"VisualAttributes_font_get", (PyCFunction
) _wrap_VisualAttributes_font_get
, METH_VARARGS
| METH_KEYWORDS
},
40963 { (char *)"VisualAttributes_colFg_set", (PyCFunction
) _wrap_VisualAttributes_colFg_set
, METH_VARARGS
| METH_KEYWORDS
},
40964 { (char *)"VisualAttributes_colFg_get", (PyCFunction
) _wrap_VisualAttributes_colFg_get
, METH_VARARGS
| METH_KEYWORDS
},
40965 { (char *)"VisualAttributes_colBg_set", (PyCFunction
) _wrap_VisualAttributes_colBg_set
, METH_VARARGS
| METH_KEYWORDS
},
40966 { (char *)"VisualAttributes_colBg_get", (PyCFunction
) _wrap_VisualAttributes_colBg_get
, METH_VARARGS
| METH_KEYWORDS
},
40967 { (char *)"VisualAttributes_swigregister", VisualAttributes_swigregister
, METH_VARARGS
},
40968 { (char *)"new_Window", (PyCFunction
) _wrap_new_Window
, METH_VARARGS
| METH_KEYWORDS
},
40969 { (char *)"new_PreWindow", (PyCFunction
) _wrap_new_PreWindow
, METH_VARARGS
| METH_KEYWORDS
},
40970 { (char *)"Window_Create", (PyCFunction
) _wrap_Window_Create
, METH_VARARGS
| METH_KEYWORDS
},
40971 { (char *)"Window_Close", (PyCFunction
) _wrap_Window_Close
, METH_VARARGS
| METH_KEYWORDS
},
40972 { (char *)"Window_Destroy", (PyCFunction
) _wrap_Window_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
40973 { (char *)"Window_DestroyChildren", (PyCFunction
) _wrap_Window_DestroyChildren
, METH_VARARGS
| METH_KEYWORDS
},
40974 { (char *)"Window_IsBeingDeleted", (PyCFunction
) _wrap_Window_IsBeingDeleted
, METH_VARARGS
| METH_KEYWORDS
},
40975 { (char *)"Window_SetTitle", (PyCFunction
) _wrap_Window_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
40976 { (char *)"Window_GetTitle", (PyCFunction
) _wrap_Window_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
40977 { (char *)"Window_SetLabel", (PyCFunction
) _wrap_Window_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
40978 { (char *)"Window_GetLabel", (PyCFunction
) _wrap_Window_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
40979 { (char *)"Window_SetName", (PyCFunction
) _wrap_Window_SetName
, METH_VARARGS
| METH_KEYWORDS
},
40980 { (char *)"Window_GetName", (PyCFunction
) _wrap_Window_GetName
, METH_VARARGS
| METH_KEYWORDS
},
40981 { (char *)"Window_SetWindowVariant", (PyCFunction
) _wrap_Window_SetWindowVariant
, METH_VARARGS
| METH_KEYWORDS
},
40982 { (char *)"Window_GetWindowVariant", (PyCFunction
) _wrap_Window_GetWindowVariant
, METH_VARARGS
| METH_KEYWORDS
},
40983 { (char *)"Window_SetId", (PyCFunction
) _wrap_Window_SetId
, METH_VARARGS
| METH_KEYWORDS
},
40984 { (char *)"Window_GetId", (PyCFunction
) _wrap_Window_GetId
, METH_VARARGS
| METH_KEYWORDS
},
40985 { (char *)"Window_NewControlId", (PyCFunction
) _wrap_Window_NewControlId
, METH_VARARGS
| METH_KEYWORDS
},
40986 { (char *)"Window_NextControlId", (PyCFunction
) _wrap_Window_NextControlId
, METH_VARARGS
| METH_KEYWORDS
},
40987 { (char *)"Window_PrevControlId", (PyCFunction
) _wrap_Window_PrevControlId
, METH_VARARGS
| METH_KEYWORDS
},
40988 { (char *)"Window_SetSize", (PyCFunction
) _wrap_Window_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
40989 { (char *)"Window_SetDimensions", (PyCFunction
) _wrap_Window_SetDimensions
, METH_VARARGS
| METH_KEYWORDS
},
40990 { (char *)"Window_SetRect", (PyCFunction
) _wrap_Window_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
40991 { (char *)"Window_SetSizeWH", (PyCFunction
) _wrap_Window_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
40992 { (char *)"Window_Move", (PyCFunction
) _wrap_Window_Move
, METH_VARARGS
| METH_KEYWORDS
},
40993 { (char *)"Window_MoveXY", (PyCFunction
) _wrap_Window_MoveXY
, METH_VARARGS
| METH_KEYWORDS
},
40994 { (char *)"Window_Raise", (PyCFunction
) _wrap_Window_Raise
, METH_VARARGS
| METH_KEYWORDS
},
40995 { (char *)"Window_Lower", (PyCFunction
) _wrap_Window_Lower
, METH_VARARGS
| METH_KEYWORDS
},
40996 { (char *)"Window_SetClientSize", (PyCFunction
) _wrap_Window_SetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
40997 { (char *)"Window_SetClientSizeWH", (PyCFunction
) _wrap_Window_SetClientSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
40998 { (char *)"Window_SetClientRect", (PyCFunction
) _wrap_Window_SetClientRect
, METH_VARARGS
| METH_KEYWORDS
},
40999 { (char *)"Window_GetPosition", (PyCFunction
) _wrap_Window_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
41000 { (char *)"Window_GetPositionTuple", (PyCFunction
) _wrap_Window_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
41001 { (char *)"Window_GetSize", (PyCFunction
) _wrap_Window_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
41002 { (char *)"Window_GetSizeTuple", (PyCFunction
) _wrap_Window_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
41003 { (char *)"Window_GetRect", (PyCFunction
) _wrap_Window_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
41004 { (char *)"Window_GetClientSize", (PyCFunction
) _wrap_Window_GetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
41005 { (char *)"Window_GetClientSizeTuple", (PyCFunction
) _wrap_Window_GetClientSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
41006 { (char *)"Window_GetClientAreaOrigin", (PyCFunction
) _wrap_Window_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
},
41007 { (char *)"Window_GetClientRect", (PyCFunction
) _wrap_Window_GetClientRect
, METH_VARARGS
| METH_KEYWORDS
},
41008 { (char *)"Window_GetBestSize", (PyCFunction
) _wrap_Window_GetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
41009 { (char *)"Window_GetBestSizeTuple", (PyCFunction
) _wrap_Window_GetBestSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
41010 { (char *)"Window_GetAdjustedBestSize", (PyCFunction
) _wrap_Window_GetAdjustedBestSize
, METH_VARARGS
| METH_KEYWORDS
},
41011 { (char *)"Window_Center", (PyCFunction
) _wrap_Window_Center
, METH_VARARGS
| METH_KEYWORDS
},
41012 { (char *)"Window_CenterOnScreen", (PyCFunction
) _wrap_Window_CenterOnScreen
, METH_VARARGS
| METH_KEYWORDS
},
41013 { (char *)"Window_CenterOnParent", (PyCFunction
) _wrap_Window_CenterOnParent
, METH_VARARGS
| METH_KEYWORDS
},
41014 { (char *)"Window_Fit", (PyCFunction
) _wrap_Window_Fit
, METH_VARARGS
| METH_KEYWORDS
},
41015 { (char *)"Window_FitInside", (PyCFunction
) _wrap_Window_FitInside
, METH_VARARGS
| METH_KEYWORDS
},
41016 { (char *)"Window_SetSizeHints", _wrap_Window_SetSizeHints
, METH_VARARGS
},
41017 { (char *)"Window_SetVirtualSizeHints", _wrap_Window_SetVirtualSizeHints
, METH_VARARGS
},
41018 { (char *)"Window_GetMinWidth", (PyCFunction
) _wrap_Window_GetMinWidth
, METH_VARARGS
| METH_KEYWORDS
},
41019 { (char *)"Window_GetMinHeight", (PyCFunction
) _wrap_Window_GetMinHeight
, METH_VARARGS
| METH_KEYWORDS
},
41020 { (char *)"Window_GetMaxWidth", (PyCFunction
) _wrap_Window_GetMaxWidth
, METH_VARARGS
| METH_KEYWORDS
},
41021 { (char *)"Window_GetMaxHeight", (PyCFunction
) _wrap_Window_GetMaxHeight
, METH_VARARGS
| METH_KEYWORDS
},
41022 { (char *)"Window_GetMaxSize", (PyCFunction
) _wrap_Window_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
41023 { (char *)"Window_GetMinSize", (PyCFunction
) _wrap_Window_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
41024 { (char *)"Window_SetVirtualSize", (PyCFunction
) _wrap_Window_SetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
41025 { (char *)"Window_SetVirtualSizeWH", (PyCFunction
) _wrap_Window_SetVirtualSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
41026 { (char *)"Window_GetVirtualSize", (PyCFunction
) _wrap_Window_GetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
41027 { (char *)"Window_GetVirtualSizeTuple", (PyCFunction
) _wrap_Window_GetVirtualSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
41028 { (char *)"Window_GetBestVirtualSize", (PyCFunction
) _wrap_Window_GetBestVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
41029 { (char *)"Window_Show", (PyCFunction
) _wrap_Window_Show
, METH_VARARGS
| METH_KEYWORDS
},
41030 { (char *)"Window_Hide", (PyCFunction
) _wrap_Window_Hide
, METH_VARARGS
| METH_KEYWORDS
},
41031 { (char *)"Window_Enable", (PyCFunction
) _wrap_Window_Enable
, METH_VARARGS
| METH_KEYWORDS
},
41032 { (char *)"Window_Disable", (PyCFunction
) _wrap_Window_Disable
, METH_VARARGS
| METH_KEYWORDS
},
41033 { (char *)"Window_IsShown", (PyCFunction
) _wrap_Window_IsShown
, METH_VARARGS
| METH_KEYWORDS
},
41034 { (char *)"Window_IsEnabled", (PyCFunction
) _wrap_Window_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
41035 { (char *)"Window_SetWindowStyleFlag", (PyCFunction
) _wrap_Window_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
41036 { (char *)"Window_GetWindowStyleFlag", (PyCFunction
) _wrap_Window_GetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
41037 { (char *)"Window_HasFlag", (PyCFunction
) _wrap_Window_HasFlag
, METH_VARARGS
| METH_KEYWORDS
},
41038 { (char *)"Window_IsRetained", (PyCFunction
) _wrap_Window_IsRetained
, METH_VARARGS
| METH_KEYWORDS
},
41039 { (char *)"Window_SetExtraStyle", (PyCFunction
) _wrap_Window_SetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
},
41040 { (char *)"Window_GetExtraStyle", (PyCFunction
) _wrap_Window_GetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
},
41041 { (char *)"Window_MakeModal", (PyCFunction
) _wrap_Window_MakeModal
, METH_VARARGS
| METH_KEYWORDS
},
41042 { (char *)"Window_SetThemeEnabled", (PyCFunction
) _wrap_Window_SetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
},
41043 { (char *)"Window_GetThemeEnabled", (PyCFunction
) _wrap_Window_GetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
},
41044 { (char *)"Window_SetFocus", (PyCFunction
) _wrap_Window_SetFocus
, METH_VARARGS
| METH_KEYWORDS
},
41045 { (char *)"Window_SetFocusFromKbd", (PyCFunction
) _wrap_Window_SetFocusFromKbd
, METH_VARARGS
| METH_KEYWORDS
},
41046 { (char *)"Window_FindFocus", (PyCFunction
) _wrap_Window_FindFocus
, METH_VARARGS
| METH_KEYWORDS
},
41047 { (char *)"Window_AcceptsFocus", (PyCFunction
) _wrap_Window_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
41048 { (char *)"Window_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_Window_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
41049 { (char *)"Window_GetDefaultItem", (PyCFunction
) _wrap_Window_GetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
41050 { (char *)"Window_SetDefaultItem", (PyCFunction
) _wrap_Window_SetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
41051 { (char *)"Window_SetTmpDefaultItem", (PyCFunction
) _wrap_Window_SetTmpDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
41052 { (char *)"Window_GetChildren", (PyCFunction
) _wrap_Window_GetChildren
, METH_VARARGS
| METH_KEYWORDS
},
41053 { (char *)"Window_GetParent", (PyCFunction
) _wrap_Window_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
41054 { (char *)"Window_GetGrandParent", (PyCFunction
) _wrap_Window_GetGrandParent
, METH_VARARGS
| METH_KEYWORDS
},
41055 { (char *)"Window_IsTopLevel", (PyCFunction
) _wrap_Window_IsTopLevel
, METH_VARARGS
| METH_KEYWORDS
},
41056 { (char *)"Window_Reparent", (PyCFunction
) _wrap_Window_Reparent
, METH_VARARGS
| METH_KEYWORDS
},
41057 { (char *)"Window_AddChild", (PyCFunction
) _wrap_Window_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
41058 { (char *)"Window_RemoveChild", (PyCFunction
) _wrap_Window_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
41059 { (char *)"Window_FindWindowById", (PyCFunction
) _wrap_Window_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
},
41060 { (char *)"Window_FindWindowByName", (PyCFunction
) _wrap_Window_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
},
41061 { (char *)"Window_GetEventHandler", (PyCFunction
) _wrap_Window_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
41062 { (char *)"Window_SetEventHandler", (PyCFunction
) _wrap_Window_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
41063 { (char *)"Window_PushEventHandler", (PyCFunction
) _wrap_Window_PushEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
41064 { (char *)"Window_PopEventHandler", (PyCFunction
) _wrap_Window_PopEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
41065 { (char *)"Window_RemoveEventHandler", (PyCFunction
) _wrap_Window_RemoveEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
41066 { (char *)"Window_SetValidator", (PyCFunction
) _wrap_Window_SetValidator
, METH_VARARGS
| METH_KEYWORDS
},
41067 { (char *)"Window_GetValidator", (PyCFunction
) _wrap_Window_GetValidator
, METH_VARARGS
| METH_KEYWORDS
},
41068 { (char *)"Window_Validate", (PyCFunction
) _wrap_Window_Validate
, METH_VARARGS
| METH_KEYWORDS
},
41069 { (char *)"Window_TransferDataToWindow", (PyCFunction
) _wrap_Window_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
41070 { (char *)"Window_TransferDataFromWindow", (PyCFunction
) _wrap_Window_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
41071 { (char *)"Window_InitDialog", (PyCFunction
) _wrap_Window_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
41072 { (char *)"Window_SetAcceleratorTable", (PyCFunction
) _wrap_Window_SetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
41073 { (char *)"Window_GetAcceleratorTable", (PyCFunction
) _wrap_Window_GetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
41074 { (char *)"Window_RegisterHotKey", (PyCFunction
) _wrap_Window_RegisterHotKey
, METH_VARARGS
| METH_KEYWORDS
},
41075 { (char *)"Window_UnregisterHotKey", (PyCFunction
) _wrap_Window_UnregisterHotKey
, METH_VARARGS
| METH_KEYWORDS
},
41076 { (char *)"Window_ConvertDialogPointToPixels", (PyCFunction
) _wrap_Window_ConvertDialogPointToPixels
, METH_VARARGS
| METH_KEYWORDS
},
41077 { (char *)"Window_ConvertDialogSizeToPixels", (PyCFunction
) _wrap_Window_ConvertDialogSizeToPixels
, METH_VARARGS
| METH_KEYWORDS
},
41078 { (char *)"Window_DLG_PNT", (PyCFunction
) _wrap_Window_DLG_PNT
, METH_VARARGS
| METH_KEYWORDS
},
41079 { (char *)"Window_DLG_SZE", (PyCFunction
) _wrap_Window_DLG_SZE
, METH_VARARGS
| METH_KEYWORDS
},
41080 { (char *)"Window_ConvertPixelPointToDialog", (PyCFunction
) _wrap_Window_ConvertPixelPointToDialog
, METH_VARARGS
| METH_KEYWORDS
},
41081 { (char *)"Window_ConvertPixelSizeToDialog", (PyCFunction
) _wrap_Window_ConvertPixelSizeToDialog
, METH_VARARGS
| METH_KEYWORDS
},
41082 { (char *)"Window_WarpPointer", (PyCFunction
) _wrap_Window_WarpPointer
, METH_VARARGS
| METH_KEYWORDS
},
41083 { (char *)"Window_CaptureMouse", (PyCFunction
) _wrap_Window_CaptureMouse
, METH_VARARGS
| METH_KEYWORDS
},
41084 { (char *)"Window_ReleaseMouse", (PyCFunction
) _wrap_Window_ReleaseMouse
, METH_VARARGS
| METH_KEYWORDS
},
41085 { (char *)"Window_GetCapture", (PyCFunction
) _wrap_Window_GetCapture
, METH_VARARGS
| METH_KEYWORDS
},
41086 { (char *)"Window_HasCapture", (PyCFunction
) _wrap_Window_HasCapture
, METH_VARARGS
| METH_KEYWORDS
},
41087 { (char *)"Window_Refresh", (PyCFunction
) _wrap_Window_Refresh
, METH_VARARGS
| METH_KEYWORDS
},
41088 { (char *)"Window_RefreshRect", (PyCFunction
) _wrap_Window_RefreshRect
, METH_VARARGS
| METH_KEYWORDS
},
41089 { (char *)"Window_Update", (PyCFunction
) _wrap_Window_Update
, METH_VARARGS
| METH_KEYWORDS
},
41090 { (char *)"Window_ClearBackground", (PyCFunction
) _wrap_Window_ClearBackground
, METH_VARARGS
| METH_KEYWORDS
},
41091 { (char *)"Window_Freeze", (PyCFunction
) _wrap_Window_Freeze
, METH_VARARGS
| METH_KEYWORDS
},
41092 { (char *)"Window_Thaw", (PyCFunction
) _wrap_Window_Thaw
, METH_VARARGS
| METH_KEYWORDS
},
41093 { (char *)"Window_PrepareDC", (PyCFunction
) _wrap_Window_PrepareDC
, METH_VARARGS
| METH_KEYWORDS
},
41094 { (char *)"Window_GetUpdateRegion", (PyCFunction
) _wrap_Window_GetUpdateRegion
, METH_VARARGS
| METH_KEYWORDS
},
41095 { (char *)"Window_GetUpdateClientRect", (PyCFunction
) _wrap_Window_GetUpdateClientRect
, METH_VARARGS
| METH_KEYWORDS
},
41096 { (char *)"Window_IsExposed", (PyCFunction
) _wrap_Window_IsExposed
, METH_VARARGS
| METH_KEYWORDS
},
41097 { (char *)"Window_IsExposedPoint", (PyCFunction
) _wrap_Window_IsExposedPoint
, METH_VARARGS
| METH_KEYWORDS
},
41098 { (char *)"Window_IsExposedRect", (PyCFunction
) _wrap_Window_IsExposedRect
, METH_VARARGS
| METH_KEYWORDS
},
41099 { (char *)"Window_GetDefaultAttributes", (PyCFunction
) _wrap_Window_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
41100 { (char *)"Window_GetClassDefaultAttributes", (PyCFunction
) _wrap_Window_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
41101 { (char *)"Window_SetBackgroundColour", (PyCFunction
) _wrap_Window_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
41102 { (char *)"Window_SetDefaultBackgroundColour", (PyCFunction
) _wrap_Window_SetDefaultBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
41103 { (char *)"Window_SetForegroundColour", (PyCFunction
) _wrap_Window_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
41104 { (char *)"Window_SetDefaultForegroundColour", (PyCFunction
) _wrap_Window_SetDefaultForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
41105 { (char *)"Window_GetBackgroundColour", (PyCFunction
) _wrap_Window_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
41106 { (char *)"Window_GetForegroundColour", (PyCFunction
) _wrap_Window_GetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
41107 { (char *)"Window_SetCursor", (PyCFunction
) _wrap_Window_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
41108 { (char *)"Window_GetCursor", (PyCFunction
) _wrap_Window_GetCursor
, METH_VARARGS
| METH_KEYWORDS
},
41109 { (char *)"Window_SetFont", (PyCFunction
) _wrap_Window_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
41110 { (char *)"Window_SetDefaultFont", (PyCFunction
) _wrap_Window_SetDefaultFont
, METH_VARARGS
| METH_KEYWORDS
},
41111 { (char *)"Window_GetFont", (PyCFunction
) _wrap_Window_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
41112 { (char *)"Window_SetCaret", (PyCFunction
) _wrap_Window_SetCaret
, METH_VARARGS
| METH_KEYWORDS
},
41113 { (char *)"Window_GetCaret", (PyCFunction
) _wrap_Window_GetCaret
, METH_VARARGS
| METH_KEYWORDS
},
41114 { (char *)"Window_GetCharHeight", (PyCFunction
) _wrap_Window_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
},
41115 { (char *)"Window_GetCharWidth", (PyCFunction
) _wrap_Window_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
},
41116 { (char *)"Window_GetTextExtent", (PyCFunction
) _wrap_Window_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
41117 { (char *)"Window_GetFullTextExtent", (PyCFunction
) _wrap_Window_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
41118 { (char *)"Window_ClientToScreenXY", (PyCFunction
) _wrap_Window_ClientToScreenXY
, METH_VARARGS
| METH_KEYWORDS
},
41119 { (char *)"Window_ScreenToClientXY", (PyCFunction
) _wrap_Window_ScreenToClientXY
, METH_VARARGS
| METH_KEYWORDS
},
41120 { (char *)"Window_ClientToScreen", (PyCFunction
) _wrap_Window_ClientToScreen
, METH_VARARGS
| METH_KEYWORDS
},
41121 { (char *)"Window_ScreenToClient", (PyCFunction
) _wrap_Window_ScreenToClient
, METH_VARARGS
| METH_KEYWORDS
},
41122 { (char *)"Window_HitTestXY", (PyCFunction
) _wrap_Window_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
},
41123 { (char *)"Window_HitTest", (PyCFunction
) _wrap_Window_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
41124 { (char *)"Window_GetBorder", _wrap_Window_GetBorder
, METH_VARARGS
},
41125 { (char *)"Window_UpdateWindowUI", (PyCFunction
) _wrap_Window_UpdateWindowUI
, METH_VARARGS
| METH_KEYWORDS
},
41126 { (char *)"Window_PopupMenuXY", (PyCFunction
) _wrap_Window_PopupMenuXY
, METH_VARARGS
| METH_KEYWORDS
},
41127 { (char *)"Window_PopupMenu", (PyCFunction
) _wrap_Window_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
},
41128 { (char *)"Window_GetHandle", (PyCFunction
) _wrap_Window_GetHandle
, METH_VARARGS
| METH_KEYWORDS
},
41129 { (char *)"Window_HasScrollbar", (PyCFunction
) _wrap_Window_HasScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
41130 { (char *)"Window_SetScrollbar", (PyCFunction
) _wrap_Window_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
41131 { (char *)"Window_SetScrollPos", (PyCFunction
) _wrap_Window_SetScrollPos
, METH_VARARGS
| METH_KEYWORDS
},
41132 { (char *)"Window_GetScrollPos", (PyCFunction
) _wrap_Window_GetScrollPos
, METH_VARARGS
| METH_KEYWORDS
},
41133 { (char *)"Window_GetScrollThumb", (PyCFunction
) _wrap_Window_GetScrollThumb
, METH_VARARGS
| METH_KEYWORDS
},
41134 { (char *)"Window_GetScrollRange", (PyCFunction
) _wrap_Window_GetScrollRange
, METH_VARARGS
| METH_KEYWORDS
},
41135 { (char *)"Window_ScrollWindow", (PyCFunction
) _wrap_Window_ScrollWindow
, METH_VARARGS
| METH_KEYWORDS
},
41136 { (char *)"Window_ScrollLines", (PyCFunction
) _wrap_Window_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
},
41137 { (char *)"Window_ScrollPages", (PyCFunction
) _wrap_Window_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
},
41138 { (char *)"Window_LineUp", (PyCFunction
) _wrap_Window_LineUp
, METH_VARARGS
| METH_KEYWORDS
},
41139 { (char *)"Window_LineDown", (PyCFunction
) _wrap_Window_LineDown
, METH_VARARGS
| METH_KEYWORDS
},
41140 { (char *)"Window_PageUp", (PyCFunction
) _wrap_Window_PageUp
, METH_VARARGS
| METH_KEYWORDS
},
41141 { (char *)"Window_PageDown", (PyCFunction
) _wrap_Window_PageDown
, METH_VARARGS
| METH_KEYWORDS
},
41142 { (char *)"Window_SetHelpText", (PyCFunction
) _wrap_Window_SetHelpText
, METH_VARARGS
| METH_KEYWORDS
},
41143 { (char *)"Window_SetHelpTextForId", (PyCFunction
) _wrap_Window_SetHelpTextForId
, METH_VARARGS
| METH_KEYWORDS
},
41144 { (char *)"Window_GetHelpText", (PyCFunction
) _wrap_Window_GetHelpText
, METH_VARARGS
| METH_KEYWORDS
},
41145 { (char *)"Window_SetToolTipString", (PyCFunction
) _wrap_Window_SetToolTipString
, METH_VARARGS
| METH_KEYWORDS
},
41146 { (char *)"Window_SetToolTip", (PyCFunction
) _wrap_Window_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
41147 { (char *)"Window_GetToolTip", (PyCFunction
) _wrap_Window_GetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
41148 { (char *)"Window_SetDropTarget", (PyCFunction
) _wrap_Window_SetDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
41149 { (char *)"Window_GetDropTarget", (PyCFunction
) _wrap_Window_GetDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
41150 { (char *)"Window_SetConstraints", (PyCFunction
) _wrap_Window_SetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
41151 { (char *)"Window_GetConstraints", (PyCFunction
) _wrap_Window_GetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
41152 { (char *)"Window_SetAutoLayout", (PyCFunction
) _wrap_Window_SetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
},
41153 { (char *)"Window_GetAutoLayout", (PyCFunction
) _wrap_Window_GetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
},
41154 { (char *)"Window_Layout", (PyCFunction
) _wrap_Window_Layout
, METH_VARARGS
| METH_KEYWORDS
},
41155 { (char *)"Window_SetSizer", (PyCFunction
) _wrap_Window_SetSizer
, METH_VARARGS
| METH_KEYWORDS
},
41156 { (char *)"Window_SetSizerAndFit", (PyCFunction
) _wrap_Window_SetSizerAndFit
, METH_VARARGS
| METH_KEYWORDS
},
41157 { (char *)"Window_GetSizer", (PyCFunction
) _wrap_Window_GetSizer
, METH_VARARGS
| METH_KEYWORDS
},
41158 { (char *)"Window_SetContainingSizer", (PyCFunction
) _wrap_Window_SetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
},
41159 { (char *)"Window_GetContainingSizer", (PyCFunction
) _wrap_Window_GetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
},
41160 { (char *)"Window_InheritAttributes", (PyCFunction
) _wrap_Window_InheritAttributes
, METH_VARARGS
| METH_KEYWORDS
},
41161 { (char *)"Window_ShouldInheritColours", (PyCFunction
) _wrap_Window_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
},
41162 { (char *)"Window_swigregister", Window_swigregister
, METH_VARARGS
},
41163 { (char *)"FindWindowById", (PyCFunction
) _wrap_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
},
41164 { (char *)"FindWindowByName", (PyCFunction
) _wrap_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
},
41165 { (char *)"FindWindowByLabel", (PyCFunction
) _wrap_FindWindowByLabel
, METH_VARARGS
| METH_KEYWORDS
},
41166 { (char *)"Window_FromHWND", (PyCFunction
) _wrap_Window_FromHWND
, METH_VARARGS
| METH_KEYWORDS
},
41167 { (char *)"new_Validator", (PyCFunction
) _wrap_new_Validator
, METH_VARARGS
| METH_KEYWORDS
},
41168 { (char *)"Validator_Clone", (PyCFunction
) _wrap_Validator_Clone
, METH_VARARGS
| METH_KEYWORDS
},
41169 { (char *)"Validator_Validate", (PyCFunction
) _wrap_Validator_Validate
, METH_VARARGS
| METH_KEYWORDS
},
41170 { (char *)"Validator_TransferToWindow", (PyCFunction
) _wrap_Validator_TransferToWindow
, METH_VARARGS
| METH_KEYWORDS
},
41171 { (char *)"Validator_TransferFromWindow", (PyCFunction
) _wrap_Validator_TransferFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
41172 { (char *)"Validator_GetWindow", (PyCFunction
) _wrap_Validator_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
41173 { (char *)"Validator_SetWindow", (PyCFunction
) _wrap_Validator_SetWindow
, METH_VARARGS
| METH_KEYWORDS
},
41174 { (char *)"Validator_IsSilent", (PyCFunction
) _wrap_Validator_IsSilent
, METH_VARARGS
| METH_KEYWORDS
},
41175 { (char *)"Validator_SetBellOnError", (PyCFunction
) _wrap_Validator_SetBellOnError
, METH_VARARGS
| METH_KEYWORDS
},
41176 { (char *)"Validator_swigregister", Validator_swigregister
, METH_VARARGS
},
41177 { (char *)"new_PyValidator", (PyCFunction
) _wrap_new_PyValidator
, METH_VARARGS
| METH_KEYWORDS
},
41178 { (char *)"PyValidator__setCallbackInfo", (PyCFunction
) _wrap_PyValidator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
41179 { (char *)"PyValidator_swigregister", PyValidator_swigregister
, METH_VARARGS
},
41180 { (char *)"new_Menu", (PyCFunction
) _wrap_new_Menu
, METH_VARARGS
| METH_KEYWORDS
},
41181 { (char *)"Menu_Append", (PyCFunction
) _wrap_Menu_Append
, METH_VARARGS
| METH_KEYWORDS
},
41182 { (char *)"Menu_AppendSeparator", (PyCFunction
) _wrap_Menu_AppendSeparator
, METH_VARARGS
| METH_KEYWORDS
},
41183 { (char *)"Menu_AppendCheckItem", (PyCFunction
) _wrap_Menu_AppendCheckItem
, METH_VARARGS
| METH_KEYWORDS
},
41184 { (char *)"Menu_AppendRadioItem", (PyCFunction
) _wrap_Menu_AppendRadioItem
, METH_VARARGS
| METH_KEYWORDS
},
41185 { (char *)"Menu_AppendMenu", (PyCFunction
) _wrap_Menu_AppendMenu
, METH_VARARGS
| METH_KEYWORDS
},
41186 { (char *)"Menu_AppendItem", (PyCFunction
) _wrap_Menu_AppendItem
, METH_VARARGS
| METH_KEYWORDS
},
41187 { (char *)"Menu_Break", (PyCFunction
) _wrap_Menu_Break
, METH_VARARGS
| METH_KEYWORDS
},
41188 { (char *)"Menu_InsertItem", (PyCFunction
) _wrap_Menu_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
41189 { (char *)"Menu_Insert", (PyCFunction
) _wrap_Menu_Insert
, METH_VARARGS
| METH_KEYWORDS
},
41190 { (char *)"Menu_InsertSeparator", (PyCFunction
) _wrap_Menu_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
},
41191 { (char *)"Menu_InsertCheckItem", (PyCFunction
) _wrap_Menu_InsertCheckItem
, METH_VARARGS
| METH_KEYWORDS
},
41192 { (char *)"Menu_InsertRadioItem", (PyCFunction
) _wrap_Menu_InsertRadioItem
, METH_VARARGS
| METH_KEYWORDS
},
41193 { (char *)"Menu_InsertMenu", (PyCFunction
) _wrap_Menu_InsertMenu
, METH_VARARGS
| METH_KEYWORDS
},
41194 { (char *)"Menu_PrependItem", (PyCFunction
) _wrap_Menu_PrependItem
, METH_VARARGS
| METH_KEYWORDS
},
41195 { (char *)"Menu_Prepend", (PyCFunction
) _wrap_Menu_Prepend
, METH_VARARGS
| METH_KEYWORDS
},
41196 { (char *)"Menu_PrependSeparator", (PyCFunction
) _wrap_Menu_PrependSeparator
, METH_VARARGS
| METH_KEYWORDS
},
41197 { (char *)"Menu_PrependCheckItem", (PyCFunction
) _wrap_Menu_PrependCheckItem
, METH_VARARGS
| METH_KEYWORDS
},
41198 { (char *)"Menu_PrependRadioItem", (PyCFunction
) _wrap_Menu_PrependRadioItem
, METH_VARARGS
| METH_KEYWORDS
},
41199 { (char *)"Menu_PrependMenu", (PyCFunction
) _wrap_Menu_PrependMenu
, METH_VARARGS
| METH_KEYWORDS
},
41200 { (char *)"Menu_Remove", (PyCFunction
) _wrap_Menu_Remove
, METH_VARARGS
| METH_KEYWORDS
},
41201 { (char *)"Menu_RemoveItem", (PyCFunction
) _wrap_Menu_RemoveItem
, METH_VARARGS
| METH_KEYWORDS
},
41202 { (char *)"Menu_Delete", (PyCFunction
) _wrap_Menu_Delete
, METH_VARARGS
| METH_KEYWORDS
},
41203 { (char *)"Menu_DeleteItem", (PyCFunction
) _wrap_Menu_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
},
41204 { (char *)"Menu_Destroy", (PyCFunction
) _wrap_Menu_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
41205 { (char *)"Menu_DestroyId", (PyCFunction
) _wrap_Menu_DestroyId
, METH_VARARGS
| METH_KEYWORDS
},
41206 { (char *)"Menu_DestroyItem", (PyCFunction
) _wrap_Menu_DestroyItem
, METH_VARARGS
| METH_KEYWORDS
},
41207 { (char *)"Menu_GetMenuItemCount", (PyCFunction
) _wrap_Menu_GetMenuItemCount
, METH_VARARGS
| METH_KEYWORDS
},
41208 { (char *)"Menu_GetMenuItems", (PyCFunction
) _wrap_Menu_GetMenuItems
, METH_VARARGS
| METH_KEYWORDS
},
41209 { (char *)"Menu_FindItem", (PyCFunction
) _wrap_Menu_FindItem
, METH_VARARGS
| METH_KEYWORDS
},
41210 { (char *)"Menu_FindItemById", (PyCFunction
) _wrap_Menu_FindItemById
, METH_VARARGS
| METH_KEYWORDS
},
41211 { (char *)"Menu_FindItemByPosition", (PyCFunction
) _wrap_Menu_FindItemByPosition
, METH_VARARGS
| METH_KEYWORDS
},
41212 { (char *)"Menu_Enable", (PyCFunction
) _wrap_Menu_Enable
, METH_VARARGS
| METH_KEYWORDS
},
41213 { (char *)"Menu_IsEnabled", (PyCFunction
) _wrap_Menu_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
41214 { (char *)"Menu_Check", (PyCFunction
) _wrap_Menu_Check
, METH_VARARGS
| METH_KEYWORDS
},
41215 { (char *)"Menu_IsChecked", (PyCFunction
) _wrap_Menu_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
41216 { (char *)"Menu_SetLabel", (PyCFunction
) _wrap_Menu_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
41217 { (char *)"Menu_GetLabel", (PyCFunction
) _wrap_Menu_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
41218 { (char *)"Menu_SetHelpString", (PyCFunction
) _wrap_Menu_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
41219 { (char *)"Menu_GetHelpString", (PyCFunction
) _wrap_Menu_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
41220 { (char *)"Menu_SetTitle", (PyCFunction
) _wrap_Menu_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
41221 { (char *)"Menu_GetTitle", (PyCFunction
) _wrap_Menu_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
41222 { (char *)"Menu_SetEventHandler", (PyCFunction
) _wrap_Menu_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
41223 { (char *)"Menu_GetEventHandler", (PyCFunction
) _wrap_Menu_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
41224 { (char *)"Menu_SetInvokingWindow", (PyCFunction
) _wrap_Menu_SetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
},
41225 { (char *)"Menu_GetInvokingWindow", (PyCFunction
) _wrap_Menu_GetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
},
41226 { (char *)"Menu_GetStyle", (PyCFunction
) _wrap_Menu_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
41227 { (char *)"Menu_UpdateUI", (PyCFunction
) _wrap_Menu_UpdateUI
, METH_VARARGS
| METH_KEYWORDS
},
41228 { (char *)"Menu_GetMenuBar", (PyCFunction
) _wrap_Menu_GetMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
41229 { (char *)"Menu_Attach", (PyCFunction
) _wrap_Menu_Attach
, METH_VARARGS
| METH_KEYWORDS
},
41230 { (char *)"Menu_Detach", (PyCFunction
) _wrap_Menu_Detach
, METH_VARARGS
| METH_KEYWORDS
},
41231 { (char *)"Menu_IsAttached", (PyCFunction
) _wrap_Menu_IsAttached
, METH_VARARGS
| METH_KEYWORDS
},
41232 { (char *)"Menu_SetParent", (PyCFunction
) _wrap_Menu_SetParent
, METH_VARARGS
| METH_KEYWORDS
},
41233 { (char *)"Menu_GetParent", (PyCFunction
) _wrap_Menu_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
41234 { (char *)"Menu_swigregister", Menu_swigregister
, METH_VARARGS
},
41235 { (char *)"new_MenuBar", (PyCFunction
) _wrap_new_MenuBar
, METH_VARARGS
| METH_KEYWORDS
},
41236 { (char *)"MenuBar_Append", (PyCFunction
) _wrap_MenuBar_Append
, METH_VARARGS
| METH_KEYWORDS
},
41237 { (char *)"MenuBar_Insert", (PyCFunction
) _wrap_MenuBar_Insert
, METH_VARARGS
| METH_KEYWORDS
},
41238 { (char *)"MenuBar_GetMenuCount", (PyCFunction
) _wrap_MenuBar_GetMenuCount
, METH_VARARGS
| METH_KEYWORDS
},
41239 { (char *)"MenuBar_GetMenu", (PyCFunction
) _wrap_MenuBar_GetMenu
, METH_VARARGS
| METH_KEYWORDS
},
41240 { (char *)"MenuBar_Replace", (PyCFunction
) _wrap_MenuBar_Replace
, METH_VARARGS
| METH_KEYWORDS
},
41241 { (char *)"MenuBar_Remove", (PyCFunction
) _wrap_MenuBar_Remove
, METH_VARARGS
| METH_KEYWORDS
},
41242 { (char *)"MenuBar_EnableTop", (PyCFunction
) _wrap_MenuBar_EnableTop
, METH_VARARGS
| METH_KEYWORDS
},
41243 { (char *)"MenuBar_IsEnabledTop", (PyCFunction
) _wrap_MenuBar_IsEnabledTop
, METH_VARARGS
| METH_KEYWORDS
},
41244 { (char *)"MenuBar_SetLabelTop", (PyCFunction
) _wrap_MenuBar_SetLabelTop
, METH_VARARGS
| METH_KEYWORDS
},
41245 { (char *)"MenuBar_GetLabelTop", (PyCFunction
) _wrap_MenuBar_GetLabelTop
, METH_VARARGS
| METH_KEYWORDS
},
41246 { (char *)"MenuBar_FindMenuItem", (PyCFunction
) _wrap_MenuBar_FindMenuItem
, METH_VARARGS
| METH_KEYWORDS
},
41247 { (char *)"MenuBar_FindItemById", (PyCFunction
) _wrap_MenuBar_FindItemById
, METH_VARARGS
| METH_KEYWORDS
},
41248 { (char *)"MenuBar_FindMenu", (PyCFunction
) _wrap_MenuBar_FindMenu
, METH_VARARGS
| METH_KEYWORDS
},
41249 { (char *)"MenuBar_Enable", (PyCFunction
) _wrap_MenuBar_Enable
, METH_VARARGS
| METH_KEYWORDS
},
41250 { (char *)"MenuBar_Check", (PyCFunction
) _wrap_MenuBar_Check
, METH_VARARGS
| METH_KEYWORDS
},
41251 { (char *)"MenuBar_IsChecked", (PyCFunction
) _wrap_MenuBar_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
41252 { (char *)"MenuBar_IsEnabled", (PyCFunction
) _wrap_MenuBar_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
41253 { (char *)"MenuBar_SetLabel", (PyCFunction
) _wrap_MenuBar_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
41254 { (char *)"MenuBar_GetLabel", (PyCFunction
) _wrap_MenuBar_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
41255 { (char *)"MenuBar_SetHelpString", (PyCFunction
) _wrap_MenuBar_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
41256 { (char *)"MenuBar_GetHelpString", (PyCFunction
) _wrap_MenuBar_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
41257 { (char *)"MenuBar_GetFrame", (PyCFunction
) _wrap_MenuBar_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
41258 { (char *)"MenuBar_IsAttached", (PyCFunction
) _wrap_MenuBar_IsAttached
, METH_VARARGS
| METH_KEYWORDS
},
41259 { (char *)"MenuBar_Attach", (PyCFunction
) _wrap_MenuBar_Attach
, METH_VARARGS
| METH_KEYWORDS
},
41260 { (char *)"MenuBar_Detach", (PyCFunction
) _wrap_MenuBar_Detach
, METH_VARARGS
| METH_KEYWORDS
},
41261 { (char *)"MenuBar_swigregister", MenuBar_swigregister
, METH_VARARGS
},
41262 { (char *)"new_MenuItem", (PyCFunction
) _wrap_new_MenuItem
, METH_VARARGS
| METH_KEYWORDS
},
41263 { (char *)"MenuItem_GetMenu", (PyCFunction
) _wrap_MenuItem_GetMenu
, METH_VARARGS
| METH_KEYWORDS
},
41264 { (char *)"MenuItem_SetMenu", (PyCFunction
) _wrap_MenuItem_SetMenu
, METH_VARARGS
| METH_KEYWORDS
},
41265 { (char *)"MenuItem_SetId", (PyCFunction
) _wrap_MenuItem_SetId
, METH_VARARGS
| METH_KEYWORDS
},
41266 { (char *)"MenuItem_GetId", (PyCFunction
) _wrap_MenuItem_GetId
, METH_VARARGS
| METH_KEYWORDS
},
41267 { (char *)"MenuItem_IsSeparator", (PyCFunction
) _wrap_MenuItem_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
},
41268 { (char *)"MenuItem_SetText", (PyCFunction
) _wrap_MenuItem_SetText
, METH_VARARGS
| METH_KEYWORDS
},
41269 { (char *)"MenuItem_GetLabel", (PyCFunction
) _wrap_MenuItem_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
41270 { (char *)"MenuItem_GetText", (PyCFunction
) _wrap_MenuItem_GetText
, METH_VARARGS
| METH_KEYWORDS
},
41271 { (char *)"MenuItem_GetLabelFromText", (PyCFunction
) _wrap_MenuItem_GetLabelFromText
, METH_VARARGS
| METH_KEYWORDS
},
41272 { (char *)"MenuItem_GetKind", (PyCFunction
) _wrap_MenuItem_GetKind
, METH_VARARGS
| METH_KEYWORDS
},
41273 { (char *)"MenuItem_SetKind", (PyCFunction
) _wrap_MenuItem_SetKind
, METH_VARARGS
| METH_KEYWORDS
},
41274 { (char *)"MenuItem_SetCheckable", (PyCFunction
) _wrap_MenuItem_SetCheckable
, METH_VARARGS
| METH_KEYWORDS
},
41275 { (char *)"MenuItem_IsCheckable", (PyCFunction
) _wrap_MenuItem_IsCheckable
, METH_VARARGS
| METH_KEYWORDS
},
41276 { (char *)"MenuItem_IsSubMenu", (PyCFunction
) _wrap_MenuItem_IsSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
41277 { (char *)"MenuItem_SetSubMenu", (PyCFunction
) _wrap_MenuItem_SetSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
41278 { (char *)"MenuItem_GetSubMenu", (PyCFunction
) _wrap_MenuItem_GetSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
41279 { (char *)"MenuItem_Enable", (PyCFunction
) _wrap_MenuItem_Enable
, METH_VARARGS
| METH_KEYWORDS
},
41280 { (char *)"MenuItem_IsEnabled", (PyCFunction
) _wrap_MenuItem_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
41281 { (char *)"MenuItem_Check", (PyCFunction
) _wrap_MenuItem_Check
, METH_VARARGS
| METH_KEYWORDS
},
41282 { (char *)"MenuItem_IsChecked", (PyCFunction
) _wrap_MenuItem_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
41283 { (char *)"MenuItem_Toggle", (PyCFunction
) _wrap_MenuItem_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
41284 { (char *)"MenuItem_SetHelp", (PyCFunction
) _wrap_MenuItem_SetHelp
, METH_VARARGS
| METH_KEYWORDS
},
41285 { (char *)"MenuItem_GetHelp", (PyCFunction
) _wrap_MenuItem_GetHelp
, METH_VARARGS
| METH_KEYWORDS
},
41286 { (char *)"MenuItem_GetAccel", (PyCFunction
) _wrap_MenuItem_GetAccel
, METH_VARARGS
| METH_KEYWORDS
},
41287 { (char *)"MenuItem_SetAccel", (PyCFunction
) _wrap_MenuItem_SetAccel
, METH_VARARGS
| METH_KEYWORDS
},
41288 { (char *)"MenuItem_GetDefaultMarginWidth", (PyCFunction
) _wrap_MenuItem_GetDefaultMarginWidth
, METH_VARARGS
| METH_KEYWORDS
},
41289 { (char *)"MenuItem_SetBitmap", (PyCFunction
) _wrap_MenuItem_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
41290 { (char *)"MenuItem_GetBitmap", (PyCFunction
) _wrap_MenuItem_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
41291 { (char *)"MenuItem_swigregister", MenuItem_swigregister
, METH_VARARGS
},
41292 { (char *)"new_Control", (PyCFunction
) _wrap_new_Control
, METH_VARARGS
| METH_KEYWORDS
},
41293 { (char *)"new_PreControl", (PyCFunction
) _wrap_new_PreControl
, METH_VARARGS
| METH_KEYWORDS
},
41294 { (char *)"Control_Create", (PyCFunction
) _wrap_Control_Create
, METH_VARARGS
| METH_KEYWORDS
},
41295 { (char *)"Control_Command", (PyCFunction
) _wrap_Control_Command
, METH_VARARGS
| METH_KEYWORDS
},
41296 { (char *)"Control_GetLabel", (PyCFunction
) _wrap_Control_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
41297 { (char *)"Control_SetLabel", (PyCFunction
) _wrap_Control_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
41298 { (char *)"Control_GetClassDefaultAttributes", (PyCFunction
) _wrap_Control_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
41299 { (char *)"Control_swigregister", Control_swigregister
, METH_VARARGS
},
41300 { (char *)"ItemContainer_Append", (PyCFunction
) _wrap_ItemContainer_Append
, METH_VARARGS
| METH_KEYWORDS
},
41301 { (char *)"ItemContainer_AppendItems", (PyCFunction
) _wrap_ItemContainer_AppendItems
, METH_VARARGS
| METH_KEYWORDS
},
41302 { (char *)"ItemContainer_Insert", (PyCFunction
) _wrap_ItemContainer_Insert
, METH_VARARGS
| METH_KEYWORDS
},
41303 { (char *)"ItemContainer_Clear", (PyCFunction
) _wrap_ItemContainer_Clear
, METH_VARARGS
| METH_KEYWORDS
},
41304 { (char *)"ItemContainer_Delete", (PyCFunction
) _wrap_ItemContainer_Delete
, METH_VARARGS
| METH_KEYWORDS
},
41305 { (char *)"ItemContainer_GetCount", (PyCFunction
) _wrap_ItemContainer_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
41306 { (char *)"ItemContainer_IsEmpty", (PyCFunction
) _wrap_ItemContainer_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
},
41307 { (char *)"ItemContainer_GetString", (PyCFunction
) _wrap_ItemContainer_GetString
, METH_VARARGS
| METH_KEYWORDS
},
41308 { (char *)"ItemContainer_GetStrings", (PyCFunction
) _wrap_ItemContainer_GetStrings
, METH_VARARGS
| METH_KEYWORDS
},
41309 { (char *)"ItemContainer_SetString", (PyCFunction
) _wrap_ItemContainer_SetString
, METH_VARARGS
| METH_KEYWORDS
},
41310 { (char *)"ItemContainer_FindString", (PyCFunction
) _wrap_ItemContainer_FindString
, METH_VARARGS
| METH_KEYWORDS
},
41311 { (char *)"ItemContainer_Select", (PyCFunction
) _wrap_ItemContainer_Select
, METH_VARARGS
| METH_KEYWORDS
},
41312 { (char *)"ItemContainer_GetSelection", (PyCFunction
) _wrap_ItemContainer_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
41313 { (char *)"ItemContainer_GetStringSelection", (PyCFunction
) _wrap_ItemContainer_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
41314 { (char *)"ItemContainer_GetClientData", (PyCFunction
) _wrap_ItemContainer_GetClientData
, METH_VARARGS
| METH_KEYWORDS
},
41315 { (char *)"ItemContainer_SetClientData", (PyCFunction
) _wrap_ItemContainer_SetClientData
, METH_VARARGS
| METH_KEYWORDS
},
41316 { (char *)"ItemContainer_swigregister", ItemContainer_swigregister
, METH_VARARGS
},
41317 { (char *)"ControlWithItems_swigregister", ControlWithItems_swigregister
, METH_VARARGS
},
41318 { (char *)"new_SizerItem", (PyCFunction
) _wrap_new_SizerItem
, METH_VARARGS
| METH_KEYWORDS
},
41319 { (char *)"new_SizerItemSpacer", (PyCFunction
) _wrap_new_SizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
},
41320 { (char *)"new_SizerItemWindow", (PyCFunction
) _wrap_new_SizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
},
41321 { (char *)"new_SizerItemSizer", (PyCFunction
) _wrap_new_SizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
},
41322 { (char *)"SizerItem_DeleteWindows", (PyCFunction
) _wrap_SizerItem_DeleteWindows
, METH_VARARGS
| METH_KEYWORDS
},
41323 { (char *)"SizerItem_DetachSizer", (PyCFunction
) _wrap_SizerItem_DetachSizer
, METH_VARARGS
| METH_KEYWORDS
},
41324 { (char *)"SizerItem_GetSize", (PyCFunction
) _wrap_SizerItem_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
41325 { (char *)"SizerItem_CalcMin", (PyCFunction
) _wrap_SizerItem_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
41326 { (char *)"SizerItem_SetDimension", (PyCFunction
) _wrap_SizerItem_SetDimension
, METH_VARARGS
| METH_KEYWORDS
},
41327 { (char *)"SizerItem_GetMinSize", (PyCFunction
) _wrap_SizerItem_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
41328 { (char *)"SizerItem_SetInitSize", (PyCFunction
) _wrap_SizerItem_SetInitSize
, METH_VARARGS
| METH_KEYWORDS
},
41329 { (char *)"SizerItem_SetRatioWH", (PyCFunction
) _wrap_SizerItem_SetRatioWH
, METH_VARARGS
| METH_KEYWORDS
},
41330 { (char *)"SizerItem_SetRatioSize", (PyCFunction
) _wrap_SizerItem_SetRatioSize
, METH_VARARGS
| METH_KEYWORDS
},
41331 { (char *)"SizerItem_SetRatio", (PyCFunction
) _wrap_SizerItem_SetRatio
, METH_VARARGS
| METH_KEYWORDS
},
41332 { (char *)"SizerItem_GetRatio", (PyCFunction
) _wrap_SizerItem_GetRatio
, METH_VARARGS
| METH_KEYWORDS
},
41333 { (char *)"SizerItem_IsWindow", (PyCFunction
) _wrap_SizerItem_IsWindow
, METH_VARARGS
| METH_KEYWORDS
},
41334 { (char *)"SizerItem_IsSizer", (PyCFunction
) _wrap_SizerItem_IsSizer
, METH_VARARGS
| METH_KEYWORDS
},
41335 { (char *)"SizerItem_IsSpacer", (PyCFunction
) _wrap_SizerItem_IsSpacer
, METH_VARARGS
| METH_KEYWORDS
},
41336 { (char *)"SizerItem_SetProportion", (PyCFunction
) _wrap_SizerItem_SetProportion
, METH_VARARGS
| METH_KEYWORDS
},
41337 { (char *)"SizerItem_GetProportion", (PyCFunction
) _wrap_SizerItem_GetProportion
, METH_VARARGS
| METH_KEYWORDS
},
41338 { (char *)"SizerItem_SetFlag", (PyCFunction
) _wrap_SizerItem_SetFlag
, METH_VARARGS
| METH_KEYWORDS
},
41339 { (char *)"SizerItem_GetFlag", (PyCFunction
) _wrap_SizerItem_GetFlag
, METH_VARARGS
| METH_KEYWORDS
},
41340 { (char *)"SizerItem_SetBorder", (PyCFunction
) _wrap_SizerItem_SetBorder
, METH_VARARGS
| METH_KEYWORDS
},
41341 { (char *)"SizerItem_GetBorder", (PyCFunction
) _wrap_SizerItem_GetBorder
, METH_VARARGS
| METH_KEYWORDS
},
41342 { (char *)"SizerItem_GetWindow", (PyCFunction
) _wrap_SizerItem_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
41343 { (char *)"SizerItem_SetWindow", (PyCFunction
) _wrap_SizerItem_SetWindow
, METH_VARARGS
| METH_KEYWORDS
},
41344 { (char *)"SizerItem_GetSizer", (PyCFunction
) _wrap_SizerItem_GetSizer
, METH_VARARGS
| METH_KEYWORDS
},
41345 { (char *)"SizerItem_SetSizer", (PyCFunction
) _wrap_SizerItem_SetSizer
, METH_VARARGS
| METH_KEYWORDS
},
41346 { (char *)"SizerItem_GetSpacer", (PyCFunction
) _wrap_SizerItem_GetSpacer
, METH_VARARGS
| METH_KEYWORDS
},
41347 { (char *)"SizerItem_SetSpacer", (PyCFunction
) _wrap_SizerItem_SetSpacer
, METH_VARARGS
| METH_KEYWORDS
},
41348 { (char *)"SizerItem_Show", (PyCFunction
) _wrap_SizerItem_Show
, METH_VARARGS
| METH_KEYWORDS
},
41349 { (char *)"SizerItem_IsShown", (PyCFunction
) _wrap_SizerItem_IsShown
, METH_VARARGS
| METH_KEYWORDS
},
41350 { (char *)"SizerItem_GetPosition", (PyCFunction
) _wrap_SizerItem_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
41351 { (char *)"SizerItem_GetUserData", (PyCFunction
) _wrap_SizerItem_GetUserData
, METH_VARARGS
| METH_KEYWORDS
},
41352 { (char *)"SizerItem_swigregister", SizerItem_swigregister
, METH_VARARGS
},
41353 { (char *)"Sizer__setOORInfo", (PyCFunction
) _wrap_Sizer__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
},
41354 { (char *)"Sizer_Add", (PyCFunction
) _wrap_Sizer_Add
, METH_VARARGS
| METH_KEYWORDS
},
41355 { (char *)"Sizer_Insert", (PyCFunction
) _wrap_Sizer_Insert
, METH_VARARGS
| METH_KEYWORDS
},
41356 { (char *)"Sizer_Prepend", (PyCFunction
) _wrap_Sizer_Prepend
, METH_VARARGS
| METH_KEYWORDS
},
41357 { (char *)"Sizer_Remove", (PyCFunction
) _wrap_Sizer_Remove
, METH_VARARGS
| METH_KEYWORDS
},
41358 { (char *)"Sizer__SetItemMinSize", (PyCFunction
) _wrap_Sizer__SetItemMinSize
, METH_VARARGS
| METH_KEYWORDS
},
41359 { (char *)"Sizer_AddItem", (PyCFunction
) _wrap_Sizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
},
41360 { (char *)"Sizer_InsertItem", (PyCFunction
) _wrap_Sizer_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
41361 { (char *)"Sizer_PrependItem", (PyCFunction
) _wrap_Sizer_PrependItem
, METH_VARARGS
| METH_KEYWORDS
},
41362 { (char *)"Sizer_SetDimension", (PyCFunction
) _wrap_Sizer_SetDimension
, METH_VARARGS
| METH_KEYWORDS
},
41363 { (char *)"Sizer_SetMinSize", (PyCFunction
) _wrap_Sizer_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
41364 { (char *)"Sizer_GetSize", (PyCFunction
) _wrap_Sizer_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
41365 { (char *)"Sizer_GetPosition", (PyCFunction
) _wrap_Sizer_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
41366 { (char *)"Sizer_GetMinSize", (PyCFunction
) _wrap_Sizer_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
41367 { (char *)"Sizer_RecalcSizes", (PyCFunction
) _wrap_Sizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
41368 { (char *)"Sizer_CalcMin", (PyCFunction
) _wrap_Sizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
41369 { (char *)"Sizer_Layout", (PyCFunction
) _wrap_Sizer_Layout
, METH_VARARGS
| METH_KEYWORDS
},
41370 { (char *)"Sizer_Fit", (PyCFunction
) _wrap_Sizer_Fit
, METH_VARARGS
| METH_KEYWORDS
},
41371 { (char *)"Sizer_FitInside", (PyCFunction
) _wrap_Sizer_FitInside
, METH_VARARGS
| METH_KEYWORDS
},
41372 { (char *)"Sizer_SetSizeHints", (PyCFunction
) _wrap_Sizer_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
},
41373 { (char *)"Sizer_SetVirtualSizeHints", (PyCFunction
) _wrap_Sizer_SetVirtualSizeHints
, METH_VARARGS
| METH_KEYWORDS
},
41374 { (char *)"Sizer_Clear", (PyCFunction
) _wrap_Sizer_Clear
, METH_VARARGS
| METH_KEYWORDS
},
41375 { (char *)"Sizer_DeleteWindows", (PyCFunction
) _wrap_Sizer_DeleteWindows
, METH_VARARGS
| METH_KEYWORDS
},
41376 { (char *)"Sizer_GetChildren", (PyCFunction
) _wrap_Sizer_GetChildren
, METH_VARARGS
| METH_KEYWORDS
},
41377 { (char *)"Sizer_Show", (PyCFunction
) _wrap_Sizer_Show
, METH_VARARGS
| METH_KEYWORDS
},
41378 { (char *)"Sizer_Hide", (PyCFunction
) _wrap_Sizer_Hide
, METH_VARARGS
| METH_KEYWORDS
},
41379 { (char *)"Sizer_IsShown", (PyCFunction
) _wrap_Sizer_IsShown
, METH_VARARGS
| METH_KEYWORDS
},
41380 { (char *)"Sizer_ShowItems", (PyCFunction
) _wrap_Sizer_ShowItems
, METH_VARARGS
| METH_KEYWORDS
},
41381 { (char *)"Sizer_swigregister", Sizer_swigregister
, METH_VARARGS
},
41382 { (char *)"new_PySizer", (PyCFunction
) _wrap_new_PySizer
, METH_VARARGS
| METH_KEYWORDS
},
41383 { (char *)"PySizer__setCallbackInfo", (PyCFunction
) _wrap_PySizer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
41384 { (char *)"PySizer_swigregister", PySizer_swigregister
, METH_VARARGS
},
41385 { (char *)"new_BoxSizer", (PyCFunction
) _wrap_new_BoxSizer
, METH_VARARGS
| METH_KEYWORDS
},
41386 { (char *)"BoxSizer_GetOrientation", (PyCFunction
) _wrap_BoxSizer_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
41387 { (char *)"BoxSizer_SetOrientation", (PyCFunction
) _wrap_BoxSizer_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
41388 { (char *)"BoxSizer_RecalcSizes", (PyCFunction
) _wrap_BoxSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
41389 { (char *)"BoxSizer_CalcMin", (PyCFunction
) _wrap_BoxSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
41390 { (char *)"BoxSizer_swigregister", BoxSizer_swigregister
, METH_VARARGS
},
41391 { (char *)"new_StaticBoxSizer", (PyCFunction
) _wrap_new_StaticBoxSizer
, METH_VARARGS
| METH_KEYWORDS
},
41392 { (char *)"StaticBoxSizer_GetStaticBox", (PyCFunction
) _wrap_StaticBoxSizer_GetStaticBox
, METH_VARARGS
| METH_KEYWORDS
},
41393 { (char *)"StaticBoxSizer_RecalcSizes", (PyCFunction
) _wrap_StaticBoxSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
41394 { (char *)"StaticBoxSizer_CalcMin", (PyCFunction
) _wrap_StaticBoxSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
41395 { (char *)"StaticBoxSizer_swigregister", StaticBoxSizer_swigregister
, METH_VARARGS
},
41396 { (char *)"new_GridSizer", (PyCFunction
) _wrap_new_GridSizer
, METH_VARARGS
| METH_KEYWORDS
},
41397 { (char *)"GridSizer_RecalcSizes", (PyCFunction
) _wrap_GridSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
41398 { (char *)"GridSizer_CalcMin", (PyCFunction
) _wrap_GridSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
41399 { (char *)"GridSizer_SetCols", (PyCFunction
) _wrap_GridSizer_SetCols
, METH_VARARGS
| METH_KEYWORDS
},
41400 { (char *)"GridSizer_SetRows", (PyCFunction
) _wrap_GridSizer_SetRows
, METH_VARARGS
| METH_KEYWORDS
},
41401 { (char *)"GridSizer_SetVGap", (PyCFunction
) _wrap_GridSizer_SetVGap
, METH_VARARGS
| METH_KEYWORDS
},
41402 { (char *)"GridSizer_SetHGap", (PyCFunction
) _wrap_GridSizer_SetHGap
, METH_VARARGS
| METH_KEYWORDS
},
41403 { (char *)"GridSizer_GetCols", (PyCFunction
) _wrap_GridSizer_GetCols
, METH_VARARGS
| METH_KEYWORDS
},
41404 { (char *)"GridSizer_GetRows", (PyCFunction
) _wrap_GridSizer_GetRows
, METH_VARARGS
| METH_KEYWORDS
},
41405 { (char *)"GridSizer_GetVGap", (PyCFunction
) _wrap_GridSizer_GetVGap
, METH_VARARGS
| METH_KEYWORDS
},
41406 { (char *)"GridSizer_GetHGap", (PyCFunction
) _wrap_GridSizer_GetHGap
, METH_VARARGS
| METH_KEYWORDS
},
41407 { (char *)"GridSizer_swigregister", GridSizer_swigregister
, METH_VARARGS
},
41408 { (char *)"new_FlexGridSizer", (PyCFunction
) _wrap_new_FlexGridSizer
, METH_VARARGS
| METH_KEYWORDS
},
41409 { (char *)"FlexGridSizer_RecalcSizes", (PyCFunction
) _wrap_FlexGridSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
41410 { (char *)"FlexGridSizer_CalcMin", (PyCFunction
) _wrap_FlexGridSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
41411 { (char *)"FlexGridSizer_AddGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableRow
, METH_VARARGS
| METH_KEYWORDS
},
41412 { (char *)"FlexGridSizer_RemoveGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableRow
, METH_VARARGS
| METH_KEYWORDS
},
41413 { (char *)"FlexGridSizer_AddGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableCol
, METH_VARARGS
| METH_KEYWORDS
},
41414 { (char *)"FlexGridSizer_RemoveGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableCol
, METH_VARARGS
| METH_KEYWORDS
},
41415 { (char *)"FlexGridSizer_SetFlexibleDirection", (PyCFunction
) _wrap_FlexGridSizer_SetFlexibleDirection
, METH_VARARGS
| METH_KEYWORDS
},
41416 { (char *)"FlexGridSizer_GetFlexibleDirection", (PyCFunction
) _wrap_FlexGridSizer_GetFlexibleDirection
, METH_VARARGS
| METH_KEYWORDS
},
41417 { (char *)"FlexGridSizer_SetNonFlexibleGrowMode", (PyCFunction
) _wrap_FlexGridSizer_SetNonFlexibleGrowMode
, METH_VARARGS
| METH_KEYWORDS
},
41418 { (char *)"FlexGridSizer_GetNonFlexibleGrowMode", (PyCFunction
) _wrap_FlexGridSizer_GetNonFlexibleGrowMode
, METH_VARARGS
| METH_KEYWORDS
},
41419 { (char *)"FlexGridSizer_GetRowHeights", (PyCFunction
) _wrap_FlexGridSizer_GetRowHeights
, METH_VARARGS
| METH_KEYWORDS
},
41420 { (char *)"FlexGridSizer_GetColWidths", (PyCFunction
) _wrap_FlexGridSizer_GetColWidths
, METH_VARARGS
| METH_KEYWORDS
},
41421 { (char *)"FlexGridSizer_swigregister", FlexGridSizer_swigregister
, METH_VARARGS
},
41422 { (char *)"new_GBPosition", (PyCFunction
) _wrap_new_GBPosition
, METH_VARARGS
| METH_KEYWORDS
},
41423 { (char *)"GBPosition_GetRow", (PyCFunction
) _wrap_GBPosition_GetRow
, METH_VARARGS
| METH_KEYWORDS
},
41424 { (char *)"GBPosition_GetCol", (PyCFunction
) _wrap_GBPosition_GetCol
, METH_VARARGS
| METH_KEYWORDS
},
41425 { (char *)"GBPosition_SetRow", (PyCFunction
) _wrap_GBPosition_SetRow
, METH_VARARGS
| METH_KEYWORDS
},
41426 { (char *)"GBPosition_SetCol", (PyCFunction
) _wrap_GBPosition_SetCol
, METH_VARARGS
| METH_KEYWORDS
},
41427 { (char *)"GBPosition___eq__", (PyCFunction
) _wrap_GBPosition___eq__
, METH_VARARGS
| METH_KEYWORDS
},
41428 { (char *)"GBPosition___ne__", (PyCFunction
) _wrap_GBPosition___ne__
, METH_VARARGS
| METH_KEYWORDS
},
41429 { (char *)"GBPosition_Set", (PyCFunction
) _wrap_GBPosition_Set
, METH_VARARGS
| METH_KEYWORDS
},
41430 { (char *)"GBPosition_Get", (PyCFunction
) _wrap_GBPosition_Get
, METH_VARARGS
| METH_KEYWORDS
},
41431 { (char *)"GBPosition_swigregister", GBPosition_swigregister
, METH_VARARGS
},
41432 { (char *)"new_GBSpan", (PyCFunction
) _wrap_new_GBSpan
, METH_VARARGS
| METH_KEYWORDS
},
41433 { (char *)"GBSpan_GetRowspan", (PyCFunction
) _wrap_GBSpan_GetRowspan
, METH_VARARGS
| METH_KEYWORDS
},
41434 { (char *)"GBSpan_GetColspan", (PyCFunction
) _wrap_GBSpan_GetColspan
, METH_VARARGS
| METH_KEYWORDS
},
41435 { (char *)"GBSpan_SetRowspan", (PyCFunction
) _wrap_GBSpan_SetRowspan
, METH_VARARGS
| METH_KEYWORDS
},
41436 { (char *)"GBSpan_SetColspan", (PyCFunction
) _wrap_GBSpan_SetColspan
, METH_VARARGS
| METH_KEYWORDS
},
41437 { (char *)"GBSpan___eq__", (PyCFunction
) _wrap_GBSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
},
41438 { (char *)"GBSpan___ne__", (PyCFunction
) _wrap_GBSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
},
41439 { (char *)"GBSpan_Set", (PyCFunction
) _wrap_GBSpan_Set
, METH_VARARGS
| METH_KEYWORDS
},
41440 { (char *)"GBSpan_Get", (PyCFunction
) _wrap_GBSpan_Get
, METH_VARARGS
| METH_KEYWORDS
},
41441 { (char *)"GBSpan_swigregister", GBSpan_swigregister
, METH_VARARGS
},
41442 { (char *)"new_GBSizerItem", (PyCFunction
) _wrap_new_GBSizerItem
, METH_VARARGS
| METH_KEYWORDS
},
41443 { (char *)"new_GBSizerItemWindow", (PyCFunction
) _wrap_new_GBSizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
},
41444 { (char *)"new_GBSizerItemSizer", (PyCFunction
) _wrap_new_GBSizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
},
41445 { (char *)"new_GBSizerItemSpacer", (PyCFunction
) _wrap_new_GBSizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
},
41446 { (char *)"GBSizerItem_GetPos", (PyCFunction
) _wrap_GBSizerItem_GetPos
, METH_VARARGS
| METH_KEYWORDS
},
41447 { (char *)"GBSizerItem_GetSpan", (PyCFunction
) _wrap_GBSizerItem_GetSpan
, METH_VARARGS
| METH_KEYWORDS
},
41448 { (char *)"GBSizerItem_SetPos", (PyCFunction
) _wrap_GBSizerItem_SetPos
, METH_VARARGS
| METH_KEYWORDS
},
41449 { (char *)"GBSizerItem_SetSpan", (PyCFunction
) _wrap_GBSizerItem_SetSpan
, METH_VARARGS
| METH_KEYWORDS
},
41450 { (char *)"GBSizerItem_Intersects", _wrap_GBSizerItem_Intersects
, METH_VARARGS
},
41451 { (char *)"GBSizerItem_GetEndPos", (PyCFunction
) _wrap_GBSizerItem_GetEndPos
, METH_VARARGS
| METH_KEYWORDS
},
41452 { (char *)"GBSizerItem_GetGBSizer", (PyCFunction
) _wrap_GBSizerItem_GetGBSizer
, METH_VARARGS
| METH_KEYWORDS
},
41453 { (char *)"GBSizerItem_SetGBSizer", (PyCFunction
) _wrap_GBSizerItem_SetGBSizer
, METH_VARARGS
| METH_KEYWORDS
},
41454 { (char *)"GBSizerItem_swigregister", GBSizerItem_swigregister
, METH_VARARGS
},
41455 { (char *)"new_GridBagSizer", (PyCFunction
) _wrap_new_GridBagSizer
, METH_VARARGS
| METH_KEYWORDS
},
41456 { (char *)"GridBagSizer_Add", (PyCFunction
) _wrap_GridBagSizer_Add
, METH_VARARGS
| METH_KEYWORDS
},
41457 { (char *)"GridBagSizer_AddItem", (PyCFunction
) _wrap_GridBagSizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
},
41458 { (char *)"GridBagSizer_GetEmptyCellSize", (PyCFunction
) _wrap_GridBagSizer_GetEmptyCellSize
, METH_VARARGS
| METH_KEYWORDS
},
41459 { (char *)"GridBagSizer_SetEmptyCellSize", (PyCFunction
) _wrap_GridBagSizer_SetEmptyCellSize
, METH_VARARGS
| METH_KEYWORDS
},
41460 { (char *)"GridBagSizer_GetItemPosition", _wrap_GridBagSizer_GetItemPosition
, METH_VARARGS
},
41461 { (char *)"GridBagSizer_SetItemPosition", _wrap_GridBagSizer_SetItemPosition
, METH_VARARGS
},
41462 { (char *)"GridBagSizer_GetItemSpan", _wrap_GridBagSizer_GetItemSpan
, METH_VARARGS
},
41463 { (char *)"GridBagSizer_SetItemSpan", _wrap_GridBagSizer_SetItemSpan
, METH_VARARGS
},
41464 { (char *)"GridBagSizer_FindItem", _wrap_GridBagSizer_FindItem
, METH_VARARGS
},
41465 { (char *)"GridBagSizer_FindItemAtPosition", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPosition
, METH_VARARGS
| METH_KEYWORDS
},
41466 { (char *)"GridBagSizer_FindItemAtPoint", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
41467 { (char *)"GridBagSizer_FindItemWithData", (PyCFunction
) _wrap_GridBagSizer_FindItemWithData
, METH_VARARGS
| METH_KEYWORDS
},
41468 { (char *)"GridBagSizer_RecalcSizes", (PyCFunction
) _wrap_GridBagSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
41469 { (char *)"GridBagSizer_CalcMin", (PyCFunction
) _wrap_GridBagSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
41470 { (char *)"GridBagSizer_CheckForIntersection", _wrap_GridBagSizer_CheckForIntersection
, METH_VARARGS
},
41471 { (char *)"GridBagSizer_swigregister", GridBagSizer_swigregister
, METH_VARARGS
},
41472 { (char *)"IndividualLayoutConstraint_Set", (PyCFunction
) _wrap_IndividualLayoutConstraint_Set
, METH_VARARGS
| METH_KEYWORDS
},
41473 { (char *)"IndividualLayoutConstraint_LeftOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_LeftOf
, METH_VARARGS
| METH_KEYWORDS
},
41474 { (char *)"IndividualLayoutConstraint_RightOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_RightOf
, METH_VARARGS
| METH_KEYWORDS
},
41475 { (char *)"IndividualLayoutConstraint_Above", (PyCFunction
) _wrap_IndividualLayoutConstraint_Above
, METH_VARARGS
| METH_KEYWORDS
},
41476 { (char *)"IndividualLayoutConstraint_Below", (PyCFunction
) _wrap_IndividualLayoutConstraint_Below
, METH_VARARGS
| METH_KEYWORDS
},
41477 { (char *)"IndividualLayoutConstraint_SameAs", (PyCFunction
) _wrap_IndividualLayoutConstraint_SameAs
, METH_VARARGS
| METH_KEYWORDS
},
41478 { (char *)"IndividualLayoutConstraint_PercentOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_PercentOf
, METH_VARARGS
| METH_KEYWORDS
},
41479 { (char *)"IndividualLayoutConstraint_Absolute", (PyCFunction
) _wrap_IndividualLayoutConstraint_Absolute
, METH_VARARGS
| METH_KEYWORDS
},
41480 { (char *)"IndividualLayoutConstraint_Unconstrained", (PyCFunction
) _wrap_IndividualLayoutConstraint_Unconstrained
, METH_VARARGS
| METH_KEYWORDS
},
41481 { (char *)"IndividualLayoutConstraint_AsIs", (PyCFunction
) _wrap_IndividualLayoutConstraint_AsIs
, METH_VARARGS
| METH_KEYWORDS
},
41482 { (char *)"IndividualLayoutConstraint_GetOtherWindow", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetOtherWindow
, METH_VARARGS
| METH_KEYWORDS
},
41483 { (char *)"IndividualLayoutConstraint_GetMyEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetMyEdge
, METH_VARARGS
| METH_KEYWORDS
},
41484 { (char *)"IndividualLayoutConstraint_SetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetEdge
, METH_VARARGS
| METH_KEYWORDS
},
41485 { (char *)"IndividualLayoutConstraint_SetValue", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
41486 { (char *)"IndividualLayoutConstraint_GetMargin", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetMargin
, METH_VARARGS
| METH_KEYWORDS
},
41487 { (char *)"IndividualLayoutConstraint_SetMargin", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetMargin
, METH_VARARGS
| METH_KEYWORDS
},
41488 { (char *)"IndividualLayoutConstraint_GetValue", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
41489 { (char *)"IndividualLayoutConstraint_GetPercent", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetPercent
, METH_VARARGS
| METH_KEYWORDS
},
41490 { (char *)"IndividualLayoutConstraint_GetOtherEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetOtherEdge
, METH_VARARGS
| METH_KEYWORDS
},
41491 { (char *)"IndividualLayoutConstraint_GetDone", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetDone
, METH_VARARGS
| METH_KEYWORDS
},
41492 { (char *)"IndividualLayoutConstraint_SetDone", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetDone
, METH_VARARGS
| METH_KEYWORDS
},
41493 { (char *)"IndividualLayoutConstraint_GetRelationship", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetRelationship
, METH_VARARGS
| METH_KEYWORDS
},
41494 { (char *)"IndividualLayoutConstraint_SetRelationship", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetRelationship
, METH_VARARGS
| METH_KEYWORDS
},
41495 { (char *)"IndividualLayoutConstraint_ResetIfWin", (PyCFunction
) _wrap_IndividualLayoutConstraint_ResetIfWin
, METH_VARARGS
| METH_KEYWORDS
},
41496 { (char *)"IndividualLayoutConstraint_SatisfyConstraint", (PyCFunction
) _wrap_IndividualLayoutConstraint_SatisfyConstraint
, METH_VARARGS
| METH_KEYWORDS
},
41497 { (char *)"IndividualLayoutConstraint_GetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetEdge
, METH_VARARGS
| METH_KEYWORDS
},
41498 { (char *)"IndividualLayoutConstraint_swigregister", IndividualLayoutConstraint_swigregister
, METH_VARARGS
},
41499 { (char *)"LayoutConstraints_left_get", (PyCFunction
) _wrap_LayoutConstraints_left_get
, METH_VARARGS
| METH_KEYWORDS
},
41500 { (char *)"LayoutConstraints_top_get", (PyCFunction
) _wrap_LayoutConstraints_top_get
, METH_VARARGS
| METH_KEYWORDS
},
41501 { (char *)"LayoutConstraints_right_get", (PyCFunction
) _wrap_LayoutConstraints_right_get
, METH_VARARGS
| METH_KEYWORDS
},
41502 { (char *)"LayoutConstraints_bottom_get", (PyCFunction
) _wrap_LayoutConstraints_bottom_get
, METH_VARARGS
| METH_KEYWORDS
},
41503 { (char *)"LayoutConstraints_width_get", (PyCFunction
) _wrap_LayoutConstraints_width_get
, METH_VARARGS
| METH_KEYWORDS
},
41504 { (char *)"LayoutConstraints_height_get", (PyCFunction
) _wrap_LayoutConstraints_height_get
, METH_VARARGS
| METH_KEYWORDS
},
41505 { (char *)"LayoutConstraints_centreX_get", (PyCFunction
) _wrap_LayoutConstraints_centreX_get
, METH_VARARGS
| METH_KEYWORDS
},
41506 { (char *)"LayoutConstraints_centreY_get", (PyCFunction
) _wrap_LayoutConstraints_centreY_get
, METH_VARARGS
| METH_KEYWORDS
},
41507 { (char *)"new_LayoutConstraints", (PyCFunction
) _wrap_new_LayoutConstraints
, METH_VARARGS
| METH_KEYWORDS
},
41508 { (char *)"LayoutConstraints_SatisfyConstraints", (PyCFunction
) _wrap_LayoutConstraints_SatisfyConstraints
, METH_VARARGS
| METH_KEYWORDS
},
41509 { (char *)"LayoutConstraints_AreSatisfied", (PyCFunction
) _wrap_LayoutConstraints_AreSatisfied
, METH_VARARGS
| METH_KEYWORDS
},
41510 { (char *)"LayoutConstraints_swigregister", LayoutConstraints_swigregister
, METH_VARARGS
},
41515 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
41517 static void *_p_wxGBSizerItemTo_p_wxSizerItem(void *x
) {
41518 return (void *)((wxSizerItem
*) ((wxGBSizerItem
*) x
));
41520 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) {
41521 return (void *)((wxSizer
*) ((wxBoxSizer
*) x
));
41523 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) {
41524 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
41526 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) {
41527 return (void *)((wxSizer
*) (wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
41529 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) {
41530 return (void *)((wxSizer
*) ((wxGridSizer
*) x
));
41532 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) {
41533 return (void *)((wxSizer
*) (wxGridSizer
*) ((wxFlexGridSizer
*) x
));
41535 static void *_p_wxPySizerTo_p_wxSizer(void *x
) {
41536 return (void *)((wxSizer
*) ((wxPySizer
*) x
));
41538 static void *_p_wxStaticBoxSizerTo_p_wxBoxSizer(void *x
) {
41539 return (void *)((wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
41541 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
41542 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
41544 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
41545 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
41547 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
41548 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
41550 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
41551 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
41553 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
41554 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
41556 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
41557 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
41559 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
41560 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
41562 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
41563 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
41565 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
41566 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
41568 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
41569 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
41571 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
41572 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
41574 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
41575 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
41577 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
41578 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
41580 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
41581 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
41583 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
41584 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
41586 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
41587 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
41589 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
41590 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
41592 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
41593 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
41595 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
41596 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
41598 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
41599 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
41601 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
41602 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
41604 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
41605 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
41607 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
41608 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
41610 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
41611 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
41613 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
41614 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
41616 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
41617 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
41619 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
41620 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
41622 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
41623 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
41625 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
41626 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
41628 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
41629 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
41631 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
41632 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
41634 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
41635 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
41637 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
41638 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
41640 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
41641 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
41643 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
41644 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
41646 static void *_p_wxGridBagSizerTo_p_wxGridSizer(void *x
) {
41647 return (void *)((wxGridSizer
*) (wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
41649 static void *_p_wxFlexGridSizerTo_p_wxGridSizer(void *x
) {
41650 return (void *)((wxGridSizer
*) ((wxFlexGridSizer
*) x
));
41652 static void *_p_wxGridBagSizerTo_p_wxFlexGridSizer(void *x
) {
41653 return (void *)((wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
41655 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
41656 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
41658 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
41659 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
41661 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
41662 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
41664 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
41665 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
41667 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
41668 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
41670 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
41671 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
41673 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
41674 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
41676 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
41677 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
41679 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
41680 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
41682 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
41683 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
41685 static void *_p_wxANIHandlerTo_p_wxCURHandler(void *x
) {
41686 return (void *)((wxCURHandler
*) ((wxANIHandler
*) x
));
41688 static void *_p_wxCURHandlerTo_p_wxICOHandler(void *x
) {
41689 return (void *)((wxICOHandler
*) ((wxCURHandler
*) x
));
41691 static void *_p_wxANIHandlerTo_p_wxICOHandler(void *x
) {
41692 return (void *)((wxICOHandler
*) (wxCURHandler
*) ((wxANIHandler
*) x
));
41694 static void *_p_wxICOHandlerTo_p_wxBMPHandler(void *x
) {
41695 return (void *)((wxBMPHandler
*) ((wxICOHandler
*) x
));
41697 static void *_p_wxCURHandlerTo_p_wxBMPHandler(void *x
) {
41698 return (void *)((wxBMPHandler
*) (wxICOHandler
*) ((wxCURHandler
*) x
));
41700 static void *_p_wxANIHandlerTo_p_wxBMPHandler(void *x
) {
41701 return (void *)((wxBMPHandler
*) (wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
41703 static void *_p_wxBMPHandlerTo_p_wxImageHandler(void *x
) {
41704 return (void *)((wxImageHandler
*) ((wxBMPHandler
*) x
));
41706 static void *_p_wxICOHandlerTo_p_wxImageHandler(void *x
) {
41707 return (void *)((wxImageHandler
*) (wxBMPHandler
*) ((wxICOHandler
*) x
));
41709 static void *_p_wxCURHandlerTo_p_wxImageHandler(void *x
) {
41710 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
41712 static void *_p_wxANIHandlerTo_p_wxImageHandler(void *x
) {
41713 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
41715 static void *_p_wxPNGHandlerTo_p_wxImageHandler(void *x
) {
41716 return (void *)((wxImageHandler
*) ((wxPNGHandler
*) x
));
41718 static void *_p_wxGIFHandlerTo_p_wxImageHandler(void *x
) {
41719 return (void *)((wxImageHandler
*) ((wxGIFHandler
*) x
));
41721 static void *_p_wxPCXHandlerTo_p_wxImageHandler(void *x
) {
41722 return (void *)((wxImageHandler
*) ((wxPCXHandler
*) x
));
41724 static void *_p_wxJPEGHandlerTo_p_wxImageHandler(void *x
) {
41725 return (void *)((wxImageHandler
*) ((wxJPEGHandler
*) x
));
41727 static void *_p_wxPNMHandlerTo_p_wxImageHandler(void *x
) {
41728 return (void *)((wxImageHandler
*) ((wxPNMHandler
*) x
));
41730 static void *_p_wxXPMHandlerTo_p_wxImageHandler(void *x
) {
41731 return (void *)((wxImageHandler
*) ((wxXPMHandler
*) x
));
41733 static void *_p_wxTIFFHandlerTo_p_wxImageHandler(void *x
) {
41734 return (void *)((wxImageHandler
*) ((wxTIFFHandler
*) x
));
41736 static void *_p_wxPyFileSystemHandlerTo_p_wxFileSystemHandler(void *x
) {
41737 return (void *)((wxFileSystemHandler
*) ((wxPyFileSystemHandler
*) x
));
41739 static void *_p_wxInternetFSHandlerTo_p_wxFileSystemHandler(void *x
) {
41740 return (void *)((wxFileSystemHandler
*) ((wxInternetFSHandler
*) x
));
41742 static void *_p_wxZipFSHandlerTo_p_wxFileSystemHandler(void *x
) {
41743 return (void *)((wxFileSystemHandler
*) ((wxZipFSHandler
*) x
));
41745 static void *_p_wxMemoryFSHandlerTo_p_wxFileSystemHandler(void *x
) {
41746 return (void *)((wxFileSystemHandler
*) ((wxMemoryFSHandler
*) x
));
41748 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
41749 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
41751 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
41752 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
41754 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
41755 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
41757 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
41758 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
41760 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
41761 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
41763 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
41764 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
41766 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
41767 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
41769 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
41770 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
41772 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
41773 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
41775 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
41776 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
41778 static void *_p_wxSizerTo_p_wxObject(void *x
) {
41779 return (void *)((wxObject
*) ((wxSizer
*) x
));
41781 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
41782 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
41784 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
41785 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
41787 static void *_p_wxMenuTo_p_wxObject(void *x
) {
41788 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
41790 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
41791 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
41793 static void *_p_wxImageTo_p_wxObject(void *x
) {
41794 return (void *)((wxObject
*) ((wxImage
*) x
));
41796 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
41797 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
41799 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
41800 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
41802 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
41803 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
41805 static void *_p_wxWindowTo_p_wxObject(void *x
) {
41806 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
41808 static void *_p_wxControlTo_p_wxObject(void *x
) {
41809 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
41811 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
41812 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
41814 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
41815 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
41817 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
41818 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
41820 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
41821 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
41823 static void *_p_wxEventTo_p_wxObject(void *x
) {
41824 return (void *)((wxObject
*) ((wxEvent
*) x
));
41826 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
41827 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
41829 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
41830 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
41832 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
41833 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
41835 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
41836 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
41838 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
41839 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
41841 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
41842 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
41844 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
41845 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
41847 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
41848 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
41850 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
41851 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
41853 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
41854 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
41856 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
41857 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
41859 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
41860 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
41862 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
41863 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
41865 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
41866 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
41868 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
41869 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
41871 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
41872 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
41874 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
41875 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
41877 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
41878 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
41880 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
41881 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
41883 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
41884 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
41886 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
41887 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
41889 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
41890 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
41892 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
41893 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
41895 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
41896 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
41898 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
41899 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
41901 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
41902 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
41904 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
41905 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
41907 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
41908 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
41910 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
41911 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
41913 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
41914 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
41916 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
41917 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
41919 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
41920 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
41922 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
41923 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
41925 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
41926 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
41928 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
41929 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
41931 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
41932 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
41934 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
41935 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
41937 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
41938 return (void *)((wxObject
*) ((wxFSFile
*) x
));
41940 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
41941 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
41943 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
41944 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
41946 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
41947 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
41949 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
41950 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
41952 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
41953 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
41955 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
41956 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
41958 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
41959 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
41961 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
41962 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
41964 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
41965 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
41967 static void *_p_wxControlTo_p_wxWindow(void *x
) {
41968 return (void *)((wxWindow
*) ((wxControl
*) x
));
41970 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
41971 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
41973 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
41974 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
41976 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
41977 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
41979 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
41980 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
41982 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
41983 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
41985 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
41986 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
41988 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
41989 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
41991 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
41992 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
41994 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
41995 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
41997 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
41998 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
42000 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
42001 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
42003 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}};
42004 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}};
42005 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}};
42006 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}};
42007 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}};
42008 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}};
42009 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}};
42010 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}};
42011 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}};
42012 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}};
42013 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}};
42014 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}};
42015 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}};
42016 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}};
42017 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}};
42018 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}};
42019 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}};
42020 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}};
42021 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}};
42022 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}};
42023 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}};
42024 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}};
42025 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}};
42026 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}};
42027 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}};
42028 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}};
42029 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}};
42030 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}};
42031 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}};
42032 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}};
42033 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}};
42034 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}};
42035 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}};
42036 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}};
42037 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}};
42038 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}};
42039 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}};
42040 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}};
42041 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}};
42042 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}};
42043 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}};
42044 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}};
42045 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}};
42046 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}};
42047 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}};
42048 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}};
42049 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}};
42050 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}};
42051 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}};
42052 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}};
42053 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}};
42054 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}};
42055 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}};
42056 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}};
42057 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}};
42058 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}};
42059 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}};
42060 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}};
42061 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}};
42062 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}};
42063 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}};
42064 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}};
42065 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}};
42066 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}};
42067 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}};
42068 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}};
42069 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}};
42070 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}};
42071 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}};
42072 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}};
42073 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}};
42074 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}};
42075 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}};
42076 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}};
42077 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}};
42078 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}};
42079 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}};
42080 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}};
42081 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}};
42082 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}};
42083 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}};
42084 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}};
42085 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}};
42086 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}};
42087 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}};
42088 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}};
42089 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}};
42090 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}};
42091 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}};
42092 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}};
42093 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}};
42094 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}};
42095 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}};
42096 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}};
42097 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}};
42098 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}};
42099 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}};
42100 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}};
42101 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}};
42102 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}};
42103 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}};
42104 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}};
42105 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}};
42106 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}};
42107 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}};
42108 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}};
42109 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}};
42110 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}};
42111 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}};
42112 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}};
42113 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}};
42114 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}};
42115 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}};
42116 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}};
42117 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}};
42119 static swig_type_info
*swig_types_initial
[] = {
42120 _swigt__p_wxLayoutConstraints
,
42121 _swigt__p_wxRealPoint
,
42122 _swigt__p_wxSizerItem
,
42123 _swigt__p_wxGBSizerItem
,
42124 _swigt__p_wxScrollEvent
,
42125 _swigt__p_wxIndividualLayoutConstraint
,
42127 _swigt__p_wxBoxSizer
,
42128 _swigt__p_wxStaticBoxSizer
,
42129 _swigt__p_wxGridBagSizer
,
42130 _swigt__p_wxAcceleratorEntry
,
42131 _swigt__p_wxUpdateUIEvent
,
42134 _swigt__p_wxGridSizer
,
42135 _swigt__p_wxFlexGridSizer
,
42136 _swigt__p_wxInitDialogEvent
,
42137 _swigt__p_wxItemContainer
,
42138 _swigt__p_wxNcPaintEvent
,
42139 _swigt__p_wxPaintEvent
,
42140 _swigt__p_wxSysColourChangedEvent
,
42141 _swigt__p_wxMouseCaptureChangedEvent
,
42142 _swigt__p_wxDisplayChangedEvent
,
42143 _swigt__p_wxPaletteChangedEvent
,
42144 _swigt__p_wxControl
,
42146 _swigt__p_wxMenuBarBase
,
42147 _swigt__p_wxSetCursorEvent
,
42148 _swigt__p_wxFSFile
,
42150 _swigt__p_wxRegion
,
42151 _swigt__p_wxPoint2D
,
42155 _swigt__p_wxPySizer
,
42156 _swigt__p_wxVisualAttributes
,
42157 _swigt__p_wxNotifyEvent
,
42158 _swigt__p_wxPyEvent
,
42159 _swigt__p_wxPropagationDisabler
,
42160 _swigt__p_wxAppTraits
,
42161 _swigt__p_wxArrayString
,
42162 _swigt__p_wxShowEvent
,
42163 _swigt__p_wxToolTip
,
42164 _swigt__p_wxMaximizeEvent
,
42165 _swigt__p_wxIconizeEvent
,
42166 _swigt__p_wxActivateEvent
,
42167 _swigt__p_wxMoveEvent
,
42168 _swigt__p_wxSizeEvent
,
42169 _swigt__p_wxQueryNewPaletteEvent
,
42170 _swigt__p_wxWindowCreateEvent
,
42171 _swigt__p_wxIdleEvent
,
42172 _swigt__p_wxMenuItem
,
42173 _swigt__p_wxStaticBox
,
42175 _swigt__p_wxTIFFHandler
,
42176 _swigt__p_wxXPMHandler
,
42177 _swigt__p_wxPNMHandler
,
42178 _swigt__p_wxJPEGHandler
,
42179 _swigt__p_wxPCXHandler
,
42180 _swigt__p_wxGIFHandler
,
42181 _swigt__p_wxPNGHandler
,
42182 _swigt__p_wxANIHandler
,
42183 _swigt__p_wxMemoryFSHandler
,
42184 _swigt__p_wxEvtHandler
,
42185 _swigt__p_wxCURHandler
,
42186 _swigt__p_wxICOHandler
,
42187 _swigt__p_wxBMPHandler
,
42188 _swigt__p_wxImageHandler
,
42189 _swigt__p_wxFileSystemHandler
,
42190 _swigt__p_wxPyFileSystemHandler
,
42191 _swigt__p_wxInternetFSHandler
,
42192 _swigt__p_wxZipFSHandler
,
42194 _swigt__p_wxGBSpan
,
42195 _swigt__p_wxPropagateOnce
,
42196 _swigt__p_wxAcceleratorTable
,
42198 _swigt__p_wxGBPosition
,
42201 _swigt__p_wxScrollWinEvent
,
42202 _swigt__p_wxImageHistogram
,
42205 _swigt__p_wxCursor
,
42206 _swigt__p_wxObject
,
42207 _swigt__p_wxPyInputStream
,
42208 _swigt__p_wxOutputStream
,
42209 _swigt__p_wxInputStream
,
42210 _swigt__p_wxDateTime
,
42211 _swigt__p_wxKeyEvent
,
42212 _swigt__p_wxNavigationKeyEvent
,
42213 _swigt__p_wxWindowDestroyEvent
,
42214 _swigt__p_wxWindow
,
42215 _swigt__p_wxMenuBar
,
42216 _swigt__p_wxFileSystem
,
42217 _swigt__p_wxBitmap
,
42218 _swigt__p_wxMenuEvent
,
42219 _swigt__p_wxContextMenuEvent
,
42220 _swigt__p_unsigned_char
,
42221 _swigt__p_wxCloseEvent
,
42222 _swigt__p_wxEraseEvent
,
42223 _swigt__p_wxMouseEvent
,
42225 _swigt__p_wxCommandEvent
,
42226 _swigt__p_wxPyCommandEvent
,
42227 _swigt__p_wxPyDropTarget
,
42228 _swigt__p_wxChildFocusEvent
,
42229 _swigt__p_wxFocusEvent
,
42230 _swigt__p_wxDropFilesEvent
,
42231 _swigt__p_wxControlWithItems
,
42232 _swigt__p_wxColour
,
42233 _swigt__p_wxValidator
,
42234 _swigt__p_wxPyValidator
,
42239 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
42241 static swig_const_info swig_const_table
[] = {
42251 SWIGEXPORT(void) SWIG_init(void) {
42252 static PyObject
*SWIG_globals
= 0;
42253 static int typeinit
= 0;
42256 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
42257 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
42258 d
= PyModule_GetDict(m
);
42261 for (i
= 0; swig_types_initial
[i
]; i
++) {
42262 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
42266 SWIG_InstallConstants(d
,swig_const_table
);
42269 #ifndef wxPyUSE_EXPORT
42270 // Make our API structure a CObject so other modules can import it
42271 // from this module.
42272 PyObject
* cobj
= PyCObject_FromVoidPtr(&API
, NULL
);
42273 PyDict_SetItemString(d
,"_wxPyCoreAPI", cobj
);
42277 PyDict_SetItemString(d
,"NOT_FOUND", SWIG_FromInt((int)wxNOT_FOUND
));
42278 PyDict_SetItemString(d
,"VSCROLL", SWIG_FromInt((int)wxVSCROLL
));
42279 PyDict_SetItemString(d
,"HSCROLL", SWIG_FromInt((int)wxHSCROLL
));
42280 PyDict_SetItemString(d
,"CAPTION", SWIG_FromInt((int)wxCAPTION
));
42281 PyDict_SetItemString(d
,"DOUBLE_BORDER", SWIG_FromInt((int)wxDOUBLE_BORDER
));
42282 PyDict_SetItemString(d
,"SUNKEN_BORDER", SWIG_FromInt((int)wxSUNKEN_BORDER
));
42283 PyDict_SetItemString(d
,"RAISED_BORDER", SWIG_FromInt((int)wxRAISED_BORDER
));
42284 PyDict_SetItemString(d
,"BORDER", SWIG_FromInt((int)wxBORDER
));
42285 PyDict_SetItemString(d
,"SIMPLE_BORDER", SWIG_FromInt((int)wxSIMPLE_BORDER
));
42286 PyDict_SetItemString(d
,"STATIC_BORDER", SWIG_FromInt((int)wxSTATIC_BORDER
));
42287 PyDict_SetItemString(d
,"TRANSPARENT_WINDOW", SWIG_FromInt((int)wxTRANSPARENT_WINDOW
));
42288 PyDict_SetItemString(d
,"NO_BORDER", SWIG_FromInt((int)wxNO_BORDER
));
42289 PyDict_SetItemString(d
,"TAB_TRAVERSAL", SWIG_FromInt((int)wxTAB_TRAVERSAL
));
42290 PyDict_SetItemString(d
,"WANTS_CHARS", SWIG_FromInt((int)wxWANTS_CHARS
));
42291 PyDict_SetItemString(d
,"POPUP_WINDOW", SWIG_FromInt((int)wxPOPUP_WINDOW
));
42292 PyDict_SetItemString(d
,"CENTER_FRAME", SWIG_FromInt((int)wxCENTER_FRAME
));
42293 PyDict_SetItemString(d
,"CENTRE_ON_SCREEN", SWIG_FromInt((int)wxCENTRE_ON_SCREEN
));
42294 PyDict_SetItemString(d
,"CENTER_ON_SCREEN", SWIG_FromInt((int)wxCENTER_ON_SCREEN
));
42295 PyDict_SetItemString(d
,"ED_CLIENT_MARGIN", SWIG_FromInt((int)wxED_CLIENT_MARGIN
));
42296 PyDict_SetItemString(d
,"ED_BUTTONS_BOTTOM", SWIG_FromInt((int)wxED_BUTTONS_BOTTOM
));
42297 PyDict_SetItemString(d
,"ED_BUTTONS_RIGHT", SWIG_FromInt((int)wxED_BUTTONS_RIGHT
));
42298 PyDict_SetItemString(d
,"ED_STATIC_LINE", SWIG_FromInt((int)wxED_STATIC_LINE
));
42299 PyDict_SetItemString(d
,"EXT_DIALOG_STYLE", SWIG_FromInt((int)wxEXT_DIALOG_STYLE
));
42300 PyDict_SetItemString(d
,"CLIP_CHILDREN", SWIG_FromInt((int)wxCLIP_CHILDREN
));
42301 PyDict_SetItemString(d
,"CLIP_SIBLINGS", SWIG_FromInt((int)wxCLIP_SIBLINGS
));
42302 PyDict_SetItemString(d
,"ALWAYS_SHOW_SB", SWIG_FromInt((int)wxALWAYS_SHOW_SB
));
42303 PyDict_SetItemString(d
,"RETAINED", SWIG_FromInt((int)wxRETAINED
));
42304 PyDict_SetItemString(d
,"BACKINGSTORE", SWIG_FromInt((int)wxBACKINGSTORE
));
42305 PyDict_SetItemString(d
,"COLOURED", SWIG_FromInt((int)wxCOLOURED
));
42306 PyDict_SetItemString(d
,"FIXED_LENGTH", SWIG_FromInt((int)wxFIXED_LENGTH
));
42307 PyDict_SetItemString(d
,"LB_NEEDED_SB", SWIG_FromInt((int)wxLB_NEEDED_SB
));
42308 PyDict_SetItemString(d
,"LB_ALWAYS_SB", SWIG_FromInt((int)wxLB_ALWAYS_SB
));
42309 PyDict_SetItemString(d
,"LB_SORT", SWIG_FromInt((int)wxLB_SORT
));
42310 PyDict_SetItemString(d
,"LB_SINGLE", SWIG_FromInt((int)wxLB_SINGLE
));
42311 PyDict_SetItemString(d
,"LB_MULTIPLE", SWIG_FromInt((int)wxLB_MULTIPLE
));
42312 PyDict_SetItemString(d
,"LB_EXTENDED", SWIG_FromInt((int)wxLB_EXTENDED
));
42313 PyDict_SetItemString(d
,"LB_OWNERDRAW", SWIG_FromInt((int)wxLB_OWNERDRAW
));
42314 PyDict_SetItemString(d
,"LB_HSCROLL", SWIG_FromInt((int)wxLB_HSCROLL
));
42315 PyDict_SetItemString(d
,"PROCESS_ENTER", SWIG_FromInt((int)wxPROCESS_ENTER
));
42316 PyDict_SetItemString(d
,"PASSWORD", SWIG_FromInt((int)wxPASSWORD
));
42317 PyDict_SetItemString(d
,"CB_SIMPLE", SWIG_FromInt((int)wxCB_SIMPLE
));
42318 PyDict_SetItemString(d
,"CB_DROPDOWN", SWIG_FromInt((int)wxCB_DROPDOWN
));
42319 PyDict_SetItemString(d
,"CB_SORT", SWIG_FromInt((int)wxCB_SORT
));
42320 PyDict_SetItemString(d
,"CB_READONLY", SWIG_FromInt((int)wxCB_READONLY
));
42321 PyDict_SetItemString(d
,"RA_HORIZONTAL", SWIG_FromInt((int)wxRA_HORIZONTAL
));
42322 PyDict_SetItemString(d
,"RA_VERTICAL", SWIG_FromInt((int)wxRA_VERTICAL
));
42323 PyDict_SetItemString(d
,"RA_SPECIFY_ROWS", SWIG_FromInt((int)wxRA_SPECIFY_ROWS
));
42324 PyDict_SetItemString(d
,"RA_SPECIFY_COLS", SWIG_FromInt((int)wxRA_SPECIFY_COLS
));
42325 PyDict_SetItemString(d
,"RB_GROUP", SWIG_FromInt((int)wxRB_GROUP
));
42326 PyDict_SetItemString(d
,"RB_SINGLE", SWIG_FromInt((int)wxRB_SINGLE
));
42327 PyDict_SetItemString(d
,"SL_HORIZONTAL", SWIG_FromInt((int)wxSL_HORIZONTAL
));
42328 PyDict_SetItemString(d
,"SL_VERTICAL", SWIG_FromInt((int)wxSL_VERTICAL
));
42329 PyDict_SetItemString(d
,"SL_AUTOTICKS", SWIG_FromInt((int)wxSL_AUTOTICKS
));
42330 PyDict_SetItemString(d
,"SL_LABELS", SWIG_FromInt((int)wxSL_LABELS
));
42331 PyDict_SetItemString(d
,"SL_LEFT", SWIG_FromInt((int)wxSL_LEFT
));
42332 PyDict_SetItemString(d
,"SL_TOP", SWIG_FromInt((int)wxSL_TOP
));
42333 PyDict_SetItemString(d
,"SL_RIGHT", SWIG_FromInt((int)wxSL_RIGHT
));
42334 PyDict_SetItemString(d
,"SL_BOTTOM", SWIG_FromInt((int)wxSL_BOTTOM
));
42335 PyDict_SetItemString(d
,"SL_BOTH", SWIG_FromInt((int)wxSL_BOTH
));
42336 PyDict_SetItemString(d
,"SL_SELRANGE", SWIG_FromInt((int)wxSL_SELRANGE
));
42337 PyDict_SetItemString(d
,"SB_HORIZONTAL", SWIG_FromInt((int)wxSB_HORIZONTAL
));
42338 PyDict_SetItemString(d
,"SB_VERTICAL", SWIG_FromInt((int)wxSB_VERTICAL
));
42339 PyDict_SetItemString(d
,"ST_SIZEGRIP", SWIG_FromInt((int)wxST_SIZEGRIP
));
42340 PyDict_SetItemString(d
,"ST_NO_AUTORESIZE", SWIG_FromInt((int)wxST_NO_AUTORESIZE
));
42341 PyDict_SetItemString(d
,"FLOOD_SURFACE", SWIG_FromInt((int)wxFLOOD_SURFACE
));
42342 PyDict_SetItemString(d
,"FLOOD_BORDER", SWIG_FromInt((int)wxFLOOD_BORDER
));
42343 PyDict_SetItemString(d
,"ODDEVEN_RULE", SWIG_FromInt((int)wxODDEVEN_RULE
));
42344 PyDict_SetItemString(d
,"WINDING_RULE", SWIG_FromInt((int)wxWINDING_RULE
));
42345 PyDict_SetItemString(d
,"TOOL_TOP", SWIG_FromInt((int)wxTOOL_TOP
));
42346 PyDict_SetItemString(d
,"TOOL_BOTTOM", SWIG_FromInt((int)wxTOOL_BOTTOM
));
42347 PyDict_SetItemString(d
,"TOOL_LEFT", SWIG_FromInt((int)wxTOOL_LEFT
));
42348 PyDict_SetItemString(d
,"TOOL_RIGHT", SWIG_FromInt((int)wxTOOL_RIGHT
));
42349 PyDict_SetItemString(d
,"OK", SWIG_FromInt((int)wxOK
));
42350 PyDict_SetItemString(d
,"YES_NO", SWIG_FromInt((int)wxYES_NO
));
42351 PyDict_SetItemString(d
,"CANCEL", SWIG_FromInt((int)wxCANCEL
));
42352 PyDict_SetItemString(d
,"YES", SWIG_FromInt((int)wxYES
));
42353 PyDict_SetItemString(d
,"NO", SWIG_FromInt((int)wxNO
));
42354 PyDict_SetItemString(d
,"NO_DEFAULT", SWIG_FromInt((int)wxNO_DEFAULT
));
42355 PyDict_SetItemString(d
,"YES_DEFAULT", SWIG_FromInt((int)wxYES_DEFAULT
));
42356 PyDict_SetItemString(d
,"ICON_EXCLAMATION", SWIG_FromInt((int)wxICON_EXCLAMATION
));
42357 PyDict_SetItemString(d
,"ICON_HAND", SWIG_FromInt((int)wxICON_HAND
));
42358 PyDict_SetItemString(d
,"ICON_QUESTION", SWIG_FromInt((int)wxICON_QUESTION
));
42359 PyDict_SetItemString(d
,"ICON_INFORMATION", SWIG_FromInt((int)wxICON_INFORMATION
));
42360 PyDict_SetItemString(d
,"ICON_STOP", SWIG_FromInt((int)wxICON_STOP
));
42361 PyDict_SetItemString(d
,"ICON_ASTERISK", SWIG_FromInt((int)wxICON_ASTERISK
));
42362 PyDict_SetItemString(d
,"ICON_MASK", SWIG_FromInt((int)wxICON_MASK
));
42363 PyDict_SetItemString(d
,"ICON_WARNING", SWIG_FromInt((int)wxICON_WARNING
));
42364 PyDict_SetItemString(d
,"ICON_ERROR", SWIG_FromInt((int)wxICON_ERROR
));
42365 PyDict_SetItemString(d
,"FORWARD", SWIG_FromInt((int)wxFORWARD
));
42366 PyDict_SetItemString(d
,"BACKWARD", SWIG_FromInt((int)wxBACKWARD
));
42367 PyDict_SetItemString(d
,"RESET", SWIG_FromInt((int)wxRESET
));
42368 PyDict_SetItemString(d
,"HELP", SWIG_FromInt((int)wxHELP
));
42369 PyDict_SetItemString(d
,"MORE", SWIG_FromInt((int)wxMORE
));
42370 PyDict_SetItemString(d
,"SETUP", SWIG_FromInt((int)wxSETUP
));
42371 PyDict_SetItemString(d
,"SIZE_AUTO_WIDTH", SWIG_FromInt((int)wxSIZE_AUTO_WIDTH
));
42372 PyDict_SetItemString(d
,"SIZE_AUTO_HEIGHT", SWIG_FromInt((int)wxSIZE_AUTO_HEIGHT
));
42373 PyDict_SetItemString(d
,"SIZE_AUTO", SWIG_FromInt((int)wxSIZE_AUTO
));
42374 PyDict_SetItemString(d
,"SIZE_USE_EXISTING", SWIG_FromInt((int)wxSIZE_USE_EXISTING
));
42375 PyDict_SetItemString(d
,"SIZE_ALLOW_MINUS_ONE", SWIG_FromInt((int)wxSIZE_ALLOW_MINUS_ONE
));
42376 PyDict_SetItemString(d
,"PORTRAIT", SWIG_FromInt((int)wxPORTRAIT
));
42377 PyDict_SetItemString(d
,"LANDSCAPE", SWIG_FromInt((int)wxLANDSCAPE
));
42378 PyDict_SetItemString(d
,"PRINT_QUALITY_HIGH", SWIG_FromInt((int)wxPRINT_QUALITY_HIGH
));
42379 PyDict_SetItemString(d
,"PRINT_QUALITY_MEDIUM", SWIG_FromInt((int)wxPRINT_QUALITY_MEDIUM
));
42380 PyDict_SetItemString(d
,"PRINT_QUALITY_LOW", SWIG_FromInt((int)wxPRINT_QUALITY_LOW
));
42381 PyDict_SetItemString(d
,"PRINT_QUALITY_DRAFT", SWIG_FromInt((int)wxPRINT_QUALITY_DRAFT
));
42382 PyDict_SetItemString(d
,"ID_ANY", SWIG_FromInt((int)wxID_ANY
));
42383 PyDict_SetItemString(d
,"ID_SEPARATOR", SWIG_FromInt((int)wxID_SEPARATOR
));
42384 PyDict_SetItemString(d
,"ID_LOWEST", SWIG_FromInt((int)wxID_LOWEST
));
42385 PyDict_SetItemString(d
,"ID_OPEN", SWIG_FromInt((int)wxID_OPEN
));
42386 PyDict_SetItemString(d
,"ID_CLOSE", SWIG_FromInt((int)wxID_CLOSE
));
42387 PyDict_SetItemString(d
,"ID_NEW", SWIG_FromInt((int)wxID_NEW
));
42388 PyDict_SetItemString(d
,"ID_SAVE", SWIG_FromInt((int)wxID_SAVE
));
42389 PyDict_SetItemString(d
,"ID_SAVEAS", SWIG_FromInt((int)wxID_SAVEAS
));
42390 PyDict_SetItemString(d
,"ID_REVERT", SWIG_FromInt((int)wxID_REVERT
));
42391 PyDict_SetItemString(d
,"ID_EXIT", SWIG_FromInt((int)wxID_EXIT
));
42392 PyDict_SetItemString(d
,"ID_UNDO", SWIG_FromInt((int)wxID_UNDO
));
42393 PyDict_SetItemString(d
,"ID_REDO", SWIG_FromInt((int)wxID_REDO
));
42394 PyDict_SetItemString(d
,"ID_HELP", SWIG_FromInt((int)wxID_HELP
));
42395 PyDict_SetItemString(d
,"ID_PRINT", SWIG_FromInt((int)wxID_PRINT
));
42396 PyDict_SetItemString(d
,"ID_PRINT_SETUP", SWIG_FromInt((int)wxID_PRINT_SETUP
));
42397 PyDict_SetItemString(d
,"ID_PREVIEW", SWIG_FromInt((int)wxID_PREVIEW
));
42398 PyDict_SetItemString(d
,"ID_ABOUT", SWIG_FromInt((int)wxID_ABOUT
));
42399 PyDict_SetItemString(d
,"ID_HELP_CONTENTS", SWIG_FromInt((int)wxID_HELP_CONTENTS
));
42400 PyDict_SetItemString(d
,"ID_HELP_COMMANDS", SWIG_FromInt((int)wxID_HELP_COMMANDS
));
42401 PyDict_SetItemString(d
,"ID_HELP_PROCEDURES", SWIG_FromInt((int)wxID_HELP_PROCEDURES
));
42402 PyDict_SetItemString(d
,"ID_HELP_CONTEXT", SWIG_FromInt((int)wxID_HELP_CONTEXT
));
42403 PyDict_SetItemString(d
,"ID_CLOSE_ALL", SWIG_FromInt((int)wxID_CLOSE_ALL
));
42404 PyDict_SetItemString(d
,"ID_PREFERENCES", SWIG_FromInt((int)wxID_PREFERENCES
));
42405 PyDict_SetItemString(d
,"ID_CUT", SWIG_FromInt((int)wxID_CUT
));
42406 PyDict_SetItemString(d
,"ID_COPY", SWIG_FromInt((int)wxID_COPY
));
42407 PyDict_SetItemString(d
,"ID_PASTE", SWIG_FromInt((int)wxID_PASTE
));
42408 PyDict_SetItemString(d
,"ID_CLEAR", SWIG_FromInt((int)wxID_CLEAR
));
42409 PyDict_SetItemString(d
,"ID_FIND", SWIG_FromInt((int)wxID_FIND
));
42410 PyDict_SetItemString(d
,"ID_DUPLICATE", SWIG_FromInt((int)wxID_DUPLICATE
));
42411 PyDict_SetItemString(d
,"ID_SELECTALL", SWIG_FromInt((int)wxID_SELECTALL
));
42412 PyDict_SetItemString(d
,"ID_DELETE", SWIG_FromInt((int)wxID_DELETE
));
42413 PyDict_SetItemString(d
,"ID_REPLACE", SWIG_FromInt((int)wxID_REPLACE
));
42414 PyDict_SetItemString(d
,"ID_REPLACE_ALL", SWIG_FromInt((int)wxID_REPLACE_ALL
));
42415 PyDict_SetItemString(d
,"ID_PROPERTIES", SWIG_FromInt((int)wxID_PROPERTIES
));
42416 PyDict_SetItemString(d
,"ID_VIEW_DETAILS", SWIG_FromInt((int)wxID_VIEW_DETAILS
));
42417 PyDict_SetItemString(d
,"ID_VIEW_LARGEICONS", SWIG_FromInt((int)wxID_VIEW_LARGEICONS
));
42418 PyDict_SetItemString(d
,"ID_VIEW_SMALLICONS", SWIG_FromInt((int)wxID_VIEW_SMALLICONS
));
42419 PyDict_SetItemString(d
,"ID_VIEW_LIST", SWIG_FromInt((int)wxID_VIEW_LIST
));
42420 PyDict_SetItemString(d
,"ID_VIEW_SORTDATE", SWIG_FromInt((int)wxID_VIEW_SORTDATE
));
42421 PyDict_SetItemString(d
,"ID_VIEW_SORTNAME", SWIG_FromInt((int)wxID_VIEW_SORTNAME
));
42422 PyDict_SetItemString(d
,"ID_VIEW_SORTSIZE", SWIG_FromInt((int)wxID_VIEW_SORTSIZE
));
42423 PyDict_SetItemString(d
,"ID_VIEW_SORTTYPE", SWIG_FromInt((int)wxID_VIEW_SORTTYPE
));
42424 PyDict_SetItemString(d
,"ID_FILE1", SWIG_FromInt((int)wxID_FILE1
));
42425 PyDict_SetItemString(d
,"ID_FILE2", SWIG_FromInt((int)wxID_FILE2
));
42426 PyDict_SetItemString(d
,"ID_FILE3", SWIG_FromInt((int)wxID_FILE3
));
42427 PyDict_SetItemString(d
,"ID_FILE4", SWIG_FromInt((int)wxID_FILE4
));
42428 PyDict_SetItemString(d
,"ID_FILE5", SWIG_FromInt((int)wxID_FILE5
));
42429 PyDict_SetItemString(d
,"ID_FILE6", SWIG_FromInt((int)wxID_FILE6
));
42430 PyDict_SetItemString(d
,"ID_FILE7", SWIG_FromInt((int)wxID_FILE7
));
42431 PyDict_SetItemString(d
,"ID_FILE8", SWIG_FromInt((int)wxID_FILE8
));
42432 PyDict_SetItemString(d
,"ID_FILE9", SWIG_FromInt((int)wxID_FILE9
));
42433 PyDict_SetItemString(d
,"ID_OK", SWIG_FromInt((int)wxID_OK
));
42434 PyDict_SetItemString(d
,"ID_CANCEL", SWIG_FromInt((int)wxID_CANCEL
));
42435 PyDict_SetItemString(d
,"ID_APPLY", SWIG_FromInt((int)wxID_APPLY
));
42436 PyDict_SetItemString(d
,"ID_YES", SWIG_FromInt((int)wxID_YES
));
42437 PyDict_SetItemString(d
,"ID_NO", SWIG_FromInt((int)wxID_NO
));
42438 PyDict_SetItemString(d
,"ID_STATIC", SWIG_FromInt((int)wxID_STATIC
));
42439 PyDict_SetItemString(d
,"ID_FORWARD", SWIG_FromInt((int)wxID_FORWARD
));
42440 PyDict_SetItemString(d
,"ID_BACKWARD", SWIG_FromInt((int)wxID_BACKWARD
));
42441 PyDict_SetItemString(d
,"ID_DEFAULT", SWIG_FromInt((int)wxID_DEFAULT
));
42442 PyDict_SetItemString(d
,"ID_MORE", SWIG_FromInt((int)wxID_MORE
));
42443 PyDict_SetItemString(d
,"ID_SETUP", SWIG_FromInt((int)wxID_SETUP
));
42444 PyDict_SetItemString(d
,"ID_RESET", SWIG_FromInt((int)wxID_RESET
));
42445 PyDict_SetItemString(d
,"ID_CONTEXT_HELP", SWIG_FromInt((int)wxID_CONTEXT_HELP
));
42446 PyDict_SetItemString(d
,"ID_YESTOALL", SWIG_FromInt((int)wxID_YESTOALL
));
42447 PyDict_SetItemString(d
,"ID_NOTOALL", SWIG_FromInt((int)wxID_NOTOALL
));
42448 PyDict_SetItemString(d
,"ID_ABORT", SWIG_FromInt((int)wxID_ABORT
));
42449 PyDict_SetItemString(d
,"ID_RETRY", SWIG_FromInt((int)wxID_RETRY
));
42450 PyDict_SetItemString(d
,"ID_IGNORE", SWIG_FromInt((int)wxID_IGNORE
));
42451 PyDict_SetItemString(d
,"ID_HIGHEST", SWIG_FromInt((int)wxID_HIGHEST
));
42452 PyDict_SetItemString(d
,"OPEN", SWIG_FromInt((int)wxOPEN
));
42453 PyDict_SetItemString(d
,"SAVE", SWIG_FromInt((int)wxSAVE
));
42454 PyDict_SetItemString(d
,"HIDE_READONLY", SWIG_FromInt((int)wxHIDE_READONLY
));
42455 PyDict_SetItemString(d
,"OVERWRITE_PROMPT", SWIG_FromInt((int)wxOVERWRITE_PROMPT
));
42456 PyDict_SetItemString(d
,"FILE_MUST_EXIST", SWIG_FromInt((int)wxFILE_MUST_EXIST
));
42457 PyDict_SetItemString(d
,"MULTIPLE", SWIG_FromInt((int)wxMULTIPLE
));
42458 PyDict_SetItemString(d
,"CHANGE_DIR", SWIG_FromInt((int)wxCHANGE_DIR
));
42459 PyDict_SetItemString(d
,"ACCEL_ALT", SWIG_FromInt((int)wxACCEL_ALT
));
42460 PyDict_SetItemString(d
,"ACCEL_CTRL", SWIG_FromInt((int)wxACCEL_CTRL
));
42461 PyDict_SetItemString(d
,"ACCEL_SHIFT", SWIG_FromInt((int)wxACCEL_SHIFT
));
42462 PyDict_SetItemString(d
,"ACCEL_NORMAL", SWIG_FromInt((int)wxACCEL_NORMAL
));
42463 PyDict_SetItemString(d
,"PD_AUTO_HIDE", SWIG_FromInt((int)wxPD_AUTO_HIDE
));
42464 PyDict_SetItemString(d
,"PD_APP_MODAL", SWIG_FromInt((int)wxPD_APP_MODAL
));
42465 PyDict_SetItemString(d
,"PD_CAN_ABORT", SWIG_FromInt((int)wxPD_CAN_ABORT
));
42466 PyDict_SetItemString(d
,"PD_ELAPSED_TIME", SWIG_FromInt((int)wxPD_ELAPSED_TIME
));
42467 PyDict_SetItemString(d
,"PD_ESTIMATED_TIME", SWIG_FromInt((int)wxPD_ESTIMATED_TIME
));
42468 PyDict_SetItemString(d
,"PD_REMAINING_TIME", SWIG_FromInt((int)wxPD_REMAINING_TIME
));
42469 PyDict_SetItemString(d
,"DD_NEW_DIR_BUTTON", SWIG_FromInt((int)wxDD_NEW_DIR_BUTTON
));
42470 PyDict_SetItemString(d
,"DD_DEFAULT_STYLE", SWIG_FromInt((int)wxDD_DEFAULT_STYLE
));
42471 PyDict_SetItemString(d
,"MENU_TEAROFF", SWIG_FromInt((int)wxMENU_TEAROFF
));
42472 PyDict_SetItemString(d
,"MB_DOCKABLE", SWIG_FromInt((int)wxMB_DOCKABLE
));
42473 PyDict_SetItemString(d
,"NO_FULL_REPAINT_ON_RESIZE", SWIG_FromInt((int)wxNO_FULL_REPAINT_ON_RESIZE
));
42474 PyDict_SetItemString(d
,"FULL_REPAINT_ON_RESIZE", SWIG_FromInt((int)wxFULL_REPAINT_ON_RESIZE
));
42475 PyDict_SetItemString(d
,"LI_HORIZONTAL", SWIG_FromInt((int)wxLI_HORIZONTAL
));
42476 PyDict_SetItemString(d
,"LI_VERTICAL", SWIG_FromInt((int)wxLI_VERTICAL
));
42477 PyDict_SetItemString(d
,"WS_EX_VALIDATE_RECURSIVELY", SWIG_FromInt((int)wxWS_EX_VALIDATE_RECURSIVELY
));
42478 PyDict_SetItemString(d
,"WS_EX_BLOCK_EVENTS", SWIG_FromInt((int)wxWS_EX_BLOCK_EVENTS
));
42479 PyDict_SetItemString(d
,"WS_EX_TRANSIENT", SWIG_FromInt((int)wxWS_EX_TRANSIENT
));
42480 PyDict_SetItemString(d
,"WS_EX_THEMED_BACKGROUND", SWIG_FromInt((int)wxWS_EX_THEMED_BACKGROUND
));
42481 PyDict_SetItemString(d
,"WS_EX_PROCESS_IDLE", SWIG_FromInt((int)wxWS_EX_PROCESS_IDLE
));
42482 PyDict_SetItemString(d
,"WS_EX_PROCESS_UI_UPDATES", SWIG_FromInt((int)wxWS_EX_PROCESS_UI_UPDATES
));
42483 PyDict_SetItemString(d
,"MM_TEXT", SWIG_FromInt((int)wxMM_TEXT
));
42484 PyDict_SetItemString(d
,"MM_LOMETRIC", SWIG_FromInt((int)wxMM_LOMETRIC
));
42485 PyDict_SetItemString(d
,"MM_HIMETRIC", SWIG_FromInt((int)wxMM_HIMETRIC
));
42486 PyDict_SetItemString(d
,"MM_LOENGLISH", SWIG_FromInt((int)wxMM_LOENGLISH
));
42487 PyDict_SetItemString(d
,"MM_HIENGLISH", SWIG_FromInt((int)wxMM_HIENGLISH
));
42488 PyDict_SetItemString(d
,"MM_TWIPS", SWIG_FromInt((int)wxMM_TWIPS
));
42489 PyDict_SetItemString(d
,"MM_ISOTROPIC", SWIG_FromInt((int)wxMM_ISOTROPIC
));
42490 PyDict_SetItemString(d
,"MM_ANISOTROPIC", SWIG_FromInt((int)wxMM_ANISOTROPIC
));
42491 PyDict_SetItemString(d
,"MM_POINTS", SWIG_FromInt((int)wxMM_POINTS
));
42492 PyDict_SetItemString(d
,"MM_METRIC", SWIG_FromInt((int)wxMM_METRIC
));
42493 PyDict_SetItemString(d
,"CENTRE", SWIG_FromInt((int)wxCENTRE
));
42494 PyDict_SetItemString(d
,"CENTER", SWIG_FromInt((int)wxCENTER
));
42495 PyDict_SetItemString(d
,"HORIZONTAL", SWIG_FromInt((int)wxHORIZONTAL
));
42496 PyDict_SetItemString(d
,"VERTICAL", SWIG_FromInt((int)wxVERTICAL
));
42497 PyDict_SetItemString(d
,"BOTH", SWIG_FromInt((int)wxBOTH
));
42498 PyDict_SetItemString(d
,"LEFT", SWIG_FromInt((int)wxLEFT
));
42499 PyDict_SetItemString(d
,"RIGHT", SWIG_FromInt((int)wxRIGHT
));
42500 PyDict_SetItemString(d
,"UP", SWIG_FromInt((int)wxUP
));
42501 PyDict_SetItemString(d
,"DOWN", SWIG_FromInt((int)wxDOWN
));
42502 PyDict_SetItemString(d
,"TOP", SWIG_FromInt((int)wxTOP
));
42503 PyDict_SetItemString(d
,"BOTTOM", SWIG_FromInt((int)wxBOTTOM
));
42504 PyDict_SetItemString(d
,"NORTH", SWIG_FromInt((int)wxNORTH
));
42505 PyDict_SetItemString(d
,"SOUTH", SWIG_FromInt((int)wxSOUTH
));
42506 PyDict_SetItemString(d
,"WEST", SWIG_FromInt((int)wxWEST
));
42507 PyDict_SetItemString(d
,"EAST", SWIG_FromInt((int)wxEAST
));
42508 PyDict_SetItemString(d
,"ALL", SWIG_FromInt((int)wxALL
));
42509 PyDict_SetItemString(d
,"ALIGN_NOT", SWIG_FromInt((int)wxALIGN_NOT
));
42510 PyDict_SetItemString(d
,"ALIGN_CENTER_HORIZONTAL", SWIG_FromInt((int)wxALIGN_CENTER_HORIZONTAL
));
42511 PyDict_SetItemString(d
,"ALIGN_CENTRE_HORIZONTAL", SWIG_FromInt((int)wxALIGN_CENTRE_HORIZONTAL
));
42512 PyDict_SetItemString(d
,"ALIGN_LEFT", SWIG_FromInt((int)wxALIGN_LEFT
));
42513 PyDict_SetItemString(d
,"ALIGN_TOP", SWIG_FromInt((int)wxALIGN_TOP
));
42514 PyDict_SetItemString(d
,"ALIGN_RIGHT", SWIG_FromInt((int)wxALIGN_RIGHT
));
42515 PyDict_SetItemString(d
,"ALIGN_BOTTOM", SWIG_FromInt((int)wxALIGN_BOTTOM
));
42516 PyDict_SetItemString(d
,"ALIGN_CENTER_VERTICAL", SWIG_FromInt((int)wxALIGN_CENTER_VERTICAL
));
42517 PyDict_SetItemString(d
,"ALIGN_CENTRE_VERTICAL", SWIG_FromInt((int)wxALIGN_CENTRE_VERTICAL
));
42518 PyDict_SetItemString(d
,"ALIGN_CENTER", SWIG_FromInt((int)wxALIGN_CENTER
));
42519 PyDict_SetItemString(d
,"ALIGN_CENTRE", SWIG_FromInt((int)wxALIGN_CENTRE
));
42520 PyDict_SetItemString(d
,"ALIGN_MASK", SWIG_FromInt((int)wxALIGN_MASK
));
42521 PyDict_SetItemString(d
,"STRETCH_NOT", SWIG_FromInt((int)wxSTRETCH_NOT
));
42522 PyDict_SetItemString(d
,"SHRINK", SWIG_FromInt((int)wxSHRINK
));
42523 PyDict_SetItemString(d
,"GROW", SWIG_FromInt((int)wxGROW
));
42524 PyDict_SetItemString(d
,"EXPAND", SWIG_FromInt((int)wxEXPAND
));
42525 PyDict_SetItemString(d
,"SHAPED", SWIG_FromInt((int)wxSHAPED
));
42526 PyDict_SetItemString(d
,"FIXED_MINSIZE", SWIG_FromInt((int)wxFIXED_MINSIZE
));
42527 PyDict_SetItemString(d
,"TILE", SWIG_FromInt((int)wxTILE
));
42528 PyDict_SetItemString(d
,"ADJUST_MINSIZE", SWIG_FromInt((int)wxADJUST_MINSIZE
));
42529 PyDict_SetItemString(d
,"BORDER_DEFAULT", SWIG_FromInt((int)wxBORDER_DEFAULT
));
42530 PyDict_SetItemString(d
,"BORDER_NONE", SWIG_FromInt((int)wxBORDER_NONE
));
42531 PyDict_SetItemString(d
,"BORDER_STATIC", SWIG_FromInt((int)wxBORDER_STATIC
));
42532 PyDict_SetItemString(d
,"BORDER_SIMPLE", SWIG_FromInt((int)wxBORDER_SIMPLE
));
42533 PyDict_SetItemString(d
,"BORDER_RAISED", SWIG_FromInt((int)wxBORDER_RAISED
));
42534 PyDict_SetItemString(d
,"BORDER_SUNKEN", SWIG_FromInt((int)wxBORDER_SUNKEN
));
42535 PyDict_SetItemString(d
,"BORDER_DOUBLE", SWIG_FromInt((int)wxBORDER_DOUBLE
));
42536 PyDict_SetItemString(d
,"BORDER_MASK", SWIG_FromInt((int)wxBORDER_MASK
));
42537 PyDict_SetItemString(d
,"DEFAULT", SWIG_FromInt((int)wxDEFAULT
));
42538 PyDict_SetItemString(d
,"DECORATIVE", SWIG_FromInt((int)wxDECORATIVE
));
42539 PyDict_SetItemString(d
,"ROMAN", SWIG_FromInt((int)wxROMAN
));
42540 PyDict_SetItemString(d
,"SCRIPT", SWIG_FromInt((int)wxSCRIPT
));
42541 PyDict_SetItemString(d
,"SWISS", SWIG_FromInt((int)wxSWISS
));
42542 PyDict_SetItemString(d
,"MODERN", SWIG_FromInt((int)wxMODERN
));
42543 PyDict_SetItemString(d
,"TELETYPE", SWIG_FromInt((int)wxTELETYPE
));
42544 PyDict_SetItemString(d
,"VARIABLE", SWIG_FromInt((int)wxVARIABLE
));
42545 PyDict_SetItemString(d
,"FIXED", SWIG_FromInt((int)wxFIXED
));
42546 PyDict_SetItemString(d
,"NORMAL", SWIG_FromInt((int)wxNORMAL
));
42547 PyDict_SetItemString(d
,"LIGHT", SWIG_FromInt((int)wxLIGHT
));
42548 PyDict_SetItemString(d
,"BOLD", SWIG_FromInt((int)wxBOLD
));
42549 PyDict_SetItemString(d
,"ITALIC", SWIG_FromInt((int)wxITALIC
));
42550 PyDict_SetItemString(d
,"SLANT", SWIG_FromInt((int)wxSLANT
));
42551 PyDict_SetItemString(d
,"SOLID", SWIG_FromInt((int)wxSOLID
));
42552 PyDict_SetItemString(d
,"DOT", SWIG_FromInt((int)wxDOT
));
42553 PyDict_SetItemString(d
,"LONG_DASH", SWIG_FromInt((int)wxLONG_DASH
));
42554 PyDict_SetItemString(d
,"SHORT_DASH", SWIG_FromInt((int)wxSHORT_DASH
));
42555 PyDict_SetItemString(d
,"DOT_DASH", SWIG_FromInt((int)wxDOT_DASH
));
42556 PyDict_SetItemString(d
,"USER_DASH", SWIG_FromInt((int)wxUSER_DASH
));
42557 PyDict_SetItemString(d
,"TRANSPARENT", SWIG_FromInt((int)wxTRANSPARENT
));
42558 PyDict_SetItemString(d
,"STIPPLE", SWIG_FromInt((int)wxSTIPPLE
));
42559 PyDict_SetItemString(d
,"BDIAGONAL_HATCH", SWIG_FromInt((int)wxBDIAGONAL_HATCH
));
42560 PyDict_SetItemString(d
,"CROSSDIAG_HATCH", SWIG_FromInt((int)wxCROSSDIAG_HATCH
));
42561 PyDict_SetItemString(d
,"FDIAGONAL_HATCH", SWIG_FromInt((int)wxFDIAGONAL_HATCH
));
42562 PyDict_SetItemString(d
,"CROSS_HATCH", SWIG_FromInt((int)wxCROSS_HATCH
));
42563 PyDict_SetItemString(d
,"HORIZONTAL_HATCH", SWIG_FromInt((int)wxHORIZONTAL_HATCH
));
42564 PyDict_SetItemString(d
,"VERTICAL_HATCH", SWIG_FromInt((int)wxVERTICAL_HATCH
));
42565 PyDict_SetItemString(d
,"JOIN_BEVEL", SWIG_FromInt((int)wxJOIN_BEVEL
));
42566 PyDict_SetItemString(d
,"JOIN_MITER", SWIG_FromInt((int)wxJOIN_MITER
));
42567 PyDict_SetItemString(d
,"JOIN_ROUND", SWIG_FromInt((int)wxJOIN_ROUND
));
42568 PyDict_SetItemString(d
,"CAP_ROUND", SWIG_FromInt((int)wxCAP_ROUND
));
42569 PyDict_SetItemString(d
,"CAP_PROJECTING", SWIG_FromInt((int)wxCAP_PROJECTING
));
42570 PyDict_SetItemString(d
,"CAP_BUTT", SWIG_FromInt((int)wxCAP_BUTT
));
42571 PyDict_SetItemString(d
,"CLEAR", SWIG_FromInt((int)wxCLEAR
));
42572 PyDict_SetItemString(d
,"XOR", SWIG_FromInt((int)wxXOR
));
42573 PyDict_SetItemString(d
,"INVERT", SWIG_FromInt((int)wxINVERT
));
42574 PyDict_SetItemString(d
,"OR_REVERSE", SWIG_FromInt((int)wxOR_REVERSE
));
42575 PyDict_SetItemString(d
,"AND_REVERSE", SWIG_FromInt((int)wxAND_REVERSE
));
42576 PyDict_SetItemString(d
,"COPY", SWIG_FromInt((int)wxCOPY
));
42577 PyDict_SetItemString(d
,"AND", SWIG_FromInt((int)wxAND
));
42578 PyDict_SetItemString(d
,"AND_INVERT", SWIG_FromInt((int)wxAND_INVERT
));
42579 PyDict_SetItemString(d
,"NO_OP", SWIG_FromInt((int)wxNO_OP
));
42580 PyDict_SetItemString(d
,"NOR", SWIG_FromInt((int)wxNOR
));
42581 PyDict_SetItemString(d
,"EQUIV", SWIG_FromInt((int)wxEQUIV
));
42582 PyDict_SetItemString(d
,"SRC_INVERT", SWIG_FromInt((int)wxSRC_INVERT
));
42583 PyDict_SetItemString(d
,"OR_INVERT", SWIG_FromInt((int)wxOR_INVERT
));
42584 PyDict_SetItemString(d
,"NAND", SWIG_FromInt((int)wxNAND
));
42585 PyDict_SetItemString(d
,"OR", SWIG_FromInt((int)wxOR
));
42586 PyDict_SetItemString(d
,"SET", SWIG_FromInt((int)wxSET
));
42587 PyDict_SetItemString(d
,"WXK_BACK", SWIG_FromInt((int)WXK_BACK
));
42588 PyDict_SetItemString(d
,"WXK_TAB", SWIG_FromInt((int)WXK_TAB
));
42589 PyDict_SetItemString(d
,"WXK_RETURN", SWIG_FromInt((int)WXK_RETURN
));
42590 PyDict_SetItemString(d
,"WXK_ESCAPE", SWIG_FromInt((int)WXK_ESCAPE
));
42591 PyDict_SetItemString(d
,"WXK_SPACE", SWIG_FromInt((int)WXK_SPACE
));
42592 PyDict_SetItemString(d
,"WXK_DELETE", SWIG_FromInt((int)WXK_DELETE
));
42593 PyDict_SetItemString(d
,"WXK_START", SWIG_FromInt((int)WXK_START
));
42594 PyDict_SetItemString(d
,"WXK_LBUTTON", SWIG_FromInt((int)WXK_LBUTTON
));
42595 PyDict_SetItemString(d
,"WXK_RBUTTON", SWIG_FromInt((int)WXK_RBUTTON
));
42596 PyDict_SetItemString(d
,"WXK_CANCEL", SWIG_FromInt((int)WXK_CANCEL
));
42597 PyDict_SetItemString(d
,"WXK_MBUTTON", SWIG_FromInt((int)WXK_MBUTTON
));
42598 PyDict_SetItemString(d
,"WXK_CLEAR", SWIG_FromInt((int)WXK_CLEAR
));
42599 PyDict_SetItemString(d
,"WXK_SHIFT", SWIG_FromInt((int)WXK_SHIFT
));
42600 PyDict_SetItemString(d
,"WXK_ALT", SWIG_FromInt((int)WXK_ALT
));
42601 PyDict_SetItemString(d
,"WXK_CONTROL", SWIG_FromInt((int)WXK_CONTROL
));
42602 PyDict_SetItemString(d
,"WXK_MENU", SWIG_FromInt((int)WXK_MENU
));
42603 PyDict_SetItemString(d
,"WXK_PAUSE", SWIG_FromInt((int)WXK_PAUSE
));
42604 PyDict_SetItemString(d
,"WXK_CAPITAL", SWIG_FromInt((int)WXK_CAPITAL
));
42605 PyDict_SetItemString(d
,"WXK_PRIOR", SWIG_FromInt((int)WXK_PRIOR
));
42606 PyDict_SetItemString(d
,"WXK_NEXT", SWIG_FromInt((int)WXK_NEXT
));
42607 PyDict_SetItemString(d
,"WXK_END", SWIG_FromInt((int)WXK_END
));
42608 PyDict_SetItemString(d
,"WXK_HOME", SWIG_FromInt((int)WXK_HOME
));
42609 PyDict_SetItemString(d
,"WXK_LEFT", SWIG_FromInt((int)WXK_LEFT
));
42610 PyDict_SetItemString(d
,"WXK_UP", SWIG_FromInt((int)WXK_UP
));
42611 PyDict_SetItemString(d
,"WXK_RIGHT", SWIG_FromInt((int)WXK_RIGHT
));
42612 PyDict_SetItemString(d
,"WXK_DOWN", SWIG_FromInt((int)WXK_DOWN
));
42613 PyDict_SetItemString(d
,"WXK_SELECT", SWIG_FromInt((int)WXK_SELECT
));
42614 PyDict_SetItemString(d
,"WXK_PRINT", SWIG_FromInt((int)WXK_PRINT
));
42615 PyDict_SetItemString(d
,"WXK_EXECUTE", SWIG_FromInt((int)WXK_EXECUTE
));
42616 PyDict_SetItemString(d
,"WXK_SNAPSHOT", SWIG_FromInt((int)WXK_SNAPSHOT
));
42617 PyDict_SetItemString(d
,"WXK_INSERT", SWIG_FromInt((int)WXK_INSERT
));
42618 PyDict_SetItemString(d
,"WXK_HELP", SWIG_FromInt((int)WXK_HELP
));
42619 PyDict_SetItemString(d
,"WXK_NUMPAD0", SWIG_FromInt((int)WXK_NUMPAD0
));
42620 PyDict_SetItemString(d
,"WXK_NUMPAD1", SWIG_FromInt((int)WXK_NUMPAD1
));
42621 PyDict_SetItemString(d
,"WXK_NUMPAD2", SWIG_FromInt((int)WXK_NUMPAD2
));
42622 PyDict_SetItemString(d
,"WXK_NUMPAD3", SWIG_FromInt((int)WXK_NUMPAD3
));
42623 PyDict_SetItemString(d
,"WXK_NUMPAD4", SWIG_FromInt((int)WXK_NUMPAD4
));
42624 PyDict_SetItemString(d
,"WXK_NUMPAD5", SWIG_FromInt((int)WXK_NUMPAD5
));
42625 PyDict_SetItemString(d
,"WXK_NUMPAD6", SWIG_FromInt((int)WXK_NUMPAD6
));
42626 PyDict_SetItemString(d
,"WXK_NUMPAD7", SWIG_FromInt((int)WXK_NUMPAD7
));
42627 PyDict_SetItemString(d
,"WXK_NUMPAD8", SWIG_FromInt((int)WXK_NUMPAD8
));
42628 PyDict_SetItemString(d
,"WXK_NUMPAD9", SWIG_FromInt((int)WXK_NUMPAD9
));
42629 PyDict_SetItemString(d
,"WXK_MULTIPLY", SWIG_FromInt((int)WXK_MULTIPLY
));
42630 PyDict_SetItemString(d
,"WXK_ADD", SWIG_FromInt((int)WXK_ADD
));
42631 PyDict_SetItemString(d
,"WXK_SEPARATOR", SWIG_FromInt((int)WXK_SEPARATOR
));
42632 PyDict_SetItemString(d
,"WXK_SUBTRACT", SWIG_FromInt((int)WXK_SUBTRACT
));
42633 PyDict_SetItemString(d
,"WXK_DECIMAL", SWIG_FromInt((int)WXK_DECIMAL
));
42634 PyDict_SetItemString(d
,"WXK_DIVIDE", SWIG_FromInt((int)WXK_DIVIDE
));
42635 PyDict_SetItemString(d
,"WXK_F1", SWIG_FromInt((int)WXK_F1
));
42636 PyDict_SetItemString(d
,"WXK_F2", SWIG_FromInt((int)WXK_F2
));
42637 PyDict_SetItemString(d
,"WXK_F3", SWIG_FromInt((int)WXK_F3
));
42638 PyDict_SetItemString(d
,"WXK_F4", SWIG_FromInt((int)WXK_F4
));
42639 PyDict_SetItemString(d
,"WXK_F5", SWIG_FromInt((int)WXK_F5
));
42640 PyDict_SetItemString(d
,"WXK_F6", SWIG_FromInt((int)WXK_F6
));
42641 PyDict_SetItemString(d
,"WXK_F7", SWIG_FromInt((int)WXK_F7
));
42642 PyDict_SetItemString(d
,"WXK_F8", SWIG_FromInt((int)WXK_F8
));
42643 PyDict_SetItemString(d
,"WXK_F9", SWIG_FromInt((int)WXK_F9
));
42644 PyDict_SetItemString(d
,"WXK_F10", SWIG_FromInt((int)WXK_F10
));
42645 PyDict_SetItemString(d
,"WXK_F11", SWIG_FromInt((int)WXK_F11
));
42646 PyDict_SetItemString(d
,"WXK_F12", SWIG_FromInt((int)WXK_F12
));
42647 PyDict_SetItemString(d
,"WXK_F13", SWIG_FromInt((int)WXK_F13
));
42648 PyDict_SetItemString(d
,"WXK_F14", SWIG_FromInt((int)WXK_F14
));
42649 PyDict_SetItemString(d
,"WXK_F15", SWIG_FromInt((int)WXK_F15
));
42650 PyDict_SetItemString(d
,"WXK_F16", SWIG_FromInt((int)WXK_F16
));
42651 PyDict_SetItemString(d
,"WXK_F17", SWIG_FromInt((int)WXK_F17
));
42652 PyDict_SetItemString(d
,"WXK_F18", SWIG_FromInt((int)WXK_F18
));
42653 PyDict_SetItemString(d
,"WXK_F19", SWIG_FromInt((int)WXK_F19
));
42654 PyDict_SetItemString(d
,"WXK_F20", SWIG_FromInt((int)WXK_F20
));
42655 PyDict_SetItemString(d
,"WXK_F21", SWIG_FromInt((int)WXK_F21
));
42656 PyDict_SetItemString(d
,"WXK_F22", SWIG_FromInt((int)WXK_F22
));
42657 PyDict_SetItemString(d
,"WXK_F23", SWIG_FromInt((int)WXK_F23
));
42658 PyDict_SetItemString(d
,"WXK_F24", SWIG_FromInt((int)WXK_F24
));
42659 PyDict_SetItemString(d
,"WXK_NUMLOCK", SWIG_FromInt((int)WXK_NUMLOCK
));
42660 PyDict_SetItemString(d
,"WXK_SCROLL", SWIG_FromInt((int)WXK_SCROLL
));
42661 PyDict_SetItemString(d
,"WXK_PAGEUP", SWIG_FromInt((int)WXK_PAGEUP
));
42662 PyDict_SetItemString(d
,"WXK_PAGEDOWN", SWIG_FromInt((int)WXK_PAGEDOWN
));
42663 PyDict_SetItemString(d
,"WXK_NUMPAD_SPACE", SWIG_FromInt((int)WXK_NUMPAD_SPACE
));
42664 PyDict_SetItemString(d
,"WXK_NUMPAD_TAB", SWIG_FromInt((int)WXK_NUMPAD_TAB
));
42665 PyDict_SetItemString(d
,"WXK_NUMPAD_ENTER", SWIG_FromInt((int)WXK_NUMPAD_ENTER
));
42666 PyDict_SetItemString(d
,"WXK_NUMPAD_F1", SWIG_FromInt((int)WXK_NUMPAD_F1
));
42667 PyDict_SetItemString(d
,"WXK_NUMPAD_F2", SWIG_FromInt((int)WXK_NUMPAD_F2
));
42668 PyDict_SetItemString(d
,"WXK_NUMPAD_F3", SWIG_FromInt((int)WXK_NUMPAD_F3
));
42669 PyDict_SetItemString(d
,"WXK_NUMPAD_F4", SWIG_FromInt((int)WXK_NUMPAD_F4
));
42670 PyDict_SetItemString(d
,"WXK_NUMPAD_HOME", SWIG_FromInt((int)WXK_NUMPAD_HOME
));
42671 PyDict_SetItemString(d
,"WXK_NUMPAD_LEFT", SWIG_FromInt((int)WXK_NUMPAD_LEFT
));
42672 PyDict_SetItemString(d
,"WXK_NUMPAD_UP", SWIG_FromInt((int)WXK_NUMPAD_UP
));
42673 PyDict_SetItemString(d
,"WXK_NUMPAD_RIGHT", SWIG_FromInt((int)WXK_NUMPAD_RIGHT
));
42674 PyDict_SetItemString(d
,"WXK_NUMPAD_DOWN", SWIG_FromInt((int)WXK_NUMPAD_DOWN
));
42675 PyDict_SetItemString(d
,"WXK_NUMPAD_PRIOR", SWIG_FromInt((int)WXK_NUMPAD_PRIOR
));
42676 PyDict_SetItemString(d
,"WXK_NUMPAD_PAGEUP", SWIG_FromInt((int)WXK_NUMPAD_PAGEUP
));
42677 PyDict_SetItemString(d
,"WXK_NUMPAD_NEXT", SWIG_FromInt((int)WXK_NUMPAD_NEXT
));
42678 PyDict_SetItemString(d
,"WXK_NUMPAD_PAGEDOWN", SWIG_FromInt((int)WXK_NUMPAD_PAGEDOWN
));
42679 PyDict_SetItemString(d
,"WXK_NUMPAD_END", SWIG_FromInt((int)WXK_NUMPAD_END
));
42680 PyDict_SetItemString(d
,"WXK_NUMPAD_BEGIN", SWIG_FromInt((int)WXK_NUMPAD_BEGIN
));
42681 PyDict_SetItemString(d
,"WXK_NUMPAD_INSERT", SWIG_FromInt((int)WXK_NUMPAD_INSERT
));
42682 PyDict_SetItemString(d
,"WXK_NUMPAD_DELETE", SWIG_FromInt((int)WXK_NUMPAD_DELETE
));
42683 PyDict_SetItemString(d
,"WXK_NUMPAD_EQUAL", SWIG_FromInt((int)WXK_NUMPAD_EQUAL
));
42684 PyDict_SetItemString(d
,"WXK_NUMPAD_MULTIPLY", SWIG_FromInt((int)WXK_NUMPAD_MULTIPLY
));
42685 PyDict_SetItemString(d
,"WXK_NUMPAD_ADD", SWIG_FromInt((int)WXK_NUMPAD_ADD
));
42686 PyDict_SetItemString(d
,"WXK_NUMPAD_SEPARATOR", SWIG_FromInt((int)WXK_NUMPAD_SEPARATOR
));
42687 PyDict_SetItemString(d
,"WXK_NUMPAD_SUBTRACT", SWIG_FromInt((int)WXK_NUMPAD_SUBTRACT
));
42688 PyDict_SetItemString(d
,"WXK_NUMPAD_DECIMAL", SWIG_FromInt((int)WXK_NUMPAD_DECIMAL
));
42689 PyDict_SetItemString(d
,"WXK_NUMPAD_DIVIDE", SWIG_FromInt((int)WXK_NUMPAD_DIVIDE
));
42690 PyDict_SetItemString(d
,"WXK_WINDOWS_LEFT", SWIG_FromInt((int)WXK_WINDOWS_LEFT
));
42691 PyDict_SetItemString(d
,"WXK_WINDOWS_RIGHT", SWIG_FromInt((int)WXK_WINDOWS_RIGHT
));
42692 PyDict_SetItemString(d
,"WXK_WINDOWS_MENU", SWIG_FromInt((int)WXK_WINDOWS_MENU
));
42693 PyDict_SetItemString(d
,"PAPER_NONE", SWIG_FromInt((int)wxPAPER_NONE
));
42694 PyDict_SetItemString(d
,"PAPER_LETTER", SWIG_FromInt((int)wxPAPER_LETTER
));
42695 PyDict_SetItemString(d
,"PAPER_LEGAL", SWIG_FromInt((int)wxPAPER_LEGAL
));
42696 PyDict_SetItemString(d
,"PAPER_A4", SWIG_FromInt((int)wxPAPER_A4
));
42697 PyDict_SetItemString(d
,"PAPER_CSHEET", SWIG_FromInt((int)wxPAPER_CSHEET
));
42698 PyDict_SetItemString(d
,"PAPER_DSHEET", SWIG_FromInt((int)wxPAPER_DSHEET
));
42699 PyDict_SetItemString(d
,"PAPER_ESHEET", SWIG_FromInt((int)wxPAPER_ESHEET
));
42700 PyDict_SetItemString(d
,"PAPER_LETTERSMALL", SWIG_FromInt((int)wxPAPER_LETTERSMALL
));
42701 PyDict_SetItemString(d
,"PAPER_TABLOID", SWIG_FromInt((int)wxPAPER_TABLOID
));
42702 PyDict_SetItemString(d
,"PAPER_LEDGER", SWIG_FromInt((int)wxPAPER_LEDGER
));
42703 PyDict_SetItemString(d
,"PAPER_STATEMENT", SWIG_FromInt((int)wxPAPER_STATEMENT
));
42704 PyDict_SetItemString(d
,"PAPER_EXECUTIVE", SWIG_FromInt((int)wxPAPER_EXECUTIVE
));
42705 PyDict_SetItemString(d
,"PAPER_A3", SWIG_FromInt((int)wxPAPER_A3
));
42706 PyDict_SetItemString(d
,"PAPER_A4SMALL", SWIG_FromInt((int)wxPAPER_A4SMALL
));
42707 PyDict_SetItemString(d
,"PAPER_A5", SWIG_FromInt((int)wxPAPER_A5
));
42708 PyDict_SetItemString(d
,"PAPER_B4", SWIG_FromInt((int)wxPAPER_B4
));
42709 PyDict_SetItemString(d
,"PAPER_B5", SWIG_FromInt((int)wxPAPER_B5
));
42710 PyDict_SetItemString(d
,"PAPER_FOLIO", SWIG_FromInt((int)wxPAPER_FOLIO
));
42711 PyDict_SetItemString(d
,"PAPER_QUARTO", SWIG_FromInt((int)wxPAPER_QUARTO
));
42712 PyDict_SetItemString(d
,"PAPER_10X14", SWIG_FromInt((int)wxPAPER_10X14
));
42713 PyDict_SetItemString(d
,"PAPER_11X17", SWIG_FromInt((int)wxPAPER_11X17
));
42714 PyDict_SetItemString(d
,"PAPER_NOTE", SWIG_FromInt((int)wxPAPER_NOTE
));
42715 PyDict_SetItemString(d
,"PAPER_ENV_9", SWIG_FromInt((int)wxPAPER_ENV_9
));
42716 PyDict_SetItemString(d
,"PAPER_ENV_10", SWIG_FromInt((int)wxPAPER_ENV_10
));
42717 PyDict_SetItemString(d
,"PAPER_ENV_11", SWIG_FromInt((int)wxPAPER_ENV_11
));
42718 PyDict_SetItemString(d
,"PAPER_ENV_12", SWIG_FromInt((int)wxPAPER_ENV_12
));
42719 PyDict_SetItemString(d
,"PAPER_ENV_14", SWIG_FromInt((int)wxPAPER_ENV_14
));
42720 PyDict_SetItemString(d
,"PAPER_ENV_DL", SWIG_FromInt((int)wxPAPER_ENV_DL
));
42721 PyDict_SetItemString(d
,"PAPER_ENV_C5", SWIG_FromInt((int)wxPAPER_ENV_C5
));
42722 PyDict_SetItemString(d
,"PAPER_ENV_C3", SWIG_FromInt((int)wxPAPER_ENV_C3
));
42723 PyDict_SetItemString(d
,"PAPER_ENV_C4", SWIG_FromInt((int)wxPAPER_ENV_C4
));
42724 PyDict_SetItemString(d
,"PAPER_ENV_C6", SWIG_FromInt((int)wxPAPER_ENV_C6
));
42725 PyDict_SetItemString(d
,"PAPER_ENV_C65", SWIG_FromInt((int)wxPAPER_ENV_C65
));
42726 PyDict_SetItemString(d
,"PAPER_ENV_B4", SWIG_FromInt((int)wxPAPER_ENV_B4
));
42727 PyDict_SetItemString(d
,"PAPER_ENV_B5", SWIG_FromInt((int)wxPAPER_ENV_B5
));
42728 PyDict_SetItemString(d
,"PAPER_ENV_B6", SWIG_FromInt((int)wxPAPER_ENV_B6
));
42729 PyDict_SetItemString(d
,"PAPER_ENV_ITALY", SWIG_FromInt((int)wxPAPER_ENV_ITALY
));
42730 PyDict_SetItemString(d
,"PAPER_ENV_MONARCH", SWIG_FromInt((int)wxPAPER_ENV_MONARCH
));
42731 PyDict_SetItemString(d
,"PAPER_ENV_PERSONAL", SWIG_FromInt((int)wxPAPER_ENV_PERSONAL
));
42732 PyDict_SetItemString(d
,"PAPER_FANFOLD_US", SWIG_FromInt((int)wxPAPER_FANFOLD_US
));
42733 PyDict_SetItemString(d
,"PAPER_FANFOLD_STD_GERMAN", SWIG_FromInt((int)wxPAPER_FANFOLD_STD_GERMAN
));
42734 PyDict_SetItemString(d
,"PAPER_FANFOLD_LGL_GERMAN", SWIG_FromInt((int)wxPAPER_FANFOLD_LGL_GERMAN
));
42735 PyDict_SetItemString(d
,"PAPER_ISO_B4", SWIG_FromInt((int)wxPAPER_ISO_B4
));
42736 PyDict_SetItemString(d
,"PAPER_JAPANESE_POSTCARD", SWIG_FromInt((int)wxPAPER_JAPANESE_POSTCARD
));
42737 PyDict_SetItemString(d
,"PAPER_9X11", SWIG_FromInt((int)wxPAPER_9X11
));
42738 PyDict_SetItemString(d
,"PAPER_10X11", SWIG_FromInt((int)wxPAPER_10X11
));
42739 PyDict_SetItemString(d
,"PAPER_15X11", SWIG_FromInt((int)wxPAPER_15X11
));
42740 PyDict_SetItemString(d
,"PAPER_ENV_INVITE", SWIG_FromInt((int)wxPAPER_ENV_INVITE
));
42741 PyDict_SetItemString(d
,"PAPER_LETTER_EXTRA", SWIG_FromInt((int)wxPAPER_LETTER_EXTRA
));
42742 PyDict_SetItemString(d
,"PAPER_LEGAL_EXTRA", SWIG_FromInt((int)wxPAPER_LEGAL_EXTRA
));
42743 PyDict_SetItemString(d
,"PAPER_TABLOID_EXTRA", SWIG_FromInt((int)wxPAPER_TABLOID_EXTRA
));
42744 PyDict_SetItemString(d
,"PAPER_A4_EXTRA", SWIG_FromInt((int)wxPAPER_A4_EXTRA
));
42745 PyDict_SetItemString(d
,"PAPER_LETTER_TRANSVERSE", SWIG_FromInt((int)wxPAPER_LETTER_TRANSVERSE
));
42746 PyDict_SetItemString(d
,"PAPER_A4_TRANSVERSE", SWIG_FromInt((int)wxPAPER_A4_TRANSVERSE
));
42747 PyDict_SetItemString(d
,"PAPER_LETTER_EXTRA_TRANSVERSE", SWIG_FromInt((int)wxPAPER_LETTER_EXTRA_TRANSVERSE
));
42748 PyDict_SetItemString(d
,"PAPER_A_PLUS", SWIG_FromInt((int)wxPAPER_A_PLUS
));
42749 PyDict_SetItemString(d
,"PAPER_B_PLUS", SWIG_FromInt((int)wxPAPER_B_PLUS
));
42750 PyDict_SetItemString(d
,"PAPER_LETTER_PLUS", SWIG_FromInt((int)wxPAPER_LETTER_PLUS
));
42751 PyDict_SetItemString(d
,"PAPER_A4_PLUS", SWIG_FromInt((int)wxPAPER_A4_PLUS
));
42752 PyDict_SetItemString(d
,"PAPER_A5_TRANSVERSE", SWIG_FromInt((int)wxPAPER_A5_TRANSVERSE
));
42753 PyDict_SetItemString(d
,"PAPER_B5_TRANSVERSE", SWIG_FromInt((int)wxPAPER_B5_TRANSVERSE
));
42754 PyDict_SetItemString(d
,"PAPER_A3_EXTRA", SWIG_FromInt((int)wxPAPER_A3_EXTRA
));
42755 PyDict_SetItemString(d
,"PAPER_A5_EXTRA", SWIG_FromInt((int)wxPAPER_A5_EXTRA
));
42756 PyDict_SetItemString(d
,"PAPER_B5_EXTRA", SWIG_FromInt((int)wxPAPER_B5_EXTRA
));
42757 PyDict_SetItemString(d
,"PAPER_A2", SWIG_FromInt((int)wxPAPER_A2
));
42758 PyDict_SetItemString(d
,"PAPER_A3_TRANSVERSE", SWIG_FromInt((int)wxPAPER_A3_TRANSVERSE
));
42759 PyDict_SetItemString(d
,"PAPER_A3_EXTRA_TRANSVERSE", SWIG_FromInt((int)wxPAPER_A3_EXTRA_TRANSVERSE
));
42760 PyDict_SetItemString(d
,"DUPLEX_SIMPLEX", SWIG_FromInt((int)wxDUPLEX_SIMPLEX
));
42761 PyDict_SetItemString(d
,"DUPLEX_HORIZONTAL", SWIG_FromInt((int)wxDUPLEX_HORIZONTAL
));
42762 PyDict_SetItemString(d
,"DUPLEX_VERTICAL", SWIG_FromInt((int)wxDUPLEX_VERTICAL
));
42763 PyDict_SetItemString(d
,"ITEM_SEPARATOR", SWIG_FromInt((int)wxITEM_SEPARATOR
));
42764 PyDict_SetItemString(d
,"ITEM_NORMAL", SWIG_FromInt((int)wxITEM_NORMAL
));
42765 PyDict_SetItemString(d
,"ITEM_CHECK", SWIG_FromInt((int)wxITEM_CHECK
));
42766 PyDict_SetItemString(d
,"ITEM_RADIO", SWIG_FromInt((int)wxITEM_RADIO
));
42767 PyDict_SetItemString(d
,"ITEM_MAX", SWIG_FromInt((int)wxITEM_MAX
));
42768 PyDict_SetItemString(d
,"HT_NOWHERE", SWIG_FromInt((int)wxHT_NOWHERE
));
42769 PyDict_SetItemString(d
,"HT_SCROLLBAR_FIRST", SWIG_FromInt((int)wxHT_SCROLLBAR_FIRST
));
42770 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_LINE_1", SWIG_FromInt((int)wxHT_SCROLLBAR_ARROW_LINE_1
));
42771 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_LINE_2", SWIG_FromInt((int)wxHT_SCROLLBAR_ARROW_LINE_2
));
42772 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_PAGE_1", SWIG_FromInt((int)wxHT_SCROLLBAR_ARROW_PAGE_1
));
42773 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_PAGE_2", SWIG_FromInt((int)wxHT_SCROLLBAR_ARROW_PAGE_2
));
42774 PyDict_SetItemString(d
,"HT_SCROLLBAR_THUMB", SWIG_FromInt((int)wxHT_SCROLLBAR_THUMB
));
42775 PyDict_SetItemString(d
,"HT_SCROLLBAR_BAR_1", SWIG_FromInt((int)wxHT_SCROLLBAR_BAR_1
));
42776 PyDict_SetItemString(d
,"HT_SCROLLBAR_BAR_2", SWIG_FromInt((int)wxHT_SCROLLBAR_BAR_2
));
42777 PyDict_SetItemString(d
,"HT_SCROLLBAR_LAST", SWIG_FromInt((int)wxHT_SCROLLBAR_LAST
));
42778 PyDict_SetItemString(d
,"HT_WINDOW_OUTSIDE", SWIG_FromInt((int)wxHT_WINDOW_OUTSIDE
));
42779 PyDict_SetItemString(d
,"HT_WINDOW_INSIDE", SWIG_FromInt((int)wxHT_WINDOW_INSIDE
));
42780 PyDict_SetItemString(d
,"HT_WINDOW_VERT_SCROLLBAR", SWIG_FromInt((int)wxHT_WINDOW_VERT_SCROLLBAR
));
42781 PyDict_SetItemString(d
,"HT_WINDOW_HORZ_SCROLLBAR", SWIG_FromInt((int)wxHT_WINDOW_HORZ_SCROLLBAR
));
42782 PyDict_SetItemString(d
,"HT_WINDOW_CORNER", SWIG_FromInt((int)wxHT_WINDOW_CORNER
));
42783 PyDict_SetItemString(d
,"HT_MAX", SWIG_FromInt((int)wxHT_MAX
));
42784 PyDict_SetItemString(d
,"MOD_NONE", SWIG_FromInt((int)wxMOD_NONE
));
42785 PyDict_SetItemString(d
,"MOD_ALT", SWIG_FromInt((int)wxMOD_ALT
));
42786 PyDict_SetItemString(d
,"MOD_CONTROL", SWIG_FromInt((int)wxMOD_CONTROL
));
42787 PyDict_SetItemString(d
,"MOD_SHIFT", SWIG_FromInt((int)wxMOD_SHIFT
));
42788 PyDict_SetItemString(d
,"MOD_WIN", SWIG_FromInt((int)wxMOD_WIN
));
42789 PyDict_SetItemString(d
,"UPDATE_UI_NONE", SWIG_FromInt((int)wxUPDATE_UI_NONE
));
42790 PyDict_SetItemString(d
,"UPDATE_UI_RECURSE", SWIG_FromInt((int)wxUPDATE_UI_RECURSE
));
42791 PyDict_SetItemString(d
,"UPDATE_UI_FROMIDLE", SWIG_FromInt((int)wxUPDATE_UI_FROMIDLE
));
42792 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
42793 SWIG_addvarlink(SWIG_globals
,(char*)"EmptyString",_wrap_EmptyString_get
, _wrap_EmptyString_set
);
42794 PyDict_SetItemString(d
,"BITMAP_TYPE_INVALID", SWIG_FromInt((int)wxBITMAP_TYPE_INVALID
));
42795 PyDict_SetItemString(d
,"BITMAP_TYPE_BMP", SWIG_FromInt((int)wxBITMAP_TYPE_BMP
));
42796 PyDict_SetItemString(d
,"BITMAP_TYPE_ICO", SWIG_FromInt((int)wxBITMAP_TYPE_ICO
));
42797 PyDict_SetItemString(d
,"BITMAP_TYPE_CUR", SWIG_FromInt((int)wxBITMAP_TYPE_CUR
));
42798 PyDict_SetItemString(d
,"BITMAP_TYPE_XBM", SWIG_FromInt((int)wxBITMAP_TYPE_XBM
));
42799 PyDict_SetItemString(d
,"BITMAP_TYPE_XBM_DATA", SWIG_FromInt((int)wxBITMAP_TYPE_XBM_DATA
));
42800 PyDict_SetItemString(d
,"BITMAP_TYPE_XPM", SWIG_FromInt((int)wxBITMAP_TYPE_XPM
));
42801 PyDict_SetItemString(d
,"BITMAP_TYPE_XPM_DATA", SWIG_FromInt((int)wxBITMAP_TYPE_XPM_DATA
));
42802 PyDict_SetItemString(d
,"BITMAP_TYPE_TIF", SWIG_FromInt((int)wxBITMAP_TYPE_TIF
));
42803 PyDict_SetItemString(d
,"BITMAP_TYPE_GIF", SWIG_FromInt((int)wxBITMAP_TYPE_GIF
));
42804 PyDict_SetItemString(d
,"BITMAP_TYPE_PNG", SWIG_FromInt((int)wxBITMAP_TYPE_PNG
));
42805 PyDict_SetItemString(d
,"BITMAP_TYPE_JPEG", SWIG_FromInt((int)wxBITMAP_TYPE_JPEG
));
42806 PyDict_SetItemString(d
,"BITMAP_TYPE_PNM", SWIG_FromInt((int)wxBITMAP_TYPE_PNM
));
42807 PyDict_SetItemString(d
,"BITMAP_TYPE_PCX", SWIG_FromInt((int)wxBITMAP_TYPE_PCX
));
42808 PyDict_SetItemString(d
,"BITMAP_TYPE_PICT", SWIG_FromInt((int)wxBITMAP_TYPE_PICT
));
42809 PyDict_SetItemString(d
,"BITMAP_TYPE_ICON", SWIG_FromInt((int)wxBITMAP_TYPE_ICON
));
42810 PyDict_SetItemString(d
,"BITMAP_TYPE_ANI", SWIG_FromInt((int)wxBITMAP_TYPE_ANI
));
42811 PyDict_SetItemString(d
,"BITMAP_TYPE_IFF", SWIG_FromInt((int)wxBITMAP_TYPE_IFF
));
42812 PyDict_SetItemString(d
,"BITMAP_TYPE_MACCURSOR", SWIG_FromInt((int)wxBITMAP_TYPE_MACCURSOR
));
42813 PyDict_SetItemString(d
,"BITMAP_TYPE_ANY", SWIG_FromInt((int)wxBITMAP_TYPE_ANY
));
42814 PyDict_SetItemString(d
,"CURSOR_NONE", SWIG_FromInt((int)wxCURSOR_NONE
));
42815 PyDict_SetItemString(d
,"CURSOR_ARROW", SWIG_FromInt((int)wxCURSOR_ARROW
));
42816 PyDict_SetItemString(d
,"CURSOR_RIGHT_ARROW", SWIG_FromInt((int)wxCURSOR_RIGHT_ARROW
));
42817 PyDict_SetItemString(d
,"CURSOR_BULLSEYE", SWIG_FromInt((int)wxCURSOR_BULLSEYE
));
42818 PyDict_SetItemString(d
,"CURSOR_CHAR", SWIG_FromInt((int)wxCURSOR_CHAR
));
42819 PyDict_SetItemString(d
,"CURSOR_CROSS", SWIG_FromInt((int)wxCURSOR_CROSS
));
42820 PyDict_SetItemString(d
,"CURSOR_HAND", SWIG_FromInt((int)wxCURSOR_HAND
));
42821 PyDict_SetItemString(d
,"CURSOR_IBEAM", SWIG_FromInt((int)wxCURSOR_IBEAM
));
42822 PyDict_SetItemString(d
,"CURSOR_LEFT_BUTTON", SWIG_FromInt((int)wxCURSOR_LEFT_BUTTON
));
42823 PyDict_SetItemString(d
,"CURSOR_MAGNIFIER", SWIG_FromInt((int)wxCURSOR_MAGNIFIER
));
42824 PyDict_SetItemString(d
,"CURSOR_MIDDLE_BUTTON", SWIG_FromInt((int)wxCURSOR_MIDDLE_BUTTON
));
42825 PyDict_SetItemString(d
,"CURSOR_NO_ENTRY", SWIG_FromInt((int)wxCURSOR_NO_ENTRY
));
42826 PyDict_SetItemString(d
,"CURSOR_PAINT_BRUSH", SWIG_FromInt((int)wxCURSOR_PAINT_BRUSH
));
42827 PyDict_SetItemString(d
,"CURSOR_PENCIL", SWIG_FromInt((int)wxCURSOR_PENCIL
));
42828 PyDict_SetItemString(d
,"CURSOR_POINT_LEFT", SWIG_FromInt((int)wxCURSOR_POINT_LEFT
));
42829 PyDict_SetItemString(d
,"CURSOR_POINT_RIGHT", SWIG_FromInt((int)wxCURSOR_POINT_RIGHT
));
42830 PyDict_SetItemString(d
,"CURSOR_QUESTION_ARROW", SWIG_FromInt((int)wxCURSOR_QUESTION_ARROW
));
42831 PyDict_SetItemString(d
,"CURSOR_RIGHT_BUTTON", SWIG_FromInt((int)wxCURSOR_RIGHT_BUTTON
));
42832 PyDict_SetItemString(d
,"CURSOR_SIZENESW", SWIG_FromInt((int)wxCURSOR_SIZENESW
));
42833 PyDict_SetItemString(d
,"CURSOR_SIZENS", SWIG_FromInt((int)wxCURSOR_SIZENS
));
42834 PyDict_SetItemString(d
,"CURSOR_SIZENWSE", SWIG_FromInt((int)wxCURSOR_SIZENWSE
));
42835 PyDict_SetItemString(d
,"CURSOR_SIZEWE", SWIG_FromInt((int)wxCURSOR_SIZEWE
));
42836 PyDict_SetItemString(d
,"CURSOR_SIZING", SWIG_FromInt((int)wxCURSOR_SIZING
));
42837 PyDict_SetItemString(d
,"CURSOR_SPRAYCAN", SWIG_FromInt((int)wxCURSOR_SPRAYCAN
));
42838 PyDict_SetItemString(d
,"CURSOR_WAIT", SWIG_FromInt((int)wxCURSOR_WAIT
));
42839 PyDict_SetItemString(d
,"CURSOR_WATCH", SWIG_FromInt((int)wxCURSOR_WATCH
));
42840 PyDict_SetItemString(d
,"CURSOR_BLANK", SWIG_FromInt((int)wxCURSOR_BLANK
));
42841 PyDict_SetItemString(d
,"CURSOR_DEFAULT", SWIG_FromInt((int)wxCURSOR_DEFAULT
));
42842 PyDict_SetItemString(d
,"CURSOR_COPY_ARROW", SWIG_FromInt((int)wxCURSOR_COPY_ARROW
));
42843 PyDict_SetItemString(d
,"CURSOR_ARROWWAIT", SWIG_FromInt((int)wxCURSOR_ARROWWAIT
));
42844 PyDict_SetItemString(d
,"CURSOR_MAX", SWIG_FromInt((int)wxCURSOR_MAX
));
42845 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultPosition",_wrap_DefaultPosition_get
, _wrap_DefaultPosition_set
);
42846 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultSize",_wrap_DefaultSize_get
, _wrap_DefaultSize_set
);
42847 PyDict_SetItemString(d
,"FromStart", SWIG_FromInt((int)wxFromStart
));
42848 PyDict_SetItemString(d
,"FromCurrent", SWIG_FromInt((int)wxFromCurrent
));
42849 PyDict_SetItemString(d
,"FromEnd", SWIG_FromInt((int)wxFromEnd
));
42851 wxPyPtrTypeMap_Add("wxInputStream", "wxPyInputStream");
42854 wxPyPtrTypeMap_Add("wxFileSystemHandler", "wxPyFileSystemHandler");
42856 SWIG_addvarlink(SWIG_globals
,(char*)"NullImage",_wrap_NullImage_get
, _wrap_NullImage_set
);
42857 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_BMP_FORMAT",_wrap_IMAGE_OPTION_BMP_FORMAT_get
, _wrap_IMAGE_OPTION_BMP_FORMAT_set
);
42858 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_CUR_HOTSPOT_X",_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get
, _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set
);
42859 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_CUR_HOTSPOT_Y",_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get
, _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set
);
42860 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTION",_wrap_IMAGE_OPTION_RESOLUTION_get
, _wrap_IMAGE_OPTION_RESOLUTION_set
);
42861 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTIONUNIT",_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get
, _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set
);
42862 PyDict_SetItemString(d
,"IMAGE_RESOLUTION_INCHES", SWIG_FromInt((int)wxIMAGE_RESOLUTION_INCHES
));
42863 PyDict_SetItemString(d
,"IMAGE_RESOLUTION_CM", SWIG_FromInt((int)wxIMAGE_RESOLUTION_CM
));
42864 PyDict_SetItemString(d
,"BMP_24BPP", SWIG_FromInt((int)wxBMP_24BPP
));
42865 PyDict_SetItemString(d
,"BMP_8BPP", SWIG_FromInt((int)wxBMP_8BPP
));
42866 PyDict_SetItemString(d
,"BMP_8BPP_GREY", SWIG_FromInt((int)wxBMP_8BPP_GREY
));
42867 PyDict_SetItemString(d
,"BMP_8BPP_GRAY", SWIG_FromInt((int)wxBMP_8BPP_GRAY
));
42868 PyDict_SetItemString(d
,"BMP_8BPP_RED", SWIG_FromInt((int)wxBMP_8BPP_RED
));
42869 PyDict_SetItemString(d
,"BMP_8BPP_PALETTE", SWIG_FromInt((int)wxBMP_8BPP_PALETTE
));
42870 PyDict_SetItemString(d
,"BMP_4BPP", SWIG_FromInt((int)wxBMP_4BPP
));
42871 PyDict_SetItemString(d
,"BMP_1BPP", SWIG_FromInt((int)wxBMP_1BPP
));
42872 PyDict_SetItemString(d
,"BMP_1BPP_BW", SWIG_FromInt((int)wxBMP_1BPP_BW
));
42873 PyDict_SetItemString(d
,"EVENT_PROPAGATE_NONE", SWIG_FromInt((int)wxEVENT_PROPAGATE_NONE
));
42874 PyDict_SetItemString(d
,"EVENT_PROPAGATE_MAX", SWIG_FromInt((int)wxEVENT_PROPAGATE_MAX
));
42875 PyDict_SetItemString(d
, "wxEVT_NULL", PyInt_FromLong(wxEVT_NULL
));
42876 PyDict_SetItemString(d
, "wxEVT_FIRST", PyInt_FromLong(wxEVT_FIRST
));
42877 PyDict_SetItemString(d
, "wxEVT_USER_FIRST", PyInt_FromLong(wxEVT_USER_FIRST
));
42878 PyDict_SetItemString(d
, "wxEVT_COMMAND_BUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_BUTTON_CLICKED
));
42879 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKBOX_CLICKED", PyInt_FromLong(wxEVT_COMMAND_CHECKBOX_CLICKED
));
42880 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICE_SELECTED", PyInt_FromLong(wxEVT_COMMAND_CHOICE_SELECTED
));
42881 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_SELECTED
));
42882 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_DOUBLECLICKED
));
42883 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKLISTBOX_TOGGLED", PyInt_FromLong(wxEVT_COMMAND_CHECKLISTBOX_TOGGLED
));
42884 PyDict_SetItemString(d
, "wxEVT_COMMAND_MENU_SELECTED", PyInt_FromLong(wxEVT_COMMAND_MENU_SELECTED
));
42885 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_CLICKED
));
42886 PyDict_SetItemString(d
, "wxEVT_COMMAND_SLIDER_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SLIDER_UPDATED
));
42887 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBOX_SELECTED
));
42888 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBUTTON_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBUTTON_SELECTED
));
42889 PyDict_SetItemString(d
, "wxEVT_COMMAND_SCROLLBAR_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SCROLLBAR_UPDATED
));
42890 PyDict_SetItemString(d
, "wxEVT_COMMAND_VLBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_VLBOX_SELECTED
));
42891 PyDict_SetItemString(d
, "wxEVT_COMMAND_COMBOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_COMBOBOX_SELECTED
));
42892 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_RCLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_RCLICKED
));
42893 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_ENTER", PyInt_FromLong(wxEVT_COMMAND_TOOL_ENTER
));
42894 PyDict_SetItemString(d
, "wxEVT_LEFT_DOWN", PyInt_FromLong(wxEVT_LEFT_DOWN
));
42895 PyDict_SetItemString(d
, "wxEVT_LEFT_UP", PyInt_FromLong(wxEVT_LEFT_UP
));
42896 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DOWN", PyInt_FromLong(wxEVT_MIDDLE_DOWN
));
42897 PyDict_SetItemString(d
, "wxEVT_MIDDLE_UP", PyInt_FromLong(wxEVT_MIDDLE_UP
));
42898 PyDict_SetItemString(d
, "wxEVT_RIGHT_DOWN", PyInt_FromLong(wxEVT_RIGHT_DOWN
));
42899 PyDict_SetItemString(d
, "wxEVT_RIGHT_UP", PyInt_FromLong(wxEVT_RIGHT_UP
));
42900 PyDict_SetItemString(d
, "wxEVT_MOTION", PyInt_FromLong(wxEVT_MOTION
));
42901 PyDict_SetItemString(d
, "wxEVT_ENTER_WINDOW", PyInt_FromLong(wxEVT_ENTER_WINDOW
));
42902 PyDict_SetItemString(d
, "wxEVT_LEAVE_WINDOW", PyInt_FromLong(wxEVT_LEAVE_WINDOW
));
42903 PyDict_SetItemString(d
, "wxEVT_LEFT_DCLICK", PyInt_FromLong(wxEVT_LEFT_DCLICK
));
42904 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_MIDDLE_DCLICK
));
42905 PyDict_SetItemString(d
, "wxEVT_RIGHT_DCLICK", PyInt_FromLong(wxEVT_RIGHT_DCLICK
));
42906 PyDict_SetItemString(d
, "wxEVT_SET_FOCUS", PyInt_FromLong(wxEVT_SET_FOCUS
));
42907 PyDict_SetItemString(d
, "wxEVT_KILL_FOCUS", PyInt_FromLong(wxEVT_KILL_FOCUS
));
42908 PyDict_SetItemString(d
, "wxEVT_CHILD_FOCUS", PyInt_FromLong(wxEVT_CHILD_FOCUS
));
42909 PyDict_SetItemString(d
, "wxEVT_MOUSEWHEEL", PyInt_FromLong(wxEVT_MOUSEWHEEL
));
42910 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DOWN", PyInt_FromLong(wxEVT_NC_LEFT_DOWN
));
42911 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_UP", PyInt_FromLong(wxEVT_NC_LEFT_UP
));
42912 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DOWN", PyInt_FromLong(wxEVT_NC_MIDDLE_DOWN
));
42913 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_UP", PyInt_FromLong(wxEVT_NC_MIDDLE_UP
));
42914 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DOWN", PyInt_FromLong(wxEVT_NC_RIGHT_DOWN
));
42915 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_UP", PyInt_FromLong(wxEVT_NC_RIGHT_UP
));
42916 PyDict_SetItemString(d
, "wxEVT_NC_MOTION", PyInt_FromLong(wxEVT_NC_MOTION
));
42917 PyDict_SetItemString(d
, "wxEVT_NC_ENTER_WINDOW", PyInt_FromLong(wxEVT_NC_ENTER_WINDOW
));
42918 PyDict_SetItemString(d
, "wxEVT_NC_LEAVE_WINDOW", PyInt_FromLong(wxEVT_NC_LEAVE_WINDOW
));
42919 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DCLICK", PyInt_FromLong(wxEVT_NC_LEFT_DCLICK
));
42920 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_NC_MIDDLE_DCLICK
));
42921 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DCLICK", PyInt_FromLong(wxEVT_NC_RIGHT_DCLICK
));
42922 PyDict_SetItemString(d
, "wxEVT_CHAR", PyInt_FromLong(wxEVT_CHAR
));
42923 PyDict_SetItemString(d
, "wxEVT_CHAR_HOOK", PyInt_FromLong(wxEVT_CHAR_HOOK
));
42924 PyDict_SetItemString(d
, "wxEVT_NAVIGATION_KEY", PyInt_FromLong(wxEVT_NAVIGATION_KEY
));
42925 PyDict_SetItemString(d
, "wxEVT_KEY_DOWN", PyInt_FromLong(wxEVT_KEY_DOWN
));
42926 PyDict_SetItemString(d
, "wxEVT_KEY_UP", PyInt_FromLong(wxEVT_KEY_UP
));
42927 PyDict_SetItemString(d
, "wxEVT_HOTKEY", PyInt_FromLong(wxEVT_HOTKEY
));
42928 PyDict_SetItemString(d
, "wxEVT_SET_CURSOR", PyInt_FromLong(wxEVT_SET_CURSOR
));
42929 PyDict_SetItemString(d
, "wxEVT_SCROLL_TOP", PyInt_FromLong(wxEVT_SCROLL_TOP
));
42930 PyDict_SetItemString(d
, "wxEVT_SCROLL_BOTTOM", PyInt_FromLong(wxEVT_SCROLL_BOTTOM
));
42931 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEUP", PyInt_FromLong(wxEVT_SCROLL_LINEUP
));
42932 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEDOWN", PyInt_FromLong(wxEVT_SCROLL_LINEDOWN
));
42933 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEUP", PyInt_FromLong(wxEVT_SCROLL_PAGEUP
));
42934 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLL_PAGEDOWN
));
42935 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLL_THUMBTRACK
));
42936 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLL_THUMBRELEASE
));
42937 PyDict_SetItemString(d
, "wxEVT_SCROLL_ENDSCROLL", PyInt_FromLong(wxEVT_SCROLL_ENDSCROLL
));
42938 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_TOP", PyInt_FromLong(wxEVT_SCROLLWIN_TOP
));
42939 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_BOTTOM", PyInt_FromLong(wxEVT_SCROLLWIN_BOTTOM
));
42940 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEUP", PyInt_FromLong(wxEVT_SCROLLWIN_LINEUP
));
42941 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_LINEDOWN
));
42942 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEUP", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEUP
));
42943 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEDOWN
));
42944 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBTRACK
));
42945 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBRELEASE
));
42946 PyDict_SetItemString(d
, "wxEVT_SIZE", PyInt_FromLong(wxEVT_SIZE
));
42947 PyDict_SetItemString(d
, "wxEVT_MOVE", PyInt_FromLong(wxEVT_MOVE
));
42948 PyDict_SetItemString(d
, "wxEVT_CLOSE_WINDOW", PyInt_FromLong(wxEVT_CLOSE_WINDOW
));
42949 PyDict_SetItemString(d
, "wxEVT_END_SESSION", PyInt_FromLong(wxEVT_END_SESSION
));
42950 PyDict_SetItemString(d
, "wxEVT_QUERY_END_SESSION", PyInt_FromLong(wxEVT_QUERY_END_SESSION
));
42951 PyDict_SetItemString(d
, "wxEVT_ACTIVATE_APP", PyInt_FromLong(wxEVT_ACTIVATE_APP
));
42952 PyDict_SetItemString(d
, "wxEVT_POWER", PyInt_FromLong(wxEVT_POWER
));
42953 PyDict_SetItemString(d
, "wxEVT_ACTIVATE", PyInt_FromLong(wxEVT_ACTIVATE
));
42954 PyDict_SetItemString(d
, "wxEVT_CREATE", PyInt_FromLong(wxEVT_CREATE
));
42955 PyDict_SetItemString(d
, "wxEVT_DESTROY", PyInt_FromLong(wxEVT_DESTROY
));
42956 PyDict_SetItemString(d
, "wxEVT_SHOW", PyInt_FromLong(wxEVT_SHOW
));
42957 PyDict_SetItemString(d
, "wxEVT_ICONIZE", PyInt_FromLong(wxEVT_ICONIZE
));
42958 PyDict_SetItemString(d
, "wxEVT_MAXIMIZE", PyInt_FromLong(wxEVT_MAXIMIZE
));
42959 PyDict_SetItemString(d
, "wxEVT_MOUSE_CAPTURE_CHANGED", PyInt_FromLong(wxEVT_MOUSE_CAPTURE_CHANGED
));
42960 PyDict_SetItemString(d
, "wxEVT_PAINT", PyInt_FromLong(wxEVT_PAINT
));
42961 PyDict_SetItemString(d
, "wxEVT_ERASE_BACKGROUND", PyInt_FromLong(wxEVT_ERASE_BACKGROUND
));
42962 PyDict_SetItemString(d
, "wxEVT_NC_PAINT", PyInt_FromLong(wxEVT_NC_PAINT
));
42963 PyDict_SetItemString(d
, "wxEVT_PAINT_ICON", PyInt_FromLong(wxEVT_PAINT_ICON
));
42964 PyDict_SetItemString(d
, "wxEVT_MENU_OPEN", PyInt_FromLong(wxEVT_MENU_OPEN
));
42965 PyDict_SetItemString(d
, "wxEVT_MENU_CLOSE", PyInt_FromLong(wxEVT_MENU_CLOSE
));
42966 PyDict_SetItemString(d
, "wxEVT_MENU_HIGHLIGHT", PyInt_FromLong(wxEVT_MENU_HIGHLIGHT
));
42967 PyDict_SetItemString(d
, "wxEVT_CONTEXT_MENU", PyInt_FromLong(wxEVT_CONTEXT_MENU
));
42968 PyDict_SetItemString(d
, "wxEVT_SYS_COLOUR_CHANGED", PyInt_FromLong(wxEVT_SYS_COLOUR_CHANGED
));
42969 PyDict_SetItemString(d
, "wxEVT_DISPLAY_CHANGED", PyInt_FromLong(wxEVT_DISPLAY_CHANGED
));
42970 PyDict_SetItemString(d
, "wxEVT_SETTING_CHANGED", PyInt_FromLong(wxEVT_SETTING_CHANGED
));
42971 PyDict_SetItemString(d
, "wxEVT_QUERY_NEW_PALETTE", PyInt_FromLong(wxEVT_QUERY_NEW_PALETTE
));
42972 PyDict_SetItemString(d
, "wxEVT_PALETTE_CHANGED", PyInt_FromLong(wxEVT_PALETTE_CHANGED
));
42973 PyDict_SetItemString(d
, "wxEVT_DROP_FILES", PyInt_FromLong(wxEVT_DROP_FILES
));
42974 PyDict_SetItemString(d
, "wxEVT_DRAW_ITEM", PyInt_FromLong(wxEVT_DRAW_ITEM
));
42975 PyDict_SetItemString(d
, "wxEVT_MEASURE_ITEM", PyInt_FromLong(wxEVT_MEASURE_ITEM
));
42976 PyDict_SetItemString(d
, "wxEVT_COMPARE_ITEM", PyInt_FromLong(wxEVT_COMPARE_ITEM
));
42977 PyDict_SetItemString(d
, "wxEVT_INIT_DIALOG", PyInt_FromLong(wxEVT_INIT_DIALOG
));
42978 PyDict_SetItemString(d
, "wxEVT_IDLE", PyInt_FromLong(wxEVT_IDLE
));
42979 PyDict_SetItemString(d
, "wxEVT_UPDATE_UI", PyInt_FromLong(wxEVT_UPDATE_UI
));
42980 PyDict_SetItemString(d
, "wxEVT_SIZING", PyInt_FromLong(wxEVT_SIZING
));
42981 PyDict_SetItemString(d
, "wxEVT_MOVING", PyInt_FromLong(wxEVT_MOVING
));
42982 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_CLICK
));
42983 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_DCLICK
));
42984 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_CLICK
));
42985 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_DCLICK
));
42986 PyDict_SetItemString(d
, "wxEVT_COMMAND_SET_FOCUS", PyInt_FromLong(wxEVT_COMMAND_SET_FOCUS
));
42987 PyDict_SetItemString(d
, "wxEVT_COMMAND_KILL_FOCUS", PyInt_FromLong(wxEVT_COMMAND_KILL_FOCUS
));
42988 PyDict_SetItemString(d
, "wxEVT_COMMAND_ENTER", PyInt_FromLong(wxEVT_COMMAND_ENTER
));
42989 PyDict_SetItemString(d
,"MOUSE_BTN_ANY", SWIG_FromInt((int)wxMOUSE_BTN_ANY
));
42990 PyDict_SetItemString(d
,"MOUSE_BTN_NONE", SWIG_FromInt((int)wxMOUSE_BTN_NONE
));
42991 PyDict_SetItemString(d
,"MOUSE_BTN_LEFT", SWIG_FromInt((int)wxMOUSE_BTN_LEFT
));
42992 PyDict_SetItemString(d
,"MOUSE_BTN_MIDDLE", SWIG_FromInt((int)wxMOUSE_BTN_MIDDLE
));
42993 PyDict_SetItemString(d
,"MOUSE_BTN_RIGHT", SWIG_FromInt((int)wxMOUSE_BTN_RIGHT
));
42994 PyDict_SetItemString(d
,"UPDATE_UI_PROCESS_ALL", SWIG_FromInt((int)wxUPDATE_UI_PROCESS_ALL
));
42995 PyDict_SetItemString(d
,"UPDATE_UI_PROCESS_SPECIFIED", SWIG_FromInt((int)wxUPDATE_UI_PROCESS_SPECIFIED
));
42996 PyDict_SetItemString(d
,"IDLE_PROCESS_ALL", SWIG_FromInt((int)wxIDLE_PROCESS_ALL
));
42997 PyDict_SetItemString(d
,"IDLE_PROCESS_SPECIFIED", SWIG_FromInt((int)wxIDLE_PROCESS_SPECIFIED
));
42998 PyDict_SetItemString(d
,"PYAPP_ASSERT_SUPPRESS", SWIG_FromInt((int)wxPYAPP_ASSERT_SUPPRESS
));
42999 PyDict_SetItemString(d
,"PYAPP_ASSERT_EXCEPTION", SWIG_FromInt((int)wxPYAPP_ASSERT_EXCEPTION
));
43000 PyDict_SetItemString(d
,"PYAPP_ASSERT_DIALOG", SWIG_FromInt((int)wxPYAPP_ASSERT_DIALOG
));
43001 PyDict_SetItemString(d
,"PYAPP_ASSERT_LOG", SWIG_FromInt((int)wxPYAPP_ASSERT_LOG
));
43002 PyDict_SetItemString(d
,"PRINT_WINDOWS", SWIG_FromInt((int)wxPRINT_WINDOWS
));
43003 PyDict_SetItemString(d
,"PRINT_POSTSCRIPT", SWIG_FromInt((int)wxPRINT_POSTSCRIPT
));
43004 SWIG_addvarlink(SWIG_globals
,(char*)"NullAcceleratorTable",_wrap_NullAcceleratorTable_get
, _wrap_NullAcceleratorTable_set
);
43005 SWIG_addvarlink(SWIG_globals
,(char*)"PanelNameStr",_wrap_PanelNameStr_get
, _wrap_PanelNameStr_set
);
43006 PyDict_SetItemString(d
,"WINDOW_VARIANT_NORMAL", SWIG_FromInt((int)wxWINDOW_VARIANT_NORMAL
));
43007 PyDict_SetItemString(d
,"WINDOW_VARIANT_SMALL", SWIG_FromInt((int)wxWINDOW_VARIANT_SMALL
));
43008 PyDict_SetItemString(d
,"WINDOW_VARIANT_MINI", SWIG_FromInt((int)wxWINDOW_VARIANT_MINI
));
43009 PyDict_SetItemString(d
,"WINDOW_VARIANT_LARGE", SWIG_FromInt((int)wxWINDOW_VARIANT_LARGE
));
43010 PyDict_SetItemString(d
,"WINDOW_VARIANT_MAX", SWIG_FromInt((int)wxWINDOW_VARIANT_MAX
));
43011 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultValidator",_wrap_DefaultValidator_get
, _wrap_DefaultValidator_set
);
43012 SWIG_addvarlink(SWIG_globals
,(char*)"ControlNameStr",_wrap_ControlNameStr_get
, _wrap_ControlNameStr_set
);
43013 PyDict_SetItemString(d
,"FLEX_GROWMODE_NONE", SWIG_FromInt((int)wxFLEX_GROWMODE_NONE
));
43014 PyDict_SetItemString(d
,"FLEX_GROWMODE_SPECIFIED", SWIG_FromInt((int)wxFLEX_GROWMODE_SPECIFIED
));
43015 PyDict_SetItemString(d
,"FLEX_GROWMODE_ALL", SWIG_FromInt((int)wxFLEX_GROWMODE_ALL
));
43016 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultSpan",_wrap_DefaultSpan_get
, _wrap_DefaultSpan_set
);
43017 PyDict_SetItemString(d
,"Left", SWIG_FromInt((int)wxLeft
));
43018 PyDict_SetItemString(d
,"Top", SWIG_FromInt((int)wxTop
));
43019 PyDict_SetItemString(d
,"Right", SWIG_FromInt((int)wxRight
));
43020 PyDict_SetItemString(d
,"Bottom", SWIG_FromInt((int)wxBottom
));
43021 PyDict_SetItemString(d
,"Width", SWIG_FromInt((int)wxWidth
));
43022 PyDict_SetItemString(d
,"Height", SWIG_FromInt((int)wxHeight
));
43023 PyDict_SetItemString(d
,"Centre", SWIG_FromInt((int)wxCentre
));
43024 PyDict_SetItemString(d
,"Center", SWIG_FromInt((int)wxCenter
));
43025 PyDict_SetItemString(d
,"CentreX", SWIG_FromInt((int)wxCentreX
));
43026 PyDict_SetItemString(d
,"CentreY", SWIG_FromInt((int)wxCentreY
));
43027 PyDict_SetItemString(d
,"Unconstrained", SWIG_FromInt((int)wxUnconstrained
));
43028 PyDict_SetItemString(d
,"AsIs", SWIG_FromInt((int)wxAsIs
));
43029 PyDict_SetItemString(d
,"PercentOf", SWIG_FromInt((int)wxPercentOf
));
43030 PyDict_SetItemString(d
,"Above", SWIG_FromInt((int)wxAbove
));
43031 PyDict_SetItemString(d
,"Below", SWIG_FromInt((int)wxBelow
));
43032 PyDict_SetItemString(d
,"LeftOf", SWIG_FromInt((int)wxLeftOf
));
43033 PyDict_SetItemString(d
,"RightOf", SWIG_FromInt((int)wxRightOf
));
43034 PyDict_SetItemString(d
,"SameAs", SWIG_FromInt((int)wxSameAs
));
43035 PyDict_SetItemString(d
,"Absolute", SWIG_FromInt((int)wxAbsolute
));
43037 // Initialize threading, some globals and such
43041 // Although these are defined in __version__ they need to be here too so
43042 // that an assert can be done to ensure that the wxPython and the wxWindows
43044 PyDict_SetItemString(d
,"MAJOR_VERSION", PyInt_FromLong((long)wxMAJOR_VERSION
));
43045 PyDict_SetItemString(d
,"MINOR_VERSION", PyInt_FromLong((long)wxMINOR_VERSION
));
43046 PyDict_SetItemString(d
,"RELEASE_VERSION", PyInt_FromLong((long)wxRELEASE_NUMBER
));