1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_NOINCLUDE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
33 /*************************************************************** -*- c -*-
34 * python/precommon.swg
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
39 ************************************************************************/
41 #define SWIG_TypeRegister SWIG_Python_TypeRegister
42 #define SWIG_TypeCheck SWIG_Python_TypeCheck
43 #define SWIG_TypeCast SWIG_Python_TypeCast
44 #define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45 #define SWIG_TypeName SWIG_Python_TypeName
46 #define SWIG_TypeQuery SWIG_Python_TypeQuery
47 #define SWIG_TypeClientData SWIG_Python_TypeClientData
48 #define SWIG_PackData SWIG_Python_PackData
49 #define SWIG_UnpackData SWIG_Python_UnpackData
52 /***********************************************************************
53 * common.swg for wxPython
55 * Include only the function prototypes and such from SWIG's common.swg,
56 * but not the runtime functions themselves. This helps keep the
57 * wrapper files clean of unnecessary stuff that is in the libpy.c file
60 ************************************************************************/
64 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
65 # if defined(_MSC_VER) || defined(__GNUC__)
66 # if defined(STATIC_LINKED)
67 # define SWIGEXPORT(a) a
68 # define SWIGIMPORT(a) extern a
70 # define SWIGEXPORT(a) __declspec(dllexport) a
71 # define SWIGIMPORT(a) extern a
74 # if defined(__BORLANDC__)
75 # define SWIGEXPORT(a) a _export
76 # define SWIGIMPORT(a) a _export
78 # define SWIGEXPORT(a) a
79 # define SWIGIMPORT(a) a
83 # define SWIGEXPORT(a) a
84 # define SWIGIMPORT(a) a
88 # define SWIGRUNTIME(a) SWIGEXPORT(a)
90 # define SWIGRUNTIME(a) static a
97 typedef void *(*swig_converter_func
)(void *);
98 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
100 typedef struct swig_type_info
{
102 swig_converter_func converter
;
105 swig_dycast_func dcast
;
106 struct swig_type_info
*next
;
107 struct swig_type_info
*prev
;
111 SWIGIMPORT(swig_type_info
*) SWIG_TypeRegister(swig_type_info
*);
112 SWIGIMPORT(swig_type_info
*) SWIG_TypeCheck(char *c
, swig_type_info
*);
113 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info
*, void *);
114 SWIGIMPORT(swig_type_info
*) SWIG_TypeDynamicCast(swig_type_info
*, void **);
115 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info
*);
116 SWIGIMPORT(swig_type_info
*) SWIG_TypeQuery(const char *);
117 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info
*, void *);
118 SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
119 SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
126 /***********************************************************************
127 * pyrun.swg for wxPython
129 * Include only the function prototypes and such from SWIG's pyrun.swg,
130 * but not the runtime functions themselves. This helps keep the
131 * wrapper files clean of unnecessary stuff that is in the libpy.c file
134 ************************************************************************/
142 #define SWIG_PY_INT 1
143 #define SWIG_PY_FLOAT 2
144 #define SWIG_PY_STRING 3
145 #define SWIG_PY_POINTER 4
146 #define SWIG_PY_BINARY 5
148 /* Flags for pointer conversion */
150 #define SWIG_POINTER_EXCEPTION 0x1
151 #define SWIG_POINTER_DISOWN 0x2
153 /* Exception handling in wrappers */
154 #define SWIG_fail goto fail
156 /* Constant information structure */
157 typedef struct swig_const_info
{
163 swig_type_info
**ptype
;
166 /* Common SWIG API */
167 #define SWIG_ConvertPtr(obj, pp, type, flags) \
168 SWIG_Python_ConvertPtr(obj, pp, type, flags)
169 #define SWIG_NewPointerObj(p, type, flags) \
170 SWIG_Python_NewPointerObj(p, type, flags)
171 #define SWIG_MustGetPtr(p, type, argnum, flags) \
172 SWIG_Python_MustGetPtr(p, type, argnum, flags)
174 /* Python-specific SWIG API */
175 #define SWIG_newvarlink() \
176 SWIG_Python_newvarlink()
177 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
178 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
179 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
180 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
181 #define SWIG_NewPackedObj(ptr, sz, type) \
182 SWIG_Python_NewPackedObj(ptr, sz, type)
183 #define SWIG_InstallConstants(d, constants) \
184 SWIG_Python_InstallConstants(d, constants)
186 typedef double (*py_objasdbl_conv
)(PyObject
*obj
);
188 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject
*, void **, swig_type_info
*, int);
189 SWIGIMPORT(PyObject
*) SWIG_Python_NewPointerObj(void *, swig_type_info
*,int own
);
190 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject
*, swig_type_info
*, int, int);
191 SWIGIMPORT(PyObject
*) SWIG_Python_newvarlink(void);
192 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
193 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject
*, void *, int sz
, swig_type_info
*, int);
194 SWIGIMPORT(PyObject
*) SWIG_Python_NewPackedObj(void *, int sz
, swig_type_info
*);
195 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]);
198 /* Contract support */
200 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
207 /* -------- TYPES TABLE (BEGIN) -------- */
209 #define SWIGTYPE_p_wxLayoutConstraints swig_types[0]
210 #define SWIGTYPE_p_wxRealPoint swig_types[1]
211 #define SWIGTYPE_p_wxSizerItem swig_types[2]
212 #define SWIGTYPE_p_wxGBSizerItem swig_types[3]
213 #define SWIGTYPE_p_wxScrollEvent swig_types[4]
214 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[5]
215 #define SWIGTYPE_p_wxSizer swig_types[6]
216 #define SWIGTYPE_p_wxBoxSizer swig_types[7]
217 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[8]
218 #define SWIGTYPE_p_wxGridBagSizer swig_types[9]
219 #define SWIGTYPE_p_wxAcceleratorEntry swig_types[10]
220 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[11]
221 #define SWIGTYPE_p_wxMenu swig_types[12]
222 #define SWIGTYPE_p_wxEvent swig_types[13]
223 #define SWIGTYPE_p_wxGridSizer swig_types[14]
224 #define SWIGTYPE_p_wxFlexGridSizer swig_types[15]
225 #define SWIGTYPE_p_wxInitDialogEvent swig_types[16]
226 #define SWIGTYPE_p_wxItemContainer swig_types[17]
227 #define SWIGTYPE_p_wxNcPaintEvent swig_types[18]
228 #define SWIGTYPE_p_wxPaintEvent swig_types[19]
229 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[20]
230 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[21]
231 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[22]
232 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[23]
233 #define SWIGTYPE_p_wxControl swig_types[24]
234 #define SWIGTYPE_p_wxFont swig_types[25]
235 #define SWIGTYPE_p_wxMenuBarBase swig_types[26]
236 #define SWIGTYPE_p_wxSetCursorEvent swig_types[27]
237 #define SWIGTYPE_p_wxFSFile swig_types[28]
238 #define SWIGTYPE_p_wxCaret swig_types[29]
239 #define SWIGTYPE_p_wxRegion swig_types[30]
240 #define SWIGTYPE_p_wxPoint2D swig_types[31]
241 #define SWIGTYPE_p_int swig_types[32]
242 #define SWIGTYPE_p_wxSize swig_types[33]
243 #define SWIGTYPE_p_wxDC swig_types[34]
244 #define SWIGTYPE_p_wxPySizer swig_types[35]
245 #define SWIGTYPE_p_wxVisualAttributes swig_types[36]
246 #define SWIGTYPE_p_wxNotifyEvent swig_types[37]
247 #define SWIGTYPE_p_wxPyEvent swig_types[38]
248 #define SWIGTYPE_p_wxPropagationDisabler swig_types[39]
249 #define SWIGTYPE_p_wxAppTraits swig_types[40]
250 #define SWIGTYPE_p_wxArrayString swig_types[41]
251 #define SWIGTYPE_p_wxShowEvent swig_types[42]
252 #define SWIGTYPE_p_wxToolTip swig_types[43]
253 #define SWIGTYPE_p_wxMaximizeEvent swig_types[44]
254 #define SWIGTYPE_p_wxIconizeEvent swig_types[45]
255 #define SWIGTYPE_p_wxActivateEvent swig_types[46]
256 #define SWIGTYPE_p_wxMoveEvent swig_types[47]
257 #define SWIGTYPE_p_wxSizeEvent swig_types[48]
258 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[49]
259 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[50]
260 #define SWIGTYPE_p_wxIdleEvent swig_types[51]
261 #define SWIGTYPE_p_wxMenuItem swig_types[52]
262 #define SWIGTYPE_p_wxStaticBox swig_types[53]
263 #define SWIGTYPE_p_long swig_types[54]
264 #define SWIGTYPE_p_wxTIFFHandler swig_types[55]
265 #define SWIGTYPE_p_wxXPMHandler swig_types[56]
266 #define SWIGTYPE_p_wxPNMHandler swig_types[57]
267 #define SWIGTYPE_p_wxJPEGHandler swig_types[58]
268 #define SWIGTYPE_p_wxPCXHandler swig_types[59]
269 #define SWIGTYPE_p_wxGIFHandler swig_types[60]
270 #define SWIGTYPE_p_wxPNGHandler swig_types[61]
271 #define SWIGTYPE_p_wxANIHandler swig_types[62]
272 #define SWIGTYPE_p_wxMemoryFSHandler swig_types[63]
273 #define SWIGTYPE_p_wxEvtHandler swig_types[64]
274 #define SWIGTYPE_p_wxCURHandler swig_types[65]
275 #define SWIGTYPE_p_wxICOHandler swig_types[66]
276 #define SWIGTYPE_p_wxBMPHandler swig_types[67]
277 #define SWIGTYPE_p_wxImageHandler swig_types[68]
278 #define SWIGTYPE_p_wxFileSystemHandler swig_types[69]
279 #define SWIGTYPE_p_wxPyFileSystemHandler swig_types[70]
280 #define SWIGTYPE_p_wxInternetFSHandler swig_types[71]
281 #define SWIGTYPE_p_wxZipFSHandler swig_types[72]
282 #define SWIGTYPE_p_wxRect swig_types[73]
283 #define SWIGTYPE_p_wxGBSpan swig_types[74]
284 #define SWIGTYPE_p_wxPropagateOnce swig_types[75]
285 #define SWIGTYPE_p_wxAcceleratorTable swig_types[76]
286 #define SWIGTYPE_p_char swig_types[77]
287 #define SWIGTYPE_p_wxGBPosition swig_types[78]
288 #define SWIGTYPE_p_wxImage swig_types[79]
289 #define SWIGTYPE_p_wxFrame swig_types[80]
290 #define SWIGTYPE_p_wxScrollWinEvent swig_types[81]
291 #define SWIGTYPE_p_wxImageHistogram swig_types[82]
292 #define SWIGTYPE_p_byte swig_types[83]
293 #define SWIGTYPE_p_wxPoint swig_types[84]
294 #define SWIGTYPE_p_wxCursor swig_types[85]
295 #define SWIGTYPE_p_wxObject swig_types[86]
296 #define SWIGTYPE_p_wxPyInputStream swig_types[87]
297 #define SWIGTYPE_p_wxOutputStream swig_types[88]
298 #define SWIGTYPE_p_wxInputStream swig_types[89]
299 #define SWIGTYPE_p_wxDateTime swig_types[90]
300 #define SWIGTYPE_p_wxKeyEvent swig_types[91]
301 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[92]
302 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[93]
303 #define SWIGTYPE_p_wxWindow swig_types[94]
304 #define SWIGTYPE_p_wxMenuBar swig_types[95]
305 #define SWIGTYPE_p_wxFileSystem swig_types[96]
306 #define SWIGTYPE_p_wxBitmap swig_types[97]
307 #define SWIGTYPE_p_wxMenuEvent swig_types[98]
308 #define SWIGTYPE_p_wxContextMenuEvent swig_types[99]
309 #define SWIGTYPE_p_unsigned_char swig_types[100]
310 #define SWIGTYPE_p_wxCloseEvent swig_types[101]
311 #define SWIGTYPE_p_wxEraseEvent swig_types[102]
312 #define SWIGTYPE_p_wxMouseEvent swig_types[103]
313 #define SWIGTYPE_p_wxPyApp swig_types[104]
314 #define SWIGTYPE_p_wxCommandEvent swig_types[105]
315 #define SWIGTYPE_p_wxPyCommandEvent swig_types[106]
316 #define SWIGTYPE_p_wxPyDropTarget swig_types[107]
317 #define SWIGTYPE_p_wxChildFocusEvent swig_types[108]
318 #define SWIGTYPE_p_wxFocusEvent swig_types[109]
319 #define SWIGTYPE_p_wxDropFilesEvent swig_types[110]
320 #define SWIGTYPE_p_wxControlWithItems swig_types[111]
321 #define SWIGTYPE_p_wxColour swig_types[112]
322 #define SWIGTYPE_p_wxValidator swig_types[113]
323 #define SWIGTYPE_p_wxPyValidator swig_types[114]
324 static swig_type_info
*swig_types
[116];
326 /* -------- TYPES TABLE (END) -------- */
329 /*-----------------------------------------------
330 @(target):= _core_.so
331 ------------------------------------------------*/
332 #define SWIG_init init_core_
334 #define SWIG_name "_core_"
336 /* Auxiliar swig macros */
339 #define SWIGSTATICINLINE(a) static inline a
340 #define SWIGSTATIC(a) static a
341 #define swig_new_array(type, size) (new type[(size)])
342 #define swig_delete_array(cptr) delete[] cptr
343 #define swig_const_cast(type,a) const_cast<type>(a)
344 #define swig_static_cast(type,a) static_cast<type>(a)
345 #define swig_reinterpret_cast(type,a) reinterpret_cast<type>(a)
347 #ifdef HAVE_NUMERIC_CAST
348 #define swig_numeric_cast(type,a) numeric_cast<type>(a)
350 #define swig_numeric_cast(type,a) static_cast<type>(a)
355 #define SWIGSTATICINLINE(a) static a
356 #define SWIGSTATIC(a) static a
357 #define swig_new_array(type, size) ((type*) malloc((size)*sizeof(type)))
358 #define swig_delete_array(cptr) free((char*)cptr)
359 #define swig_const_cast(type,a) (type)(a)
360 #define swig_static_cast(type,a) (type)(a)
361 #define swig_reinterpret_cast(type,a) (type)(a)
362 #define swig_numeric_cast(type,a) (type)(a)
364 #endif /* __cplusplus */
367 #define SWIG_FromSignedChar PyInt_FromLong
368 #define SWIG_FromUnsignedChar PyInt_FromLong
369 #define SWIG_FromShort PyInt_FromLong
370 #define SWIG_FromUnsignedShort PyInt_FromLong
371 #define SWIG_FromInt PyInt_FromLong
372 #define SWIG_FromLong PyInt_FromLong
373 #define SWIG_FromFloat PyFloat_FromDouble
374 #define SWIG_FromDouble PyFloat_FromDouble
375 #define SWIG_FromFloat PyFloat_FromDouble
376 #define SWIG_FromDouble PyFloat_FromDouble
379 #include "wx/wxPython/wxPython_int.h"
380 #include "wx/wxPython/pyclasses.h"
383 #ifndef wxPyUSE_EXPORT
384 // Helper functions for dealing with SWIG objects and such. These are
385 // located here so they know about the SWIG types and functions declared
386 // in the wrapper code.
388 #include <wx/hashmap.h>
389 WX_DECLARE_STRING_HASH_MAP( swig_type_info
*, wxPyTypeInfoHashMap
);
392 // Maintains a hashmap of className to swig_type_info pointers. Given the
393 // name of a class either looks up the type info in the cache, or scans the
394 // SWIG tables for it.
395 extern PyObject
* wxPyPtrTypeMap
;
397 swig_type_info
* wxPyFindSwigType(const wxChar
* className
) {
399 static wxPyTypeInfoHashMap
* typeInfoCache
= NULL
;
401 if (typeInfoCache
== NULL
)
402 typeInfoCache
= new wxPyTypeInfoHashMap
;
404 wxString
name(className
);
405 swig_type_info
* swigType
= (*typeInfoCache
)[name
];
408 // it wasn't in the cache, so look it up from SWIG
409 name
.Append(wxT(" *"));
410 swigType
= SWIG_Python_TypeQuery(name
.mb_str());
412 // if it still wasn't found, try looking for a mapped name
417 if ((item
= PyDict_GetItemString(wxPyPtrTypeMap
,
418 (char*)(const char*)name
.mbc_str())) != NULL
) {
419 name
= wxString(PyString_AsString(item
), *wxConvCurrent
);
420 name
.Append(wxT(" *"));
421 swigType
= SWIG_Python_TypeQuery(name
.mb_str());
425 // and add it to the map if found
426 (*typeInfoCache
)[className
] = swigType
;
433 // Check if a class name is a type known to SWIG
434 bool wxPyCheckSwigType(const wxChar
* className
) {
436 swig_type_info
* swigType
= wxPyFindSwigType(className
);
437 return swigType
!= NULL
;
441 // Given a pointer to a C++ object and a class name, construct a Python proxy
443 PyObject
* wxPyConstructObject(void* ptr
,
444 const wxChar
* className
,
447 swig_type_info
* swigType
= wxPyFindSwigType(className
);
448 wxCHECK_MSG(swigType
!= NULL
, NULL
, wxT("Unknown type in wxPyConstructObject"));
450 return SWIG_Python_NewPointerObj(ptr
, swigType
, setThisOwn
);
454 // Extract a pointer to the wrapped C++ object from a Python proxy object.
455 // Ensures that the proxy object is of the specified (or derived) type. If
456 // not able to perform the conversion then a Python exception is set and the
457 // error should be handled properly in the caller. Returns True on success.
458 bool wxPyConvertSwigPtr(PyObject
* obj
, void **ptr
,
459 const wxChar
* className
) {
461 swig_type_info
* swigType
= wxPyFindSwigType(className
);
462 wxCHECK_MSG(swigType
!= NULL
, False
, wxT("Unknown type in wxPyConvertSwigPtr"));
464 return SWIG_Python_ConvertPtr(obj
, ptr
, swigType
, SWIG_POINTER_EXCEPTION
) != -1;
468 // Make a SWIGified pointer object suitable for a .this attribute
469 PyObject
* wxPyMakeSwigPtr(void* ptr
, const wxChar
* className
) {
471 PyObject
* robj
= NULL
;
473 swig_type_info
* swigType
= wxPyFindSwigType(className
);
474 wxCHECK_MSG(swigType
!= NULL
, NULL
, wxT("Unknown type in wxPyConvertSwigPtr"));
476 #ifdef SWIG_COBJECT_TYPES
477 robj
= PyCObject_FromVoidPtrAndDesc((void *) ptr
, (char *) swigType
->name
, NULL
);
483 r
= SWIG_Python_PackData(r
, &ptr
, sizeof(void *));
484 strcpy(r
, swigType
->name
);
485 robj
= PyString_FromString(result
);
495 // Export a C API in a struct. Other modules will be able to load this from
496 // the wx._core_ module and will then have safe access to these functions,
497 // even if they are located in another shared library.
498 static wxPyCoreAPI API
= {
500 (p_SWIG_Python_TypeRegister_t
)SWIG_Python_TypeRegister
,
501 (p_SWIG_Python_TypeCheck_t
)SWIG_Python_TypeCheck
,
502 (p_SWIG_Python_TypeCast_t
)SWIG_Python_TypeCast
,
503 (p_SWIG_Python_TypeDynamicCast_t
)SWIG_Python_TypeDynamicCast
,
504 (p_SWIG_Python_TypeName_t
)SWIG_Python_TypeName
,
505 (p_SWIG_Python_TypeQuery_t
)SWIG_Python_TypeQuery
,
506 (p_SWIG_Python_TypeClientData_t
)SWIG_Python_TypeClientData
,
507 (p_SWIG_Python_newvarlink_t
)SWIG_Python_newvarlink
,
508 (p_SWIG_Python_addvarlink_t
)SWIG_Python_addvarlink
,
509 (p_SWIG_Python_ConvertPtr_t
)SWIG_Python_ConvertPtr
,
510 (p_SWIG_Python_ConvertPacked_t
)SWIG_Python_ConvertPacked
,
511 (p_SWIG_Python_PackData_t
)SWIG_Python_PackData
,
512 (p_SWIG_Python_UnpackData_t
)SWIG_Python_UnpackData
,
513 (p_SWIG_Python_NewPointerObj_t
)SWIG_Python_NewPointerObj
,
514 (p_SWIG_Python_NewPackedObj_t
)SWIG_Python_NewPackedObj
,
515 (p_SWIG_Python_InstallConstants_t
)SWIG_Python_InstallConstants
,
516 (p_SWIG_Python_MustGetPtr_t
)SWIG_Python_MustGetPtr
,
523 wxPyBeginAllowThreads
,
525 wxPyBeginBlockThreads
,
539 wxBitmap_LIST_helper
,
540 wxString_LIST_helper
,
541 wxAcceleratorEntry_LIST_helper
,
550 wxPySimple_typecheck
,
553 wxPyCBH_setCallbackInfo
,
554 wxPyCBH_findCallback
,
555 wxPyCBH_callCallback
,
556 wxPyCBH_callCallbackObj
,
564 wxArrayString2PyList_helper
,
565 wxArrayInt2PyList_helper
,
569 wxPyOORClientData_dtor
,
571 wxPyCBInputStream_create
,
574 wxPySwigInstance_Check
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(int width
,int height
,bool clear
){
1098 if (width
> 0 && height
> 0)
1099 return new wxImage(width
, height
, clear
);
1103 wxImage
*new_wxImage(wxBitmap
const &bitmap
){
1104 return new wxImage(bitmap
.ConvertToImage());
1106 wxImage
*new_wxImage(int width
,int height
,unsigned char *data
){
1107 // Copy the source data so the wxImage can clean it up later
1108 unsigned char* copy
= (unsigned char*)malloc(width
*height
*3);
1113 memcpy(copy
, data
, width
*height
*3);
1114 return new wxImage(width
, height
, copy
, False
);
1116 wxSize
wxImage_GetSize(wxImage
*self
){
1117 wxSize
size(self
->GetWidth(), self
->GetHeight());
1120 PyObject
*wxImage_GetData(wxImage
*self
){
1121 unsigned char* data
= self
->GetData();
1122 int len
= self
->GetWidth() * self
->GetHeight() * 3;
1124 wxPyBLOCK_THREADS( rv
= PyString_FromStringAndSize((char*)data
, len
));
1127 void wxImage_SetData(wxImage
*self
,PyObject
*data
){
1128 unsigned char* dataPtr
;
1130 if (! PyString_Check(data
)) {
1131 PyErr_SetString(PyExc_TypeError
, "Expected string object");
1135 size_t len
= self
->GetWidth() * self
->GetHeight() * 3;
1136 dataPtr
= (unsigned char*) malloc(len
);
1137 wxPyBLOCK_THREADS( memcpy(dataPtr
, PyString_AsString(data
), len
) );
1138 self
->SetData(dataPtr
);
1139 // wxImage takes ownership of dataPtr...
1141 PyObject
*wxImage_GetDataBuffer(wxImage
*self
){
1142 unsigned char* data
= self
->GetData();
1143 int len
= self
->GetWidth() * self
->GetHeight() * 3;
1145 wxPyBLOCK_THREADS( rv
= PyBuffer_FromReadWriteMemory(data
, len
) );
1148 void wxImage_SetDataBuffer(wxImage
*self
,PyObject
*data
){
1149 unsigned char* buffer
;
1152 bool blocked
= wxPyBeginBlockThreads();
1153 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
1156 if (size
!= self
->GetWidth() * self
->GetHeight() * 3) {
1157 PyErr_SetString(PyExc_TypeError
, "Incorrect buffer size");
1160 self
->SetData(buffer
);
1162 wxPyEndBlockThreads(blocked
);
1164 PyObject
*wxImage_GetAlphaData(wxImage
*self
){
1165 unsigned char* data
= self
->GetAlpha();
1169 int len
= self
->GetWidth() * self
->GetHeight();
1171 wxPyBLOCK_THREADS( rv
= PyString_FromStringAndSize((char*)data
, len
) );
1175 void wxImage_SetAlphaData(wxImage
*self
,PyObject
*data
){
1176 unsigned char* dataPtr
;
1178 if (! PyString_Check(data
)) {
1179 PyErr_SetString(PyExc_TypeError
, "Expected string object");
1183 size_t len
= self
->GetWidth() * self
->GetHeight();
1184 dataPtr
= (unsigned char*) malloc(len
);
1185 wxPyBLOCK_THREADS( memcpy(dataPtr
, PyString_AsString(data
), len
) );
1186 self
->SetAlpha(dataPtr
);
1187 // wxImage takes ownership of dataPtr...
1189 PyObject
*wxImage_GetAlphaBuffer(wxImage
*self
){
1190 unsigned char* data
= self
->GetAlpha();
1191 int len
= self
->GetWidth() * self
->GetHeight();
1193 wxPyBLOCK_THREADS( rv
= PyBuffer_FromReadWriteMemory(data
, len
) );
1196 void wxImage_SetAlphaBuffer(wxImage
*self
,PyObject
*data
){
1197 unsigned char* buffer
;
1200 bool blocked
= wxPyBeginBlockThreads();
1201 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
1204 if (size
!= self
->GetWidth() * self
->GetHeight()) {
1205 PyErr_SetString(PyExc_TypeError
, "Incorrect buffer size");
1208 self
->SetAlpha(buffer
);
1210 wxPyEndBlockThreads(blocked
);
1213 SWIGSTATICINLINE(int)
1214 SWIG_CheckUnsignedLong(PyObject
* obj
)
1216 SWIG_AsUnsignedLong(obj
);
1217 if (PyErr_Occurred()) {
1225 wxBitmap
wxImage_ConvertToBitmap(wxImage
*self
){
1226 wxBitmap
bitmap(*self
);
1229 wxBitmap
wxImage_ConvertToMonoBitmap(wxImage
*self
,unsigned char red
,unsigned char green
,unsigned char blue
){
1230 wxImage mono
= self
->ConvertToMono( red
, green
, blue
);
1231 wxBitmap
bitmap( mono
, 1 );
1234 static const wxString
wxPyIMAGE_OPTION_BMP_FORMAT(wxIMAGE_OPTION_BMP_FORMAT
);
1235 static const wxString
wxPyIMAGE_OPTION_CUR_HOTSPOT_X(wxIMAGE_OPTION_CUR_HOTSPOT_X
);
1236 static const wxString
wxPyIMAGE_OPTION_CUR_HOTSPOT_Y(wxIMAGE_OPTION_CUR_HOTSPOT_Y
);
1237 static const wxString
wxPyIMAGE_OPTION_RESOLUTION(wxIMAGE_OPTION_RESOLUTION
);
1238 static const wxString
wxPyIMAGE_OPTION_RESOLUTIONUNIT(wxIMAGE_OPTION_RESOLUTIONUNIT
);
1239 void wxEvtHandler_Connect(wxEvtHandler
*self
,int id
,int lastId
,int eventType
,PyObject
*func
){
1240 if (PyCallable_Check(func
)) {
1241 self
->Connect(id
, lastId
, eventType
,
1242 (wxObjectEventFunction
) &wxPyCallback::EventThunker
,
1243 new wxPyCallback(func
));
1245 else if (func
== Py_None
) {
1246 self
->Disconnect(id
, lastId
, eventType
,
1247 (wxObjectEventFunction
)
1248 &wxPyCallback::EventThunker
);
1252 PyErr_SetString(PyExc_TypeError
, "Expected callable object or None."));
1255 bool wxEvtHandler_Disconnect(wxEvtHandler
*self
,int id
,int lastId
,wxEventType eventType
){
1256 return self
->Disconnect(id
, lastId
, eventType
,
1257 (wxObjectEventFunction
)
1258 &wxPyCallback::EventThunker
);
1260 void wxEvtHandler__setOORInfo(wxEvtHandler
*self
,PyObject
*_self
){
1261 if (_self
&& _self
!= Py_None
) {
1262 self
->SetClientObject(new wxPyOORClientData(_self
));
1265 wxPyOORClientData
* data
= (wxPyOORClientData
*)self
->GetClientObject();
1267 self
->SetClientObject(NULL
); // This will delete it too
1271 int wxKeyEvent_GetUniChar(wxKeyEvent
*self
){
1273 return self
->m_uniChar
;
1279 #if UINT_MAX < LONG_MAX
1280 #define SWIG_FromUnsignedInt SWIG_FromLong
1282 #define SWIG_FromUnsignedInt SWIG_FromUnsignedLong
1286 #if UINT_MAX != ULONG_MAX
1287 SWIGSTATICINLINE(unsigned int)
1288 SWIG_AsUnsignedInt(PyObject
*obj
)
1290 return swig_numeric_cast(unsigned int,
1291 SWIG_CheckUnsignedLongInRange(SWIG_AsUnsignedLong(obj
),
1292 "unsigned int", UINT_MAX
));
1295 #define SWIG_AsUnsignedInt SWIG_AsUnsignedLong
1299 SWIGSTATICINLINE(int)
1300 SWIG_CheckUnsignedInt(PyObject
* obj
)
1302 SWIG_AsUnsignedInt(obj
);
1303 if (PyErr_Occurred()) {
1311 void wxSizeEvent_SetSize(wxSizeEvent
*self
,wxSize size
){
1312 self
->m_size
= size
;
1314 void wxMoveEvent_SetPosition(wxMoveEvent
*self
,wxPoint pos
){
1317 PyObject
*wxDropFilesEvent_GetFiles(wxDropFilesEvent
*self
){
1318 int count
= self
->GetNumberOfFiles();
1319 wxString
* files
= self
->GetFiles();
1320 PyObject
* list
= PyList_New(count
);
1323 PyErr_SetString(PyExc_MemoryError
, "Can't allocate list of files!");
1327 for (int i
=0; i
<count
; i
++) {
1328 PyList_SetItem(list
, i
, wx2PyString(files
[i
]));
1334 wxPyApp
*new_wxPyApp(){
1335 wxPythonApp
= new wxPyApp();
1339 void wxApp_CleanUp() {
1344 wxPyApp
* wxGetApp() {
1345 return (wxPyApp
*)wxTheApp
;
1350 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
1351 wxVisualAttributes
*new_wxVisualAttributes(){ return new wxVisualAttributes
; }
1352 void delete_wxVisualAttributes(wxVisualAttributes
*self
){ delete self
; }
1353 PyObject
*wxWindow_GetChildren(wxWindow
*self
){
1354 wxWindowList
& list
= self
->GetChildren();
1355 return wxPy_ConvertList(&list
);
1357 bool wxWindow_RegisterHotKey(wxWindow
*self
,int hotkeyId
,int modifiers
,int keycode
){
1359 return self
->RegisterHotKey(hotkeyId
, modifiers
, keycode
);
1364 bool wxWindow_UnregisterHotKey(wxWindow
*self
,int hotkeyId
){
1371 long wxWindow_GetHandle(wxWindow
*self
){
1372 return wxPyGetWinHandle(self
);
1375 wxWindow
* wxFindWindowById( long id
, const wxWindow
*parent
= NULL
) {
1376 return wxWindow::FindWindowById(id
, parent
);
1379 wxWindow
* wxFindWindowByName( const wxString
& name
,
1380 const wxWindow
*parent
= NULL
) {
1381 return wxWindow::FindWindowByName(name
, parent
);
1384 wxWindow
* wxFindWindowByLabel( const wxString
& label
,
1385 const wxWindow
*parent
= NULL
) {
1386 return wxWindow::FindWindowByLabel(label
, parent
);
1391 #include <wx/msw/private.h> // to get wxGetWindowId
1395 wxWindow
* wxWindow_FromHWND(wxWindow
* parent
, unsigned long _hWnd
) {
1397 WXHWND hWnd
= (WXHWND
)_hWnd
;
1398 long id
= wxGetWindowId(hWnd
);
1399 wxWindow
* win
= new wxWindow
;
1400 parent
->AddChild(win
);
1401 win
->SetEventHandler(win
);
1404 win
->SubclassWin(hWnd
);
1405 win
->AdoptAttributesFromHWND();
1406 win
->SetupColours();
1409 wxPyRaiseNotImplemented();
1415 IMP_PYCALLBACK_BOOL_WXWIN(wxPyValidator
, wxValidator
, Validate
);
1416 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferToWindow
);
1417 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferFromWindow
);
1419 IMPLEMENT_DYNAMIC_CLASS(wxPyValidator
, wxValidator
);
1421 void wxMenu_Destroy(wxMenu
*self
){ delete self
; }
1422 PyObject
*wxMenu_GetMenuItems(wxMenu
*self
){
1423 wxMenuItemList
& list
= self
->GetMenuItems();
1424 return wxPy_ConvertList(&list
);
1426 static const wxString
wxPyControlNameStr(wxControlNameStr
);
1427 int wxItemContainer_Append(wxItemContainer
*self
,wxString
const &item
,PyObject
*clientData
){
1429 wxPyClientData
* data
= new wxPyClientData(clientData
);
1430 return self
->Append(item
, data
);
1432 return self
->Append(item
);
1434 int wxItemContainer_Insert(wxItemContainer
*self
,wxString
const &item
,int pos
,PyObject
*clientData
){
1436 wxPyClientData
* data
= new wxPyClientData(clientData
);
1437 return self
->Insert(item
, pos
, data
);
1439 return self
->Insert(item
, pos
);
1441 PyObject
*wxItemContainer_GetClientData(wxItemContainer
*self
,int n
){
1442 wxPyClientData
* data
= (wxPyClientData
*)self
->GetClientObject(n
);
1444 Py_INCREF(data
->m_obj
);
1451 void wxItemContainer_SetClientData(wxItemContainer
*self
,int n
,PyObject
*clientData
){
1452 wxPyClientData
* data
= new wxPyClientData(clientData
);
1453 self
->SetClientObject(n
, data
);
1461 SWIG_FloatCast(double value
)
1464 if (!PyErr_Occurred()) {
1465 if (value
< FLT_MIN
) {
1467 PyString_FromFormat("value %g is less than float minimum %g",
1469 PyErr_SetObject(PyExc_OverflowError
, err
);
1471 } else if (value
> FLT_MAX
) {
1473 PyString_FromFormat("value %g is greater than float maximum %g",
1475 PyErr_SetObject(PyExc_OverflowError
, err
);
1478 f
= swig_numeric_cast(float, value
);
1485 SWIGSTATICINLINE(float)
1486 SWIG_AsFloat(PyObject
*obj
)
1488 return SWIG_FloatCast(SWIG_AsDouble(obj
));
1492 SWIGSTATICINLINE(int)
1493 SWIG_CheckFloat(PyObject
* obj
)
1496 if (PyErr_Occurred()) {
1504 PyObject
*wxSizerItem_GetUserData(wxSizerItem
*self
){
1505 wxPyUserData
* data
= (wxPyUserData
*)self
->GetUserData();
1507 Py_INCREF(data
->m_obj
);
1515 // Figure out the type of the sizer item
1517 struct wxPySizerItemInfo
{
1519 : window(NULL
), sizer(NULL
), gotSize(False
),
1520 size(wxDefaultSize
), gotPos(False
), pos(-1)
1531 static wxPySizerItemInfo
wxPySizerItemTypeHelper(PyObject
* item
, bool checkSize
, bool checkIdx
) {
1533 wxPySizerItemInfo info
;
1535 wxSize
* sizePtr
= &size
;
1537 // Find out what the type of the item is
1539 if ( ! wxPyConvertSwigPtr(item
, (void**)&info
.window
, wxT("wxWindow")) ) {
1544 if ( ! wxPyConvertSwigPtr(item
, (void**)&info
.sizer
, wxT("wxSizer")) ) {
1548 // try wxSize or (w,h)
1549 if ( checkSize
&& wxSize_helper(item
, &sizePtr
)) {
1550 info
.size
= *sizePtr
;
1551 info
.gotSize
= True
;
1555 if (checkIdx
&& PyInt_Check(item
)) {
1556 info
.pos
= PyInt_AsLong(item
);
1562 if ( !(info
.window
|| info
.sizer
|| (checkSize
&& info
.gotSize
) || (checkIdx
&& info
.gotPos
)) ) {
1563 // no expected type, figure out what kind of error message to generate
1564 if ( !checkSize
&& !checkIdx
)
1565 PyErr_SetString(PyExc_TypeError
, "wxWindow or wxSizer expected for item");
1566 else if ( checkSize
&& !checkIdx
)
1567 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer, wxSize, or (w,h) expected for item");
1568 else if ( !checkSize
&& checkIdx
)
1569 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer or int (position) expected for item");
1571 // can this one happen?
1572 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer, wxSize, or (w,h) or int (position) expected for item");
1578 void wxSizer__setOORInfo(wxSizer
*self
,PyObject
*_self
){
1579 self
->SetClientObject(new wxPyOORClientData(_self
));
1581 void wxSizer_Add(wxSizer
*self
,PyObject
*item
,int proportion
,int flag
,int border
,PyObject
*userData
){
1583 wxPyUserData
* data
= NULL
;
1584 bool blocked
= wxPyBeginBlockThreads();
1585 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, True
, False
);
1586 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1587 data
= new wxPyUserData(userData
);
1588 wxPyEndBlockThreads(blocked
);
1590 // Now call the real Add method if a valid item type was found
1592 self
->Add(info
.window
, proportion
, flag
, border
, data
);
1593 else if ( info
.sizer
)
1594 self
->Add(info
.sizer
, proportion
, flag
, border
, data
);
1595 else if (info
.gotSize
)
1596 self
->Add(info
.size
.GetWidth(), info
.size
.GetHeight(),
1597 proportion
, flag
, border
, data
);
1599 void wxSizer_Insert(wxSizer
*self
,int before
,PyObject
*item
,int proportion
,int flag
,int border
,PyObject
*userData
){
1601 wxPyUserData
* data
= NULL
;
1602 bool blocked
= wxPyBeginBlockThreads();
1603 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, True
, False
);
1604 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1605 data
= new wxPyUserData(userData
);
1606 wxPyEndBlockThreads(blocked
);
1608 // Now call the real Insert method if a valid item type was found
1610 self
->Insert(before
, info
.window
, proportion
, flag
, border
, data
);
1611 else if ( info
.sizer
)
1612 self
->Insert(before
, info
.sizer
, proportion
, flag
, border
, data
);
1613 else if (info
.gotSize
)
1614 self
->Insert(before
, info
.size
.GetWidth(), info
.size
.GetHeight(),
1615 proportion
, flag
, border
, data
);
1617 void wxSizer_Prepend(wxSizer
*self
,PyObject
*item
,int proportion
,int flag
,int border
,PyObject
*userData
){
1619 wxPyUserData
* data
= NULL
;
1620 bool blocked
= wxPyBeginBlockThreads();
1621 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, True
, False
);
1622 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1623 data
= new wxPyUserData(userData
);
1624 wxPyEndBlockThreads(blocked
);
1626 // Now call the real Prepend method if a valid item type was found
1628 self
->Prepend(info
.window
, proportion
, flag
, border
, data
);
1629 else if ( info
.sizer
)
1630 self
->Prepend(info
.sizer
, proportion
, flag
, border
, data
);
1631 else if (info
.gotSize
)
1632 self
->Prepend(info
.size
.GetWidth(), info
.size
.GetHeight(),
1633 proportion
, flag
, border
, data
);
1635 bool wxSizer_Remove(wxSizer
*self
,PyObject
*item
){
1636 bool blocked
= wxPyBeginBlockThreads();
1637 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, True
);
1638 wxPyEndBlockThreads(blocked
);
1640 return self
->Remove(info
.window
);
1641 else if ( info
.sizer
)
1642 return self
->Remove(info
.sizer
);
1643 else if ( info
.gotPos
)
1644 return self
->Remove(info
.pos
);
1648 bool wxSizer_Detach(wxSizer
*self
,PyObject
*item
){
1649 bool blocked
= wxPyBeginBlockThreads();
1650 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, True
);
1651 wxPyEndBlockThreads(blocked
);
1653 return self
->Detach(info
.window
);
1654 else if ( info
.sizer
)
1655 return self
->Detach(info
.sizer
);
1656 else if ( info
.gotPos
)
1657 return self
->Detach(info
.pos
);
1661 void wxSizer__SetItemMinSize(wxSizer
*self
,PyObject
*item
,wxSize
const &size
){
1662 bool blocked
= wxPyBeginBlockThreads();
1663 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, True
);
1664 wxPyEndBlockThreads(blocked
);
1666 self
->SetItemMinSize(info
.window
, size
);
1667 else if ( info
.sizer
)
1668 self
->SetItemMinSize(info
.sizer
, size
);
1669 else if ( info
.gotPos
)
1670 self
->SetItemMinSize(info
.pos
, size
);
1672 PyObject
*wxSizer_GetChildren(wxSizer
*self
){
1673 wxSizerItemList
& list
= self
->GetChildren();
1674 return wxPy_ConvertList(&list
);
1676 void wxSizer_Show(wxSizer
*self
,PyObject
*item
,bool show
){
1677 bool blocked
= wxPyBeginBlockThreads();
1678 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, False
);
1679 wxPyEndBlockThreads(blocked
);
1681 self
->Show(info
.window
, show
);
1682 else if ( info
.sizer
)
1683 self
->Show(info
.sizer
, show
);
1685 void wxSizer_Hide(wxSizer
*self
,PyObject
*item
){
1686 bool blocked
= wxPyBeginBlockThreads();
1687 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, False
);
1688 wxPyEndBlockThreads(blocked
);
1690 self
->Hide(info
.window
);
1691 else if ( info
.sizer
)
1692 self
->Hide(info
.sizer
);
1694 bool wxSizer_IsShown(wxSizer
*self
,PyObject
*item
){
1695 bool blocked
= wxPyBeginBlockThreads();
1696 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, False
);
1697 wxPyEndBlockThreads(blocked
);
1699 return self
->IsShown(info
.window
);
1700 else if ( info
.sizer
)
1701 return self
->IsShown(info
.sizer
);
1707 IMP_PYCALLBACK___pure(wxPySizer
, wxSizer
, RecalcSizes
);
1708 IMP_PYCALLBACK_wxSize__pure(wxPySizer
, wxSizer
, CalcMin
);
1709 IMPLEMENT_DYNAMIC_CLASS(wxPySizer
, wxSizer
);
1714 bool wxGBPosition_helper(PyObject
* source
, wxGBPosition
** obj
)
1716 if (source
== Py_None
) {
1717 **obj
= wxGBPosition(-1,-1);
1720 return wxPyTwoIntItem_helper(source
, obj
, wxT("wxGBPosition"));
1723 bool wxGBSpan_helper(PyObject
* source
, wxGBSpan
** obj
)
1725 if (source
== Py_None
) {
1726 **obj
= wxGBSpan(-1,-1);
1729 return wxPyTwoIntItem_helper(source
, obj
, wxT("wxGBSpan"));
1733 void wxGBPosition_Set(wxGBPosition
*self
,int row
,int col
){
1737 PyObject
*wxGBPosition_Get(wxGBPosition
*self
){
1738 bool blocked
= wxPyBeginBlockThreads();
1739 PyObject
* tup
= PyTuple_New(2);
1740 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRow()));
1741 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetCol()));
1742 wxPyEndBlockThreads(blocked
);
1745 void wxGBSpan_Set(wxGBSpan
*self
,int rowspan
,int colspan
){
1746 self
->SetRowspan(rowspan
);
1747 self
->SetColspan(colspan
);
1749 PyObject
*wxGBSpan_Get(wxGBSpan
*self
){
1750 bool blocked
= wxPyBeginBlockThreads();
1751 PyObject
* tup
= PyTuple_New(2);
1752 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRowspan()));
1753 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetColspan()));
1754 wxPyEndBlockThreads(blocked
);
1757 bool wxGridBagSizer_Add(wxGridBagSizer
*self
,PyObject
*item
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
){
1759 wxPyUserData
* data
= NULL
;
1760 bool blocked
= wxPyBeginBlockThreads();
1761 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, True
, False
);
1762 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1763 data
= new wxPyUserData(userData
);
1764 wxPyEndBlockThreads(blocked
);
1766 // Now call the real Add method if a valid item type was found
1768 return self
->Add(info
.window
, pos
, span
, flag
, border
, data
);
1769 else if ( info
.sizer
)
1770 return self
->Add(info
.sizer
, pos
, span
, flag
, border
, data
);
1771 else if (info
.gotSize
)
1772 return self
->Add(info
.size
.GetWidth(), info
.size
.GetHeight(),
1773 pos
, span
, flag
, border
, data
);
1781 static int _wrap_EmptyString_set(PyObject
*_val
) {
1782 PyErr_SetString(PyExc_TypeError
,"Variable EmptyString is read-only.");
1787 static PyObject
*_wrap_EmptyString_get() {
1792 pyobj
= PyUnicode_FromWideChar((&wxPyEmptyString
)->c_str(), (&wxPyEmptyString
)->Len());
1794 pyobj
= PyString_FromStringAndSize((&wxPyEmptyString
)->c_str(), (&wxPyEmptyString
)->Len());
1801 static PyObject
*_wrap_Object_GetClassName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1802 PyObject
*resultobj
;
1803 wxObject
*arg1
= (wxObject
*) 0 ;
1805 PyObject
* obj0
= 0 ;
1807 (char *) "self", NULL
1810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Object_GetClassName",kwnames
,&obj0
)) goto fail
;
1811 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxObject
,
1812 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1815 result
= wxObject_GetClassName(arg1
);
1817 wxPyEndAllowThreads(__tstate
);
1818 if (PyErr_Occurred()) SWIG_fail
;
1822 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
1824 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
1833 static PyObject
*_wrap_Object_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1834 PyObject
*resultobj
;
1835 wxObject
*arg1
= (wxObject
*) 0 ;
1836 PyObject
* obj0
= 0 ;
1838 (char *) "self", NULL
1841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Object_Destroy",kwnames
,&obj0
)) goto fail
;
1842 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxObject
,
1843 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1846 wxObject_Destroy(arg1
);
1848 wxPyEndAllowThreads(__tstate
);
1849 if (PyErr_Occurred()) SWIG_fail
;
1851 Py_INCREF(Py_None
); resultobj
= Py_None
;
1858 static PyObject
* Object_swigregister(PyObject
*self
, PyObject
*args
) {
1860 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1861 SWIG_TypeClientData(SWIGTYPE_p_wxObject
, obj
);
1863 return Py_BuildValue((char *)"");
1865 static PyObject
*_wrap_Size_width_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1866 PyObject
*resultobj
;
1867 wxSize
*arg1
= (wxSize
*) 0 ;
1869 PyObject
* obj0
= 0 ;
1870 PyObject
* obj1
= 0 ;
1872 (char *) "self",(char *) "x", NULL
1875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
1876 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
1877 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1878 arg2
= (int) SWIG_AsInt(obj1
);
1879 if (PyErr_Occurred()) SWIG_fail
;
1880 if (arg1
) (arg1
)->x
= arg2
;
1882 Py_INCREF(Py_None
); resultobj
= Py_None
;
1889 static PyObject
*_wrap_Size_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1890 PyObject
*resultobj
;
1891 wxSize
*arg1
= (wxSize
*) 0 ;
1893 PyObject
* obj0
= 0 ;
1895 (char *) "self", NULL
1898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_width_get",kwnames
,&obj0
)) goto fail
;
1899 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
1900 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1901 result
= (int) ((arg1
)->x
);
1903 resultobj
= SWIG_FromInt((int)result
);
1910 static PyObject
*_wrap_Size_height_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1911 PyObject
*resultobj
;
1912 wxSize
*arg1
= (wxSize
*) 0 ;
1914 PyObject
* obj0
= 0 ;
1915 PyObject
* obj1
= 0 ;
1917 (char *) "self",(char *) "y", NULL
1920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_height_set",kwnames
,&obj0
,&obj1
)) goto fail
;
1921 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
1922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1923 arg2
= (int) SWIG_AsInt(obj1
);
1924 if (PyErr_Occurred()) SWIG_fail
;
1925 if (arg1
) (arg1
)->y
= arg2
;
1927 Py_INCREF(Py_None
); resultobj
= Py_None
;
1934 static PyObject
*_wrap_Size_height_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1935 PyObject
*resultobj
;
1936 wxSize
*arg1
= (wxSize
*) 0 ;
1938 PyObject
* obj0
= 0 ;
1940 (char *) "self", NULL
1943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_height_get",kwnames
,&obj0
)) goto fail
;
1944 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
1945 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1946 result
= (int) ((arg1
)->y
);
1948 resultobj
= SWIG_FromInt((int)result
);
1955 static PyObject
*_wrap_new_Size(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1956 PyObject
*resultobj
;
1957 int arg1
= (int) 0 ;
1958 int arg2
= (int) 0 ;
1960 PyObject
* obj0
= 0 ;
1961 PyObject
* obj1
= 0 ;
1963 (char *) "w",(char *) "h", NULL
1966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Size",kwnames
,&obj0
,&obj1
)) goto fail
;
1968 arg1
= (int) SWIG_AsInt(obj0
);
1969 if (PyErr_Occurred()) SWIG_fail
;
1972 arg2
= (int) SWIG_AsInt(obj1
);
1973 if (PyErr_Occurred()) SWIG_fail
;
1976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1977 result
= (wxSize
*)new wxSize(arg1
,arg2
);
1979 wxPyEndAllowThreads(__tstate
);
1980 if (PyErr_Occurred()) SWIG_fail
;
1982 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 1);
1989 static PyObject
*_wrap_delete_Size(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1990 PyObject
*resultobj
;
1991 wxSize
*arg1
= (wxSize
*) 0 ;
1992 PyObject
* obj0
= 0 ;
1994 (char *) "self", NULL
1997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Size",kwnames
,&obj0
)) goto fail
;
1998 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
1999 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2004 wxPyEndAllowThreads(__tstate
);
2005 if (PyErr_Occurred()) SWIG_fail
;
2007 Py_INCREF(Py_None
); resultobj
= Py_None
;
2014 static PyObject
*_wrap_Size___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2015 PyObject
*resultobj
;
2016 wxSize
*arg1
= (wxSize
*) 0 ;
2020 PyObject
* obj0
= 0 ;
2021 PyObject
* obj1
= 0 ;
2023 (char *) "self",(char *) "sz", NULL
2026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
2027 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2028 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2031 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2035 result
= (bool)(arg1
)->operator ==((wxSize
const &)*arg2
);
2037 wxPyEndAllowThreads(__tstate
);
2038 if (PyErr_Occurred()) SWIG_fail
;
2041 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2049 static PyObject
*_wrap_Size___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2050 PyObject
*resultobj
;
2051 wxSize
*arg1
= (wxSize
*) 0 ;
2055 PyObject
* obj0
= 0 ;
2056 PyObject
* obj1
= 0 ;
2058 (char *) "self",(char *) "sz", NULL
2061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
2062 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2063 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2066 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2070 result
= (bool)(arg1
)->operator !=((wxSize
const &)*arg2
);
2072 wxPyEndAllowThreads(__tstate
);
2073 if (PyErr_Occurred()) SWIG_fail
;
2076 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2084 static PyObject
*_wrap_Size___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2085 PyObject
*resultobj
;
2086 wxSize
*arg1
= (wxSize
*) 0 ;
2090 PyObject
* obj0
= 0 ;
2091 PyObject
* obj1
= 0 ;
2093 (char *) "self",(char *) "sz", NULL
2096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
2097 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2098 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2101 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2105 result
= (arg1
)->operator +((wxSize
const &)*arg2
);
2107 wxPyEndAllowThreads(__tstate
);
2108 if (PyErr_Occurred()) SWIG_fail
;
2112 resultptr
= new wxSize((wxSize
&) result
);
2113 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
2121 static PyObject
*_wrap_Size___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2122 PyObject
*resultobj
;
2123 wxSize
*arg1
= (wxSize
*) 0 ;
2127 PyObject
* obj0
= 0 ;
2128 PyObject
* obj1
= 0 ;
2130 (char *) "self",(char *) "sz", NULL
2133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
2134 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2135 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2138 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2142 result
= (arg1
)->operator -((wxSize
const &)*arg2
);
2144 wxPyEndAllowThreads(__tstate
);
2145 if (PyErr_Occurred()) SWIG_fail
;
2149 resultptr
= new wxSize((wxSize
&) result
);
2150 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
2158 static PyObject
*_wrap_Size_IncTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2159 PyObject
*resultobj
;
2160 wxSize
*arg1
= (wxSize
*) 0 ;
2163 PyObject
* obj0
= 0 ;
2164 PyObject
* obj1
= 0 ;
2166 (char *) "self",(char *) "sz", NULL
2169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_IncTo",kwnames
,&obj0
,&obj1
)) goto fail
;
2170 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2171 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2174 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2178 (arg1
)->IncTo((wxSize
const &)*arg2
);
2180 wxPyEndAllowThreads(__tstate
);
2181 if (PyErr_Occurred()) SWIG_fail
;
2183 Py_INCREF(Py_None
); resultobj
= Py_None
;
2190 static PyObject
*_wrap_Size_DecTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2191 PyObject
*resultobj
;
2192 wxSize
*arg1
= (wxSize
*) 0 ;
2195 PyObject
* obj0
= 0 ;
2196 PyObject
* obj1
= 0 ;
2198 (char *) "self",(char *) "sz", NULL
2201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_DecTo",kwnames
,&obj0
,&obj1
)) goto fail
;
2202 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2203 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2206 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2210 (arg1
)->DecTo((wxSize
const &)*arg2
);
2212 wxPyEndAllowThreads(__tstate
);
2213 if (PyErr_Occurred()) SWIG_fail
;
2215 Py_INCREF(Py_None
); resultobj
= Py_None
;
2222 static PyObject
*_wrap_Size_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2223 PyObject
*resultobj
;
2224 wxSize
*arg1
= (wxSize
*) 0 ;
2227 PyObject
* obj0
= 0 ;
2228 PyObject
* obj1
= 0 ;
2229 PyObject
* obj2
= 0 ;
2231 (char *) "self",(char *) "w",(char *) "h", NULL
2234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Size_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2235 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2236 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2237 arg2
= (int) SWIG_AsInt(obj1
);
2238 if (PyErr_Occurred()) SWIG_fail
;
2239 arg3
= (int) SWIG_AsInt(obj2
);
2240 if (PyErr_Occurred()) SWIG_fail
;
2242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2243 (arg1
)->Set(arg2
,arg3
);
2245 wxPyEndAllowThreads(__tstate
);
2246 if (PyErr_Occurred()) SWIG_fail
;
2248 Py_INCREF(Py_None
); resultobj
= Py_None
;
2255 static PyObject
*_wrap_Size_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2256 PyObject
*resultobj
;
2257 wxSize
*arg1
= (wxSize
*) 0 ;
2259 PyObject
* obj0
= 0 ;
2260 PyObject
* obj1
= 0 ;
2262 (char *) "self",(char *) "w", NULL
2265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
2266 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2267 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2268 arg2
= (int) SWIG_AsInt(obj1
);
2269 if (PyErr_Occurred()) SWIG_fail
;
2271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2272 (arg1
)->SetWidth(arg2
);
2274 wxPyEndAllowThreads(__tstate
);
2275 if (PyErr_Occurred()) SWIG_fail
;
2277 Py_INCREF(Py_None
); resultobj
= Py_None
;
2284 static PyObject
*_wrap_Size_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2285 PyObject
*resultobj
;
2286 wxSize
*arg1
= (wxSize
*) 0 ;
2288 PyObject
* obj0
= 0 ;
2289 PyObject
* obj1
= 0 ;
2291 (char *) "self",(char *) "h", NULL
2294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
2295 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2296 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2297 arg2
= (int) SWIG_AsInt(obj1
);
2298 if (PyErr_Occurred()) SWIG_fail
;
2300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2301 (arg1
)->SetHeight(arg2
);
2303 wxPyEndAllowThreads(__tstate
);
2304 if (PyErr_Occurred()) SWIG_fail
;
2306 Py_INCREF(Py_None
); resultobj
= Py_None
;
2313 static PyObject
*_wrap_Size_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2314 PyObject
*resultobj
;
2315 wxSize
*arg1
= (wxSize
*) 0 ;
2317 PyObject
* obj0
= 0 ;
2319 (char *) "self", NULL
2322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_GetWidth",kwnames
,&obj0
)) goto fail
;
2323 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2324 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2327 result
= (int)((wxSize
const *)arg1
)->GetWidth();
2329 wxPyEndAllowThreads(__tstate
);
2330 if (PyErr_Occurred()) SWIG_fail
;
2332 resultobj
= SWIG_FromInt((int)result
);
2339 static PyObject
*_wrap_Size_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2340 PyObject
*resultobj
;
2341 wxSize
*arg1
= (wxSize
*) 0 ;
2343 PyObject
* obj0
= 0 ;
2345 (char *) "self", NULL
2348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_GetHeight",kwnames
,&obj0
)) goto fail
;
2349 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2350 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2353 result
= (int)((wxSize
const *)arg1
)->GetHeight();
2355 wxPyEndAllowThreads(__tstate
);
2356 if (PyErr_Occurred()) SWIG_fail
;
2358 resultobj
= SWIG_FromInt((int)result
);
2365 static PyObject
*_wrap_Size_IsFullySpecified(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2366 PyObject
*resultobj
;
2367 wxSize
*arg1
= (wxSize
*) 0 ;
2369 PyObject
* obj0
= 0 ;
2371 (char *) "self", NULL
2374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_IsFullySpecified",kwnames
,&obj0
)) goto fail
;
2375 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2379 result
= (bool)((wxSize
const *)arg1
)->IsFullySpecified();
2381 wxPyEndAllowThreads(__tstate
);
2382 if (PyErr_Occurred()) SWIG_fail
;
2385 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2393 static PyObject
*_wrap_Size_SetDefaults(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2394 PyObject
*resultobj
;
2395 wxSize
*arg1
= (wxSize
*) 0 ;
2398 PyObject
* obj0
= 0 ;
2399 PyObject
* obj1
= 0 ;
2401 (char *) "self",(char *) "size", NULL
2404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetDefaults",kwnames
,&obj0
,&obj1
)) goto fail
;
2405 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2409 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2413 (arg1
)->SetDefaults((wxSize
const &)*arg2
);
2415 wxPyEndAllowThreads(__tstate
);
2416 if (PyErr_Occurred()) SWIG_fail
;
2418 Py_INCREF(Py_None
); resultobj
= Py_None
;
2425 static PyObject
*_wrap_Size_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2426 PyObject
*resultobj
;
2427 wxSize
*arg1
= (wxSize
*) 0 ;
2429 PyObject
* obj0
= 0 ;
2431 (char *) "self", NULL
2434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_Get",kwnames
,&obj0
)) goto fail
;
2435 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2436 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2439 result
= (PyObject
*)wxSize_Get(arg1
);
2441 wxPyEndAllowThreads(__tstate
);
2442 if (PyErr_Occurred()) SWIG_fail
;
2451 static PyObject
* Size_swigregister(PyObject
*self
, PyObject
*args
) {
2453 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2454 SWIG_TypeClientData(SWIGTYPE_p_wxSize
, obj
);
2456 return Py_BuildValue((char *)"");
2458 static PyObject
*_wrap_RealPoint_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2459 PyObject
*resultobj
;
2460 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2462 PyObject
* obj0
= 0 ;
2463 PyObject
* obj1
= 0 ;
2465 (char *) "self",(char *) "x", NULL
2468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
2469 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2471 arg2
= (double) SWIG_AsDouble(obj1
);
2472 if (PyErr_Occurred()) SWIG_fail
;
2473 if (arg1
) (arg1
)->x
= arg2
;
2475 Py_INCREF(Py_None
); resultobj
= Py_None
;
2482 static PyObject
*_wrap_RealPoint_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2483 PyObject
*resultobj
;
2484 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2486 PyObject
* obj0
= 0 ;
2488 (char *) "self", NULL
2491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_x_get",kwnames
,&obj0
)) goto fail
;
2492 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2493 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2494 result
= (double) ((arg1
)->x
);
2496 resultobj
= SWIG_FromDouble((double)result
);
2503 static PyObject
*_wrap_RealPoint_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2504 PyObject
*resultobj
;
2505 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2507 PyObject
* obj0
= 0 ;
2508 PyObject
* obj1
= 0 ;
2510 (char *) "self",(char *) "y", NULL
2513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
2514 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2515 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2516 arg2
= (double) SWIG_AsDouble(obj1
);
2517 if (PyErr_Occurred()) SWIG_fail
;
2518 if (arg1
) (arg1
)->y
= arg2
;
2520 Py_INCREF(Py_None
); resultobj
= Py_None
;
2527 static PyObject
*_wrap_RealPoint_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2528 PyObject
*resultobj
;
2529 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2531 PyObject
* obj0
= 0 ;
2533 (char *) "self", NULL
2536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_y_get",kwnames
,&obj0
)) goto fail
;
2537 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2538 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2539 result
= (double) ((arg1
)->y
);
2541 resultobj
= SWIG_FromDouble((double)result
);
2548 static PyObject
*_wrap_new_RealPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2549 PyObject
*resultobj
;
2550 double arg1
= (double) 0.0 ;
2551 double arg2
= (double) 0.0 ;
2552 wxRealPoint
*result
;
2553 PyObject
* obj0
= 0 ;
2554 PyObject
* obj1
= 0 ;
2556 (char *) "x",(char *) "y", NULL
2559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_RealPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
2561 arg1
= (double) SWIG_AsDouble(obj0
);
2562 if (PyErr_Occurred()) SWIG_fail
;
2565 arg2
= (double) SWIG_AsDouble(obj1
);
2566 if (PyErr_Occurred()) SWIG_fail
;
2569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2570 result
= (wxRealPoint
*)new wxRealPoint(arg1
,arg2
);
2572 wxPyEndAllowThreads(__tstate
);
2573 if (PyErr_Occurred()) SWIG_fail
;
2575 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRealPoint
, 1);
2582 static PyObject
*_wrap_delete_RealPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2583 PyObject
*resultobj
;
2584 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2585 PyObject
* obj0
= 0 ;
2587 (char *) "self", NULL
2590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_RealPoint",kwnames
,&obj0
)) goto fail
;
2591 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2592 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2597 wxPyEndAllowThreads(__tstate
);
2598 if (PyErr_Occurred()) SWIG_fail
;
2600 Py_INCREF(Py_None
); resultobj
= Py_None
;
2607 static PyObject
*_wrap_RealPoint___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2608 PyObject
*resultobj
;
2609 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2610 wxRealPoint
*arg2
= 0 ;
2613 PyObject
* obj0
= 0 ;
2614 PyObject
* obj1
= 0 ;
2616 (char *) "self",(char *) "pt", NULL
2619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
2620 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2621 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2624 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2628 result
= (bool)(arg1
)->operator ==((wxRealPoint
const &)*arg2
);
2630 wxPyEndAllowThreads(__tstate
);
2631 if (PyErr_Occurred()) SWIG_fail
;
2634 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2642 static PyObject
*_wrap_RealPoint___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2643 PyObject
*resultobj
;
2644 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2645 wxRealPoint
*arg2
= 0 ;
2648 PyObject
* obj0
= 0 ;
2649 PyObject
* obj1
= 0 ;
2651 (char *) "self",(char *) "pt", NULL
2654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
2655 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2656 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2659 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2663 result
= (bool)(arg1
)->operator !=((wxRealPoint
const &)*arg2
);
2665 wxPyEndAllowThreads(__tstate
);
2666 if (PyErr_Occurred()) SWIG_fail
;
2669 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2677 static PyObject
*_wrap_RealPoint___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2678 PyObject
*resultobj
;
2679 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2680 wxRealPoint
*arg2
= 0 ;
2683 PyObject
* obj0
= 0 ;
2684 PyObject
* obj1
= 0 ;
2686 (char *) "self",(char *) "pt", NULL
2689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
2690 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2691 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2694 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2698 result
= (arg1
)->operator +((wxRealPoint
const &)*arg2
);
2700 wxPyEndAllowThreads(__tstate
);
2701 if (PyErr_Occurred()) SWIG_fail
;
2704 wxRealPoint
* resultptr
;
2705 resultptr
= new wxRealPoint((wxRealPoint
&) result
);
2706 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRealPoint
, 1);
2714 static PyObject
*_wrap_RealPoint___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2715 PyObject
*resultobj
;
2716 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2717 wxRealPoint
*arg2
= 0 ;
2720 PyObject
* obj0
= 0 ;
2721 PyObject
* obj1
= 0 ;
2723 (char *) "self",(char *) "pt", NULL
2726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
2727 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2728 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2731 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2735 result
= (arg1
)->operator -((wxRealPoint
const &)*arg2
);
2737 wxPyEndAllowThreads(__tstate
);
2738 if (PyErr_Occurred()) SWIG_fail
;
2741 wxRealPoint
* resultptr
;
2742 resultptr
= new wxRealPoint((wxRealPoint
&) result
);
2743 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRealPoint
, 1);
2751 static PyObject
*_wrap_RealPoint_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2752 PyObject
*resultobj
;
2753 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2756 PyObject
* obj0
= 0 ;
2757 PyObject
* obj1
= 0 ;
2758 PyObject
* obj2
= 0 ;
2760 (char *) "self",(char *) "x",(char *) "y", NULL
2763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RealPoint_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2764 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2765 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2766 arg2
= (double) SWIG_AsDouble(obj1
);
2767 if (PyErr_Occurred()) SWIG_fail
;
2768 arg3
= (double) SWIG_AsDouble(obj2
);
2769 if (PyErr_Occurred()) SWIG_fail
;
2771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2772 wxRealPoint_Set(arg1
,arg2
,arg3
);
2774 wxPyEndAllowThreads(__tstate
);
2775 if (PyErr_Occurred()) SWIG_fail
;
2777 Py_INCREF(Py_None
); resultobj
= Py_None
;
2784 static PyObject
*_wrap_RealPoint_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2785 PyObject
*resultobj
;
2786 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2788 PyObject
* obj0
= 0 ;
2790 (char *) "self", NULL
2793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_Get",kwnames
,&obj0
)) goto fail
;
2794 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2795 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2798 result
= (PyObject
*)wxRealPoint_Get(arg1
);
2800 wxPyEndAllowThreads(__tstate
);
2801 if (PyErr_Occurred()) SWIG_fail
;
2810 static PyObject
* RealPoint_swigregister(PyObject
*self
, PyObject
*args
) {
2812 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2813 SWIG_TypeClientData(SWIGTYPE_p_wxRealPoint
, obj
);
2815 return Py_BuildValue((char *)"");
2817 static PyObject
*_wrap_Point_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2818 PyObject
*resultobj
;
2819 wxPoint
*arg1
= (wxPoint
*) 0 ;
2821 PyObject
* obj0
= 0 ;
2822 PyObject
* obj1
= 0 ;
2824 (char *) "self",(char *) "x", NULL
2827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
2828 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
2829 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2830 arg2
= (int) SWIG_AsInt(obj1
);
2831 if (PyErr_Occurred()) SWIG_fail
;
2832 if (arg1
) (arg1
)->x
= arg2
;
2834 Py_INCREF(Py_None
); resultobj
= Py_None
;
2841 static PyObject
*_wrap_Point_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2842 PyObject
*resultobj
;
2843 wxPoint
*arg1
= (wxPoint
*) 0 ;
2845 PyObject
* obj0
= 0 ;
2847 (char *) "self", NULL
2850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_x_get",kwnames
,&obj0
)) goto fail
;
2851 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
2852 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2853 result
= (int) ((arg1
)->x
);
2855 resultobj
= SWIG_FromInt((int)result
);
2862 static PyObject
*_wrap_Point_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2863 PyObject
*resultobj
;
2864 wxPoint
*arg1
= (wxPoint
*) 0 ;
2866 PyObject
* obj0
= 0 ;
2867 PyObject
* obj1
= 0 ;
2869 (char *) "self",(char *) "y", NULL
2872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
2873 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
2874 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2875 arg2
= (int) SWIG_AsInt(obj1
);
2876 if (PyErr_Occurred()) SWIG_fail
;
2877 if (arg1
) (arg1
)->y
= arg2
;
2879 Py_INCREF(Py_None
); resultobj
= Py_None
;
2886 static PyObject
*_wrap_Point_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2887 PyObject
*resultobj
;
2888 wxPoint
*arg1
= (wxPoint
*) 0 ;
2890 PyObject
* obj0
= 0 ;
2892 (char *) "self", NULL
2895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_y_get",kwnames
,&obj0
)) goto fail
;
2896 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
2897 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2898 result
= (int) ((arg1
)->y
);
2900 resultobj
= SWIG_FromInt((int)result
);
2907 static PyObject
*_wrap_new_Point(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2908 PyObject
*resultobj
;
2909 int arg1
= (int) 0 ;
2910 int arg2
= (int) 0 ;
2912 PyObject
* obj0
= 0 ;
2913 PyObject
* obj1
= 0 ;
2915 (char *) "x",(char *) "y", NULL
2918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Point",kwnames
,&obj0
,&obj1
)) goto fail
;
2920 arg1
= (int) SWIG_AsInt(obj0
);
2921 if (PyErr_Occurred()) SWIG_fail
;
2924 arg2
= (int) SWIG_AsInt(obj1
);
2925 if (PyErr_Occurred()) SWIG_fail
;
2928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2929 result
= (wxPoint
*)new wxPoint(arg1
,arg2
);
2931 wxPyEndAllowThreads(__tstate
);
2932 if (PyErr_Occurred()) SWIG_fail
;
2934 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 1);
2941 static PyObject
*_wrap_delete_Point(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2942 PyObject
*resultobj
;
2943 wxPoint
*arg1
= (wxPoint
*) 0 ;
2944 PyObject
* obj0
= 0 ;
2946 (char *) "self", NULL
2949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Point",kwnames
,&obj0
)) goto fail
;
2950 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
2951 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2956 wxPyEndAllowThreads(__tstate
);
2957 if (PyErr_Occurred()) SWIG_fail
;
2959 Py_INCREF(Py_None
); resultobj
= Py_None
;
2966 static PyObject
*_wrap_Point___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2967 PyObject
*resultobj
;
2968 wxPoint
*arg1
= (wxPoint
*) 0 ;
2972 PyObject
* obj0
= 0 ;
2973 PyObject
* obj1
= 0 ;
2975 (char *) "self",(char *) "pt", NULL
2978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
2979 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
2980 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2983 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2987 result
= (bool)(arg1
)->operator ==((wxPoint
const &)*arg2
);
2989 wxPyEndAllowThreads(__tstate
);
2990 if (PyErr_Occurred()) SWIG_fail
;
2993 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3001 static PyObject
*_wrap_Point___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3002 PyObject
*resultobj
;
3003 wxPoint
*arg1
= (wxPoint
*) 0 ;
3007 PyObject
* obj0
= 0 ;
3008 PyObject
* obj1
= 0 ;
3010 (char *) "self",(char *) "pt", NULL
3013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
3014 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3015 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3018 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3022 result
= (bool)(arg1
)->operator !=((wxPoint
const &)*arg2
);
3024 wxPyEndAllowThreads(__tstate
);
3025 if (PyErr_Occurred()) SWIG_fail
;
3028 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3036 static PyObject
*_wrap_Point___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3037 PyObject
*resultobj
;
3038 wxPoint
*arg1
= (wxPoint
*) 0 ;
3042 PyObject
* obj0
= 0 ;
3043 PyObject
* obj1
= 0 ;
3045 (char *) "self",(char *) "pt", NULL
3048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
3049 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3050 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3053 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3057 result
= (arg1
)->operator +((wxPoint
const &)*arg2
);
3059 wxPyEndAllowThreads(__tstate
);
3060 if (PyErr_Occurred()) SWIG_fail
;
3063 wxPoint
* resultptr
;
3064 resultptr
= new wxPoint((wxPoint
&) result
);
3065 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3073 static PyObject
*_wrap_Point___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3074 PyObject
*resultobj
;
3075 wxPoint
*arg1
= (wxPoint
*) 0 ;
3079 PyObject
* obj0
= 0 ;
3080 PyObject
* obj1
= 0 ;
3082 (char *) "self",(char *) "pt", NULL
3085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
3086 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3087 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3090 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3094 result
= (arg1
)->operator -((wxPoint
const &)*arg2
);
3096 wxPyEndAllowThreads(__tstate
);
3097 if (PyErr_Occurred()) SWIG_fail
;
3100 wxPoint
* resultptr
;
3101 resultptr
= new wxPoint((wxPoint
&) result
);
3102 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3110 static PyObject
*_wrap_Point___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3111 PyObject
*resultobj
;
3112 wxPoint
*arg1
= (wxPoint
*) 0 ;
3116 PyObject
* obj0
= 0 ;
3117 PyObject
* obj1
= 0 ;
3119 (char *) "self",(char *) "pt", NULL
3122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
3123 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3124 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3127 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3132 wxPoint
&_result_ref
= (arg1
)->operator +=((wxPoint
const &)*arg2
);
3133 result
= (wxPoint
*) &_result_ref
;
3136 wxPyEndAllowThreads(__tstate
);
3137 if (PyErr_Occurred()) SWIG_fail
;
3139 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
3146 static PyObject
*_wrap_Point___isub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3147 PyObject
*resultobj
;
3148 wxPoint
*arg1
= (wxPoint
*) 0 ;
3152 PyObject
* obj0
= 0 ;
3153 PyObject
* obj1
= 0 ;
3155 (char *) "self",(char *) "pt", NULL
3158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
3159 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3160 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3163 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3168 wxPoint
&_result_ref
= (arg1
)->operator -=((wxPoint
const &)*arg2
);
3169 result
= (wxPoint
*) &_result_ref
;
3172 wxPyEndAllowThreads(__tstate
);
3173 if (PyErr_Occurred()) SWIG_fail
;
3175 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
3182 static PyObject
*_wrap_Point_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3183 PyObject
*resultobj
;
3184 wxPoint
*arg1
= (wxPoint
*) 0 ;
3187 PyObject
* obj0
= 0 ;
3188 PyObject
* obj1
= 0 ;
3189 PyObject
* obj2
= 0 ;
3191 (char *) "self",(char *) "x",(char *) "y", NULL
3194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Point_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3195 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3196 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3197 arg2
= (long) SWIG_AsLong(obj1
);
3198 if (PyErr_Occurred()) SWIG_fail
;
3199 arg3
= (long) SWIG_AsLong(obj2
);
3200 if (PyErr_Occurred()) SWIG_fail
;
3202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3203 wxPoint_Set(arg1
,arg2
,arg3
);
3205 wxPyEndAllowThreads(__tstate
);
3206 if (PyErr_Occurred()) SWIG_fail
;
3208 Py_INCREF(Py_None
); resultobj
= Py_None
;
3215 static PyObject
*_wrap_Point_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3216 PyObject
*resultobj
;
3217 wxPoint
*arg1
= (wxPoint
*) 0 ;
3219 PyObject
* obj0
= 0 ;
3221 (char *) "self", NULL
3224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_Get",kwnames
,&obj0
)) goto fail
;
3225 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3226 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3229 result
= (PyObject
*)wxPoint_Get(arg1
);
3231 wxPyEndAllowThreads(__tstate
);
3232 if (PyErr_Occurred()) SWIG_fail
;
3241 static PyObject
* Point_swigregister(PyObject
*self
, PyObject
*args
) {
3243 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3244 SWIG_TypeClientData(SWIGTYPE_p_wxPoint
, obj
);
3246 return Py_BuildValue((char *)"");
3248 static PyObject
*_wrap_new_Rect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3249 PyObject
*resultobj
;
3250 int arg1
= (int) 0 ;
3251 int arg2
= (int) 0 ;
3252 int arg3
= (int) 0 ;
3253 int arg4
= (int) 0 ;
3255 PyObject
* obj0
= 0 ;
3256 PyObject
* obj1
= 0 ;
3257 PyObject
* obj2
= 0 ;
3258 PyObject
* obj3
= 0 ;
3260 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
3263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Rect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3265 arg1
= (int) SWIG_AsInt(obj0
);
3266 if (PyErr_Occurred()) SWIG_fail
;
3269 arg2
= (int) SWIG_AsInt(obj1
);
3270 if (PyErr_Occurred()) SWIG_fail
;
3273 arg3
= (int) SWIG_AsInt(obj2
);
3274 if (PyErr_Occurred()) SWIG_fail
;
3277 arg4
= (int) SWIG_AsInt(obj3
);
3278 if (PyErr_Occurred()) SWIG_fail
;
3281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3282 result
= (wxRect
*)new wxRect(arg1
,arg2
,arg3
,arg4
);
3284 wxPyEndAllowThreads(__tstate
);
3285 if (PyErr_Occurred()) SWIG_fail
;
3287 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
3294 static PyObject
*_wrap_new_RectPP(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3295 PyObject
*resultobj
;
3301 PyObject
* obj0
= 0 ;
3302 PyObject
* obj1
= 0 ;
3304 (char *) "topLeft",(char *) "bottomRight", NULL
3307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RectPP",kwnames
,&obj0
,&obj1
)) goto fail
;
3310 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
3314 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3318 result
= (wxRect
*)new wxRect((wxPoint
const &)*arg1
,(wxPoint
const &)*arg2
);
3320 wxPyEndAllowThreads(__tstate
);
3321 if (PyErr_Occurred()) SWIG_fail
;
3323 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
3330 static PyObject
*_wrap_new_RectPS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3331 PyObject
*resultobj
;
3337 PyObject
* obj0
= 0 ;
3338 PyObject
* obj1
= 0 ;
3340 (char *) "pos",(char *) "size", NULL
3343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RectPS",kwnames
,&obj0
,&obj1
)) goto fail
;
3346 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
3350 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3354 result
= (wxRect
*)new wxRect((wxPoint
const &)*arg1
,(wxSize
const &)*arg2
);
3356 wxPyEndAllowThreads(__tstate
);
3357 if (PyErr_Occurred()) SWIG_fail
;
3359 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
3366 static PyObject
*_wrap_delete_Rect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3367 PyObject
*resultobj
;
3368 wxRect
*arg1
= (wxRect
*) 0 ;
3369 PyObject
* obj0
= 0 ;
3371 (char *) "self", NULL
3374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Rect",kwnames
,&obj0
)) goto fail
;
3375 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3381 wxPyEndAllowThreads(__tstate
);
3382 if (PyErr_Occurred()) SWIG_fail
;
3384 Py_INCREF(Py_None
); resultobj
= Py_None
;
3391 static PyObject
*_wrap_Rect_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3392 PyObject
*resultobj
;
3393 wxRect
*arg1
= (wxRect
*) 0 ;
3395 PyObject
* obj0
= 0 ;
3397 (char *) "self", NULL
3400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetX",kwnames
,&obj0
)) goto fail
;
3401 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3402 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3405 result
= (int)((wxRect
const *)arg1
)->GetX();
3407 wxPyEndAllowThreads(__tstate
);
3408 if (PyErr_Occurred()) SWIG_fail
;
3410 resultobj
= SWIG_FromInt((int)result
);
3417 static PyObject
*_wrap_Rect_SetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3418 PyObject
*resultobj
;
3419 wxRect
*arg1
= (wxRect
*) 0 ;
3421 PyObject
* obj0
= 0 ;
3422 PyObject
* obj1
= 0 ;
3424 (char *) "self",(char *) "x", NULL
3427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetX",kwnames
,&obj0
,&obj1
)) goto fail
;
3428 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3429 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3430 arg2
= (int) SWIG_AsInt(obj1
);
3431 if (PyErr_Occurred()) SWIG_fail
;
3433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3436 wxPyEndAllowThreads(__tstate
);
3437 if (PyErr_Occurred()) SWIG_fail
;
3439 Py_INCREF(Py_None
); resultobj
= Py_None
;
3446 static PyObject
*_wrap_Rect_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3447 PyObject
*resultobj
;
3448 wxRect
*arg1
= (wxRect
*) 0 ;
3450 PyObject
* obj0
= 0 ;
3452 (char *) "self", NULL
3455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetY",kwnames
,&obj0
)) goto fail
;
3456 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3457 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3460 result
= (int)(arg1
)->GetY();
3462 wxPyEndAllowThreads(__tstate
);
3463 if (PyErr_Occurred()) SWIG_fail
;
3465 resultobj
= SWIG_FromInt((int)result
);
3472 static PyObject
*_wrap_Rect_SetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3473 PyObject
*resultobj
;
3474 wxRect
*arg1
= (wxRect
*) 0 ;
3476 PyObject
* obj0
= 0 ;
3477 PyObject
* obj1
= 0 ;
3479 (char *) "self",(char *) "y", NULL
3482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetY",kwnames
,&obj0
,&obj1
)) goto fail
;
3483 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3484 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3485 arg2
= (int) SWIG_AsInt(obj1
);
3486 if (PyErr_Occurred()) SWIG_fail
;
3488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3491 wxPyEndAllowThreads(__tstate
);
3492 if (PyErr_Occurred()) SWIG_fail
;
3494 Py_INCREF(Py_None
); resultobj
= Py_None
;
3501 static PyObject
*_wrap_Rect_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3502 PyObject
*resultobj
;
3503 wxRect
*arg1
= (wxRect
*) 0 ;
3505 PyObject
* obj0
= 0 ;
3507 (char *) "self", NULL
3510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetWidth",kwnames
,&obj0
)) goto fail
;
3511 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3512 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3515 result
= (int)((wxRect
const *)arg1
)->GetWidth();
3517 wxPyEndAllowThreads(__tstate
);
3518 if (PyErr_Occurred()) SWIG_fail
;
3520 resultobj
= SWIG_FromInt((int)result
);
3527 static PyObject
*_wrap_Rect_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3528 PyObject
*resultobj
;
3529 wxRect
*arg1
= (wxRect
*) 0 ;
3531 PyObject
* obj0
= 0 ;
3532 PyObject
* obj1
= 0 ;
3534 (char *) "self",(char *) "w", NULL
3537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
3538 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3539 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3540 arg2
= (int) SWIG_AsInt(obj1
);
3541 if (PyErr_Occurred()) SWIG_fail
;
3543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3544 (arg1
)->SetWidth(arg2
);
3546 wxPyEndAllowThreads(__tstate
);
3547 if (PyErr_Occurred()) SWIG_fail
;
3549 Py_INCREF(Py_None
); resultobj
= Py_None
;
3556 static PyObject
*_wrap_Rect_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3557 PyObject
*resultobj
;
3558 wxRect
*arg1
= (wxRect
*) 0 ;
3560 PyObject
* obj0
= 0 ;
3562 (char *) "self", NULL
3565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetHeight",kwnames
,&obj0
)) goto fail
;
3566 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3567 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3570 result
= (int)((wxRect
const *)arg1
)->GetHeight();
3572 wxPyEndAllowThreads(__tstate
);
3573 if (PyErr_Occurred()) SWIG_fail
;
3575 resultobj
= SWIG_FromInt((int)result
);
3582 static PyObject
*_wrap_Rect_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3583 PyObject
*resultobj
;
3584 wxRect
*arg1
= (wxRect
*) 0 ;
3586 PyObject
* obj0
= 0 ;
3587 PyObject
* obj1
= 0 ;
3589 (char *) "self",(char *) "h", NULL
3592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
3593 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3594 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3595 arg2
= (int) SWIG_AsInt(obj1
);
3596 if (PyErr_Occurred()) SWIG_fail
;
3598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3599 (arg1
)->SetHeight(arg2
);
3601 wxPyEndAllowThreads(__tstate
);
3602 if (PyErr_Occurred()) SWIG_fail
;
3604 Py_INCREF(Py_None
); resultobj
= Py_None
;
3611 static PyObject
*_wrap_Rect_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3612 PyObject
*resultobj
;
3613 wxRect
*arg1
= (wxRect
*) 0 ;
3615 PyObject
* obj0
= 0 ;
3617 (char *) "self", NULL
3620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetPosition",kwnames
,&obj0
)) goto fail
;
3621 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3622 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3625 result
= ((wxRect
const *)arg1
)->GetPosition();
3627 wxPyEndAllowThreads(__tstate
);
3628 if (PyErr_Occurred()) SWIG_fail
;
3631 wxPoint
* resultptr
;
3632 resultptr
= new wxPoint((wxPoint
&) result
);
3633 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3641 static PyObject
*_wrap_Rect_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3642 PyObject
*resultobj
;
3643 wxRect
*arg1
= (wxRect
*) 0 ;
3646 PyObject
* obj0
= 0 ;
3647 PyObject
* obj1
= 0 ;
3649 (char *) "self",(char *) "p", NULL
3652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
3653 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3654 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3657 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3661 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
3663 wxPyEndAllowThreads(__tstate
);
3664 if (PyErr_Occurred()) SWIG_fail
;
3666 Py_INCREF(Py_None
); resultobj
= Py_None
;
3673 static PyObject
*_wrap_Rect_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3674 PyObject
*resultobj
;
3675 wxRect
*arg1
= (wxRect
*) 0 ;
3677 PyObject
* obj0
= 0 ;
3679 (char *) "self", NULL
3682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetSize",kwnames
,&obj0
)) goto fail
;
3683 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3684 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3687 result
= ((wxRect
const *)arg1
)->GetSize();
3689 wxPyEndAllowThreads(__tstate
);
3690 if (PyErr_Occurred()) SWIG_fail
;
3694 resultptr
= new wxSize((wxSize
&) result
);
3695 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
3703 static PyObject
*_wrap_Rect_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3704 PyObject
*resultobj
;
3705 wxRect
*arg1
= (wxRect
*) 0 ;
3708 PyObject
* obj0
= 0 ;
3709 PyObject
* obj1
= 0 ;
3711 (char *) "self",(char *) "s", NULL
3714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
3715 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3716 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3719 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3723 (arg1
)->SetSize((wxSize
const &)*arg2
);
3725 wxPyEndAllowThreads(__tstate
);
3726 if (PyErr_Occurred()) SWIG_fail
;
3728 Py_INCREF(Py_None
); resultobj
= Py_None
;
3735 static PyObject
*_wrap_Rect_GetTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3736 PyObject
*resultobj
;
3737 wxRect
*arg1
= (wxRect
*) 0 ;
3739 PyObject
* obj0
= 0 ;
3741 (char *) "self", NULL
3744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetTopLeft",kwnames
,&obj0
)) goto fail
;
3745 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3746 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3749 result
= ((wxRect
const *)arg1
)->GetTopLeft();
3751 wxPyEndAllowThreads(__tstate
);
3752 if (PyErr_Occurred()) SWIG_fail
;
3755 wxPoint
* resultptr
;
3756 resultptr
= new wxPoint((wxPoint
&) result
);
3757 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3765 static PyObject
*_wrap_Rect_SetTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3766 PyObject
*resultobj
;
3767 wxRect
*arg1
= (wxRect
*) 0 ;
3770 PyObject
* obj0
= 0 ;
3771 PyObject
* obj1
= 0 ;
3773 (char *) "self",(char *) "p", NULL
3776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
3777 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3778 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3781 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3785 (arg1
)->SetTopLeft((wxPoint
const &)*arg2
);
3787 wxPyEndAllowThreads(__tstate
);
3788 if (PyErr_Occurred()) SWIG_fail
;
3790 Py_INCREF(Py_None
); resultobj
= Py_None
;
3797 static PyObject
*_wrap_Rect_GetBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3798 PyObject
*resultobj
;
3799 wxRect
*arg1
= (wxRect
*) 0 ;
3801 PyObject
* obj0
= 0 ;
3803 (char *) "self", NULL
3806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetBottomRight",kwnames
,&obj0
)) goto fail
;
3807 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3808 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3811 result
= ((wxRect
const *)arg1
)->GetBottomRight();
3813 wxPyEndAllowThreads(__tstate
);
3814 if (PyErr_Occurred()) SWIG_fail
;
3817 wxPoint
* resultptr
;
3818 resultptr
= new wxPoint((wxPoint
&) result
);
3819 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3827 static PyObject
*_wrap_Rect_SetBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3828 PyObject
*resultobj
;
3829 wxRect
*arg1
= (wxRect
*) 0 ;
3832 PyObject
* obj0
= 0 ;
3833 PyObject
* obj1
= 0 ;
3835 (char *) "self",(char *) "p", NULL
3838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
3839 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3840 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3843 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3847 (arg1
)->SetBottomRight((wxPoint
const &)*arg2
);
3849 wxPyEndAllowThreads(__tstate
);
3850 if (PyErr_Occurred()) SWIG_fail
;
3852 Py_INCREF(Py_None
); resultobj
= Py_None
;
3859 static PyObject
*_wrap_Rect_GetLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3860 PyObject
*resultobj
;
3861 wxRect
*arg1
= (wxRect
*) 0 ;
3863 PyObject
* obj0
= 0 ;
3865 (char *) "self", NULL
3868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetLeft",kwnames
,&obj0
)) goto fail
;
3869 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3870 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3873 result
= (int)((wxRect
const *)arg1
)->GetLeft();
3875 wxPyEndAllowThreads(__tstate
);
3876 if (PyErr_Occurred()) SWIG_fail
;
3878 resultobj
= SWIG_FromInt((int)result
);
3885 static PyObject
*_wrap_Rect_GetTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3886 PyObject
*resultobj
;
3887 wxRect
*arg1
= (wxRect
*) 0 ;
3889 PyObject
* obj0
= 0 ;
3891 (char *) "self", NULL
3894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetTop",kwnames
,&obj0
)) goto fail
;
3895 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3896 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3899 result
= (int)((wxRect
const *)arg1
)->GetTop();
3901 wxPyEndAllowThreads(__tstate
);
3902 if (PyErr_Occurred()) SWIG_fail
;
3904 resultobj
= SWIG_FromInt((int)result
);
3911 static PyObject
*_wrap_Rect_GetBottom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3912 PyObject
*resultobj
;
3913 wxRect
*arg1
= (wxRect
*) 0 ;
3915 PyObject
* obj0
= 0 ;
3917 (char *) "self", NULL
3920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetBottom",kwnames
,&obj0
)) goto fail
;
3921 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3925 result
= (int)((wxRect
const *)arg1
)->GetBottom();
3927 wxPyEndAllowThreads(__tstate
);
3928 if (PyErr_Occurred()) SWIG_fail
;
3930 resultobj
= SWIG_FromInt((int)result
);
3937 static PyObject
*_wrap_Rect_GetRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3938 PyObject
*resultobj
;
3939 wxRect
*arg1
= (wxRect
*) 0 ;
3941 PyObject
* obj0
= 0 ;
3943 (char *) "self", NULL
3946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetRight",kwnames
,&obj0
)) goto fail
;
3947 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3948 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3951 result
= (int)((wxRect
const *)arg1
)->GetRight();
3953 wxPyEndAllowThreads(__tstate
);
3954 if (PyErr_Occurred()) SWIG_fail
;
3956 resultobj
= SWIG_FromInt((int)result
);
3963 static PyObject
*_wrap_Rect_SetLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3964 PyObject
*resultobj
;
3965 wxRect
*arg1
= (wxRect
*) 0 ;
3967 PyObject
* obj0
= 0 ;
3968 PyObject
* obj1
= 0 ;
3970 (char *) "self",(char *) "left", NULL
3973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
3974 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3975 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3976 arg2
= (int) SWIG_AsInt(obj1
);
3977 if (PyErr_Occurred()) SWIG_fail
;
3979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3980 (arg1
)->SetLeft(arg2
);
3982 wxPyEndAllowThreads(__tstate
);
3983 if (PyErr_Occurred()) SWIG_fail
;
3985 Py_INCREF(Py_None
); resultobj
= Py_None
;
3992 static PyObject
*_wrap_Rect_SetRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3993 PyObject
*resultobj
;
3994 wxRect
*arg1
= (wxRect
*) 0 ;
3996 PyObject
* obj0
= 0 ;
3997 PyObject
* obj1
= 0 ;
3999 (char *) "self",(char *) "right", NULL
4002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetRight",kwnames
,&obj0
,&obj1
)) goto fail
;
4003 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4004 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4005 arg2
= (int) SWIG_AsInt(obj1
);
4006 if (PyErr_Occurred()) SWIG_fail
;
4008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4009 (arg1
)->SetRight(arg2
);
4011 wxPyEndAllowThreads(__tstate
);
4012 if (PyErr_Occurred()) SWIG_fail
;
4014 Py_INCREF(Py_None
); resultobj
= Py_None
;
4021 static PyObject
*_wrap_Rect_SetTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4022 PyObject
*resultobj
;
4023 wxRect
*arg1
= (wxRect
*) 0 ;
4025 PyObject
* obj0
= 0 ;
4026 PyObject
* obj1
= 0 ;
4028 (char *) "self",(char *) "top", NULL
4031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetTop",kwnames
,&obj0
,&obj1
)) goto fail
;
4032 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4033 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4034 arg2
= (int) SWIG_AsInt(obj1
);
4035 if (PyErr_Occurred()) SWIG_fail
;
4037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4038 (arg1
)->SetTop(arg2
);
4040 wxPyEndAllowThreads(__tstate
);
4041 if (PyErr_Occurred()) SWIG_fail
;
4043 Py_INCREF(Py_None
); resultobj
= Py_None
;
4050 static PyObject
*_wrap_Rect_SetBottom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4051 PyObject
*resultobj
;
4052 wxRect
*arg1
= (wxRect
*) 0 ;
4054 PyObject
* obj0
= 0 ;
4055 PyObject
* obj1
= 0 ;
4057 (char *) "self",(char *) "bottom", NULL
4060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetBottom",kwnames
,&obj0
,&obj1
)) goto fail
;
4061 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4062 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4063 arg2
= (int) SWIG_AsInt(obj1
);
4064 if (PyErr_Occurred()) SWIG_fail
;
4066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4067 (arg1
)->SetBottom(arg2
);
4069 wxPyEndAllowThreads(__tstate
);
4070 if (PyErr_Occurred()) SWIG_fail
;
4072 Py_INCREF(Py_None
); resultobj
= Py_None
;
4079 static PyObject
*_wrap_Rect_Inflate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4080 PyObject
*resultobj
;
4081 wxRect
*arg1
= (wxRect
*) 0 ;
4085 PyObject
* obj0
= 0 ;
4086 PyObject
* obj1
= 0 ;
4087 PyObject
* obj2
= 0 ;
4089 (char *) "self",(char *) "dx",(char *) "dy", NULL
4092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_Inflate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4093 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4094 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4095 arg2
= (int) SWIG_AsInt(obj1
);
4096 if (PyErr_Occurred()) SWIG_fail
;
4097 arg3
= (int) SWIG_AsInt(obj2
);
4098 if (PyErr_Occurred()) SWIG_fail
;
4100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4102 wxRect
&_result_ref
= (arg1
)->Inflate(arg2
,arg3
);
4103 result
= (wxRect
*) &_result_ref
;
4106 wxPyEndAllowThreads(__tstate
);
4107 if (PyErr_Occurred()) SWIG_fail
;
4109 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
4116 static PyObject
*_wrap_Rect_Deflate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4117 PyObject
*resultobj
;
4118 wxRect
*arg1
= (wxRect
*) 0 ;
4122 PyObject
* obj0
= 0 ;
4123 PyObject
* obj1
= 0 ;
4124 PyObject
* obj2
= 0 ;
4126 (char *) "self",(char *) "dx",(char *) "dy", NULL
4129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_Deflate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4130 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4131 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4132 arg2
= (int) SWIG_AsInt(obj1
);
4133 if (PyErr_Occurred()) SWIG_fail
;
4134 arg3
= (int) SWIG_AsInt(obj2
);
4135 if (PyErr_Occurred()) SWIG_fail
;
4137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4139 wxRect
&_result_ref
= (arg1
)->Deflate(arg2
,arg3
);
4140 result
= (wxRect
*) &_result_ref
;
4143 wxPyEndAllowThreads(__tstate
);
4144 if (PyErr_Occurred()) SWIG_fail
;
4146 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
4153 static PyObject
*_wrap_Rect_OffsetXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4154 PyObject
*resultobj
;
4155 wxRect
*arg1
= (wxRect
*) 0 ;
4158 PyObject
* obj0
= 0 ;
4159 PyObject
* obj1
= 0 ;
4160 PyObject
* obj2
= 0 ;
4162 (char *) "self",(char *) "dx",(char *) "dy", NULL
4165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_OffsetXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4166 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4167 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4168 arg2
= (int) SWIG_AsInt(obj1
);
4169 if (PyErr_Occurred()) SWIG_fail
;
4170 arg3
= (int) SWIG_AsInt(obj2
);
4171 if (PyErr_Occurred()) SWIG_fail
;
4173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4174 (arg1
)->Offset(arg2
,arg3
);
4176 wxPyEndAllowThreads(__tstate
);
4177 if (PyErr_Occurred()) SWIG_fail
;
4179 Py_INCREF(Py_None
); resultobj
= Py_None
;
4186 static PyObject
*_wrap_Rect_Offset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4187 PyObject
*resultobj
;
4188 wxRect
*arg1
= (wxRect
*) 0 ;
4191 PyObject
* obj0
= 0 ;
4192 PyObject
* obj1
= 0 ;
4194 (char *) "self",(char *) "pt", NULL
4197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Offset",kwnames
,&obj0
,&obj1
)) goto fail
;
4198 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4199 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4202 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4206 (arg1
)->Offset((wxPoint
const &)*arg2
);
4208 wxPyEndAllowThreads(__tstate
);
4209 if (PyErr_Occurred()) SWIG_fail
;
4211 Py_INCREF(Py_None
); resultobj
= Py_None
;
4218 static PyObject
*_wrap_Rect_Intersect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4219 PyObject
*resultobj
;
4220 wxRect
*arg1
= (wxRect
*) 0 ;
4224 PyObject
* obj0
= 0 ;
4225 PyObject
* obj1
= 0 ;
4227 (char *) "self",(char *) "rect", NULL
4230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Intersect",kwnames
,&obj0
,&obj1
)) goto fail
;
4231 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4232 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4235 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4240 wxRect
&_result_ref
= (arg1
)->Intersect((wxRect
const &)*arg2
);
4241 result
= (wxRect
*) &_result_ref
;
4244 wxPyEndAllowThreads(__tstate
);
4245 if (PyErr_Occurred()) SWIG_fail
;
4247 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
4254 static PyObject
*_wrap_Rect___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4255 PyObject
*resultobj
;
4256 wxRect
*arg1
= (wxRect
*) 0 ;
4260 PyObject
* obj0
= 0 ;
4261 PyObject
* obj1
= 0 ;
4263 (char *) "self",(char *) "rect", NULL
4266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
4267 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4268 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4271 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4275 result
= ((wxRect
const *)arg1
)->operator +((wxRect
const &)*arg2
);
4277 wxPyEndAllowThreads(__tstate
);
4278 if (PyErr_Occurred()) SWIG_fail
;
4282 resultptr
= new wxRect((wxRect
&) result
);
4283 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
4291 static PyObject
*_wrap_Rect___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4292 PyObject
*resultobj
;
4293 wxRect
*arg1
= (wxRect
*) 0 ;
4297 PyObject
* obj0
= 0 ;
4298 PyObject
* obj1
= 0 ;
4300 (char *) "self",(char *) "rect", NULL
4303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
4304 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4305 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4308 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4313 wxRect
&_result_ref
= (arg1
)->operator +=((wxRect
const &)*arg2
);
4314 result
= (wxRect
*) &_result_ref
;
4317 wxPyEndAllowThreads(__tstate
);
4318 if (PyErr_Occurred()) SWIG_fail
;
4320 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
4327 static PyObject
*_wrap_Rect___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4328 PyObject
*resultobj
;
4329 wxRect
*arg1
= (wxRect
*) 0 ;
4333 PyObject
* obj0
= 0 ;
4334 PyObject
* obj1
= 0 ;
4336 (char *) "self",(char *) "rect", NULL
4339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
4340 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4344 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4348 result
= (bool)((wxRect
const *)arg1
)->operator ==((wxRect
const &)*arg2
);
4350 wxPyEndAllowThreads(__tstate
);
4351 if (PyErr_Occurred()) SWIG_fail
;
4354 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4362 static PyObject
*_wrap_Rect___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4363 PyObject
*resultobj
;
4364 wxRect
*arg1
= (wxRect
*) 0 ;
4368 PyObject
* obj0
= 0 ;
4369 PyObject
* obj1
= 0 ;
4371 (char *) "self",(char *) "rect", NULL
4374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
4375 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4379 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4383 result
= (bool)((wxRect
const *)arg1
)->operator !=((wxRect
const &)*arg2
);
4385 wxPyEndAllowThreads(__tstate
);
4386 if (PyErr_Occurred()) SWIG_fail
;
4389 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4397 static PyObject
*_wrap_Rect_InsideXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4398 PyObject
*resultobj
;
4399 wxRect
*arg1
= (wxRect
*) 0 ;
4403 PyObject
* obj0
= 0 ;
4404 PyObject
* obj1
= 0 ;
4405 PyObject
* obj2
= 0 ;
4407 (char *) "self",(char *) "x",(char *) "y", NULL
4410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_InsideXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4411 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4412 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4413 arg2
= (int) SWIG_AsInt(obj1
);
4414 if (PyErr_Occurred()) SWIG_fail
;
4415 arg3
= (int) SWIG_AsInt(obj2
);
4416 if (PyErr_Occurred()) SWIG_fail
;
4418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4419 result
= (bool)((wxRect
const *)arg1
)->Inside(arg2
,arg3
);
4421 wxPyEndAllowThreads(__tstate
);
4422 if (PyErr_Occurred()) SWIG_fail
;
4425 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4433 static PyObject
*_wrap_Rect_Inside(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4434 PyObject
*resultobj
;
4435 wxRect
*arg1
= (wxRect
*) 0 ;
4439 PyObject
* obj0
= 0 ;
4440 PyObject
* obj1
= 0 ;
4442 (char *) "self",(char *) "pt", NULL
4445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Inside",kwnames
,&obj0
,&obj1
)) goto fail
;
4446 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4447 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4450 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4454 result
= (bool)((wxRect
const *)arg1
)->Inside((wxPoint
const &)*arg2
);
4456 wxPyEndAllowThreads(__tstate
);
4457 if (PyErr_Occurred()) SWIG_fail
;
4460 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4468 static PyObject
*_wrap_Rect_Intersects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4469 PyObject
*resultobj
;
4470 wxRect
*arg1
= (wxRect
*) 0 ;
4474 PyObject
* obj0
= 0 ;
4475 PyObject
* obj1
= 0 ;
4477 (char *) "self",(char *) "rect", NULL
4480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Intersects",kwnames
,&obj0
,&obj1
)) goto fail
;
4481 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4482 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4485 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4489 result
= (bool)((wxRect
const *)arg1
)->Intersects((wxRect
const &)*arg2
);
4491 wxPyEndAllowThreads(__tstate
);
4492 if (PyErr_Occurred()) SWIG_fail
;
4495 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4503 static PyObject
*_wrap_Rect_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4504 PyObject
*resultobj
;
4505 wxRect
*arg1
= (wxRect
*) 0 ;
4507 PyObject
* obj0
= 0 ;
4508 PyObject
* obj1
= 0 ;
4510 (char *) "self",(char *) "x", NULL
4513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4514 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4515 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4516 arg2
= (int) SWIG_AsInt(obj1
);
4517 if (PyErr_Occurred()) SWIG_fail
;
4518 if (arg1
) (arg1
)->x
= arg2
;
4520 Py_INCREF(Py_None
); resultobj
= Py_None
;
4527 static PyObject
*_wrap_Rect_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4528 PyObject
*resultobj
;
4529 wxRect
*arg1
= (wxRect
*) 0 ;
4531 PyObject
* obj0
= 0 ;
4533 (char *) "self", NULL
4536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_x_get",kwnames
,&obj0
)) goto fail
;
4537 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4538 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4539 result
= (int) ((arg1
)->x
);
4541 resultobj
= SWIG_FromInt((int)result
);
4548 static PyObject
*_wrap_Rect_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4549 PyObject
*resultobj
;
4550 wxRect
*arg1
= (wxRect
*) 0 ;
4552 PyObject
* obj0
= 0 ;
4553 PyObject
* obj1
= 0 ;
4555 (char *) "self",(char *) "y", NULL
4558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4559 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4560 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4561 arg2
= (int) SWIG_AsInt(obj1
);
4562 if (PyErr_Occurred()) SWIG_fail
;
4563 if (arg1
) (arg1
)->y
= arg2
;
4565 Py_INCREF(Py_None
); resultobj
= Py_None
;
4572 static PyObject
*_wrap_Rect_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4573 PyObject
*resultobj
;
4574 wxRect
*arg1
= (wxRect
*) 0 ;
4576 PyObject
* obj0
= 0 ;
4578 (char *) "self", NULL
4581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_y_get",kwnames
,&obj0
)) goto fail
;
4582 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4583 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4584 result
= (int) ((arg1
)->y
);
4586 resultobj
= SWIG_FromInt((int)result
);
4593 static PyObject
*_wrap_Rect_width_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4594 PyObject
*resultobj
;
4595 wxRect
*arg1
= (wxRect
*) 0 ;
4597 PyObject
* obj0
= 0 ;
4598 PyObject
* obj1
= 0 ;
4600 (char *) "self",(char *) "width", NULL
4603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4604 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4605 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4606 arg2
= (int) SWIG_AsInt(obj1
);
4607 if (PyErr_Occurred()) SWIG_fail
;
4608 if (arg1
) (arg1
)->width
= arg2
;
4610 Py_INCREF(Py_None
); resultobj
= Py_None
;
4617 static PyObject
*_wrap_Rect_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4618 PyObject
*resultobj
;
4619 wxRect
*arg1
= (wxRect
*) 0 ;
4621 PyObject
* obj0
= 0 ;
4623 (char *) "self", NULL
4626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_width_get",kwnames
,&obj0
)) goto fail
;
4627 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4628 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4629 result
= (int) ((arg1
)->width
);
4631 resultobj
= SWIG_FromInt((int)result
);
4638 static PyObject
*_wrap_Rect_height_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4639 PyObject
*resultobj
;
4640 wxRect
*arg1
= (wxRect
*) 0 ;
4642 PyObject
* obj0
= 0 ;
4643 PyObject
* obj1
= 0 ;
4645 (char *) "self",(char *) "height", NULL
4648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_height_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4649 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4650 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4651 arg2
= (int) SWIG_AsInt(obj1
);
4652 if (PyErr_Occurred()) SWIG_fail
;
4653 if (arg1
) (arg1
)->height
= arg2
;
4655 Py_INCREF(Py_None
); resultobj
= Py_None
;
4662 static PyObject
*_wrap_Rect_height_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4663 PyObject
*resultobj
;
4664 wxRect
*arg1
= (wxRect
*) 0 ;
4666 PyObject
* obj0
= 0 ;
4668 (char *) "self", NULL
4671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_height_get",kwnames
,&obj0
)) goto fail
;
4672 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4673 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4674 result
= (int) ((arg1
)->height
);
4676 resultobj
= SWIG_FromInt((int)result
);
4683 static PyObject
*_wrap_Rect_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4684 PyObject
*resultobj
;
4685 wxRect
*arg1
= (wxRect
*) 0 ;
4686 int arg2
= (int) 0 ;
4687 int arg3
= (int) 0 ;
4688 int arg4
= (int) 0 ;
4689 int arg5
= (int) 0 ;
4690 PyObject
* obj0
= 0 ;
4691 PyObject
* obj1
= 0 ;
4692 PyObject
* obj2
= 0 ;
4693 PyObject
* obj3
= 0 ;
4694 PyObject
* obj4
= 0 ;
4696 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
4699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Rect_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
4700 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4701 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4703 arg2
= (int) SWIG_AsInt(obj1
);
4704 if (PyErr_Occurred()) SWIG_fail
;
4707 arg3
= (int) SWIG_AsInt(obj2
);
4708 if (PyErr_Occurred()) SWIG_fail
;
4711 arg4
= (int) SWIG_AsInt(obj3
);
4712 if (PyErr_Occurred()) SWIG_fail
;
4715 arg5
= (int) SWIG_AsInt(obj4
);
4716 if (PyErr_Occurred()) SWIG_fail
;
4719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4720 wxRect_Set(arg1
,arg2
,arg3
,arg4
,arg5
);
4722 wxPyEndAllowThreads(__tstate
);
4723 if (PyErr_Occurred()) SWIG_fail
;
4725 Py_INCREF(Py_None
); resultobj
= Py_None
;
4732 static PyObject
*_wrap_Rect_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4733 PyObject
*resultobj
;
4734 wxRect
*arg1
= (wxRect
*) 0 ;
4736 PyObject
* obj0
= 0 ;
4738 (char *) "self", NULL
4741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_Get",kwnames
,&obj0
)) goto fail
;
4742 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4743 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4746 result
= (PyObject
*)wxRect_Get(arg1
);
4748 wxPyEndAllowThreads(__tstate
);
4749 if (PyErr_Occurred()) SWIG_fail
;
4758 static PyObject
* Rect_swigregister(PyObject
*self
, PyObject
*args
) {
4760 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4761 SWIG_TypeClientData(SWIGTYPE_p_wxRect
, obj
);
4763 return Py_BuildValue((char *)"");
4765 static PyObject
*_wrap_IntersectRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4766 PyObject
*resultobj
;
4767 wxRect
*arg1
= (wxRect
*) 0 ;
4768 wxRect
*arg2
= (wxRect
*) 0 ;
4770 PyObject
* obj0
= 0 ;
4771 PyObject
* obj1
= 0 ;
4773 (char *) "r1",(char *) "r2", NULL
4776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IntersectRect",kwnames
,&obj0
,&obj1
)) goto fail
;
4777 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4778 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4779 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRect
,
4780 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4783 result
= (PyObject
*)wxIntersectRect(arg1
,arg2
);
4785 wxPyEndAllowThreads(__tstate
);
4786 if (PyErr_Occurred()) SWIG_fail
;
4795 static PyObject
*_wrap_new_Point2D(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4796 PyObject
*resultobj
;
4797 double arg1
= (double) 0.0 ;
4798 double arg2
= (double) 0.0 ;
4800 PyObject
* obj0
= 0 ;
4801 PyObject
* obj1
= 0 ;
4803 (char *) "x",(char *) "y", NULL
4806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Point2D",kwnames
,&obj0
,&obj1
)) goto fail
;
4808 arg1
= (double) SWIG_AsDouble(obj0
);
4809 if (PyErr_Occurred()) SWIG_fail
;
4812 arg2
= (double) SWIG_AsDouble(obj1
);
4813 if (PyErr_Occurred()) SWIG_fail
;
4816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4817 result
= (wxPoint2D
*)new wxPoint2D(arg1
,arg2
);
4819 wxPyEndAllowThreads(__tstate
);
4820 if (PyErr_Occurred()) SWIG_fail
;
4822 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
4829 static PyObject
*_wrap_new_Point2DCopy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4830 PyObject
*resultobj
;
4831 wxPoint2D
*arg1
= 0 ;
4834 PyObject
* obj0
= 0 ;
4839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Point2DCopy",kwnames
,&obj0
)) goto fail
;
4842 if ( ! wxPoint2D_helper(obj0
, &arg1
)) SWIG_fail
;
4845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4846 result
= (wxPoint2D
*)new wxPoint2D((wxPoint2D
const &)*arg1
);
4848 wxPyEndAllowThreads(__tstate
);
4849 if (PyErr_Occurred()) SWIG_fail
;
4851 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
4858 static PyObject
*_wrap_new_Point2DFromPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4859 PyObject
*resultobj
;
4863 PyObject
* obj0
= 0 ;
4868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Point2DFromPoint",kwnames
,&obj0
)) goto fail
;
4871 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
4874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4875 result
= (wxPoint2D
*)new wxPoint2D((wxPoint
const &)*arg1
);
4877 wxPyEndAllowThreads(__tstate
);
4878 if (PyErr_Occurred()) SWIG_fail
;
4880 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
4887 static PyObject
*_wrap_Point2D_GetFloor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4888 PyObject
*resultobj
;
4889 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4890 int *arg2
= (int *) 0 ;
4891 int *arg3
= (int *) 0 ;
4894 PyObject
* obj0
= 0 ;
4896 (char *) "self", NULL
4901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetFloor",kwnames
,&obj0
)) goto fail
;
4902 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
4903 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4906 ((wxPoint2D
const *)arg1
)->GetFloor(arg2
,arg3
);
4908 wxPyEndAllowThreads(__tstate
);
4909 if (PyErr_Occurred()) SWIG_fail
;
4911 Py_INCREF(Py_None
); resultobj
= Py_None
;
4913 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4914 resultobj
= t_output_helper(resultobj
,o
);
4917 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
4918 resultobj
= t_output_helper(resultobj
,o
);
4926 static PyObject
*_wrap_Point2D_GetRounded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4927 PyObject
*resultobj
;
4928 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4929 int *arg2
= (int *) 0 ;
4930 int *arg3
= (int *) 0 ;
4933 PyObject
* obj0
= 0 ;
4935 (char *) "self", NULL
4940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetRounded",kwnames
,&obj0
)) goto fail
;
4941 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
4942 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4945 ((wxPoint2D
const *)arg1
)->GetRounded(arg2
,arg3
);
4947 wxPyEndAllowThreads(__tstate
);
4948 if (PyErr_Occurred()) SWIG_fail
;
4950 Py_INCREF(Py_None
); resultobj
= Py_None
;
4952 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4953 resultobj
= t_output_helper(resultobj
,o
);
4956 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
4957 resultobj
= t_output_helper(resultobj
,o
);
4965 static PyObject
*_wrap_Point2D_GetVectorLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4966 PyObject
*resultobj
;
4967 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4969 PyObject
* obj0
= 0 ;
4971 (char *) "self", NULL
4974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetVectorLength",kwnames
,&obj0
)) goto fail
;
4975 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
4976 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4979 result
= (double)((wxPoint2D
const *)arg1
)->GetVectorLength();
4981 wxPyEndAllowThreads(__tstate
);
4982 if (PyErr_Occurred()) SWIG_fail
;
4984 resultobj
= SWIG_FromDouble((double)result
);
4991 static PyObject
*_wrap_Point2D_GetVectorAngle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4992 PyObject
*resultobj
;
4993 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4995 PyObject
* obj0
= 0 ;
4997 (char *) "self", NULL
5000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetVectorAngle",kwnames
,&obj0
)) goto fail
;
5001 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5002 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5005 result
= (double)((wxPoint2D
const *)arg1
)->GetVectorAngle();
5007 wxPyEndAllowThreads(__tstate
);
5008 if (PyErr_Occurred()) SWIG_fail
;
5010 resultobj
= SWIG_FromDouble((double)result
);
5017 static PyObject
*_wrap_Point2D_SetVectorLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5018 PyObject
*resultobj
;
5019 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5021 PyObject
* obj0
= 0 ;
5022 PyObject
* obj1
= 0 ;
5024 (char *) "self",(char *) "length", NULL
5027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_SetVectorLength",kwnames
,&obj0
,&obj1
)) goto fail
;
5028 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5029 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5030 arg2
= (double) SWIG_AsDouble(obj1
);
5031 if (PyErr_Occurred()) SWIG_fail
;
5033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5034 (arg1
)->SetVectorLength(arg2
);
5036 wxPyEndAllowThreads(__tstate
);
5037 if (PyErr_Occurred()) SWIG_fail
;
5039 Py_INCREF(Py_None
); resultobj
= Py_None
;
5046 static PyObject
*_wrap_Point2D_SetVectorAngle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5047 PyObject
*resultobj
;
5048 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5050 PyObject
* obj0
= 0 ;
5051 PyObject
* obj1
= 0 ;
5053 (char *) "self",(char *) "degrees", NULL
5056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_SetVectorAngle",kwnames
,&obj0
,&obj1
)) goto fail
;
5057 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5058 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5059 arg2
= (double) SWIG_AsDouble(obj1
);
5060 if (PyErr_Occurred()) SWIG_fail
;
5062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5063 (arg1
)->SetVectorAngle(arg2
);
5065 wxPyEndAllowThreads(__tstate
);
5066 if (PyErr_Occurred()) SWIG_fail
;
5068 Py_INCREF(Py_None
); resultobj
= Py_None
;
5075 static PyObject
*_wrap_Point2D_GetDistance(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5076 PyObject
*resultobj
;
5077 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5078 wxPoint2D
*arg2
= 0 ;
5081 PyObject
* obj0
= 0 ;
5082 PyObject
* obj1
= 0 ;
5084 (char *) "self",(char *) "pt", NULL
5087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDistance",kwnames
,&obj0
,&obj1
)) goto fail
;
5088 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5089 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5092 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5096 result
= (double)((wxPoint2D
const *)arg1
)->GetDistance((wxPoint2D
const &)*arg2
);
5098 wxPyEndAllowThreads(__tstate
);
5099 if (PyErr_Occurred()) SWIG_fail
;
5101 resultobj
= SWIG_FromDouble((double)result
);
5108 static PyObject
*_wrap_Point2D_GetDistanceSquare(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5109 PyObject
*resultobj
;
5110 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5111 wxPoint2D
*arg2
= 0 ;
5114 PyObject
* obj0
= 0 ;
5115 PyObject
* obj1
= 0 ;
5117 (char *) "self",(char *) "pt", NULL
5120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDistanceSquare",kwnames
,&obj0
,&obj1
)) goto fail
;
5121 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5122 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5125 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5129 result
= (double)((wxPoint2D
const *)arg1
)->GetDistanceSquare((wxPoint2D
const &)*arg2
);
5131 wxPyEndAllowThreads(__tstate
);
5132 if (PyErr_Occurred()) SWIG_fail
;
5134 resultobj
= SWIG_FromDouble((double)result
);
5141 static PyObject
*_wrap_Point2D_GetDotProduct(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5142 PyObject
*resultobj
;
5143 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5144 wxPoint2D
*arg2
= 0 ;
5147 PyObject
* obj0
= 0 ;
5148 PyObject
* obj1
= 0 ;
5150 (char *) "self",(char *) "vec", NULL
5153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDotProduct",kwnames
,&obj0
,&obj1
)) goto fail
;
5154 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5155 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5158 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5162 result
= (double)((wxPoint2D
const *)arg1
)->GetDotProduct((wxPoint2D
const &)*arg2
);
5164 wxPyEndAllowThreads(__tstate
);
5165 if (PyErr_Occurred()) SWIG_fail
;
5167 resultobj
= SWIG_FromDouble((double)result
);
5174 static PyObject
*_wrap_Point2D_GetCrossProduct(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5175 PyObject
*resultobj
;
5176 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5177 wxPoint2D
*arg2
= 0 ;
5180 PyObject
* obj0
= 0 ;
5181 PyObject
* obj1
= 0 ;
5183 (char *) "self",(char *) "vec", NULL
5186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetCrossProduct",kwnames
,&obj0
,&obj1
)) goto fail
;
5187 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5188 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5191 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5195 result
= (double)((wxPoint2D
const *)arg1
)->GetCrossProduct((wxPoint2D
const &)*arg2
);
5197 wxPyEndAllowThreads(__tstate
);
5198 if (PyErr_Occurred()) SWIG_fail
;
5200 resultobj
= SWIG_FromDouble((double)result
);
5207 static PyObject
*_wrap_Point2D___neg__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5208 PyObject
*resultobj
;
5209 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5211 PyObject
* obj0
= 0 ;
5213 (char *) "self", NULL
5216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D___neg__",kwnames
,&obj0
)) goto fail
;
5217 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5218 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5221 result
= (arg1
)->operator -();
5223 wxPyEndAllowThreads(__tstate
);
5224 if (PyErr_Occurred()) SWIG_fail
;
5227 wxPoint2D
* resultptr
;
5228 resultptr
= new wxPoint2D((wxPoint2D
&) result
);
5229 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint2D
, 1);
5237 static PyObject
*_wrap_Point2D___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5238 PyObject
*resultobj
;
5239 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5240 wxPoint2D
*arg2
= 0 ;
5243 PyObject
* obj0
= 0 ;
5244 PyObject
* obj1
= 0 ;
5246 (char *) "self",(char *) "pt", NULL
5249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
5250 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5251 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5254 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5259 wxPoint2D
&_result_ref
= (arg1
)->operator +=((wxPoint2D
const &)*arg2
);
5260 result
= (wxPoint2D
*) &_result_ref
;
5263 wxPyEndAllowThreads(__tstate
);
5264 if (PyErr_Occurred()) SWIG_fail
;
5266 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 0);
5273 static PyObject
*_wrap_Point2D___isub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5274 PyObject
*resultobj
;
5275 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5276 wxPoint2D
*arg2
= 0 ;
5279 PyObject
* obj0
= 0 ;
5280 PyObject
* obj1
= 0 ;
5282 (char *) "self",(char *) "pt", NULL
5285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
5286 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5287 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5290 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5295 wxPoint2D
&_result_ref
= (arg1
)->operator -=((wxPoint2D
const &)*arg2
);
5296 result
= (wxPoint2D
*) &_result_ref
;
5299 wxPyEndAllowThreads(__tstate
);
5300 if (PyErr_Occurred()) SWIG_fail
;
5302 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 0);
5309 static PyObject
*_wrap_Point2D___imul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5310 PyObject
*resultobj
;
5311 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5312 wxPoint2D
*arg2
= 0 ;
5315 PyObject
* obj0
= 0 ;
5316 PyObject
* obj1
= 0 ;
5318 (char *) "self",(char *) "pt", NULL
5321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
5322 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5323 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5326 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5331 wxPoint2D
&_result_ref
= (arg1
)->operator *=((wxPoint2D
const &)*arg2
);
5332 result
= (wxPoint2D
*) &_result_ref
;
5335 wxPyEndAllowThreads(__tstate
);
5336 if (PyErr_Occurred()) SWIG_fail
;
5338 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 0);
5345 static PyObject
*_wrap_Point2D___idiv__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5346 PyObject
*resultobj
;
5347 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5348 wxPoint2D
*arg2
= 0 ;
5351 PyObject
* obj0
= 0 ;
5352 PyObject
* obj1
= 0 ;
5354 (char *) "self",(char *) "pt", NULL
5357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___idiv__",kwnames
,&obj0
,&obj1
)) goto fail
;
5358 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5359 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5362 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5367 wxPoint2D
&_result_ref
= (arg1
)->operator /=((wxPoint2D
const &)*arg2
);
5368 result
= (wxPoint2D
*) &_result_ref
;
5371 wxPyEndAllowThreads(__tstate
);
5372 if (PyErr_Occurred()) SWIG_fail
;
5374 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 0);
5381 static PyObject
*_wrap_Point2D___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5382 PyObject
*resultobj
;
5383 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5384 wxPoint2D
*arg2
= 0 ;
5387 PyObject
* obj0
= 0 ;
5388 PyObject
* obj1
= 0 ;
5390 (char *) "self",(char *) "pt", NULL
5393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
5394 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5395 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5398 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5402 result
= (bool)((wxPoint2D
const *)arg1
)->operator ==((wxPoint2D
const &)*arg2
);
5404 wxPyEndAllowThreads(__tstate
);
5405 if (PyErr_Occurred()) SWIG_fail
;
5408 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5416 static PyObject
*_wrap_Point2D___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5417 PyObject
*resultobj
;
5418 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5419 wxPoint2D
*arg2
= 0 ;
5422 PyObject
* obj0
= 0 ;
5423 PyObject
* obj1
= 0 ;
5425 (char *) "self",(char *) "pt", NULL
5428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
5429 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5430 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5433 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5437 result
= (bool)((wxPoint2D
const *)arg1
)->operator !=((wxPoint2D
const &)*arg2
);
5439 wxPyEndAllowThreads(__tstate
);
5440 if (PyErr_Occurred()) SWIG_fail
;
5443 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5451 static PyObject
*_wrap_Point2D_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5452 PyObject
*resultobj
;
5453 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5455 PyObject
* obj0
= 0 ;
5456 PyObject
* obj1
= 0 ;
5458 (char *) "self",(char *) "m_x", NULL
5461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
5462 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5463 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5464 arg2
= (double) SWIG_AsDouble(obj1
);
5465 if (PyErr_Occurred()) SWIG_fail
;
5466 if (arg1
) (arg1
)->m_x
= arg2
;
5468 Py_INCREF(Py_None
); resultobj
= Py_None
;
5475 static PyObject
*_wrap_Point2D_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5476 PyObject
*resultobj
;
5477 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5479 PyObject
* obj0
= 0 ;
5481 (char *) "self", NULL
5484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_x_get",kwnames
,&obj0
)) goto fail
;
5485 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5486 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5487 result
= (double) ((arg1
)->m_x
);
5489 resultobj
= SWIG_FromDouble((double)result
);
5496 static PyObject
*_wrap_Point2D_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5497 PyObject
*resultobj
;
5498 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5500 PyObject
* obj0
= 0 ;
5501 PyObject
* obj1
= 0 ;
5503 (char *) "self",(char *) "m_y", NULL
5506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
5507 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5508 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5509 arg2
= (double) SWIG_AsDouble(obj1
);
5510 if (PyErr_Occurred()) SWIG_fail
;
5511 if (arg1
) (arg1
)->m_y
= arg2
;
5513 Py_INCREF(Py_None
); resultobj
= Py_None
;
5520 static PyObject
*_wrap_Point2D_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5521 PyObject
*resultobj
;
5522 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5524 PyObject
* obj0
= 0 ;
5526 (char *) "self", NULL
5529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_y_get",kwnames
,&obj0
)) goto fail
;
5530 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5531 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5532 result
= (double) ((arg1
)->m_y
);
5534 resultobj
= SWIG_FromDouble((double)result
);
5541 static PyObject
*_wrap_Point2D_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5542 PyObject
*resultobj
;
5543 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5544 double arg2
= (double) 0 ;
5545 double arg3
= (double) 0 ;
5546 PyObject
* obj0
= 0 ;
5547 PyObject
* obj1
= 0 ;
5548 PyObject
* obj2
= 0 ;
5550 (char *) "self",(char *) "x",(char *) "y", NULL
5553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Point2D_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5554 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5555 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5557 arg2
= (double) SWIG_AsDouble(obj1
);
5558 if (PyErr_Occurred()) SWIG_fail
;
5561 arg3
= (double) SWIG_AsDouble(obj2
);
5562 if (PyErr_Occurred()) SWIG_fail
;
5565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5566 wxPoint2D_Set(arg1
,arg2
,arg3
);
5568 wxPyEndAllowThreads(__tstate
);
5569 if (PyErr_Occurred()) SWIG_fail
;
5571 Py_INCREF(Py_None
); resultobj
= Py_None
;
5578 static PyObject
*_wrap_Point2D_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5579 PyObject
*resultobj
;
5580 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5582 PyObject
* obj0
= 0 ;
5584 (char *) "self", NULL
5587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_Get",kwnames
,&obj0
)) goto fail
;
5588 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5589 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5592 result
= (PyObject
*)wxPoint2D_Get(arg1
);
5594 wxPyEndAllowThreads(__tstate
);
5595 if (PyErr_Occurred()) SWIG_fail
;
5604 static PyObject
* Point2D_swigregister(PyObject
*self
, PyObject
*args
) {
5606 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5607 SWIG_TypeClientData(SWIGTYPE_p_wxPoint2D
, obj
);
5609 return Py_BuildValue((char *)"");
5611 static int _wrap_DefaultPosition_set(PyObject
*_val
) {
5612 PyErr_SetString(PyExc_TypeError
,"Variable DefaultPosition is read-only.");
5617 static PyObject
*_wrap_DefaultPosition_get() {
5620 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultPosition
), SWIGTYPE_p_wxPoint
, 0);
5625 static int _wrap_DefaultSize_set(PyObject
*_val
) {
5626 PyErr_SetString(PyExc_TypeError
,"Variable DefaultSize is read-only.");
5631 static PyObject
*_wrap_DefaultSize_get() {
5634 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultSize
), SWIGTYPE_p_wxSize
, 0);
5639 static PyObject
*_wrap_new_InputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5640 PyObject
*resultobj
;
5641 PyObject
*arg1
= (PyObject
*) 0 ;
5642 wxPyInputStream
*result
;
5643 PyObject
* obj0
= 0 ;
5648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_InputStream",kwnames
,&obj0
)) goto fail
;
5651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5652 result
= (wxPyInputStream
*)new_wxPyInputStream(arg1
);
5654 wxPyEndAllowThreads(__tstate
);
5655 if (PyErr_Occurred()) SWIG_fail
;
5657 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyInputStream
, 1);
5664 static PyObject
*_wrap_InputStream_close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5665 PyObject
*resultobj
;
5666 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5667 PyObject
* obj0
= 0 ;
5669 (char *) "self", NULL
5672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_close",kwnames
,&obj0
)) goto fail
;
5673 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5674 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5679 wxPyEndAllowThreads(__tstate
);
5680 if (PyErr_Occurred()) SWIG_fail
;
5682 Py_INCREF(Py_None
); resultobj
= Py_None
;
5689 static PyObject
*_wrap_InputStream_flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5690 PyObject
*resultobj
;
5691 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5692 PyObject
* obj0
= 0 ;
5694 (char *) "self", NULL
5697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_flush",kwnames
,&obj0
)) goto fail
;
5698 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5699 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5704 wxPyEndAllowThreads(__tstate
);
5705 if (PyErr_Occurred()) SWIG_fail
;
5707 Py_INCREF(Py_None
); resultobj
= Py_None
;
5714 static PyObject
*_wrap_InputStream_eof(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5715 PyObject
*resultobj
;
5716 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5718 PyObject
* obj0
= 0 ;
5720 (char *) "self", NULL
5723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_eof",kwnames
,&obj0
)) goto fail
;
5724 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5725 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5728 result
= (bool)(arg1
)->eof();
5730 wxPyEndAllowThreads(__tstate
);
5731 if (PyErr_Occurred()) SWIG_fail
;
5734 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5742 static PyObject
*_wrap_InputStream_read(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5743 PyObject
*resultobj
;
5744 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5745 int arg2
= (int) -1 ;
5747 PyObject
* obj0
= 0 ;
5748 PyObject
* obj1
= 0 ;
5750 (char *) "self",(char *) "size", NULL
5753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_read",kwnames
,&obj0
,&obj1
)) goto fail
;
5754 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5755 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5757 arg2
= (int) SWIG_AsInt(obj1
);
5758 if (PyErr_Occurred()) SWIG_fail
;
5761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5762 result
= (PyObject
*)(arg1
)->read(arg2
);
5764 wxPyEndAllowThreads(__tstate
);
5765 if (PyErr_Occurred()) SWIG_fail
;
5774 static PyObject
*_wrap_InputStream_readline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5775 PyObject
*resultobj
;
5776 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5777 int arg2
= (int) -1 ;
5779 PyObject
* obj0
= 0 ;
5780 PyObject
* obj1
= 0 ;
5782 (char *) "self",(char *) "size", NULL
5785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_readline",kwnames
,&obj0
,&obj1
)) goto fail
;
5786 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5787 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5789 arg2
= (int) SWIG_AsInt(obj1
);
5790 if (PyErr_Occurred()) SWIG_fail
;
5793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5794 result
= (PyObject
*)(arg1
)->readline(arg2
);
5796 wxPyEndAllowThreads(__tstate
);
5797 if (PyErr_Occurred()) SWIG_fail
;
5806 static PyObject
*_wrap_InputStream_readlines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5807 PyObject
*resultobj
;
5808 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5809 int arg2
= (int) -1 ;
5811 PyObject
* obj0
= 0 ;
5812 PyObject
* obj1
= 0 ;
5814 (char *) "self",(char *) "sizehint", NULL
5817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_readlines",kwnames
,&obj0
,&obj1
)) goto fail
;
5818 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5821 arg2
= (int) SWIG_AsInt(obj1
);
5822 if (PyErr_Occurred()) SWIG_fail
;
5825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5826 result
= (PyObject
*)(arg1
)->readlines(arg2
);
5828 wxPyEndAllowThreads(__tstate
);
5829 if (PyErr_Occurred()) SWIG_fail
;
5838 static PyObject
*_wrap_InputStream_seek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5839 PyObject
*resultobj
;
5840 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5842 int arg3
= (int) 0 ;
5843 PyObject
* obj0
= 0 ;
5844 PyObject
* obj1
= 0 ;
5845 PyObject
* obj2
= 0 ;
5847 (char *) "self",(char *) "offset",(char *) "whence", NULL
5850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:InputStream_seek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5851 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5852 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5853 arg2
= (int) SWIG_AsInt(obj1
);
5854 if (PyErr_Occurred()) SWIG_fail
;
5856 arg3
= (int) SWIG_AsInt(obj2
);
5857 if (PyErr_Occurred()) SWIG_fail
;
5860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5861 (arg1
)->seek(arg2
,arg3
);
5863 wxPyEndAllowThreads(__tstate
);
5864 if (PyErr_Occurred()) SWIG_fail
;
5866 Py_INCREF(Py_None
); resultobj
= Py_None
;
5873 static PyObject
*_wrap_InputStream_tell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5874 PyObject
*resultobj
;
5875 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5877 PyObject
* obj0
= 0 ;
5879 (char *) "self", NULL
5882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_tell",kwnames
,&obj0
)) goto fail
;
5883 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5884 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5887 result
= (int)(arg1
)->tell();
5889 wxPyEndAllowThreads(__tstate
);
5890 if (PyErr_Occurred()) SWIG_fail
;
5892 resultobj
= SWIG_FromInt((int)result
);
5899 static PyObject
*_wrap_InputStream_Peek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5900 PyObject
*resultobj
;
5901 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5903 PyObject
* obj0
= 0 ;
5905 (char *) "self", NULL
5908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_Peek",kwnames
,&obj0
)) goto fail
;
5909 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5910 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5913 result
= (char)(arg1
)->Peek();
5915 wxPyEndAllowThreads(__tstate
);
5916 if (PyErr_Occurred()) SWIG_fail
;
5918 resultobj
= SWIG_FromChar((char)result
);
5925 static PyObject
*_wrap_InputStream_GetC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5926 PyObject
*resultobj
;
5927 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5929 PyObject
* obj0
= 0 ;
5931 (char *) "self", NULL
5934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_GetC",kwnames
,&obj0
)) goto fail
;
5935 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5936 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5939 result
= (char)(arg1
)->GetC();
5941 wxPyEndAllowThreads(__tstate
);
5942 if (PyErr_Occurred()) SWIG_fail
;
5944 resultobj
= SWIG_FromChar((char)result
);
5951 static PyObject
*_wrap_InputStream_LastRead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5952 PyObject
*resultobj
;
5953 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5955 PyObject
* obj0
= 0 ;
5957 (char *) "self", NULL
5960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_LastRead",kwnames
,&obj0
)) goto fail
;
5961 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5962 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5965 result
= (size_t)(arg1
)->LastRead();
5967 wxPyEndAllowThreads(__tstate
);
5968 if (PyErr_Occurred()) SWIG_fail
;
5970 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
5977 static PyObject
*_wrap_InputStream_CanRead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5978 PyObject
*resultobj
;
5979 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5981 PyObject
* obj0
= 0 ;
5983 (char *) "self", NULL
5986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_CanRead",kwnames
,&obj0
)) goto fail
;
5987 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5988 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5991 result
= (bool)(arg1
)->CanRead();
5993 wxPyEndAllowThreads(__tstate
);
5994 if (PyErr_Occurred()) SWIG_fail
;
5997 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6005 static PyObject
*_wrap_InputStream_Eof(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6006 PyObject
*resultobj
;
6007 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6009 PyObject
* obj0
= 0 ;
6011 (char *) "self", NULL
6014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_Eof",kwnames
,&obj0
)) goto fail
;
6015 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6016 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6019 result
= (bool)(arg1
)->Eof();
6021 wxPyEndAllowThreads(__tstate
);
6022 if (PyErr_Occurred()) SWIG_fail
;
6025 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6033 static PyObject
*_wrap_InputStream_Ungetch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6034 PyObject
*resultobj
;
6035 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6038 PyObject
* obj0
= 0 ;
6039 PyObject
* obj1
= 0 ;
6041 (char *) "self",(char *) "c", NULL
6044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:InputStream_Ungetch",kwnames
,&obj0
,&obj1
)) goto fail
;
6045 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6046 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6047 arg2
= (char) SWIG_AsChar(obj1
);
6048 if (PyErr_Occurred()) SWIG_fail
;
6050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6051 result
= (bool)(arg1
)->Ungetch(arg2
);
6053 wxPyEndAllowThreads(__tstate
);
6054 if (PyErr_Occurred()) SWIG_fail
;
6057 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6065 static PyObject
*_wrap_InputStream_SeekI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6066 PyObject
*resultobj
;
6067 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6069 int arg3
= (int) wxFromStart
;
6071 PyObject
* obj0
= 0 ;
6072 PyObject
* obj1
= 0 ;
6073 PyObject
* obj2
= 0 ;
6075 (char *) "self",(char *) "pos",(char *) "mode", NULL
6078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:InputStream_SeekI",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6079 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6081 arg2
= (long) SWIG_AsLong(obj1
);
6082 if (PyErr_Occurred()) SWIG_fail
;
6084 arg3
= (wxSeekMode
) SWIG_AsInt(obj2
);
6085 if (PyErr_Occurred()) SWIG_fail
;
6088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6089 result
= (long)(arg1
)->SeekI(arg2
,(wxSeekMode
)arg3
);
6091 wxPyEndAllowThreads(__tstate
);
6092 if (PyErr_Occurred()) SWIG_fail
;
6094 resultobj
= SWIG_FromLong((long)result
);
6101 static PyObject
*_wrap_InputStream_TellI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6102 PyObject
*resultobj
;
6103 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6105 PyObject
* obj0
= 0 ;
6107 (char *) "self", NULL
6110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_TellI",kwnames
,&obj0
)) goto fail
;
6111 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6112 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6115 result
= (long)(arg1
)->TellI();
6117 wxPyEndAllowThreads(__tstate
);
6118 if (PyErr_Occurred()) SWIG_fail
;
6120 resultobj
= SWIG_FromLong((long)result
);
6127 static PyObject
* InputStream_swigregister(PyObject
*self
, PyObject
*args
) {
6129 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6130 SWIG_TypeClientData(SWIGTYPE_p_wxPyInputStream
, obj
);
6132 return Py_BuildValue((char *)"");
6134 static PyObject
*_wrap_OutputStream_write(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6135 PyObject
*resultobj
;
6136 wxOutputStream
*arg1
= (wxOutputStream
*) 0 ;
6137 PyObject
*arg2
= (PyObject
*) 0 ;
6138 PyObject
* obj0
= 0 ;
6139 PyObject
* obj1
= 0 ;
6141 (char *) "self",(char *) "obj", NULL
6144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:OutputStream_write",kwnames
,&obj0
,&obj1
)) goto fail
;
6145 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxOutputStream
,
6146 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6150 wxOutputStream_write(arg1
,arg2
);
6152 wxPyEndAllowThreads(__tstate
);
6153 if (PyErr_Occurred()) SWIG_fail
;
6155 Py_INCREF(Py_None
); resultobj
= Py_None
;
6162 static PyObject
* OutputStream_swigregister(PyObject
*self
, PyObject
*args
) {
6164 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6165 SWIG_TypeClientData(SWIGTYPE_p_wxOutputStream
, obj
);
6167 return Py_BuildValue((char *)"");
6169 static PyObject
*_wrap_new_FSFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6170 PyObject
*resultobj
;
6171 wxInputStream
*arg1
= (wxInputStream
*) 0 ;
6172 wxString
*arg2
= 0 ;
6173 wxString
*arg3
= 0 ;
6174 wxString
*arg4
= 0 ;
6177 wxPyInputStream
*temp1
;
6179 bool temp2
= False
;
6180 bool temp3
= False
;
6181 bool temp4
= False
;
6183 PyObject
* obj0
= 0 ;
6184 PyObject
* obj1
= 0 ;
6185 PyObject
* obj2
= 0 ;
6186 PyObject
* obj3
= 0 ;
6187 PyObject
* obj4
= 0 ;
6189 (char *) "stream",(char *) "loc",(char *) "mimetype",(char *) "anchor",(char *) "modif", NULL
6192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:new_FSFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
6194 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
6195 arg1
= temp1
->m_wxis
;
6198 PyErr_Clear(); // clear the failure of the wxPyConvert above
6199 arg1
= wxPyCBInputStream_create(obj0
, False
);
6201 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
6208 arg2
= wxString_in_helper(obj1
);
6209 if (arg2
== NULL
) SWIG_fail
;
6213 arg3
= wxString_in_helper(obj2
);
6214 if (arg3
== NULL
) SWIG_fail
;
6218 arg4
= wxString_in_helper(obj3
);
6219 if (arg4
== NULL
) SWIG_fail
;
6222 if ((SWIG_ConvertPtr(obj4
,(void **)(&argp5
),SWIGTYPE_p_wxDateTime
,
6223 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
6226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6227 result
= (wxFSFile
*)new wxFSFile(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
6229 wxPyEndAllowThreads(__tstate
);
6230 if (PyErr_Occurred()) SWIG_fail
;
6233 resultobj
= wxPyMake_wxObject(result
);
6273 static PyObject
*_wrap_delete_FSFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6274 PyObject
*resultobj
;
6275 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6276 PyObject
* obj0
= 0 ;
6278 (char *) "self", NULL
6281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FSFile",kwnames
,&obj0
)) goto fail
;
6282 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6283 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6288 wxPyEndAllowThreads(__tstate
);
6289 if (PyErr_Occurred()) SWIG_fail
;
6291 Py_INCREF(Py_None
); resultobj
= Py_None
;
6298 static PyObject
*_wrap_FSFile_GetStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6299 PyObject
*resultobj
;
6300 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6301 wxInputStream
*result
;
6302 PyObject
* obj0
= 0 ;
6304 (char *) "self", NULL
6307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetStream",kwnames
,&obj0
)) goto fail
;
6308 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6312 result
= (wxInputStream
*)(arg1
)->GetStream();
6314 wxPyEndAllowThreads(__tstate
);
6315 if (PyErr_Occurred()) SWIG_fail
;
6318 wxPyInputStream
* _ptr
= NULL
;
6321 _ptr
= new wxPyInputStream(result
);
6323 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), True
);
6331 static PyObject
*_wrap_FSFile_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6332 PyObject
*resultobj
;
6333 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6335 PyObject
* obj0
= 0 ;
6337 (char *) "self", NULL
6340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetMimeType",kwnames
,&obj0
)) goto fail
;
6341 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6342 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6346 wxString
const &_result_ref
= (arg1
)->GetMimeType();
6347 result
= (wxString
*) &_result_ref
;
6350 wxPyEndAllowThreads(__tstate
);
6351 if (PyErr_Occurred()) SWIG_fail
;
6355 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
6357 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
6366 static PyObject
*_wrap_FSFile_GetLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6367 PyObject
*resultobj
;
6368 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6370 PyObject
* obj0
= 0 ;
6372 (char *) "self", NULL
6375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetLocation",kwnames
,&obj0
)) goto fail
;
6376 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6377 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6381 wxString
const &_result_ref
= (arg1
)->GetLocation();
6382 result
= (wxString
*) &_result_ref
;
6385 wxPyEndAllowThreads(__tstate
);
6386 if (PyErr_Occurred()) SWIG_fail
;
6390 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
6392 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
6401 static PyObject
*_wrap_FSFile_GetAnchor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6402 PyObject
*resultobj
;
6403 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6405 PyObject
* obj0
= 0 ;
6407 (char *) "self", NULL
6410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetAnchor",kwnames
,&obj0
)) goto fail
;
6411 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6412 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6416 wxString
const &_result_ref
= (arg1
)->GetAnchor();
6417 result
= (wxString
*) &_result_ref
;
6420 wxPyEndAllowThreads(__tstate
);
6421 if (PyErr_Occurred()) SWIG_fail
;
6425 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
6427 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
6436 static PyObject
*_wrap_FSFile_GetModificationTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6437 PyObject
*resultobj
;
6438 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6440 PyObject
* obj0
= 0 ;
6442 (char *) "self", NULL
6445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetModificationTime",kwnames
,&obj0
)) goto fail
;
6446 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6447 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6450 result
= (arg1
)->GetModificationTime();
6452 wxPyEndAllowThreads(__tstate
);
6453 if (PyErr_Occurred()) SWIG_fail
;
6456 wxDateTime
* resultptr
;
6457 resultptr
= new wxDateTime((wxDateTime
&) result
);
6458 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
6466 static PyObject
* FSFile_swigregister(PyObject
*self
, PyObject
*args
) {
6468 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6469 SWIG_TypeClientData(SWIGTYPE_p_wxFSFile
, obj
);
6471 return Py_BuildValue((char *)"");
6473 static PyObject
* CPPFileSystemHandler_swigregister(PyObject
*self
, PyObject
*args
) {
6475 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6476 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystemHandler
, obj
);
6478 return Py_BuildValue((char *)"");
6480 static PyObject
*_wrap_new_FileSystemHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6481 PyObject
*resultobj
;
6482 wxPyFileSystemHandler
*result
;
6487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileSystemHandler",kwnames
)) goto fail
;
6489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6490 result
= (wxPyFileSystemHandler
*)new wxPyFileSystemHandler();
6492 wxPyEndAllowThreads(__tstate
);
6493 if (PyErr_Occurred()) SWIG_fail
;
6495 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFileSystemHandler
, 1);
6502 static PyObject
*_wrap_FileSystemHandler__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6503 PyObject
*resultobj
;
6504 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6505 PyObject
*arg2
= (PyObject
*) 0 ;
6506 PyObject
*arg3
= (PyObject
*) 0 ;
6507 PyObject
* obj0
= 0 ;
6508 PyObject
* obj1
= 0 ;
6509 PyObject
* obj2
= 0 ;
6511 (char *) "self",(char *) "self",(char *) "_class", NULL
6514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileSystemHandler__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6515 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6516 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6521 (arg1
)->_setCallbackInfo(arg2
,arg3
);
6523 wxPyEndAllowThreads(__tstate
);
6524 if (PyErr_Occurred()) SWIG_fail
;
6526 Py_INCREF(Py_None
); resultobj
= Py_None
;
6533 static PyObject
*_wrap_FileSystemHandler_CanOpen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6534 PyObject
*resultobj
;
6535 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6536 wxString
*arg2
= 0 ;
6538 bool temp2
= False
;
6539 PyObject
* obj0
= 0 ;
6540 PyObject
* obj1
= 0 ;
6542 (char *) "self",(char *) "location", NULL
6545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
6546 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6547 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6549 arg2
= wxString_in_helper(obj1
);
6550 if (arg2
== NULL
) SWIG_fail
;
6554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6555 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
6557 wxPyEndAllowThreads(__tstate
);
6558 if (PyErr_Occurred()) SWIG_fail
;
6561 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6577 static PyObject
*_wrap_FileSystemHandler_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6578 PyObject
*resultobj
;
6579 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6580 wxFileSystem
*arg2
= 0 ;
6581 wxString
*arg3
= 0 ;
6583 bool temp3
= False
;
6584 PyObject
* obj0
= 0 ;
6585 PyObject
* obj1
= 0 ;
6586 PyObject
* obj2
= 0 ;
6588 (char *) "self",(char *) "fs",(char *) "location", NULL
6591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileSystemHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6592 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6593 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6594 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileSystem
,
6595 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6598 PyErr_SetString(PyExc_TypeError
,"null reference");
6602 arg3
= wxString_in_helper(obj2
);
6603 if (arg3
== NULL
) SWIG_fail
;
6607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6608 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
6610 wxPyEndAllowThreads(__tstate
);
6611 if (PyErr_Occurred()) SWIG_fail
;
6614 resultobj
= wxPyMake_wxObject(result
);
6630 static PyObject
*_wrap_FileSystemHandler_FindFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6631 PyObject
*resultobj
;
6632 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6633 wxString
*arg2
= 0 ;
6634 int arg3
= (int) 0 ;
6636 bool temp2
= False
;
6637 PyObject
* obj0
= 0 ;
6638 PyObject
* obj1
= 0 ;
6639 PyObject
* obj2
= 0 ;
6641 (char *) "self",(char *) "spec",(char *) "flags", NULL
6644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystemHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6645 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6646 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6648 arg2
= wxString_in_helper(obj1
);
6649 if (arg2
== NULL
) SWIG_fail
;
6653 arg3
= (int) SWIG_AsInt(obj2
);
6654 if (PyErr_Occurred()) SWIG_fail
;
6657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6658 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
6660 wxPyEndAllowThreads(__tstate
);
6661 if (PyErr_Occurred()) SWIG_fail
;
6665 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6667 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6684 static PyObject
*_wrap_FileSystemHandler_FindNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6685 PyObject
*resultobj
;
6686 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6688 PyObject
* obj0
= 0 ;
6690 (char *) "self", NULL
6693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystemHandler_FindNext",kwnames
,&obj0
)) goto fail
;
6694 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6695 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6698 result
= (arg1
)->FindNext();
6700 wxPyEndAllowThreads(__tstate
);
6701 if (PyErr_Occurred()) SWIG_fail
;
6705 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6707 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6716 static PyObject
*_wrap_FileSystemHandler_GetProtocol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6717 PyObject
*resultobj
;
6718 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6719 wxString
*arg2
= 0 ;
6721 bool temp2
= False
;
6722 PyObject
* obj0
= 0 ;
6723 PyObject
* obj1
= 0 ;
6725 (char *) "self",(char *) "location", NULL
6728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetProtocol",kwnames
,&obj0
,&obj1
)) goto fail
;
6729 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6730 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6732 arg2
= wxString_in_helper(obj1
);
6733 if (arg2
== NULL
) SWIG_fail
;
6737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6738 result
= (arg1
)->GetProtocol((wxString
const &)*arg2
);
6740 wxPyEndAllowThreads(__tstate
);
6741 if (PyErr_Occurred()) SWIG_fail
;
6745 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6747 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6764 static PyObject
*_wrap_FileSystemHandler_GetLeftLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6765 PyObject
*resultobj
;
6766 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6767 wxString
*arg2
= 0 ;
6769 bool temp2
= False
;
6770 PyObject
* obj0
= 0 ;
6771 PyObject
* obj1
= 0 ;
6773 (char *) "self",(char *) "location", NULL
6776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetLeftLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
6777 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6778 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6780 arg2
= wxString_in_helper(obj1
);
6781 if (arg2
== NULL
) SWIG_fail
;
6785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6786 result
= (arg1
)->GetLeftLocation((wxString
const &)*arg2
);
6788 wxPyEndAllowThreads(__tstate
);
6789 if (PyErr_Occurred()) SWIG_fail
;
6793 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6795 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6812 static PyObject
*_wrap_FileSystemHandler_GetAnchor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6813 PyObject
*resultobj
;
6814 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6815 wxString
*arg2
= 0 ;
6817 bool temp2
= False
;
6818 PyObject
* obj0
= 0 ;
6819 PyObject
* obj1
= 0 ;
6821 (char *) "self",(char *) "location", NULL
6824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetAnchor",kwnames
,&obj0
,&obj1
)) goto fail
;
6825 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6826 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6828 arg2
= wxString_in_helper(obj1
);
6829 if (arg2
== NULL
) SWIG_fail
;
6833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6834 result
= (arg1
)->GetAnchor((wxString
const &)*arg2
);
6836 wxPyEndAllowThreads(__tstate
);
6837 if (PyErr_Occurred()) SWIG_fail
;
6841 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6843 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6860 static PyObject
*_wrap_FileSystemHandler_GetRightLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6861 PyObject
*resultobj
;
6862 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6863 wxString
*arg2
= 0 ;
6865 bool temp2
= False
;
6866 PyObject
* obj0
= 0 ;
6867 PyObject
* obj1
= 0 ;
6869 (char *) "self",(char *) "location", NULL
6872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetRightLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
6873 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6874 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6876 arg2
= wxString_in_helper(obj1
);
6877 if (arg2
== NULL
) SWIG_fail
;
6881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6882 result
= (arg1
)->GetRightLocation((wxString
const &)*arg2
);
6884 wxPyEndAllowThreads(__tstate
);
6885 if (PyErr_Occurred()) SWIG_fail
;
6889 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6891 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6908 static PyObject
*_wrap_FileSystemHandler_GetMimeTypeFromExt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6909 PyObject
*resultobj
;
6910 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6911 wxString
*arg2
= 0 ;
6913 bool temp2
= False
;
6914 PyObject
* obj0
= 0 ;
6915 PyObject
* obj1
= 0 ;
6917 (char *) "self",(char *) "location", NULL
6920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetMimeTypeFromExt",kwnames
,&obj0
,&obj1
)) goto fail
;
6921 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6924 arg2
= wxString_in_helper(obj1
);
6925 if (arg2
== NULL
) SWIG_fail
;
6929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6930 result
= (arg1
)->GetMimeTypeFromExt((wxString
const &)*arg2
);
6932 wxPyEndAllowThreads(__tstate
);
6933 if (PyErr_Occurred()) SWIG_fail
;
6937 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6939 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6956 static PyObject
* FileSystemHandler_swigregister(PyObject
*self
, PyObject
*args
) {
6958 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6959 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileSystemHandler
, obj
);
6961 return Py_BuildValue((char *)"");
6963 static PyObject
*_wrap_new_FileSystem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6964 PyObject
*resultobj
;
6965 wxFileSystem
*result
;
6970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileSystem",kwnames
)) goto fail
;
6972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6973 result
= (wxFileSystem
*)new wxFileSystem();
6975 wxPyEndAllowThreads(__tstate
);
6976 if (PyErr_Occurred()) SWIG_fail
;
6979 resultobj
= wxPyMake_wxObject(result
);
6987 static PyObject
*_wrap_delete_FileSystem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6988 PyObject
*resultobj
;
6989 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
6990 PyObject
* obj0
= 0 ;
6992 (char *) "self", NULL
6995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileSystem",kwnames
,&obj0
)) goto fail
;
6996 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
6997 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7002 wxPyEndAllowThreads(__tstate
);
7003 if (PyErr_Occurred()) SWIG_fail
;
7005 Py_INCREF(Py_None
); resultobj
= Py_None
;
7012 static PyObject
*_wrap_FileSystem_ChangePathTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7013 PyObject
*resultobj
;
7014 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7015 wxString
*arg2
= 0 ;
7016 bool arg3
= (bool) False
;
7017 bool temp2
= False
;
7018 PyObject
* obj0
= 0 ;
7019 PyObject
* obj1
= 0 ;
7020 PyObject
* obj2
= 0 ;
7022 (char *) "self",(char *) "location",(char *) "is_dir", NULL
7025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystem_ChangePathTo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7026 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7027 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7029 arg2
= wxString_in_helper(obj1
);
7030 if (arg2
== NULL
) SWIG_fail
;
7034 arg3
= (bool) SWIG_AsBool(obj2
);
7035 if (PyErr_Occurred()) SWIG_fail
;
7038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7039 (arg1
)->ChangePathTo((wxString
const &)*arg2
,arg3
);
7041 wxPyEndAllowThreads(__tstate
);
7042 if (PyErr_Occurred()) SWIG_fail
;
7044 Py_INCREF(Py_None
); resultobj
= Py_None
;
7059 static PyObject
*_wrap_FileSystem_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7060 PyObject
*resultobj
;
7061 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7063 PyObject
* obj0
= 0 ;
7065 (char *) "self", NULL
7068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_GetPath",kwnames
,&obj0
)) goto fail
;
7069 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7070 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7073 result
= (arg1
)->GetPath();
7075 wxPyEndAllowThreads(__tstate
);
7076 if (PyErr_Occurred()) SWIG_fail
;
7080 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7082 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7091 static PyObject
*_wrap_FileSystem_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7092 PyObject
*resultobj
;
7093 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7094 wxString
*arg2
= 0 ;
7096 bool temp2
= False
;
7097 PyObject
* obj0
= 0 ;
7098 PyObject
* obj1
= 0 ;
7100 (char *) "self",(char *) "location", NULL
7103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystem_OpenFile",kwnames
,&obj0
,&obj1
)) goto fail
;
7104 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7105 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7107 arg2
= wxString_in_helper(obj1
);
7108 if (arg2
== NULL
) SWIG_fail
;
7112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7113 result
= (wxFSFile
*)(arg1
)->OpenFile((wxString
const &)*arg2
);
7115 wxPyEndAllowThreads(__tstate
);
7116 if (PyErr_Occurred()) SWIG_fail
;
7119 resultobj
= wxPyMake_wxObject(result
);
7135 static PyObject
*_wrap_FileSystem_FindFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7136 PyObject
*resultobj
;
7137 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7138 wxString
*arg2
= 0 ;
7139 int arg3
= (int) 0 ;
7141 bool temp2
= False
;
7142 PyObject
* obj0
= 0 ;
7143 PyObject
* obj1
= 0 ;
7144 PyObject
* obj2
= 0 ;
7146 (char *) "self",(char *) "spec",(char *) "flags", NULL
7149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystem_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7150 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7151 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7153 arg2
= wxString_in_helper(obj1
);
7154 if (arg2
== NULL
) SWIG_fail
;
7158 arg3
= (int) SWIG_AsInt(obj2
);
7159 if (PyErr_Occurred()) SWIG_fail
;
7162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7163 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
7165 wxPyEndAllowThreads(__tstate
);
7166 if (PyErr_Occurred()) SWIG_fail
;
7170 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7172 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7189 static PyObject
*_wrap_FileSystem_FindNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7190 PyObject
*resultobj
;
7191 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7193 PyObject
* obj0
= 0 ;
7195 (char *) "self", NULL
7198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_FindNext",kwnames
,&obj0
)) goto fail
;
7199 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7200 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7203 result
= (arg1
)->FindNext();
7205 wxPyEndAllowThreads(__tstate
);
7206 if (PyErr_Occurred()) SWIG_fail
;
7210 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7212 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7221 static PyObject
*_wrap_FileSystem_AddHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7222 PyObject
*resultobj
;
7223 wxFileSystemHandler
*arg1
= (wxFileSystemHandler
*) 0 ;
7224 PyObject
* obj0
= 0 ;
7226 (char *) "handler", NULL
7229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_AddHandler",kwnames
,&obj0
)) goto fail
;
7230 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystemHandler
,
7231 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7234 wxFileSystem::AddHandler(arg1
);
7236 wxPyEndAllowThreads(__tstate
);
7237 if (PyErr_Occurred()) SWIG_fail
;
7239 Py_INCREF(Py_None
); resultobj
= Py_None
;
7246 static PyObject
*_wrap_FileSystem_CleanUpHandlers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7247 PyObject
*resultobj
;
7252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FileSystem_CleanUpHandlers",kwnames
)) goto fail
;
7254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7255 wxFileSystem::CleanUpHandlers();
7257 wxPyEndAllowThreads(__tstate
);
7258 if (PyErr_Occurred()) SWIG_fail
;
7260 Py_INCREF(Py_None
); resultobj
= Py_None
;
7267 static PyObject
*_wrap_FileSystem_FileNameToURL(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7268 PyObject
*resultobj
;
7269 wxString
*arg1
= 0 ;
7271 bool temp1
= False
;
7272 PyObject
* obj0
= 0 ;
7274 (char *) "filename", NULL
7277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_FileNameToURL",kwnames
,&obj0
)) goto fail
;
7279 arg1
= wxString_in_helper(obj0
);
7280 if (arg1
== NULL
) SWIG_fail
;
7284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7285 result
= wxFileSystem::FileNameToURL((wxString
const &)*arg1
);
7287 wxPyEndAllowThreads(__tstate
);
7288 if (PyErr_Occurred()) SWIG_fail
;
7292 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7294 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7311 static PyObject
* FileSystem_swigregister(PyObject
*self
, PyObject
*args
) {
7313 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7314 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystem
, obj
);
7316 return Py_BuildValue((char *)"");
7318 static PyObject
*_wrap_FileSystem_URLToFileName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7319 PyObject
*resultobj
;
7320 wxString
*arg1
= 0 ;
7322 bool temp1
= False
;
7323 PyObject
* obj0
= 0 ;
7325 (char *) "url", NULL
7328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_URLToFileName",kwnames
,&obj0
)) goto fail
;
7330 arg1
= wxString_in_helper(obj0
);
7331 if (arg1
== NULL
) SWIG_fail
;
7335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7336 result
= wxFileSystem_URLToFileName((wxString
const &)*arg1
);
7338 wxPyEndAllowThreads(__tstate
);
7339 if (PyErr_Occurred()) SWIG_fail
;
7343 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7345 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7362 static PyObject
*_wrap_new_InternetFSHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7363 PyObject
*resultobj
;
7364 wxInternetFSHandler
*result
;
7369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_InternetFSHandler",kwnames
)) goto fail
;
7371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7372 result
= (wxInternetFSHandler
*)new wxInternetFSHandler();
7374 wxPyEndAllowThreads(__tstate
);
7375 if (PyErr_Occurred()) SWIG_fail
;
7377 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxInternetFSHandler
, 1);
7384 static PyObject
*_wrap_InternetFSHandler_CanOpen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7385 PyObject
*resultobj
;
7386 wxInternetFSHandler
*arg1
= (wxInternetFSHandler
*) 0 ;
7387 wxString
*arg2
= 0 ;
7389 bool temp2
= False
;
7390 PyObject
* obj0
= 0 ;
7391 PyObject
* obj1
= 0 ;
7393 (char *) "self",(char *) "location", NULL
7396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:InternetFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
7397 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxInternetFSHandler
,
7398 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7400 arg2
= wxString_in_helper(obj1
);
7401 if (arg2
== NULL
) SWIG_fail
;
7405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7406 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
7408 wxPyEndAllowThreads(__tstate
);
7409 if (PyErr_Occurred()) SWIG_fail
;
7412 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7428 static PyObject
*_wrap_InternetFSHandler_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7429 PyObject
*resultobj
;
7430 wxInternetFSHandler
*arg1
= (wxInternetFSHandler
*) 0 ;
7431 wxFileSystem
*arg2
= 0 ;
7432 wxString
*arg3
= 0 ;
7434 bool temp3
= False
;
7435 PyObject
* obj0
= 0 ;
7436 PyObject
* obj1
= 0 ;
7437 PyObject
* obj2
= 0 ;
7439 (char *) "self",(char *) "fs",(char *) "location", NULL
7442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:InternetFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7443 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxInternetFSHandler
,
7444 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7445 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileSystem
,
7446 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7449 PyErr_SetString(PyExc_TypeError
,"null reference");
7453 arg3
= wxString_in_helper(obj2
);
7454 if (arg3
== NULL
) SWIG_fail
;
7458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7459 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
7461 wxPyEndAllowThreads(__tstate
);
7462 if (PyErr_Occurred()) SWIG_fail
;
7465 resultobj
= wxPyMake_wxObject(result
);
7481 static PyObject
* InternetFSHandler_swigregister(PyObject
*self
, PyObject
*args
) {
7483 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7484 SWIG_TypeClientData(SWIGTYPE_p_wxInternetFSHandler
, obj
);
7486 return Py_BuildValue((char *)"");
7488 static PyObject
*_wrap_new_ZipFSHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7489 PyObject
*resultobj
;
7490 wxZipFSHandler
*result
;
7495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ZipFSHandler",kwnames
)) goto fail
;
7497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7498 result
= (wxZipFSHandler
*)new wxZipFSHandler();
7500 wxPyEndAllowThreads(__tstate
);
7501 if (PyErr_Occurred()) SWIG_fail
;
7503 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxZipFSHandler
, 1);
7510 static PyObject
*_wrap_ZipFSHandler_CanOpen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7511 PyObject
*resultobj
;
7512 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
7513 wxString
*arg2
= 0 ;
7515 bool temp2
= False
;
7516 PyObject
* obj0
= 0 ;
7517 PyObject
* obj1
= 0 ;
7519 (char *) "self",(char *) "location", NULL
7522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ZipFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
7523 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxZipFSHandler
,
7524 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7526 arg2
= wxString_in_helper(obj1
);
7527 if (arg2
== NULL
) SWIG_fail
;
7531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7532 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
7534 wxPyEndAllowThreads(__tstate
);
7535 if (PyErr_Occurred()) SWIG_fail
;
7538 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7554 static PyObject
*_wrap_ZipFSHandler_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7555 PyObject
*resultobj
;
7556 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
7557 wxFileSystem
*arg2
= 0 ;
7558 wxString
*arg3
= 0 ;
7560 bool temp3
= False
;
7561 PyObject
* obj0
= 0 ;
7562 PyObject
* obj1
= 0 ;
7563 PyObject
* obj2
= 0 ;
7565 (char *) "self",(char *) "fs",(char *) "location", NULL
7568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ZipFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7569 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxZipFSHandler
,
7570 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7571 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileSystem
,
7572 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7575 PyErr_SetString(PyExc_TypeError
,"null reference");
7579 arg3
= wxString_in_helper(obj2
);
7580 if (arg3
== NULL
) SWIG_fail
;
7584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7585 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
7587 wxPyEndAllowThreads(__tstate
);
7588 if (PyErr_Occurred()) SWIG_fail
;
7591 resultobj
= wxPyMake_wxObject(result
);
7607 static PyObject
*_wrap_ZipFSHandler_FindFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7608 PyObject
*resultobj
;
7609 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
7610 wxString
*arg2
= 0 ;
7611 int arg3
= (int) 0 ;
7613 bool temp2
= False
;
7614 PyObject
* obj0
= 0 ;
7615 PyObject
* obj1
= 0 ;
7616 PyObject
* obj2
= 0 ;
7618 (char *) "self",(char *) "spec",(char *) "flags", NULL
7621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ZipFSHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7622 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxZipFSHandler
,
7623 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7625 arg2
= wxString_in_helper(obj1
);
7626 if (arg2
== NULL
) SWIG_fail
;
7630 arg3
= (int) SWIG_AsInt(obj2
);
7631 if (PyErr_Occurred()) SWIG_fail
;
7634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7635 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
7637 wxPyEndAllowThreads(__tstate
);
7638 if (PyErr_Occurred()) SWIG_fail
;
7642 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7644 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7661 static PyObject
*_wrap_ZipFSHandler_FindNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7662 PyObject
*resultobj
;
7663 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
7665 PyObject
* obj0
= 0 ;
7667 (char *) "self", NULL
7670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ZipFSHandler_FindNext",kwnames
,&obj0
)) goto fail
;
7671 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxZipFSHandler
,
7672 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7675 result
= (arg1
)->FindNext();
7677 wxPyEndAllowThreads(__tstate
);
7678 if (PyErr_Occurred()) SWIG_fail
;
7682 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7684 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7693 static PyObject
* ZipFSHandler_swigregister(PyObject
*self
, PyObject
*args
) {
7695 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7696 SWIG_TypeClientData(SWIGTYPE_p_wxZipFSHandler
, obj
);
7698 return Py_BuildValue((char *)"");
7700 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7701 PyObject
*resultobj
;
7702 wxString
*arg1
= 0 ;
7705 bool temp1
= False
;
7706 PyObject
* obj0
= 0 ;
7707 PyObject
* obj1
= 0 ;
7708 PyObject
* obj2
= 0 ;
7710 (char *) "filename",(char *) "image",(char *) "type", NULL
7713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7715 arg1
= wxString_in_helper(obj0
);
7716 if (arg1
== NULL
) SWIG_fail
;
7719 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImage
,
7720 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7723 PyErr_SetString(PyExc_TypeError
,"null reference");
7726 arg3
= (long) SWIG_AsLong(obj2
);
7727 if (PyErr_Occurred()) SWIG_fail
;
7729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7730 __wxMemoryFSHandler_AddFile_wxImage((wxString
const &)*arg1
,*arg2
,arg3
);
7732 wxPyEndAllowThreads(__tstate
);
7733 if (PyErr_Occurred()) SWIG_fail
;
7735 Py_INCREF(Py_None
); resultobj
= Py_None
;
7750 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7751 PyObject
*resultobj
;
7752 wxString
*arg1
= 0 ;
7753 wxBitmap
*arg2
= 0 ;
7755 bool temp1
= False
;
7756 PyObject
* obj0
= 0 ;
7757 PyObject
* obj1
= 0 ;
7758 PyObject
* obj2
= 0 ;
7760 (char *) "filename",(char *) "bitmap",(char *) "type", NULL
7763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7765 arg1
= wxString_in_helper(obj0
);
7766 if (arg1
== NULL
) SWIG_fail
;
7769 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
7770 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7773 PyErr_SetString(PyExc_TypeError
,"null reference");
7776 arg3
= (long) SWIG_AsLong(obj2
);
7777 if (PyErr_Occurred()) SWIG_fail
;
7779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7780 __wxMemoryFSHandler_AddFile_wxBitmap((wxString
const &)*arg1
,(wxBitmap
const &)*arg2
,arg3
);
7782 wxPyEndAllowThreads(__tstate
);
7783 if (PyErr_Occurred()) SWIG_fail
;
7785 Py_INCREF(Py_None
); resultobj
= Py_None
;
7800 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_Data(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7801 PyObject
*resultobj
;
7802 wxString
*arg1
= 0 ;
7803 PyObject
*arg2
= (PyObject
*) 0 ;
7804 bool temp1
= False
;
7805 PyObject
* obj0
= 0 ;
7806 PyObject
* obj1
= 0 ;
7808 (char *) "filename",(char *) "data", NULL
7811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:__wxMemoryFSHandler_AddFile_Data",kwnames
,&obj0
,&obj1
)) goto fail
;
7813 arg1
= wxString_in_helper(obj0
);
7814 if (arg1
== NULL
) SWIG_fail
;
7819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7820 __wxMemoryFSHandler_AddFile_Data((wxString
const &)*arg1
,arg2
);
7822 wxPyEndAllowThreads(__tstate
);
7823 if (PyErr_Occurred()) SWIG_fail
;
7825 Py_INCREF(Py_None
); resultobj
= Py_None
;
7840 static PyObject
*_wrap_new_MemoryFSHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7841 PyObject
*resultobj
;
7842 wxMemoryFSHandler
*result
;
7847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MemoryFSHandler",kwnames
)) goto fail
;
7849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7850 result
= (wxMemoryFSHandler
*)new wxMemoryFSHandler();
7852 wxPyEndAllowThreads(__tstate
);
7853 if (PyErr_Occurred()) SWIG_fail
;
7855 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMemoryFSHandler
, 1);
7862 static PyObject
*_wrap_MemoryFSHandler_RemoveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7863 PyObject
*resultobj
;
7864 wxString
*arg1
= 0 ;
7865 bool temp1
= False
;
7866 PyObject
* obj0
= 0 ;
7868 (char *) "filename", NULL
7871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MemoryFSHandler_RemoveFile",kwnames
,&obj0
)) goto fail
;
7873 arg1
= wxString_in_helper(obj0
);
7874 if (arg1
== NULL
) SWIG_fail
;
7878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7879 wxMemoryFSHandler::RemoveFile((wxString
const &)*arg1
);
7881 wxPyEndAllowThreads(__tstate
);
7882 if (PyErr_Occurred()) SWIG_fail
;
7884 Py_INCREF(Py_None
); resultobj
= Py_None
;
7899 static PyObject
*_wrap_MemoryFSHandler_CanOpen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7900 PyObject
*resultobj
;
7901 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
7902 wxString
*arg2
= 0 ;
7904 bool temp2
= False
;
7905 PyObject
* obj0
= 0 ;
7906 PyObject
* obj1
= 0 ;
7908 (char *) "self",(char *) "location", NULL
7911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
7912 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryFSHandler
,
7913 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7915 arg2
= wxString_in_helper(obj1
);
7916 if (arg2
== NULL
) SWIG_fail
;
7920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7921 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
7923 wxPyEndAllowThreads(__tstate
);
7924 if (PyErr_Occurred()) SWIG_fail
;
7927 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7943 static PyObject
*_wrap_MemoryFSHandler_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7944 PyObject
*resultobj
;
7945 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
7946 wxFileSystem
*arg2
= 0 ;
7947 wxString
*arg3
= 0 ;
7949 bool temp3
= False
;
7950 PyObject
* obj0
= 0 ;
7951 PyObject
* obj1
= 0 ;
7952 PyObject
* obj2
= 0 ;
7954 (char *) "self",(char *) "fs",(char *) "location", NULL
7957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MemoryFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7958 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryFSHandler
,
7959 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7960 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileSystem
,
7961 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7964 PyErr_SetString(PyExc_TypeError
,"null reference");
7968 arg3
= wxString_in_helper(obj2
);
7969 if (arg3
== NULL
) SWIG_fail
;
7973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7974 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
7976 wxPyEndAllowThreads(__tstate
);
7977 if (PyErr_Occurred()) SWIG_fail
;
7980 resultobj
= wxPyMake_wxObject(result
);
7996 static PyObject
*_wrap_MemoryFSHandler_FindFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7997 PyObject
*resultobj
;
7998 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
7999 wxString
*arg2
= 0 ;
8000 int arg3
= (int) 0 ;
8002 bool temp2
= False
;
8003 PyObject
* obj0
= 0 ;
8004 PyObject
* obj1
= 0 ;
8005 PyObject
* obj2
= 0 ;
8007 (char *) "self",(char *) "spec",(char *) "flags", NULL
8010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MemoryFSHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8011 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryFSHandler
,
8012 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8014 arg2
= wxString_in_helper(obj1
);
8015 if (arg2
== NULL
) SWIG_fail
;
8019 arg3
= (int) SWIG_AsInt(obj2
);
8020 if (PyErr_Occurred()) SWIG_fail
;
8023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8024 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
8026 wxPyEndAllowThreads(__tstate
);
8027 if (PyErr_Occurred()) SWIG_fail
;
8031 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8033 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8050 static PyObject
*_wrap_MemoryFSHandler_FindNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8051 PyObject
*resultobj
;
8052 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
8054 PyObject
* obj0
= 0 ;
8056 (char *) "self", NULL
8059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MemoryFSHandler_FindNext",kwnames
,&obj0
)) goto fail
;
8060 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryFSHandler
,
8061 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8064 result
= (arg1
)->FindNext();
8066 wxPyEndAllowThreads(__tstate
);
8067 if (PyErr_Occurred()) SWIG_fail
;
8071 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8073 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8082 static PyObject
* MemoryFSHandler_swigregister(PyObject
*self
, PyObject
*args
) {
8084 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8085 SWIG_TypeClientData(SWIGTYPE_p_wxMemoryFSHandler
, obj
);
8087 return Py_BuildValue((char *)"");
8089 static PyObject
*_wrap_ImageHandler_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8090 PyObject
*resultobj
;
8091 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8093 PyObject
* obj0
= 0 ;
8095 (char *) "self", NULL
8098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetName",kwnames
,&obj0
)) goto fail
;
8099 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8100 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8103 result
= (arg1
)->GetName();
8105 wxPyEndAllowThreads(__tstate
);
8106 if (PyErr_Occurred()) SWIG_fail
;
8110 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8112 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8121 static PyObject
*_wrap_ImageHandler_GetExtension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8122 PyObject
*resultobj
;
8123 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8125 PyObject
* obj0
= 0 ;
8127 (char *) "self", NULL
8130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetExtension",kwnames
,&obj0
)) goto fail
;
8131 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8132 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8135 result
= (arg1
)->GetExtension();
8137 wxPyEndAllowThreads(__tstate
);
8138 if (PyErr_Occurred()) SWIG_fail
;
8142 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8144 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8153 static PyObject
*_wrap_ImageHandler_GetType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8154 PyObject
*resultobj
;
8155 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8157 PyObject
* obj0
= 0 ;
8159 (char *) "self", NULL
8162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetType",kwnames
,&obj0
)) goto fail
;
8163 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8164 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8167 result
= (long)(arg1
)->GetType();
8169 wxPyEndAllowThreads(__tstate
);
8170 if (PyErr_Occurred()) SWIG_fail
;
8172 resultobj
= SWIG_FromLong((long)result
);
8179 static PyObject
*_wrap_ImageHandler_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8180 PyObject
*resultobj
;
8181 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8183 PyObject
* obj0
= 0 ;
8185 (char *) "self", NULL
8188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetMimeType",kwnames
,&obj0
)) goto fail
;
8189 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8190 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8193 result
= (arg1
)->GetMimeType();
8195 wxPyEndAllowThreads(__tstate
);
8196 if (PyErr_Occurred()) SWIG_fail
;
8200 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8202 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8211 static PyObject
*_wrap_ImageHandler_CanRead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8212 PyObject
*resultobj
;
8213 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8214 wxString
*arg2
= 0 ;
8216 bool temp2
= False
;
8217 PyObject
* obj0
= 0 ;
8218 PyObject
* obj1
= 0 ;
8220 (char *) "self",(char *) "name", NULL
8223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_CanRead",kwnames
,&obj0
,&obj1
)) goto fail
;
8224 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8225 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8227 arg2
= wxString_in_helper(obj1
);
8228 if (arg2
== NULL
) SWIG_fail
;
8232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8233 result
= (bool)(arg1
)->CanRead((wxString
const &)*arg2
);
8235 wxPyEndAllowThreads(__tstate
);
8236 if (PyErr_Occurred()) SWIG_fail
;
8239 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8255 static PyObject
*_wrap_ImageHandler_SetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8256 PyObject
*resultobj
;
8257 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8258 wxString
*arg2
= 0 ;
8259 bool temp2
= False
;
8260 PyObject
* obj0
= 0 ;
8261 PyObject
* obj1
= 0 ;
8263 (char *) "self",(char *) "name", NULL
8266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetName",kwnames
,&obj0
,&obj1
)) goto fail
;
8267 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8268 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8270 arg2
= wxString_in_helper(obj1
);
8271 if (arg2
== NULL
) SWIG_fail
;
8275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8276 (arg1
)->SetName((wxString
const &)*arg2
);
8278 wxPyEndAllowThreads(__tstate
);
8279 if (PyErr_Occurred()) SWIG_fail
;
8281 Py_INCREF(Py_None
); resultobj
= Py_None
;
8296 static PyObject
*_wrap_ImageHandler_SetExtension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8297 PyObject
*resultobj
;
8298 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8299 wxString
*arg2
= 0 ;
8300 bool temp2
= False
;
8301 PyObject
* obj0
= 0 ;
8302 PyObject
* obj1
= 0 ;
8304 (char *) "self",(char *) "extension", NULL
8307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetExtension",kwnames
,&obj0
,&obj1
)) goto fail
;
8308 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8311 arg2
= wxString_in_helper(obj1
);
8312 if (arg2
== NULL
) SWIG_fail
;
8316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8317 (arg1
)->SetExtension((wxString
const &)*arg2
);
8319 wxPyEndAllowThreads(__tstate
);
8320 if (PyErr_Occurred()) SWIG_fail
;
8322 Py_INCREF(Py_None
); resultobj
= Py_None
;
8337 static PyObject
*_wrap_ImageHandler_SetType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8338 PyObject
*resultobj
;
8339 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8341 PyObject
* obj0
= 0 ;
8342 PyObject
* obj1
= 0 ;
8344 (char *) "self",(char *) "type", NULL
8347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetType",kwnames
,&obj0
,&obj1
)) goto fail
;
8348 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8349 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8350 arg2
= (long) SWIG_AsLong(obj1
);
8351 if (PyErr_Occurred()) SWIG_fail
;
8353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8354 (arg1
)->SetType(arg2
);
8356 wxPyEndAllowThreads(__tstate
);
8357 if (PyErr_Occurred()) SWIG_fail
;
8359 Py_INCREF(Py_None
); resultobj
= Py_None
;
8366 static PyObject
*_wrap_ImageHandler_SetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8367 PyObject
*resultobj
;
8368 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8369 wxString
*arg2
= 0 ;
8370 bool temp2
= False
;
8371 PyObject
* obj0
= 0 ;
8372 PyObject
* obj1
= 0 ;
8374 (char *) "self",(char *) "mimetype", NULL
8377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetMimeType",kwnames
,&obj0
,&obj1
)) goto fail
;
8378 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8379 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8381 arg2
= wxString_in_helper(obj1
);
8382 if (arg2
== NULL
) SWIG_fail
;
8386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8387 (arg1
)->SetMimeType((wxString
const &)*arg2
);
8389 wxPyEndAllowThreads(__tstate
);
8390 if (PyErr_Occurred()) SWIG_fail
;
8392 Py_INCREF(Py_None
); resultobj
= Py_None
;
8407 static PyObject
* ImageHandler_swigregister(PyObject
*self
, PyObject
*args
) {
8409 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8410 SWIG_TypeClientData(SWIGTYPE_p_wxImageHandler
, obj
);
8412 return Py_BuildValue((char *)"");
8414 static PyObject
*_wrap_new_ImageHistogram(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8415 PyObject
*resultobj
;
8416 wxImageHistogram
*result
;
8421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ImageHistogram",kwnames
)) goto fail
;
8423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8424 result
= (wxImageHistogram
*)new wxImageHistogram();
8426 wxPyEndAllowThreads(__tstate
);
8427 if (PyErr_Occurred()) SWIG_fail
;
8429 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImageHistogram
, 1);
8436 static PyObject
*_wrap_ImageHistogram_MakeKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8437 PyObject
*resultobj
;
8438 unsigned char arg1
;
8439 unsigned char arg2
;
8440 unsigned char arg3
;
8441 unsigned long result
;
8442 PyObject
* obj0
= 0 ;
8443 PyObject
* obj1
= 0 ;
8444 PyObject
* obj2
= 0 ;
8446 (char *) "r",(char *) "g",(char *) "b", NULL
8449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageHistogram_MakeKey",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8450 arg1
= (unsigned char) SWIG_AsUnsignedChar(obj0
);
8451 if (PyErr_Occurred()) SWIG_fail
;
8452 arg2
= (unsigned char) SWIG_AsUnsignedChar(obj1
);
8453 if (PyErr_Occurred()) SWIG_fail
;
8454 arg3
= (unsigned char) SWIG_AsUnsignedChar(obj2
);
8455 if (PyErr_Occurred()) SWIG_fail
;
8457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8458 result
= (unsigned long)wxImageHistogram::MakeKey(arg1
,arg2
,arg3
);
8460 wxPyEndAllowThreads(__tstate
);
8461 if (PyErr_Occurred()) SWIG_fail
;
8463 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
8470 static PyObject
*_wrap_ImageHistogram_FindFirstUnusedColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8471 PyObject
*resultobj
;
8472 wxImageHistogram
*arg1
= (wxImageHistogram
*) 0 ;
8473 unsigned char *arg2
= (unsigned char *) 0 ;
8474 unsigned char *arg3
= (unsigned char *) 0 ;
8475 unsigned char *arg4
= (unsigned char *) 0 ;
8476 unsigned char arg5
= (unsigned char) 1 ;
8477 unsigned char arg6
= (unsigned char) 0 ;
8478 unsigned char arg7
= (unsigned char) 0 ;
8480 unsigned char temp2
;
8481 unsigned char temp3
;
8482 unsigned char temp4
;
8483 PyObject
* obj0
= 0 ;
8484 PyObject
* obj1
= 0 ;
8485 PyObject
* obj2
= 0 ;
8486 PyObject
* obj3
= 0 ;
8488 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
8494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:ImageHistogram_FindFirstUnusedColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8495 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHistogram
,
8496 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8498 arg5
= (unsigned char) SWIG_AsUnsignedChar(obj1
);
8499 if (PyErr_Occurred()) SWIG_fail
;
8502 arg6
= (unsigned char) SWIG_AsUnsignedChar(obj2
);
8503 if (PyErr_Occurred()) SWIG_fail
;
8506 arg7
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
8507 if (PyErr_Occurred()) SWIG_fail
;
8510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8511 result
= (bool)((wxImageHistogram
const *)arg1
)->FindFirstUnusedColour(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
8513 wxPyEndAllowThreads(__tstate
);
8514 if (PyErr_Occurred()) SWIG_fail
;
8517 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8520 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
8521 resultobj
= t_output_helper(resultobj
,o
);
8524 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
8525 resultobj
= t_output_helper(resultobj
,o
);
8528 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
8529 resultobj
= t_output_helper(resultobj
,o
);
8537 static PyObject
* ImageHistogram_swigregister(PyObject
*self
, PyObject
*args
) {
8539 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8540 SWIG_TypeClientData(SWIGTYPE_p_wxImageHistogram
, obj
);
8542 return Py_BuildValue((char *)"");
8544 static PyObject
*_wrap_new_Image(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8545 PyObject
*resultobj
;
8546 wxString
*arg1
= 0 ;
8547 long arg2
= (long) wxBITMAP_TYPE_ANY
;
8548 int arg3
= (int) -1 ;
8550 bool temp1
= False
;
8551 PyObject
* obj0
= 0 ;
8552 PyObject
* obj1
= 0 ;
8553 PyObject
* obj2
= 0 ;
8555 (char *) "name",(char *) "type",(char *) "index", NULL
8558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Image",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8560 arg1
= wxString_in_helper(obj0
);
8561 if (arg1
== NULL
) SWIG_fail
;
8565 arg2
= (long) SWIG_AsLong(obj1
);
8566 if (PyErr_Occurred()) SWIG_fail
;
8569 arg3
= (int) SWIG_AsInt(obj2
);
8570 if (PyErr_Occurred()) SWIG_fail
;
8573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8574 result
= (wxImage
*)new wxImage((wxString
const &)*arg1
,arg2
,arg3
);
8576 wxPyEndAllowThreads(__tstate
);
8577 if (PyErr_Occurred()) SWIG_fail
;
8579 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8594 static PyObject
*_wrap_delete_Image(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8595 PyObject
*resultobj
;
8596 wxImage
*arg1
= (wxImage
*) 0 ;
8597 PyObject
* obj0
= 0 ;
8599 (char *) "self", NULL
8602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Image",kwnames
,&obj0
)) goto fail
;
8603 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
8604 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8609 wxPyEndAllowThreads(__tstate
);
8610 if (PyErr_Occurred()) SWIG_fail
;
8612 Py_INCREF(Py_None
); resultobj
= Py_None
;
8619 static PyObject
*_wrap_new_ImageFromMime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8620 PyObject
*resultobj
;
8621 wxString
*arg1
= 0 ;
8622 wxString
*arg2
= 0 ;
8623 int arg3
= (int) -1 ;
8625 bool temp1
= False
;
8626 bool temp2
= False
;
8627 PyObject
* obj0
= 0 ;
8628 PyObject
* obj1
= 0 ;
8629 PyObject
* obj2
= 0 ;
8631 (char *) "name",(char *) "mimetype",(char *) "index", NULL
8634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_ImageFromMime",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8636 arg1
= wxString_in_helper(obj0
);
8637 if (arg1
== NULL
) SWIG_fail
;
8641 arg2
= wxString_in_helper(obj1
);
8642 if (arg2
== NULL
) SWIG_fail
;
8646 arg3
= (int) SWIG_AsInt(obj2
);
8647 if (PyErr_Occurred()) SWIG_fail
;
8650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8651 result
= (wxImage
*)new wxImage((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
8653 wxPyEndAllowThreads(__tstate
);
8654 if (PyErr_Occurred()) SWIG_fail
;
8656 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8679 static PyObject
*_wrap_new_ImageFromStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8680 PyObject
*resultobj
;
8681 wxInputStream
*arg1
= 0 ;
8682 long arg2
= (long) wxBITMAP_TYPE_ANY
;
8683 int arg3
= (int) -1 ;
8685 wxPyInputStream
*temp1
;
8687 PyObject
* obj0
= 0 ;
8688 PyObject
* obj1
= 0 ;
8689 PyObject
* obj2
= 0 ;
8691 (char *) "stream",(char *) "type",(char *) "index", NULL
8694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_ImageFromStream",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8696 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
8697 arg1
= temp1
->m_wxis
;
8700 PyErr_Clear(); // clear the failure of the wxPyConvert above
8701 arg1
= wxPyCBInputStream_create(obj0
, False
);
8703 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
8710 arg2
= (long) SWIG_AsLong(obj1
);
8711 if (PyErr_Occurred()) SWIG_fail
;
8714 arg3
= (int) SWIG_AsInt(obj2
);
8715 if (PyErr_Occurred()) SWIG_fail
;
8718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8719 result
= (wxImage
*)new wxImage(*arg1
,arg2
,arg3
);
8721 wxPyEndAllowThreads(__tstate
);
8722 if (PyErr_Occurred()) SWIG_fail
;
8724 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8739 static PyObject
*_wrap_new_ImageFromStreamMime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8740 PyObject
*resultobj
;
8741 wxInputStream
*arg1
= 0 ;
8742 wxString
*arg2
= 0 ;
8743 int arg3
= (int) -1 ;
8745 wxPyInputStream
*temp1
;
8747 bool temp2
= False
;
8748 PyObject
* obj0
= 0 ;
8749 PyObject
* obj1
= 0 ;
8750 PyObject
* obj2
= 0 ;
8752 (char *) "stream",(char *) "mimetype",(char *) "index", NULL
8755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_ImageFromStreamMime",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8757 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
8758 arg1
= temp1
->m_wxis
;
8761 PyErr_Clear(); // clear the failure of the wxPyConvert above
8762 arg1
= wxPyCBInputStream_create(obj0
, False
);
8764 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
8771 arg2
= wxString_in_helper(obj1
);
8772 if (arg2
== NULL
) SWIG_fail
;
8776 arg3
= (int) SWIG_AsInt(obj2
);
8777 if (PyErr_Occurred()) SWIG_fail
;
8780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8781 result
= (wxImage
*)new wxImage(*arg1
,(wxString
const &)*arg2
,arg3
);
8783 wxPyEndAllowThreads(__tstate
);
8784 if (PyErr_Occurred()) SWIG_fail
;
8786 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8809 static PyObject
*_wrap_new_EmptyImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8810 PyObject
*resultobj
;
8811 int arg1
= (int) 0 ;
8812 int arg2
= (int) 0 ;
8813 bool arg3
= (bool) True
;
8815 PyObject
* obj0
= 0 ;
8816 PyObject
* obj1
= 0 ;
8817 PyObject
* obj2
= 0 ;
8819 (char *) "width",(char *) "height",(char *) "clear", NULL
8822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_EmptyImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8824 arg1
= (int) SWIG_AsInt(obj0
);
8825 if (PyErr_Occurred()) SWIG_fail
;
8828 arg2
= (int) SWIG_AsInt(obj1
);
8829 if (PyErr_Occurred()) SWIG_fail
;
8832 arg3
= (bool) SWIG_AsBool(obj2
);
8833 if (PyErr_Occurred()) SWIG_fail
;
8836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8837 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
);
8839 wxPyEndAllowThreads(__tstate
);
8840 if (PyErr_Occurred()) SWIG_fail
;
8842 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8849 static PyObject
*_wrap_new_ImageFromBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8850 PyObject
*resultobj
;
8851 wxBitmap
*arg1
= 0 ;
8853 PyObject
* obj0
= 0 ;
8855 (char *) "bitmap", NULL
8858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ImageFromBitmap",kwnames
,&obj0
)) goto fail
;
8859 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
8860 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8863 PyErr_SetString(PyExc_TypeError
,"null reference");
8867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8868 result
= (wxImage
*)new_wxImage((wxBitmap
const &)*arg1
);
8870 wxPyEndAllowThreads(__tstate
);
8871 if (PyErr_Occurred()) SWIG_fail
;
8873 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8880 static PyObject
*_wrap_new_ImageFromData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8881 PyObject
*resultobj
;
8884 unsigned char *arg3
= (unsigned char *) 0 ;
8886 PyObject
* obj0
= 0 ;
8887 PyObject
* obj1
= 0 ;
8888 PyObject
* obj2
= 0 ;
8890 (char *) "width",(char *) "height",(char *) "data", NULL
8893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_ImageFromData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8894 arg1
= (int) SWIG_AsInt(obj0
);
8895 if (PyErr_Occurred()) SWIG_fail
;
8896 arg2
= (int) SWIG_AsInt(obj1
);
8897 if (PyErr_Occurred()) SWIG_fail
;
8898 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_unsigned_char
,
8899 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8902 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
);
8904 wxPyEndAllowThreads(__tstate
);
8905 if (PyErr_Occurred()) SWIG_fail
;
8907 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8914 static PyObject
*_wrap_Image_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8915 PyObject
*resultobj
;
8916 wxImage
*arg1
= (wxImage
*) 0 ;
8919 PyObject
* obj0
= 0 ;
8920 PyObject
* obj1
= 0 ;
8921 PyObject
* obj2
= 0 ;
8923 (char *) "self",(char *) "width",(char *) "height", NULL
8926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8927 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
8928 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8929 arg2
= (int) SWIG_AsInt(obj1
);
8930 if (PyErr_Occurred()) SWIG_fail
;
8931 arg3
= (int) SWIG_AsInt(obj2
);
8932 if (PyErr_Occurred()) SWIG_fail
;
8934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8935 (arg1
)->Create(arg2
,arg3
);
8937 wxPyEndAllowThreads(__tstate
);
8938 if (PyErr_Occurred()) SWIG_fail
;
8940 Py_INCREF(Py_None
); resultobj
= Py_None
;
8947 static PyObject
*_wrap_Image_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8948 PyObject
*resultobj
;
8949 wxImage
*arg1
= (wxImage
*) 0 ;
8950 PyObject
* obj0
= 0 ;
8952 (char *) "self", NULL
8955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Destroy",kwnames
,&obj0
)) goto fail
;
8956 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
8957 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8962 wxPyEndAllowThreads(__tstate
);
8963 if (PyErr_Occurred()) SWIG_fail
;
8965 Py_INCREF(Py_None
); resultobj
= Py_None
;
8972 static PyObject
*_wrap_Image_Scale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8973 PyObject
*resultobj
;
8974 wxImage
*arg1
= (wxImage
*) 0 ;
8977 SwigValueWrapper
< wxImage
> result
;
8978 PyObject
* obj0
= 0 ;
8979 PyObject
* obj1
= 0 ;
8980 PyObject
* obj2
= 0 ;
8982 (char *) "self",(char *) "width",(char *) "height", NULL
8985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8986 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
8987 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8988 arg2
= (int) SWIG_AsInt(obj1
);
8989 if (PyErr_Occurred()) SWIG_fail
;
8990 arg3
= (int) SWIG_AsInt(obj2
);
8991 if (PyErr_Occurred()) SWIG_fail
;
8993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8994 result
= (arg1
)->Scale(arg2
,arg3
);
8996 wxPyEndAllowThreads(__tstate
);
8997 if (PyErr_Occurred()) SWIG_fail
;
9000 wxImage
* resultptr
;
9001 resultptr
= new wxImage((wxImage
&) result
);
9002 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
9010 static PyObject
*_wrap_Image_ShrinkBy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9011 PyObject
*resultobj
;
9012 wxImage
*arg1
= (wxImage
*) 0 ;
9015 SwigValueWrapper
< wxImage
> result
;
9016 PyObject
* obj0
= 0 ;
9017 PyObject
* obj1
= 0 ;
9018 PyObject
* obj2
= 0 ;
9020 (char *) "self",(char *) "xFactor",(char *) "yFactor", NULL
9023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_ShrinkBy",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9024 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9025 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9026 arg2
= (int) SWIG_AsInt(obj1
);
9027 if (PyErr_Occurred()) SWIG_fail
;
9028 arg3
= (int) SWIG_AsInt(obj2
);
9029 if (PyErr_Occurred()) SWIG_fail
;
9031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9032 result
= ((wxImage
const *)arg1
)->ShrinkBy(arg2
,arg3
);
9034 wxPyEndAllowThreads(__tstate
);
9035 if (PyErr_Occurred()) SWIG_fail
;
9038 wxImage
* resultptr
;
9039 resultptr
= new wxImage((wxImage
&) result
);
9040 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
9048 static PyObject
*_wrap_Image_Rescale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9049 PyObject
*resultobj
;
9050 wxImage
*arg1
= (wxImage
*) 0 ;
9054 PyObject
* obj0
= 0 ;
9055 PyObject
* obj1
= 0 ;
9056 PyObject
* obj2
= 0 ;
9058 (char *) "self",(char *) "width",(char *) "height", NULL
9061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Rescale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9062 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9063 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9064 arg2
= (int) SWIG_AsInt(obj1
);
9065 if (PyErr_Occurred()) SWIG_fail
;
9066 arg3
= (int) SWIG_AsInt(obj2
);
9067 if (PyErr_Occurred()) SWIG_fail
;
9069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9071 wxImage
&_result_ref
= (arg1
)->Rescale(arg2
,arg3
);
9072 result
= (wxImage
*) &_result_ref
;
9075 wxPyEndAllowThreads(__tstate
);
9076 if (PyErr_Occurred()) SWIG_fail
;
9078 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 0);
9085 static PyObject
*_wrap_Image_SetRGB(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9086 PyObject
*resultobj
;
9087 wxImage
*arg1
= (wxImage
*) 0 ;
9090 unsigned char arg4
;
9091 unsigned char arg5
;
9092 unsigned char arg6
;
9093 PyObject
* obj0
= 0 ;
9094 PyObject
* obj1
= 0 ;
9095 PyObject
* obj2
= 0 ;
9096 PyObject
* obj3
= 0 ;
9097 PyObject
* obj4
= 0 ;
9098 PyObject
* obj5
= 0 ;
9100 (char *) "self",(char *) "x",(char *) "y",(char *) "r",(char *) "g",(char *) "b", NULL
9103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Image_SetRGB",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9104 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9105 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9106 arg2
= (int) SWIG_AsInt(obj1
);
9107 if (PyErr_Occurred()) SWIG_fail
;
9108 arg3
= (int) SWIG_AsInt(obj2
);
9109 if (PyErr_Occurred()) SWIG_fail
;
9110 arg4
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
9111 if (PyErr_Occurred()) SWIG_fail
;
9112 arg5
= (unsigned char) SWIG_AsUnsignedChar(obj4
);
9113 if (PyErr_Occurred()) SWIG_fail
;
9114 arg6
= (unsigned char) SWIG_AsUnsignedChar(obj5
);
9115 if (PyErr_Occurred()) SWIG_fail
;
9117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9118 (arg1
)->SetRGB(arg2
,arg3
,arg4
,arg5
,arg6
);
9120 wxPyEndAllowThreads(__tstate
);
9121 if (PyErr_Occurred()) SWIG_fail
;
9123 Py_INCREF(Py_None
); resultobj
= Py_None
;
9130 static PyObject
*_wrap_Image_GetRed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9131 PyObject
*resultobj
;
9132 wxImage
*arg1
= (wxImage
*) 0 ;
9135 unsigned char result
;
9136 PyObject
* obj0
= 0 ;
9137 PyObject
* obj1
= 0 ;
9138 PyObject
* obj2
= 0 ;
9140 (char *) "self",(char *) "x",(char *) "y", NULL
9143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetRed",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9144 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9145 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9146 arg2
= (int) SWIG_AsInt(obj1
);
9147 if (PyErr_Occurred()) SWIG_fail
;
9148 arg3
= (int) SWIG_AsInt(obj2
);
9149 if (PyErr_Occurred()) SWIG_fail
;
9151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9152 result
= (unsigned char)(arg1
)->GetRed(arg2
,arg3
);
9154 wxPyEndAllowThreads(__tstate
);
9155 if (PyErr_Occurred()) SWIG_fail
;
9157 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
9164 static PyObject
*_wrap_Image_GetGreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9165 PyObject
*resultobj
;
9166 wxImage
*arg1
= (wxImage
*) 0 ;
9169 unsigned char result
;
9170 PyObject
* obj0
= 0 ;
9171 PyObject
* obj1
= 0 ;
9172 PyObject
* obj2
= 0 ;
9174 (char *) "self",(char *) "x",(char *) "y", NULL
9177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetGreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9178 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9179 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9180 arg2
= (int) SWIG_AsInt(obj1
);
9181 if (PyErr_Occurred()) SWIG_fail
;
9182 arg3
= (int) SWIG_AsInt(obj2
);
9183 if (PyErr_Occurred()) SWIG_fail
;
9185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9186 result
= (unsigned char)(arg1
)->GetGreen(arg2
,arg3
);
9188 wxPyEndAllowThreads(__tstate
);
9189 if (PyErr_Occurred()) SWIG_fail
;
9191 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
9198 static PyObject
*_wrap_Image_GetBlue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9199 PyObject
*resultobj
;
9200 wxImage
*arg1
= (wxImage
*) 0 ;
9203 unsigned char result
;
9204 PyObject
* obj0
= 0 ;
9205 PyObject
* obj1
= 0 ;
9206 PyObject
* obj2
= 0 ;
9208 (char *) "self",(char *) "x",(char *) "y", NULL
9211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetBlue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9212 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9213 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9214 arg2
= (int) SWIG_AsInt(obj1
);
9215 if (PyErr_Occurred()) SWIG_fail
;
9216 arg3
= (int) SWIG_AsInt(obj2
);
9217 if (PyErr_Occurred()) SWIG_fail
;
9219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9220 result
= (unsigned char)(arg1
)->GetBlue(arg2
,arg3
);
9222 wxPyEndAllowThreads(__tstate
);
9223 if (PyErr_Occurred()) SWIG_fail
;
9225 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
9232 static PyObject
*_wrap_Image_SetAlpha(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9233 PyObject
*resultobj
;
9234 wxImage
*arg1
= (wxImage
*) 0 ;
9237 unsigned char arg4
;
9238 PyObject
* obj0
= 0 ;
9239 PyObject
* obj1
= 0 ;
9240 PyObject
* obj2
= 0 ;
9241 PyObject
* obj3
= 0 ;
9243 (char *) "self",(char *) "x",(char *) "y",(char *) "alpha", NULL
9246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_SetAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9247 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9248 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9249 arg2
= (int) SWIG_AsInt(obj1
);
9250 if (PyErr_Occurred()) SWIG_fail
;
9251 arg3
= (int) SWIG_AsInt(obj2
);
9252 if (PyErr_Occurred()) SWIG_fail
;
9253 arg4
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
9254 if (PyErr_Occurred()) SWIG_fail
;
9256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9257 (arg1
)->SetAlpha(arg2
,arg3
,arg4
);
9259 wxPyEndAllowThreads(__tstate
);
9260 if (PyErr_Occurred()) SWIG_fail
;
9262 Py_INCREF(Py_None
); resultobj
= Py_None
;
9269 static PyObject
*_wrap_Image_GetAlpha(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9270 PyObject
*resultobj
;
9271 wxImage
*arg1
= (wxImage
*) 0 ;
9274 unsigned char result
;
9275 PyObject
* obj0
= 0 ;
9276 PyObject
* obj1
= 0 ;
9277 PyObject
* obj2
= 0 ;
9279 (char *) "self",(char *) "x",(char *) "y", NULL
9282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetAlpha",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9283 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9284 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9285 arg2
= (int) SWIG_AsInt(obj1
);
9286 if (PyErr_Occurred()) SWIG_fail
;
9287 arg3
= (int) SWIG_AsInt(obj2
);
9288 if (PyErr_Occurred()) SWIG_fail
;
9290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9291 result
= (unsigned char)(arg1
)->GetAlpha(arg2
,arg3
);
9293 wxPyEndAllowThreads(__tstate
);
9294 if (PyErr_Occurred()) SWIG_fail
;
9296 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
9303 static PyObject
*_wrap_Image_HasAlpha(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9304 PyObject
*resultobj
;
9305 wxImage
*arg1
= (wxImage
*) 0 ;
9307 PyObject
* obj0
= 0 ;
9309 (char *) "self", NULL
9312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HasAlpha",kwnames
,&obj0
)) goto fail
;
9313 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9314 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9317 result
= (bool)(arg1
)->HasAlpha();
9319 wxPyEndAllowThreads(__tstate
);
9320 if (PyErr_Occurred()) SWIG_fail
;
9323 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9331 static PyObject
*_wrap_Image_FindFirstUnusedColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9332 PyObject
*resultobj
;
9333 wxImage
*arg1
= (wxImage
*) 0 ;
9334 byte
*arg2
= (byte
*) 0 ;
9335 byte
*arg3
= (byte
*) 0 ;
9336 byte
*arg4
= (byte
*) 0 ;
9337 byte arg5
= (byte
) 0 ;
9338 byte arg6
= (byte
) 0 ;
9339 byte arg7
= (byte
) 0 ;
9344 PyObject
* obj0
= 0 ;
9345 PyObject
* obj1
= 0 ;
9346 PyObject
* obj2
= 0 ;
9347 PyObject
* obj3
= 0 ;
9349 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
9355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Image_FindFirstUnusedColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9356 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9357 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9359 arg5
= (byte
) SWIG_AsUnsignedChar(obj1
);
9360 if (PyErr_Occurred()) SWIG_fail
;
9363 arg6
= (byte
) SWIG_AsUnsignedChar(obj2
);
9364 if (PyErr_Occurred()) SWIG_fail
;
9367 arg7
= (byte
) SWIG_AsUnsignedChar(obj3
);
9368 if (PyErr_Occurred()) SWIG_fail
;
9371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9372 result
= (bool)((wxImage
const *)arg1
)->FindFirstUnusedColour(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
9374 wxPyEndAllowThreads(__tstate
);
9375 if (PyErr_Occurred()) SWIG_fail
;
9378 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9381 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
9382 resultobj
= t_output_helper(resultobj
,o
);
9385 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
9386 resultobj
= t_output_helper(resultobj
,o
);
9389 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
9390 resultobj
= t_output_helper(resultobj
,o
);
9398 static PyObject
*_wrap_Image_SetMaskFromImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9399 PyObject
*resultobj
;
9400 wxImage
*arg1
= (wxImage
*) 0 ;
9406 PyObject
* obj0
= 0 ;
9407 PyObject
* obj1
= 0 ;
9408 PyObject
* obj2
= 0 ;
9409 PyObject
* obj3
= 0 ;
9410 PyObject
* obj4
= 0 ;
9412 (char *) "self",(char *) "mask",(char *) "mr",(char *) "mg",(char *) "mb", NULL
9415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Image_SetMaskFromImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
9416 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9417 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9418 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImage
,
9419 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9422 PyErr_SetString(PyExc_TypeError
,"null reference");
9425 arg3
= (byte
) SWIG_AsUnsignedChar(obj2
);
9426 if (PyErr_Occurred()) SWIG_fail
;
9427 arg4
= (byte
) SWIG_AsUnsignedChar(obj3
);
9428 if (PyErr_Occurred()) SWIG_fail
;
9429 arg5
= (byte
) SWIG_AsUnsignedChar(obj4
);
9430 if (PyErr_Occurred()) SWIG_fail
;
9432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9433 result
= (bool)(arg1
)->SetMaskFromImage((wxImage
const &)*arg2
,arg3
,arg4
,arg5
);
9435 wxPyEndAllowThreads(__tstate
);
9436 if (PyErr_Occurred()) SWIG_fail
;
9439 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9447 static PyObject
*_wrap_Image_CanRead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9448 PyObject
*resultobj
;
9449 wxString
*arg1
= 0 ;
9451 bool temp1
= False
;
9452 PyObject
* obj0
= 0 ;
9454 (char *) "name", NULL
9457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_CanRead",kwnames
,&obj0
)) goto fail
;
9459 arg1
= wxString_in_helper(obj0
);
9460 if (arg1
== NULL
) SWIG_fail
;
9464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9465 result
= (bool)wxImage::CanRead((wxString
const &)*arg1
);
9467 wxPyEndAllowThreads(__tstate
);
9468 if (PyErr_Occurred()) SWIG_fail
;
9471 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9487 static PyObject
*_wrap_Image_GetImageCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9488 PyObject
*resultobj
;
9489 wxString
*arg1
= 0 ;
9490 long arg2
= (long) wxBITMAP_TYPE_ANY
;
9492 bool temp1
= False
;
9493 PyObject
* obj0
= 0 ;
9494 PyObject
* obj1
= 0 ;
9496 (char *) "name",(char *) "type", NULL
9499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_GetImageCount",kwnames
,&obj0
,&obj1
)) goto fail
;
9501 arg1
= wxString_in_helper(obj0
);
9502 if (arg1
== NULL
) SWIG_fail
;
9506 arg2
= (long) SWIG_AsLong(obj1
);
9507 if (PyErr_Occurred()) SWIG_fail
;
9510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9511 result
= (int)wxImage::GetImageCount((wxString
const &)*arg1
,arg2
);
9513 wxPyEndAllowThreads(__tstate
);
9514 if (PyErr_Occurred()) SWIG_fail
;
9516 resultobj
= SWIG_FromInt((int)result
);
9531 static PyObject
*_wrap_Image_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9532 PyObject
*resultobj
;
9533 wxImage
*arg1
= (wxImage
*) 0 ;
9534 wxString
*arg2
= 0 ;
9535 long arg3
= (long) wxBITMAP_TYPE_ANY
;
9536 int arg4
= (int) -1 ;
9538 bool temp2
= False
;
9539 PyObject
* obj0
= 0 ;
9540 PyObject
* obj1
= 0 ;
9541 PyObject
* obj2
= 0 ;
9542 PyObject
* obj3
= 0 ;
9544 (char *) "self",(char *) "name",(char *) "type",(char *) "index", NULL
9547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Image_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9548 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9549 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9551 arg2
= wxString_in_helper(obj1
);
9552 if (arg2
== NULL
) SWIG_fail
;
9556 arg3
= (long) SWIG_AsLong(obj2
);
9557 if (PyErr_Occurred()) SWIG_fail
;
9560 arg4
= (int) SWIG_AsInt(obj3
);
9561 if (PyErr_Occurred()) SWIG_fail
;
9564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9565 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
,arg4
);
9567 wxPyEndAllowThreads(__tstate
);
9568 if (PyErr_Occurred()) SWIG_fail
;
9571 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9587 static PyObject
*_wrap_Image_LoadMimeFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9588 PyObject
*resultobj
;
9589 wxImage
*arg1
= (wxImage
*) 0 ;
9590 wxString
*arg2
= 0 ;
9591 wxString
*arg3
= 0 ;
9592 int arg4
= (int) -1 ;
9594 bool temp2
= False
;
9595 bool temp3
= False
;
9596 PyObject
* obj0
= 0 ;
9597 PyObject
* obj1
= 0 ;
9598 PyObject
* obj2
= 0 ;
9599 PyObject
* obj3
= 0 ;
9601 (char *) "self",(char *) "name",(char *) "mimetype",(char *) "index", NULL
9604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_LoadMimeFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9605 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9608 arg2
= wxString_in_helper(obj1
);
9609 if (arg2
== NULL
) SWIG_fail
;
9613 arg3
= wxString_in_helper(obj2
);
9614 if (arg3
== NULL
) SWIG_fail
;
9618 arg4
= (int) SWIG_AsInt(obj3
);
9619 if (PyErr_Occurred()) SWIG_fail
;
9622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9623 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
9625 wxPyEndAllowThreads(__tstate
);
9626 if (PyErr_Occurred()) SWIG_fail
;
9629 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9653 static PyObject
*_wrap_Image_SaveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9654 PyObject
*resultobj
;
9655 wxImage
*arg1
= (wxImage
*) 0 ;
9656 wxString
*arg2
= 0 ;
9659 bool temp2
= False
;
9660 PyObject
* obj0
= 0 ;
9661 PyObject
* obj1
= 0 ;
9662 PyObject
* obj2
= 0 ;
9664 (char *) "self",(char *) "name",(char *) "type", NULL
9667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9668 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9669 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9671 arg2
= wxString_in_helper(obj1
);
9672 if (arg2
== NULL
) SWIG_fail
;
9675 arg3
= (int) SWIG_AsInt(obj2
);
9676 if (PyErr_Occurred()) SWIG_fail
;
9678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9679 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
);
9681 wxPyEndAllowThreads(__tstate
);
9682 if (PyErr_Occurred()) SWIG_fail
;
9685 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9701 static PyObject
*_wrap_Image_SaveMimeFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9702 PyObject
*resultobj
;
9703 wxImage
*arg1
= (wxImage
*) 0 ;
9704 wxString
*arg2
= 0 ;
9705 wxString
*arg3
= 0 ;
9707 bool temp2
= False
;
9708 bool temp3
= False
;
9709 PyObject
* obj0
= 0 ;
9710 PyObject
* obj1
= 0 ;
9711 PyObject
* obj2
= 0 ;
9713 (char *) "self",(char *) "name",(char *) "mimetype", NULL
9716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SaveMimeFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9717 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9718 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9720 arg2
= wxString_in_helper(obj1
);
9721 if (arg2
== NULL
) SWIG_fail
;
9725 arg3
= wxString_in_helper(obj2
);
9726 if (arg3
== NULL
) SWIG_fail
;
9730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9731 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,(wxString
const &)*arg3
);
9733 wxPyEndAllowThreads(__tstate
);
9734 if (PyErr_Occurred()) SWIG_fail
;
9737 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9761 static PyObject
*_wrap_Image_CanReadStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9762 PyObject
*resultobj
;
9763 wxInputStream
*arg1
= 0 ;
9765 wxPyInputStream
*temp1
;
9767 PyObject
* obj0
= 0 ;
9769 (char *) "stream", NULL
9772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_CanReadStream",kwnames
,&obj0
)) goto fail
;
9774 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
9775 arg1
= temp1
->m_wxis
;
9778 PyErr_Clear(); // clear the failure of the wxPyConvert above
9779 arg1
= wxPyCBInputStream_create(obj0
, False
);
9781 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
9788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9789 result
= (bool)wxImage::CanRead(*arg1
);
9791 wxPyEndAllowThreads(__tstate
);
9792 if (PyErr_Occurred()) SWIG_fail
;
9795 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9811 static PyObject
*_wrap_Image_LoadStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9812 PyObject
*resultobj
;
9813 wxImage
*arg1
= (wxImage
*) 0 ;
9814 wxInputStream
*arg2
= 0 ;
9815 long arg3
= (long) wxBITMAP_TYPE_ANY
;
9816 int arg4
= (int) -1 ;
9818 wxPyInputStream
*temp2
;
9820 PyObject
* obj0
= 0 ;
9821 PyObject
* obj1
= 0 ;
9822 PyObject
* obj2
= 0 ;
9823 PyObject
* obj3
= 0 ;
9825 (char *) "self",(char *) "stream",(char *) "type",(char *) "index", NULL
9828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Image_LoadStream",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9829 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9830 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9832 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
9833 arg2
= temp2
->m_wxis
;
9836 PyErr_Clear(); // clear the failure of the wxPyConvert above
9837 arg2
= wxPyCBInputStream_create(obj1
, False
);
9839 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
9846 arg3
= (long) SWIG_AsLong(obj2
);
9847 if (PyErr_Occurred()) SWIG_fail
;
9850 arg4
= (int) SWIG_AsInt(obj3
);
9851 if (PyErr_Occurred()) SWIG_fail
;
9854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9855 result
= (bool)(arg1
)->LoadFile(*arg2
,arg3
,arg4
);
9857 wxPyEndAllowThreads(__tstate
);
9858 if (PyErr_Occurred()) SWIG_fail
;
9861 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9877 static PyObject
*_wrap_Image_LoadMimeStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9878 PyObject
*resultobj
;
9879 wxImage
*arg1
= (wxImage
*) 0 ;
9880 wxInputStream
*arg2
= 0 ;
9881 wxString
*arg3
= 0 ;
9882 int arg4
= (int) -1 ;
9884 wxPyInputStream
*temp2
;
9886 bool temp3
= False
;
9887 PyObject
* obj0
= 0 ;
9888 PyObject
* obj1
= 0 ;
9889 PyObject
* obj2
= 0 ;
9890 PyObject
* obj3
= 0 ;
9892 (char *) "self",(char *) "stream",(char *) "mimetype",(char *) "index", NULL
9895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_LoadMimeStream",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
= wxString_in_helper(obj2
);
9914 if (arg3
== NULL
) SWIG_fail
;
9918 arg4
= (int) SWIG_AsInt(obj3
);
9919 if (PyErr_Occurred()) SWIG_fail
;
9922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9923 result
= (bool)(arg1
)->LoadFile(*arg2
,(wxString
const &)*arg3
,arg4
);
9925 wxPyEndAllowThreads(__tstate
);
9926 if (PyErr_Occurred()) SWIG_fail
;
9929 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9953 static PyObject
*_wrap_Image_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9954 PyObject
*resultobj
;
9955 wxImage
*arg1
= (wxImage
*) 0 ;
9957 PyObject
* obj0
= 0 ;
9959 (char *) "self", NULL
9962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Ok",kwnames
,&obj0
)) goto fail
;
9963 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9964 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9967 result
= (bool)(arg1
)->Ok();
9969 wxPyEndAllowThreads(__tstate
);
9970 if (PyErr_Occurred()) SWIG_fail
;
9973 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9981 static PyObject
*_wrap_Image_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9982 PyObject
*resultobj
;
9983 wxImage
*arg1
= (wxImage
*) 0 ;
9985 PyObject
* obj0
= 0 ;
9987 (char *) "self", NULL
9990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetWidth",kwnames
,&obj0
)) goto fail
;
9991 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9992 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9995 result
= (int)(arg1
)->GetWidth();
9997 wxPyEndAllowThreads(__tstate
);
9998 if (PyErr_Occurred()) SWIG_fail
;
10000 resultobj
= SWIG_FromInt((int)result
);
10007 static PyObject
*_wrap_Image_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10008 PyObject
*resultobj
;
10009 wxImage
*arg1
= (wxImage
*) 0 ;
10011 PyObject
* obj0
= 0 ;
10012 char *kwnames
[] = {
10013 (char *) "self", NULL
10016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetHeight",kwnames
,&obj0
)) goto fail
;
10017 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10018 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10021 result
= (int)(arg1
)->GetHeight();
10023 wxPyEndAllowThreads(__tstate
);
10024 if (PyErr_Occurred()) SWIG_fail
;
10026 resultobj
= SWIG_FromInt((int)result
);
10033 static PyObject
*_wrap_Image_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10034 PyObject
*resultobj
;
10035 wxImage
*arg1
= (wxImage
*) 0 ;
10037 PyObject
* obj0
= 0 ;
10038 char *kwnames
[] = {
10039 (char *) "self", NULL
10042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetSize",kwnames
,&obj0
)) goto fail
;
10043 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10044 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10047 result
= wxImage_GetSize(arg1
);
10049 wxPyEndAllowThreads(__tstate
);
10050 if (PyErr_Occurred()) SWIG_fail
;
10053 wxSize
* resultptr
;
10054 resultptr
= new wxSize((wxSize
&) result
);
10055 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
10063 static PyObject
*_wrap_Image_GetSubImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10064 PyObject
*resultobj
;
10065 wxImage
*arg1
= (wxImage
*) 0 ;
10067 SwigValueWrapper
< wxImage
> result
;
10069 PyObject
* obj0
= 0 ;
10070 PyObject
* obj1
= 0 ;
10071 char *kwnames
[] = {
10072 (char *) "self",(char *) "rect", NULL
10075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetSubImage",kwnames
,&obj0
,&obj1
)) goto fail
;
10076 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10077 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10080 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10084 result
= (arg1
)->GetSubImage((wxRect
const &)*arg2
);
10086 wxPyEndAllowThreads(__tstate
);
10087 if (PyErr_Occurred()) SWIG_fail
;
10090 wxImage
* resultptr
;
10091 resultptr
= new wxImage((wxImage
&) result
);
10092 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10100 static PyObject
*_wrap_Image_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10101 PyObject
*resultobj
;
10102 wxImage
*arg1
= (wxImage
*) 0 ;
10103 SwigValueWrapper
< wxImage
> result
;
10104 PyObject
* obj0
= 0 ;
10105 char *kwnames
[] = {
10106 (char *) "self", NULL
10109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Copy",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
= (arg1
)->Copy();
10116 wxPyEndAllowThreads(__tstate
);
10117 if (PyErr_Occurred()) SWIG_fail
;
10120 wxImage
* resultptr
;
10121 resultptr
= new wxImage((wxImage
&) result
);
10122 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10130 static PyObject
*_wrap_Image_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10131 PyObject
*resultobj
;
10132 wxImage
*arg1
= (wxImage
*) 0 ;
10133 wxImage
*arg2
= 0 ;
10136 PyObject
* obj0
= 0 ;
10137 PyObject
* obj1
= 0 ;
10138 PyObject
* obj2
= 0 ;
10139 PyObject
* obj3
= 0 ;
10140 char *kwnames
[] = {
10141 (char *) "self",(char *) "image",(char *) "x",(char *) "y", NULL
10144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_Paste",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10145 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10146 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10147 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImage
,
10148 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10150 if (arg2
== NULL
) {
10151 PyErr_SetString(PyExc_TypeError
,"null reference");
10154 arg3
= (int) SWIG_AsInt(obj2
);
10155 if (PyErr_Occurred()) SWIG_fail
;
10156 arg4
= (int) SWIG_AsInt(obj3
);
10157 if (PyErr_Occurred()) SWIG_fail
;
10159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10160 (arg1
)->Paste((wxImage
const &)*arg2
,arg3
,arg4
);
10162 wxPyEndAllowThreads(__tstate
);
10163 if (PyErr_Occurred()) SWIG_fail
;
10165 Py_INCREF(Py_None
); resultobj
= Py_None
;
10172 static PyObject
*_wrap_Image_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10173 PyObject
*resultobj
;
10174 wxImage
*arg1
= (wxImage
*) 0 ;
10176 PyObject
* obj0
= 0 ;
10177 char *kwnames
[] = {
10178 (char *) "self", NULL
10181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetData",kwnames
,&obj0
)) goto fail
;
10182 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10183 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10186 result
= (PyObject
*)wxImage_GetData(arg1
);
10188 wxPyEndAllowThreads(__tstate
);
10189 if (PyErr_Occurred()) SWIG_fail
;
10191 resultobj
= result
;
10198 static PyObject
*_wrap_Image_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10199 PyObject
*resultobj
;
10200 wxImage
*arg1
= (wxImage
*) 0 ;
10201 PyObject
*arg2
= (PyObject
*) 0 ;
10202 PyObject
* obj0
= 0 ;
10203 PyObject
* obj1
= 0 ;
10204 char *kwnames
[] = {
10205 (char *) "self",(char *) "data", NULL
10208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
10209 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10210 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10214 wxImage_SetData(arg1
,arg2
);
10216 wxPyEndAllowThreads(__tstate
);
10217 if (PyErr_Occurred()) SWIG_fail
;
10219 Py_INCREF(Py_None
); resultobj
= Py_None
;
10226 static PyObject
*_wrap_Image_GetDataBuffer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10227 PyObject
*resultobj
;
10228 wxImage
*arg1
= (wxImage
*) 0 ;
10230 PyObject
* obj0
= 0 ;
10231 char *kwnames
[] = {
10232 (char *) "self", NULL
10235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetDataBuffer",kwnames
,&obj0
)) goto fail
;
10236 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10237 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10240 result
= (PyObject
*)wxImage_GetDataBuffer(arg1
);
10242 wxPyEndAllowThreads(__tstate
);
10243 if (PyErr_Occurred()) SWIG_fail
;
10245 resultobj
= result
;
10252 static PyObject
*_wrap_Image_SetDataBuffer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10253 PyObject
*resultobj
;
10254 wxImage
*arg1
= (wxImage
*) 0 ;
10255 PyObject
*arg2
= (PyObject
*) 0 ;
10256 PyObject
* obj0
= 0 ;
10257 PyObject
* obj1
= 0 ;
10258 char *kwnames
[] = {
10259 (char *) "self",(char *) "data", NULL
10262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetDataBuffer",kwnames
,&obj0
,&obj1
)) goto fail
;
10263 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10264 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10268 wxImage_SetDataBuffer(arg1
,arg2
);
10270 wxPyEndAllowThreads(__tstate
);
10271 if (PyErr_Occurred()) SWIG_fail
;
10273 Py_INCREF(Py_None
); resultobj
= Py_None
;
10280 static PyObject
*_wrap_Image_GetAlphaData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10281 PyObject
*resultobj
;
10282 wxImage
*arg1
= (wxImage
*) 0 ;
10284 PyObject
* obj0
= 0 ;
10285 char *kwnames
[] = {
10286 (char *) "self", NULL
10289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetAlphaData",kwnames
,&obj0
)) goto fail
;
10290 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10291 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10294 result
= (PyObject
*)wxImage_GetAlphaData(arg1
);
10296 wxPyEndAllowThreads(__tstate
);
10297 if (PyErr_Occurred()) SWIG_fail
;
10299 resultobj
= result
;
10306 static PyObject
*_wrap_Image_SetAlphaData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10307 PyObject
*resultobj
;
10308 wxImage
*arg1
= (wxImage
*) 0 ;
10309 PyObject
*arg2
= (PyObject
*) 0 ;
10310 PyObject
* obj0
= 0 ;
10311 PyObject
* obj1
= 0 ;
10312 char *kwnames
[] = {
10313 (char *) "self",(char *) "data", NULL
10316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetAlphaData",kwnames
,&obj0
,&obj1
)) goto fail
;
10317 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10318 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10322 wxImage_SetAlphaData(arg1
,arg2
);
10324 wxPyEndAllowThreads(__tstate
);
10325 if (PyErr_Occurred()) SWIG_fail
;
10327 Py_INCREF(Py_None
); resultobj
= Py_None
;
10334 static PyObject
*_wrap_Image_GetAlphaBuffer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10335 PyObject
*resultobj
;
10336 wxImage
*arg1
= (wxImage
*) 0 ;
10338 PyObject
* obj0
= 0 ;
10339 char *kwnames
[] = {
10340 (char *) "self", NULL
10343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetAlphaBuffer",kwnames
,&obj0
)) goto fail
;
10344 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10345 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10348 result
= (PyObject
*)wxImage_GetAlphaBuffer(arg1
);
10350 wxPyEndAllowThreads(__tstate
);
10351 if (PyErr_Occurred()) SWIG_fail
;
10353 resultobj
= result
;
10360 static PyObject
*_wrap_Image_SetAlphaBuffer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10361 PyObject
*resultobj
;
10362 wxImage
*arg1
= (wxImage
*) 0 ;
10363 PyObject
*arg2
= (PyObject
*) 0 ;
10364 PyObject
* obj0
= 0 ;
10365 PyObject
* obj1
= 0 ;
10366 char *kwnames
[] = {
10367 (char *) "self",(char *) "data", NULL
10370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetAlphaBuffer",kwnames
,&obj0
,&obj1
)) goto fail
;
10371 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10372 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10376 wxImage_SetAlphaBuffer(arg1
,arg2
);
10378 wxPyEndAllowThreads(__tstate
);
10379 if (PyErr_Occurred()) SWIG_fail
;
10381 Py_INCREF(Py_None
); resultobj
= Py_None
;
10388 static PyObject
*_wrap_Image_SetMaskColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10389 PyObject
*resultobj
;
10390 wxImage
*arg1
= (wxImage
*) 0 ;
10391 unsigned char arg2
;
10392 unsigned char arg3
;
10393 unsigned char arg4
;
10394 PyObject
* obj0
= 0 ;
10395 PyObject
* obj1
= 0 ;
10396 PyObject
* obj2
= 0 ;
10397 PyObject
* obj3
= 0 ;
10398 char *kwnames
[] = {
10399 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
10402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_SetMaskColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10403 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10404 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10405 arg2
= (unsigned char) SWIG_AsUnsignedChar(obj1
);
10406 if (PyErr_Occurred()) SWIG_fail
;
10407 arg3
= (unsigned char) SWIG_AsUnsignedChar(obj2
);
10408 if (PyErr_Occurred()) SWIG_fail
;
10409 arg4
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
10410 if (PyErr_Occurred()) SWIG_fail
;
10412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10413 (arg1
)->SetMaskColour(arg2
,arg3
,arg4
);
10415 wxPyEndAllowThreads(__tstate
);
10416 if (PyErr_Occurred()) SWIG_fail
;
10418 Py_INCREF(Py_None
); resultobj
= Py_None
;
10425 static PyObject
*_wrap_Image_GetMaskRed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10426 PyObject
*resultobj
;
10427 wxImage
*arg1
= (wxImage
*) 0 ;
10428 unsigned char result
;
10429 PyObject
* obj0
= 0 ;
10430 char *kwnames
[] = {
10431 (char *) "self", NULL
10434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskRed",kwnames
,&obj0
)) goto fail
;
10435 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10436 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10439 result
= (unsigned char)(arg1
)->GetMaskRed();
10441 wxPyEndAllowThreads(__tstate
);
10442 if (PyErr_Occurred()) SWIG_fail
;
10444 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
10451 static PyObject
*_wrap_Image_GetMaskGreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10452 PyObject
*resultobj
;
10453 wxImage
*arg1
= (wxImage
*) 0 ;
10454 unsigned char result
;
10455 PyObject
* obj0
= 0 ;
10456 char *kwnames
[] = {
10457 (char *) "self", NULL
10460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskGreen",kwnames
,&obj0
)) goto fail
;
10461 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10462 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10465 result
= (unsigned char)(arg1
)->GetMaskGreen();
10467 wxPyEndAllowThreads(__tstate
);
10468 if (PyErr_Occurred()) SWIG_fail
;
10470 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
10477 static PyObject
*_wrap_Image_GetMaskBlue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10478 PyObject
*resultobj
;
10479 wxImage
*arg1
= (wxImage
*) 0 ;
10480 unsigned char result
;
10481 PyObject
* obj0
= 0 ;
10482 char *kwnames
[] = {
10483 (char *) "self", NULL
10486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskBlue",kwnames
,&obj0
)) goto fail
;
10487 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10488 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10491 result
= (unsigned char)(arg1
)->GetMaskBlue();
10493 wxPyEndAllowThreads(__tstate
);
10494 if (PyErr_Occurred()) SWIG_fail
;
10496 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
10503 static PyObject
*_wrap_Image_SetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10504 PyObject
*resultobj
;
10505 wxImage
*arg1
= (wxImage
*) 0 ;
10506 bool arg2
= (bool) True
;
10507 PyObject
* obj0
= 0 ;
10508 PyObject
* obj1
= 0 ;
10509 char *kwnames
[] = {
10510 (char *) "self",(char *) "mask", NULL
10513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
10514 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10515 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10517 arg2
= (bool) SWIG_AsBool(obj1
);
10518 if (PyErr_Occurred()) SWIG_fail
;
10521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10522 (arg1
)->SetMask(arg2
);
10524 wxPyEndAllowThreads(__tstate
);
10525 if (PyErr_Occurred()) SWIG_fail
;
10527 Py_INCREF(Py_None
); resultobj
= Py_None
;
10534 static PyObject
*_wrap_Image_HasMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10535 PyObject
*resultobj
;
10536 wxImage
*arg1
= (wxImage
*) 0 ;
10538 PyObject
* obj0
= 0 ;
10539 char *kwnames
[] = {
10540 (char *) "self", NULL
10543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HasMask",kwnames
,&obj0
)) goto fail
;
10544 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10545 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10548 result
= (bool)(arg1
)->HasMask();
10550 wxPyEndAllowThreads(__tstate
);
10551 if (PyErr_Occurred()) SWIG_fail
;
10554 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10562 static PyObject
*_wrap_Image_Rotate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10563 PyObject
*resultobj
;
10564 wxImage
*arg1
= (wxImage
*) 0 ;
10566 wxPoint
*arg3
= 0 ;
10567 bool arg4
= (bool) True
;
10568 wxPoint
*arg5
= (wxPoint
*) NULL
;
10569 SwigValueWrapper
< wxImage
> result
;
10571 PyObject
* obj0
= 0 ;
10572 PyObject
* obj1
= 0 ;
10573 PyObject
* obj2
= 0 ;
10574 PyObject
* obj3
= 0 ;
10575 PyObject
* obj4
= 0 ;
10576 char *kwnames
[] = {
10577 (char *) "self",(char *) "angle",(char *) "centre_of_rotation",(char *) "interpolating",(char *) "offset_after_rotation", NULL
10580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Image_Rotate",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
10581 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10582 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10583 arg2
= (double) SWIG_AsDouble(obj1
);
10584 if (PyErr_Occurred()) SWIG_fail
;
10587 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10590 arg4
= (bool) SWIG_AsBool(obj3
);
10591 if (PyErr_Occurred()) SWIG_fail
;
10594 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxPoint
,
10595 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10599 result
= ((wxImage
const *)arg1
)->Rotate(arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
10601 wxPyEndAllowThreads(__tstate
);
10602 if (PyErr_Occurred()) SWIG_fail
;
10605 wxImage
* resultptr
;
10606 resultptr
= new wxImage((wxImage
&) result
);
10607 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10615 static PyObject
*_wrap_Image_Rotate90(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10616 PyObject
*resultobj
;
10617 wxImage
*arg1
= (wxImage
*) 0 ;
10618 bool arg2
= (bool) True
;
10619 SwigValueWrapper
< wxImage
> result
;
10620 PyObject
* obj0
= 0 ;
10621 PyObject
* obj1
= 0 ;
10622 char *kwnames
[] = {
10623 (char *) "self",(char *) "clockwise", NULL
10626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_Rotate90",kwnames
,&obj0
,&obj1
)) goto fail
;
10627 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10628 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10630 arg2
= (bool) SWIG_AsBool(obj1
);
10631 if (PyErr_Occurred()) SWIG_fail
;
10634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10635 result
= (arg1
)->Rotate90(arg2
);
10637 wxPyEndAllowThreads(__tstate
);
10638 if (PyErr_Occurred()) SWIG_fail
;
10641 wxImage
* resultptr
;
10642 resultptr
= new wxImage((wxImage
&) result
);
10643 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10651 static PyObject
*_wrap_Image_Mirror(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10652 PyObject
*resultobj
;
10653 wxImage
*arg1
= (wxImage
*) 0 ;
10654 bool arg2
= (bool) True
;
10655 SwigValueWrapper
< wxImage
> result
;
10656 PyObject
* obj0
= 0 ;
10657 PyObject
* obj1
= 0 ;
10658 char *kwnames
[] = {
10659 (char *) "self",(char *) "horizontally", NULL
10662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_Mirror",kwnames
,&obj0
,&obj1
)) goto fail
;
10663 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10664 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10666 arg2
= (bool) SWIG_AsBool(obj1
);
10667 if (PyErr_Occurred()) SWIG_fail
;
10670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10671 result
= (arg1
)->Mirror(arg2
);
10673 wxPyEndAllowThreads(__tstate
);
10674 if (PyErr_Occurred()) SWIG_fail
;
10677 wxImage
* resultptr
;
10678 resultptr
= new wxImage((wxImage
&) result
);
10679 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10687 static PyObject
*_wrap_Image_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10688 PyObject
*resultobj
;
10689 wxImage
*arg1
= (wxImage
*) 0 ;
10690 unsigned char arg2
;
10691 unsigned char arg3
;
10692 unsigned char arg4
;
10693 unsigned char arg5
;
10694 unsigned char arg6
;
10695 unsigned char arg7
;
10696 PyObject
* obj0
= 0 ;
10697 PyObject
* obj1
= 0 ;
10698 PyObject
* obj2
= 0 ;
10699 PyObject
* obj3
= 0 ;
10700 PyObject
* obj4
= 0 ;
10701 PyObject
* obj5
= 0 ;
10702 PyObject
* obj6
= 0 ;
10703 char *kwnames
[] = {
10704 (char *) "self",(char *) "r1",(char *) "g1",(char *) "b1",(char *) "r2",(char *) "g2",(char *) "b2", NULL
10707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:Image_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10708 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10709 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10710 arg2
= (unsigned char) SWIG_AsUnsignedChar(obj1
);
10711 if (PyErr_Occurred()) SWIG_fail
;
10712 arg3
= (unsigned char) SWIG_AsUnsignedChar(obj2
);
10713 if (PyErr_Occurred()) SWIG_fail
;
10714 arg4
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
10715 if (PyErr_Occurred()) SWIG_fail
;
10716 arg5
= (unsigned char) SWIG_AsUnsignedChar(obj4
);
10717 if (PyErr_Occurred()) SWIG_fail
;
10718 arg6
= (unsigned char) SWIG_AsUnsignedChar(obj5
);
10719 if (PyErr_Occurred()) SWIG_fail
;
10720 arg7
= (unsigned char) SWIG_AsUnsignedChar(obj6
);
10721 if (PyErr_Occurred()) SWIG_fail
;
10723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10724 (arg1
)->Replace(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
10726 wxPyEndAllowThreads(__tstate
);
10727 if (PyErr_Occurred()) SWIG_fail
;
10729 Py_INCREF(Py_None
); resultobj
= Py_None
;
10736 static PyObject
*_wrap_Image_ConvertToMono(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10737 PyObject
*resultobj
;
10738 wxImage
*arg1
= (wxImage
*) 0 ;
10739 unsigned char arg2
;
10740 unsigned char arg3
;
10741 unsigned char arg4
;
10742 SwigValueWrapper
< wxImage
> result
;
10743 PyObject
* obj0
= 0 ;
10744 PyObject
* obj1
= 0 ;
10745 PyObject
* obj2
= 0 ;
10746 PyObject
* obj3
= 0 ;
10747 char *kwnames
[] = {
10748 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
10751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertToMono",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10752 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10753 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10754 arg2
= (unsigned char) SWIG_AsUnsignedChar(obj1
);
10755 if (PyErr_Occurred()) SWIG_fail
;
10756 arg3
= (unsigned char) SWIG_AsUnsignedChar(obj2
);
10757 if (PyErr_Occurred()) SWIG_fail
;
10758 arg4
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
10759 if (PyErr_Occurred()) SWIG_fail
;
10761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10762 result
= ((wxImage
const *)arg1
)->ConvertToMono(arg2
,arg3
,arg4
);
10764 wxPyEndAllowThreads(__tstate
);
10765 if (PyErr_Occurred()) SWIG_fail
;
10768 wxImage
* resultptr
;
10769 resultptr
= new wxImage((wxImage
&) result
);
10770 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10778 static PyObject
*_wrap_Image_SetOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10779 PyObject
*resultobj
;
10780 wxImage
*arg1
= (wxImage
*) 0 ;
10781 wxString
*arg2
= 0 ;
10782 wxString
*arg3
= 0 ;
10783 bool temp2
= False
;
10784 bool temp3
= False
;
10785 PyObject
* obj0
= 0 ;
10786 PyObject
* obj1
= 0 ;
10787 PyObject
* obj2
= 0 ;
10788 char *kwnames
[] = {
10789 (char *) "self",(char *) "name",(char *) "value", NULL
10792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SetOption",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10793 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10794 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10796 arg2
= wxString_in_helper(obj1
);
10797 if (arg2
== NULL
) SWIG_fail
;
10801 arg3
= wxString_in_helper(obj2
);
10802 if (arg3
== NULL
) SWIG_fail
;
10806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10807 (arg1
)->SetOption((wxString
const &)*arg2
,(wxString
const &)*arg3
);
10809 wxPyEndAllowThreads(__tstate
);
10810 if (PyErr_Occurred()) SWIG_fail
;
10812 Py_INCREF(Py_None
); resultobj
= Py_None
;
10835 static PyObject
*_wrap_Image_SetOptionInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10836 PyObject
*resultobj
;
10837 wxImage
*arg1
= (wxImage
*) 0 ;
10838 wxString
*arg2
= 0 ;
10840 bool temp2
= False
;
10841 PyObject
* obj0
= 0 ;
10842 PyObject
* obj1
= 0 ;
10843 PyObject
* obj2
= 0 ;
10844 char *kwnames
[] = {
10845 (char *) "self",(char *) "name",(char *) "value", NULL
10848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SetOptionInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10849 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10850 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10852 arg2
= wxString_in_helper(obj1
);
10853 if (arg2
== NULL
) SWIG_fail
;
10856 arg3
= (int) SWIG_AsInt(obj2
);
10857 if (PyErr_Occurred()) SWIG_fail
;
10859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10860 (arg1
)->SetOption((wxString
const &)*arg2
,arg3
);
10862 wxPyEndAllowThreads(__tstate
);
10863 if (PyErr_Occurred()) SWIG_fail
;
10865 Py_INCREF(Py_None
); resultobj
= Py_None
;
10880 static PyObject
*_wrap_Image_GetOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10881 PyObject
*resultobj
;
10882 wxImage
*arg1
= (wxImage
*) 0 ;
10883 wxString
*arg2
= 0 ;
10885 bool temp2
= False
;
10886 PyObject
* obj0
= 0 ;
10887 PyObject
* obj1
= 0 ;
10888 char *kwnames
[] = {
10889 (char *) "self",(char *) "name", NULL
10892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetOption",kwnames
,&obj0
,&obj1
)) goto fail
;
10893 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10894 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10896 arg2
= wxString_in_helper(obj1
);
10897 if (arg2
== NULL
) SWIG_fail
;
10901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10902 result
= ((wxImage
const *)arg1
)->GetOption((wxString
const &)*arg2
);
10904 wxPyEndAllowThreads(__tstate
);
10905 if (PyErr_Occurred()) SWIG_fail
;
10909 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10911 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10928 static PyObject
*_wrap_Image_GetOptionInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10929 PyObject
*resultobj
;
10930 wxImage
*arg1
= (wxImage
*) 0 ;
10931 wxString
*arg2
= 0 ;
10933 bool temp2
= False
;
10934 PyObject
* obj0
= 0 ;
10935 PyObject
* obj1
= 0 ;
10936 char *kwnames
[] = {
10937 (char *) "self",(char *) "name", NULL
10940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetOptionInt",kwnames
,&obj0
,&obj1
)) goto fail
;
10941 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10942 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10944 arg2
= wxString_in_helper(obj1
);
10945 if (arg2
== NULL
) SWIG_fail
;
10949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10950 result
= (int)((wxImage
const *)arg1
)->GetOptionInt((wxString
const &)*arg2
);
10952 wxPyEndAllowThreads(__tstate
);
10953 if (PyErr_Occurred()) SWIG_fail
;
10955 resultobj
= SWIG_FromInt((int)result
);
10970 static PyObject
*_wrap_Image_HasOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10971 PyObject
*resultobj
;
10972 wxImage
*arg1
= (wxImage
*) 0 ;
10973 wxString
*arg2
= 0 ;
10975 bool temp2
= False
;
10976 PyObject
* obj0
= 0 ;
10977 PyObject
* obj1
= 0 ;
10978 char *kwnames
[] = {
10979 (char *) "self",(char *) "name", NULL
10982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_HasOption",kwnames
,&obj0
,&obj1
)) goto fail
;
10983 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10984 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10986 arg2
= wxString_in_helper(obj1
);
10987 if (arg2
== NULL
) SWIG_fail
;
10991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10992 result
= (bool)((wxImage
const *)arg1
)->HasOption((wxString
const &)*arg2
);
10994 wxPyEndAllowThreads(__tstate
);
10995 if (PyErr_Occurred()) SWIG_fail
;
10998 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11014 static PyObject
*_wrap_Image_CountColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11015 PyObject
*resultobj
;
11016 wxImage
*arg1
= (wxImage
*) 0 ;
11017 unsigned long arg2
= (unsigned long) (unsigned long) -1 ;
11018 unsigned long result
;
11019 PyObject
* obj0
= 0 ;
11020 PyObject
* obj1
= 0 ;
11021 char *kwnames
[] = {
11022 (char *) "self",(char *) "stopafter", NULL
11025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_CountColours",kwnames
,&obj0
,&obj1
)) goto fail
;
11026 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11027 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11029 arg2
= (unsigned long) SWIG_AsUnsignedLong(obj1
);
11030 if (PyErr_Occurred()) SWIG_fail
;
11033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11034 result
= (unsigned long)(arg1
)->CountColours(arg2
);
11036 wxPyEndAllowThreads(__tstate
);
11037 if (PyErr_Occurred()) SWIG_fail
;
11039 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
11046 static PyObject
*_wrap_Image_ComputeHistogram(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11047 PyObject
*resultobj
;
11048 wxImage
*arg1
= (wxImage
*) 0 ;
11049 wxImageHistogram
*arg2
= 0 ;
11050 unsigned long result
;
11051 PyObject
* obj0
= 0 ;
11052 PyObject
* obj1
= 0 ;
11053 char *kwnames
[] = {
11054 (char *) "self",(char *) "h", NULL
11057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_ComputeHistogram",kwnames
,&obj0
,&obj1
)) goto fail
;
11058 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11059 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11060 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageHistogram
,
11061 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11063 if (arg2
== NULL
) {
11064 PyErr_SetString(PyExc_TypeError
,"null reference");
11068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11069 result
= (unsigned long)(arg1
)->ComputeHistogram(*arg2
);
11071 wxPyEndAllowThreads(__tstate
);
11072 if (PyErr_Occurred()) SWIG_fail
;
11074 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
11081 static PyObject
*_wrap_Image_AddHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11082 PyObject
*resultobj
;
11083 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
11084 PyObject
* obj0
= 0 ;
11085 char *kwnames
[] = {
11086 (char *) "handler", NULL
11089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_AddHandler",kwnames
,&obj0
)) goto fail
;
11090 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
11091 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11094 wxImage::AddHandler(arg1
);
11096 wxPyEndAllowThreads(__tstate
);
11097 if (PyErr_Occurred()) SWIG_fail
;
11099 Py_INCREF(Py_None
); resultobj
= Py_None
;
11106 static PyObject
*_wrap_Image_InsertHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11107 PyObject
*resultobj
;
11108 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
11109 PyObject
* obj0
= 0 ;
11110 char *kwnames
[] = {
11111 (char *) "handler", NULL
11114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_InsertHandler",kwnames
,&obj0
)) goto fail
;
11115 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
11116 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11119 wxImage::InsertHandler(arg1
);
11121 wxPyEndAllowThreads(__tstate
);
11122 if (PyErr_Occurred()) SWIG_fail
;
11124 Py_INCREF(Py_None
); resultobj
= Py_None
;
11131 static PyObject
*_wrap_Image_RemoveHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11132 PyObject
*resultobj
;
11133 wxString
*arg1
= 0 ;
11135 bool temp1
= False
;
11136 PyObject
* obj0
= 0 ;
11137 char *kwnames
[] = {
11138 (char *) "name", NULL
11141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_RemoveHandler",kwnames
,&obj0
)) goto fail
;
11143 arg1
= wxString_in_helper(obj0
);
11144 if (arg1
== NULL
) SWIG_fail
;
11148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11149 result
= (bool)wxImage::RemoveHandler((wxString
const &)*arg1
);
11151 wxPyEndAllowThreads(__tstate
);
11152 if (PyErr_Occurred()) SWIG_fail
;
11155 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11171 static PyObject
*_wrap_Image_GetImageExtWildcard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11172 PyObject
*resultobj
;
11174 char *kwnames
[] = {
11178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Image_GetImageExtWildcard",kwnames
)) goto fail
;
11180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11181 result
= wxImage::GetImageExtWildcard();
11183 wxPyEndAllowThreads(__tstate
);
11184 if (PyErr_Occurred()) SWIG_fail
;
11188 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11190 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11199 static PyObject
*_wrap_Image_ConvertToBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11200 PyObject
*resultobj
;
11201 wxImage
*arg1
= (wxImage
*) 0 ;
11203 PyObject
* obj0
= 0 ;
11204 char *kwnames
[] = {
11205 (char *) "self", NULL
11208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_ConvertToBitmap",kwnames
,&obj0
)) goto fail
;
11209 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11210 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11213 result
= wxImage_ConvertToBitmap(arg1
);
11215 wxPyEndAllowThreads(__tstate
);
11216 if (PyErr_Occurred()) SWIG_fail
;
11219 wxBitmap
* resultptr
;
11220 resultptr
= new wxBitmap((wxBitmap
&) result
);
11221 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
11229 static PyObject
*_wrap_Image_ConvertToMonoBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11230 PyObject
*resultobj
;
11231 wxImage
*arg1
= (wxImage
*) 0 ;
11232 unsigned char arg2
;
11233 unsigned char arg3
;
11234 unsigned char arg4
;
11236 PyObject
* obj0
= 0 ;
11237 PyObject
* obj1
= 0 ;
11238 PyObject
* obj2
= 0 ;
11239 PyObject
* obj3
= 0 ;
11240 char *kwnames
[] = {
11241 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
11244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertToMonoBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11245 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11246 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11247 arg2
= (unsigned char) SWIG_AsUnsignedChar(obj1
);
11248 if (PyErr_Occurred()) SWIG_fail
;
11249 arg3
= (unsigned char) SWIG_AsUnsignedChar(obj2
);
11250 if (PyErr_Occurred()) SWIG_fail
;
11251 arg4
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
11252 if (PyErr_Occurred()) SWIG_fail
;
11254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11255 result
= wxImage_ConvertToMonoBitmap(arg1
,arg2
,arg3
,arg4
);
11257 wxPyEndAllowThreads(__tstate
);
11258 if (PyErr_Occurred()) SWIG_fail
;
11261 wxBitmap
* resultptr
;
11262 resultptr
= new wxBitmap((wxBitmap
&) result
);
11263 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
11271 static PyObject
* Image_swigregister(PyObject
*self
, PyObject
*args
) {
11273 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11274 SWIG_TypeClientData(SWIGTYPE_p_wxImage
, obj
);
11276 return Py_BuildValue((char *)"");
11278 static PyObject
*_wrap_InitAllImageHandlers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11279 PyObject
*resultobj
;
11280 char *kwnames
[] = {
11284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":InitAllImageHandlers",kwnames
)) goto fail
;
11286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11287 wxInitAllImageHandlers();
11289 wxPyEndAllowThreads(__tstate
);
11290 if (PyErr_Occurred()) SWIG_fail
;
11292 Py_INCREF(Py_None
); resultobj
= Py_None
;
11299 static int _wrap_NullImage_set(PyObject
*_val
) {
11300 PyErr_SetString(PyExc_TypeError
,"Variable NullImage is read-only.");
11305 static PyObject
*_wrap_NullImage_get() {
11308 pyobj
= SWIG_NewPointerObj((void *)(&wxNullImage
), SWIGTYPE_p_wxImage
, 0);
11313 static int _wrap_IMAGE_OPTION_BMP_FORMAT_set(PyObject
*_val
) {
11314 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_BMP_FORMAT is read-only.");
11319 static PyObject
*_wrap_IMAGE_OPTION_BMP_FORMAT_get() {
11324 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
11326 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
11333 static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set(PyObject
*_val
) {
11334 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_X is read-only.");
11339 static PyObject
*_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get() {
11344 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
11346 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
11353 static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set(PyObject
*_val
) {
11354 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_Y is read-only.");
11359 static PyObject
*_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get() {
11364 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
11366 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
11373 static int _wrap_IMAGE_OPTION_RESOLUTION_set(PyObject
*_val
) {
11374 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTION is read-only.");
11379 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTION_get() {
11384 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
11386 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
11393 static int _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set(PyObject
*_val
) {
11394 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTIONUNIT is read-only.");
11399 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get() {
11404 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
11406 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
11413 static PyObject
*_wrap_new_BMPHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11414 PyObject
*resultobj
;
11415 wxBMPHandler
*result
;
11416 char *kwnames
[] = {
11420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_BMPHandler",kwnames
)) goto fail
;
11422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11423 result
= (wxBMPHandler
*)new wxBMPHandler();
11425 wxPyEndAllowThreads(__tstate
);
11426 if (PyErr_Occurred()) SWIG_fail
;
11428 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBMPHandler
, 1);
11435 static PyObject
* BMPHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11437 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11438 SWIG_TypeClientData(SWIGTYPE_p_wxBMPHandler
, obj
);
11440 return Py_BuildValue((char *)"");
11442 static PyObject
*_wrap_new_ICOHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11443 PyObject
*resultobj
;
11444 wxICOHandler
*result
;
11445 char *kwnames
[] = {
11449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ICOHandler",kwnames
)) goto fail
;
11451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11452 result
= (wxICOHandler
*)new wxICOHandler();
11454 wxPyEndAllowThreads(__tstate
);
11455 if (PyErr_Occurred()) SWIG_fail
;
11457 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxICOHandler
, 1);
11464 static PyObject
* ICOHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11466 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11467 SWIG_TypeClientData(SWIGTYPE_p_wxICOHandler
, obj
);
11469 return Py_BuildValue((char *)"");
11471 static PyObject
*_wrap_new_CURHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11472 PyObject
*resultobj
;
11473 wxCURHandler
*result
;
11474 char *kwnames
[] = {
11478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_CURHandler",kwnames
)) goto fail
;
11480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11481 result
= (wxCURHandler
*)new wxCURHandler();
11483 wxPyEndAllowThreads(__tstate
);
11484 if (PyErr_Occurred()) SWIG_fail
;
11486 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCURHandler
, 1);
11493 static PyObject
* CURHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11495 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11496 SWIG_TypeClientData(SWIGTYPE_p_wxCURHandler
, obj
);
11498 return Py_BuildValue((char *)"");
11500 static PyObject
*_wrap_new_ANIHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11501 PyObject
*resultobj
;
11502 wxANIHandler
*result
;
11503 char *kwnames
[] = {
11507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ANIHandler",kwnames
)) goto fail
;
11509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11510 result
= (wxANIHandler
*)new wxANIHandler();
11512 wxPyEndAllowThreads(__tstate
);
11513 if (PyErr_Occurred()) SWIG_fail
;
11515 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxANIHandler
, 1);
11522 static PyObject
* ANIHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11524 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11525 SWIG_TypeClientData(SWIGTYPE_p_wxANIHandler
, obj
);
11527 return Py_BuildValue((char *)"");
11529 static PyObject
*_wrap_new_PNGHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11530 PyObject
*resultobj
;
11531 wxPNGHandler
*result
;
11532 char *kwnames
[] = {
11536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PNGHandler",kwnames
)) goto fail
;
11538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11539 result
= (wxPNGHandler
*)new wxPNGHandler();
11541 wxPyEndAllowThreads(__tstate
);
11542 if (PyErr_Occurred()) SWIG_fail
;
11544 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPNGHandler
, 1);
11551 static PyObject
* PNGHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11553 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11554 SWIG_TypeClientData(SWIGTYPE_p_wxPNGHandler
, obj
);
11556 return Py_BuildValue((char *)"");
11558 static PyObject
*_wrap_new_GIFHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11559 PyObject
*resultobj
;
11560 wxGIFHandler
*result
;
11561 char *kwnames
[] = {
11565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GIFHandler",kwnames
)) goto fail
;
11567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11568 result
= (wxGIFHandler
*)new wxGIFHandler();
11570 wxPyEndAllowThreads(__tstate
);
11571 if (PyErr_Occurred()) SWIG_fail
;
11573 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGIFHandler
, 1);
11580 static PyObject
* GIFHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11582 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11583 SWIG_TypeClientData(SWIGTYPE_p_wxGIFHandler
, obj
);
11585 return Py_BuildValue((char *)"");
11587 static PyObject
*_wrap_new_PCXHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11588 PyObject
*resultobj
;
11589 wxPCXHandler
*result
;
11590 char *kwnames
[] = {
11594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PCXHandler",kwnames
)) goto fail
;
11596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11597 result
= (wxPCXHandler
*)new wxPCXHandler();
11599 wxPyEndAllowThreads(__tstate
);
11600 if (PyErr_Occurred()) SWIG_fail
;
11602 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPCXHandler
, 1);
11609 static PyObject
* PCXHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11611 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11612 SWIG_TypeClientData(SWIGTYPE_p_wxPCXHandler
, obj
);
11614 return Py_BuildValue((char *)"");
11616 static PyObject
*_wrap_new_JPEGHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11617 PyObject
*resultobj
;
11618 wxJPEGHandler
*result
;
11619 char *kwnames
[] = {
11623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_JPEGHandler",kwnames
)) goto fail
;
11625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11626 result
= (wxJPEGHandler
*)new wxJPEGHandler();
11628 wxPyEndAllowThreads(__tstate
);
11629 if (PyErr_Occurred()) SWIG_fail
;
11631 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJPEGHandler
, 1);
11638 static PyObject
* JPEGHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11640 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11641 SWIG_TypeClientData(SWIGTYPE_p_wxJPEGHandler
, obj
);
11643 return Py_BuildValue((char *)"");
11645 static PyObject
*_wrap_new_PNMHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11646 PyObject
*resultobj
;
11647 wxPNMHandler
*result
;
11648 char *kwnames
[] = {
11652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PNMHandler",kwnames
)) goto fail
;
11654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11655 result
= (wxPNMHandler
*)new wxPNMHandler();
11657 wxPyEndAllowThreads(__tstate
);
11658 if (PyErr_Occurred()) SWIG_fail
;
11660 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPNMHandler
, 1);
11667 static PyObject
* PNMHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11669 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11670 SWIG_TypeClientData(SWIGTYPE_p_wxPNMHandler
, obj
);
11672 return Py_BuildValue((char *)"");
11674 static PyObject
*_wrap_new_XPMHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11675 PyObject
*resultobj
;
11676 wxXPMHandler
*result
;
11677 char *kwnames
[] = {
11681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_XPMHandler",kwnames
)) goto fail
;
11683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11684 result
= (wxXPMHandler
*)new wxXPMHandler();
11686 wxPyEndAllowThreads(__tstate
);
11687 if (PyErr_Occurred()) SWIG_fail
;
11689 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxXPMHandler
, 1);
11696 static PyObject
* XPMHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11698 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11699 SWIG_TypeClientData(SWIGTYPE_p_wxXPMHandler
, obj
);
11701 return Py_BuildValue((char *)"");
11703 static PyObject
*_wrap_new_TIFFHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11704 PyObject
*resultobj
;
11705 wxTIFFHandler
*result
;
11706 char *kwnames
[] = {
11710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TIFFHandler",kwnames
)) goto fail
;
11712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11713 result
= (wxTIFFHandler
*)new wxTIFFHandler();
11715 wxPyEndAllowThreads(__tstate
);
11716 if (PyErr_Occurred()) SWIG_fail
;
11718 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTIFFHandler
, 1);
11725 static PyObject
* TIFFHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11727 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11728 SWIG_TypeClientData(SWIGTYPE_p_wxTIFFHandler
, obj
);
11730 return Py_BuildValue((char *)"");
11732 static PyObject
*_wrap_new_EvtHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11733 PyObject
*resultobj
;
11734 wxEvtHandler
*result
;
11735 char *kwnames
[] = {
11739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EvtHandler",kwnames
)) goto fail
;
11741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11742 result
= (wxEvtHandler
*)new wxEvtHandler();
11744 wxPyEndAllowThreads(__tstate
);
11745 if (PyErr_Occurred()) SWIG_fail
;
11748 resultobj
= wxPyMake_wxObject(result
);
11756 static PyObject
*_wrap_EvtHandler_GetNextHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11757 PyObject
*resultobj
;
11758 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11759 wxEvtHandler
*result
;
11760 PyObject
* obj0
= 0 ;
11761 char *kwnames
[] = {
11762 (char *) "self", NULL
11765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetNextHandler",kwnames
,&obj0
)) goto fail
;
11766 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11767 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11770 result
= (wxEvtHandler
*)(arg1
)->GetNextHandler();
11772 wxPyEndAllowThreads(__tstate
);
11773 if (PyErr_Occurred()) SWIG_fail
;
11776 resultobj
= wxPyMake_wxObject(result
);
11784 static PyObject
*_wrap_EvtHandler_GetPreviousHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11785 PyObject
*resultobj
;
11786 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11787 wxEvtHandler
*result
;
11788 PyObject
* obj0
= 0 ;
11789 char *kwnames
[] = {
11790 (char *) "self", NULL
11793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetPreviousHandler",kwnames
,&obj0
)) goto fail
;
11794 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11795 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11798 result
= (wxEvtHandler
*)(arg1
)->GetPreviousHandler();
11800 wxPyEndAllowThreads(__tstate
);
11801 if (PyErr_Occurred()) SWIG_fail
;
11804 resultobj
= wxPyMake_wxObject(result
);
11812 static PyObject
*_wrap_EvtHandler_SetNextHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11813 PyObject
*resultobj
;
11814 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11815 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
11816 PyObject
* obj0
= 0 ;
11817 PyObject
* obj1
= 0 ;
11818 char *kwnames
[] = {
11819 (char *) "self",(char *) "handler", NULL
11822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetNextHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
11823 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11824 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11825 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
11826 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11829 (arg1
)->SetNextHandler(arg2
);
11831 wxPyEndAllowThreads(__tstate
);
11832 if (PyErr_Occurred()) SWIG_fail
;
11834 Py_INCREF(Py_None
); resultobj
= Py_None
;
11841 static PyObject
*_wrap_EvtHandler_SetPreviousHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11842 PyObject
*resultobj
;
11843 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11844 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
11845 PyObject
* obj0
= 0 ;
11846 PyObject
* obj1
= 0 ;
11847 char *kwnames
[] = {
11848 (char *) "self",(char *) "handler", NULL
11851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetPreviousHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
11852 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11853 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11854 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
11855 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11858 (arg1
)->SetPreviousHandler(arg2
);
11860 wxPyEndAllowThreads(__tstate
);
11861 if (PyErr_Occurred()) SWIG_fail
;
11863 Py_INCREF(Py_None
); resultobj
= Py_None
;
11870 static PyObject
*_wrap_EvtHandler_GetEvtHandlerEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11871 PyObject
*resultobj
;
11872 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11874 PyObject
* obj0
= 0 ;
11875 char *kwnames
[] = {
11876 (char *) "self", NULL
11879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetEvtHandlerEnabled",kwnames
,&obj0
)) goto fail
;
11880 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11881 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11884 result
= (bool)(arg1
)->GetEvtHandlerEnabled();
11886 wxPyEndAllowThreads(__tstate
);
11887 if (PyErr_Occurred()) SWIG_fail
;
11890 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11898 static PyObject
*_wrap_EvtHandler_SetEvtHandlerEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11899 PyObject
*resultobj
;
11900 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11902 PyObject
* obj0
= 0 ;
11903 PyObject
* obj1
= 0 ;
11904 char *kwnames
[] = {
11905 (char *) "self",(char *) "enabled", NULL
11908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetEvtHandlerEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
11909 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11910 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11911 arg2
= (bool) SWIG_AsBool(obj1
);
11912 if (PyErr_Occurred()) SWIG_fail
;
11914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11915 (arg1
)->SetEvtHandlerEnabled(arg2
);
11917 wxPyEndAllowThreads(__tstate
);
11918 if (PyErr_Occurred()) SWIG_fail
;
11920 Py_INCREF(Py_None
); resultobj
= Py_None
;
11927 static PyObject
*_wrap_EvtHandler_ProcessEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11928 PyObject
*resultobj
;
11929 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11930 wxEvent
*arg2
= 0 ;
11932 PyObject
* obj0
= 0 ;
11933 PyObject
* obj1
= 0 ;
11934 char *kwnames
[] = {
11935 (char *) "self",(char *) "event", NULL
11938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_ProcessEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
11939 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11940 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11941 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvent
,
11942 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11944 if (arg2
== NULL
) {
11945 PyErr_SetString(PyExc_TypeError
,"null reference");
11949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11950 result
= (bool)(arg1
)->ProcessEvent(*arg2
);
11952 wxPyEndAllowThreads(__tstate
);
11953 if (PyErr_Occurred()) SWIG_fail
;
11956 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11964 static PyObject
*_wrap_EvtHandler_AddPendingEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11965 PyObject
*resultobj
;
11966 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11967 wxEvent
*arg2
= 0 ;
11968 PyObject
* obj0
= 0 ;
11969 PyObject
* obj1
= 0 ;
11970 char *kwnames
[] = {
11971 (char *) "self",(char *) "event", NULL
11974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_AddPendingEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
11975 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11976 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11977 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvent
,
11978 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11980 if (arg2
== NULL
) {
11981 PyErr_SetString(PyExc_TypeError
,"null reference");
11985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11986 (arg1
)->AddPendingEvent(*arg2
);
11988 wxPyEndAllowThreads(__tstate
);
11989 if (PyErr_Occurred()) SWIG_fail
;
11991 Py_INCREF(Py_None
); resultobj
= Py_None
;
11998 static PyObject
*_wrap_EvtHandler_ProcessPendingEvents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11999 PyObject
*resultobj
;
12000 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12001 PyObject
* obj0
= 0 ;
12002 char *kwnames
[] = {
12003 (char *) "self", NULL
12006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_ProcessPendingEvents",kwnames
,&obj0
)) goto fail
;
12007 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12008 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12011 (arg1
)->ProcessPendingEvents();
12013 wxPyEndAllowThreads(__tstate
);
12014 if (PyErr_Occurred()) SWIG_fail
;
12016 Py_INCREF(Py_None
); resultobj
= Py_None
;
12023 static PyObject
*_wrap_EvtHandler_Connect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12024 PyObject
*resultobj
;
12025 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12029 PyObject
*arg5
= (PyObject
*) 0 ;
12030 PyObject
* obj0
= 0 ;
12031 PyObject
* obj1
= 0 ;
12032 PyObject
* obj2
= 0 ;
12033 PyObject
* obj3
= 0 ;
12034 PyObject
* obj4
= 0 ;
12035 char *kwnames
[] = {
12036 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType",(char *) "func", NULL
12039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:EvtHandler_Connect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12040 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12041 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12042 arg2
= (int) SWIG_AsInt(obj1
);
12043 if (PyErr_Occurred()) SWIG_fail
;
12044 arg3
= (int) SWIG_AsInt(obj2
);
12045 if (PyErr_Occurred()) SWIG_fail
;
12046 arg4
= (int) SWIG_AsInt(obj3
);
12047 if (PyErr_Occurred()) SWIG_fail
;
12050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12051 wxEvtHandler_Connect(arg1
,arg2
,arg3
,arg4
,arg5
);
12053 wxPyEndAllowThreads(__tstate
);
12054 if (PyErr_Occurred()) SWIG_fail
;
12056 Py_INCREF(Py_None
); resultobj
= Py_None
;
12063 static PyObject
*_wrap_EvtHandler_Disconnect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12064 PyObject
*resultobj
;
12065 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12067 int arg3
= (int) -1 ;
12068 wxEventType arg4
= (wxEventType
) wxEVT_NULL
;
12070 PyObject
* obj0
= 0 ;
12071 PyObject
* obj1
= 0 ;
12072 PyObject
* obj2
= 0 ;
12073 PyObject
* obj3
= 0 ;
12074 char *kwnames
[] = {
12075 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType", NULL
12078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:EvtHandler_Disconnect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12079 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12081 arg2
= (int) SWIG_AsInt(obj1
);
12082 if (PyErr_Occurred()) SWIG_fail
;
12084 arg3
= (int) SWIG_AsInt(obj2
);
12085 if (PyErr_Occurred()) SWIG_fail
;
12088 arg4
= (wxEventType
) SWIG_AsInt(obj3
);
12089 if (PyErr_Occurred()) SWIG_fail
;
12092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12093 result
= (bool)wxEvtHandler_Disconnect(arg1
,arg2
,arg3
,arg4
);
12095 wxPyEndAllowThreads(__tstate
);
12096 if (PyErr_Occurred()) SWIG_fail
;
12099 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12107 static PyObject
*_wrap_EvtHandler__setOORInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12108 PyObject
*resultobj
;
12109 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12110 PyObject
*arg2
= (PyObject
*) 0 ;
12111 PyObject
* obj0
= 0 ;
12112 PyObject
* obj1
= 0 ;
12113 char *kwnames
[] = {
12114 (char *) "self",(char *) "_self", NULL
12117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
12118 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12119 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12123 wxEvtHandler__setOORInfo(arg1
,arg2
);
12125 wxPyEndAllowThreads(__tstate
);
12126 if (PyErr_Occurred()) SWIG_fail
;
12128 Py_INCREF(Py_None
); resultobj
= Py_None
;
12135 static PyObject
* EvtHandler_swigregister(PyObject
*self
, PyObject
*args
) {
12137 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12138 SWIG_TypeClientData(SWIGTYPE_p_wxEvtHandler
, obj
);
12140 return Py_BuildValue((char *)"");
12142 static PyObject
*_wrap_NewEventType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12143 PyObject
*resultobj
;
12144 wxEventType result
;
12145 char *kwnames
[] = {
12149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":NewEventType",kwnames
)) goto fail
;
12151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12152 result
= (wxEventType
)wxNewEventType();
12154 wxPyEndAllowThreads(__tstate
);
12155 if (PyErr_Occurred()) SWIG_fail
;
12157 resultobj
= SWIG_FromInt((int)result
);
12164 static PyObject
*_wrap_delete_Event(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12165 PyObject
*resultobj
;
12166 wxEvent
*arg1
= (wxEvent
*) 0 ;
12167 PyObject
* obj0
= 0 ;
12168 char *kwnames
[] = {
12169 (char *) "self", NULL
12172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Event",kwnames
,&obj0
)) goto fail
;
12173 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12174 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12179 wxPyEndAllowThreads(__tstate
);
12180 if (PyErr_Occurred()) SWIG_fail
;
12182 Py_INCREF(Py_None
); resultobj
= Py_None
;
12189 static PyObject
*_wrap_Event_SetEventType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12190 PyObject
*resultobj
;
12191 wxEvent
*arg1
= (wxEvent
*) 0 ;
12193 PyObject
* obj0
= 0 ;
12194 PyObject
* obj1
= 0 ;
12195 char *kwnames
[] = {
12196 (char *) "self",(char *) "typ", NULL
12199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetEventType",kwnames
,&obj0
,&obj1
)) goto fail
;
12200 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12201 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12202 arg2
= (wxEventType
) SWIG_AsInt(obj1
);
12203 if (PyErr_Occurred()) SWIG_fail
;
12205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12206 (arg1
)->SetEventType(arg2
);
12208 wxPyEndAllowThreads(__tstate
);
12209 if (PyErr_Occurred()) SWIG_fail
;
12211 Py_INCREF(Py_None
); resultobj
= Py_None
;
12218 static PyObject
*_wrap_Event_GetEventType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12219 PyObject
*resultobj
;
12220 wxEvent
*arg1
= (wxEvent
*) 0 ;
12221 wxEventType result
;
12222 PyObject
* obj0
= 0 ;
12223 char *kwnames
[] = {
12224 (char *) "self", NULL
12227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetEventType",kwnames
,&obj0
)) goto fail
;
12228 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12229 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12232 result
= (wxEventType
)((wxEvent
const *)arg1
)->GetEventType();
12234 wxPyEndAllowThreads(__tstate
);
12235 if (PyErr_Occurred()) SWIG_fail
;
12237 resultobj
= SWIG_FromInt((int)result
);
12244 static PyObject
*_wrap_Event_GetEventObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12245 PyObject
*resultobj
;
12246 wxEvent
*arg1
= (wxEvent
*) 0 ;
12248 PyObject
* obj0
= 0 ;
12249 char *kwnames
[] = {
12250 (char *) "self", NULL
12253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetEventObject",kwnames
,&obj0
)) goto fail
;
12254 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12255 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12258 result
= (wxObject
*)((wxEvent
const *)arg1
)->GetEventObject();
12260 wxPyEndAllowThreads(__tstate
);
12261 if (PyErr_Occurred()) SWIG_fail
;
12264 resultobj
= wxPyMake_wxObject(result
);
12272 static PyObject
*_wrap_Event_SetEventObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12273 PyObject
*resultobj
;
12274 wxEvent
*arg1
= (wxEvent
*) 0 ;
12275 wxObject
*arg2
= (wxObject
*) 0 ;
12276 PyObject
* obj0
= 0 ;
12277 PyObject
* obj1
= 0 ;
12278 char *kwnames
[] = {
12279 (char *) "self",(char *) "obj", NULL
12282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetEventObject",kwnames
,&obj0
,&obj1
)) goto fail
;
12283 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12284 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12285 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxObject
,
12286 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12289 (arg1
)->SetEventObject(arg2
);
12291 wxPyEndAllowThreads(__tstate
);
12292 if (PyErr_Occurred()) SWIG_fail
;
12294 Py_INCREF(Py_None
); resultobj
= Py_None
;
12301 static PyObject
*_wrap_Event_GetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12302 PyObject
*resultobj
;
12303 wxEvent
*arg1
= (wxEvent
*) 0 ;
12305 PyObject
* obj0
= 0 ;
12306 char *kwnames
[] = {
12307 (char *) "self", NULL
12310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetTimestamp",kwnames
,&obj0
)) goto fail
;
12311 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12312 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12315 result
= (long)((wxEvent
const *)arg1
)->GetTimestamp();
12317 wxPyEndAllowThreads(__tstate
);
12318 if (PyErr_Occurred()) SWIG_fail
;
12320 resultobj
= SWIG_FromLong((long)result
);
12327 static PyObject
*_wrap_Event_SetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12328 PyObject
*resultobj
;
12329 wxEvent
*arg1
= (wxEvent
*) 0 ;
12330 long arg2
= (long) 0 ;
12331 PyObject
* obj0
= 0 ;
12332 PyObject
* obj1
= 0 ;
12333 char *kwnames
[] = {
12334 (char *) "self",(char *) "ts", NULL
12337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Event_SetTimestamp",kwnames
,&obj0
,&obj1
)) goto fail
;
12338 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12339 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12341 arg2
= (long) SWIG_AsLong(obj1
);
12342 if (PyErr_Occurred()) SWIG_fail
;
12345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12346 (arg1
)->SetTimestamp(arg2
);
12348 wxPyEndAllowThreads(__tstate
);
12349 if (PyErr_Occurred()) SWIG_fail
;
12351 Py_INCREF(Py_None
); resultobj
= Py_None
;
12358 static PyObject
*_wrap_Event_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12359 PyObject
*resultobj
;
12360 wxEvent
*arg1
= (wxEvent
*) 0 ;
12362 PyObject
* obj0
= 0 ;
12363 char *kwnames
[] = {
12364 (char *) "self", NULL
12367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetId",kwnames
,&obj0
)) goto fail
;
12368 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12369 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12372 result
= (int)((wxEvent
const *)arg1
)->GetId();
12374 wxPyEndAllowThreads(__tstate
);
12375 if (PyErr_Occurred()) SWIG_fail
;
12377 resultobj
= SWIG_FromInt((int)result
);
12384 static PyObject
*_wrap_Event_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12385 PyObject
*resultobj
;
12386 wxEvent
*arg1
= (wxEvent
*) 0 ;
12388 PyObject
* obj0
= 0 ;
12389 PyObject
* obj1
= 0 ;
12390 char *kwnames
[] = {
12391 (char *) "self",(char *) "Id", NULL
12394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
12395 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12396 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12397 arg2
= (int) SWIG_AsInt(obj1
);
12398 if (PyErr_Occurred()) SWIG_fail
;
12400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12401 (arg1
)->SetId(arg2
);
12403 wxPyEndAllowThreads(__tstate
);
12404 if (PyErr_Occurred()) SWIG_fail
;
12406 Py_INCREF(Py_None
); resultobj
= Py_None
;
12413 static PyObject
*_wrap_Event_IsCommandEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12414 PyObject
*resultobj
;
12415 wxEvent
*arg1
= (wxEvent
*) 0 ;
12417 PyObject
* obj0
= 0 ;
12418 char *kwnames
[] = {
12419 (char *) "self", NULL
12422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_IsCommandEvent",kwnames
,&obj0
)) goto fail
;
12423 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12424 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12427 result
= (bool)((wxEvent
const *)arg1
)->IsCommandEvent();
12429 wxPyEndAllowThreads(__tstate
);
12430 if (PyErr_Occurred()) SWIG_fail
;
12433 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12441 static PyObject
*_wrap_Event_Skip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12442 PyObject
*resultobj
;
12443 wxEvent
*arg1
= (wxEvent
*) 0 ;
12444 bool arg2
= (bool) True
;
12445 PyObject
* obj0
= 0 ;
12446 PyObject
* obj1
= 0 ;
12447 char *kwnames
[] = {
12448 (char *) "self",(char *) "skip", NULL
12451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Event_Skip",kwnames
,&obj0
,&obj1
)) goto fail
;
12452 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12453 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12455 arg2
= (bool) SWIG_AsBool(obj1
);
12456 if (PyErr_Occurred()) SWIG_fail
;
12459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12460 (arg1
)->Skip(arg2
);
12462 wxPyEndAllowThreads(__tstate
);
12463 if (PyErr_Occurred()) SWIG_fail
;
12465 Py_INCREF(Py_None
); resultobj
= Py_None
;
12472 static PyObject
*_wrap_Event_GetSkipped(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12473 PyObject
*resultobj
;
12474 wxEvent
*arg1
= (wxEvent
*) 0 ;
12476 PyObject
* obj0
= 0 ;
12477 char *kwnames
[] = {
12478 (char *) "self", NULL
12481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetSkipped",kwnames
,&obj0
)) goto fail
;
12482 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12483 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12486 result
= (bool)((wxEvent
const *)arg1
)->GetSkipped();
12488 wxPyEndAllowThreads(__tstate
);
12489 if (PyErr_Occurred()) SWIG_fail
;
12492 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12500 static PyObject
*_wrap_Event_ShouldPropagate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12501 PyObject
*resultobj
;
12502 wxEvent
*arg1
= (wxEvent
*) 0 ;
12504 PyObject
* obj0
= 0 ;
12505 char *kwnames
[] = {
12506 (char *) "self", NULL
12509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_ShouldPropagate",kwnames
,&obj0
)) goto fail
;
12510 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12511 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12514 result
= (bool)((wxEvent
const *)arg1
)->ShouldPropagate();
12516 wxPyEndAllowThreads(__tstate
);
12517 if (PyErr_Occurred()) SWIG_fail
;
12520 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12528 static PyObject
*_wrap_Event_StopPropagation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12529 PyObject
*resultobj
;
12530 wxEvent
*arg1
= (wxEvent
*) 0 ;
12532 PyObject
* obj0
= 0 ;
12533 char *kwnames
[] = {
12534 (char *) "self", NULL
12537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_StopPropagation",kwnames
,&obj0
)) goto fail
;
12538 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12539 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12542 result
= (int)(arg1
)->StopPropagation();
12544 wxPyEndAllowThreads(__tstate
);
12545 if (PyErr_Occurred()) SWIG_fail
;
12547 resultobj
= SWIG_FromInt((int)result
);
12554 static PyObject
*_wrap_Event_ResumePropagation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12555 PyObject
*resultobj
;
12556 wxEvent
*arg1
= (wxEvent
*) 0 ;
12558 PyObject
* obj0
= 0 ;
12559 PyObject
* obj1
= 0 ;
12560 char *kwnames
[] = {
12561 (char *) "self",(char *) "propagationLevel", NULL
12564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_ResumePropagation",kwnames
,&obj0
,&obj1
)) goto fail
;
12565 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12566 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12567 arg2
= (int) SWIG_AsInt(obj1
);
12568 if (PyErr_Occurred()) SWIG_fail
;
12570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12571 (arg1
)->ResumePropagation(arg2
);
12573 wxPyEndAllowThreads(__tstate
);
12574 if (PyErr_Occurred()) SWIG_fail
;
12576 Py_INCREF(Py_None
); resultobj
= Py_None
;
12583 static PyObject
*_wrap_Event_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12584 PyObject
*resultobj
;
12585 wxEvent
*arg1
= (wxEvent
*) 0 ;
12587 PyObject
* obj0
= 0 ;
12588 char *kwnames
[] = {
12589 (char *) "self", NULL
12592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_Clone",kwnames
,&obj0
)) goto fail
;
12593 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12594 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12597 result
= (wxEvent
*)(arg1
)->Clone();
12599 wxPyEndAllowThreads(__tstate
);
12600 if (PyErr_Occurred()) SWIG_fail
;
12602 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvent
, 0);
12609 static PyObject
* Event_swigregister(PyObject
*self
, PyObject
*args
) {
12611 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12612 SWIG_TypeClientData(SWIGTYPE_p_wxEvent
, obj
);
12614 return Py_BuildValue((char *)"");
12616 static PyObject
*_wrap_new_PropagationDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12617 PyObject
*resultobj
;
12618 wxEvent
*arg1
= 0 ;
12619 wxPropagationDisabler
*result
;
12620 PyObject
* obj0
= 0 ;
12621 char *kwnames
[] = {
12622 (char *) "event", NULL
12625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagationDisabler",kwnames
,&obj0
)) goto fail
;
12626 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12627 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12629 if (arg1
== NULL
) {
12630 PyErr_SetString(PyExc_TypeError
,"null reference");
12634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12635 result
= (wxPropagationDisabler
*)new wxPropagationDisabler(*arg1
);
12637 wxPyEndAllowThreads(__tstate
);
12638 if (PyErr_Occurred()) SWIG_fail
;
12640 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPropagationDisabler
, 1);
12647 static PyObject
*_wrap_delete_PropagationDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12648 PyObject
*resultobj
;
12649 wxPropagationDisabler
*arg1
= (wxPropagationDisabler
*) 0 ;
12650 PyObject
* obj0
= 0 ;
12651 char *kwnames
[] = {
12652 (char *) "self", NULL
12655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PropagationDisabler",kwnames
,&obj0
)) goto fail
;
12656 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPropagationDisabler
,
12657 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12662 wxPyEndAllowThreads(__tstate
);
12663 if (PyErr_Occurred()) SWIG_fail
;
12665 Py_INCREF(Py_None
); resultobj
= Py_None
;
12672 static PyObject
* PropagationDisabler_swigregister(PyObject
*self
, PyObject
*args
) {
12674 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12675 SWIG_TypeClientData(SWIGTYPE_p_wxPropagationDisabler
, obj
);
12677 return Py_BuildValue((char *)"");
12679 static PyObject
*_wrap_new_PropagateOnce(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12680 PyObject
*resultobj
;
12681 wxEvent
*arg1
= 0 ;
12682 wxPropagateOnce
*result
;
12683 PyObject
* obj0
= 0 ;
12684 char *kwnames
[] = {
12685 (char *) "event", NULL
12688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagateOnce",kwnames
,&obj0
)) goto fail
;
12689 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12690 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12692 if (arg1
== NULL
) {
12693 PyErr_SetString(PyExc_TypeError
,"null reference");
12697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12698 result
= (wxPropagateOnce
*)new wxPropagateOnce(*arg1
);
12700 wxPyEndAllowThreads(__tstate
);
12701 if (PyErr_Occurred()) SWIG_fail
;
12703 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPropagateOnce
, 1);
12710 static PyObject
*_wrap_delete_PropagateOnce(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12711 PyObject
*resultobj
;
12712 wxPropagateOnce
*arg1
= (wxPropagateOnce
*) 0 ;
12713 PyObject
* obj0
= 0 ;
12714 char *kwnames
[] = {
12715 (char *) "self", NULL
12718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PropagateOnce",kwnames
,&obj0
)) goto fail
;
12719 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPropagateOnce
,
12720 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12725 wxPyEndAllowThreads(__tstate
);
12726 if (PyErr_Occurred()) SWIG_fail
;
12728 Py_INCREF(Py_None
); resultobj
= Py_None
;
12735 static PyObject
* PropagateOnce_swigregister(PyObject
*self
, PyObject
*args
) {
12737 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12738 SWIG_TypeClientData(SWIGTYPE_p_wxPropagateOnce
, obj
);
12740 return Py_BuildValue((char *)"");
12742 static PyObject
*_wrap_new_CommandEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12743 PyObject
*resultobj
;
12744 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
12745 int arg2
= (int) 0 ;
12746 wxCommandEvent
*result
;
12747 PyObject
* obj0
= 0 ;
12748 PyObject
* obj1
= 0 ;
12749 char *kwnames
[] = {
12750 (char *) "commandType",(char *) "winid", NULL
12753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_CommandEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
12755 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
12756 if (PyErr_Occurred()) SWIG_fail
;
12759 arg2
= (int) SWIG_AsInt(obj1
);
12760 if (PyErr_Occurred()) SWIG_fail
;
12763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12764 result
= (wxCommandEvent
*)new wxCommandEvent(arg1
,arg2
);
12766 wxPyEndAllowThreads(__tstate
);
12767 if (PyErr_Occurred()) SWIG_fail
;
12769 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCommandEvent
, 1);
12776 static PyObject
*_wrap_CommandEvent_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12777 PyObject
*resultobj
;
12778 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12780 PyObject
* obj0
= 0 ;
12781 char *kwnames
[] = {
12782 (char *) "self", NULL
12785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetSelection",kwnames
,&obj0
)) goto fail
;
12786 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12787 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12790 result
= (int)((wxCommandEvent
const *)arg1
)->GetSelection();
12792 wxPyEndAllowThreads(__tstate
);
12793 if (PyErr_Occurred()) SWIG_fail
;
12795 resultobj
= SWIG_FromInt((int)result
);
12802 static PyObject
*_wrap_CommandEvent_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12803 PyObject
*resultobj
;
12804 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12805 wxString
*arg2
= 0 ;
12806 bool temp2
= False
;
12807 PyObject
* obj0
= 0 ;
12808 PyObject
* obj1
= 0 ;
12809 char *kwnames
[] = {
12810 (char *) "self",(char *) "s", NULL
12813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetString",kwnames
,&obj0
,&obj1
)) goto fail
;
12814 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12817 arg2
= wxString_in_helper(obj1
);
12818 if (arg2
== NULL
) SWIG_fail
;
12822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12823 (arg1
)->SetString((wxString
const &)*arg2
);
12825 wxPyEndAllowThreads(__tstate
);
12826 if (PyErr_Occurred()) SWIG_fail
;
12828 Py_INCREF(Py_None
); resultobj
= Py_None
;
12843 static PyObject
*_wrap_CommandEvent_GetString(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_GetString",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
= ((wxCommandEvent
const *)arg1
)->GetString();
12859 wxPyEndAllowThreads(__tstate
);
12860 if (PyErr_Occurred()) SWIG_fail
;
12864 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12866 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12875 static PyObject
*_wrap_CommandEvent_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12876 PyObject
*resultobj
;
12877 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12879 PyObject
* obj0
= 0 ;
12880 char *kwnames
[] = {
12881 (char *) "self", NULL
12884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_IsChecked",kwnames
,&obj0
)) goto fail
;
12885 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12886 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12889 result
= (bool)((wxCommandEvent
const *)arg1
)->IsChecked();
12891 wxPyEndAllowThreads(__tstate
);
12892 if (PyErr_Occurred()) SWIG_fail
;
12895 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12903 static PyObject
*_wrap_CommandEvent_IsSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12904 PyObject
*resultobj
;
12905 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12907 PyObject
* obj0
= 0 ;
12908 char *kwnames
[] = {
12909 (char *) "self", NULL
12912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_IsSelection",kwnames
,&obj0
)) goto fail
;
12913 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12914 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12917 result
= (bool)((wxCommandEvent
const *)arg1
)->IsSelection();
12919 wxPyEndAllowThreads(__tstate
);
12920 if (PyErr_Occurred()) SWIG_fail
;
12923 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12931 static PyObject
*_wrap_CommandEvent_SetExtraLong(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12932 PyObject
*resultobj
;
12933 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12935 PyObject
* obj0
= 0 ;
12936 PyObject
* obj1
= 0 ;
12937 char *kwnames
[] = {
12938 (char *) "self",(char *) "extraLong", NULL
12941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetExtraLong",kwnames
,&obj0
,&obj1
)) goto fail
;
12942 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12943 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12944 arg2
= (long) SWIG_AsLong(obj1
);
12945 if (PyErr_Occurred()) SWIG_fail
;
12947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12948 (arg1
)->SetExtraLong(arg2
);
12950 wxPyEndAllowThreads(__tstate
);
12951 if (PyErr_Occurred()) SWIG_fail
;
12953 Py_INCREF(Py_None
); resultobj
= Py_None
;
12960 static PyObject
*_wrap_CommandEvent_GetExtraLong(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12961 PyObject
*resultobj
;
12962 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12964 PyObject
* obj0
= 0 ;
12965 char *kwnames
[] = {
12966 (char *) "self", NULL
12969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetExtraLong",kwnames
,&obj0
)) goto fail
;
12970 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12971 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12974 result
= (long)((wxCommandEvent
const *)arg1
)->GetExtraLong();
12976 wxPyEndAllowThreads(__tstate
);
12977 if (PyErr_Occurred()) SWIG_fail
;
12979 resultobj
= SWIG_FromLong((long)result
);
12986 static PyObject
*_wrap_CommandEvent_SetInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12987 PyObject
*resultobj
;
12988 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12990 PyObject
* obj0
= 0 ;
12991 PyObject
* obj1
= 0 ;
12992 char *kwnames
[] = {
12993 (char *) "self",(char *) "i", NULL
12996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetInt",kwnames
,&obj0
,&obj1
)) goto fail
;
12997 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12998 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12999 arg2
= (int) SWIG_AsInt(obj1
);
13000 if (PyErr_Occurred()) SWIG_fail
;
13002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13003 (arg1
)->SetInt(arg2
);
13005 wxPyEndAllowThreads(__tstate
);
13006 if (PyErr_Occurred()) SWIG_fail
;
13008 Py_INCREF(Py_None
); resultobj
= Py_None
;
13015 static PyObject
*_wrap_CommandEvent_GetInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13016 PyObject
*resultobj
;
13017 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13019 PyObject
* obj0
= 0 ;
13020 char *kwnames
[] = {
13021 (char *) "self", NULL
13024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetInt",kwnames
,&obj0
)) goto fail
;
13025 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13026 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13029 result
= (long)((wxCommandEvent
const *)arg1
)->GetInt();
13031 wxPyEndAllowThreads(__tstate
);
13032 if (PyErr_Occurred()) SWIG_fail
;
13034 resultobj
= SWIG_FromLong((long)result
);
13041 static PyObject
*_wrap_CommandEvent_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13042 PyObject
*resultobj
;
13043 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13045 PyObject
* obj0
= 0 ;
13046 char *kwnames
[] = {
13047 (char *) "self", NULL
13050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_Clone",kwnames
,&obj0
)) goto fail
;
13051 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13052 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13055 result
= (wxEvent
*)((wxCommandEvent
const *)arg1
)->Clone();
13057 wxPyEndAllowThreads(__tstate
);
13058 if (PyErr_Occurred()) SWIG_fail
;
13060 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvent
, 0);
13067 static PyObject
* CommandEvent_swigregister(PyObject
*self
, PyObject
*args
) {
13069 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13070 SWIG_TypeClientData(SWIGTYPE_p_wxCommandEvent
, obj
);
13072 return Py_BuildValue((char *)"");
13074 static PyObject
*_wrap_new_NotifyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13075 PyObject
*resultobj
;
13076 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13077 int arg2
= (int) 0 ;
13078 wxNotifyEvent
*result
;
13079 PyObject
* obj0
= 0 ;
13080 PyObject
* obj1
= 0 ;
13081 char *kwnames
[] = {
13082 (char *) "commandType",(char *) "winid", NULL
13085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_NotifyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
13087 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
13088 if (PyErr_Occurred()) SWIG_fail
;
13091 arg2
= (int) SWIG_AsInt(obj1
);
13092 if (PyErr_Occurred()) SWIG_fail
;
13095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13096 result
= (wxNotifyEvent
*)new wxNotifyEvent(arg1
,arg2
);
13098 wxPyEndAllowThreads(__tstate
);
13099 if (PyErr_Occurred()) SWIG_fail
;
13101 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotifyEvent
, 1);
13108 static PyObject
*_wrap_NotifyEvent_Veto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13109 PyObject
*resultobj
;
13110 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
13111 PyObject
* obj0
= 0 ;
13112 char *kwnames
[] = {
13113 (char *) "self", NULL
13116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_Veto",kwnames
,&obj0
)) goto fail
;
13117 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotifyEvent
,
13118 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13123 wxPyEndAllowThreads(__tstate
);
13124 if (PyErr_Occurred()) SWIG_fail
;
13126 Py_INCREF(Py_None
); resultobj
= Py_None
;
13133 static PyObject
*_wrap_NotifyEvent_Allow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13134 PyObject
*resultobj
;
13135 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
13136 PyObject
* obj0
= 0 ;
13137 char *kwnames
[] = {
13138 (char *) "self", NULL
13141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_Allow",kwnames
,&obj0
)) goto fail
;
13142 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotifyEvent
,
13143 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13148 wxPyEndAllowThreads(__tstate
);
13149 if (PyErr_Occurred()) SWIG_fail
;
13151 Py_INCREF(Py_None
); resultobj
= Py_None
;
13158 static PyObject
*_wrap_NotifyEvent_IsAllowed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13159 PyObject
*resultobj
;
13160 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
13162 PyObject
* obj0
= 0 ;
13163 char *kwnames
[] = {
13164 (char *) "self", NULL
13167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_IsAllowed",kwnames
,&obj0
)) goto fail
;
13168 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotifyEvent
,
13169 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13172 result
= (bool)(arg1
)->IsAllowed();
13174 wxPyEndAllowThreads(__tstate
);
13175 if (PyErr_Occurred()) SWIG_fail
;
13178 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13186 static PyObject
* NotifyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
13188 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13189 SWIG_TypeClientData(SWIGTYPE_p_wxNotifyEvent
, obj
);
13191 return Py_BuildValue((char *)"");
13193 static PyObject
*_wrap_new_ScrollEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13194 PyObject
*resultobj
;
13195 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13196 int arg2
= (int) 0 ;
13197 int arg3
= (int) 0 ;
13198 int arg4
= (int) 0 ;
13199 wxScrollEvent
*result
;
13200 PyObject
* obj0
= 0 ;
13201 PyObject
* obj1
= 0 ;
13202 PyObject
* obj2
= 0 ;
13203 PyObject
* obj3
= 0 ;
13204 char *kwnames
[] = {
13205 (char *) "commandType",(char *) "winid",(char *) "pos",(char *) "orient", NULL
13208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ScrollEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13210 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
13211 if (PyErr_Occurred()) SWIG_fail
;
13214 arg2
= (int) SWIG_AsInt(obj1
);
13215 if (PyErr_Occurred()) SWIG_fail
;
13218 arg3
= (int) SWIG_AsInt(obj2
);
13219 if (PyErr_Occurred()) SWIG_fail
;
13222 arg4
= (int) SWIG_AsInt(obj3
);
13223 if (PyErr_Occurred()) SWIG_fail
;
13226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13227 result
= (wxScrollEvent
*)new wxScrollEvent(arg1
,arg2
,arg3
,arg4
);
13229 wxPyEndAllowThreads(__tstate
);
13230 if (PyErr_Occurred()) SWIG_fail
;
13232 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollEvent
, 1);
13239 static PyObject
*_wrap_ScrollEvent_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13240 PyObject
*resultobj
;
13241 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
13243 PyObject
* obj0
= 0 ;
13244 char *kwnames
[] = {
13245 (char *) "self", NULL
13248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
13249 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollEvent
,
13250 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13253 result
= (int)((wxScrollEvent
const *)arg1
)->GetOrientation();
13255 wxPyEndAllowThreads(__tstate
);
13256 if (PyErr_Occurred()) SWIG_fail
;
13258 resultobj
= SWIG_FromInt((int)result
);
13265 static PyObject
*_wrap_ScrollEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13266 PyObject
*resultobj
;
13267 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
13269 PyObject
* obj0
= 0 ;
13270 char *kwnames
[] = {
13271 (char *) "self", NULL
13274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
13275 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollEvent
,
13276 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13279 result
= (int)((wxScrollEvent
const *)arg1
)->GetPosition();
13281 wxPyEndAllowThreads(__tstate
);
13282 if (PyErr_Occurred()) SWIG_fail
;
13284 resultobj
= SWIG_FromInt((int)result
);
13291 static PyObject
*_wrap_ScrollEvent_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13292 PyObject
*resultobj
;
13293 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
13295 PyObject
* obj0
= 0 ;
13296 PyObject
* obj1
= 0 ;
13297 char *kwnames
[] = {
13298 (char *) "self",(char *) "orient", NULL
13301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
13302 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollEvent
,
13303 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13304 arg2
= (int) SWIG_AsInt(obj1
);
13305 if (PyErr_Occurred()) SWIG_fail
;
13307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13308 (arg1
)->SetOrientation(arg2
);
13310 wxPyEndAllowThreads(__tstate
);
13311 if (PyErr_Occurred()) SWIG_fail
;
13313 Py_INCREF(Py_None
); resultobj
= Py_None
;
13320 static PyObject
*_wrap_ScrollEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13321 PyObject
*resultobj
;
13322 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
13324 PyObject
* obj0
= 0 ;
13325 PyObject
* obj1
= 0 ;
13326 char *kwnames
[] = {
13327 (char *) "self",(char *) "pos", NULL
13330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
13331 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollEvent
,
13332 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13333 arg2
= (int) SWIG_AsInt(obj1
);
13334 if (PyErr_Occurred()) SWIG_fail
;
13336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13337 (arg1
)->SetPosition(arg2
);
13339 wxPyEndAllowThreads(__tstate
);
13340 if (PyErr_Occurred()) SWIG_fail
;
13342 Py_INCREF(Py_None
); resultobj
= Py_None
;
13349 static PyObject
* ScrollEvent_swigregister(PyObject
*self
, PyObject
*args
) {
13351 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13352 SWIG_TypeClientData(SWIGTYPE_p_wxScrollEvent
, obj
);
13354 return Py_BuildValue((char *)"");
13356 static PyObject
*_wrap_new_ScrollWinEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13357 PyObject
*resultobj
;
13358 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13359 int arg2
= (int) 0 ;
13360 int arg3
= (int) 0 ;
13361 wxScrollWinEvent
*result
;
13362 PyObject
* obj0
= 0 ;
13363 PyObject
* obj1
= 0 ;
13364 PyObject
* obj2
= 0 ;
13365 char *kwnames
[] = {
13366 (char *) "commandType",(char *) "pos",(char *) "orient", NULL
13369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ScrollWinEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13371 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
13372 if (PyErr_Occurred()) SWIG_fail
;
13375 arg2
= (int) SWIG_AsInt(obj1
);
13376 if (PyErr_Occurred()) SWIG_fail
;
13379 arg3
= (int) SWIG_AsInt(obj2
);
13380 if (PyErr_Occurred()) SWIG_fail
;
13383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13384 result
= (wxScrollWinEvent
*)new wxScrollWinEvent(arg1
,arg2
,arg3
);
13386 wxPyEndAllowThreads(__tstate
);
13387 if (PyErr_Occurred()) SWIG_fail
;
13389 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollWinEvent
, 1);
13396 static PyObject
*_wrap_ScrollWinEvent_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13397 PyObject
*resultobj
;
13398 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
13400 PyObject
* obj0
= 0 ;
13401 char *kwnames
[] = {
13402 (char *) "self", NULL
13405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollWinEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
13406 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollWinEvent
,
13407 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13410 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetOrientation();
13412 wxPyEndAllowThreads(__tstate
);
13413 if (PyErr_Occurred()) SWIG_fail
;
13415 resultobj
= SWIG_FromInt((int)result
);
13422 static PyObject
*_wrap_ScrollWinEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13423 PyObject
*resultobj
;
13424 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
13426 PyObject
* obj0
= 0 ;
13427 char *kwnames
[] = {
13428 (char *) "self", NULL
13431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollWinEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
13432 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollWinEvent
,
13433 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13436 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetPosition();
13438 wxPyEndAllowThreads(__tstate
);
13439 if (PyErr_Occurred()) SWIG_fail
;
13441 resultobj
= SWIG_FromInt((int)result
);
13448 static PyObject
*_wrap_ScrollWinEvent_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13449 PyObject
*resultobj
;
13450 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
13452 PyObject
* obj0
= 0 ;
13453 PyObject
* obj1
= 0 ;
13454 char *kwnames
[] = {
13455 (char *) "self",(char *) "orient", NULL
13458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollWinEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
13459 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollWinEvent
,
13460 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13461 arg2
= (int) SWIG_AsInt(obj1
);
13462 if (PyErr_Occurred()) SWIG_fail
;
13464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13465 (arg1
)->SetOrientation(arg2
);
13467 wxPyEndAllowThreads(__tstate
);
13468 if (PyErr_Occurred()) SWIG_fail
;
13470 Py_INCREF(Py_None
); resultobj
= Py_None
;
13477 static PyObject
*_wrap_ScrollWinEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13478 PyObject
*resultobj
;
13479 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
13481 PyObject
* obj0
= 0 ;
13482 PyObject
* obj1
= 0 ;
13483 char *kwnames
[] = {
13484 (char *) "self",(char *) "pos", NULL
13487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollWinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
13488 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollWinEvent
,
13489 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13490 arg2
= (int) SWIG_AsInt(obj1
);
13491 if (PyErr_Occurred()) SWIG_fail
;
13493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13494 (arg1
)->SetPosition(arg2
);
13496 wxPyEndAllowThreads(__tstate
);
13497 if (PyErr_Occurred()) SWIG_fail
;
13499 Py_INCREF(Py_None
); resultobj
= Py_None
;
13506 static PyObject
* ScrollWinEvent_swigregister(PyObject
*self
, PyObject
*args
) {
13508 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13509 SWIG_TypeClientData(SWIGTYPE_p_wxScrollWinEvent
, obj
);
13511 return Py_BuildValue((char *)"");
13513 static PyObject
*_wrap_new_MouseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13514 PyObject
*resultobj
;
13515 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13516 wxMouseEvent
*result
;
13517 PyObject
* obj0
= 0 ;
13518 char *kwnames
[] = {
13519 (char *) "mouseType", NULL
13522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MouseEvent",kwnames
,&obj0
)) goto fail
;
13524 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
13525 if (PyErr_Occurred()) SWIG_fail
;
13528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13529 result
= (wxMouseEvent
*)new wxMouseEvent(arg1
);
13531 wxPyEndAllowThreads(__tstate
);
13532 if (PyErr_Occurred()) SWIG_fail
;
13535 resultobj
= wxPyMake_wxObject(result
);
13543 static PyObject
*_wrap_MouseEvent_IsButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13544 PyObject
*resultobj
;
13545 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13547 PyObject
* obj0
= 0 ;
13548 char *kwnames
[] = {
13549 (char *) "self", NULL
13552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_IsButton",kwnames
,&obj0
)) goto fail
;
13553 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13554 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13557 result
= (bool)((wxMouseEvent
const *)arg1
)->IsButton();
13559 wxPyEndAllowThreads(__tstate
);
13560 if (PyErr_Occurred()) SWIG_fail
;
13563 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13571 static PyObject
*_wrap_MouseEvent_ButtonDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13572 PyObject
*resultobj
;
13573 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13574 int arg2
= (int) wxMOUSE_BTN_ANY
;
13576 PyObject
* obj0
= 0 ;
13577 PyObject
* obj1
= 0 ;
13578 char *kwnames
[] = {
13579 (char *) "self",(char *) "but", NULL
13582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonDown",kwnames
,&obj0
,&obj1
)) goto fail
;
13583 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13584 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13586 arg2
= (int) SWIG_AsInt(obj1
);
13587 if (PyErr_Occurred()) SWIG_fail
;
13590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13591 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDown(arg2
);
13593 wxPyEndAllowThreads(__tstate
);
13594 if (PyErr_Occurred()) SWIG_fail
;
13597 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13605 static PyObject
*_wrap_MouseEvent_ButtonDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13606 PyObject
*resultobj
;
13607 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13608 int arg2
= (int) wxMOUSE_BTN_ANY
;
13610 PyObject
* obj0
= 0 ;
13611 PyObject
* obj1
= 0 ;
13612 char *kwnames
[] = {
13613 (char *) "self",(char *) "but", NULL
13616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonDClick",kwnames
,&obj0
,&obj1
)) goto fail
;
13617 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13618 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13620 arg2
= (int) SWIG_AsInt(obj1
);
13621 if (PyErr_Occurred()) SWIG_fail
;
13624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13625 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDClick(arg2
);
13627 wxPyEndAllowThreads(__tstate
);
13628 if (PyErr_Occurred()) SWIG_fail
;
13631 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13639 static PyObject
*_wrap_MouseEvent_ButtonUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13640 PyObject
*resultobj
;
13641 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13642 int arg2
= (int) wxMOUSE_BTN_ANY
;
13644 PyObject
* obj0
= 0 ;
13645 PyObject
* obj1
= 0 ;
13646 char *kwnames
[] = {
13647 (char *) "self",(char *) "but", NULL
13650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonUp",kwnames
,&obj0
,&obj1
)) goto fail
;
13651 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13652 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13654 arg2
= (int) SWIG_AsInt(obj1
);
13655 if (PyErr_Occurred()) SWIG_fail
;
13658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13659 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonUp(arg2
);
13661 wxPyEndAllowThreads(__tstate
);
13662 if (PyErr_Occurred()) SWIG_fail
;
13665 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13673 static PyObject
*_wrap_MouseEvent_Button(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13674 PyObject
*resultobj
;
13675 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13678 PyObject
* obj0
= 0 ;
13679 PyObject
* obj1
= 0 ;
13680 char *kwnames
[] = {
13681 (char *) "self",(char *) "but", NULL
13684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_Button",kwnames
,&obj0
,&obj1
)) goto fail
;
13685 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13686 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13687 arg2
= (int) SWIG_AsInt(obj1
);
13688 if (PyErr_Occurred()) SWIG_fail
;
13690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13691 result
= (bool)((wxMouseEvent
const *)arg1
)->Button(arg2
);
13693 wxPyEndAllowThreads(__tstate
);
13694 if (PyErr_Occurred()) SWIG_fail
;
13697 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13705 static PyObject
*_wrap_MouseEvent_ButtonIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13706 PyObject
*resultobj
;
13707 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13710 PyObject
* obj0
= 0 ;
13711 PyObject
* obj1
= 0 ;
13712 char *kwnames
[] = {
13713 (char *) "self",(char *) "but", NULL
13716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_ButtonIsDown",kwnames
,&obj0
,&obj1
)) goto fail
;
13717 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13718 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13719 arg2
= (int) SWIG_AsInt(obj1
);
13720 if (PyErr_Occurred()) SWIG_fail
;
13722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13723 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonIsDown(arg2
);
13725 wxPyEndAllowThreads(__tstate
);
13726 if (PyErr_Occurred()) SWIG_fail
;
13729 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13737 static PyObject
*_wrap_MouseEvent_GetButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13738 PyObject
*resultobj
;
13739 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13741 PyObject
* obj0
= 0 ;
13742 char *kwnames
[] = {
13743 (char *) "self", NULL
13746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetButton",kwnames
,&obj0
)) goto fail
;
13747 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13748 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13751 result
= (int)((wxMouseEvent
const *)arg1
)->GetButton();
13753 wxPyEndAllowThreads(__tstate
);
13754 if (PyErr_Occurred()) SWIG_fail
;
13756 resultobj
= SWIG_FromInt((int)result
);
13763 static PyObject
*_wrap_MouseEvent_ControlDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13764 PyObject
*resultobj
;
13765 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13767 PyObject
* obj0
= 0 ;
13768 char *kwnames
[] = {
13769 (char *) "self", NULL
13772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
13773 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13774 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13777 result
= (bool)((wxMouseEvent
const *)arg1
)->ControlDown();
13779 wxPyEndAllowThreads(__tstate
);
13780 if (PyErr_Occurred()) SWIG_fail
;
13783 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13791 static PyObject
*_wrap_MouseEvent_MetaDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13792 PyObject
*resultobj
;
13793 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13795 PyObject
* obj0
= 0 ;
13796 char *kwnames
[] = {
13797 (char *) "self", NULL
13800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
13801 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13802 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13805 result
= (bool)((wxMouseEvent
const *)arg1
)->MetaDown();
13807 wxPyEndAllowThreads(__tstate
);
13808 if (PyErr_Occurred()) SWIG_fail
;
13811 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13819 static PyObject
*_wrap_MouseEvent_AltDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13820 PyObject
*resultobj
;
13821 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13823 PyObject
* obj0
= 0 ;
13824 char *kwnames
[] = {
13825 (char *) "self", NULL
13828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_AltDown",kwnames
,&obj0
)) goto fail
;
13829 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13830 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13833 result
= (bool)((wxMouseEvent
const *)arg1
)->AltDown();
13835 wxPyEndAllowThreads(__tstate
);
13836 if (PyErr_Occurred()) SWIG_fail
;
13839 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13847 static PyObject
*_wrap_MouseEvent_ShiftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13848 PyObject
*resultobj
;
13849 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13851 PyObject
* obj0
= 0 ;
13852 char *kwnames
[] = {
13853 (char *) "self", NULL
13856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
13857 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13858 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13861 result
= (bool)((wxMouseEvent
const *)arg1
)->ShiftDown();
13863 wxPyEndAllowThreads(__tstate
);
13864 if (PyErr_Occurred()) SWIG_fail
;
13867 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13875 static PyObject
*_wrap_MouseEvent_LeftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13876 PyObject
*resultobj
;
13877 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13879 PyObject
* obj0
= 0 ;
13880 char *kwnames
[] = {
13881 (char *) "self", NULL
13884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftDown",kwnames
,&obj0
)) goto fail
;
13885 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13886 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13889 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDown();
13891 wxPyEndAllowThreads(__tstate
);
13892 if (PyErr_Occurred()) SWIG_fail
;
13895 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13903 static PyObject
*_wrap_MouseEvent_MiddleDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13904 PyObject
*resultobj
;
13905 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13907 PyObject
* obj0
= 0 ;
13908 char *kwnames
[] = {
13909 (char *) "self", NULL
13912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleDown",kwnames
,&obj0
)) goto fail
;
13913 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13914 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13917 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDown();
13919 wxPyEndAllowThreads(__tstate
);
13920 if (PyErr_Occurred()) SWIG_fail
;
13923 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13931 static PyObject
*_wrap_MouseEvent_RightDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13932 PyObject
*resultobj
;
13933 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13935 PyObject
* obj0
= 0 ;
13936 char *kwnames
[] = {
13937 (char *) "self", NULL
13940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightDown",kwnames
,&obj0
)) goto fail
;
13941 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13942 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13945 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDown();
13947 wxPyEndAllowThreads(__tstate
);
13948 if (PyErr_Occurred()) SWIG_fail
;
13951 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13959 static PyObject
*_wrap_MouseEvent_LeftUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13960 PyObject
*resultobj
;
13961 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13963 PyObject
* obj0
= 0 ;
13964 char *kwnames
[] = {
13965 (char *) "self", NULL
13968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftUp",kwnames
,&obj0
)) goto fail
;
13969 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13970 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13973 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftUp();
13975 wxPyEndAllowThreads(__tstate
);
13976 if (PyErr_Occurred()) SWIG_fail
;
13979 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13987 static PyObject
*_wrap_MouseEvent_MiddleUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13988 PyObject
*resultobj
;
13989 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13991 PyObject
* obj0
= 0 ;
13992 char *kwnames
[] = {
13993 (char *) "self", NULL
13996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleUp",kwnames
,&obj0
)) goto fail
;
13997 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13998 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14001 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleUp();
14003 wxPyEndAllowThreads(__tstate
);
14004 if (PyErr_Occurred()) SWIG_fail
;
14007 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14015 static PyObject
*_wrap_MouseEvent_RightUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14016 PyObject
*resultobj
;
14017 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14019 PyObject
* obj0
= 0 ;
14020 char *kwnames
[] = {
14021 (char *) "self", NULL
14024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightUp",kwnames
,&obj0
)) goto fail
;
14025 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14026 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14029 result
= (bool)((wxMouseEvent
const *)arg1
)->RightUp();
14031 wxPyEndAllowThreads(__tstate
);
14032 if (PyErr_Occurred()) SWIG_fail
;
14035 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14043 static PyObject
*_wrap_MouseEvent_LeftDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14044 PyObject
*resultobj
;
14045 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14047 PyObject
* obj0
= 0 ;
14048 char *kwnames
[] = {
14049 (char *) "self", NULL
14052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftDClick",kwnames
,&obj0
)) goto fail
;
14053 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14054 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14057 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDClick();
14059 wxPyEndAllowThreads(__tstate
);
14060 if (PyErr_Occurred()) SWIG_fail
;
14063 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14071 static PyObject
*_wrap_MouseEvent_MiddleDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14072 PyObject
*resultobj
;
14073 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14075 PyObject
* obj0
= 0 ;
14076 char *kwnames
[] = {
14077 (char *) "self", NULL
14080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleDClick",kwnames
,&obj0
)) goto fail
;
14081 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14082 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14085 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDClick();
14087 wxPyEndAllowThreads(__tstate
);
14088 if (PyErr_Occurred()) SWIG_fail
;
14091 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14099 static PyObject
*_wrap_MouseEvent_RightDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14100 PyObject
*resultobj
;
14101 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14103 PyObject
* obj0
= 0 ;
14104 char *kwnames
[] = {
14105 (char *) "self", NULL
14108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightDClick",kwnames
,&obj0
)) goto fail
;
14109 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14110 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14113 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDClick();
14115 wxPyEndAllowThreads(__tstate
);
14116 if (PyErr_Occurred()) SWIG_fail
;
14119 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14127 static PyObject
*_wrap_MouseEvent_LeftIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14128 PyObject
*resultobj
;
14129 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14131 PyObject
* obj0
= 0 ;
14132 char *kwnames
[] = {
14133 (char *) "self", NULL
14136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftIsDown",kwnames
,&obj0
)) goto fail
;
14137 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14138 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14141 result
= (bool)(arg1
)->LeftIsDown();
14143 wxPyEndAllowThreads(__tstate
);
14144 if (PyErr_Occurred()) SWIG_fail
;
14147 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14155 static PyObject
*_wrap_MouseEvent_MiddleIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14156 PyObject
*resultobj
;
14157 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14159 PyObject
* obj0
= 0 ;
14160 char *kwnames
[] = {
14161 (char *) "self", NULL
14164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleIsDown",kwnames
,&obj0
)) goto fail
;
14165 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14166 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14169 result
= (bool)(arg1
)->MiddleIsDown();
14171 wxPyEndAllowThreads(__tstate
);
14172 if (PyErr_Occurred()) SWIG_fail
;
14175 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14183 static PyObject
*_wrap_MouseEvent_RightIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14184 PyObject
*resultobj
;
14185 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14187 PyObject
* obj0
= 0 ;
14188 char *kwnames
[] = {
14189 (char *) "self", NULL
14192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightIsDown",kwnames
,&obj0
)) goto fail
;
14193 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14194 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14197 result
= (bool)(arg1
)->RightIsDown();
14199 wxPyEndAllowThreads(__tstate
);
14200 if (PyErr_Occurred()) SWIG_fail
;
14203 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14211 static PyObject
*_wrap_MouseEvent_Dragging(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14212 PyObject
*resultobj
;
14213 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14215 PyObject
* obj0
= 0 ;
14216 char *kwnames
[] = {
14217 (char *) "self", NULL
14220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Dragging",kwnames
,&obj0
)) goto fail
;
14221 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14222 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14225 result
= (bool)((wxMouseEvent
const *)arg1
)->Dragging();
14227 wxPyEndAllowThreads(__tstate
);
14228 if (PyErr_Occurred()) SWIG_fail
;
14231 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14239 static PyObject
*_wrap_MouseEvent_Moving(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14240 PyObject
*resultobj
;
14241 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14243 PyObject
* obj0
= 0 ;
14244 char *kwnames
[] = {
14245 (char *) "self", NULL
14248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Moving",kwnames
,&obj0
)) goto fail
;
14249 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14250 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14253 result
= (bool)((wxMouseEvent
const *)arg1
)->Moving();
14255 wxPyEndAllowThreads(__tstate
);
14256 if (PyErr_Occurred()) SWIG_fail
;
14259 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14267 static PyObject
*_wrap_MouseEvent_Entering(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14268 PyObject
*resultobj
;
14269 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14271 PyObject
* obj0
= 0 ;
14272 char *kwnames
[] = {
14273 (char *) "self", NULL
14276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Entering",kwnames
,&obj0
)) goto fail
;
14277 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14278 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14281 result
= (bool)((wxMouseEvent
const *)arg1
)->Entering();
14283 wxPyEndAllowThreads(__tstate
);
14284 if (PyErr_Occurred()) SWIG_fail
;
14287 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14295 static PyObject
*_wrap_MouseEvent_Leaving(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14296 PyObject
*resultobj
;
14297 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14299 PyObject
* obj0
= 0 ;
14300 char *kwnames
[] = {
14301 (char *) "self", NULL
14304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Leaving",kwnames
,&obj0
)) goto fail
;
14305 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14306 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14309 result
= (bool)((wxMouseEvent
const *)arg1
)->Leaving();
14311 wxPyEndAllowThreads(__tstate
);
14312 if (PyErr_Occurred()) SWIG_fail
;
14315 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14323 static PyObject
*_wrap_MouseEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14324 PyObject
*resultobj
;
14325 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14327 PyObject
* obj0
= 0 ;
14328 char *kwnames
[] = {
14329 (char *) "self", NULL
14332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
14333 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14334 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14337 result
= (arg1
)->GetPosition();
14339 wxPyEndAllowThreads(__tstate
);
14340 if (PyErr_Occurred()) SWIG_fail
;
14343 wxPoint
* resultptr
;
14344 resultptr
= new wxPoint((wxPoint
&) result
);
14345 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
14353 static PyObject
*_wrap_MouseEvent_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14354 PyObject
*resultobj
;
14355 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14356 long *arg2
= (long *) 0 ;
14357 long *arg3
= (long *) 0 ;
14360 PyObject
* obj0
= 0 ;
14361 char *kwnames
[] = {
14362 (char *) "self", NULL
14367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
14368 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14369 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14372 (arg1
)->GetPosition(arg2
,arg3
);
14374 wxPyEndAllowThreads(__tstate
);
14375 if (PyErr_Occurred()) SWIG_fail
;
14377 Py_INCREF(Py_None
); resultobj
= Py_None
;
14379 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
14380 resultobj
= t_output_helper(resultobj
,o
);
14383 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
14384 resultobj
= t_output_helper(resultobj
,o
);
14392 static PyObject
*_wrap_MouseEvent_GetLogicalPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14393 PyObject
*resultobj
;
14394 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14397 PyObject
* obj0
= 0 ;
14398 PyObject
* obj1
= 0 ;
14399 char *kwnames
[] = {
14400 (char *) "self",(char *) "dc", NULL
14403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_GetLogicalPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
14404 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14405 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14406 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
14407 SWIG_POINTER_EXCEPTION
| 0)) == -1)
14409 if (arg2
== NULL
) {
14410 PyErr_SetString(PyExc_TypeError
,"null reference");
14414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14415 result
= ((wxMouseEvent
const *)arg1
)->GetLogicalPosition((wxDC
const &)*arg2
);
14417 wxPyEndAllowThreads(__tstate
);
14418 if (PyErr_Occurred()) SWIG_fail
;
14421 wxPoint
* resultptr
;
14422 resultptr
= new wxPoint((wxPoint
&) result
);
14423 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
14431 static PyObject
*_wrap_MouseEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14432 PyObject
*resultobj
;
14433 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14435 PyObject
* obj0
= 0 ;
14436 char *kwnames
[] = {
14437 (char *) "self", NULL
14440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetX",kwnames
,&obj0
)) goto fail
;
14441 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14442 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14445 result
= (int)((wxMouseEvent
const *)arg1
)->GetX();
14447 wxPyEndAllowThreads(__tstate
);
14448 if (PyErr_Occurred()) SWIG_fail
;
14450 resultobj
= SWIG_FromInt((int)result
);
14457 static PyObject
*_wrap_MouseEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14458 PyObject
*resultobj
;
14459 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14461 PyObject
* obj0
= 0 ;
14462 char *kwnames
[] = {
14463 (char *) "self", NULL
14466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetY",kwnames
,&obj0
)) goto fail
;
14467 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14468 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14471 result
= (int)((wxMouseEvent
const *)arg1
)->GetY();
14473 wxPyEndAllowThreads(__tstate
);
14474 if (PyErr_Occurred()) SWIG_fail
;
14476 resultobj
= SWIG_FromInt((int)result
);
14483 static PyObject
*_wrap_MouseEvent_GetWheelRotation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14484 PyObject
*resultobj
;
14485 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14487 PyObject
* obj0
= 0 ;
14488 char *kwnames
[] = {
14489 (char *) "self", NULL
14492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetWheelRotation",kwnames
,&obj0
)) goto fail
;
14493 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14494 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14497 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelRotation();
14499 wxPyEndAllowThreads(__tstate
);
14500 if (PyErr_Occurred()) SWIG_fail
;
14502 resultobj
= SWIG_FromInt((int)result
);
14509 static PyObject
*_wrap_MouseEvent_GetWheelDelta(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14510 PyObject
*resultobj
;
14511 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14513 PyObject
* obj0
= 0 ;
14514 char *kwnames
[] = {
14515 (char *) "self", NULL
14518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetWheelDelta",kwnames
,&obj0
)) goto fail
;
14519 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14520 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14523 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelDelta();
14525 wxPyEndAllowThreads(__tstate
);
14526 if (PyErr_Occurred()) SWIG_fail
;
14528 resultobj
= SWIG_FromInt((int)result
);
14535 static PyObject
*_wrap_MouseEvent_GetLinesPerAction(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14536 PyObject
*resultobj
;
14537 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14539 PyObject
* obj0
= 0 ;
14540 char *kwnames
[] = {
14541 (char *) "self", NULL
14544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetLinesPerAction",kwnames
,&obj0
)) goto fail
;
14545 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14546 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14549 result
= (int)((wxMouseEvent
const *)arg1
)->GetLinesPerAction();
14551 wxPyEndAllowThreads(__tstate
);
14552 if (PyErr_Occurred()) SWIG_fail
;
14554 resultobj
= SWIG_FromInt((int)result
);
14561 static PyObject
*_wrap_MouseEvent_IsPageScroll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14562 PyObject
*resultobj
;
14563 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14565 PyObject
* obj0
= 0 ;
14566 char *kwnames
[] = {
14567 (char *) "self", NULL
14570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_IsPageScroll",kwnames
,&obj0
)) goto fail
;
14571 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14572 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14575 result
= (bool)((wxMouseEvent
const *)arg1
)->IsPageScroll();
14577 wxPyEndAllowThreads(__tstate
);
14578 if (PyErr_Occurred()) SWIG_fail
;
14581 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14589 static PyObject
*_wrap_MouseEvent_m_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14590 PyObject
*resultobj
;
14591 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14593 PyObject
* obj0
= 0 ;
14594 PyObject
* obj1
= 0 ;
14595 char *kwnames
[] = {
14596 (char *) "self",(char *) "m_x", NULL
14599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14600 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14601 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14602 arg2
= (int) SWIG_AsInt(obj1
);
14603 if (PyErr_Occurred()) SWIG_fail
;
14604 if (arg1
) (arg1
)->m_x
= arg2
;
14606 Py_INCREF(Py_None
); resultobj
= Py_None
;
14613 static PyObject
*_wrap_MouseEvent_m_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14614 PyObject
*resultobj
;
14615 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14617 PyObject
* obj0
= 0 ;
14618 char *kwnames
[] = {
14619 (char *) "self", NULL
14622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_x_get",kwnames
,&obj0
)) goto fail
;
14623 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14624 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14625 result
= (int) ((arg1
)->m_x
);
14627 resultobj
= SWIG_FromInt((int)result
);
14634 static PyObject
*_wrap_MouseEvent_m_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14635 PyObject
*resultobj
;
14636 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14638 PyObject
* obj0
= 0 ;
14639 PyObject
* obj1
= 0 ;
14640 char *kwnames
[] = {
14641 (char *) "self",(char *) "m_y", NULL
14644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14645 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14646 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14647 arg2
= (int) SWIG_AsInt(obj1
);
14648 if (PyErr_Occurred()) SWIG_fail
;
14649 if (arg1
) (arg1
)->m_y
= arg2
;
14651 Py_INCREF(Py_None
); resultobj
= Py_None
;
14658 static PyObject
*_wrap_MouseEvent_m_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14659 PyObject
*resultobj
;
14660 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14662 PyObject
* obj0
= 0 ;
14663 char *kwnames
[] = {
14664 (char *) "self", NULL
14667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_y_get",kwnames
,&obj0
)) goto fail
;
14668 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14669 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14670 result
= (int) ((arg1
)->m_y
);
14672 resultobj
= SWIG_FromInt((int)result
);
14679 static PyObject
*_wrap_MouseEvent_m_leftDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14680 PyObject
*resultobj
;
14681 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14683 PyObject
* obj0
= 0 ;
14684 PyObject
* obj1
= 0 ;
14685 char *kwnames
[] = {
14686 (char *) "self",(char *) "m_leftDown", NULL
14689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_leftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14690 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14691 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14692 arg2
= (bool) SWIG_AsBool(obj1
);
14693 if (PyErr_Occurred()) SWIG_fail
;
14694 if (arg1
) (arg1
)->m_leftDown
= arg2
;
14696 Py_INCREF(Py_None
); resultobj
= Py_None
;
14703 static PyObject
*_wrap_MouseEvent_m_leftDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14704 PyObject
*resultobj
;
14705 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14707 PyObject
* obj0
= 0 ;
14708 char *kwnames
[] = {
14709 (char *) "self", NULL
14712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_leftDown_get",kwnames
,&obj0
)) goto fail
;
14713 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14714 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14715 result
= (bool) ((arg1
)->m_leftDown
);
14718 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14726 static PyObject
*_wrap_MouseEvent_m_middleDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14727 PyObject
*resultobj
;
14728 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14730 PyObject
* obj0
= 0 ;
14731 PyObject
* obj1
= 0 ;
14732 char *kwnames
[] = {
14733 (char *) "self",(char *) "m_middleDown", NULL
14736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_middleDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14737 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14738 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14739 arg2
= (bool) SWIG_AsBool(obj1
);
14740 if (PyErr_Occurred()) SWIG_fail
;
14741 if (arg1
) (arg1
)->m_middleDown
= arg2
;
14743 Py_INCREF(Py_None
); resultobj
= Py_None
;
14750 static PyObject
*_wrap_MouseEvent_m_middleDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14751 PyObject
*resultobj
;
14752 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14754 PyObject
* obj0
= 0 ;
14755 char *kwnames
[] = {
14756 (char *) "self", NULL
14759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_middleDown_get",kwnames
,&obj0
)) goto fail
;
14760 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14761 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14762 result
= (bool) ((arg1
)->m_middleDown
);
14765 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14773 static PyObject
*_wrap_MouseEvent_m_rightDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14774 PyObject
*resultobj
;
14775 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14777 PyObject
* obj0
= 0 ;
14778 PyObject
* obj1
= 0 ;
14779 char *kwnames
[] = {
14780 (char *) "self",(char *) "m_rightDown", NULL
14783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_rightDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14784 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14785 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14786 arg2
= (bool) SWIG_AsBool(obj1
);
14787 if (PyErr_Occurred()) SWIG_fail
;
14788 if (arg1
) (arg1
)->m_rightDown
= arg2
;
14790 Py_INCREF(Py_None
); resultobj
= Py_None
;
14797 static PyObject
*_wrap_MouseEvent_m_rightDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14798 PyObject
*resultobj
;
14799 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14801 PyObject
* obj0
= 0 ;
14802 char *kwnames
[] = {
14803 (char *) "self", NULL
14806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_rightDown_get",kwnames
,&obj0
)) goto fail
;
14807 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14808 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14809 result
= (bool) ((arg1
)->m_rightDown
);
14812 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14820 static PyObject
*_wrap_MouseEvent_m_controlDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14821 PyObject
*resultobj
;
14822 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14824 PyObject
* obj0
= 0 ;
14825 PyObject
* obj1
= 0 ;
14826 char *kwnames
[] = {
14827 (char *) "self",(char *) "m_controlDown", NULL
14830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_controlDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14831 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14832 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14833 arg2
= (bool) SWIG_AsBool(obj1
);
14834 if (PyErr_Occurred()) SWIG_fail
;
14835 if (arg1
) (arg1
)->m_controlDown
= arg2
;
14837 Py_INCREF(Py_None
); resultobj
= Py_None
;
14844 static PyObject
*_wrap_MouseEvent_m_controlDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14845 PyObject
*resultobj
;
14846 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14848 PyObject
* obj0
= 0 ;
14849 char *kwnames
[] = {
14850 (char *) "self", NULL
14853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_controlDown_get",kwnames
,&obj0
)) goto fail
;
14854 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14855 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14856 result
= (bool) ((arg1
)->m_controlDown
);
14859 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14867 static PyObject
*_wrap_MouseEvent_m_shiftDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14868 PyObject
*resultobj
;
14869 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14871 PyObject
* obj0
= 0 ;
14872 PyObject
* obj1
= 0 ;
14873 char *kwnames
[] = {
14874 (char *) "self",(char *) "m_shiftDown", NULL
14877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_shiftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14878 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14879 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14880 arg2
= (bool) SWIG_AsBool(obj1
);
14881 if (PyErr_Occurred()) SWIG_fail
;
14882 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
14884 Py_INCREF(Py_None
); resultobj
= Py_None
;
14891 static PyObject
*_wrap_MouseEvent_m_shiftDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14892 PyObject
*resultobj
;
14893 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14895 PyObject
* obj0
= 0 ;
14896 char *kwnames
[] = {
14897 (char *) "self", NULL
14900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_shiftDown_get",kwnames
,&obj0
)) goto fail
;
14901 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14902 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14903 result
= (bool) ((arg1
)->m_shiftDown
);
14906 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14914 static PyObject
*_wrap_MouseEvent_m_altDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14915 PyObject
*resultobj
;
14916 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14918 PyObject
* obj0
= 0 ;
14919 PyObject
* obj1
= 0 ;
14920 char *kwnames
[] = {
14921 (char *) "self",(char *) "m_altDown", NULL
14924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_altDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14925 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14926 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14927 arg2
= (bool) SWIG_AsBool(obj1
);
14928 if (PyErr_Occurred()) SWIG_fail
;
14929 if (arg1
) (arg1
)->m_altDown
= arg2
;
14931 Py_INCREF(Py_None
); resultobj
= Py_None
;
14938 static PyObject
*_wrap_MouseEvent_m_altDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14939 PyObject
*resultobj
;
14940 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14942 PyObject
* obj0
= 0 ;
14943 char *kwnames
[] = {
14944 (char *) "self", NULL
14947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_altDown_get",kwnames
,&obj0
)) goto fail
;
14948 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14949 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14950 result
= (bool) ((arg1
)->m_altDown
);
14953 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14961 static PyObject
*_wrap_MouseEvent_m_metaDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14962 PyObject
*resultobj
;
14963 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14965 PyObject
* obj0
= 0 ;
14966 PyObject
* obj1
= 0 ;
14967 char *kwnames
[] = {
14968 (char *) "self",(char *) "m_metaDown", NULL
14971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_metaDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14972 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14973 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14974 arg2
= (bool) SWIG_AsBool(obj1
);
14975 if (PyErr_Occurred()) SWIG_fail
;
14976 if (arg1
) (arg1
)->m_metaDown
= arg2
;
14978 Py_INCREF(Py_None
); resultobj
= Py_None
;
14985 static PyObject
*_wrap_MouseEvent_m_metaDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14986 PyObject
*resultobj
;
14987 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14989 PyObject
* obj0
= 0 ;
14990 char *kwnames
[] = {
14991 (char *) "self", NULL
14994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_metaDown_get",kwnames
,&obj0
)) goto fail
;
14995 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14996 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14997 result
= (bool) ((arg1
)->m_metaDown
);
15000 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15008 static PyObject
*_wrap_MouseEvent_m_wheelRotation_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15009 PyObject
*resultobj
;
15010 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15012 PyObject
* obj0
= 0 ;
15013 PyObject
* obj1
= 0 ;
15014 char *kwnames
[] = {
15015 (char *) "self",(char *) "m_wheelRotation", NULL
15018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_wheelRotation_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15019 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15020 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15021 arg2
= (int) SWIG_AsInt(obj1
);
15022 if (PyErr_Occurred()) SWIG_fail
;
15023 if (arg1
) (arg1
)->m_wheelRotation
= arg2
;
15025 Py_INCREF(Py_None
); resultobj
= Py_None
;
15032 static PyObject
*_wrap_MouseEvent_m_wheelRotation_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15033 PyObject
*resultobj
;
15034 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15036 PyObject
* obj0
= 0 ;
15037 char *kwnames
[] = {
15038 (char *) "self", NULL
15041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_wheelRotation_get",kwnames
,&obj0
)) goto fail
;
15042 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15043 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15044 result
= (int) ((arg1
)->m_wheelRotation
);
15046 resultobj
= SWIG_FromInt((int)result
);
15053 static PyObject
*_wrap_MouseEvent_m_wheelDelta_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15054 PyObject
*resultobj
;
15055 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15057 PyObject
* obj0
= 0 ;
15058 PyObject
* obj1
= 0 ;
15059 char *kwnames
[] = {
15060 (char *) "self",(char *) "m_wheelDelta", NULL
15063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_wheelDelta_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15064 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15065 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15066 arg2
= (int) SWIG_AsInt(obj1
);
15067 if (PyErr_Occurred()) SWIG_fail
;
15068 if (arg1
) (arg1
)->m_wheelDelta
= arg2
;
15070 Py_INCREF(Py_None
); resultobj
= Py_None
;
15077 static PyObject
*_wrap_MouseEvent_m_wheelDelta_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15078 PyObject
*resultobj
;
15079 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15081 PyObject
* obj0
= 0 ;
15082 char *kwnames
[] = {
15083 (char *) "self", NULL
15086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_wheelDelta_get",kwnames
,&obj0
)) goto fail
;
15087 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15088 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15089 result
= (int) ((arg1
)->m_wheelDelta
);
15091 resultobj
= SWIG_FromInt((int)result
);
15098 static PyObject
*_wrap_MouseEvent_m_linesPerAction_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15099 PyObject
*resultobj
;
15100 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15102 PyObject
* obj0
= 0 ;
15103 PyObject
* obj1
= 0 ;
15104 char *kwnames
[] = {
15105 (char *) "self",(char *) "m_linesPerAction", NULL
15108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_linesPerAction_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15109 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15110 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15111 arg2
= (int) SWIG_AsInt(obj1
);
15112 if (PyErr_Occurred()) SWIG_fail
;
15113 if (arg1
) (arg1
)->m_linesPerAction
= arg2
;
15115 Py_INCREF(Py_None
); resultobj
= Py_None
;
15122 static PyObject
*_wrap_MouseEvent_m_linesPerAction_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15123 PyObject
*resultobj
;
15124 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15126 PyObject
* obj0
= 0 ;
15127 char *kwnames
[] = {
15128 (char *) "self", NULL
15131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_linesPerAction_get",kwnames
,&obj0
)) goto fail
;
15132 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15133 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15134 result
= (int) ((arg1
)->m_linesPerAction
);
15136 resultobj
= SWIG_FromInt((int)result
);
15143 static PyObject
* MouseEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15145 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15146 SWIG_TypeClientData(SWIGTYPE_p_wxMouseEvent
, obj
);
15148 return Py_BuildValue((char *)"");
15150 static PyObject
*_wrap_new_SetCursorEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15151 PyObject
*resultobj
;
15152 int arg1
= (int) 0 ;
15153 int arg2
= (int) 0 ;
15154 wxSetCursorEvent
*result
;
15155 PyObject
* obj0
= 0 ;
15156 PyObject
* obj1
= 0 ;
15157 char *kwnames
[] = {
15158 (char *) "x",(char *) "y", NULL
15161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SetCursorEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
15163 arg1
= (int) SWIG_AsInt(obj0
);
15164 if (PyErr_Occurred()) SWIG_fail
;
15167 arg2
= (int) SWIG_AsInt(obj1
);
15168 if (PyErr_Occurred()) SWIG_fail
;
15171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15172 result
= (wxSetCursorEvent
*)new wxSetCursorEvent(arg1
,arg2
);
15174 wxPyEndAllowThreads(__tstate
);
15175 if (PyErr_Occurred()) SWIG_fail
;
15177 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSetCursorEvent
, 1);
15184 static PyObject
*_wrap_SetCursorEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15185 PyObject
*resultobj
;
15186 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15188 PyObject
* obj0
= 0 ;
15189 char *kwnames
[] = {
15190 (char *) "self", NULL
15193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetX",kwnames
,&obj0
)) goto fail
;
15194 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15195 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15198 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetX();
15200 wxPyEndAllowThreads(__tstate
);
15201 if (PyErr_Occurred()) SWIG_fail
;
15203 resultobj
= SWIG_FromInt((int)result
);
15210 static PyObject
*_wrap_SetCursorEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15211 PyObject
*resultobj
;
15212 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15214 PyObject
* obj0
= 0 ;
15215 char *kwnames
[] = {
15216 (char *) "self", NULL
15219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetY",kwnames
,&obj0
)) goto fail
;
15220 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15221 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15224 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetY();
15226 wxPyEndAllowThreads(__tstate
);
15227 if (PyErr_Occurred()) SWIG_fail
;
15229 resultobj
= SWIG_FromInt((int)result
);
15236 static PyObject
*_wrap_SetCursorEvent_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15237 PyObject
*resultobj
;
15238 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15239 wxCursor
*arg2
= 0 ;
15240 PyObject
* obj0
= 0 ;
15241 PyObject
* obj1
= 0 ;
15242 char *kwnames
[] = {
15243 (char *) "self",(char *) "cursor", NULL
15246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SetCursorEvent_SetCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
15247 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15248 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15249 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
15250 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15252 if (arg2
== NULL
) {
15253 PyErr_SetString(PyExc_TypeError
,"null reference");
15257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15258 (arg1
)->SetCursor((wxCursor
const &)*arg2
);
15260 wxPyEndAllowThreads(__tstate
);
15261 if (PyErr_Occurred()) SWIG_fail
;
15263 Py_INCREF(Py_None
); resultobj
= Py_None
;
15270 static PyObject
*_wrap_SetCursorEvent_GetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15271 PyObject
*resultobj
;
15272 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15274 PyObject
* obj0
= 0 ;
15275 char *kwnames
[] = {
15276 (char *) "self", NULL
15279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetCursor",kwnames
,&obj0
)) goto fail
;
15280 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15281 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15285 wxCursor
const &_result_ref
= ((wxSetCursorEvent
const *)arg1
)->GetCursor();
15286 result
= (wxCursor
*) &_result_ref
;
15289 wxPyEndAllowThreads(__tstate
);
15290 if (PyErr_Occurred()) SWIG_fail
;
15293 wxCursor
* resultptr
= new wxCursor(*result
);
15294 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxCursor
, 1);
15302 static PyObject
*_wrap_SetCursorEvent_HasCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15303 PyObject
*resultobj
;
15304 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15306 PyObject
* obj0
= 0 ;
15307 char *kwnames
[] = {
15308 (char *) "self", NULL
15311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_HasCursor",kwnames
,&obj0
)) goto fail
;
15312 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15313 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15316 result
= (bool)((wxSetCursorEvent
const *)arg1
)->HasCursor();
15318 wxPyEndAllowThreads(__tstate
);
15319 if (PyErr_Occurred()) SWIG_fail
;
15322 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15330 static PyObject
* SetCursorEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15332 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15333 SWIG_TypeClientData(SWIGTYPE_p_wxSetCursorEvent
, obj
);
15335 return Py_BuildValue((char *)"");
15337 static PyObject
*_wrap_new_KeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15338 PyObject
*resultobj
;
15339 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15340 wxKeyEvent
*result
;
15341 PyObject
* obj0
= 0 ;
15342 char *kwnames
[] = {
15343 (char *) "keyType", NULL
15346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_KeyEvent",kwnames
,&obj0
)) goto fail
;
15348 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
15349 if (PyErr_Occurred()) SWIG_fail
;
15352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15353 result
= (wxKeyEvent
*)new wxKeyEvent(arg1
);
15355 wxPyEndAllowThreads(__tstate
);
15356 if (PyErr_Occurred()) SWIG_fail
;
15358 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxKeyEvent
, 1);
15365 static PyObject
*_wrap_KeyEvent_ControlDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15366 PyObject
*resultobj
;
15367 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15369 PyObject
* obj0
= 0 ;
15370 char *kwnames
[] = {
15371 (char *) "self", NULL
15374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
15375 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15379 result
= (bool)((wxKeyEvent
const *)arg1
)->ControlDown();
15381 wxPyEndAllowThreads(__tstate
);
15382 if (PyErr_Occurred()) SWIG_fail
;
15385 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15393 static PyObject
*_wrap_KeyEvent_MetaDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15394 PyObject
*resultobj
;
15395 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15397 PyObject
* obj0
= 0 ;
15398 char *kwnames
[] = {
15399 (char *) "self", NULL
15402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
15403 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15404 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15407 result
= (bool)((wxKeyEvent
const *)arg1
)->MetaDown();
15409 wxPyEndAllowThreads(__tstate
);
15410 if (PyErr_Occurred()) SWIG_fail
;
15413 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15421 static PyObject
*_wrap_KeyEvent_AltDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15422 PyObject
*resultobj
;
15423 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15425 PyObject
* obj0
= 0 ;
15426 char *kwnames
[] = {
15427 (char *) "self", NULL
15430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_AltDown",kwnames
,&obj0
)) goto fail
;
15431 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15432 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15435 result
= (bool)((wxKeyEvent
const *)arg1
)->AltDown();
15437 wxPyEndAllowThreads(__tstate
);
15438 if (PyErr_Occurred()) SWIG_fail
;
15441 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15449 static PyObject
*_wrap_KeyEvent_ShiftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15450 PyObject
*resultobj
;
15451 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15453 PyObject
* obj0
= 0 ;
15454 char *kwnames
[] = {
15455 (char *) "self", NULL
15458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
15459 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15460 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15463 result
= (bool)((wxKeyEvent
const *)arg1
)->ShiftDown();
15465 wxPyEndAllowThreads(__tstate
);
15466 if (PyErr_Occurred()) SWIG_fail
;
15469 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15477 static PyObject
*_wrap_KeyEvent_HasModifiers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15478 PyObject
*resultobj
;
15479 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15481 PyObject
* obj0
= 0 ;
15482 char *kwnames
[] = {
15483 (char *) "self", NULL
15486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_HasModifiers",kwnames
,&obj0
)) goto fail
;
15487 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15488 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15491 result
= (bool)((wxKeyEvent
const *)arg1
)->HasModifiers();
15493 wxPyEndAllowThreads(__tstate
);
15494 if (PyErr_Occurred()) SWIG_fail
;
15497 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15505 static PyObject
*_wrap_KeyEvent_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15506 PyObject
*resultobj
;
15507 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15509 PyObject
* obj0
= 0 ;
15510 char *kwnames
[] = {
15511 (char *) "self", NULL
15514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
15515 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15516 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15519 result
= (int)((wxKeyEvent
const *)arg1
)->GetKeyCode();
15521 wxPyEndAllowThreads(__tstate
);
15522 if (PyErr_Occurred()) SWIG_fail
;
15524 resultobj
= SWIG_FromInt((int)result
);
15531 static PyObject
*_wrap_KeyEvent_GetUniChar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15532 PyObject
*resultobj
;
15533 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15535 PyObject
* obj0
= 0 ;
15536 char *kwnames
[] = {
15537 (char *) "self", NULL
15540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetUniChar",kwnames
,&obj0
)) goto fail
;
15541 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15542 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15545 result
= (int)wxKeyEvent_GetUniChar(arg1
);
15547 wxPyEndAllowThreads(__tstate
);
15548 if (PyErr_Occurred()) SWIG_fail
;
15550 resultobj
= SWIG_FromInt((int)result
);
15557 static PyObject
*_wrap_KeyEvent_GetRawKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15558 PyObject
*resultobj
;
15559 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15560 unsigned int result
;
15561 PyObject
* obj0
= 0 ;
15562 char *kwnames
[] = {
15563 (char *) "self", NULL
15566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetRawKeyCode",kwnames
,&obj0
)) goto fail
;
15567 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15568 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15571 result
= (unsigned int)((wxKeyEvent
const *)arg1
)->GetRawKeyCode();
15573 wxPyEndAllowThreads(__tstate
);
15574 if (PyErr_Occurred()) SWIG_fail
;
15576 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
15583 static PyObject
*_wrap_KeyEvent_GetRawKeyFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15584 PyObject
*resultobj
;
15585 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15586 unsigned int result
;
15587 PyObject
* obj0
= 0 ;
15588 char *kwnames
[] = {
15589 (char *) "self", NULL
15592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetRawKeyFlags",kwnames
,&obj0
)) goto fail
;
15593 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15594 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15597 result
= (unsigned int)((wxKeyEvent
const *)arg1
)->GetRawKeyFlags();
15599 wxPyEndAllowThreads(__tstate
);
15600 if (PyErr_Occurred()) SWIG_fail
;
15602 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
15609 static PyObject
*_wrap_KeyEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15610 PyObject
*resultobj
;
15611 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15613 PyObject
* obj0
= 0 ;
15614 char *kwnames
[] = {
15615 (char *) "self", NULL
15618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
15619 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15620 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15623 result
= (arg1
)->GetPosition();
15625 wxPyEndAllowThreads(__tstate
);
15626 if (PyErr_Occurred()) SWIG_fail
;
15629 wxPoint
* resultptr
;
15630 resultptr
= new wxPoint((wxPoint
&) result
);
15631 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
15639 static PyObject
*_wrap_KeyEvent_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15640 PyObject
*resultobj
;
15641 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15642 long *arg2
= (long *) 0 ;
15643 long *arg3
= (long *) 0 ;
15646 PyObject
* obj0
= 0 ;
15647 char *kwnames
[] = {
15648 (char *) "self", NULL
15653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
15654 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15655 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15658 (arg1
)->GetPosition(arg2
,arg3
);
15660 wxPyEndAllowThreads(__tstate
);
15661 if (PyErr_Occurred()) SWIG_fail
;
15663 Py_INCREF(Py_None
); resultobj
= Py_None
;
15665 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
15666 resultobj
= t_output_helper(resultobj
,o
);
15669 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15670 resultobj
= t_output_helper(resultobj
,o
);
15678 static PyObject
*_wrap_KeyEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15679 PyObject
*resultobj
;
15680 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15682 PyObject
* obj0
= 0 ;
15683 char *kwnames
[] = {
15684 (char *) "self", NULL
15687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetX",kwnames
,&obj0
)) goto fail
;
15688 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15689 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15692 result
= (int)((wxKeyEvent
const *)arg1
)->GetX();
15694 wxPyEndAllowThreads(__tstate
);
15695 if (PyErr_Occurred()) SWIG_fail
;
15697 resultobj
= SWIG_FromInt((int)result
);
15704 static PyObject
*_wrap_KeyEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15705 PyObject
*resultobj
;
15706 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15708 PyObject
* obj0
= 0 ;
15709 char *kwnames
[] = {
15710 (char *) "self", NULL
15713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetY",kwnames
,&obj0
)) goto fail
;
15714 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15715 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15718 result
= (int)((wxKeyEvent
const *)arg1
)->GetY();
15720 wxPyEndAllowThreads(__tstate
);
15721 if (PyErr_Occurred()) SWIG_fail
;
15723 resultobj
= SWIG_FromInt((int)result
);
15730 static PyObject
*_wrap_KeyEvent_m_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15731 PyObject
*resultobj
;
15732 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15734 PyObject
* obj0
= 0 ;
15735 PyObject
* obj1
= 0 ;
15736 char *kwnames
[] = {
15737 (char *) "self",(char *) "m_x", NULL
15740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15741 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15742 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15743 arg2
= (int) SWIG_AsInt(obj1
);
15744 if (PyErr_Occurred()) SWIG_fail
;
15745 if (arg1
) (arg1
)->m_x
= arg2
;
15747 Py_INCREF(Py_None
); resultobj
= Py_None
;
15754 static PyObject
*_wrap_KeyEvent_m_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15755 PyObject
*resultobj
;
15756 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15758 PyObject
* obj0
= 0 ;
15759 char *kwnames
[] = {
15760 (char *) "self", NULL
15763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_x_get",kwnames
,&obj0
)) goto fail
;
15764 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15765 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15766 result
= (int) ((arg1
)->m_x
);
15768 resultobj
= SWIG_FromInt((int)result
);
15775 static PyObject
*_wrap_KeyEvent_m_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15776 PyObject
*resultobj
;
15777 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15779 PyObject
* obj0
= 0 ;
15780 PyObject
* obj1
= 0 ;
15781 char *kwnames
[] = {
15782 (char *) "self",(char *) "m_y", NULL
15785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15786 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15787 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15788 arg2
= (int) SWIG_AsInt(obj1
);
15789 if (PyErr_Occurred()) SWIG_fail
;
15790 if (arg1
) (arg1
)->m_y
= arg2
;
15792 Py_INCREF(Py_None
); resultobj
= Py_None
;
15799 static PyObject
*_wrap_KeyEvent_m_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15800 PyObject
*resultobj
;
15801 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15803 PyObject
* obj0
= 0 ;
15804 char *kwnames
[] = {
15805 (char *) "self", NULL
15808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_y_get",kwnames
,&obj0
)) goto fail
;
15809 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15810 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15811 result
= (int) ((arg1
)->m_y
);
15813 resultobj
= SWIG_FromInt((int)result
);
15820 static PyObject
*_wrap_KeyEvent_m_keyCode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15821 PyObject
*resultobj
;
15822 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15824 PyObject
* obj0
= 0 ;
15825 PyObject
* obj1
= 0 ;
15826 char *kwnames
[] = {
15827 (char *) "self",(char *) "m_keyCode", NULL
15830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_keyCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15831 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15832 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15833 arg2
= (long) SWIG_AsLong(obj1
);
15834 if (PyErr_Occurred()) SWIG_fail
;
15835 if (arg1
) (arg1
)->m_keyCode
= arg2
;
15837 Py_INCREF(Py_None
); resultobj
= Py_None
;
15844 static PyObject
*_wrap_KeyEvent_m_keyCode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15845 PyObject
*resultobj
;
15846 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15848 PyObject
* obj0
= 0 ;
15849 char *kwnames
[] = {
15850 (char *) "self", NULL
15853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_keyCode_get",kwnames
,&obj0
)) goto fail
;
15854 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15855 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15856 result
= (long) ((arg1
)->m_keyCode
);
15858 resultobj
= SWIG_FromLong((long)result
);
15865 static PyObject
*_wrap_KeyEvent_m_controlDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15866 PyObject
*resultobj
;
15867 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15869 PyObject
* obj0
= 0 ;
15870 PyObject
* obj1
= 0 ;
15871 char *kwnames
[] = {
15872 (char *) "self",(char *) "m_controlDown", NULL
15875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_controlDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15876 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15877 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15878 arg2
= (bool) SWIG_AsBool(obj1
);
15879 if (PyErr_Occurred()) SWIG_fail
;
15880 if (arg1
) (arg1
)->m_controlDown
= arg2
;
15882 Py_INCREF(Py_None
); resultobj
= Py_None
;
15889 static PyObject
*_wrap_KeyEvent_m_controlDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15890 PyObject
*resultobj
;
15891 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15893 PyObject
* obj0
= 0 ;
15894 char *kwnames
[] = {
15895 (char *) "self", NULL
15898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_controlDown_get",kwnames
,&obj0
)) goto fail
;
15899 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15900 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15901 result
= (bool) ((arg1
)->m_controlDown
);
15904 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15912 static PyObject
*_wrap_KeyEvent_m_shiftDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15913 PyObject
*resultobj
;
15914 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15916 PyObject
* obj0
= 0 ;
15917 PyObject
* obj1
= 0 ;
15918 char *kwnames
[] = {
15919 (char *) "self",(char *) "m_shiftDown", NULL
15922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_shiftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15923 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15924 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15925 arg2
= (bool) SWIG_AsBool(obj1
);
15926 if (PyErr_Occurred()) SWIG_fail
;
15927 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
15929 Py_INCREF(Py_None
); resultobj
= Py_None
;
15936 static PyObject
*_wrap_KeyEvent_m_shiftDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15937 PyObject
*resultobj
;
15938 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15940 PyObject
* obj0
= 0 ;
15941 char *kwnames
[] = {
15942 (char *) "self", NULL
15945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_shiftDown_get",kwnames
,&obj0
)) goto fail
;
15946 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15947 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15948 result
= (bool) ((arg1
)->m_shiftDown
);
15951 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15959 static PyObject
*_wrap_KeyEvent_m_altDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15960 PyObject
*resultobj
;
15961 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15963 PyObject
* obj0
= 0 ;
15964 PyObject
* obj1
= 0 ;
15965 char *kwnames
[] = {
15966 (char *) "self",(char *) "m_altDown", NULL
15969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_altDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15970 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15971 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15972 arg2
= (bool) SWIG_AsBool(obj1
);
15973 if (PyErr_Occurred()) SWIG_fail
;
15974 if (arg1
) (arg1
)->m_altDown
= arg2
;
15976 Py_INCREF(Py_None
); resultobj
= Py_None
;
15983 static PyObject
*_wrap_KeyEvent_m_altDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15984 PyObject
*resultobj
;
15985 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15987 PyObject
* obj0
= 0 ;
15988 char *kwnames
[] = {
15989 (char *) "self", NULL
15992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_altDown_get",kwnames
,&obj0
)) goto fail
;
15993 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15994 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15995 result
= (bool) ((arg1
)->m_altDown
);
15998 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16006 static PyObject
*_wrap_KeyEvent_m_metaDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16007 PyObject
*resultobj
;
16008 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16010 PyObject
* obj0
= 0 ;
16011 PyObject
* obj1
= 0 ;
16012 char *kwnames
[] = {
16013 (char *) "self",(char *) "m_metaDown", NULL
16016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_metaDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16017 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16018 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16019 arg2
= (bool) SWIG_AsBool(obj1
);
16020 if (PyErr_Occurred()) SWIG_fail
;
16021 if (arg1
) (arg1
)->m_metaDown
= arg2
;
16023 Py_INCREF(Py_None
); resultobj
= Py_None
;
16030 static PyObject
*_wrap_KeyEvent_m_metaDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16031 PyObject
*resultobj
;
16032 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16034 PyObject
* obj0
= 0 ;
16035 char *kwnames
[] = {
16036 (char *) "self", NULL
16039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_metaDown_get",kwnames
,&obj0
)) goto fail
;
16040 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16041 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16042 result
= (bool) ((arg1
)->m_metaDown
);
16045 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16053 static PyObject
*_wrap_KeyEvent_m_scanCode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16054 PyObject
*resultobj
;
16055 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16057 PyObject
* obj0
= 0 ;
16058 PyObject
* obj1
= 0 ;
16059 char *kwnames
[] = {
16060 (char *) "self",(char *) "m_scanCode", NULL
16063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_scanCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16064 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16065 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16066 arg2
= (bool) SWIG_AsBool(obj1
);
16067 if (PyErr_Occurred()) SWIG_fail
;
16068 if (arg1
) (arg1
)->m_scanCode
= arg2
;
16070 Py_INCREF(Py_None
); resultobj
= Py_None
;
16077 static PyObject
*_wrap_KeyEvent_m_scanCode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16078 PyObject
*resultobj
;
16079 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16081 PyObject
* obj0
= 0 ;
16082 char *kwnames
[] = {
16083 (char *) "self", NULL
16086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_scanCode_get",kwnames
,&obj0
)) goto fail
;
16087 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16088 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16089 result
= (bool) ((arg1
)->m_scanCode
);
16092 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16100 static PyObject
*_wrap_KeyEvent_m_rawCode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16101 PyObject
*resultobj
;
16102 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16103 unsigned int arg2
;
16104 PyObject
* obj0
= 0 ;
16105 PyObject
* obj1
= 0 ;
16106 char *kwnames
[] = {
16107 (char *) "self",(char *) "m_rawCode", NULL
16110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_rawCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16111 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16112 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16113 arg2
= (unsigned int) SWIG_AsUnsignedInt(obj1
);
16114 if (PyErr_Occurred()) SWIG_fail
;
16115 if (arg1
) (arg1
)->m_rawCode
= arg2
;
16117 Py_INCREF(Py_None
); resultobj
= Py_None
;
16124 static PyObject
*_wrap_KeyEvent_m_rawCode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16125 PyObject
*resultobj
;
16126 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16127 unsigned int result
;
16128 PyObject
* obj0
= 0 ;
16129 char *kwnames
[] = {
16130 (char *) "self", NULL
16133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_rawCode_get",kwnames
,&obj0
)) goto fail
;
16134 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16135 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16136 result
= (unsigned int) ((arg1
)->m_rawCode
);
16138 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
16145 static PyObject
*_wrap_KeyEvent_m_rawFlags_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16146 PyObject
*resultobj
;
16147 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16148 unsigned int arg2
;
16149 PyObject
* obj0
= 0 ;
16150 PyObject
* obj1
= 0 ;
16151 char *kwnames
[] = {
16152 (char *) "self",(char *) "m_rawFlags", NULL
16155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_rawFlags_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16156 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16157 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16158 arg2
= (unsigned int) SWIG_AsUnsignedInt(obj1
);
16159 if (PyErr_Occurred()) SWIG_fail
;
16160 if (arg1
) (arg1
)->m_rawFlags
= arg2
;
16162 Py_INCREF(Py_None
); resultobj
= Py_None
;
16169 static PyObject
*_wrap_KeyEvent_m_rawFlags_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16170 PyObject
*resultobj
;
16171 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16172 unsigned int result
;
16173 PyObject
* obj0
= 0 ;
16174 char *kwnames
[] = {
16175 (char *) "self", NULL
16178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_rawFlags_get",kwnames
,&obj0
)) goto fail
;
16179 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16180 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16181 result
= (unsigned int) ((arg1
)->m_rawFlags
);
16183 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
16190 static PyObject
* KeyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16192 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16193 SWIG_TypeClientData(SWIGTYPE_p_wxKeyEvent
, obj
);
16195 return Py_BuildValue((char *)"");
16197 static PyObject
*_wrap_new_SizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16198 PyObject
*resultobj
;
16199 wxSize
const &arg1_defvalue
= wxDefaultSize
;
16200 wxSize
*arg1
= (wxSize
*) &arg1_defvalue
;
16201 int arg2
= (int) 0 ;
16202 wxSizeEvent
*result
;
16204 PyObject
* obj0
= 0 ;
16205 PyObject
* obj1
= 0 ;
16206 char *kwnames
[] = {
16207 (char *) "sz",(char *) "winid", NULL
16210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SizeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
16214 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
16218 arg2
= (int) SWIG_AsInt(obj1
);
16219 if (PyErr_Occurred()) SWIG_fail
;
16222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16223 result
= (wxSizeEvent
*)new wxSizeEvent((wxSize
const &)*arg1
,arg2
);
16225 wxPyEndAllowThreads(__tstate
);
16226 if (PyErr_Occurred()) SWIG_fail
;
16228 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizeEvent
, 1);
16235 static PyObject
*_wrap_SizeEvent_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16236 PyObject
*resultobj
;
16237 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16239 PyObject
* obj0
= 0 ;
16240 char *kwnames
[] = {
16241 (char *) "self", NULL
16244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_GetSize",kwnames
,&obj0
)) goto fail
;
16245 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16246 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16249 result
= ((wxSizeEvent
const *)arg1
)->GetSize();
16251 wxPyEndAllowThreads(__tstate
);
16252 if (PyErr_Occurred()) SWIG_fail
;
16255 wxSize
* resultptr
;
16256 resultptr
= new wxSize((wxSize
&) result
);
16257 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16265 static PyObject
*_wrap_SizeEvent_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16266 PyObject
*resultobj
;
16267 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16269 PyObject
* obj0
= 0 ;
16270 char *kwnames
[] = {
16271 (char *) "self", NULL
16274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_GetRect",kwnames
,&obj0
)) goto fail
;
16275 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16276 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16279 result
= ((wxSizeEvent
const *)arg1
)->GetRect();
16281 wxPyEndAllowThreads(__tstate
);
16282 if (PyErr_Occurred()) SWIG_fail
;
16285 wxRect
* resultptr
;
16286 resultptr
= new wxRect((wxRect
&) result
);
16287 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
16295 static PyObject
*_wrap_SizeEvent_SetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16296 PyObject
*resultobj
;
16297 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16300 PyObject
* obj0
= 0 ;
16301 PyObject
* obj1
= 0 ;
16302 char *kwnames
[] = {
16303 (char *) "self",(char *) "rect", NULL
16306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
16307 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16308 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16309 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxRect
,
16310 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
16313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16314 (arg1
)->SetRect(arg2
);
16316 wxPyEndAllowThreads(__tstate
);
16317 if (PyErr_Occurred()) SWIG_fail
;
16319 Py_INCREF(Py_None
); resultobj
= Py_None
;
16326 static PyObject
*_wrap_SizeEvent_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16327 PyObject
*resultobj
;
16328 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16331 PyObject
* obj0
= 0 ;
16332 PyObject
* obj1
= 0 ;
16333 char *kwnames
[] = {
16334 (char *) "self",(char *) "size", NULL
16337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
16338 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16339 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16340 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxSize
,
16341 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
16344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16345 wxSizeEvent_SetSize(arg1
,arg2
);
16347 wxPyEndAllowThreads(__tstate
);
16348 if (PyErr_Occurred()) SWIG_fail
;
16350 Py_INCREF(Py_None
); resultobj
= Py_None
;
16357 static PyObject
*_wrap_SizeEvent_m_size_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16358 PyObject
*resultobj
;
16359 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16360 wxSize
*arg2
= (wxSize
*) 0 ;
16361 PyObject
* obj0
= 0 ;
16362 PyObject
* obj1
= 0 ;
16363 char *kwnames
[] = {
16364 (char *) "self",(char *) "m_size", NULL
16367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_m_size_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16368 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16369 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16370 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSize
,
16371 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16372 if (arg1
) (arg1
)->m_size
= *arg2
;
16374 Py_INCREF(Py_None
); resultobj
= Py_None
;
16381 static PyObject
*_wrap_SizeEvent_m_size_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16382 PyObject
*resultobj
;
16383 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16385 PyObject
* obj0
= 0 ;
16386 char *kwnames
[] = {
16387 (char *) "self", NULL
16390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_m_size_get",kwnames
,&obj0
)) goto fail
;
16391 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16392 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16393 result
= (wxSize
*)& ((arg1
)->m_size
);
16395 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
16402 static PyObject
*_wrap_SizeEvent_m_rect_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16403 PyObject
*resultobj
;
16404 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16405 wxRect
*arg2
= (wxRect
*) 0 ;
16406 PyObject
* obj0
= 0 ;
16407 PyObject
* obj1
= 0 ;
16408 char *kwnames
[] = {
16409 (char *) "self",(char *) "m_rect", NULL
16412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_m_rect_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16413 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16414 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16415 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRect
,
16416 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16417 if (arg1
) (arg1
)->m_rect
= *arg2
;
16419 Py_INCREF(Py_None
); resultobj
= Py_None
;
16426 static PyObject
*_wrap_SizeEvent_m_rect_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16427 PyObject
*resultobj
;
16428 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16430 PyObject
* obj0
= 0 ;
16431 char *kwnames
[] = {
16432 (char *) "self", NULL
16435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_m_rect_get",kwnames
,&obj0
)) goto fail
;
16436 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16437 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16438 result
= (wxRect
*)& ((arg1
)->m_rect
);
16440 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
16447 static PyObject
* SizeEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16449 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16450 SWIG_TypeClientData(SWIGTYPE_p_wxSizeEvent
, obj
);
16452 return Py_BuildValue((char *)"");
16454 static PyObject
*_wrap_new_MoveEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16455 PyObject
*resultobj
;
16456 wxPoint
const &arg1_defvalue
= wxDefaultPosition
;
16457 wxPoint
*arg1
= (wxPoint
*) &arg1_defvalue
;
16458 int arg2
= (int) 0 ;
16459 wxMoveEvent
*result
;
16461 PyObject
* obj0
= 0 ;
16462 PyObject
* obj1
= 0 ;
16463 char *kwnames
[] = {
16464 (char *) "pos",(char *) "winid", NULL
16467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_MoveEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
16471 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
16475 arg2
= (int) SWIG_AsInt(obj1
);
16476 if (PyErr_Occurred()) SWIG_fail
;
16479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16480 result
= (wxMoveEvent
*)new wxMoveEvent((wxPoint
const &)*arg1
,arg2
);
16482 wxPyEndAllowThreads(__tstate
);
16483 if (PyErr_Occurred()) SWIG_fail
;
16485 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMoveEvent
, 1);
16492 static PyObject
*_wrap_MoveEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16493 PyObject
*resultobj
;
16494 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16496 PyObject
* obj0
= 0 ;
16497 char *kwnames
[] = {
16498 (char *) "self", NULL
16501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
16502 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16503 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16506 result
= ((wxMoveEvent
const *)arg1
)->GetPosition();
16508 wxPyEndAllowThreads(__tstate
);
16509 if (PyErr_Occurred()) SWIG_fail
;
16512 wxPoint
* resultptr
;
16513 resultptr
= new wxPoint((wxPoint
&) result
);
16514 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
16522 static PyObject
*_wrap_MoveEvent_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16523 PyObject
*resultobj
;
16524 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16526 PyObject
* obj0
= 0 ;
16527 char *kwnames
[] = {
16528 (char *) "self", NULL
16531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_GetRect",kwnames
,&obj0
)) goto fail
;
16532 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16533 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16536 result
= ((wxMoveEvent
const *)arg1
)->GetRect();
16538 wxPyEndAllowThreads(__tstate
);
16539 if (PyErr_Occurred()) SWIG_fail
;
16542 wxRect
* resultptr
;
16543 resultptr
= new wxRect((wxRect
&) result
);
16544 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
16552 static PyObject
*_wrap_MoveEvent_SetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16553 PyObject
*resultobj
;
16554 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16557 PyObject
* obj0
= 0 ;
16558 PyObject
* obj1
= 0 ;
16559 char *kwnames
[] = {
16560 (char *) "self",(char *) "rect", NULL
16563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
16564 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16565 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16566 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxRect
,
16567 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
16570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16571 (arg1
)->SetRect(arg2
);
16573 wxPyEndAllowThreads(__tstate
);
16574 if (PyErr_Occurred()) SWIG_fail
;
16576 Py_INCREF(Py_None
); resultobj
= Py_None
;
16583 static PyObject
*_wrap_MoveEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16584 PyObject
*resultobj
;
16585 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16588 PyObject
* obj0
= 0 ;
16589 PyObject
* obj1
= 0 ;
16590 char *kwnames
[] = {
16591 (char *) "self",(char *) "pos", NULL
16594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
16595 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16596 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16597 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxPoint
,
16598 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
16601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16602 wxMoveEvent_SetPosition(arg1
,arg2
);
16604 wxPyEndAllowThreads(__tstate
);
16605 if (PyErr_Occurred()) SWIG_fail
;
16607 Py_INCREF(Py_None
); resultobj
= Py_None
;
16614 static PyObject
*_wrap_MoveEvent_m_pos_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16615 PyObject
*resultobj
;
16616 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16617 wxPoint
*arg2
= (wxPoint
*) 0 ;
16618 PyObject
* obj0
= 0 ;
16619 PyObject
* obj1
= 0 ;
16620 char *kwnames
[] = {
16621 (char *) "self",(char *) "m_pos", NULL
16624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_m_pos_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16625 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16626 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16627 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPoint
,
16628 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16629 if (arg1
) (arg1
)->m_pos
= *arg2
;
16631 Py_INCREF(Py_None
); resultobj
= Py_None
;
16638 static PyObject
*_wrap_MoveEvent_m_pos_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16639 PyObject
*resultobj
;
16640 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16642 PyObject
* obj0
= 0 ;
16643 char *kwnames
[] = {
16644 (char *) "self", NULL
16647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_m_pos_get",kwnames
,&obj0
)) goto fail
;
16648 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16650 result
= (wxPoint
*)& ((arg1
)->m_pos
);
16652 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
16659 static PyObject
*_wrap_MoveEvent_m_rect_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16660 PyObject
*resultobj
;
16661 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16662 wxRect
*arg2
= (wxRect
*) 0 ;
16663 PyObject
* obj0
= 0 ;
16664 PyObject
* obj1
= 0 ;
16665 char *kwnames
[] = {
16666 (char *) "self",(char *) "m_rect", NULL
16669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_m_rect_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16670 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16671 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16672 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRect
,
16673 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16674 if (arg1
) (arg1
)->m_rect
= *arg2
;
16676 Py_INCREF(Py_None
); resultobj
= Py_None
;
16683 static PyObject
*_wrap_MoveEvent_m_rect_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16684 PyObject
*resultobj
;
16685 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16687 PyObject
* obj0
= 0 ;
16688 char *kwnames
[] = {
16689 (char *) "self", NULL
16692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_m_rect_get",kwnames
,&obj0
)) goto fail
;
16693 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16694 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16695 result
= (wxRect
*)& ((arg1
)->m_rect
);
16697 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
16704 static PyObject
* MoveEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16706 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16707 SWIG_TypeClientData(SWIGTYPE_p_wxMoveEvent
, obj
);
16709 return Py_BuildValue((char *)"");
16711 static PyObject
*_wrap_new_PaintEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16712 PyObject
*resultobj
;
16713 int arg1
= (int) 0 ;
16714 wxPaintEvent
*result
;
16715 PyObject
* obj0
= 0 ;
16716 char *kwnames
[] = {
16717 (char *) "Id", NULL
16720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PaintEvent",kwnames
,&obj0
)) goto fail
;
16722 arg1
= (int) SWIG_AsInt(obj0
);
16723 if (PyErr_Occurred()) SWIG_fail
;
16726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16727 result
= (wxPaintEvent
*)new wxPaintEvent(arg1
);
16729 wxPyEndAllowThreads(__tstate
);
16730 if (PyErr_Occurred()) SWIG_fail
;
16732 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaintEvent
, 1);
16739 static PyObject
* PaintEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16741 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16742 SWIG_TypeClientData(SWIGTYPE_p_wxPaintEvent
, obj
);
16744 return Py_BuildValue((char *)"");
16746 static PyObject
*_wrap_new_NcPaintEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16747 PyObject
*resultobj
;
16748 int arg1
= (int) 0 ;
16749 wxNcPaintEvent
*result
;
16750 PyObject
* obj0
= 0 ;
16751 char *kwnames
[] = {
16752 (char *) "winid", NULL
16755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_NcPaintEvent",kwnames
,&obj0
)) goto fail
;
16757 arg1
= (int) SWIG_AsInt(obj0
);
16758 if (PyErr_Occurred()) SWIG_fail
;
16761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16762 result
= (wxNcPaintEvent
*)new wxNcPaintEvent(arg1
);
16764 wxPyEndAllowThreads(__tstate
);
16765 if (PyErr_Occurred()) SWIG_fail
;
16767 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNcPaintEvent
, 1);
16774 static PyObject
* NcPaintEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16776 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16777 SWIG_TypeClientData(SWIGTYPE_p_wxNcPaintEvent
, obj
);
16779 return Py_BuildValue((char *)"");
16781 static PyObject
*_wrap_new_EraseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16782 PyObject
*resultobj
;
16783 int arg1
= (int) 0 ;
16784 wxDC
*arg2
= (wxDC
*) (wxDC
*) NULL
;
16785 wxEraseEvent
*result
;
16786 PyObject
* obj0
= 0 ;
16787 PyObject
* obj1
= 0 ;
16788 char *kwnames
[] = {
16789 (char *) "Id",(char *) "dc", NULL
16792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_EraseEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
16794 arg1
= (int) SWIG_AsInt(obj0
);
16795 if (PyErr_Occurred()) SWIG_fail
;
16798 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
16799 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16803 result
= (wxEraseEvent
*)new wxEraseEvent(arg1
,arg2
);
16805 wxPyEndAllowThreads(__tstate
);
16806 if (PyErr_Occurred()) SWIG_fail
;
16808 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEraseEvent
, 1);
16815 static PyObject
*_wrap_EraseEvent_GetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16816 PyObject
*resultobj
;
16817 wxEraseEvent
*arg1
= (wxEraseEvent
*) 0 ;
16819 PyObject
* obj0
= 0 ;
16820 char *kwnames
[] = {
16821 (char *) "self", NULL
16824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EraseEvent_GetDC",kwnames
,&obj0
)) goto fail
;
16825 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEraseEvent
,
16826 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16829 result
= (wxDC
*)((wxEraseEvent
const *)arg1
)->GetDC();
16831 wxPyEndAllowThreads(__tstate
);
16832 if (PyErr_Occurred()) SWIG_fail
;
16835 resultobj
= wxPyMake_wxObject(result
);
16843 static PyObject
* EraseEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16845 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16846 SWIG_TypeClientData(SWIGTYPE_p_wxEraseEvent
, obj
);
16848 return Py_BuildValue((char *)"");
16850 static PyObject
*_wrap_new_FocusEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16851 PyObject
*resultobj
;
16852 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16853 int arg2
= (int) 0 ;
16854 wxFocusEvent
*result
;
16855 PyObject
* obj0
= 0 ;
16856 PyObject
* obj1
= 0 ;
16857 char *kwnames
[] = {
16858 (char *) "type",(char *) "winid", NULL
16861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FocusEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
16863 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
16864 if (PyErr_Occurred()) SWIG_fail
;
16867 arg2
= (int) SWIG_AsInt(obj1
);
16868 if (PyErr_Occurred()) SWIG_fail
;
16871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16872 result
= (wxFocusEvent
*)new wxFocusEvent(arg1
,arg2
);
16874 wxPyEndAllowThreads(__tstate
);
16875 if (PyErr_Occurred()) SWIG_fail
;
16877 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFocusEvent
, 1);
16884 static PyObject
*_wrap_FocusEvent_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16885 PyObject
*resultobj
;
16886 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
16888 PyObject
* obj0
= 0 ;
16889 char *kwnames
[] = {
16890 (char *) "self", NULL
16893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FocusEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
16894 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFocusEvent
,
16895 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16898 result
= (wxWindow
*)((wxFocusEvent
const *)arg1
)->GetWindow();
16900 wxPyEndAllowThreads(__tstate
);
16901 if (PyErr_Occurred()) SWIG_fail
;
16904 resultobj
= wxPyMake_wxObject(result
);
16912 static PyObject
*_wrap_FocusEvent_SetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16913 PyObject
*resultobj
;
16914 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
16915 wxWindow
*arg2
= (wxWindow
*) 0 ;
16916 PyObject
* obj0
= 0 ;
16917 PyObject
* obj1
= 0 ;
16918 char *kwnames
[] = {
16919 (char *) "self",(char *) "win", NULL
16922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FocusEvent_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
16923 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFocusEvent
,
16924 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16925 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
16926 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16929 (arg1
)->SetWindow(arg2
);
16931 wxPyEndAllowThreads(__tstate
);
16932 if (PyErr_Occurred()) SWIG_fail
;
16934 Py_INCREF(Py_None
); resultobj
= Py_None
;
16941 static PyObject
* FocusEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16943 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16944 SWIG_TypeClientData(SWIGTYPE_p_wxFocusEvent
, obj
);
16946 return Py_BuildValue((char *)"");
16948 static PyObject
*_wrap_new_ChildFocusEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16949 PyObject
*resultobj
;
16950 wxWindow
*arg1
= (wxWindow
*) NULL
;
16951 wxChildFocusEvent
*result
;
16952 PyObject
* obj0
= 0 ;
16953 char *kwnames
[] = {
16954 (char *) "win", NULL
16957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ChildFocusEvent",kwnames
,&obj0
)) goto fail
;
16959 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
16960 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16964 result
= (wxChildFocusEvent
*)new wxChildFocusEvent(arg1
);
16966 wxPyEndAllowThreads(__tstate
);
16967 if (PyErr_Occurred()) SWIG_fail
;
16969 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChildFocusEvent
, 1);
16976 static PyObject
*_wrap_ChildFocusEvent_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16977 PyObject
*resultobj
;
16978 wxChildFocusEvent
*arg1
= (wxChildFocusEvent
*) 0 ;
16980 PyObject
* obj0
= 0 ;
16981 char *kwnames
[] = {
16982 (char *) "self", NULL
16985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ChildFocusEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
16986 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChildFocusEvent
,
16987 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16990 result
= (wxWindow
*)((wxChildFocusEvent
const *)arg1
)->GetWindow();
16992 wxPyEndAllowThreads(__tstate
);
16993 if (PyErr_Occurred()) SWIG_fail
;
16996 resultobj
= wxPyMake_wxObject(result
);
17004 static PyObject
* ChildFocusEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17006 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17007 SWIG_TypeClientData(SWIGTYPE_p_wxChildFocusEvent
, obj
);
17009 return Py_BuildValue((char *)"");
17011 static PyObject
*_wrap_new_ActivateEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17012 PyObject
*resultobj
;
17013 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17014 bool arg2
= (bool) True
;
17015 int arg3
= (int) 0 ;
17016 wxActivateEvent
*result
;
17017 PyObject
* obj0
= 0 ;
17018 PyObject
* obj1
= 0 ;
17019 PyObject
* obj2
= 0 ;
17020 char *kwnames
[] = {
17021 (char *) "type",(char *) "active",(char *) "Id", NULL
17024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ActivateEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17026 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
17027 if (PyErr_Occurred()) SWIG_fail
;
17030 arg2
= (bool) SWIG_AsBool(obj1
);
17031 if (PyErr_Occurred()) SWIG_fail
;
17034 arg3
= (int) SWIG_AsInt(obj2
);
17035 if (PyErr_Occurred()) SWIG_fail
;
17038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17039 result
= (wxActivateEvent
*)new wxActivateEvent(arg1
,arg2
,arg3
);
17041 wxPyEndAllowThreads(__tstate
);
17042 if (PyErr_Occurred()) SWIG_fail
;
17044 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxActivateEvent
, 1);
17051 static PyObject
*_wrap_ActivateEvent_GetActive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17052 PyObject
*resultobj
;
17053 wxActivateEvent
*arg1
= (wxActivateEvent
*) 0 ;
17055 PyObject
* obj0
= 0 ;
17056 char *kwnames
[] = {
17057 (char *) "self", NULL
17060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ActivateEvent_GetActive",kwnames
,&obj0
)) goto fail
;
17061 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxActivateEvent
,
17062 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17065 result
= (bool)((wxActivateEvent
const *)arg1
)->GetActive();
17067 wxPyEndAllowThreads(__tstate
);
17068 if (PyErr_Occurred()) SWIG_fail
;
17071 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17079 static PyObject
* ActivateEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17081 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17082 SWIG_TypeClientData(SWIGTYPE_p_wxActivateEvent
, obj
);
17084 return Py_BuildValue((char *)"");
17086 static PyObject
*_wrap_new_InitDialogEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17087 PyObject
*resultobj
;
17088 int arg1
= (int) 0 ;
17089 wxInitDialogEvent
*result
;
17090 PyObject
* obj0
= 0 ;
17091 char *kwnames
[] = {
17092 (char *) "Id", NULL
17095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_InitDialogEvent",kwnames
,&obj0
)) goto fail
;
17097 arg1
= (int) SWIG_AsInt(obj0
);
17098 if (PyErr_Occurred()) SWIG_fail
;
17101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17102 result
= (wxInitDialogEvent
*)new wxInitDialogEvent(arg1
);
17104 wxPyEndAllowThreads(__tstate
);
17105 if (PyErr_Occurred()) SWIG_fail
;
17107 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxInitDialogEvent
, 1);
17114 static PyObject
* InitDialogEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17116 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17117 SWIG_TypeClientData(SWIGTYPE_p_wxInitDialogEvent
, obj
);
17119 return Py_BuildValue((char *)"");
17121 static PyObject
*_wrap_new_MenuEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17122 PyObject
*resultobj
;
17123 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17124 int arg2
= (int) 0 ;
17125 wxMenu
*arg3
= (wxMenu
*) NULL
;
17126 wxMenuEvent
*result
;
17127 PyObject
* obj0
= 0 ;
17128 PyObject
* obj1
= 0 ;
17129 PyObject
* obj2
= 0 ;
17130 char *kwnames
[] = {
17131 (char *) "type",(char *) "winid",(char *) "menu", NULL
17134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_MenuEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17136 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
17137 if (PyErr_Occurred()) SWIG_fail
;
17140 arg2
= (int) SWIG_AsInt(obj1
);
17141 if (PyErr_Occurred()) SWIG_fail
;
17144 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMenu
,
17145 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17149 result
= (wxMenuEvent
*)new wxMenuEvent(arg1
,arg2
,arg3
);
17151 wxPyEndAllowThreads(__tstate
);
17152 if (PyErr_Occurred()) SWIG_fail
;
17154 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMenuEvent
, 1);
17161 static PyObject
*_wrap_MenuEvent_GetMenuId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17162 PyObject
*resultobj
;
17163 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
17165 PyObject
* obj0
= 0 ;
17166 char *kwnames
[] = {
17167 (char *) "self", NULL
17170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_GetMenuId",kwnames
,&obj0
)) goto fail
;
17171 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuEvent
,
17172 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17175 result
= (int)((wxMenuEvent
const *)arg1
)->GetMenuId();
17177 wxPyEndAllowThreads(__tstate
);
17178 if (PyErr_Occurred()) SWIG_fail
;
17180 resultobj
= SWIG_FromInt((int)result
);
17187 static PyObject
*_wrap_MenuEvent_IsPopup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17188 PyObject
*resultobj
;
17189 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
17191 PyObject
* obj0
= 0 ;
17192 char *kwnames
[] = {
17193 (char *) "self", NULL
17196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_IsPopup",kwnames
,&obj0
)) goto fail
;
17197 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuEvent
,
17198 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17201 result
= (bool)((wxMenuEvent
const *)arg1
)->IsPopup();
17203 wxPyEndAllowThreads(__tstate
);
17204 if (PyErr_Occurred()) SWIG_fail
;
17207 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17215 static PyObject
*_wrap_MenuEvent_GetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17216 PyObject
*resultobj
;
17217 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
17219 PyObject
* obj0
= 0 ;
17220 char *kwnames
[] = {
17221 (char *) "self", NULL
17224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_GetMenu",kwnames
,&obj0
)) goto fail
;
17225 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuEvent
,
17226 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17229 result
= (wxMenu
*)((wxMenuEvent
const *)arg1
)->GetMenu();
17231 wxPyEndAllowThreads(__tstate
);
17232 if (PyErr_Occurred()) SWIG_fail
;
17235 resultobj
= wxPyMake_wxObject(result
);
17243 static PyObject
* MenuEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17245 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17246 SWIG_TypeClientData(SWIGTYPE_p_wxMenuEvent
, obj
);
17248 return Py_BuildValue((char *)"");
17250 static PyObject
*_wrap_new_CloseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17251 PyObject
*resultobj
;
17252 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17253 int arg2
= (int) 0 ;
17254 wxCloseEvent
*result
;
17255 PyObject
* obj0
= 0 ;
17256 PyObject
* obj1
= 0 ;
17257 char *kwnames
[] = {
17258 (char *) "type",(char *) "winid", NULL
17261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_CloseEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
17263 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
17264 if (PyErr_Occurred()) SWIG_fail
;
17267 arg2
= (int) SWIG_AsInt(obj1
);
17268 if (PyErr_Occurred()) SWIG_fail
;
17271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17272 result
= (wxCloseEvent
*)new wxCloseEvent(arg1
,arg2
);
17274 wxPyEndAllowThreads(__tstate
);
17275 if (PyErr_Occurred()) SWIG_fail
;
17277 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCloseEvent
, 1);
17284 static PyObject
*_wrap_CloseEvent_SetLoggingOff(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17285 PyObject
*resultobj
;
17286 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17288 PyObject
* obj0
= 0 ;
17289 PyObject
* obj1
= 0 ;
17290 char *kwnames
[] = {
17291 (char *) "self",(char *) "logOff", NULL
17294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetLoggingOff",kwnames
,&obj0
,&obj1
)) goto fail
;
17295 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17296 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17297 arg2
= (bool) SWIG_AsBool(obj1
);
17298 if (PyErr_Occurred()) SWIG_fail
;
17300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17301 (arg1
)->SetLoggingOff(arg2
);
17303 wxPyEndAllowThreads(__tstate
);
17304 if (PyErr_Occurred()) SWIG_fail
;
17306 Py_INCREF(Py_None
); resultobj
= Py_None
;
17313 static PyObject
*_wrap_CloseEvent_GetLoggingOff(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17314 PyObject
*resultobj
;
17315 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17317 PyObject
* obj0
= 0 ;
17318 char *kwnames
[] = {
17319 (char *) "self", NULL
17322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_GetLoggingOff",kwnames
,&obj0
)) goto fail
;
17323 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17324 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17327 result
= (bool)((wxCloseEvent
const *)arg1
)->GetLoggingOff();
17329 wxPyEndAllowThreads(__tstate
);
17330 if (PyErr_Occurred()) SWIG_fail
;
17333 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17341 static PyObject
*_wrap_CloseEvent_Veto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17342 PyObject
*resultobj
;
17343 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17344 bool arg2
= (bool) True
;
17345 PyObject
* obj0
= 0 ;
17346 PyObject
* obj1
= 0 ;
17347 char *kwnames
[] = {
17348 (char *) "self",(char *) "veto", NULL
17351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CloseEvent_Veto",kwnames
,&obj0
,&obj1
)) goto fail
;
17352 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17353 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17355 arg2
= (bool) SWIG_AsBool(obj1
);
17356 if (PyErr_Occurred()) SWIG_fail
;
17359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17360 (arg1
)->Veto(arg2
);
17362 wxPyEndAllowThreads(__tstate
);
17363 if (PyErr_Occurred()) SWIG_fail
;
17365 Py_INCREF(Py_None
); resultobj
= Py_None
;
17372 static PyObject
*_wrap_CloseEvent_SetCanVeto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17373 PyObject
*resultobj
;
17374 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17376 PyObject
* obj0
= 0 ;
17377 PyObject
* obj1
= 0 ;
17378 char *kwnames
[] = {
17379 (char *) "self",(char *) "canVeto", NULL
17382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetCanVeto",kwnames
,&obj0
,&obj1
)) goto fail
;
17383 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17384 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17385 arg2
= (bool) SWIG_AsBool(obj1
);
17386 if (PyErr_Occurred()) SWIG_fail
;
17388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17389 (arg1
)->SetCanVeto(arg2
);
17391 wxPyEndAllowThreads(__tstate
);
17392 if (PyErr_Occurred()) SWIG_fail
;
17394 Py_INCREF(Py_None
); resultobj
= Py_None
;
17401 static PyObject
*_wrap_CloseEvent_CanVeto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17402 PyObject
*resultobj
;
17403 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17405 PyObject
* obj0
= 0 ;
17406 char *kwnames
[] = {
17407 (char *) "self", NULL
17410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_CanVeto",kwnames
,&obj0
)) goto fail
;
17411 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17412 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17415 result
= (bool)((wxCloseEvent
const *)arg1
)->CanVeto();
17417 wxPyEndAllowThreads(__tstate
);
17418 if (PyErr_Occurred()) SWIG_fail
;
17421 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17429 static PyObject
*_wrap_CloseEvent_GetVeto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17430 PyObject
*resultobj
;
17431 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17433 PyObject
* obj0
= 0 ;
17434 char *kwnames
[] = {
17435 (char *) "self", NULL
17438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_GetVeto",kwnames
,&obj0
)) goto fail
;
17439 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17440 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17443 result
= (bool)((wxCloseEvent
const *)arg1
)->GetVeto();
17445 wxPyEndAllowThreads(__tstate
);
17446 if (PyErr_Occurred()) SWIG_fail
;
17449 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17457 static PyObject
* CloseEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17459 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17460 SWIG_TypeClientData(SWIGTYPE_p_wxCloseEvent
, obj
);
17462 return Py_BuildValue((char *)"");
17464 static PyObject
*_wrap_new_ShowEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17465 PyObject
*resultobj
;
17466 int arg1
= (int) 0 ;
17467 bool arg2
= (bool) False
;
17468 wxShowEvent
*result
;
17469 PyObject
* obj0
= 0 ;
17470 PyObject
* obj1
= 0 ;
17471 char *kwnames
[] = {
17472 (char *) "winid",(char *) "show", NULL
17475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ShowEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
17477 arg1
= (int) SWIG_AsInt(obj0
);
17478 if (PyErr_Occurred()) SWIG_fail
;
17481 arg2
= (bool) SWIG_AsBool(obj1
);
17482 if (PyErr_Occurred()) SWIG_fail
;
17485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17486 result
= (wxShowEvent
*)new wxShowEvent(arg1
,arg2
);
17488 wxPyEndAllowThreads(__tstate
);
17489 if (PyErr_Occurred()) SWIG_fail
;
17491 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxShowEvent
, 1);
17498 static PyObject
*_wrap_ShowEvent_SetShow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17499 PyObject
*resultobj
;
17500 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
17502 PyObject
* obj0
= 0 ;
17503 PyObject
* obj1
= 0 ;
17504 char *kwnames
[] = {
17505 (char *) "self",(char *) "show", NULL
17508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ShowEvent_SetShow",kwnames
,&obj0
,&obj1
)) goto fail
;
17509 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShowEvent
,
17510 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17511 arg2
= (bool) SWIG_AsBool(obj1
);
17512 if (PyErr_Occurred()) SWIG_fail
;
17514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17515 (arg1
)->SetShow(arg2
);
17517 wxPyEndAllowThreads(__tstate
);
17518 if (PyErr_Occurred()) SWIG_fail
;
17520 Py_INCREF(Py_None
); resultobj
= Py_None
;
17527 static PyObject
*_wrap_ShowEvent_GetShow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17528 PyObject
*resultobj
;
17529 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
17531 PyObject
* obj0
= 0 ;
17532 char *kwnames
[] = {
17533 (char *) "self", NULL
17536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShowEvent_GetShow",kwnames
,&obj0
)) goto fail
;
17537 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShowEvent
,
17538 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17541 result
= (bool)((wxShowEvent
const *)arg1
)->GetShow();
17543 wxPyEndAllowThreads(__tstate
);
17544 if (PyErr_Occurred()) SWIG_fail
;
17547 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17555 static PyObject
* ShowEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17557 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17558 SWIG_TypeClientData(SWIGTYPE_p_wxShowEvent
, obj
);
17560 return Py_BuildValue((char *)"");
17562 static PyObject
*_wrap_new_IconizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17563 PyObject
*resultobj
;
17564 int arg1
= (int) 0 ;
17565 bool arg2
= (bool) True
;
17566 wxIconizeEvent
*result
;
17567 PyObject
* obj0
= 0 ;
17568 PyObject
* obj1
= 0 ;
17569 char *kwnames
[] = {
17570 (char *) "id",(char *) "iconized", NULL
17573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconizeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
17575 arg1
= (int) SWIG_AsInt(obj0
);
17576 if (PyErr_Occurred()) SWIG_fail
;
17579 arg2
= (bool) SWIG_AsBool(obj1
);
17580 if (PyErr_Occurred()) SWIG_fail
;
17583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17584 result
= (wxIconizeEvent
*)new wxIconizeEvent(arg1
,arg2
);
17586 wxPyEndAllowThreads(__tstate
);
17587 if (PyErr_Occurred()) SWIG_fail
;
17589 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconizeEvent
, 1);
17596 static PyObject
*_wrap_IconizeEvent_Iconized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17597 PyObject
*resultobj
;
17598 wxIconizeEvent
*arg1
= (wxIconizeEvent
*) 0 ;
17600 PyObject
* obj0
= 0 ;
17601 char *kwnames
[] = {
17602 (char *) "self", NULL
17605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconizeEvent_Iconized",kwnames
,&obj0
)) goto fail
;
17606 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconizeEvent
,
17607 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17610 result
= (bool)(arg1
)->Iconized();
17612 wxPyEndAllowThreads(__tstate
);
17613 if (PyErr_Occurred()) SWIG_fail
;
17616 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17624 static PyObject
* IconizeEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17626 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17627 SWIG_TypeClientData(SWIGTYPE_p_wxIconizeEvent
, obj
);
17629 return Py_BuildValue((char *)"");
17631 static PyObject
*_wrap_new_MaximizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17632 PyObject
*resultobj
;
17633 int arg1
= (int) 0 ;
17634 wxMaximizeEvent
*result
;
17635 PyObject
* obj0
= 0 ;
17636 char *kwnames
[] = {
17637 (char *) "id", NULL
17640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MaximizeEvent",kwnames
,&obj0
)) goto fail
;
17642 arg1
= (int) SWIG_AsInt(obj0
);
17643 if (PyErr_Occurred()) SWIG_fail
;
17646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17647 result
= (wxMaximizeEvent
*)new wxMaximizeEvent(arg1
);
17649 wxPyEndAllowThreads(__tstate
);
17650 if (PyErr_Occurred()) SWIG_fail
;
17652 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMaximizeEvent
, 1);
17659 static PyObject
* MaximizeEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17661 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17662 SWIG_TypeClientData(SWIGTYPE_p_wxMaximizeEvent
, obj
);
17664 return Py_BuildValue((char *)"");
17666 static PyObject
*_wrap_DropFilesEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17667 PyObject
*resultobj
;
17668 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
17670 PyObject
* obj0
= 0 ;
17671 char *kwnames
[] = {
17672 (char *) "self", NULL
17675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
17676 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDropFilesEvent
,
17677 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17680 result
= (arg1
)->GetPosition();
17682 wxPyEndAllowThreads(__tstate
);
17683 if (PyErr_Occurred()) SWIG_fail
;
17686 wxPoint
* resultptr
;
17687 resultptr
= new wxPoint((wxPoint
&) result
);
17688 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
17696 static PyObject
*_wrap_DropFilesEvent_GetNumberOfFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17697 PyObject
*resultobj
;
17698 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
17700 PyObject
* obj0
= 0 ;
17701 char *kwnames
[] = {
17702 (char *) "self", NULL
17705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetNumberOfFiles",kwnames
,&obj0
)) goto fail
;
17706 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDropFilesEvent
,
17707 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17710 result
= (int)(arg1
)->GetNumberOfFiles();
17712 wxPyEndAllowThreads(__tstate
);
17713 if (PyErr_Occurred()) SWIG_fail
;
17715 resultobj
= SWIG_FromInt((int)result
);
17722 static PyObject
*_wrap_DropFilesEvent_GetFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17723 PyObject
*resultobj
;
17724 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
17726 PyObject
* obj0
= 0 ;
17727 char *kwnames
[] = {
17728 (char *) "self", NULL
17731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetFiles",kwnames
,&obj0
)) goto fail
;
17732 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDropFilesEvent
,
17733 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17736 result
= (PyObject
*)wxDropFilesEvent_GetFiles(arg1
);
17738 wxPyEndAllowThreads(__tstate
);
17739 if (PyErr_Occurred()) SWIG_fail
;
17741 resultobj
= result
;
17748 static PyObject
* DropFilesEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17750 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17751 SWIG_TypeClientData(SWIGTYPE_p_wxDropFilesEvent
, obj
);
17753 return Py_BuildValue((char *)"");
17755 static PyObject
*_wrap_new_UpdateUIEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17756 PyObject
*resultobj
;
17757 int arg1
= (int) 0 ;
17758 wxUpdateUIEvent
*result
;
17759 PyObject
* obj0
= 0 ;
17760 char *kwnames
[] = {
17761 (char *) "commandId", NULL
17764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_UpdateUIEvent",kwnames
,&obj0
)) goto fail
;
17766 arg1
= (int) SWIG_AsInt(obj0
);
17767 if (PyErr_Occurred()) SWIG_fail
;
17770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17771 result
= (wxUpdateUIEvent
*)new wxUpdateUIEvent(arg1
);
17773 wxPyEndAllowThreads(__tstate
);
17774 if (PyErr_Occurred()) SWIG_fail
;
17776 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxUpdateUIEvent
, 1);
17783 static PyObject
*_wrap_UpdateUIEvent_GetChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17784 PyObject
*resultobj
;
17785 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17787 PyObject
* obj0
= 0 ;
17788 char *kwnames
[] = {
17789 (char *) "self", NULL
17792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetChecked",kwnames
,&obj0
)) goto fail
;
17793 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
17794 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17797 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetChecked();
17799 wxPyEndAllowThreads(__tstate
);
17800 if (PyErr_Occurred()) SWIG_fail
;
17803 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17811 static PyObject
*_wrap_UpdateUIEvent_GetEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17812 PyObject
*resultobj
;
17813 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17815 PyObject
* obj0
= 0 ;
17816 char *kwnames
[] = {
17817 (char *) "self", NULL
17820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetEnabled",kwnames
,&obj0
)) goto fail
;
17821 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
17822 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17825 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetEnabled();
17827 wxPyEndAllowThreads(__tstate
);
17828 if (PyErr_Occurred()) SWIG_fail
;
17831 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17839 static PyObject
*_wrap_UpdateUIEvent_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17840 PyObject
*resultobj
;
17841 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17843 PyObject
* obj0
= 0 ;
17844 char *kwnames
[] = {
17845 (char *) "self", NULL
17848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetText",kwnames
,&obj0
)) goto fail
;
17849 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
17850 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17853 result
= ((wxUpdateUIEvent
const *)arg1
)->GetText();
17855 wxPyEndAllowThreads(__tstate
);
17856 if (PyErr_Occurred()) SWIG_fail
;
17860 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17862 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17871 static PyObject
*_wrap_UpdateUIEvent_GetSetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17872 PyObject
*resultobj
;
17873 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17875 PyObject
* obj0
= 0 ;
17876 char *kwnames
[] = {
17877 (char *) "self", NULL
17880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetText",kwnames
,&obj0
)) goto fail
;
17881 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
17882 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17885 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetText();
17887 wxPyEndAllowThreads(__tstate
);
17888 if (PyErr_Occurred()) SWIG_fail
;
17891 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17899 static PyObject
*_wrap_UpdateUIEvent_GetSetChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17900 PyObject
*resultobj
;
17901 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17903 PyObject
* obj0
= 0 ;
17904 char *kwnames
[] = {
17905 (char *) "self", NULL
17908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetChecked",kwnames
,&obj0
)) goto fail
;
17909 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
17910 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17913 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetChecked();
17915 wxPyEndAllowThreads(__tstate
);
17916 if (PyErr_Occurred()) SWIG_fail
;
17919 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17927 static PyObject
*_wrap_UpdateUIEvent_GetSetEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17928 PyObject
*resultobj
;
17929 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17931 PyObject
* obj0
= 0 ;
17932 char *kwnames
[] = {
17933 (char *) "self", NULL
17936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetEnabled",kwnames
,&obj0
)) goto fail
;
17937 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
17938 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17941 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetEnabled();
17943 wxPyEndAllowThreads(__tstate
);
17944 if (PyErr_Occurred()) SWIG_fail
;
17947 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17955 static PyObject
*_wrap_UpdateUIEvent_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17956 PyObject
*resultobj
;
17957 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17959 PyObject
* obj0
= 0 ;
17960 PyObject
* obj1
= 0 ;
17961 char *kwnames
[] = {
17962 (char *) "self",(char *) "check", NULL
17965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Check",kwnames
,&obj0
,&obj1
)) goto fail
;
17966 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
17967 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17968 arg2
= (bool) SWIG_AsBool(obj1
);
17969 if (PyErr_Occurred()) SWIG_fail
;
17971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17972 (arg1
)->Check(arg2
);
17974 wxPyEndAllowThreads(__tstate
);
17975 if (PyErr_Occurred()) SWIG_fail
;
17977 Py_INCREF(Py_None
); resultobj
= Py_None
;
17984 static PyObject
*_wrap_UpdateUIEvent_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17985 PyObject
*resultobj
;
17986 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17988 PyObject
* obj0
= 0 ;
17989 PyObject
* obj1
= 0 ;
17990 char *kwnames
[] = {
17991 (char *) "self",(char *) "enable", NULL
17994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
17995 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
17996 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17997 arg2
= (bool) SWIG_AsBool(obj1
);
17998 if (PyErr_Occurred()) SWIG_fail
;
18000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18001 (arg1
)->Enable(arg2
);
18003 wxPyEndAllowThreads(__tstate
);
18004 if (PyErr_Occurred()) SWIG_fail
;
18006 Py_INCREF(Py_None
); resultobj
= Py_None
;
18013 static PyObject
*_wrap_UpdateUIEvent_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18014 PyObject
*resultobj
;
18015 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18016 wxString
*arg2
= 0 ;
18017 bool temp2
= False
;
18018 PyObject
* obj0
= 0 ;
18019 PyObject
* obj1
= 0 ;
18020 char *kwnames
[] = {
18021 (char *) "self",(char *) "text", NULL
18024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
18025 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18026 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18028 arg2
= wxString_in_helper(obj1
);
18029 if (arg2
== NULL
) SWIG_fail
;
18033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18034 (arg1
)->SetText((wxString
const &)*arg2
);
18036 wxPyEndAllowThreads(__tstate
);
18037 if (PyErr_Occurred()) SWIG_fail
;
18039 Py_INCREF(Py_None
); resultobj
= Py_None
;
18054 static PyObject
*_wrap_UpdateUIEvent_SetUpdateInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18055 PyObject
*resultobj
;
18057 PyObject
* obj0
= 0 ;
18058 char *kwnames
[] = {
18059 (char *) "updateInterval", NULL
18062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_SetUpdateInterval",kwnames
,&obj0
)) goto fail
;
18063 arg1
= (long) SWIG_AsLong(obj0
);
18064 if (PyErr_Occurred()) SWIG_fail
;
18066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18067 wxUpdateUIEvent::SetUpdateInterval(arg1
);
18069 wxPyEndAllowThreads(__tstate
);
18070 if (PyErr_Occurred()) SWIG_fail
;
18072 Py_INCREF(Py_None
); resultobj
= Py_None
;
18079 static PyObject
*_wrap_UpdateUIEvent_GetUpdateInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18080 PyObject
*resultobj
;
18082 char *kwnames
[] = {
18086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_GetUpdateInterval",kwnames
)) goto fail
;
18088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18089 result
= (long)wxUpdateUIEvent::GetUpdateInterval();
18091 wxPyEndAllowThreads(__tstate
);
18092 if (PyErr_Occurred()) SWIG_fail
;
18094 resultobj
= SWIG_FromLong((long)result
);
18101 static PyObject
*_wrap_UpdateUIEvent_CanUpdate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18102 PyObject
*resultobj
;
18103 wxWindow
*arg1
= (wxWindow
*) 0 ;
18105 PyObject
* obj0
= 0 ;
18106 char *kwnames
[] = {
18107 (char *) "win", NULL
18110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_CanUpdate",kwnames
,&obj0
)) goto fail
;
18111 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
18112 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18115 result
= (bool)wxUpdateUIEvent::CanUpdate(arg1
);
18117 wxPyEndAllowThreads(__tstate
);
18118 if (PyErr_Occurred()) SWIG_fail
;
18121 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18129 static PyObject
*_wrap_UpdateUIEvent_ResetUpdateTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18130 PyObject
*resultobj
;
18131 char *kwnames
[] = {
18135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_ResetUpdateTime",kwnames
)) goto fail
;
18137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18138 wxUpdateUIEvent::ResetUpdateTime();
18140 wxPyEndAllowThreads(__tstate
);
18141 if (PyErr_Occurred()) SWIG_fail
;
18143 Py_INCREF(Py_None
); resultobj
= Py_None
;
18150 static PyObject
*_wrap_UpdateUIEvent_SetMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18151 PyObject
*resultobj
;
18153 PyObject
* obj0
= 0 ;
18154 char *kwnames
[] = {
18155 (char *) "mode", NULL
18158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_SetMode",kwnames
,&obj0
)) goto fail
;
18159 arg1
= (wxUpdateUIMode
) SWIG_AsInt(obj0
);
18160 if (PyErr_Occurred()) SWIG_fail
;
18162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18163 wxUpdateUIEvent::SetMode((wxUpdateUIMode
)arg1
);
18165 wxPyEndAllowThreads(__tstate
);
18166 if (PyErr_Occurred()) SWIG_fail
;
18168 Py_INCREF(Py_None
); resultobj
= Py_None
;
18175 static PyObject
*_wrap_UpdateUIEvent_GetMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18176 PyObject
*resultobj
;
18178 char *kwnames
[] = {
18182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_GetMode",kwnames
)) goto fail
;
18184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18185 result
= (int)wxUpdateUIEvent::GetMode();
18187 wxPyEndAllowThreads(__tstate
);
18188 if (PyErr_Occurred()) SWIG_fail
;
18190 resultobj
= SWIG_FromInt((int)result
);
18197 static PyObject
* UpdateUIEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18199 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18200 SWIG_TypeClientData(SWIGTYPE_p_wxUpdateUIEvent
, obj
);
18202 return Py_BuildValue((char *)"");
18204 static PyObject
*_wrap_new_SysColourChangedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18205 PyObject
*resultobj
;
18206 wxSysColourChangedEvent
*result
;
18207 char *kwnames
[] = {
18211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SysColourChangedEvent",kwnames
)) goto fail
;
18213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18214 result
= (wxSysColourChangedEvent
*)new wxSysColourChangedEvent();
18216 wxPyEndAllowThreads(__tstate
);
18217 if (PyErr_Occurred()) SWIG_fail
;
18219 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSysColourChangedEvent
, 1);
18226 static PyObject
* SysColourChangedEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18228 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18229 SWIG_TypeClientData(SWIGTYPE_p_wxSysColourChangedEvent
, obj
);
18231 return Py_BuildValue((char *)"");
18233 static PyObject
*_wrap_new_MouseCaptureChangedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18234 PyObject
*resultobj
;
18235 int arg1
= (int) 0 ;
18236 wxWindow
*arg2
= (wxWindow
*) NULL
;
18237 wxMouseCaptureChangedEvent
*result
;
18238 PyObject
* obj0
= 0 ;
18239 PyObject
* obj1
= 0 ;
18240 char *kwnames
[] = {
18241 (char *) "winid",(char *) "gainedCapture", NULL
18244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_MouseCaptureChangedEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
18246 arg1
= (int) SWIG_AsInt(obj0
);
18247 if (PyErr_Occurred()) SWIG_fail
;
18250 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
18251 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18255 result
= (wxMouseCaptureChangedEvent
*)new wxMouseCaptureChangedEvent(arg1
,arg2
);
18257 wxPyEndAllowThreads(__tstate
);
18258 if (PyErr_Occurred()) SWIG_fail
;
18260 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMouseCaptureChangedEvent
, 1);
18267 static PyObject
*_wrap_MouseCaptureChangedEvent_GetCapturedWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18268 PyObject
*resultobj
;
18269 wxMouseCaptureChangedEvent
*arg1
= (wxMouseCaptureChangedEvent
*) 0 ;
18271 PyObject
* obj0
= 0 ;
18272 char *kwnames
[] = {
18273 (char *) "self", NULL
18276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseCaptureChangedEvent_GetCapturedWindow",kwnames
,&obj0
)) goto fail
;
18277 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseCaptureChangedEvent
,
18278 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18281 result
= (wxWindow
*)((wxMouseCaptureChangedEvent
const *)arg1
)->GetCapturedWindow();
18283 wxPyEndAllowThreads(__tstate
);
18284 if (PyErr_Occurred()) SWIG_fail
;
18287 resultobj
= wxPyMake_wxObject(result
);
18295 static PyObject
* MouseCaptureChangedEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18297 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18298 SWIG_TypeClientData(SWIGTYPE_p_wxMouseCaptureChangedEvent
, obj
);
18300 return Py_BuildValue((char *)"");
18302 static PyObject
*_wrap_new_DisplayChangedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18303 PyObject
*resultobj
;
18304 wxDisplayChangedEvent
*result
;
18305 char *kwnames
[] = {
18309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DisplayChangedEvent",kwnames
)) goto fail
;
18311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18312 result
= (wxDisplayChangedEvent
*)new wxDisplayChangedEvent();
18314 wxPyEndAllowThreads(__tstate
);
18315 if (PyErr_Occurred()) SWIG_fail
;
18317 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDisplayChangedEvent
, 1);
18324 static PyObject
* DisplayChangedEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18326 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18327 SWIG_TypeClientData(SWIGTYPE_p_wxDisplayChangedEvent
, obj
);
18329 return Py_BuildValue((char *)"");
18331 static PyObject
*_wrap_new_PaletteChangedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18332 PyObject
*resultobj
;
18333 int arg1
= (int) 0 ;
18334 wxPaletteChangedEvent
*result
;
18335 PyObject
* obj0
= 0 ;
18336 char *kwnames
[] = {
18337 (char *) "id", NULL
18340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PaletteChangedEvent",kwnames
,&obj0
)) goto fail
;
18342 arg1
= (int) SWIG_AsInt(obj0
);
18343 if (PyErr_Occurred()) SWIG_fail
;
18346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18347 result
= (wxPaletteChangedEvent
*)new wxPaletteChangedEvent(arg1
);
18349 wxPyEndAllowThreads(__tstate
);
18350 if (PyErr_Occurred()) SWIG_fail
;
18352 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaletteChangedEvent
, 1);
18359 static PyObject
*_wrap_PaletteChangedEvent_SetChangedWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18360 PyObject
*resultobj
;
18361 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
18362 wxWindow
*arg2
= (wxWindow
*) 0 ;
18363 PyObject
* obj0
= 0 ;
18364 PyObject
* obj1
= 0 ;
18365 char *kwnames
[] = {
18366 (char *) "self",(char *) "win", NULL
18369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PaletteChangedEvent_SetChangedWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
18370 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPaletteChangedEvent
,
18371 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18372 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
18373 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18376 (arg1
)->SetChangedWindow(arg2
);
18378 wxPyEndAllowThreads(__tstate
);
18379 if (PyErr_Occurred()) SWIG_fail
;
18381 Py_INCREF(Py_None
); resultobj
= Py_None
;
18388 static PyObject
*_wrap_PaletteChangedEvent_GetChangedWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18389 PyObject
*resultobj
;
18390 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
18392 PyObject
* obj0
= 0 ;
18393 char *kwnames
[] = {
18394 (char *) "self", NULL
18397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PaletteChangedEvent_GetChangedWindow",kwnames
,&obj0
)) goto fail
;
18398 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPaletteChangedEvent
,
18399 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18402 result
= (wxWindow
*)(arg1
)->GetChangedWindow();
18404 wxPyEndAllowThreads(__tstate
);
18405 if (PyErr_Occurred()) SWIG_fail
;
18408 resultobj
= wxPyMake_wxObject(result
);
18416 static PyObject
* PaletteChangedEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18418 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18419 SWIG_TypeClientData(SWIGTYPE_p_wxPaletteChangedEvent
, obj
);
18421 return Py_BuildValue((char *)"");
18423 static PyObject
*_wrap_new_QueryNewPaletteEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18424 PyObject
*resultobj
;
18425 int arg1
= (int) 0 ;
18426 wxQueryNewPaletteEvent
*result
;
18427 PyObject
* obj0
= 0 ;
18428 char *kwnames
[] = {
18429 (char *) "winid", NULL
18432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryNewPaletteEvent",kwnames
,&obj0
)) goto fail
;
18434 arg1
= (int) SWIG_AsInt(obj0
);
18435 if (PyErr_Occurred()) SWIG_fail
;
18438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18439 result
= (wxQueryNewPaletteEvent
*)new wxQueryNewPaletteEvent(arg1
);
18441 wxPyEndAllowThreads(__tstate
);
18442 if (PyErr_Occurred()) SWIG_fail
;
18444 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxQueryNewPaletteEvent
, 1);
18451 static PyObject
*_wrap_QueryNewPaletteEvent_SetPaletteRealized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18452 PyObject
*resultobj
;
18453 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
18455 PyObject
* obj0
= 0 ;
18456 PyObject
* obj1
= 0 ;
18457 char *kwnames
[] = {
18458 (char *) "self",(char *) "realized", NULL
18461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryNewPaletteEvent_SetPaletteRealized",kwnames
,&obj0
,&obj1
)) goto fail
;
18462 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryNewPaletteEvent
,
18463 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18464 arg2
= (bool) SWIG_AsBool(obj1
);
18465 if (PyErr_Occurred()) SWIG_fail
;
18467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18468 (arg1
)->SetPaletteRealized(arg2
);
18470 wxPyEndAllowThreads(__tstate
);
18471 if (PyErr_Occurred()) SWIG_fail
;
18473 Py_INCREF(Py_None
); resultobj
= Py_None
;
18480 static PyObject
*_wrap_QueryNewPaletteEvent_GetPaletteRealized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18481 PyObject
*resultobj
;
18482 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
18484 PyObject
* obj0
= 0 ;
18485 char *kwnames
[] = {
18486 (char *) "self", NULL
18489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryNewPaletteEvent_GetPaletteRealized",kwnames
,&obj0
)) goto fail
;
18490 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryNewPaletteEvent
,
18491 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18494 result
= (bool)((wxQueryNewPaletteEvent
const *)arg1
)->GetPaletteRealized();
18496 wxPyEndAllowThreads(__tstate
);
18497 if (PyErr_Occurred()) SWIG_fail
;
18500 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18508 static PyObject
* QueryNewPaletteEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18510 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18511 SWIG_TypeClientData(SWIGTYPE_p_wxQueryNewPaletteEvent
, obj
);
18513 return Py_BuildValue((char *)"");
18515 static PyObject
*_wrap_new_NavigationKeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18516 PyObject
*resultobj
;
18517 wxNavigationKeyEvent
*result
;
18518 char *kwnames
[] = {
18522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NavigationKeyEvent",kwnames
)) goto fail
;
18524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18525 result
= (wxNavigationKeyEvent
*)new wxNavigationKeyEvent();
18527 wxPyEndAllowThreads(__tstate
);
18528 if (PyErr_Occurred()) SWIG_fail
;
18530 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNavigationKeyEvent
, 1);
18537 static PyObject
*_wrap_NavigationKeyEvent_GetDirection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18538 PyObject
*resultobj
;
18539 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18541 PyObject
* obj0
= 0 ;
18542 char *kwnames
[] = {
18543 (char *) "self", NULL
18546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_GetDirection",kwnames
,&obj0
)) goto fail
;
18547 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18548 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18551 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->GetDirection();
18553 wxPyEndAllowThreads(__tstate
);
18554 if (PyErr_Occurred()) SWIG_fail
;
18557 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18565 static PyObject
*_wrap_NavigationKeyEvent_SetDirection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18566 PyObject
*resultobj
;
18567 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18569 PyObject
* obj0
= 0 ;
18570 PyObject
* obj1
= 0 ;
18571 char *kwnames
[] = {
18572 (char *) "self",(char *) "bForward", NULL
18575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetDirection",kwnames
,&obj0
,&obj1
)) goto fail
;
18576 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18577 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18578 arg2
= (bool) SWIG_AsBool(obj1
);
18579 if (PyErr_Occurred()) SWIG_fail
;
18581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18582 (arg1
)->SetDirection(arg2
);
18584 wxPyEndAllowThreads(__tstate
);
18585 if (PyErr_Occurred()) SWIG_fail
;
18587 Py_INCREF(Py_None
); resultobj
= Py_None
;
18594 static PyObject
*_wrap_NavigationKeyEvent_IsWindowChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18595 PyObject
*resultobj
;
18596 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18598 PyObject
* obj0
= 0 ;
18599 char *kwnames
[] = {
18600 (char *) "self", NULL
18603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_IsWindowChange",kwnames
,&obj0
)) goto fail
;
18604 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18605 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18608 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->IsWindowChange();
18610 wxPyEndAllowThreads(__tstate
);
18611 if (PyErr_Occurred()) SWIG_fail
;
18614 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18622 static PyObject
*_wrap_NavigationKeyEvent_SetWindowChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18623 PyObject
*resultobj
;
18624 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18626 PyObject
* obj0
= 0 ;
18627 PyObject
* obj1
= 0 ;
18628 char *kwnames
[] = {
18629 (char *) "self",(char *) "bIs", NULL
18632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetWindowChange",kwnames
,&obj0
,&obj1
)) goto fail
;
18633 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18634 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18635 arg2
= (bool) SWIG_AsBool(obj1
);
18636 if (PyErr_Occurred()) SWIG_fail
;
18638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18639 (arg1
)->SetWindowChange(arg2
);
18641 wxPyEndAllowThreads(__tstate
);
18642 if (PyErr_Occurred()) SWIG_fail
;
18644 Py_INCREF(Py_None
); resultobj
= Py_None
;
18651 static PyObject
*_wrap_NavigationKeyEvent_GetCurrentFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18652 PyObject
*resultobj
;
18653 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18655 PyObject
* obj0
= 0 ;
18656 char *kwnames
[] = {
18657 (char *) "self", NULL
18660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_GetCurrentFocus",kwnames
,&obj0
)) goto fail
;
18661 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18662 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18665 result
= (wxWindow
*)((wxNavigationKeyEvent
const *)arg1
)->GetCurrentFocus();
18667 wxPyEndAllowThreads(__tstate
);
18668 if (PyErr_Occurred()) SWIG_fail
;
18671 resultobj
= wxPyMake_wxObject(result
);
18679 static PyObject
*_wrap_NavigationKeyEvent_SetCurrentFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18680 PyObject
*resultobj
;
18681 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18682 wxWindow
*arg2
= (wxWindow
*) 0 ;
18683 PyObject
* obj0
= 0 ;
18684 PyObject
* obj1
= 0 ;
18685 char *kwnames
[] = {
18686 (char *) "self",(char *) "win", NULL
18689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetCurrentFocus",kwnames
,&obj0
,&obj1
)) goto fail
;
18690 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18691 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18692 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
18693 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18696 (arg1
)->SetCurrentFocus(arg2
);
18698 wxPyEndAllowThreads(__tstate
);
18699 if (PyErr_Occurred()) SWIG_fail
;
18701 Py_INCREF(Py_None
); resultobj
= Py_None
;
18708 static PyObject
* NavigationKeyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18710 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18711 SWIG_TypeClientData(SWIGTYPE_p_wxNavigationKeyEvent
, obj
);
18713 return Py_BuildValue((char *)"");
18715 static PyObject
*_wrap_new_WindowCreateEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18716 PyObject
*resultobj
;
18717 wxWindow
*arg1
= (wxWindow
*) NULL
;
18718 wxWindowCreateEvent
*result
;
18719 PyObject
* obj0
= 0 ;
18720 char *kwnames
[] = {
18721 (char *) "win", NULL
18724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowCreateEvent",kwnames
,&obj0
)) goto fail
;
18726 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
18727 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18731 result
= (wxWindowCreateEvent
*)new wxWindowCreateEvent(arg1
);
18733 wxPyEndAllowThreads(__tstate
);
18734 if (PyErr_Occurred()) SWIG_fail
;
18736 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowCreateEvent
, 1);
18743 static PyObject
*_wrap_WindowCreateEvent_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18744 PyObject
*resultobj
;
18745 wxWindowCreateEvent
*arg1
= (wxWindowCreateEvent
*) 0 ;
18747 PyObject
* obj0
= 0 ;
18748 char *kwnames
[] = {
18749 (char *) "self", NULL
18752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WindowCreateEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
18753 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindowCreateEvent
,
18754 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18757 result
= (wxWindow
*)((wxWindowCreateEvent
const *)arg1
)->GetWindow();
18759 wxPyEndAllowThreads(__tstate
);
18760 if (PyErr_Occurred()) SWIG_fail
;
18763 resultobj
= wxPyMake_wxObject(result
);
18771 static PyObject
* WindowCreateEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18773 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18774 SWIG_TypeClientData(SWIGTYPE_p_wxWindowCreateEvent
, obj
);
18776 return Py_BuildValue((char *)"");
18778 static PyObject
*_wrap_new_WindowDestroyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18779 PyObject
*resultobj
;
18780 wxWindow
*arg1
= (wxWindow
*) NULL
;
18781 wxWindowDestroyEvent
*result
;
18782 PyObject
* obj0
= 0 ;
18783 char *kwnames
[] = {
18784 (char *) "win", NULL
18787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDestroyEvent",kwnames
,&obj0
)) goto fail
;
18789 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
18790 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18794 result
= (wxWindowDestroyEvent
*)new wxWindowDestroyEvent(arg1
);
18796 wxPyEndAllowThreads(__tstate
);
18797 if (PyErr_Occurred()) SWIG_fail
;
18799 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDestroyEvent
, 1);
18806 static PyObject
*_wrap_WindowDestroyEvent_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18807 PyObject
*resultobj
;
18808 wxWindowDestroyEvent
*arg1
= (wxWindowDestroyEvent
*) 0 ;
18810 PyObject
* obj0
= 0 ;
18811 char *kwnames
[] = {
18812 (char *) "self", NULL
18815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WindowDestroyEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
18816 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindowDestroyEvent
,
18817 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18820 result
= (wxWindow
*)((wxWindowDestroyEvent
const *)arg1
)->GetWindow();
18822 wxPyEndAllowThreads(__tstate
);
18823 if (PyErr_Occurred()) SWIG_fail
;
18826 resultobj
= wxPyMake_wxObject(result
);
18834 static PyObject
* WindowDestroyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18836 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18837 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDestroyEvent
, obj
);
18839 return Py_BuildValue((char *)"");
18841 static PyObject
*_wrap_new_ContextMenuEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18842 PyObject
*resultobj
;
18843 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
18844 int arg2
= (int) 0 ;
18845 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
18846 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
18847 wxContextMenuEvent
*result
;
18849 PyObject
* obj0
= 0 ;
18850 PyObject
* obj1
= 0 ;
18851 PyObject
* obj2
= 0 ;
18852 char *kwnames
[] = {
18853 (char *) "type",(char *) "winid",(char *) "pt", NULL
18856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ContextMenuEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18858 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
18859 if (PyErr_Occurred()) SWIG_fail
;
18862 arg2
= (int) SWIG_AsInt(obj1
);
18863 if (PyErr_Occurred()) SWIG_fail
;
18868 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18873 result
= (wxContextMenuEvent
*)new wxContextMenuEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
18875 wxPyEndAllowThreads(__tstate
);
18876 if (PyErr_Occurred()) SWIG_fail
;
18878 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextMenuEvent
, 1);
18885 static PyObject
*_wrap_ContextMenuEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18886 PyObject
*resultobj
;
18887 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
18889 PyObject
* obj0
= 0 ;
18890 char *kwnames
[] = {
18891 (char *) "self", NULL
18894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ContextMenuEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
18895 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextMenuEvent
,
18896 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18900 wxPoint
const &_result_ref
= ((wxContextMenuEvent
const *)arg1
)->GetPosition();
18901 result
= (wxPoint
*) &_result_ref
;
18904 wxPyEndAllowThreads(__tstate
);
18905 if (PyErr_Occurred()) SWIG_fail
;
18907 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
18914 static PyObject
*_wrap_ContextMenuEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18915 PyObject
*resultobj
;
18916 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
18917 wxPoint
*arg2
= 0 ;
18919 PyObject
* obj0
= 0 ;
18920 PyObject
* obj1
= 0 ;
18921 char *kwnames
[] = {
18922 (char *) "self",(char *) "pos", NULL
18925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ContextMenuEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
18926 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextMenuEvent
,
18927 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18930 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18934 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
18936 wxPyEndAllowThreads(__tstate
);
18937 if (PyErr_Occurred()) SWIG_fail
;
18939 Py_INCREF(Py_None
); resultobj
= Py_None
;
18946 static PyObject
* ContextMenuEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18948 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18949 SWIG_TypeClientData(SWIGTYPE_p_wxContextMenuEvent
, obj
);
18951 return Py_BuildValue((char *)"");
18953 static PyObject
*_wrap_new_IdleEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18954 PyObject
*resultobj
;
18955 wxIdleEvent
*result
;
18956 char *kwnames
[] = {
18960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_IdleEvent",kwnames
)) goto fail
;
18962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18963 result
= (wxIdleEvent
*)new wxIdleEvent();
18965 wxPyEndAllowThreads(__tstate
);
18966 if (PyErr_Occurred()) SWIG_fail
;
18968 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIdleEvent
, 1);
18975 static PyObject
*_wrap_IdleEvent_RequestMore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18976 PyObject
*resultobj
;
18977 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
18978 bool arg2
= (bool) True
;
18979 PyObject
* obj0
= 0 ;
18980 PyObject
* obj1
= 0 ;
18981 char *kwnames
[] = {
18982 (char *) "self",(char *) "needMore", NULL
18985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:IdleEvent_RequestMore",kwnames
,&obj0
,&obj1
)) goto fail
;
18986 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIdleEvent
,
18987 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18989 arg2
= (bool) SWIG_AsBool(obj1
);
18990 if (PyErr_Occurred()) SWIG_fail
;
18993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18994 (arg1
)->RequestMore(arg2
);
18996 wxPyEndAllowThreads(__tstate
);
18997 if (PyErr_Occurred()) SWIG_fail
;
18999 Py_INCREF(Py_None
); resultobj
= Py_None
;
19006 static PyObject
*_wrap_IdleEvent_MoreRequested(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19007 PyObject
*resultobj
;
19008 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
19010 PyObject
* obj0
= 0 ;
19011 char *kwnames
[] = {
19012 (char *) "self", NULL
19015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_MoreRequested",kwnames
,&obj0
)) goto fail
;
19016 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIdleEvent
,
19017 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19020 result
= (bool)((wxIdleEvent
const *)arg1
)->MoreRequested();
19022 wxPyEndAllowThreads(__tstate
);
19023 if (PyErr_Occurred()) SWIG_fail
;
19026 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19034 static PyObject
*_wrap_IdleEvent_SetMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19035 PyObject
*resultobj
;
19037 PyObject
* obj0
= 0 ;
19038 char *kwnames
[] = {
19039 (char *) "mode", NULL
19042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_SetMode",kwnames
,&obj0
)) goto fail
;
19043 arg1
= (wxIdleMode
) SWIG_AsInt(obj0
);
19044 if (PyErr_Occurred()) SWIG_fail
;
19046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19047 wxIdleEvent::SetMode((wxIdleMode
)arg1
);
19049 wxPyEndAllowThreads(__tstate
);
19050 if (PyErr_Occurred()) SWIG_fail
;
19052 Py_INCREF(Py_None
); resultobj
= Py_None
;
19059 static PyObject
*_wrap_IdleEvent_GetMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19060 PyObject
*resultobj
;
19062 char *kwnames
[] = {
19066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":IdleEvent_GetMode",kwnames
)) goto fail
;
19068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19069 result
= (int)wxIdleEvent::GetMode();
19071 wxPyEndAllowThreads(__tstate
);
19072 if (PyErr_Occurred()) SWIG_fail
;
19074 resultobj
= SWIG_FromInt((int)result
);
19081 static PyObject
*_wrap_IdleEvent_CanSend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19082 PyObject
*resultobj
;
19083 wxWindow
*arg1
= (wxWindow
*) 0 ;
19085 PyObject
* obj0
= 0 ;
19086 char *kwnames
[] = {
19087 (char *) "win", NULL
19090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_CanSend",kwnames
,&obj0
)) goto fail
;
19091 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
19092 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19095 result
= (bool)wxIdleEvent::CanSend(arg1
);
19097 wxPyEndAllowThreads(__tstate
);
19098 if (PyErr_Occurred()) SWIG_fail
;
19101 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19109 static PyObject
* IdleEvent_swigregister(PyObject
*self
, PyObject
*args
) {
19111 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19112 SWIG_TypeClientData(SWIGTYPE_p_wxIdleEvent
, obj
);
19114 return Py_BuildValue((char *)"");
19116 static PyObject
*_wrap_new_PyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19117 PyObject
*resultobj
;
19118 int arg1
= (int) 0 ;
19119 wxEventType arg2
= (wxEventType
) wxEVT_NULL
;
19121 PyObject
* obj0
= 0 ;
19122 PyObject
* obj1
= 0 ;
19123 char *kwnames
[] = {
19124 (char *) "winid",(char *) "commandType", NULL
19127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19129 arg1
= (int) SWIG_AsInt(obj0
);
19130 if (PyErr_Occurred()) SWIG_fail
;
19133 arg2
= (wxEventType
) SWIG_AsInt(obj1
);
19134 if (PyErr_Occurred()) SWIG_fail
;
19137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19138 result
= (wxPyEvent
*)new wxPyEvent(arg1
,arg2
);
19140 wxPyEndAllowThreads(__tstate
);
19141 if (PyErr_Occurred()) SWIG_fail
;
19143 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyEvent
, 1);
19150 static PyObject
*_wrap_delete_PyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19151 PyObject
*resultobj
;
19152 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
19153 PyObject
* obj0
= 0 ;
19154 char *kwnames
[] = {
19155 (char *) "self", NULL
19158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyEvent",kwnames
,&obj0
)) goto fail
;
19159 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEvent
,
19160 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19165 wxPyEndAllowThreads(__tstate
);
19166 if (PyErr_Occurred()) SWIG_fail
;
19168 Py_INCREF(Py_None
); resultobj
= Py_None
;
19175 static PyObject
*_wrap_PyEvent_SetSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19176 PyObject
*resultobj
;
19177 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
19178 PyObject
*arg2
= (PyObject
*) 0 ;
19179 PyObject
* obj0
= 0 ;
19180 PyObject
* obj1
= 0 ;
19181 char *kwnames
[] = {
19182 (char *) "self",(char *) "self", NULL
19185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEvent_SetSelf",kwnames
,&obj0
,&obj1
)) goto fail
;
19186 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEvent
,
19187 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19191 (arg1
)->SetSelf(arg2
);
19193 wxPyEndAllowThreads(__tstate
);
19194 if (PyErr_Occurred()) SWIG_fail
;
19196 Py_INCREF(Py_None
); resultobj
= Py_None
;
19203 static PyObject
*_wrap_PyEvent_GetSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19204 PyObject
*resultobj
;
19205 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
19207 PyObject
* obj0
= 0 ;
19208 char *kwnames
[] = {
19209 (char *) "self", NULL
19212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyEvent_GetSelf",kwnames
,&obj0
)) goto fail
;
19213 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEvent
,
19214 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19217 result
= (PyObject
*)(arg1
)->GetSelf();
19219 wxPyEndAllowThreads(__tstate
);
19220 if (PyErr_Occurred()) SWIG_fail
;
19222 resultobj
= result
;
19229 static PyObject
* PyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
19231 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19232 SWIG_TypeClientData(SWIGTYPE_p_wxPyEvent
, obj
);
19234 return Py_BuildValue((char *)"");
19236 static PyObject
*_wrap_new_PyCommandEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19237 PyObject
*resultobj
;
19238 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19239 int arg2
= (int) 0 ;
19240 wxPyCommandEvent
*result
;
19241 PyObject
* obj0
= 0 ;
19242 PyObject
* obj1
= 0 ;
19243 char *kwnames
[] = {
19244 (char *) "commandType",(char *) "id", NULL
19247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyCommandEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19249 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
19250 if (PyErr_Occurred()) SWIG_fail
;
19253 arg2
= (int) SWIG_AsInt(obj1
);
19254 if (PyErr_Occurred()) SWIG_fail
;
19257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19258 result
= (wxPyCommandEvent
*)new wxPyCommandEvent(arg1
,arg2
);
19260 wxPyEndAllowThreads(__tstate
);
19261 if (PyErr_Occurred()) SWIG_fail
;
19263 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyCommandEvent
, 1);
19270 static PyObject
*_wrap_delete_PyCommandEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19271 PyObject
*resultobj
;
19272 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
19273 PyObject
* obj0
= 0 ;
19274 char *kwnames
[] = {
19275 (char *) "self", NULL
19278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyCommandEvent",kwnames
,&obj0
)) goto fail
;
19279 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCommandEvent
,
19280 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19285 wxPyEndAllowThreads(__tstate
);
19286 if (PyErr_Occurred()) SWIG_fail
;
19288 Py_INCREF(Py_None
); resultobj
= Py_None
;
19295 static PyObject
*_wrap_PyCommandEvent_SetSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19296 PyObject
*resultobj
;
19297 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
19298 PyObject
*arg2
= (PyObject
*) 0 ;
19299 PyObject
* obj0
= 0 ;
19300 PyObject
* obj1
= 0 ;
19301 char *kwnames
[] = {
19302 (char *) "self",(char *) "self", NULL
19305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCommandEvent_SetSelf",kwnames
,&obj0
,&obj1
)) goto fail
;
19306 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCommandEvent
,
19307 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19311 (arg1
)->SetSelf(arg2
);
19313 wxPyEndAllowThreads(__tstate
);
19314 if (PyErr_Occurred()) SWIG_fail
;
19316 Py_INCREF(Py_None
); resultobj
= Py_None
;
19323 static PyObject
*_wrap_PyCommandEvent_GetSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19324 PyObject
*resultobj
;
19325 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
19327 PyObject
* obj0
= 0 ;
19328 char *kwnames
[] = {
19329 (char *) "self", NULL
19332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyCommandEvent_GetSelf",kwnames
,&obj0
)) goto fail
;
19333 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCommandEvent
,
19334 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19337 result
= (PyObject
*)(arg1
)->GetSelf();
19339 wxPyEndAllowThreads(__tstate
);
19340 if (PyErr_Occurred()) SWIG_fail
;
19342 resultobj
= result
;
19349 static PyObject
* PyCommandEvent_swigregister(PyObject
*self
, PyObject
*args
) {
19351 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19352 SWIG_TypeClientData(SWIGTYPE_p_wxPyCommandEvent
, obj
);
19354 return Py_BuildValue((char *)"");
19356 static PyObject
*_wrap_new_PyApp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19357 PyObject
*resultobj
;
19359 char *kwnames
[] = {
19363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyApp",kwnames
)) goto fail
;
19365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19366 result
= (wxPyApp
*)new_wxPyApp();
19368 wxPyEndAllowThreads(__tstate
);
19369 if (PyErr_Occurred()) SWIG_fail
;
19372 resultobj
= wxPyMake_wxObject(result
);
19380 static PyObject
*_wrap_delete_PyApp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19381 PyObject
*resultobj
;
19382 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19383 PyObject
* obj0
= 0 ;
19384 char *kwnames
[] = {
19385 (char *) "self", NULL
19388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyApp",kwnames
,&obj0
)) goto fail
;
19389 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19390 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19395 wxPyEndAllowThreads(__tstate
);
19396 if (PyErr_Occurred()) SWIG_fail
;
19398 Py_INCREF(Py_None
); resultobj
= Py_None
;
19405 static PyObject
*_wrap_PyApp__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19406 PyObject
*resultobj
;
19407 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19408 PyObject
*arg2
= (PyObject
*) 0 ;
19409 PyObject
*arg3
= (PyObject
*) 0 ;
19410 PyObject
* obj0
= 0 ;
19411 PyObject
* obj1
= 0 ;
19412 PyObject
* obj2
= 0 ;
19413 char *kwnames
[] = {
19414 (char *) "self",(char *) "self",(char *) "_class", NULL
19417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyApp__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19418 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19419 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19424 (arg1
)->_setCallbackInfo(arg2
,arg3
);
19426 wxPyEndAllowThreads(__tstate
);
19427 if (PyErr_Occurred()) SWIG_fail
;
19429 Py_INCREF(Py_None
); resultobj
= Py_None
;
19436 static PyObject
*_wrap_PyApp_GetAppName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19437 PyObject
*resultobj
;
19438 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19440 PyObject
* obj0
= 0 ;
19441 char *kwnames
[] = {
19442 (char *) "self", NULL
19445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetAppName",kwnames
,&obj0
)) goto fail
;
19446 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19447 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19450 result
= ((wxPyApp
const *)arg1
)->GetAppName();
19452 wxPyEndAllowThreads(__tstate
);
19453 if (PyErr_Occurred()) SWIG_fail
;
19457 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19459 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19468 static PyObject
*_wrap_PyApp_SetAppName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19469 PyObject
*resultobj
;
19470 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19471 wxString
*arg2
= 0 ;
19472 bool temp2
= False
;
19473 PyObject
* obj0
= 0 ;
19474 PyObject
* obj1
= 0 ;
19475 char *kwnames
[] = {
19476 (char *) "self",(char *) "name", NULL
19479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetAppName",kwnames
,&obj0
,&obj1
)) goto fail
;
19480 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19481 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19483 arg2
= wxString_in_helper(obj1
);
19484 if (arg2
== NULL
) SWIG_fail
;
19488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19489 (arg1
)->SetAppName((wxString
const &)*arg2
);
19491 wxPyEndAllowThreads(__tstate
);
19492 if (PyErr_Occurred()) SWIG_fail
;
19494 Py_INCREF(Py_None
); resultobj
= Py_None
;
19509 static PyObject
*_wrap_PyApp_GetClassName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19510 PyObject
*resultobj
;
19511 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19513 PyObject
* obj0
= 0 ;
19514 char *kwnames
[] = {
19515 (char *) "self", NULL
19518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetClassName",kwnames
,&obj0
)) goto fail
;
19519 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19520 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19523 result
= ((wxPyApp
const *)arg1
)->GetClassName();
19525 wxPyEndAllowThreads(__tstate
);
19526 if (PyErr_Occurred()) SWIG_fail
;
19530 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19532 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19541 static PyObject
*_wrap_PyApp_SetClassName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19542 PyObject
*resultobj
;
19543 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19544 wxString
*arg2
= 0 ;
19545 bool temp2
= False
;
19546 PyObject
* obj0
= 0 ;
19547 PyObject
* obj1
= 0 ;
19548 char *kwnames
[] = {
19549 (char *) "self",(char *) "name", NULL
19552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetClassName",kwnames
,&obj0
,&obj1
)) goto fail
;
19553 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19554 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19556 arg2
= wxString_in_helper(obj1
);
19557 if (arg2
== NULL
) SWIG_fail
;
19561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19562 (arg1
)->SetClassName((wxString
const &)*arg2
);
19564 wxPyEndAllowThreads(__tstate
);
19565 if (PyErr_Occurred()) SWIG_fail
;
19567 Py_INCREF(Py_None
); resultobj
= Py_None
;
19582 static PyObject
*_wrap_PyApp_GetVendorName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19583 PyObject
*resultobj
;
19584 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19586 PyObject
* obj0
= 0 ;
19587 char *kwnames
[] = {
19588 (char *) "self", NULL
19591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetVendorName",kwnames
,&obj0
)) goto fail
;
19592 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19593 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19597 wxString
const &_result_ref
= ((wxPyApp
const *)arg1
)->GetVendorName();
19598 result
= (wxString
*) &_result_ref
;
19601 wxPyEndAllowThreads(__tstate
);
19602 if (PyErr_Occurred()) SWIG_fail
;
19606 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19608 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19617 static PyObject
*_wrap_PyApp_SetVendorName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19618 PyObject
*resultobj
;
19619 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19620 wxString
*arg2
= 0 ;
19621 bool temp2
= False
;
19622 PyObject
* obj0
= 0 ;
19623 PyObject
* obj1
= 0 ;
19624 char *kwnames
[] = {
19625 (char *) "self",(char *) "name", NULL
19628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetVendorName",kwnames
,&obj0
,&obj1
)) goto fail
;
19629 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19630 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19632 arg2
= wxString_in_helper(obj1
);
19633 if (arg2
== NULL
) SWIG_fail
;
19637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19638 (arg1
)->SetVendorName((wxString
const &)*arg2
);
19640 wxPyEndAllowThreads(__tstate
);
19641 if (PyErr_Occurred()) SWIG_fail
;
19643 Py_INCREF(Py_None
); resultobj
= Py_None
;
19658 static PyObject
*_wrap_PyApp_GetTraits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19659 PyObject
*resultobj
;
19660 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19661 wxAppTraits
*result
;
19662 PyObject
* obj0
= 0 ;
19663 char *kwnames
[] = {
19664 (char *) "self", NULL
19667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetTraits",kwnames
,&obj0
)) goto fail
;
19668 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19669 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19672 result
= (wxAppTraits
*)(arg1
)->GetTraits();
19674 wxPyEndAllowThreads(__tstate
);
19675 if (PyErr_Occurred()) SWIG_fail
;
19677 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAppTraits
, 0);
19684 static PyObject
*_wrap_PyApp_ProcessPendingEvents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19685 PyObject
*resultobj
;
19686 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19687 PyObject
* obj0
= 0 ;
19688 char *kwnames
[] = {
19689 (char *) "self", NULL
19692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ProcessPendingEvents",kwnames
,&obj0
)) goto fail
;
19693 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19694 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19697 (arg1
)->ProcessPendingEvents();
19699 wxPyEndAllowThreads(__tstate
);
19700 if (PyErr_Occurred()) SWIG_fail
;
19702 Py_INCREF(Py_None
); resultobj
= Py_None
;
19709 static PyObject
*_wrap_PyApp_Yield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19710 PyObject
*resultobj
;
19711 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19712 bool arg2
= (bool) False
;
19714 PyObject
* obj0
= 0 ;
19715 PyObject
* obj1
= 0 ;
19716 char *kwnames
[] = {
19717 (char *) "self",(char *) "onlyIfNeeded", NULL
19720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyApp_Yield",kwnames
,&obj0
,&obj1
)) goto fail
;
19721 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19722 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19724 arg2
= (bool) SWIG_AsBool(obj1
);
19725 if (PyErr_Occurred()) SWIG_fail
;
19728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19729 result
= (bool)(arg1
)->Yield(arg2
);
19731 wxPyEndAllowThreads(__tstate
);
19732 if (PyErr_Occurred()) SWIG_fail
;
19735 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19743 static PyObject
*_wrap_PyApp_WakeUpIdle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19744 PyObject
*resultobj
;
19745 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19746 PyObject
* obj0
= 0 ;
19747 char *kwnames
[] = {
19748 (char *) "self", NULL
19751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_WakeUpIdle",kwnames
,&obj0
)) goto fail
;
19752 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19753 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19756 (arg1
)->WakeUpIdle();
19758 wxPyEndAllowThreads(__tstate
);
19759 if (PyErr_Occurred()) SWIG_fail
;
19761 Py_INCREF(Py_None
); resultobj
= Py_None
;
19768 static PyObject
*_wrap_PyApp_MainLoop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19769 PyObject
*resultobj
;
19770 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19772 PyObject
* obj0
= 0 ;
19773 char *kwnames
[] = {
19774 (char *) "self", NULL
19777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_MainLoop",kwnames
,&obj0
)) goto fail
;
19778 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19779 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19782 result
= (int)(arg1
)->MainLoop();
19784 wxPyEndAllowThreads(__tstate
);
19785 if (PyErr_Occurred()) SWIG_fail
;
19787 resultobj
= SWIG_FromInt((int)result
);
19794 static PyObject
*_wrap_PyApp_Exit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19795 PyObject
*resultobj
;
19796 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19797 PyObject
* obj0
= 0 ;
19798 char *kwnames
[] = {
19799 (char *) "self", NULL
19802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Exit",kwnames
,&obj0
)) goto fail
;
19803 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19804 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19809 wxPyEndAllowThreads(__tstate
);
19810 if (PyErr_Occurred()) SWIG_fail
;
19812 Py_INCREF(Py_None
); resultobj
= Py_None
;
19819 static PyObject
*_wrap_PyApp_ExitMainLoop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19820 PyObject
*resultobj
;
19821 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19822 PyObject
* obj0
= 0 ;
19823 char *kwnames
[] = {
19824 (char *) "self", NULL
19827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ExitMainLoop",kwnames
,&obj0
)) goto fail
;
19828 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19829 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19832 (arg1
)->ExitMainLoop();
19834 wxPyEndAllowThreads(__tstate
);
19835 if (PyErr_Occurred()) SWIG_fail
;
19837 Py_INCREF(Py_None
); resultobj
= Py_None
;
19844 static PyObject
*_wrap_PyApp_Pending(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19845 PyObject
*resultobj
;
19846 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19848 PyObject
* obj0
= 0 ;
19849 char *kwnames
[] = {
19850 (char *) "self", NULL
19853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Pending",kwnames
,&obj0
)) goto fail
;
19854 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19855 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19858 result
= (bool)(arg1
)->Pending();
19860 wxPyEndAllowThreads(__tstate
);
19861 if (PyErr_Occurred()) SWIG_fail
;
19864 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19872 static PyObject
*_wrap_PyApp_Dispatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19873 PyObject
*resultobj
;
19874 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19876 PyObject
* obj0
= 0 ;
19877 char *kwnames
[] = {
19878 (char *) "self", NULL
19881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Dispatch",kwnames
,&obj0
)) goto fail
;
19882 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19886 result
= (bool)(arg1
)->Dispatch();
19888 wxPyEndAllowThreads(__tstate
);
19889 if (PyErr_Occurred()) SWIG_fail
;
19892 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19900 static PyObject
*_wrap_PyApp_ProcessIdle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19901 PyObject
*resultobj
;
19902 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19904 PyObject
* obj0
= 0 ;
19905 char *kwnames
[] = {
19906 (char *) "self", NULL
19909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ProcessIdle",kwnames
,&obj0
)) goto fail
;
19910 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19911 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19914 result
= (bool)(arg1
)->ProcessIdle();
19916 wxPyEndAllowThreads(__tstate
);
19917 if (PyErr_Occurred()) SWIG_fail
;
19920 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19928 static PyObject
*_wrap_PyApp_SendIdleEvents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19929 PyObject
*resultobj
;
19930 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19931 wxWindow
*arg2
= (wxWindow
*) 0 ;
19932 wxIdleEvent
*arg3
= 0 ;
19934 PyObject
* obj0
= 0 ;
19935 PyObject
* obj1
= 0 ;
19936 PyObject
* obj2
= 0 ;
19937 char *kwnames
[] = {
19938 (char *) "self",(char *) "win",(char *) "event", NULL
19941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyApp_SendIdleEvents",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19942 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19943 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19944 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
19945 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19946 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxIdleEvent
,
19947 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19949 if (arg3
== NULL
) {
19950 PyErr_SetString(PyExc_TypeError
,"null reference");
19954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19955 result
= (bool)(arg1
)->SendIdleEvents(arg2
,*arg3
);
19957 wxPyEndAllowThreads(__tstate
);
19958 if (PyErr_Occurred()) SWIG_fail
;
19961 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19969 static PyObject
*_wrap_PyApp_IsActive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19970 PyObject
*resultobj
;
19971 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19973 PyObject
* obj0
= 0 ;
19974 char *kwnames
[] = {
19975 (char *) "self", NULL
19978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_IsActive",kwnames
,&obj0
)) goto fail
;
19979 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19980 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19983 result
= (bool)((wxPyApp
const *)arg1
)->IsActive();
19985 wxPyEndAllowThreads(__tstate
);
19986 if (PyErr_Occurred()) SWIG_fail
;
19989 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19997 static PyObject
*_wrap_PyApp_SetTopWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19998 PyObject
*resultobj
;
19999 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20000 wxWindow
*arg2
= (wxWindow
*) 0 ;
20001 PyObject
* obj0
= 0 ;
20002 PyObject
* obj1
= 0 ;
20003 char *kwnames
[] = {
20004 (char *) "self",(char *) "win", NULL
20007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetTopWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
20008 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20009 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20010 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
20011 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20014 (arg1
)->SetTopWindow(arg2
);
20016 wxPyEndAllowThreads(__tstate
);
20017 if (PyErr_Occurred()) SWIG_fail
;
20019 Py_INCREF(Py_None
); resultobj
= Py_None
;
20026 static PyObject
*_wrap_PyApp_GetTopWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20027 PyObject
*resultobj
;
20028 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20030 PyObject
* obj0
= 0 ;
20031 char *kwnames
[] = {
20032 (char *) "self", NULL
20035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetTopWindow",kwnames
,&obj0
)) goto fail
;
20036 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20037 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20040 result
= (wxWindow
*)((wxPyApp
const *)arg1
)->GetTopWindow();
20042 wxPyEndAllowThreads(__tstate
);
20043 if (PyErr_Occurred()) SWIG_fail
;
20046 resultobj
= wxPyMake_wxObject(result
);
20054 static PyObject
*_wrap_PyApp_SetExitOnFrameDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20055 PyObject
*resultobj
;
20056 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20058 PyObject
* obj0
= 0 ;
20059 PyObject
* obj1
= 0 ;
20060 char *kwnames
[] = {
20061 (char *) "self",(char *) "flag", NULL
20064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetExitOnFrameDelete",kwnames
,&obj0
,&obj1
)) goto fail
;
20065 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20066 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20067 arg2
= (bool) SWIG_AsBool(obj1
);
20068 if (PyErr_Occurred()) SWIG_fail
;
20070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20071 (arg1
)->SetExitOnFrameDelete(arg2
);
20073 wxPyEndAllowThreads(__tstate
);
20074 if (PyErr_Occurred()) SWIG_fail
;
20076 Py_INCREF(Py_None
); resultobj
= Py_None
;
20083 static PyObject
*_wrap_PyApp_GetExitOnFrameDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20084 PyObject
*resultobj
;
20085 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20087 PyObject
* obj0
= 0 ;
20088 char *kwnames
[] = {
20089 (char *) "self", NULL
20092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetExitOnFrameDelete",kwnames
,&obj0
)) goto fail
;
20093 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20094 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20097 result
= (bool)((wxPyApp
const *)arg1
)->GetExitOnFrameDelete();
20099 wxPyEndAllowThreads(__tstate
);
20100 if (PyErr_Occurred()) SWIG_fail
;
20103 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20111 static PyObject
*_wrap_PyApp_SetUseBestVisual(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20112 PyObject
*resultobj
;
20113 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20115 PyObject
* obj0
= 0 ;
20116 PyObject
* obj1
= 0 ;
20117 char *kwnames
[] = {
20118 (char *) "self",(char *) "flag", NULL
20121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetUseBestVisual",kwnames
,&obj0
,&obj1
)) goto fail
;
20122 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20123 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20124 arg2
= (bool) SWIG_AsBool(obj1
);
20125 if (PyErr_Occurred()) SWIG_fail
;
20127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20128 (arg1
)->SetUseBestVisual(arg2
);
20130 wxPyEndAllowThreads(__tstate
);
20131 if (PyErr_Occurred()) SWIG_fail
;
20133 Py_INCREF(Py_None
); resultobj
= Py_None
;
20140 static PyObject
*_wrap_PyApp_GetUseBestVisual(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20141 PyObject
*resultobj
;
20142 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20144 PyObject
* obj0
= 0 ;
20145 char *kwnames
[] = {
20146 (char *) "self", NULL
20149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetUseBestVisual",kwnames
,&obj0
)) goto fail
;
20150 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20151 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20154 result
= (bool)((wxPyApp
const *)arg1
)->GetUseBestVisual();
20156 wxPyEndAllowThreads(__tstate
);
20157 if (PyErr_Occurred()) SWIG_fail
;
20160 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20168 static PyObject
*_wrap_PyApp_SetPrintMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20169 PyObject
*resultobj
;
20170 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20172 PyObject
* obj0
= 0 ;
20173 PyObject
* obj1
= 0 ;
20174 char *kwnames
[] = {
20175 (char *) "self",(char *) "mode", NULL
20178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetPrintMode",kwnames
,&obj0
,&obj1
)) goto fail
;
20179 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20180 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20181 arg2
= (int) SWIG_AsInt(obj1
);
20182 if (PyErr_Occurred()) SWIG_fail
;
20184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20185 (arg1
)->SetPrintMode(arg2
);
20187 wxPyEndAllowThreads(__tstate
);
20188 if (PyErr_Occurred()) SWIG_fail
;
20190 Py_INCREF(Py_None
); resultobj
= Py_None
;
20197 static PyObject
*_wrap_PyApp_GetPrintMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20198 PyObject
*resultobj
;
20199 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20201 PyObject
* obj0
= 0 ;
20202 char *kwnames
[] = {
20203 (char *) "self", NULL
20206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetPrintMode",kwnames
,&obj0
)) goto fail
;
20207 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20208 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20211 result
= (int)((wxPyApp
const *)arg1
)->GetPrintMode();
20213 wxPyEndAllowThreads(__tstate
);
20214 if (PyErr_Occurred()) SWIG_fail
;
20216 resultobj
= SWIG_FromInt((int)result
);
20223 static PyObject
*_wrap_PyApp_SetAssertMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20224 PyObject
*resultobj
;
20225 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20227 PyObject
* obj0
= 0 ;
20228 PyObject
* obj1
= 0 ;
20229 char *kwnames
[] = {
20230 (char *) "self",(char *) "mode", NULL
20233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetAssertMode",kwnames
,&obj0
,&obj1
)) goto fail
;
20234 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20235 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20236 arg2
= (int) SWIG_AsInt(obj1
);
20237 if (PyErr_Occurred()) SWIG_fail
;
20239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20240 (arg1
)->SetAssertMode(arg2
);
20242 wxPyEndAllowThreads(__tstate
);
20243 if (PyErr_Occurred()) SWIG_fail
;
20245 Py_INCREF(Py_None
); resultobj
= Py_None
;
20252 static PyObject
*_wrap_PyApp_GetAssertMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20253 PyObject
*resultobj
;
20254 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20256 PyObject
* obj0
= 0 ;
20257 char *kwnames
[] = {
20258 (char *) "self", NULL
20261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetAssertMode",kwnames
,&obj0
)) goto fail
;
20262 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20263 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20266 result
= (int)(arg1
)->GetAssertMode();
20268 wxPyEndAllowThreads(__tstate
);
20269 if (PyErr_Occurred()) SWIG_fail
;
20271 resultobj
= SWIG_FromInt((int)result
);
20278 static PyObject
*_wrap_PyApp_GetMacSupportPCMenuShortcuts(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20279 PyObject
*resultobj
;
20281 char *kwnames
[] = {
20285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacSupportPCMenuShortcuts",kwnames
)) goto fail
;
20287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20288 result
= (bool)wxPyApp::GetMacSupportPCMenuShortcuts();
20290 wxPyEndAllowThreads(__tstate
);
20291 if (PyErr_Occurred()) SWIG_fail
;
20294 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20302 static PyObject
*_wrap_PyApp_GetMacAboutMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20303 PyObject
*resultobj
;
20305 char *kwnames
[] = {
20309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacAboutMenuItemId",kwnames
)) goto fail
;
20311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20312 result
= (long)wxPyApp::GetMacAboutMenuItemId();
20314 wxPyEndAllowThreads(__tstate
);
20315 if (PyErr_Occurred()) SWIG_fail
;
20317 resultobj
= SWIG_FromLong((long)result
);
20324 static PyObject
*_wrap_PyApp_GetMacPreferencesMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20325 PyObject
*resultobj
;
20327 char *kwnames
[] = {
20331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacPreferencesMenuItemId",kwnames
)) goto fail
;
20333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20334 result
= (long)wxPyApp::GetMacPreferencesMenuItemId();
20336 wxPyEndAllowThreads(__tstate
);
20337 if (PyErr_Occurred()) SWIG_fail
;
20339 resultobj
= SWIG_FromLong((long)result
);
20346 static PyObject
*_wrap_PyApp_GetMacExitMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20347 PyObject
*resultobj
;
20349 char *kwnames
[] = {
20353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacExitMenuItemId",kwnames
)) goto fail
;
20355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20356 result
= (long)wxPyApp::GetMacExitMenuItemId();
20358 wxPyEndAllowThreads(__tstate
);
20359 if (PyErr_Occurred()) SWIG_fail
;
20361 resultobj
= SWIG_FromLong((long)result
);
20368 static PyObject
*_wrap_PyApp_GetMacHelpMenuTitleName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20369 PyObject
*resultobj
;
20371 char *kwnames
[] = {
20375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacHelpMenuTitleName",kwnames
)) goto fail
;
20377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20378 result
= wxPyApp::GetMacHelpMenuTitleName();
20380 wxPyEndAllowThreads(__tstate
);
20381 if (PyErr_Occurred()) SWIG_fail
;
20385 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20387 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20396 static PyObject
*_wrap_PyApp_SetMacSupportPCMenuShortcuts(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20397 PyObject
*resultobj
;
20399 PyObject
* obj0
= 0 ;
20400 char *kwnames
[] = {
20401 (char *) "val", NULL
20404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacSupportPCMenuShortcuts",kwnames
,&obj0
)) goto fail
;
20405 arg1
= (bool) SWIG_AsBool(obj0
);
20406 if (PyErr_Occurred()) SWIG_fail
;
20408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20409 wxPyApp::SetMacSupportPCMenuShortcuts(arg1
);
20411 wxPyEndAllowThreads(__tstate
);
20412 if (PyErr_Occurred()) SWIG_fail
;
20414 Py_INCREF(Py_None
); resultobj
= Py_None
;
20421 static PyObject
*_wrap_PyApp_SetMacAboutMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20422 PyObject
*resultobj
;
20424 PyObject
* obj0
= 0 ;
20425 char *kwnames
[] = {
20426 (char *) "val", NULL
20429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacAboutMenuItemId",kwnames
,&obj0
)) goto fail
;
20430 arg1
= (long) SWIG_AsLong(obj0
);
20431 if (PyErr_Occurred()) SWIG_fail
;
20433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20434 wxPyApp::SetMacAboutMenuItemId(arg1
);
20436 wxPyEndAllowThreads(__tstate
);
20437 if (PyErr_Occurred()) SWIG_fail
;
20439 Py_INCREF(Py_None
); resultobj
= Py_None
;
20446 static PyObject
*_wrap_PyApp_SetMacPreferencesMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20447 PyObject
*resultobj
;
20449 PyObject
* obj0
= 0 ;
20450 char *kwnames
[] = {
20451 (char *) "val", NULL
20454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacPreferencesMenuItemId",kwnames
,&obj0
)) goto fail
;
20455 arg1
= (long) SWIG_AsLong(obj0
);
20456 if (PyErr_Occurred()) SWIG_fail
;
20458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20459 wxPyApp::SetMacPreferencesMenuItemId(arg1
);
20461 wxPyEndAllowThreads(__tstate
);
20462 if (PyErr_Occurred()) SWIG_fail
;
20464 Py_INCREF(Py_None
); resultobj
= Py_None
;
20471 static PyObject
*_wrap_PyApp_SetMacExitMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20472 PyObject
*resultobj
;
20474 PyObject
* obj0
= 0 ;
20475 char *kwnames
[] = {
20476 (char *) "val", NULL
20479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacExitMenuItemId",kwnames
,&obj0
)) goto fail
;
20480 arg1
= (long) SWIG_AsLong(obj0
);
20481 if (PyErr_Occurred()) SWIG_fail
;
20483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20484 wxPyApp::SetMacExitMenuItemId(arg1
);
20486 wxPyEndAllowThreads(__tstate
);
20487 if (PyErr_Occurred()) SWIG_fail
;
20489 Py_INCREF(Py_None
); resultobj
= Py_None
;
20496 static PyObject
*_wrap_PyApp_SetMacHelpMenuTitleName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20497 PyObject
*resultobj
;
20498 wxString
*arg1
= 0 ;
20499 bool temp1
= False
;
20500 PyObject
* obj0
= 0 ;
20501 char *kwnames
[] = {
20502 (char *) "val", NULL
20505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacHelpMenuTitleName",kwnames
,&obj0
)) goto fail
;
20507 arg1
= wxString_in_helper(obj0
);
20508 if (arg1
== NULL
) SWIG_fail
;
20512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20513 wxPyApp::SetMacHelpMenuTitleName((wxString
const &)*arg1
);
20515 wxPyEndAllowThreads(__tstate
);
20516 if (PyErr_Occurred()) SWIG_fail
;
20518 Py_INCREF(Py_None
); resultobj
= Py_None
;
20533 static PyObject
*_wrap_PyApp__BootstrapApp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20534 PyObject
*resultobj
;
20535 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20536 PyObject
* obj0
= 0 ;
20537 char *kwnames
[] = {
20538 (char *) "self", NULL
20541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp__BootstrapApp",kwnames
,&obj0
)) goto fail
;
20542 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20543 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20546 (arg1
)->_BootstrapApp();
20548 wxPyEndAllowThreads(__tstate
);
20549 if (PyErr_Occurred()) SWIG_fail
;
20551 Py_INCREF(Py_None
); resultobj
= Py_None
;
20558 static PyObject
*_wrap_PyApp_GetComCtl32Version(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20559 PyObject
*resultobj
;
20561 char *kwnames
[] = {
20565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetComCtl32Version",kwnames
)) goto fail
;
20567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20568 result
= (int)wxPyApp::GetComCtl32Version();
20570 wxPyEndAllowThreads(__tstate
);
20571 if (PyErr_Occurred()) SWIG_fail
;
20573 resultobj
= SWIG_FromInt((int)result
);
20580 static PyObject
* PyApp_swigregister(PyObject
*self
, PyObject
*args
) {
20582 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20583 SWIG_TypeClientData(SWIGTYPE_p_wxPyApp
, obj
);
20585 return Py_BuildValue((char *)"");
20587 static PyObject
*_wrap_Exit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20588 PyObject
*resultobj
;
20589 char *kwnames
[] = {
20593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Exit",kwnames
)) goto fail
;
20595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20598 wxPyEndAllowThreads(__tstate
);
20599 if (PyErr_Occurred()) SWIG_fail
;
20601 Py_INCREF(Py_None
); resultobj
= Py_None
;
20608 static PyObject
*_wrap_Yield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20609 PyObject
*resultobj
;
20611 char *kwnames
[] = {
20615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Yield",kwnames
)) goto fail
;
20617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20618 result
= (bool)wxYield();
20620 wxPyEndAllowThreads(__tstate
);
20621 if (PyErr_Occurred()) SWIG_fail
;
20624 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20632 static PyObject
*_wrap_YieldIfNeeded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20633 PyObject
*resultobj
;
20635 char *kwnames
[] = {
20639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":YieldIfNeeded",kwnames
)) goto fail
;
20641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20642 result
= (bool)wxYieldIfNeeded();
20644 wxPyEndAllowThreads(__tstate
);
20645 if (PyErr_Occurred()) SWIG_fail
;
20648 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20656 static PyObject
*_wrap_SafeYield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20657 PyObject
*resultobj
;
20658 wxWindow
*arg1
= (wxWindow
*) NULL
;
20659 bool arg2
= (bool) False
;
20661 PyObject
* obj0
= 0 ;
20662 PyObject
* obj1
= 0 ;
20663 char *kwnames
[] = {
20664 (char *) "win",(char *) "onlyIfNeeded", NULL
20667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:SafeYield",kwnames
,&obj0
,&obj1
)) goto fail
;
20669 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
20670 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20673 arg2
= (bool) SWIG_AsBool(obj1
);
20674 if (PyErr_Occurred()) SWIG_fail
;
20677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20678 result
= (bool)wxSafeYield(arg1
,arg2
);
20680 wxPyEndAllowThreads(__tstate
);
20681 if (PyErr_Occurred()) SWIG_fail
;
20684 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20692 static PyObject
*_wrap_WakeUpIdle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20693 PyObject
*resultobj
;
20694 char *kwnames
[] = {
20698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":WakeUpIdle",kwnames
)) goto fail
;
20700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20703 wxPyEndAllowThreads(__tstate
);
20704 if (PyErr_Occurred()) SWIG_fail
;
20706 Py_INCREF(Py_None
); resultobj
= Py_None
;
20713 static PyObject
*_wrap_PostEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20714 PyObject
*resultobj
;
20715 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
20716 wxEvent
*arg2
= 0 ;
20717 PyObject
* obj0
= 0 ;
20718 PyObject
* obj1
= 0 ;
20719 char *kwnames
[] = {
20720 (char *) "dest",(char *) "event", NULL
20723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
20724 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
20725 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20726 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvent
,
20727 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20729 if (arg2
== NULL
) {
20730 PyErr_SetString(PyExc_TypeError
,"null reference");
20734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20735 wxPostEvent(arg1
,*arg2
);
20737 wxPyEndAllowThreads(__tstate
);
20738 if (PyErr_Occurred()) SWIG_fail
;
20740 Py_INCREF(Py_None
); resultobj
= Py_None
;
20747 static PyObject
*_wrap_App_CleanUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20748 PyObject
*resultobj
;
20749 char *kwnames
[] = {
20753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":App_CleanUp",kwnames
)) goto fail
;
20755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20758 wxPyEndAllowThreads(__tstate
);
20759 if (PyErr_Occurred()) SWIG_fail
;
20761 Py_INCREF(Py_None
); resultobj
= Py_None
;
20768 static PyObject
*_wrap_GetApp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20769 PyObject
*resultobj
;
20771 char *kwnames
[] = {
20775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetApp",kwnames
)) goto fail
;
20777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20778 result
= (wxPyApp
*)wxGetApp();
20780 wxPyEndAllowThreads(__tstate
);
20781 if (PyErr_Occurred()) SWIG_fail
;
20784 resultobj
= wxPyMake_wxObject(result
);
20792 static PyObject
*_wrap_new_AcceleratorEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20793 PyObject
*resultobj
;
20794 int arg1
= (int) 0 ;
20795 int arg2
= (int) 0 ;
20796 int arg3
= (int) 0 ;
20797 wxAcceleratorEntry
*result
;
20798 PyObject
* obj0
= 0 ;
20799 PyObject
* obj1
= 0 ;
20800 PyObject
* obj2
= 0 ;
20801 char *kwnames
[] = {
20802 (char *) "flags",(char *) "keyCode",(char *) "cmdID", NULL
20805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_AcceleratorEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20807 arg1
= (int) SWIG_AsInt(obj0
);
20808 if (PyErr_Occurred()) SWIG_fail
;
20811 arg2
= (int) SWIG_AsInt(obj1
);
20812 if (PyErr_Occurred()) SWIG_fail
;
20815 arg3
= (int) SWIG_AsInt(obj2
);
20816 if (PyErr_Occurred()) SWIG_fail
;
20819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20820 result
= (wxAcceleratorEntry
*)new wxAcceleratorEntry(arg1
,arg2
,arg3
);
20822 wxPyEndAllowThreads(__tstate
);
20823 if (PyErr_Occurred()) SWIG_fail
;
20825 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 1);
20832 static PyObject
*_wrap_delete_AcceleratorEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20833 PyObject
*resultobj
;
20834 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
20835 PyObject
* obj0
= 0 ;
20836 char *kwnames
[] = {
20837 (char *) "self", NULL
20840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_AcceleratorEntry",kwnames
,&obj0
)) goto fail
;
20841 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
20842 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20847 wxPyEndAllowThreads(__tstate
);
20848 if (PyErr_Occurred()) SWIG_fail
;
20850 Py_INCREF(Py_None
); resultobj
= Py_None
;
20857 static PyObject
*_wrap_AcceleratorEntry_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20858 PyObject
*resultobj
;
20859 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
20863 PyObject
* obj0
= 0 ;
20864 PyObject
* obj1
= 0 ;
20865 PyObject
* obj2
= 0 ;
20866 PyObject
* obj3
= 0 ;
20867 char *kwnames
[] = {
20868 (char *) "self",(char *) "flags",(char *) "keyCode",(char *) "cmd", NULL
20871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AcceleratorEntry_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20872 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
20873 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20874 arg2
= (int) SWIG_AsInt(obj1
);
20875 if (PyErr_Occurred()) SWIG_fail
;
20876 arg3
= (int) SWIG_AsInt(obj2
);
20877 if (PyErr_Occurred()) SWIG_fail
;
20878 arg4
= (int) SWIG_AsInt(obj3
);
20879 if (PyErr_Occurred()) SWIG_fail
;
20881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20882 (arg1
)->Set(arg2
,arg3
,arg4
);
20884 wxPyEndAllowThreads(__tstate
);
20885 if (PyErr_Occurred()) SWIG_fail
;
20887 Py_INCREF(Py_None
); resultobj
= Py_None
;
20894 static PyObject
*_wrap_AcceleratorEntry_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20895 PyObject
*resultobj
;
20896 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
20898 PyObject
* obj0
= 0 ;
20899 char *kwnames
[] = {
20900 (char *) "self", NULL
20903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetFlags",kwnames
,&obj0
)) goto fail
;
20904 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
20905 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20908 result
= (int)(arg1
)->GetFlags();
20910 wxPyEndAllowThreads(__tstate
);
20911 if (PyErr_Occurred()) SWIG_fail
;
20913 resultobj
= SWIG_FromInt((int)result
);
20920 static PyObject
*_wrap_AcceleratorEntry_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20921 PyObject
*resultobj
;
20922 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
20924 PyObject
* obj0
= 0 ;
20925 char *kwnames
[] = {
20926 (char *) "self", NULL
20929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetKeyCode",kwnames
,&obj0
)) goto fail
;
20930 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
20931 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20934 result
= (int)(arg1
)->GetKeyCode();
20936 wxPyEndAllowThreads(__tstate
);
20937 if (PyErr_Occurred()) SWIG_fail
;
20939 resultobj
= SWIG_FromInt((int)result
);
20946 static PyObject
*_wrap_AcceleratorEntry_GetCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20947 PyObject
*resultobj
;
20948 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
20950 PyObject
* obj0
= 0 ;
20951 char *kwnames
[] = {
20952 (char *) "self", NULL
20955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetCommand",kwnames
,&obj0
)) goto fail
;
20956 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
20957 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20960 result
= (int)(arg1
)->GetCommand();
20962 wxPyEndAllowThreads(__tstate
);
20963 if (PyErr_Occurred()) SWIG_fail
;
20965 resultobj
= SWIG_FromInt((int)result
);
20972 static PyObject
* AcceleratorEntry_swigregister(PyObject
*self
, PyObject
*args
) {
20974 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20975 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorEntry
, obj
);
20977 return Py_BuildValue((char *)"");
20979 static PyObject
*_wrap_new_AcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20980 PyObject
*resultobj
;
20982 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
20983 wxAcceleratorTable
*result
;
20984 PyObject
* obj0
= 0 ;
20985 char *kwnames
[] = {
20989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_AcceleratorTable",kwnames
,&obj0
)) goto fail
;
20991 arg2
= wxAcceleratorEntry_LIST_helper(obj0
);
20992 if (arg2
) arg1
= PyList_Size(obj0
);
20996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20997 result
= (wxAcceleratorTable
*)new wxAcceleratorTable(arg1
,(wxAcceleratorEntry
const *)arg2
);
20999 wxPyEndAllowThreads(__tstate
);
21000 if (PyErr_Occurred()) SWIG_fail
;
21002 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorTable
, 1);
21015 static PyObject
*_wrap_delete_AcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21016 PyObject
*resultobj
;
21017 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
21018 PyObject
* obj0
= 0 ;
21019 char *kwnames
[] = {
21020 (char *) "self", NULL
21023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_AcceleratorTable",kwnames
,&obj0
)) goto fail
;
21024 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorTable
,
21025 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21030 wxPyEndAllowThreads(__tstate
);
21031 if (PyErr_Occurred()) SWIG_fail
;
21033 Py_INCREF(Py_None
); resultobj
= Py_None
;
21040 static PyObject
*_wrap_AcceleratorTable_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21041 PyObject
*resultobj
;
21042 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
21044 PyObject
* obj0
= 0 ;
21045 char *kwnames
[] = {
21046 (char *) "self", NULL
21049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorTable_Ok",kwnames
,&obj0
)) goto fail
;
21050 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorTable
,
21051 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21054 result
= (bool)((wxAcceleratorTable
const *)arg1
)->Ok();
21056 wxPyEndAllowThreads(__tstate
);
21057 if (PyErr_Occurred()) SWIG_fail
;
21060 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21068 static PyObject
* AcceleratorTable_swigregister(PyObject
*self
, PyObject
*args
) {
21070 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21071 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorTable
, obj
);
21073 return Py_BuildValue((char *)"");
21075 static int _wrap_NullAcceleratorTable_set(PyObject
*_val
) {
21076 PyErr_SetString(PyExc_TypeError
,"Variable NullAcceleratorTable is read-only.");
21081 static PyObject
*_wrap_NullAcceleratorTable_get() {
21084 pyobj
= SWIG_NewPointerObj((void *)(&wxNullAcceleratorTable
), SWIGTYPE_p_wxAcceleratorTable
, 0);
21089 static PyObject
*_wrap_GetAccelFromString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21090 PyObject
*resultobj
;
21091 wxString
*arg1
= 0 ;
21092 wxAcceleratorEntry
*result
;
21093 bool temp1
= False
;
21094 PyObject
* obj0
= 0 ;
21095 char *kwnames
[] = {
21096 (char *) "label", NULL
21099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetAccelFromString",kwnames
,&obj0
)) goto fail
;
21101 arg1
= wxString_in_helper(obj0
);
21102 if (arg1
== NULL
) SWIG_fail
;
21106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21107 result
= (wxAcceleratorEntry
*)wxGetAccelFromString((wxString
const &)*arg1
);
21109 wxPyEndAllowThreads(__tstate
);
21110 if (PyErr_Occurred()) SWIG_fail
;
21112 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 0);
21127 static int _wrap_PanelNameStr_set(PyObject
*_val
) {
21128 PyErr_SetString(PyExc_TypeError
,"Variable PanelNameStr is read-only.");
21133 static PyObject
*_wrap_PanelNameStr_get() {
21138 pyobj
= PyUnicode_FromWideChar((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
21140 pyobj
= PyString_FromStringAndSize((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
21147 static PyObject
*_wrap_new_VisualAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21148 PyObject
*resultobj
;
21149 wxVisualAttributes
*result
;
21150 char *kwnames
[] = {
21154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_VisualAttributes",kwnames
)) goto fail
;
21156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21157 result
= (wxVisualAttributes
*)new_wxVisualAttributes();
21159 wxPyEndAllowThreads(__tstate
);
21160 if (PyErr_Occurred()) SWIG_fail
;
21162 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxVisualAttributes
, 1);
21169 static PyObject
*_wrap_delete_VisualAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21170 PyObject
*resultobj
;
21171 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21172 PyObject
* obj0
= 0 ;
21173 char *kwnames
[] = {
21174 (char *) "self", NULL
21177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_VisualAttributes",kwnames
,&obj0
)) goto fail
;
21178 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21179 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21182 delete_wxVisualAttributes(arg1
);
21184 wxPyEndAllowThreads(__tstate
);
21185 if (PyErr_Occurred()) SWIG_fail
;
21187 Py_INCREF(Py_None
); resultobj
= Py_None
;
21194 static PyObject
*_wrap_VisualAttributes_font_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21195 PyObject
*resultobj
;
21196 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21197 wxFont
*arg2
= (wxFont
*) 0 ;
21198 PyObject
* obj0
= 0 ;
21199 PyObject
* obj1
= 0 ;
21200 char *kwnames
[] = {
21201 (char *) "self",(char *) "font", NULL
21204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_font_set",kwnames
,&obj0
,&obj1
)) goto fail
;
21205 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21206 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21207 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
21208 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21209 if (arg1
) (arg1
)->font
= *arg2
;
21211 Py_INCREF(Py_None
); resultobj
= Py_None
;
21218 static PyObject
*_wrap_VisualAttributes_font_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21219 PyObject
*resultobj
;
21220 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21222 PyObject
* obj0
= 0 ;
21223 char *kwnames
[] = {
21224 (char *) "self", NULL
21227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_font_get",kwnames
,&obj0
)) goto fail
;
21228 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21229 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21230 result
= (wxFont
*)& ((arg1
)->font
);
21232 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 0);
21239 static PyObject
*_wrap_VisualAttributes_colFg_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21240 PyObject
*resultobj
;
21241 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21242 wxColour
*arg2
= (wxColour
*) 0 ;
21243 PyObject
* obj0
= 0 ;
21244 PyObject
* obj1
= 0 ;
21245 char *kwnames
[] = {
21246 (char *) "self",(char *) "colFg", NULL
21249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_colFg_set",kwnames
,&obj0
,&obj1
)) goto fail
;
21250 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21251 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21252 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxColour
,
21253 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21254 if (arg1
) (arg1
)->colFg
= *arg2
;
21256 Py_INCREF(Py_None
); resultobj
= Py_None
;
21263 static PyObject
*_wrap_VisualAttributes_colFg_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21264 PyObject
*resultobj
;
21265 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21267 PyObject
* obj0
= 0 ;
21268 char *kwnames
[] = {
21269 (char *) "self", NULL
21272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_colFg_get",kwnames
,&obj0
)) goto fail
;
21273 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21274 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21275 result
= (wxColour
*)& ((arg1
)->colFg
);
21277 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
21284 static PyObject
*_wrap_VisualAttributes_colBg_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21285 PyObject
*resultobj
;
21286 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21287 wxColour
*arg2
= (wxColour
*) 0 ;
21288 PyObject
* obj0
= 0 ;
21289 PyObject
* obj1
= 0 ;
21290 char *kwnames
[] = {
21291 (char *) "self",(char *) "colBg", NULL
21294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_colBg_set",kwnames
,&obj0
,&obj1
)) goto fail
;
21295 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21296 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21297 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxColour
,
21298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21299 if (arg1
) (arg1
)->colBg
= *arg2
;
21301 Py_INCREF(Py_None
); resultobj
= Py_None
;
21308 static PyObject
*_wrap_VisualAttributes_colBg_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21309 PyObject
*resultobj
;
21310 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21312 PyObject
* obj0
= 0 ;
21313 char *kwnames
[] = {
21314 (char *) "self", NULL
21317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_colBg_get",kwnames
,&obj0
)) goto fail
;
21318 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21319 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21320 result
= (wxColour
*)& ((arg1
)->colBg
);
21322 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
21329 static PyObject
* VisualAttributes_swigregister(PyObject
*self
, PyObject
*args
) {
21331 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21332 SWIG_TypeClientData(SWIGTYPE_p_wxVisualAttributes
, obj
);
21334 return Py_BuildValue((char *)"");
21336 static PyObject
*_wrap_new_Window(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21337 PyObject
*resultobj
;
21338 wxWindow
*arg1
= (wxWindow
*) 0 ;
21339 int arg2
= (int) (int)-1 ;
21340 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21341 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21342 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21343 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21344 long arg5
= (long) 0 ;
21345 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
21346 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21350 bool temp6
= False
;
21351 PyObject
* obj0
= 0 ;
21352 PyObject
* obj1
= 0 ;
21353 PyObject
* obj2
= 0 ;
21354 PyObject
* obj3
= 0 ;
21355 PyObject
* obj4
= 0 ;
21356 PyObject
* obj5
= 0 ;
21357 char *kwnames
[] = {
21358 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Window",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
21362 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21363 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21365 arg2
= (int const) SWIG_AsInt(obj1
);
21366 if (PyErr_Occurred()) SWIG_fail
;
21371 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21377 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21381 arg5
= (long) SWIG_AsLong(obj4
);
21382 if (PyErr_Occurred()) SWIG_fail
;
21386 arg6
= wxString_in_helper(obj5
);
21387 if (arg6
== NULL
) SWIG_fail
;
21392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21393 result
= (wxWindow
*)new wxWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21395 wxPyEndAllowThreads(__tstate
);
21396 if (PyErr_Occurred()) SWIG_fail
;
21399 resultobj
= wxPyMake_wxObject(result
);
21415 static PyObject
*_wrap_new_PreWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21416 PyObject
*resultobj
;
21418 char *kwnames
[] = {
21422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreWindow",kwnames
)) goto fail
;
21424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21425 result
= (wxWindow
*)new wxWindow();
21427 wxPyEndAllowThreads(__tstate
);
21428 if (PyErr_Occurred()) SWIG_fail
;
21431 resultobj
= wxPyMake_wxObject(result
);
21439 static PyObject
*_wrap_Window_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21440 PyObject
*resultobj
;
21441 wxWindow
*arg1
= (wxWindow
*) 0 ;
21442 wxWindow
*arg2
= (wxWindow
*) 0 ;
21443 int arg3
= (int) (int)-1 ;
21444 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21445 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21446 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21447 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21448 long arg6
= (long) 0 ;
21449 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
21450 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21454 bool temp7
= False
;
21455 PyObject
* obj0
= 0 ;
21456 PyObject
* obj1
= 0 ;
21457 PyObject
* obj2
= 0 ;
21458 PyObject
* obj3
= 0 ;
21459 PyObject
* obj4
= 0 ;
21460 PyObject
* obj5
= 0 ;
21461 PyObject
* obj6
= 0 ;
21462 char *kwnames
[] = {
21463 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Window_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
21467 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21468 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21469 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
21470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21472 arg3
= (int const) SWIG_AsInt(obj2
);
21473 if (PyErr_Occurred()) SWIG_fail
;
21478 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21484 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21488 arg6
= (long) SWIG_AsLong(obj5
);
21489 if (PyErr_Occurred()) SWIG_fail
;
21493 arg7
= wxString_in_helper(obj6
);
21494 if (arg7
== NULL
) SWIG_fail
;
21499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21500 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21502 wxPyEndAllowThreads(__tstate
);
21503 if (PyErr_Occurred()) SWIG_fail
;
21506 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21522 static PyObject
*_wrap_Window_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21523 PyObject
*resultobj
;
21524 wxWindow
*arg1
= (wxWindow
*) 0 ;
21525 bool arg2
= (bool) False
;
21527 PyObject
* obj0
= 0 ;
21528 PyObject
* obj1
= 0 ;
21529 char *kwnames
[] = {
21530 (char *) "self",(char *) "force", NULL
21533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Close",kwnames
,&obj0
,&obj1
)) goto fail
;
21534 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21535 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21537 arg2
= (bool) SWIG_AsBool(obj1
);
21538 if (PyErr_Occurred()) SWIG_fail
;
21541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21542 result
= (bool)(arg1
)->Close(arg2
);
21544 wxPyEndAllowThreads(__tstate
);
21545 if (PyErr_Occurred()) SWIG_fail
;
21548 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21556 static PyObject
*_wrap_Window_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21557 PyObject
*resultobj
;
21558 wxWindow
*arg1
= (wxWindow
*) 0 ;
21560 PyObject
* obj0
= 0 ;
21561 char *kwnames
[] = {
21562 (char *) "self", NULL
21565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Destroy",kwnames
,&obj0
)) goto fail
;
21566 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21567 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21570 result
= (bool)(arg1
)->Destroy();
21572 wxPyEndAllowThreads(__tstate
);
21573 if (PyErr_Occurred()) SWIG_fail
;
21576 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21584 static PyObject
*_wrap_Window_DestroyChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21585 PyObject
*resultobj
;
21586 wxWindow
*arg1
= (wxWindow
*) 0 ;
21588 PyObject
* obj0
= 0 ;
21589 char *kwnames
[] = {
21590 (char *) "self", NULL
21593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_DestroyChildren",kwnames
,&obj0
)) goto fail
;
21594 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21595 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21598 result
= (bool)(arg1
)->DestroyChildren();
21600 wxPyEndAllowThreads(__tstate
);
21601 if (PyErr_Occurred()) SWIG_fail
;
21604 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21612 static PyObject
*_wrap_Window_IsBeingDeleted(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21613 PyObject
*resultobj
;
21614 wxWindow
*arg1
= (wxWindow
*) 0 ;
21616 PyObject
* obj0
= 0 ;
21617 char *kwnames
[] = {
21618 (char *) "self", NULL
21621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsBeingDeleted",kwnames
,&obj0
)) goto fail
;
21622 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21623 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21626 result
= (bool)((wxWindow
const *)arg1
)->IsBeingDeleted();
21628 wxPyEndAllowThreads(__tstate
);
21629 if (PyErr_Occurred()) SWIG_fail
;
21632 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21640 static PyObject
*_wrap_Window_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21641 PyObject
*resultobj
;
21642 wxWindow
*arg1
= (wxWindow
*) 0 ;
21643 wxString
*arg2
= 0 ;
21644 bool temp2
= False
;
21645 PyObject
* obj0
= 0 ;
21646 PyObject
* obj1
= 0 ;
21647 char *kwnames
[] = {
21648 (char *) "self",(char *) "title", NULL
21651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
21652 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21653 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21655 arg2
= wxString_in_helper(obj1
);
21656 if (arg2
== NULL
) SWIG_fail
;
21660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21661 (arg1
)->SetTitle((wxString
const &)*arg2
);
21663 wxPyEndAllowThreads(__tstate
);
21664 if (PyErr_Occurred()) SWIG_fail
;
21666 Py_INCREF(Py_None
); resultobj
= Py_None
;
21681 static PyObject
*_wrap_Window_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21682 PyObject
*resultobj
;
21683 wxWindow
*arg1
= (wxWindow
*) 0 ;
21685 PyObject
* obj0
= 0 ;
21686 char *kwnames
[] = {
21687 (char *) "self", NULL
21690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetTitle",kwnames
,&obj0
)) goto fail
;
21691 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21692 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21695 result
= ((wxWindow
const *)arg1
)->GetTitle();
21697 wxPyEndAllowThreads(__tstate
);
21698 if (PyErr_Occurred()) SWIG_fail
;
21702 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21704 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21713 static PyObject
*_wrap_Window_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21714 PyObject
*resultobj
;
21715 wxWindow
*arg1
= (wxWindow
*) 0 ;
21716 wxString
*arg2
= 0 ;
21717 bool temp2
= False
;
21718 PyObject
* obj0
= 0 ;
21719 PyObject
* obj1
= 0 ;
21720 char *kwnames
[] = {
21721 (char *) "self",(char *) "label", NULL
21724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
21725 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21726 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21728 arg2
= wxString_in_helper(obj1
);
21729 if (arg2
== NULL
) SWIG_fail
;
21733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21734 (arg1
)->SetLabel((wxString
const &)*arg2
);
21736 wxPyEndAllowThreads(__tstate
);
21737 if (PyErr_Occurred()) SWIG_fail
;
21739 Py_INCREF(Py_None
); resultobj
= Py_None
;
21754 static PyObject
*_wrap_Window_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21755 PyObject
*resultobj
;
21756 wxWindow
*arg1
= (wxWindow
*) 0 ;
21758 PyObject
* obj0
= 0 ;
21759 char *kwnames
[] = {
21760 (char *) "self", NULL
21763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetLabel",kwnames
,&obj0
)) goto fail
;
21764 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21765 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21768 result
= ((wxWindow
const *)arg1
)->GetLabel();
21770 wxPyEndAllowThreads(__tstate
);
21771 if (PyErr_Occurred()) SWIG_fail
;
21775 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21777 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21786 static PyObject
*_wrap_Window_SetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21787 PyObject
*resultobj
;
21788 wxWindow
*arg1
= (wxWindow
*) 0 ;
21789 wxString
*arg2
= 0 ;
21790 bool temp2
= False
;
21791 PyObject
* obj0
= 0 ;
21792 PyObject
* obj1
= 0 ;
21793 char *kwnames
[] = {
21794 (char *) "self",(char *) "name", NULL
21797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetName",kwnames
,&obj0
,&obj1
)) goto fail
;
21798 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21799 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21801 arg2
= wxString_in_helper(obj1
);
21802 if (arg2
== NULL
) SWIG_fail
;
21806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21807 (arg1
)->SetName((wxString
const &)*arg2
);
21809 wxPyEndAllowThreads(__tstate
);
21810 if (PyErr_Occurred()) SWIG_fail
;
21812 Py_INCREF(Py_None
); resultobj
= Py_None
;
21827 static PyObject
*_wrap_Window_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21828 PyObject
*resultobj
;
21829 wxWindow
*arg1
= (wxWindow
*) 0 ;
21831 PyObject
* obj0
= 0 ;
21832 char *kwnames
[] = {
21833 (char *) "self", NULL
21836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetName",kwnames
,&obj0
)) goto fail
;
21837 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21838 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21841 result
= ((wxWindow
const *)arg1
)->GetName();
21843 wxPyEndAllowThreads(__tstate
);
21844 if (PyErr_Occurred()) SWIG_fail
;
21848 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21850 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21859 static PyObject
*_wrap_Window_SetWindowVariant(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21860 PyObject
*resultobj
;
21861 wxWindow
*arg1
= (wxWindow
*) 0 ;
21863 PyObject
* obj0
= 0 ;
21864 PyObject
* obj1
= 0 ;
21865 char *kwnames
[] = {
21866 (char *) "self",(char *) "variant", NULL
21869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetWindowVariant",kwnames
,&obj0
,&obj1
)) goto fail
;
21870 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21871 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21872 arg2
= (wxWindowVariant
) SWIG_AsInt(obj1
);
21873 if (PyErr_Occurred()) SWIG_fail
;
21875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21876 (arg1
)->SetWindowVariant((wxWindowVariant
)arg2
);
21878 wxPyEndAllowThreads(__tstate
);
21879 if (PyErr_Occurred()) SWIG_fail
;
21881 Py_INCREF(Py_None
); resultobj
= Py_None
;
21888 static PyObject
*_wrap_Window_GetWindowVariant(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21889 PyObject
*resultobj
;
21890 wxWindow
*arg1
= (wxWindow
*) 0 ;
21892 PyObject
* obj0
= 0 ;
21893 char *kwnames
[] = {
21894 (char *) "self", NULL
21897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetWindowVariant",kwnames
,&obj0
)) goto fail
;
21898 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21899 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21902 result
= (int)((wxWindow
const *)arg1
)->GetWindowVariant();
21904 wxPyEndAllowThreads(__tstate
);
21905 if (PyErr_Occurred()) SWIG_fail
;
21907 resultobj
= SWIG_FromInt((int)result
);
21914 static PyObject
*_wrap_Window_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21915 PyObject
*resultobj
;
21916 wxWindow
*arg1
= (wxWindow
*) 0 ;
21918 PyObject
* obj0
= 0 ;
21919 PyObject
* obj1
= 0 ;
21920 char *kwnames
[] = {
21921 (char *) "self",(char *) "winid", NULL
21924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
21925 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21926 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21927 arg2
= (int) SWIG_AsInt(obj1
);
21928 if (PyErr_Occurred()) SWIG_fail
;
21930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21931 (arg1
)->SetId(arg2
);
21933 wxPyEndAllowThreads(__tstate
);
21934 if (PyErr_Occurred()) SWIG_fail
;
21936 Py_INCREF(Py_None
); resultobj
= Py_None
;
21943 static PyObject
*_wrap_Window_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21944 PyObject
*resultobj
;
21945 wxWindow
*arg1
= (wxWindow
*) 0 ;
21947 PyObject
* obj0
= 0 ;
21948 char *kwnames
[] = {
21949 (char *) "self", NULL
21952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetId",kwnames
,&obj0
)) goto fail
;
21953 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21954 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21957 result
= (int)((wxWindow
const *)arg1
)->GetId();
21959 wxPyEndAllowThreads(__tstate
);
21960 if (PyErr_Occurred()) SWIG_fail
;
21962 resultobj
= SWIG_FromInt((int)result
);
21969 static PyObject
*_wrap_Window_NewControlId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21970 PyObject
*resultobj
;
21972 char *kwnames
[] = {
21976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_NewControlId",kwnames
)) goto fail
;
21978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21979 result
= (int)wxWindow::NewControlId();
21981 wxPyEndAllowThreads(__tstate
);
21982 if (PyErr_Occurred()) SWIG_fail
;
21984 resultobj
= SWIG_FromInt((int)result
);
21991 static PyObject
*_wrap_Window_NextControlId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21992 PyObject
*resultobj
;
21995 PyObject
* obj0
= 0 ;
21996 char *kwnames
[] = {
21997 (char *) "winid", NULL
22000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_NextControlId",kwnames
,&obj0
)) goto fail
;
22001 arg1
= (int) SWIG_AsInt(obj0
);
22002 if (PyErr_Occurred()) SWIG_fail
;
22004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22005 result
= (int)wxWindow::NextControlId(arg1
);
22007 wxPyEndAllowThreads(__tstate
);
22008 if (PyErr_Occurred()) SWIG_fail
;
22010 resultobj
= SWIG_FromInt((int)result
);
22017 static PyObject
*_wrap_Window_PrevControlId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22018 PyObject
*resultobj
;
22021 PyObject
* obj0
= 0 ;
22022 char *kwnames
[] = {
22023 (char *) "winid", NULL
22026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PrevControlId",kwnames
,&obj0
)) goto fail
;
22027 arg1
= (int) SWIG_AsInt(obj0
);
22028 if (PyErr_Occurred()) SWIG_fail
;
22030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22031 result
= (int)wxWindow::PrevControlId(arg1
);
22033 wxPyEndAllowThreads(__tstate
);
22034 if (PyErr_Occurred()) SWIG_fail
;
22036 resultobj
= SWIG_FromInt((int)result
);
22043 static PyObject
*_wrap_Window_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22044 PyObject
*resultobj
;
22045 wxWindow
*arg1
= (wxWindow
*) 0 ;
22048 PyObject
* obj0
= 0 ;
22049 PyObject
* obj1
= 0 ;
22050 char *kwnames
[] = {
22051 (char *) "self",(char *) "size", NULL
22054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
22055 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22056 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22059 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
22062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22063 (arg1
)->SetSize((wxSize
const &)*arg2
);
22065 wxPyEndAllowThreads(__tstate
);
22066 if (PyErr_Occurred()) SWIG_fail
;
22068 Py_INCREF(Py_None
); resultobj
= Py_None
;
22075 static PyObject
*_wrap_Window_SetDimensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22076 PyObject
*resultobj
;
22077 wxWindow
*arg1
= (wxWindow
*) 0 ;
22082 int arg6
= (int) wxSIZE_AUTO
;
22083 PyObject
* obj0
= 0 ;
22084 PyObject
* obj1
= 0 ;
22085 PyObject
* obj2
= 0 ;
22086 PyObject
* obj3
= 0 ;
22087 PyObject
* obj4
= 0 ;
22088 PyObject
* obj5
= 0 ;
22089 char *kwnames
[] = {
22090 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
22093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Window_SetDimensions",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
22094 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22095 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22096 arg2
= (int) SWIG_AsInt(obj1
);
22097 if (PyErr_Occurred()) SWIG_fail
;
22098 arg3
= (int) SWIG_AsInt(obj2
);
22099 if (PyErr_Occurred()) SWIG_fail
;
22100 arg4
= (int) SWIG_AsInt(obj3
);
22101 if (PyErr_Occurred()) SWIG_fail
;
22102 arg5
= (int) SWIG_AsInt(obj4
);
22103 if (PyErr_Occurred()) SWIG_fail
;
22105 arg6
= (int) SWIG_AsInt(obj5
);
22106 if (PyErr_Occurred()) SWIG_fail
;
22109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22110 (arg1
)->SetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
22112 wxPyEndAllowThreads(__tstate
);
22113 if (PyErr_Occurred()) SWIG_fail
;
22115 Py_INCREF(Py_None
); resultobj
= Py_None
;
22122 static PyObject
*_wrap_Window_SetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22123 PyObject
*resultobj
;
22124 wxWindow
*arg1
= (wxWindow
*) 0 ;
22126 int arg3
= (int) wxSIZE_AUTO
;
22128 PyObject
* obj0
= 0 ;
22129 PyObject
* obj1
= 0 ;
22130 PyObject
* obj2
= 0 ;
22131 char *kwnames
[] = {
22132 (char *) "self",(char *) "rect",(char *) "sizeFlags", NULL
22135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22136 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22137 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22140 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
22143 arg3
= (int) SWIG_AsInt(obj2
);
22144 if (PyErr_Occurred()) SWIG_fail
;
22147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22148 (arg1
)->SetSize((wxRect
const &)*arg2
,arg3
);
22150 wxPyEndAllowThreads(__tstate
);
22151 if (PyErr_Occurred()) SWIG_fail
;
22153 Py_INCREF(Py_None
); resultobj
= Py_None
;
22160 static PyObject
*_wrap_Window_SetSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22161 PyObject
*resultobj
;
22162 wxWindow
*arg1
= (wxWindow
*) 0 ;
22165 PyObject
* obj0
= 0 ;
22166 PyObject
* obj1
= 0 ;
22167 PyObject
* obj2
= 0 ;
22168 char *kwnames
[] = {
22169 (char *) "self",(char *) "width",(char *) "height", NULL
22172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22173 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22174 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22175 arg2
= (int) SWIG_AsInt(obj1
);
22176 if (PyErr_Occurred()) SWIG_fail
;
22177 arg3
= (int) SWIG_AsInt(obj2
);
22178 if (PyErr_Occurred()) SWIG_fail
;
22180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22181 (arg1
)->SetSize(arg2
,arg3
);
22183 wxPyEndAllowThreads(__tstate
);
22184 if (PyErr_Occurred()) SWIG_fail
;
22186 Py_INCREF(Py_None
); resultobj
= Py_None
;
22193 static PyObject
*_wrap_Window_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22194 PyObject
*resultobj
;
22195 wxWindow
*arg1
= (wxWindow
*) 0 ;
22196 wxPoint
*arg2
= 0 ;
22197 int arg3
= (int) wxSIZE_USE_EXISTING
;
22199 PyObject
* obj0
= 0 ;
22200 PyObject
* obj1
= 0 ;
22201 PyObject
* obj2
= 0 ;
22202 char *kwnames
[] = {
22203 (char *) "self",(char *) "pt",(char *) "flags", NULL
22206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_Move",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22207 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22208 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22211 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22214 arg3
= (int) SWIG_AsInt(obj2
);
22215 if (PyErr_Occurred()) SWIG_fail
;
22218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22219 (arg1
)->Move((wxPoint
const &)*arg2
,arg3
);
22221 wxPyEndAllowThreads(__tstate
);
22222 if (PyErr_Occurred()) SWIG_fail
;
22224 Py_INCREF(Py_None
); resultobj
= Py_None
;
22231 static PyObject
*_wrap_Window_MoveXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22232 PyObject
*resultobj
;
22233 wxWindow
*arg1
= (wxWindow
*) 0 ;
22236 int arg4
= (int) wxSIZE_USE_EXISTING
;
22237 PyObject
* obj0
= 0 ;
22238 PyObject
* obj1
= 0 ;
22239 PyObject
* obj2
= 0 ;
22240 PyObject
* obj3
= 0 ;
22241 char *kwnames
[] = {
22242 (char *) "self",(char *) "x",(char *) "y",(char *) "flags", NULL
22245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_MoveXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22246 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22247 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22248 arg2
= (int) SWIG_AsInt(obj1
);
22249 if (PyErr_Occurred()) SWIG_fail
;
22250 arg3
= (int) SWIG_AsInt(obj2
);
22251 if (PyErr_Occurred()) SWIG_fail
;
22253 arg4
= (int) SWIG_AsInt(obj3
);
22254 if (PyErr_Occurred()) SWIG_fail
;
22257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22258 (arg1
)->Move(arg2
,arg3
,arg4
);
22260 wxPyEndAllowThreads(__tstate
);
22261 if (PyErr_Occurred()) SWIG_fail
;
22263 Py_INCREF(Py_None
); resultobj
= Py_None
;
22270 static PyObject
*_wrap_Window_Raise(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22271 PyObject
*resultobj
;
22272 wxWindow
*arg1
= (wxWindow
*) 0 ;
22273 PyObject
* obj0
= 0 ;
22274 char *kwnames
[] = {
22275 (char *) "self", NULL
22278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Raise",kwnames
,&obj0
)) goto fail
;
22279 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22280 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22285 wxPyEndAllowThreads(__tstate
);
22286 if (PyErr_Occurred()) SWIG_fail
;
22288 Py_INCREF(Py_None
); resultobj
= Py_None
;
22295 static PyObject
*_wrap_Window_Lower(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22296 PyObject
*resultobj
;
22297 wxWindow
*arg1
= (wxWindow
*) 0 ;
22298 PyObject
* obj0
= 0 ;
22299 char *kwnames
[] = {
22300 (char *) "self", NULL
22303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Lower",kwnames
,&obj0
)) goto fail
;
22304 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22305 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22310 wxPyEndAllowThreads(__tstate
);
22311 if (PyErr_Occurred()) SWIG_fail
;
22313 Py_INCREF(Py_None
); resultobj
= Py_None
;
22320 static PyObject
*_wrap_Window_SetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22321 PyObject
*resultobj
;
22322 wxWindow
*arg1
= (wxWindow
*) 0 ;
22325 PyObject
* obj0
= 0 ;
22326 PyObject
* obj1
= 0 ;
22327 char *kwnames
[] = {
22328 (char *) "self",(char *) "size", NULL
22331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientSize",kwnames
,&obj0
,&obj1
)) goto fail
;
22332 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22333 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22336 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
22339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22340 (arg1
)->SetClientSize((wxSize
const &)*arg2
);
22342 wxPyEndAllowThreads(__tstate
);
22343 if (PyErr_Occurred()) SWIG_fail
;
22345 Py_INCREF(Py_None
); resultobj
= Py_None
;
22352 static PyObject
*_wrap_Window_SetClientSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22353 PyObject
*resultobj
;
22354 wxWindow
*arg1
= (wxWindow
*) 0 ;
22357 PyObject
* obj0
= 0 ;
22358 PyObject
* obj1
= 0 ;
22359 PyObject
* obj2
= 0 ;
22360 char *kwnames
[] = {
22361 (char *) "self",(char *) "width",(char *) "height", NULL
22364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetClientSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22365 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22366 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22367 arg2
= (int) SWIG_AsInt(obj1
);
22368 if (PyErr_Occurred()) SWIG_fail
;
22369 arg3
= (int) SWIG_AsInt(obj2
);
22370 if (PyErr_Occurred()) SWIG_fail
;
22372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22373 (arg1
)->SetClientSize(arg2
,arg3
);
22375 wxPyEndAllowThreads(__tstate
);
22376 if (PyErr_Occurred()) SWIG_fail
;
22378 Py_INCREF(Py_None
); resultobj
= Py_None
;
22385 static PyObject
*_wrap_Window_SetClientRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22386 PyObject
*resultobj
;
22387 wxWindow
*arg1
= (wxWindow
*) 0 ;
22390 PyObject
* obj0
= 0 ;
22391 PyObject
* obj1
= 0 ;
22392 char *kwnames
[] = {
22393 (char *) "self",(char *) "rect", NULL
22396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientRect",kwnames
,&obj0
,&obj1
)) goto fail
;
22397 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22398 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22401 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
22404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22405 (arg1
)->SetClientSize((wxRect
const &)*arg2
);
22407 wxPyEndAllowThreads(__tstate
);
22408 if (PyErr_Occurred()) SWIG_fail
;
22410 Py_INCREF(Py_None
); resultobj
= Py_None
;
22417 static PyObject
*_wrap_Window_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22418 PyObject
*resultobj
;
22419 wxWindow
*arg1
= (wxWindow
*) 0 ;
22421 PyObject
* obj0
= 0 ;
22422 char *kwnames
[] = {
22423 (char *) "self", NULL
22426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetPosition",kwnames
,&obj0
)) goto fail
;
22427 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22428 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22431 result
= (arg1
)->GetPosition();
22433 wxPyEndAllowThreads(__tstate
);
22434 if (PyErr_Occurred()) SWIG_fail
;
22437 wxPoint
* resultptr
;
22438 resultptr
= new wxPoint((wxPoint
&) result
);
22439 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
22447 static PyObject
*_wrap_Window_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22448 PyObject
*resultobj
;
22449 wxWindow
*arg1
= (wxWindow
*) 0 ;
22450 int *arg2
= (int *) 0 ;
22451 int *arg3
= (int *) 0 ;
22454 PyObject
* obj0
= 0 ;
22455 char *kwnames
[] = {
22456 (char *) "self", NULL
22461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
22462 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22463 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22466 (arg1
)->GetPosition(arg2
,arg3
);
22468 wxPyEndAllowThreads(__tstate
);
22469 if (PyErr_Occurred()) SWIG_fail
;
22471 Py_INCREF(Py_None
); resultobj
= Py_None
;
22473 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
22474 resultobj
= t_output_helper(resultobj
,o
);
22477 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22478 resultobj
= t_output_helper(resultobj
,o
);
22486 static PyObject
*_wrap_Window_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22487 PyObject
*resultobj
;
22488 wxWindow
*arg1
= (wxWindow
*) 0 ;
22490 PyObject
* obj0
= 0 ;
22491 char *kwnames
[] = {
22492 (char *) "self", NULL
22495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSize",kwnames
,&obj0
)) goto fail
;
22496 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22497 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22500 result
= ((wxWindow
const *)arg1
)->GetSize();
22502 wxPyEndAllowThreads(__tstate
);
22503 if (PyErr_Occurred()) SWIG_fail
;
22506 wxSize
* resultptr
;
22507 resultptr
= new wxSize((wxSize
&) result
);
22508 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
22516 static PyObject
*_wrap_Window_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22517 PyObject
*resultobj
;
22518 wxWindow
*arg1
= (wxWindow
*) 0 ;
22519 int *arg2
= (int *) 0 ;
22520 int *arg3
= (int *) 0 ;
22523 PyObject
* obj0
= 0 ;
22524 char *kwnames
[] = {
22525 (char *) "self", NULL
22530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
22531 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22532 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22535 ((wxWindow
const *)arg1
)->GetSize(arg2
,arg3
);
22537 wxPyEndAllowThreads(__tstate
);
22538 if (PyErr_Occurred()) SWIG_fail
;
22540 Py_INCREF(Py_None
); resultobj
= Py_None
;
22542 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
22543 resultobj
= t_output_helper(resultobj
,o
);
22546 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22547 resultobj
= t_output_helper(resultobj
,o
);
22555 static PyObject
*_wrap_Window_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22556 PyObject
*resultobj
;
22557 wxWindow
*arg1
= (wxWindow
*) 0 ;
22559 PyObject
* obj0
= 0 ;
22560 char *kwnames
[] = {
22561 (char *) "self", NULL
22564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetRect",kwnames
,&obj0
)) goto fail
;
22565 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22566 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22569 result
= ((wxWindow
const *)arg1
)->GetRect();
22571 wxPyEndAllowThreads(__tstate
);
22572 if (PyErr_Occurred()) SWIG_fail
;
22575 wxRect
* resultptr
;
22576 resultptr
= new wxRect((wxRect
&) result
);
22577 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
22585 static PyObject
*_wrap_Window_GetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22586 PyObject
*resultobj
;
22587 wxWindow
*arg1
= (wxWindow
*) 0 ;
22589 PyObject
* obj0
= 0 ;
22590 char *kwnames
[] = {
22591 (char *) "self", NULL
22594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientSize",kwnames
,&obj0
)) goto fail
;
22595 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22596 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22599 result
= ((wxWindow
const *)arg1
)->GetClientSize();
22601 wxPyEndAllowThreads(__tstate
);
22602 if (PyErr_Occurred()) SWIG_fail
;
22605 wxSize
* resultptr
;
22606 resultptr
= new wxSize((wxSize
&) result
);
22607 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
22615 static PyObject
*_wrap_Window_GetClientSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22616 PyObject
*resultobj
;
22617 wxWindow
*arg1
= (wxWindow
*) 0 ;
22618 int *arg2
= (int *) 0 ;
22619 int *arg3
= (int *) 0 ;
22622 PyObject
* obj0
= 0 ;
22623 char *kwnames
[] = {
22624 (char *) "self", NULL
22629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientSizeTuple",kwnames
,&obj0
)) goto fail
;
22630 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22631 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22634 ((wxWindow
const *)arg1
)->GetClientSize(arg2
,arg3
);
22636 wxPyEndAllowThreads(__tstate
);
22637 if (PyErr_Occurred()) SWIG_fail
;
22639 Py_INCREF(Py_None
); resultobj
= Py_None
;
22641 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
22642 resultobj
= t_output_helper(resultobj
,o
);
22645 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22646 resultobj
= t_output_helper(resultobj
,o
);
22654 static PyObject
*_wrap_Window_GetClientAreaOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22655 PyObject
*resultobj
;
22656 wxWindow
*arg1
= (wxWindow
*) 0 ;
22658 PyObject
* obj0
= 0 ;
22659 char *kwnames
[] = {
22660 (char *) "self", NULL
22663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientAreaOrigin",kwnames
,&obj0
)) goto fail
;
22664 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22665 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22668 result
= ((wxWindow
const *)arg1
)->GetClientAreaOrigin();
22670 wxPyEndAllowThreads(__tstate
);
22671 if (PyErr_Occurred()) SWIG_fail
;
22674 wxPoint
* resultptr
;
22675 resultptr
= new wxPoint((wxPoint
&) result
);
22676 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
22684 static PyObject
*_wrap_Window_GetClientRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22685 PyObject
*resultobj
;
22686 wxWindow
*arg1
= (wxWindow
*) 0 ;
22688 PyObject
* obj0
= 0 ;
22689 char *kwnames
[] = {
22690 (char *) "self", NULL
22693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientRect",kwnames
,&obj0
)) goto fail
;
22694 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22695 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22698 result
= ((wxWindow
const *)arg1
)->GetClientRect();
22700 wxPyEndAllowThreads(__tstate
);
22701 if (PyErr_Occurred()) SWIG_fail
;
22704 wxRect
* resultptr
;
22705 resultptr
= new wxRect((wxRect
&) result
);
22706 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
22714 static PyObject
*_wrap_Window_GetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22715 PyObject
*resultobj
;
22716 wxWindow
*arg1
= (wxWindow
*) 0 ;
22718 PyObject
* obj0
= 0 ;
22719 char *kwnames
[] = {
22720 (char *) "self", NULL
22723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestSize",kwnames
,&obj0
)) goto fail
;
22724 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22725 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22728 result
= ((wxWindow
const *)arg1
)->GetBestSize();
22730 wxPyEndAllowThreads(__tstate
);
22731 if (PyErr_Occurred()) SWIG_fail
;
22734 wxSize
* resultptr
;
22735 resultptr
= new wxSize((wxSize
&) result
);
22736 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
22744 static PyObject
*_wrap_Window_GetBestSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22745 PyObject
*resultobj
;
22746 wxWindow
*arg1
= (wxWindow
*) 0 ;
22747 int *arg2
= (int *) 0 ;
22748 int *arg3
= (int *) 0 ;
22751 PyObject
* obj0
= 0 ;
22752 char *kwnames
[] = {
22753 (char *) "self", NULL
22758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestSizeTuple",kwnames
,&obj0
)) goto fail
;
22759 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22760 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22763 ((wxWindow
const *)arg1
)->GetBestSize(arg2
,arg3
);
22765 wxPyEndAllowThreads(__tstate
);
22766 if (PyErr_Occurred()) SWIG_fail
;
22768 Py_INCREF(Py_None
); resultobj
= Py_None
;
22770 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
22771 resultobj
= t_output_helper(resultobj
,o
);
22774 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22775 resultobj
= t_output_helper(resultobj
,o
);
22783 static PyObject
*_wrap_Window_GetAdjustedBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22784 PyObject
*resultobj
;
22785 wxWindow
*arg1
= (wxWindow
*) 0 ;
22787 PyObject
* obj0
= 0 ;
22788 char *kwnames
[] = {
22789 (char *) "self", NULL
22792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAdjustedBestSize",kwnames
,&obj0
)) goto fail
;
22793 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22794 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22797 result
= ((wxWindow
const *)arg1
)->GetAdjustedBestSize();
22799 wxPyEndAllowThreads(__tstate
);
22800 if (PyErr_Occurred()) SWIG_fail
;
22803 wxSize
* resultptr
;
22804 resultptr
= new wxSize((wxSize
&) result
);
22805 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
22813 static PyObject
*_wrap_Window_Center(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22814 PyObject
*resultobj
;
22815 wxWindow
*arg1
= (wxWindow
*) 0 ;
22816 int arg2
= (int) wxBOTH
;
22817 PyObject
* obj0
= 0 ;
22818 PyObject
* obj1
= 0 ;
22819 char *kwnames
[] = {
22820 (char *) "self",(char *) "direction", NULL
22823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Center",kwnames
,&obj0
,&obj1
)) goto fail
;
22824 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22825 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22827 arg2
= (int) SWIG_AsInt(obj1
);
22828 if (PyErr_Occurred()) SWIG_fail
;
22831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22832 (arg1
)->Center(arg2
);
22834 wxPyEndAllowThreads(__tstate
);
22835 if (PyErr_Occurred()) SWIG_fail
;
22837 Py_INCREF(Py_None
); resultobj
= Py_None
;
22844 static PyObject
*_wrap_Window_CenterOnScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22845 PyObject
*resultobj
;
22846 wxWindow
*arg1
= (wxWindow
*) 0 ;
22847 int arg2
= (int) wxBOTH
;
22848 PyObject
* obj0
= 0 ;
22849 PyObject
* obj1
= 0 ;
22850 char *kwnames
[] = {
22851 (char *) "self",(char *) "dir", NULL
22854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_CenterOnScreen",kwnames
,&obj0
,&obj1
)) goto fail
;
22855 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22856 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22858 arg2
= (int) SWIG_AsInt(obj1
);
22859 if (PyErr_Occurred()) SWIG_fail
;
22862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22863 (arg1
)->CenterOnScreen(arg2
);
22865 wxPyEndAllowThreads(__tstate
);
22866 if (PyErr_Occurred()) SWIG_fail
;
22868 Py_INCREF(Py_None
); resultobj
= Py_None
;
22875 static PyObject
*_wrap_Window_CenterOnParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22876 PyObject
*resultobj
;
22877 wxWindow
*arg1
= (wxWindow
*) 0 ;
22878 int arg2
= (int) wxBOTH
;
22879 PyObject
* obj0
= 0 ;
22880 PyObject
* obj1
= 0 ;
22881 char *kwnames
[] = {
22882 (char *) "self",(char *) "dir", NULL
22885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_CenterOnParent",kwnames
,&obj0
,&obj1
)) goto fail
;
22886 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22887 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22889 arg2
= (int) SWIG_AsInt(obj1
);
22890 if (PyErr_Occurred()) SWIG_fail
;
22893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22894 (arg1
)->CenterOnParent(arg2
);
22896 wxPyEndAllowThreads(__tstate
);
22897 if (PyErr_Occurred()) SWIG_fail
;
22899 Py_INCREF(Py_None
); resultobj
= Py_None
;
22906 static PyObject
*_wrap_Window_Fit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22907 PyObject
*resultobj
;
22908 wxWindow
*arg1
= (wxWindow
*) 0 ;
22909 PyObject
* obj0
= 0 ;
22910 char *kwnames
[] = {
22911 (char *) "self", NULL
22914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Fit",kwnames
,&obj0
)) goto fail
;
22915 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22916 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22921 wxPyEndAllowThreads(__tstate
);
22922 if (PyErr_Occurred()) SWIG_fail
;
22924 Py_INCREF(Py_None
); resultobj
= Py_None
;
22931 static PyObject
*_wrap_Window_FitInside(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22932 PyObject
*resultobj
;
22933 wxWindow
*arg1
= (wxWindow
*) 0 ;
22934 PyObject
* obj0
= 0 ;
22935 char *kwnames
[] = {
22936 (char *) "self", NULL
22939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_FitInside",kwnames
,&obj0
)) goto fail
;
22940 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22941 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22944 (arg1
)->FitInside();
22946 wxPyEndAllowThreads(__tstate
);
22947 if (PyErr_Occurred()) SWIG_fail
;
22949 Py_INCREF(Py_None
); resultobj
= Py_None
;
22956 static PyObject
*_wrap_Window_SetSizeHints__SWIG_0(PyObject
*self
, PyObject
*args
) {
22957 PyObject
*resultobj
;
22958 wxWindow
*arg1
= (wxWindow
*) 0 ;
22961 int arg4
= (int) -1 ;
22962 int arg5
= (int) -1 ;
22963 int arg6
= (int) -1 ;
22964 int arg7
= (int) -1 ;
22965 PyObject
* obj0
= 0 ;
22966 PyObject
* obj1
= 0 ;
22967 PyObject
* obj2
= 0 ;
22968 PyObject
* obj3
= 0 ;
22969 PyObject
* obj4
= 0 ;
22970 PyObject
* obj5
= 0 ;
22971 PyObject
* obj6
= 0 ;
22973 if(!PyArg_ParseTuple(args
,(char *)"OOO|OOOO:Window_SetSizeHints",&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
22974 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22975 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22976 arg2
= (int) SWIG_AsInt(obj1
);
22977 if (PyErr_Occurred()) SWIG_fail
;
22978 arg3
= (int) SWIG_AsInt(obj2
);
22979 if (PyErr_Occurred()) SWIG_fail
;
22981 arg4
= (int) SWIG_AsInt(obj3
);
22982 if (PyErr_Occurred()) SWIG_fail
;
22985 arg5
= (int) SWIG_AsInt(obj4
);
22986 if (PyErr_Occurred()) SWIG_fail
;
22989 arg6
= (int) SWIG_AsInt(obj5
);
22990 if (PyErr_Occurred()) SWIG_fail
;
22993 arg7
= (int) SWIG_AsInt(obj6
);
22994 if (PyErr_Occurred()) SWIG_fail
;
22997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22998 (arg1
)->SetSizeHints(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
23000 wxPyEndAllowThreads(__tstate
);
23001 if (PyErr_Occurred()) SWIG_fail
;
23003 Py_INCREF(Py_None
); resultobj
= Py_None
;
23010 static PyObject
*_wrap_Window_SetSizeHints__SWIG_1(PyObject
*self
, PyObject
*args
) {
23011 PyObject
*resultobj
;
23012 wxWindow
*arg1
= (wxWindow
*) 0 ;
23014 wxSize
const &arg3_defvalue
= wxDefaultSize
;
23015 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
23016 wxSize
const &arg4_defvalue
= wxDefaultSize
;
23017 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
23021 PyObject
* obj0
= 0 ;
23022 PyObject
* obj1
= 0 ;
23023 PyObject
* obj2
= 0 ;
23024 PyObject
* obj3
= 0 ;
23026 if(!PyArg_ParseTuple(args
,(char *)"OO|OO:Window_SetSizeHints",&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
23027 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23028 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23031 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
23036 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
23042 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
23046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23047 (arg1
)->SetSizeHints((wxSize
const &)*arg2
,(wxSize
const &)*arg3
,(wxSize
const &)*arg4
);
23049 wxPyEndAllowThreads(__tstate
);
23050 if (PyErr_Occurred()) SWIG_fail
;
23052 Py_INCREF(Py_None
); resultobj
= Py_None
;
23059 static PyObject
*_wrap_Window_SetSizeHints(PyObject
*self
, PyObject
*args
) {
23064 argc
= PyObject_Length(args
);
23065 for (ii
= 0; (ii
< argc
) && (ii
< 7); ii
++) {
23066 argv
[ii
] = PyTuple_GetItem(args
,ii
);
23068 if ((argc
>= 2) && (argc
<= 4)) {
23072 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
23081 _v
= wxPySimple_typecheck(argv
[1], wxT("wxSize"), 2);
23085 return _wrap_Window_SetSizeHints__SWIG_1(self
,args
);
23088 _v
= wxPySimple_typecheck(argv
[2], wxT("wxSize"), 2);
23092 return _wrap_Window_SetSizeHints__SWIG_1(self
,args
);
23095 _v
= wxPySimple_typecheck(argv
[3], wxT("wxSize"), 2);
23098 return _wrap_Window_SetSizeHints__SWIG_1(self
,args
);
23104 if ((argc
>= 3) && (argc
<= 7)) {
23108 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
23116 _v
= SWIG_CheckInt(argv
[1]);
23118 _v
= SWIG_CheckInt(argv
[2]);
23121 return _wrap_Window_SetSizeHints__SWIG_0(self
,args
);
23123 _v
= SWIG_CheckInt(argv
[3]);
23126 return _wrap_Window_SetSizeHints__SWIG_0(self
,args
);
23128 _v
= SWIG_CheckInt(argv
[4]);
23131 return _wrap_Window_SetSizeHints__SWIG_0(self
,args
);
23133 _v
= SWIG_CheckInt(argv
[5]);
23136 return _wrap_Window_SetSizeHints__SWIG_0(self
,args
);
23138 _v
= SWIG_CheckInt(argv
[6]);
23140 return _wrap_Window_SetSizeHints__SWIG_0(self
,args
);
23150 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'Window_SetSizeHints'");
23155 static PyObject
*_wrap_Window_SetVirtualSizeHints__SWIG_0(PyObject
*self
, PyObject
*args
) {
23156 PyObject
*resultobj
;
23157 wxWindow
*arg1
= (wxWindow
*) 0 ;
23160 int arg4
= (int) -1 ;
23161 int arg5
= (int) -1 ;
23162 PyObject
* obj0
= 0 ;
23163 PyObject
* obj1
= 0 ;
23164 PyObject
* obj2
= 0 ;
23165 PyObject
* obj3
= 0 ;
23166 PyObject
* obj4
= 0 ;
23168 if(!PyArg_ParseTuple(args
,(char *)"OOO|OO:Window_SetVirtualSizeHints",&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
23169 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23170 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23171 arg2
= (int) SWIG_AsInt(obj1
);
23172 if (PyErr_Occurred()) SWIG_fail
;
23173 arg3
= (int) SWIG_AsInt(obj2
);
23174 if (PyErr_Occurred()) SWIG_fail
;
23176 arg4
= (int) SWIG_AsInt(obj3
);
23177 if (PyErr_Occurred()) SWIG_fail
;
23180 arg5
= (int) SWIG_AsInt(obj4
);
23181 if (PyErr_Occurred()) SWIG_fail
;
23184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23185 (arg1
)->SetVirtualSizeHints(arg2
,arg3
,arg4
,arg5
);
23187 wxPyEndAllowThreads(__tstate
);
23188 if (PyErr_Occurred()) SWIG_fail
;
23190 Py_INCREF(Py_None
); resultobj
= Py_None
;
23197 static PyObject
*_wrap_Window_SetVirtualSizeHints__SWIG_1(PyObject
*self
, PyObject
*args
) {
23198 PyObject
*resultobj
;
23199 wxWindow
*arg1
= (wxWindow
*) 0 ;
23201 wxSize
const &arg3_defvalue
= wxDefaultSize
;
23202 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
23205 PyObject
* obj0
= 0 ;
23206 PyObject
* obj1
= 0 ;
23207 PyObject
* obj2
= 0 ;
23209 if(!PyArg_ParseTuple(args
,(char *)"OO|O:Window_SetVirtualSizeHints",&obj0
,&obj1
,&obj2
)) goto fail
;
23210 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23211 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23214 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
23219 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
23223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23224 (arg1
)->SetVirtualSizeHints((wxSize
const &)*arg2
,(wxSize
const &)*arg3
);
23226 wxPyEndAllowThreads(__tstate
);
23227 if (PyErr_Occurred()) SWIG_fail
;
23229 Py_INCREF(Py_None
); resultobj
= Py_None
;
23236 static PyObject
*_wrap_Window_SetVirtualSizeHints(PyObject
*self
, PyObject
*args
) {
23241 argc
= PyObject_Length(args
);
23242 for (ii
= 0; (ii
< argc
) && (ii
< 5); ii
++) {
23243 argv
[ii
] = PyTuple_GetItem(args
,ii
);
23245 if ((argc
>= 2) && (argc
<= 3)) {
23249 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
23258 _v
= wxPySimple_typecheck(argv
[1], wxT("wxSize"), 2);
23262 return _wrap_Window_SetVirtualSizeHints__SWIG_1(self
,args
);
23265 _v
= wxPySimple_typecheck(argv
[2], wxT("wxSize"), 2);
23268 return _wrap_Window_SetVirtualSizeHints__SWIG_1(self
,args
);
23273 if ((argc
>= 3) && (argc
<= 5)) {
23277 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
23285 _v
= SWIG_CheckInt(argv
[1]);
23287 _v
= SWIG_CheckInt(argv
[2]);
23290 return _wrap_Window_SetVirtualSizeHints__SWIG_0(self
,args
);
23292 _v
= SWIG_CheckInt(argv
[3]);
23295 return _wrap_Window_SetVirtualSizeHints__SWIG_0(self
,args
);
23297 _v
= SWIG_CheckInt(argv
[4]);
23299 return _wrap_Window_SetVirtualSizeHints__SWIG_0(self
,args
);
23307 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'Window_SetVirtualSizeHints'");
23312 static PyObject
*_wrap_Window_GetMinWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23313 PyObject
*resultobj
;
23314 wxWindow
*arg1
= (wxWindow
*) 0 ;
23316 PyObject
* obj0
= 0 ;
23317 char *kwnames
[] = {
23318 (char *) "self", NULL
23321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinWidth",kwnames
,&obj0
)) goto fail
;
23322 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23323 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23326 result
= (int)((wxWindow
const *)arg1
)->GetMinWidth();
23328 wxPyEndAllowThreads(__tstate
);
23329 if (PyErr_Occurred()) SWIG_fail
;
23331 resultobj
= SWIG_FromInt((int)result
);
23338 static PyObject
*_wrap_Window_GetMinHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23339 PyObject
*resultobj
;
23340 wxWindow
*arg1
= (wxWindow
*) 0 ;
23342 PyObject
* obj0
= 0 ;
23343 char *kwnames
[] = {
23344 (char *) "self", NULL
23347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinHeight",kwnames
,&obj0
)) goto fail
;
23348 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23349 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23352 result
= (int)((wxWindow
const *)arg1
)->GetMinHeight();
23354 wxPyEndAllowThreads(__tstate
);
23355 if (PyErr_Occurred()) SWIG_fail
;
23357 resultobj
= SWIG_FromInt((int)result
);
23364 static PyObject
*_wrap_Window_GetMaxWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23365 PyObject
*resultobj
;
23366 wxWindow
*arg1
= (wxWindow
*) 0 ;
23368 PyObject
* obj0
= 0 ;
23369 char *kwnames
[] = {
23370 (char *) "self", NULL
23373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxWidth",kwnames
,&obj0
)) goto fail
;
23374 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23375 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23378 result
= (int)((wxWindow
const *)arg1
)->GetMaxWidth();
23380 wxPyEndAllowThreads(__tstate
);
23381 if (PyErr_Occurred()) SWIG_fail
;
23383 resultobj
= SWIG_FromInt((int)result
);
23390 static PyObject
*_wrap_Window_GetMaxHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23391 PyObject
*resultobj
;
23392 wxWindow
*arg1
= (wxWindow
*) 0 ;
23394 PyObject
* obj0
= 0 ;
23395 char *kwnames
[] = {
23396 (char *) "self", NULL
23399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxHeight",kwnames
,&obj0
)) goto fail
;
23400 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23401 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23404 result
= (int)((wxWindow
const *)arg1
)->GetMaxHeight();
23406 wxPyEndAllowThreads(__tstate
);
23407 if (PyErr_Occurred()) SWIG_fail
;
23409 resultobj
= SWIG_FromInt((int)result
);
23416 static PyObject
*_wrap_Window_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23417 PyObject
*resultobj
;
23418 wxWindow
*arg1
= (wxWindow
*) 0 ;
23420 PyObject
* obj0
= 0 ;
23421 char *kwnames
[] = {
23422 (char *) "self", NULL
23425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxSize",kwnames
,&obj0
)) goto fail
;
23426 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23427 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23430 result
= ((wxWindow
const *)arg1
)->GetMaxSize();
23432 wxPyEndAllowThreads(__tstate
);
23433 if (PyErr_Occurred()) SWIG_fail
;
23436 wxSize
* resultptr
;
23437 resultptr
= new wxSize((wxSize
&) result
);
23438 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23446 static PyObject
*_wrap_Window_GetMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23447 PyObject
*resultobj
;
23448 wxWindow
*arg1
= (wxWindow
*) 0 ;
23450 PyObject
* obj0
= 0 ;
23451 char *kwnames
[] = {
23452 (char *) "self", NULL
23455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinSize",kwnames
,&obj0
)) goto fail
;
23456 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23457 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23460 result
= ((wxWindow
const *)arg1
)->GetMinSize();
23462 wxPyEndAllowThreads(__tstate
);
23463 if (PyErr_Occurred()) SWIG_fail
;
23466 wxSize
* resultptr
;
23467 resultptr
= new wxSize((wxSize
&) result
);
23468 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23476 static PyObject
*_wrap_Window_SetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23477 PyObject
*resultobj
;
23478 wxWindow
*arg1
= (wxWindow
*) 0 ;
23481 PyObject
* obj0
= 0 ;
23482 PyObject
* obj1
= 0 ;
23483 char *kwnames
[] = {
23484 (char *) "self",(char *) "size", NULL
23487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetVirtualSize",kwnames
,&obj0
,&obj1
)) goto fail
;
23488 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23489 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23492 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
23495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23496 (arg1
)->SetVirtualSize((wxSize
const &)*arg2
);
23498 wxPyEndAllowThreads(__tstate
);
23499 if (PyErr_Occurred()) SWIG_fail
;
23501 Py_INCREF(Py_None
); resultobj
= Py_None
;
23508 static PyObject
*_wrap_Window_SetVirtualSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23509 PyObject
*resultobj
;
23510 wxWindow
*arg1
= (wxWindow
*) 0 ;
23513 PyObject
* obj0
= 0 ;
23514 PyObject
* obj1
= 0 ;
23515 PyObject
* obj2
= 0 ;
23516 char *kwnames
[] = {
23517 (char *) "self",(char *) "w",(char *) "h", NULL
23520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetVirtualSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23521 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23522 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23523 arg2
= (int) SWIG_AsInt(obj1
);
23524 if (PyErr_Occurred()) SWIG_fail
;
23525 arg3
= (int) SWIG_AsInt(obj2
);
23526 if (PyErr_Occurred()) SWIG_fail
;
23528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23529 (arg1
)->SetVirtualSize(arg2
,arg3
);
23531 wxPyEndAllowThreads(__tstate
);
23532 if (PyErr_Occurred()) SWIG_fail
;
23534 Py_INCREF(Py_None
); resultobj
= Py_None
;
23541 static PyObject
*_wrap_Window_GetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23542 PyObject
*resultobj
;
23543 wxWindow
*arg1
= (wxWindow
*) 0 ;
23545 PyObject
* obj0
= 0 ;
23546 char *kwnames
[] = {
23547 (char *) "self", NULL
23550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetVirtualSize",kwnames
,&obj0
)) goto fail
;
23551 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23552 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23555 result
= ((wxWindow
const *)arg1
)->GetVirtualSize();
23557 wxPyEndAllowThreads(__tstate
);
23558 if (PyErr_Occurred()) SWIG_fail
;
23561 wxSize
* resultptr
;
23562 resultptr
= new wxSize((wxSize
&) result
);
23563 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23571 static PyObject
*_wrap_Window_GetVirtualSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23572 PyObject
*resultobj
;
23573 wxWindow
*arg1
= (wxWindow
*) 0 ;
23574 int *arg2
= (int *) 0 ;
23575 int *arg3
= (int *) 0 ;
23578 PyObject
* obj0
= 0 ;
23579 char *kwnames
[] = {
23580 (char *) "self", NULL
23585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetVirtualSizeTuple",kwnames
,&obj0
)) goto fail
;
23586 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23587 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23590 ((wxWindow
const *)arg1
)->GetVirtualSize(arg2
,arg3
);
23592 wxPyEndAllowThreads(__tstate
);
23593 if (PyErr_Occurred()) SWIG_fail
;
23595 Py_INCREF(Py_None
); resultobj
= Py_None
;
23597 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
23598 resultobj
= t_output_helper(resultobj
,o
);
23601 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
23602 resultobj
= t_output_helper(resultobj
,o
);
23610 static PyObject
*_wrap_Window_GetBestVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23611 PyObject
*resultobj
;
23612 wxWindow
*arg1
= (wxWindow
*) 0 ;
23614 PyObject
* obj0
= 0 ;
23615 char *kwnames
[] = {
23616 (char *) "self", NULL
23619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestVirtualSize",kwnames
,&obj0
)) goto fail
;
23620 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23621 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23624 result
= ((wxWindow
const *)arg1
)->GetBestVirtualSize();
23626 wxPyEndAllowThreads(__tstate
);
23627 if (PyErr_Occurred()) SWIG_fail
;
23630 wxSize
* resultptr
;
23631 resultptr
= new wxSize((wxSize
&) result
);
23632 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23640 static PyObject
*_wrap_Window_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23641 PyObject
*resultobj
;
23642 wxWindow
*arg1
= (wxWindow
*) 0 ;
23643 bool arg2
= (bool) True
;
23645 PyObject
* obj0
= 0 ;
23646 PyObject
* obj1
= 0 ;
23647 char *kwnames
[] = {
23648 (char *) "self",(char *) "show", NULL
23651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
23652 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23653 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23655 arg2
= (bool) SWIG_AsBool(obj1
);
23656 if (PyErr_Occurred()) SWIG_fail
;
23659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23660 result
= (bool)(arg1
)->Show(arg2
);
23662 wxPyEndAllowThreads(__tstate
);
23663 if (PyErr_Occurred()) SWIG_fail
;
23666 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23674 static PyObject
*_wrap_Window_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23675 PyObject
*resultobj
;
23676 wxWindow
*arg1
= (wxWindow
*) 0 ;
23678 PyObject
* obj0
= 0 ;
23679 char *kwnames
[] = {
23680 (char *) "self", NULL
23683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Hide",kwnames
,&obj0
)) goto fail
;
23684 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23685 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23688 result
= (bool)(arg1
)->Hide();
23690 wxPyEndAllowThreads(__tstate
);
23691 if (PyErr_Occurred()) SWIG_fail
;
23694 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23702 static PyObject
*_wrap_Window_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23703 PyObject
*resultobj
;
23704 wxWindow
*arg1
= (wxWindow
*) 0 ;
23705 bool arg2
= (bool) True
;
23707 PyObject
* obj0
= 0 ;
23708 PyObject
* obj1
= 0 ;
23709 char *kwnames
[] = {
23710 (char *) "self",(char *) "enable", NULL
23713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
23714 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23715 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23717 arg2
= (bool) SWIG_AsBool(obj1
);
23718 if (PyErr_Occurred()) SWIG_fail
;
23721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23722 result
= (bool)(arg1
)->Enable(arg2
);
23724 wxPyEndAllowThreads(__tstate
);
23725 if (PyErr_Occurred()) SWIG_fail
;
23728 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23736 static PyObject
*_wrap_Window_Disable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23737 PyObject
*resultobj
;
23738 wxWindow
*arg1
= (wxWindow
*) 0 ;
23740 PyObject
* obj0
= 0 ;
23741 char *kwnames
[] = {
23742 (char *) "self", NULL
23745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Disable",kwnames
,&obj0
)) goto fail
;
23746 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23747 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23750 result
= (bool)(arg1
)->Disable();
23752 wxPyEndAllowThreads(__tstate
);
23753 if (PyErr_Occurred()) SWIG_fail
;
23756 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23764 static PyObject
*_wrap_Window_IsShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23765 PyObject
*resultobj
;
23766 wxWindow
*arg1
= (wxWindow
*) 0 ;
23768 PyObject
* obj0
= 0 ;
23769 char *kwnames
[] = {
23770 (char *) "self", NULL
23773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsShown",kwnames
,&obj0
)) goto fail
;
23774 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23775 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23778 result
= (bool)((wxWindow
const *)arg1
)->IsShown();
23780 wxPyEndAllowThreads(__tstate
);
23781 if (PyErr_Occurred()) SWIG_fail
;
23784 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23792 static PyObject
*_wrap_Window_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23793 PyObject
*resultobj
;
23794 wxWindow
*arg1
= (wxWindow
*) 0 ;
23796 PyObject
* obj0
= 0 ;
23797 char *kwnames
[] = {
23798 (char *) "self", NULL
23801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsEnabled",kwnames
,&obj0
)) goto fail
;
23802 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23803 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23806 result
= (bool)((wxWindow
const *)arg1
)->IsEnabled();
23808 wxPyEndAllowThreads(__tstate
);
23809 if (PyErr_Occurred()) SWIG_fail
;
23812 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23820 static PyObject
*_wrap_Window_SetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23821 PyObject
*resultobj
;
23822 wxWindow
*arg1
= (wxWindow
*) 0 ;
23824 PyObject
* obj0
= 0 ;
23825 PyObject
* obj1
= 0 ;
23826 char *kwnames
[] = {
23827 (char *) "self",(char *) "style", NULL
23830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetWindowStyleFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
23831 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23832 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23833 arg2
= (long) SWIG_AsLong(obj1
);
23834 if (PyErr_Occurred()) SWIG_fail
;
23836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23837 (arg1
)->SetWindowStyleFlag(arg2
);
23839 wxPyEndAllowThreads(__tstate
);
23840 if (PyErr_Occurred()) SWIG_fail
;
23842 Py_INCREF(Py_None
); resultobj
= Py_None
;
23849 static PyObject
*_wrap_Window_GetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23850 PyObject
*resultobj
;
23851 wxWindow
*arg1
= (wxWindow
*) 0 ;
23853 PyObject
* obj0
= 0 ;
23854 char *kwnames
[] = {
23855 (char *) "self", NULL
23858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetWindowStyleFlag",kwnames
,&obj0
)) goto fail
;
23859 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23860 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23863 result
= (long)((wxWindow
const *)arg1
)->GetWindowStyleFlag();
23865 wxPyEndAllowThreads(__tstate
);
23866 if (PyErr_Occurred()) SWIG_fail
;
23868 resultobj
= SWIG_FromLong((long)result
);
23875 static PyObject
*_wrap_Window_HasFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23876 PyObject
*resultobj
;
23877 wxWindow
*arg1
= (wxWindow
*) 0 ;
23880 PyObject
* obj0
= 0 ;
23881 PyObject
* obj1
= 0 ;
23882 char *kwnames
[] = {
23883 (char *) "self",(char *) "flag", NULL
23886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HasFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
23887 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23888 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23889 arg2
= (int) SWIG_AsInt(obj1
);
23890 if (PyErr_Occurred()) SWIG_fail
;
23892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23893 result
= (bool)((wxWindow
const *)arg1
)->HasFlag(arg2
);
23895 wxPyEndAllowThreads(__tstate
);
23896 if (PyErr_Occurred()) SWIG_fail
;
23899 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23907 static PyObject
*_wrap_Window_IsRetained(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23908 PyObject
*resultobj
;
23909 wxWindow
*arg1
= (wxWindow
*) 0 ;
23911 PyObject
* obj0
= 0 ;
23912 char *kwnames
[] = {
23913 (char *) "self", NULL
23916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsRetained",kwnames
,&obj0
)) goto fail
;
23917 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23918 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23921 result
= (bool)((wxWindow
const *)arg1
)->IsRetained();
23923 wxPyEndAllowThreads(__tstate
);
23924 if (PyErr_Occurred()) SWIG_fail
;
23927 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23935 static PyObject
*_wrap_Window_SetExtraStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23936 PyObject
*resultobj
;
23937 wxWindow
*arg1
= (wxWindow
*) 0 ;
23939 PyObject
* obj0
= 0 ;
23940 PyObject
* obj1
= 0 ;
23941 char *kwnames
[] = {
23942 (char *) "self",(char *) "exStyle", NULL
23945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetExtraStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
23946 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23947 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23948 arg2
= (long) SWIG_AsLong(obj1
);
23949 if (PyErr_Occurred()) SWIG_fail
;
23951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23952 (arg1
)->SetExtraStyle(arg2
);
23954 wxPyEndAllowThreads(__tstate
);
23955 if (PyErr_Occurred()) SWIG_fail
;
23957 Py_INCREF(Py_None
); resultobj
= Py_None
;
23964 static PyObject
*_wrap_Window_GetExtraStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23965 PyObject
*resultobj
;
23966 wxWindow
*arg1
= (wxWindow
*) 0 ;
23968 PyObject
* obj0
= 0 ;
23969 char *kwnames
[] = {
23970 (char *) "self", NULL
23973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetExtraStyle",kwnames
,&obj0
)) goto fail
;
23974 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23975 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23978 result
= (long)((wxWindow
const *)arg1
)->GetExtraStyle();
23980 wxPyEndAllowThreads(__tstate
);
23981 if (PyErr_Occurred()) SWIG_fail
;
23983 resultobj
= SWIG_FromLong((long)result
);
23990 static PyObject
*_wrap_Window_MakeModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23991 PyObject
*resultobj
;
23992 wxWindow
*arg1
= (wxWindow
*) 0 ;
23993 bool arg2
= (bool) True
;
23994 PyObject
* obj0
= 0 ;
23995 PyObject
* obj1
= 0 ;
23996 char *kwnames
[] = {
23997 (char *) "self",(char *) "modal", NULL
24000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_MakeModal",kwnames
,&obj0
,&obj1
)) goto fail
;
24001 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24002 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24004 arg2
= (bool) SWIG_AsBool(obj1
);
24005 if (PyErr_Occurred()) SWIG_fail
;
24008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24009 (arg1
)->MakeModal(arg2
);
24011 wxPyEndAllowThreads(__tstate
);
24012 if (PyErr_Occurred()) SWIG_fail
;
24014 Py_INCREF(Py_None
); resultobj
= Py_None
;
24021 static PyObject
*_wrap_Window_SetThemeEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24022 PyObject
*resultobj
;
24023 wxWindow
*arg1
= (wxWindow
*) 0 ;
24025 PyObject
* obj0
= 0 ;
24026 PyObject
* obj1
= 0 ;
24027 char *kwnames
[] = {
24028 (char *) "self",(char *) "enableTheme", NULL
24031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetThemeEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
24032 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24033 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24034 arg2
= (bool) SWIG_AsBool(obj1
);
24035 if (PyErr_Occurred()) SWIG_fail
;
24037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24038 (arg1
)->SetThemeEnabled(arg2
);
24040 wxPyEndAllowThreads(__tstate
);
24041 if (PyErr_Occurred()) SWIG_fail
;
24043 Py_INCREF(Py_None
); resultobj
= Py_None
;
24050 static PyObject
*_wrap_Window_GetThemeEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24051 PyObject
*resultobj
;
24052 wxWindow
*arg1
= (wxWindow
*) 0 ;
24054 PyObject
* obj0
= 0 ;
24055 char *kwnames
[] = {
24056 (char *) "self", NULL
24059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetThemeEnabled",kwnames
,&obj0
)) goto fail
;
24060 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24061 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24064 result
= (bool)((wxWindow
const *)arg1
)->GetThemeEnabled();
24066 wxPyEndAllowThreads(__tstate
);
24067 if (PyErr_Occurred()) SWIG_fail
;
24070 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24078 static PyObject
*_wrap_Window_SetFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24079 PyObject
*resultobj
;
24080 wxWindow
*arg1
= (wxWindow
*) 0 ;
24081 PyObject
* obj0
= 0 ;
24082 char *kwnames
[] = {
24083 (char *) "self", NULL
24086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_SetFocus",kwnames
,&obj0
)) goto fail
;
24087 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24088 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24091 (arg1
)->SetFocus();
24093 wxPyEndAllowThreads(__tstate
);
24094 if (PyErr_Occurred()) SWIG_fail
;
24096 Py_INCREF(Py_None
); resultobj
= Py_None
;
24103 static PyObject
*_wrap_Window_SetFocusFromKbd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24104 PyObject
*resultobj
;
24105 wxWindow
*arg1
= (wxWindow
*) 0 ;
24106 PyObject
* obj0
= 0 ;
24107 char *kwnames
[] = {
24108 (char *) "self", NULL
24111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_SetFocusFromKbd",kwnames
,&obj0
)) goto fail
;
24112 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24113 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24116 (arg1
)->SetFocusFromKbd();
24118 wxPyEndAllowThreads(__tstate
);
24119 if (PyErr_Occurred()) SWIG_fail
;
24121 Py_INCREF(Py_None
); resultobj
= Py_None
;
24128 static PyObject
*_wrap_Window_FindFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24129 PyObject
*resultobj
;
24131 char *kwnames
[] = {
24135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_FindFocus",kwnames
)) goto fail
;
24137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24138 result
= (wxWindow
*)wxWindow::FindFocus();
24140 wxPyEndAllowThreads(__tstate
);
24141 if (PyErr_Occurred()) SWIG_fail
;
24144 resultobj
= wxPyMake_wxObject(result
);
24152 static PyObject
*_wrap_Window_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24153 PyObject
*resultobj
;
24154 wxWindow
*arg1
= (wxWindow
*) 0 ;
24156 PyObject
* obj0
= 0 ;
24157 char *kwnames
[] = {
24158 (char *) "self", NULL
24161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
24162 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24163 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24166 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocus();
24168 wxPyEndAllowThreads(__tstate
);
24169 if (PyErr_Occurred()) SWIG_fail
;
24172 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24180 static PyObject
*_wrap_Window_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24181 PyObject
*resultobj
;
24182 wxWindow
*arg1
= (wxWindow
*) 0 ;
24184 PyObject
* obj0
= 0 ;
24185 char *kwnames
[] = {
24186 (char *) "self", NULL
24189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
24190 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24191 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24194 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocusFromKeyboard();
24196 wxPyEndAllowThreads(__tstate
);
24197 if (PyErr_Occurred()) SWIG_fail
;
24200 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24208 static PyObject
*_wrap_Window_GetDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24209 PyObject
*resultobj
;
24210 wxWindow
*arg1
= (wxWindow
*) 0 ;
24212 PyObject
* obj0
= 0 ;
24213 char *kwnames
[] = {
24214 (char *) "self", NULL
24217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDefaultItem",kwnames
,&obj0
)) goto fail
;
24218 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24219 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24222 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetDefaultItem();
24224 wxPyEndAllowThreads(__tstate
);
24225 if (PyErr_Occurred()) SWIG_fail
;
24228 resultobj
= wxPyMake_wxObject(result
);
24236 static PyObject
*_wrap_Window_SetDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24237 PyObject
*resultobj
;
24238 wxWindow
*arg1
= (wxWindow
*) 0 ;
24239 wxWindow
*arg2
= (wxWindow
*) 0 ;
24241 PyObject
* obj0
= 0 ;
24242 PyObject
* obj1
= 0 ;
24243 char *kwnames
[] = {
24244 (char *) "self",(char *) "child", NULL
24247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDefaultItem",kwnames
,&obj0
,&obj1
)) goto fail
;
24248 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24249 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24250 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
24251 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24254 result
= (wxWindow
*)(arg1
)->SetDefaultItem(arg2
);
24256 wxPyEndAllowThreads(__tstate
);
24257 if (PyErr_Occurred()) SWIG_fail
;
24260 resultobj
= wxPyMake_wxObject(result
);
24268 static PyObject
*_wrap_Window_SetTmpDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24269 PyObject
*resultobj
;
24270 wxWindow
*arg1
= (wxWindow
*) 0 ;
24271 wxWindow
*arg2
= (wxWindow
*) 0 ;
24272 PyObject
* obj0
= 0 ;
24273 PyObject
* obj1
= 0 ;
24274 char *kwnames
[] = {
24275 (char *) "self",(char *) "win", NULL
24278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetTmpDefaultItem",kwnames
,&obj0
,&obj1
)) goto fail
;
24279 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24280 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24281 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
24282 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24285 (arg1
)->SetTmpDefaultItem(arg2
);
24287 wxPyEndAllowThreads(__tstate
);
24288 if (PyErr_Occurred()) SWIG_fail
;
24290 Py_INCREF(Py_None
); resultobj
= Py_None
;
24297 static PyObject
*_wrap_Window_GetChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24298 PyObject
*resultobj
;
24299 wxWindow
*arg1
= (wxWindow
*) 0 ;
24301 PyObject
* obj0
= 0 ;
24302 char *kwnames
[] = {
24303 (char *) "self", NULL
24306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetChildren",kwnames
,&obj0
)) goto fail
;
24307 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24308 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24311 result
= (PyObject
*)wxWindow_GetChildren(arg1
);
24313 wxPyEndAllowThreads(__tstate
);
24314 if (PyErr_Occurred()) SWIG_fail
;
24316 resultobj
= result
;
24323 static PyObject
*_wrap_Window_GetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24324 PyObject
*resultobj
;
24325 wxWindow
*arg1
= (wxWindow
*) 0 ;
24327 PyObject
* obj0
= 0 ;
24328 char *kwnames
[] = {
24329 (char *) "self", NULL
24332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetParent",kwnames
,&obj0
)) goto fail
;
24333 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24334 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24337 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetParent();
24339 wxPyEndAllowThreads(__tstate
);
24340 if (PyErr_Occurred()) SWIG_fail
;
24343 resultobj
= wxPyMake_wxObject(result
);
24351 static PyObject
*_wrap_Window_GetGrandParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24352 PyObject
*resultobj
;
24353 wxWindow
*arg1
= (wxWindow
*) 0 ;
24355 PyObject
* obj0
= 0 ;
24356 char *kwnames
[] = {
24357 (char *) "self", NULL
24360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetGrandParent",kwnames
,&obj0
)) goto fail
;
24361 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24362 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24365 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetGrandParent();
24367 wxPyEndAllowThreads(__tstate
);
24368 if (PyErr_Occurred()) SWIG_fail
;
24371 resultobj
= wxPyMake_wxObject(result
);
24379 static PyObject
*_wrap_Window_IsTopLevel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24380 PyObject
*resultobj
;
24381 wxWindow
*arg1
= (wxWindow
*) 0 ;
24383 PyObject
* obj0
= 0 ;
24384 char *kwnames
[] = {
24385 (char *) "self", NULL
24388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsTopLevel",kwnames
,&obj0
)) goto fail
;
24389 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24390 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24393 result
= (bool)((wxWindow
const *)arg1
)->IsTopLevel();
24395 wxPyEndAllowThreads(__tstate
);
24396 if (PyErr_Occurred()) SWIG_fail
;
24399 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24407 static PyObject
*_wrap_Window_Reparent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24408 PyObject
*resultobj
;
24409 wxWindow
*arg1
= (wxWindow
*) 0 ;
24410 wxWindow
*arg2
= (wxWindow
*) 0 ;
24412 PyObject
* obj0
= 0 ;
24413 PyObject
* obj1
= 0 ;
24414 char *kwnames
[] = {
24415 (char *) "self",(char *) "newParent", NULL
24418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_Reparent",kwnames
,&obj0
,&obj1
)) goto fail
;
24419 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24420 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24421 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
24422 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24425 result
= (bool)(arg1
)->Reparent(arg2
);
24427 wxPyEndAllowThreads(__tstate
);
24428 if (PyErr_Occurred()) SWIG_fail
;
24431 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24439 static PyObject
*_wrap_Window_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24440 PyObject
*resultobj
;
24441 wxWindow
*arg1
= (wxWindow
*) 0 ;
24442 wxWindow
*arg2
= (wxWindow
*) 0 ;
24443 PyObject
* obj0
= 0 ;
24444 PyObject
* obj1
= 0 ;
24445 char *kwnames
[] = {
24446 (char *) "self",(char *) "child", NULL
24449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
24450 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24451 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24452 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
24453 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24456 (arg1
)->AddChild(arg2
);
24458 wxPyEndAllowThreads(__tstate
);
24459 if (PyErr_Occurred()) SWIG_fail
;
24461 Py_INCREF(Py_None
); resultobj
= Py_None
;
24468 static PyObject
*_wrap_Window_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24469 PyObject
*resultobj
;
24470 wxWindow
*arg1
= (wxWindow
*) 0 ;
24471 wxWindow
*arg2
= (wxWindow
*) 0 ;
24472 PyObject
* obj0
= 0 ;
24473 PyObject
* obj1
= 0 ;
24474 char *kwnames
[] = {
24475 (char *) "self",(char *) "child", NULL
24478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
24479 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24480 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24481 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
24482 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24485 (arg1
)->RemoveChild(arg2
);
24487 wxPyEndAllowThreads(__tstate
);
24488 if (PyErr_Occurred()) SWIG_fail
;
24490 Py_INCREF(Py_None
); resultobj
= Py_None
;
24497 static PyObject
*_wrap_Window_FindWindowById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24498 PyObject
*resultobj
;
24499 wxWindow
*arg1
= (wxWindow
*) 0 ;
24502 PyObject
* obj0
= 0 ;
24503 PyObject
* obj1
= 0 ;
24504 char *kwnames
[] = {
24505 (char *) "self",(char *) "winid", NULL
24508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FindWindowById",kwnames
,&obj0
,&obj1
)) goto fail
;
24509 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24510 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24511 arg2
= (long) SWIG_AsLong(obj1
);
24512 if (PyErr_Occurred()) SWIG_fail
;
24514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24515 result
= (wxWindow
*)(arg1
)->FindWindow(arg2
);
24517 wxPyEndAllowThreads(__tstate
);
24518 if (PyErr_Occurred()) SWIG_fail
;
24521 resultobj
= wxPyMake_wxObject(result
);
24529 static PyObject
*_wrap_Window_FindWindowByName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24530 PyObject
*resultobj
;
24531 wxWindow
*arg1
= (wxWindow
*) 0 ;
24532 wxString
*arg2
= 0 ;
24534 bool temp2
= False
;
24535 PyObject
* obj0
= 0 ;
24536 PyObject
* obj1
= 0 ;
24537 char *kwnames
[] = {
24538 (char *) "self",(char *) "name", NULL
24541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FindWindowByName",kwnames
,&obj0
,&obj1
)) goto fail
;
24542 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24543 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24545 arg2
= wxString_in_helper(obj1
);
24546 if (arg2
== NULL
) SWIG_fail
;
24550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24551 result
= (wxWindow
*)(arg1
)->FindWindow((wxString
const &)*arg2
);
24553 wxPyEndAllowThreads(__tstate
);
24554 if (PyErr_Occurred()) SWIG_fail
;
24557 resultobj
= wxPyMake_wxObject(result
);
24573 static PyObject
*_wrap_Window_GetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24574 PyObject
*resultobj
;
24575 wxWindow
*arg1
= (wxWindow
*) 0 ;
24576 wxEvtHandler
*result
;
24577 PyObject
* obj0
= 0 ;
24578 char *kwnames
[] = {
24579 (char *) "self", NULL
24582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetEventHandler",kwnames
,&obj0
)) goto fail
;
24583 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24584 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24587 result
= (wxEvtHandler
*)((wxWindow
const *)arg1
)->GetEventHandler();
24589 wxPyEndAllowThreads(__tstate
);
24590 if (PyErr_Occurred()) SWIG_fail
;
24593 resultobj
= wxPyMake_wxObject(result
);
24601 static PyObject
*_wrap_Window_SetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24602 PyObject
*resultobj
;
24603 wxWindow
*arg1
= (wxWindow
*) 0 ;
24604 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
24605 PyObject
* obj0
= 0 ;
24606 PyObject
* obj1
= 0 ;
24607 char *kwnames
[] = {
24608 (char *) "self",(char *) "handler", NULL
24611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
24612 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24613 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24614 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
24615 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24618 (arg1
)->SetEventHandler(arg2
);
24620 wxPyEndAllowThreads(__tstate
);
24621 if (PyErr_Occurred()) SWIG_fail
;
24623 Py_INCREF(Py_None
); resultobj
= Py_None
;
24630 static PyObject
*_wrap_Window_PushEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24631 PyObject
*resultobj
;
24632 wxWindow
*arg1
= (wxWindow
*) 0 ;
24633 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
24634 PyObject
* obj0
= 0 ;
24635 PyObject
* obj1
= 0 ;
24636 char *kwnames
[] = {
24637 (char *) "self",(char *) "handler", NULL
24640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PushEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
24641 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24642 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24643 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
24644 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24647 (arg1
)->PushEventHandler(arg2
);
24649 wxPyEndAllowThreads(__tstate
);
24650 if (PyErr_Occurred()) SWIG_fail
;
24652 Py_INCREF(Py_None
); resultobj
= Py_None
;
24659 static PyObject
*_wrap_Window_PopEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24660 PyObject
*resultobj
;
24661 wxWindow
*arg1
= (wxWindow
*) 0 ;
24662 bool arg2
= (bool) False
;
24663 wxEvtHandler
*result
;
24664 PyObject
* obj0
= 0 ;
24665 PyObject
* obj1
= 0 ;
24666 char *kwnames
[] = {
24667 (char *) "self",(char *) "deleteHandler", NULL
24670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_PopEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
24671 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24672 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24674 arg2
= (bool) SWIG_AsBool(obj1
);
24675 if (PyErr_Occurred()) SWIG_fail
;
24678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24679 result
= (wxEvtHandler
*)(arg1
)->PopEventHandler(arg2
);
24681 wxPyEndAllowThreads(__tstate
);
24682 if (PyErr_Occurred()) SWIG_fail
;
24685 resultobj
= wxPyMake_wxObject(result
);
24693 static PyObject
*_wrap_Window_RemoveEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24694 PyObject
*resultobj
;
24695 wxWindow
*arg1
= (wxWindow
*) 0 ;
24696 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
24698 PyObject
* obj0
= 0 ;
24699 PyObject
* obj1
= 0 ;
24700 char *kwnames
[] = {
24701 (char *) "self",(char *) "handler", NULL
24704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
24705 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24706 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24707 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
24708 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24711 result
= (bool)(arg1
)->RemoveEventHandler(arg2
);
24713 wxPyEndAllowThreads(__tstate
);
24714 if (PyErr_Occurred()) SWIG_fail
;
24717 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24725 static PyObject
*_wrap_Window_SetValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24726 PyObject
*resultobj
;
24727 wxWindow
*arg1
= (wxWindow
*) 0 ;
24728 wxValidator
*arg2
= 0 ;
24729 PyObject
* obj0
= 0 ;
24730 PyObject
* obj1
= 0 ;
24731 char *kwnames
[] = {
24732 (char *) "self",(char *) "validator", NULL
24735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetValidator",kwnames
,&obj0
,&obj1
)) goto fail
;
24736 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24737 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24738 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxValidator
,
24739 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24741 if (arg2
== NULL
) {
24742 PyErr_SetString(PyExc_TypeError
,"null reference");
24746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24747 (arg1
)->SetValidator((wxValidator
const &)*arg2
);
24749 wxPyEndAllowThreads(__tstate
);
24750 if (PyErr_Occurred()) SWIG_fail
;
24752 Py_INCREF(Py_None
); resultobj
= Py_None
;
24759 static PyObject
*_wrap_Window_GetValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24760 PyObject
*resultobj
;
24761 wxWindow
*arg1
= (wxWindow
*) 0 ;
24762 wxValidator
*result
;
24763 PyObject
* obj0
= 0 ;
24764 char *kwnames
[] = {
24765 (char *) "self", NULL
24768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetValidator",kwnames
,&obj0
)) goto fail
;
24769 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24770 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24773 result
= (wxValidator
*)(arg1
)->GetValidator();
24775 wxPyEndAllowThreads(__tstate
);
24776 if (PyErr_Occurred()) SWIG_fail
;
24779 resultobj
= wxPyMake_wxObject(result
);
24787 static PyObject
*_wrap_Window_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24788 PyObject
*resultobj
;
24789 wxWindow
*arg1
= (wxWindow
*) 0 ;
24791 PyObject
* obj0
= 0 ;
24792 char *kwnames
[] = {
24793 (char *) "self", NULL
24796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Validate",kwnames
,&obj0
)) goto fail
;
24797 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24798 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24801 result
= (bool)(arg1
)->Validate();
24803 wxPyEndAllowThreads(__tstate
);
24804 if (PyErr_Occurred()) SWIG_fail
;
24807 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24815 static PyObject
*_wrap_Window_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24816 PyObject
*resultobj
;
24817 wxWindow
*arg1
= (wxWindow
*) 0 ;
24819 PyObject
* obj0
= 0 ;
24820 char *kwnames
[] = {
24821 (char *) "self", NULL
24824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
24825 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24826 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24829 result
= (bool)(arg1
)->TransferDataToWindow();
24831 wxPyEndAllowThreads(__tstate
);
24832 if (PyErr_Occurred()) SWIG_fail
;
24835 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24843 static PyObject
*_wrap_Window_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24844 PyObject
*resultobj
;
24845 wxWindow
*arg1
= (wxWindow
*) 0 ;
24847 PyObject
* obj0
= 0 ;
24848 char *kwnames
[] = {
24849 (char *) "self", NULL
24852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
24853 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24854 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24857 result
= (bool)(arg1
)->TransferDataFromWindow();
24859 wxPyEndAllowThreads(__tstate
);
24860 if (PyErr_Occurred()) SWIG_fail
;
24863 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24871 static PyObject
*_wrap_Window_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24872 PyObject
*resultobj
;
24873 wxWindow
*arg1
= (wxWindow
*) 0 ;
24874 PyObject
* obj0
= 0 ;
24875 char *kwnames
[] = {
24876 (char *) "self", NULL
24879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InitDialog",kwnames
,&obj0
)) goto fail
;
24880 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24881 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24884 (arg1
)->InitDialog();
24886 wxPyEndAllowThreads(__tstate
);
24887 if (PyErr_Occurred()) SWIG_fail
;
24889 Py_INCREF(Py_None
); resultobj
= Py_None
;
24896 static PyObject
*_wrap_Window_SetAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24897 PyObject
*resultobj
;
24898 wxWindow
*arg1
= (wxWindow
*) 0 ;
24899 wxAcceleratorTable
*arg2
= 0 ;
24900 PyObject
* obj0
= 0 ;
24901 PyObject
* obj1
= 0 ;
24902 char *kwnames
[] = {
24903 (char *) "self",(char *) "accel", NULL
24906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAcceleratorTable",kwnames
,&obj0
,&obj1
)) goto fail
;
24907 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24908 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24909 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxAcceleratorTable
,
24910 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24912 if (arg2
== NULL
) {
24913 PyErr_SetString(PyExc_TypeError
,"null reference");
24917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24918 (arg1
)->SetAcceleratorTable((wxAcceleratorTable
const &)*arg2
);
24920 wxPyEndAllowThreads(__tstate
);
24921 if (PyErr_Occurred()) SWIG_fail
;
24923 Py_INCREF(Py_None
); resultobj
= Py_None
;
24930 static PyObject
*_wrap_Window_GetAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24931 PyObject
*resultobj
;
24932 wxWindow
*arg1
= (wxWindow
*) 0 ;
24933 wxAcceleratorTable
*result
;
24934 PyObject
* obj0
= 0 ;
24935 char *kwnames
[] = {
24936 (char *) "self", NULL
24939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAcceleratorTable",kwnames
,&obj0
)) goto fail
;
24940 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24941 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24944 result
= (wxAcceleratorTable
*)(arg1
)->GetAcceleratorTable();
24946 wxPyEndAllowThreads(__tstate
);
24947 if (PyErr_Occurred()) SWIG_fail
;
24949 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorTable
, 0);
24956 static PyObject
*_wrap_Window_RegisterHotKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24957 PyObject
*resultobj
;
24958 wxWindow
*arg1
= (wxWindow
*) 0 ;
24963 PyObject
* obj0
= 0 ;
24964 PyObject
* obj1
= 0 ;
24965 PyObject
* obj2
= 0 ;
24966 PyObject
* obj3
= 0 ;
24967 char *kwnames
[] = {
24968 (char *) "self",(char *) "hotkeyId",(char *) "modifiers",(char *) "keycode", NULL
24971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Window_RegisterHotKey",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24972 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24973 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24974 arg2
= (int) SWIG_AsInt(obj1
);
24975 if (PyErr_Occurred()) SWIG_fail
;
24976 arg3
= (int) SWIG_AsInt(obj2
);
24977 if (PyErr_Occurred()) SWIG_fail
;
24978 arg4
= (int) SWIG_AsInt(obj3
);
24979 if (PyErr_Occurred()) SWIG_fail
;
24981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24982 result
= (bool)wxWindow_RegisterHotKey(arg1
,arg2
,arg3
,arg4
);
24984 wxPyEndAllowThreads(__tstate
);
24985 if (PyErr_Occurred()) SWIG_fail
;
24988 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24996 static PyObject
*_wrap_Window_UnregisterHotKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24997 PyObject
*resultobj
;
24998 wxWindow
*arg1
= (wxWindow
*) 0 ;
25001 PyObject
* obj0
= 0 ;
25002 PyObject
* obj1
= 0 ;
25003 char *kwnames
[] = {
25004 (char *) "self",(char *) "hotkeyId", NULL
25007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_UnregisterHotKey",kwnames
,&obj0
,&obj1
)) goto fail
;
25008 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25009 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25010 arg2
= (int) SWIG_AsInt(obj1
);
25011 if (PyErr_Occurred()) SWIG_fail
;
25013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25014 result
= (bool)wxWindow_UnregisterHotKey(arg1
,arg2
);
25016 wxPyEndAllowThreads(__tstate
);
25017 if (PyErr_Occurred()) SWIG_fail
;
25020 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25028 static PyObject
*_wrap_Window_ConvertDialogPointToPixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25029 PyObject
*resultobj
;
25030 wxWindow
*arg1
= (wxWindow
*) 0 ;
25031 wxPoint
*arg2
= 0 ;
25034 PyObject
* obj0
= 0 ;
25035 PyObject
* obj1
= 0 ;
25036 char *kwnames
[] = {
25037 (char *) "self",(char *) "pt", NULL
25040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogPointToPixels",kwnames
,&obj0
,&obj1
)) goto fail
;
25041 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25042 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25045 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25049 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
25051 wxPyEndAllowThreads(__tstate
);
25052 if (PyErr_Occurred()) SWIG_fail
;
25055 wxPoint
* resultptr
;
25056 resultptr
= new wxPoint((wxPoint
&) result
);
25057 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
25065 static PyObject
*_wrap_Window_ConvertDialogSizeToPixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25066 PyObject
*resultobj
;
25067 wxWindow
*arg1
= (wxWindow
*) 0 ;
25071 PyObject
* obj0
= 0 ;
25072 PyObject
* obj1
= 0 ;
25073 char *kwnames
[] = {
25074 (char *) "self",(char *) "sz", NULL
25077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogSizeToPixels",kwnames
,&obj0
,&obj1
)) goto fail
;
25078 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25079 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25082 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25086 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
25088 wxPyEndAllowThreads(__tstate
);
25089 if (PyErr_Occurred()) SWIG_fail
;
25092 wxSize
* resultptr
;
25093 resultptr
= new wxSize((wxSize
&) result
);
25094 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
25102 static PyObject
*_wrap_Window_DLG_PNT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25103 PyObject
*resultobj
;
25104 wxWindow
*arg1
= (wxWindow
*) 0 ;
25105 wxPoint
*arg2
= 0 ;
25108 PyObject
* obj0
= 0 ;
25109 PyObject
* obj1
= 0 ;
25110 char *kwnames
[] = {
25111 (char *) "self",(char *) "pt", NULL
25114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_PNT",kwnames
,&obj0
,&obj1
)) goto fail
;
25115 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25116 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25119 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25123 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
25125 wxPyEndAllowThreads(__tstate
);
25126 if (PyErr_Occurred()) SWIG_fail
;
25129 wxPoint
* resultptr
;
25130 resultptr
= new wxPoint((wxPoint
&) result
);
25131 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
25139 static PyObject
*_wrap_Window_DLG_SZE(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25140 PyObject
*resultobj
;
25141 wxWindow
*arg1
= (wxWindow
*) 0 ;
25145 PyObject
* obj0
= 0 ;
25146 PyObject
* obj1
= 0 ;
25147 char *kwnames
[] = {
25148 (char *) "self",(char *) "sz", NULL
25151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_SZE",kwnames
,&obj0
,&obj1
)) goto fail
;
25152 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25153 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25156 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25160 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
25162 wxPyEndAllowThreads(__tstate
);
25163 if (PyErr_Occurred()) SWIG_fail
;
25166 wxSize
* resultptr
;
25167 resultptr
= new wxSize((wxSize
&) result
);
25168 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
25176 static PyObject
*_wrap_Window_ConvertPixelPointToDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25177 PyObject
*resultobj
;
25178 wxWindow
*arg1
= (wxWindow
*) 0 ;
25179 wxPoint
*arg2
= 0 ;
25182 PyObject
* obj0
= 0 ;
25183 PyObject
* obj1
= 0 ;
25184 char *kwnames
[] = {
25185 (char *) "self",(char *) "pt", NULL
25188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelPointToDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
25189 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25190 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25193 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25197 result
= (arg1
)->ConvertPixelsToDialog((wxPoint
const &)*arg2
);
25199 wxPyEndAllowThreads(__tstate
);
25200 if (PyErr_Occurred()) SWIG_fail
;
25203 wxPoint
* resultptr
;
25204 resultptr
= new wxPoint((wxPoint
&) result
);
25205 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
25213 static PyObject
*_wrap_Window_ConvertPixelSizeToDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25214 PyObject
*resultobj
;
25215 wxWindow
*arg1
= (wxWindow
*) 0 ;
25219 PyObject
* obj0
= 0 ;
25220 PyObject
* obj1
= 0 ;
25221 char *kwnames
[] = {
25222 (char *) "self",(char *) "sz", NULL
25225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelSizeToDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
25226 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25227 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25230 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25234 result
= (arg1
)->ConvertPixelsToDialog((wxSize
const &)*arg2
);
25236 wxPyEndAllowThreads(__tstate
);
25237 if (PyErr_Occurred()) SWIG_fail
;
25240 wxSize
* resultptr
;
25241 resultptr
= new wxSize((wxSize
&) result
);
25242 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
25250 static PyObject
*_wrap_Window_WarpPointer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25251 PyObject
*resultobj
;
25252 wxWindow
*arg1
= (wxWindow
*) 0 ;
25255 PyObject
* obj0
= 0 ;
25256 PyObject
* obj1
= 0 ;
25257 PyObject
* obj2
= 0 ;
25258 char *kwnames
[] = {
25259 (char *) "self",(char *) "x",(char *) "y", NULL
25262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_WarpPointer",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25263 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25264 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25265 arg2
= (int) SWIG_AsInt(obj1
);
25266 if (PyErr_Occurred()) SWIG_fail
;
25267 arg3
= (int) SWIG_AsInt(obj2
);
25268 if (PyErr_Occurred()) SWIG_fail
;
25270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25271 (arg1
)->WarpPointer(arg2
,arg3
);
25273 wxPyEndAllowThreads(__tstate
);
25274 if (PyErr_Occurred()) SWIG_fail
;
25276 Py_INCREF(Py_None
); resultobj
= Py_None
;
25283 static PyObject
*_wrap_Window_CaptureMouse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25284 PyObject
*resultobj
;
25285 wxWindow
*arg1
= (wxWindow
*) 0 ;
25286 PyObject
* obj0
= 0 ;
25287 char *kwnames
[] = {
25288 (char *) "self", NULL
25291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_CaptureMouse",kwnames
,&obj0
)) goto fail
;
25292 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25293 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25296 (arg1
)->CaptureMouse();
25298 wxPyEndAllowThreads(__tstate
);
25299 if (PyErr_Occurred()) SWIG_fail
;
25301 Py_INCREF(Py_None
); resultobj
= Py_None
;
25308 static PyObject
*_wrap_Window_ReleaseMouse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25309 PyObject
*resultobj
;
25310 wxWindow
*arg1
= (wxWindow
*) 0 ;
25311 PyObject
* obj0
= 0 ;
25312 char *kwnames
[] = {
25313 (char *) "self", NULL
25316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ReleaseMouse",kwnames
,&obj0
)) goto fail
;
25317 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25318 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25321 (arg1
)->ReleaseMouse();
25323 wxPyEndAllowThreads(__tstate
);
25324 if (PyErr_Occurred()) SWIG_fail
;
25326 Py_INCREF(Py_None
); resultobj
= Py_None
;
25333 static PyObject
*_wrap_Window_GetCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25334 PyObject
*resultobj
;
25336 char *kwnames
[] = {
25340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_GetCapture",kwnames
)) goto fail
;
25342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25343 result
= (wxWindow
*)wxWindow::GetCapture();
25345 wxPyEndAllowThreads(__tstate
);
25346 if (PyErr_Occurred()) SWIG_fail
;
25349 resultobj
= wxPyMake_wxObject(result
);
25357 static PyObject
*_wrap_Window_HasCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25358 PyObject
*resultobj
;
25359 wxWindow
*arg1
= (wxWindow
*) 0 ;
25361 PyObject
* obj0
= 0 ;
25362 char *kwnames
[] = {
25363 (char *) "self", NULL
25366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_HasCapture",kwnames
,&obj0
)) goto fail
;
25367 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25368 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25371 result
= (bool)((wxWindow
const *)arg1
)->HasCapture();
25373 wxPyEndAllowThreads(__tstate
);
25374 if (PyErr_Occurred()) SWIG_fail
;
25377 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25385 static PyObject
*_wrap_Window_Refresh(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25386 PyObject
*resultobj
;
25387 wxWindow
*arg1
= (wxWindow
*) 0 ;
25388 bool arg2
= (bool) True
;
25389 wxRect
*arg3
= (wxRect
*) NULL
;
25390 PyObject
* obj0
= 0 ;
25391 PyObject
* obj1
= 0 ;
25392 PyObject
* obj2
= 0 ;
25393 char *kwnames
[] = {
25394 (char *) "self",(char *) "eraseBackground",(char *) "rect", NULL
25397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Window_Refresh",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25398 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25399 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25401 arg2
= (bool) SWIG_AsBool(obj1
);
25402 if (PyErr_Occurred()) SWIG_fail
;
25405 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxRect
,
25406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25410 (arg1
)->Refresh(arg2
,(wxRect
const *)arg3
);
25412 wxPyEndAllowThreads(__tstate
);
25413 if (PyErr_Occurred()) SWIG_fail
;
25415 Py_INCREF(Py_None
); resultobj
= Py_None
;
25422 static PyObject
*_wrap_Window_RefreshRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25423 PyObject
*resultobj
;
25424 wxWindow
*arg1
= (wxWindow
*) 0 ;
25427 PyObject
* obj0
= 0 ;
25428 PyObject
* obj1
= 0 ;
25429 char *kwnames
[] = {
25430 (char *) "self",(char *) "rect", NULL
25433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RefreshRect",kwnames
,&obj0
,&obj1
)) goto fail
;
25434 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25435 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25438 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
25441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25442 (arg1
)->RefreshRect((wxRect
const &)*arg2
);
25444 wxPyEndAllowThreads(__tstate
);
25445 if (PyErr_Occurred()) SWIG_fail
;
25447 Py_INCREF(Py_None
); resultobj
= Py_None
;
25454 static PyObject
*_wrap_Window_Update(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25455 PyObject
*resultobj
;
25456 wxWindow
*arg1
= (wxWindow
*) 0 ;
25457 PyObject
* obj0
= 0 ;
25458 char *kwnames
[] = {
25459 (char *) "self", NULL
25462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Update",kwnames
,&obj0
)) goto fail
;
25463 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25464 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25469 wxPyEndAllowThreads(__tstate
);
25470 if (PyErr_Occurred()) SWIG_fail
;
25472 Py_INCREF(Py_None
); resultobj
= Py_None
;
25479 static PyObject
*_wrap_Window_ClearBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25480 PyObject
*resultobj
;
25481 wxWindow
*arg1
= (wxWindow
*) 0 ;
25482 PyObject
* obj0
= 0 ;
25483 char *kwnames
[] = {
25484 (char *) "self", NULL
25487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ClearBackground",kwnames
,&obj0
)) goto fail
;
25488 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25489 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25492 (arg1
)->ClearBackground();
25494 wxPyEndAllowThreads(__tstate
);
25495 if (PyErr_Occurred()) SWIG_fail
;
25497 Py_INCREF(Py_None
); resultobj
= Py_None
;
25504 static PyObject
*_wrap_Window_Freeze(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25505 PyObject
*resultobj
;
25506 wxWindow
*arg1
= (wxWindow
*) 0 ;
25507 PyObject
* obj0
= 0 ;
25508 char *kwnames
[] = {
25509 (char *) "self", NULL
25512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Freeze",kwnames
,&obj0
)) goto fail
;
25513 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25514 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25519 wxPyEndAllowThreads(__tstate
);
25520 if (PyErr_Occurred()) SWIG_fail
;
25522 Py_INCREF(Py_None
); resultobj
= Py_None
;
25529 static PyObject
*_wrap_Window_Thaw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25530 PyObject
*resultobj
;
25531 wxWindow
*arg1
= (wxWindow
*) 0 ;
25532 PyObject
* obj0
= 0 ;
25533 char *kwnames
[] = {
25534 (char *) "self", NULL
25537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Thaw",kwnames
,&obj0
)) goto fail
;
25538 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25539 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25544 wxPyEndAllowThreads(__tstate
);
25545 if (PyErr_Occurred()) SWIG_fail
;
25547 Py_INCREF(Py_None
); resultobj
= Py_None
;
25554 static PyObject
*_wrap_Window_PrepareDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25555 PyObject
*resultobj
;
25556 wxWindow
*arg1
= (wxWindow
*) 0 ;
25558 PyObject
* obj0
= 0 ;
25559 PyObject
* obj1
= 0 ;
25560 char *kwnames
[] = {
25561 (char *) "self",(char *) "dc", NULL
25564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PrepareDC",kwnames
,&obj0
,&obj1
)) goto fail
;
25565 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25566 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25567 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
25568 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25570 if (arg2
== NULL
) {
25571 PyErr_SetString(PyExc_TypeError
,"null reference");
25575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25576 (arg1
)->PrepareDC(*arg2
);
25578 wxPyEndAllowThreads(__tstate
);
25579 if (PyErr_Occurred()) SWIG_fail
;
25581 Py_INCREF(Py_None
); resultobj
= Py_None
;
25588 static PyObject
*_wrap_Window_GetUpdateRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25589 PyObject
*resultobj
;
25590 wxWindow
*arg1
= (wxWindow
*) 0 ;
25592 PyObject
* obj0
= 0 ;
25593 char *kwnames
[] = {
25594 (char *) "self", NULL
25597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetUpdateRegion",kwnames
,&obj0
)) goto fail
;
25598 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25599 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25603 wxRegion
&_result_ref
= (arg1
)->GetUpdateRegion();
25604 result
= (wxRegion
*) &_result_ref
;
25607 wxPyEndAllowThreads(__tstate
);
25608 if (PyErr_Occurred()) SWIG_fail
;
25610 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 0);
25617 static PyObject
*_wrap_Window_GetUpdateClientRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25618 PyObject
*resultobj
;
25619 wxWindow
*arg1
= (wxWindow
*) 0 ;
25621 PyObject
* obj0
= 0 ;
25622 char *kwnames
[] = {
25623 (char *) "self", NULL
25626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetUpdateClientRect",kwnames
,&obj0
)) goto fail
;
25627 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25628 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25631 result
= ((wxWindow
const *)arg1
)->GetUpdateClientRect();
25633 wxPyEndAllowThreads(__tstate
);
25634 if (PyErr_Occurred()) SWIG_fail
;
25637 wxRect
* resultptr
;
25638 resultptr
= new wxRect((wxRect
&) result
);
25639 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
25647 static PyObject
*_wrap_Window_IsExposed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25648 PyObject
*resultobj
;
25649 wxWindow
*arg1
= (wxWindow
*) 0 ;
25652 int arg4
= (int) 1 ;
25653 int arg5
= (int) 1 ;
25655 PyObject
* obj0
= 0 ;
25656 PyObject
* obj1
= 0 ;
25657 PyObject
* obj2
= 0 ;
25658 PyObject
* obj3
= 0 ;
25659 PyObject
* obj4
= 0 ;
25660 char *kwnames
[] = {
25661 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
25664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Window_IsExposed",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
25665 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25666 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25667 arg2
= (int) SWIG_AsInt(obj1
);
25668 if (PyErr_Occurred()) SWIG_fail
;
25669 arg3
= (int) SWIG_AsInt(obj2
);
25670 if (PyErr_Occurred()) SWIG_fail
;
25672 arg4
= (int) SWIG_AsInt(obj3
);
25673 if (PyErr_Occurred()) SWIG_fail
;
25676 arg5
= (int) SWIG_AsInt(obj4
);
25677 if (PyErr_Occurred()) SWIG_fail
;
25680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25681 result
= (bool)((wxWindow
const *)arg1
)->IsExposed(arg2
,arg3
,arg4
,arg5
);
25683 wxPyEndAllowThreads(__tstate
);
25684 if (PyErr_Occurred()) SWIG_fail
;
25687 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25695 static PyObject
*_wrap_Window_IsExposedPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25696 PyObject
*resultobj
;
25697 wxWindow
*arg1
= (wxWindow
*) 0 ;
25698 wxPoint
*arg2
= 0 ;
25701 PyObject
* obj0
= 0 ;
25702 PyObject
* obj1
= 0 ;
25703 char *kwnames
[] = {
25704 (char *) "self",(char *) "pt", NULL
25707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_IsExposedPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
25708 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25709 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25712 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25716 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxPoint
const &)*arg2
);
25718 wxPyEndAllowThreads(__tstate
);
25719 if (PyErr_Occurred()) SWIG_fail
;
25722 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25730 static PyObject
*_wrap_Window_IsExposedRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25731 PyObject
*resultobj
;
25732 wxWindow
*arg1
= (wxWindow
*) 0 ;
25736 PyObject
* obj0
= 0 ;
25737 PyObject
* obj1
= 0 ;
25738 char *kwnames
[] = {
25739 (char *) "self",(char *) "rect", NULL
25742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_IsExposedRect",kwnames
,&obj0
,&obj1
)) goto fail
;
25743 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25744 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25747 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
25750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25751 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxRect
const &)*arg2
);
25753 wxPyEndAllowThreads(__tstate
);
25754 if (PyErr_Occurred()) SWIG_fail
;
25757 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25765 static PyObject
*_wrap_Window_GetDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25766 PyObject
*resultobj
;
25767 wxWindow
*arg1
= (wxWindow
*) 0 ;
25768 wxVisualAttributes result
;
25769 PyObject
* obj0
= 0 ;
25770 char *kwnames
[] = {
25771 (char *) "self", NULL
25774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
25775 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25776 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25779 result
= ((wxWindow
const *)arg1
)->GetDefaultAttributes();
25781 wxPyEndAllowThreads(__tstate
);
25782 if (PyErr_Occurred()) SWIG_fail
;
25785 wxVisualAttributes
* resultptr
;
25786 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
25787 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
25795 static PyObject
*_wrap_Window_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25796 PyObject
*resultobj
;
25797 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
25798 wxVisualAttributes result
;
25799 PyObject
* obj0
= 0 ;
25800 char *kwnames
[] = {
25801 (char *) "variant", NULL
25804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Window_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
25806 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
25807 if (PyErr_Occurred()) SWIG_fail
;
25810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25811 result
= wxWindow::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
25813 wxPyEndAllowThreads(__tstate
);
25814 if (PyErr_Occurred()) SWIG_fail
;
25817 wxVisualAttributes
* resultptr
;
25818 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
25819 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
25827 static PyObject
*_wrap_Window_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25828 PyObject
*resultobj
;
25829 wxWindow
*arg1
= (wxWindow
*) 0 ;
25830 wxColour
*arg2
= 0 ;
25833 PyObject
* obj0
= 0 ;
25834 PyObject
* obj1
= 0 ;
25835 char *kwnames
[] = {
25836 (char *) "self",(char *) "colour", NULL
25839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
25840 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25841 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25844 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25848 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
25850 wxPyEndAllowThreads(__tstate
);
25851 if (PyErr_Occurred()) SWIG_fail
;
25854 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25862 static PyObject
*_wrap_Window_SetDefaultBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25863 PyObject
*resultobj
;
25864 wxWindow
*arg1
= (wxWindow
*) 0 ;
25865 wxColour
*arg2
= 0 ;
25867 PyObject
* obj0
= 0 ;
25868 PyObject
* obj1
= 0 ;
25869 char *kwnames
[] = {
25870 (char *) "self",(char *) "colour", NULL
25873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDefaultBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
25874 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25875 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25878 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25882 (arg1
)->SetDefaultBackgroundColour((wxColour
const &)*arg2
);
25884 wxPyEndAllowThreads(__tstate
);
25885 if (PyErr_Occurred()) SWIG_fail
;
25887 Py_INCREF(Py_None
); resultobj
= Py_None
;
25894 static PyObject
*_wrap_Window_SetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25895 PyObject
*resultobj
;
25896 wxWindow
*arg1
= (wxWindow
*) 0 ;
25897 wxColour
*arg2
= 0 ;
25900 PyObject
* obj0
= 0 ;
25901 PyObject
* obj1
= 0 ;
25902 char *kwnames
[] = {
25903 (char *) "self",(char *) "colour", NULL
25906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
25907 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25908 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25911 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25915 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
25917 wxPyEndAllowThreads(__tstate
);
25918 if (PyErr_Occurred()) SWIG_fail
;
25921 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25929 static PyObject
*_wrap_Window_SetDefaultForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25930 PyObject
*resultobj
;
25931 wxWindow
*arg1
= (wxWindow
*) 0 ;
25932 wxColour
*arg2
= 0 ;
25934 PyObject
* obj0
= 0 ;
25935 PyObject
* obj1
= 0 ;
25936 char *kwnames
[] = {
25937 (char *) "self",(char *) "colour", NULL
25940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDefaultForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
25941 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25942 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25945 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25949 (arg1
)->SetDefaultForegroundColour((wxColour
const &)*arg2
);
25951 wxPyEndAllowThreads(__tstate
);
25952 if (PyErr_Occurred()) SWIG_fail
;
25954 Py_INCREF(Py_None
); resultobj
= Py_None
;
25961 static PyObject
*_wrap_Window_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25962 PyObject
*resultobj
;
25963 wxWindow
*arg1
= (wxWindow
*) 0 ;
25965 PyObject
* obj0
= 0 ;
25966 char *kwnames
[] = {
25967 (char *) "self", NULL
25970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
25971 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25972 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25975 result
= ((wxWindow
const *)arg1
)->GetBackgroundColour();
25977 wxPyEndAllowThreads(__tstate
);
25978 if (PyErr_Occurred()) SWIG_fail
;
25981 wxColour
* resultptr
;
25982 resultptr
= new wxColour((wxColour
&) result
);
25983 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
25991 static PyObject
*_wrap_Window_GetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25992 PyObject
*resultobj
;
25993 wxWindow
*arg1
= (wxWindow
*) 0 ;
25995 PyObject
* obj0
= 0 ;
25996 char *kwnames
[] = {
25997 (char *) "self", NULL
26000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetForegroundColour",kwnames
,&obj0
)) goto fail
;
26001 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26002 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26005 result
= ((wxWindow
const *)arg1
)->GetForegroundColour();
26007 wxPyEndAllowThreads(__tstate
);
26008 if (PyErr_Occurred()) SWIG_fail
;
26011 wxColour
* resultptr
;
26012 resultptr
= new wxColour((wxColour
&) result
);
26013 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
26021 static PyObject
*_wrap_Window_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26022 PyObject
*resultobj
;
26023 wxWindow
*arg1
= (wxWindow
*) 0 ;
26024 wxCursor
*arg2
= 0 ;
26026 PyObject
* obj0
= 0 ;
26027 PyObject
* obj1
= 0 ;
26028 char *kwnames
[] = {
26029 (char *) "self",(char *) "cursor", NULL
26032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
26033 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26034 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26035 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
26036 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26038 if (arg2
== NULL
) {
26039 PyErr_SetString(PyExc_TypeError
,"null reference");
26043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26044 result
= (bool)(arg1
)->SetCursor((wxCursor
const &)*arg2
);
26046 wxPyEndAllowThreads(__tstate
);
26047 if (PyErr_Occurred()) SWIG_fail
;
26050 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26058 static PyObject
*_wrap_Window_GetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26059 PyObject
*resultobj
;
26060 wxWindow
*arg1
= (wxWindow
*) 0 ;
26062 PyObject
* obj0
= 0 ;
26063 char *kwnames
[] = {
26064 (char *) "self", NULL
26067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCursor",kwnames
,&obj0
)) goto fail
;
26068 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26069 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26073 wxCursor
&_result_ref
= (arg1
)->GetCursor();
26074 result
= (wxCursor
*) &_result_ref
;
26077 wxPyEndAllowThreads(__tstate
);
26078 if (PyErr_Occurred()) SWIG_fail
;
26081 wxCursor
* resultptr
= new wxCursor(*result
);
26082 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxCursor
, 1);
26090 static PyObject
*_wrap_Window_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26091 PyObject
*resultobj
;
26092 wxWindow
*arg1
= (wxWindow
*) 0 ;
26095 PyObject
* obj0
= 0 ;
26096 PyObject
* obj1
= 0 ;
26097 char *kwnames
[] = {
26098 (char *) "self",(char *) "font", NULL
26101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
26102 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26103 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26104 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
26105 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26107 if (arg2
== NULL
) {
26108 PyErr_SetString(PyExc_TypeError
,"null reference");
26112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26113 result
= (bool)(arg1
)->SetFont((wxFont
const &)*arg2
);
26115 wxPyEndAllowThreads(__tstate
);
26116 if (PyErr_Occurred()) SWIG_fail
;
26119 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26127 static PyObject
*_wrap_Window_SetDefaultFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26128 PyObject
*resultobj
;
26129 wxWindow
*arg1
= (wxWindow
*) 0 ;
26131 PyObject
* obj0
= 0 ;
26132 PyObject
* obj1
= 0 ;
26133 char *kwnames
[] = {
26134 (char *) "self",(char *) "font", NULL
26137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDefaultFont",kwnames
,&obj0
,&obj1
)) goto fail
;
26138 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26139 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26140 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
26141 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26143 if (arg2
== NULL
) {
26144 PyErr_SetString(PyExc_TypeError
,"null reference");
26148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26149 (arg1
)->SetDefaultFont((wxFont
const &)*arg2
);
26151 wxPyEndAllowThreads(__tstate
);
26152 if (PyErr_Occurred()) SWIG_fail
;
26154 Py_INCREF(Py_None
); resultobj
= Py_None
;
26161 static PyObject
*_wrap_Window_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26162 PyObject
*resultobj
;
26163 wxWindow
*arg1
= (wxWindow
*) 0 ;
26165 PyObject
* obj0
= 0 ;
26166 char *kwnames
[] = {
26167 (char *) "self", NULL
26170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetFont",kwnames
,&obj0
)) goto fail
;
26171 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26172 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26176 wxFont
&_result_ref
= (arg1
)->GetFont();
26177 result
= (wxFont
*) &_result_ref
;
26180 wxPyEndAllowThreads(__tstate
);
26181 if (PyErr_Occurred()) SWIG_fail
;
26184 wxFont
* resultptr
= new wxFont(*result
);
26185 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
26193 static PyObject
*_wrap_Window_SetCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26194 PyObject
*resultobj
;
26195 wxWindow
*arg1
= (wxWindow
*) 0 ;
26196 wxCaret
*arg2
= (wxCaret
*) 0 ;
26197 PyObject
* obj0
= 0 ;
26198 PyObject
* obj1
= 0 ;
26199 char *kwnames
[] = {
26200 (char *) "self",(char *) "caret", NULL
26203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCaret",kwnames
,&obj0
,&obj1
)) goto fail
;
26204 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26205 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26206 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCaret
,
26207 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26210 (arg1
)->SetCaret(arg2
);
26212 wxPyEndAllowThreads(__tstate
);
26213 if (PyErr_Occurred()) SWIG_fail
;
26215 Py_INCREF(Py_None
); resultobj
= Py_None
;
26222 static PyObject
*_wrap_Window_GetCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26223 PyObject
*resultobj
;
26224 wxWindow
*arg1
= (wxWindow
*) 0 ;
26226 PyObject
* obj0
= 0 ;
26227 char *kwnames
[] = {
26228 (char *) "self", NULL
26231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCaret",kwnames
,&obj0
)) goto fail
;
26232 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26233 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26236 result
= (wxCaret
*)((wxWindow
const *)arg1
)->GetCaret();
26238 wxPyEndAllowThreads(__tstate
);
26239 if (PyErr_Occurred()) SWIG_fail
;
26241 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCaret
, 0);
26248 static PyObject
*_wrap_Window_GetCharHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26249 PyObject
*resultobj
;
26250 wxWindow
*arg1
= (wxWindow
*) 0 ;
26252 PyObject
* obj0
= 0 ;
26253 char *kwnames
[] = {
26254 (char *) "self", NULL
26257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCharHeight",kwnames
,&obj0
)) goto fail
;
26258 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26259 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26262 result
= (int)((wxWindow
const *)arg1
)->GetCharHeight();
26264 wxPyEndAllowThreads(__tstate
);
26265 if (PyErr_Occurred()) SWIG_fail
;
26267 resultobj
= SWIG_FromInt((int)result
);
26274 static PyObject
*_wrap_Window_GetCharWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26275 PyObject
*resultobj
;
26276 wxWindow
*arg1
= (wxWindow
*) 0 ;
26278 PyObject
* obj0
= 0 ;
26279 char *kwnames
[] = {
26280 (char *) "self", NULL
26283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCharWidth",kwnames
,&obj0
)) goto fail
;
26284 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26285 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26288 result
= (int)((wxWindow
const *)arg1
)->GetCharWidth();
26290 wxPyEndAllowThreads(__tstate
);
26291 if (PyErr_Occurred()) SWIG_fail
;
26293 resultobj
= SWIG_FromInt((int)result
);
26300 static PyObject
*_wrap_Window_GetTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26301 PyObject
*resultobj
;
26302 wxWindow
*arg1
= (wxWindow
*) 0 ;
26303 wxString
*arg2
= 0 ;
26304 int *arg3
= (int *) 0 ;
26305 int *arg4
= (int *) 0 ;
26306 bool temp2
= False
;
26309 PyObject
* obj0
= 0 ;
26310 PyObject
* obj1
= 0 ;
26311 char *kwnames
[] = {
26312 (char *) "self",(char *) "string", NULL
26317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetTextExtent",kwnames
,&obj0
,&obj1
)) goto fail
;
26318 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26319 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26321 arg2
= wxString_in_helper(obj1
);
26322 if (arg2
== NULL
) SWIG_fail
;
26326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26327 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
26329 wxPyEndAllowThreads(__tstate
);
26330 if (PyErr_Occurred()) SWIG_fail
;
26332 Py_INCREF(Py_None
); resultobj
= Py_None
;
26334 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
26335 resultobj
= t_output_helper(resultobj
,o
);
26338 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
26339 resultobj
= t_output_helper(resultobj
,o
);
26355 static PyObject
*_wrap_Window_GetFullTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26356 PyObject
*resultobj
;
26357 wxWindow
*arg1
= (wxWindow
*) 0 ;
26358 wxString
*arg2
= 0 ;
26359 int *arg3
= (int *) 0 ;
26360 int *arg4
= (int *) 0 ;
26361 int *arg5
= (int *) 0 ;
26362 int *arg6
= (int *) 0 ;
26363 wxFont
*arg7
= (wxFont
*) NULL
;
26364 bool temp2
= False
;
26369 PyObject
* obj0
= 0 ;
26370 PyObject
* obj1
= 0 ;
26371 PyObject
* obj2
= 0 ;
26372 char *kwnames
[] = {
26373 (char *) "self",(char *) "string",(char *) "font", NULL
26380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26381 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26382 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26384 arg2
= wxString_in_helper(obj1
);
26385 if (arg2
== NULL
) SWIG_fail
;
26389 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg7
),SWIGTYPE_p_wxFont
,
26390 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26394 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,(wxFont
const *)arg7
);
26396 wxPyEndAllowThreads(__tstate
);
26397 if (PyErr_Occurred()) SWIG_fail
;
26399 Py_INCREF(Py_None
); resultobj
= Py_None
;
26401 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
26402 resultobj
= t_output_helper(resultobj
,o
);
26405 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
26406 resultobj
= t_output_helper(resultobj
,o
);
26409 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
26410 resultobj
= t_output_helper(resultobj
,o
);
26413 PyObject
*o
= PyInt_FromLong((long) (*arg6
));
26414 resultobj
= t_output_helper(resultobj
,o
);
26430 static PyObject
*_wrap_Window_ClientToScreenXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26431 PyObject
*resultobj
;
26432 wxWindow
*arg1
= (wxWindow
*) 0 ;
26433 int *arg2
= (int *) 0 ;
26434 int *arg3
= (int *) 0 ;
26437 PyObject
* obj0
= 0 ;
26438 PyObject
* obj1
= 0 ;
26439 PyObject
* obj2
= 0 ;
26440 char *kwnames
[] = {
26441 (char *) "self",(char *) "x",(char *) "y", NULL
26444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ClientToScreenXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26445 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26446 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26448 temp2
= PyInt_AsLong(obj1
);
26449 if (PyErr_Occurred()) SWIG_fail
;
26453 temp3
= PyInt_AsLong(obj2
);
26454 if (PyErr_Occurred()) SWIG_fail
;
26458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26459 ((wxWindow
const *)arg1
)->ClientToScreen(arg2
,arg3
);
26461 wxPyEndAllowThreads(__tstate
);
26462 if (PyErr_Occurred()) SWIG_fail
;
26464 Py_INCREF(Py_None
); resultobj
= Py_None
;
26466 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
26467 resultobj
= t_output_helper(resultobj
,o
);
26470 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
26471 resultobj
= t_output_helper(resultobj
,o
);
26479 static PyObject
*_wrap_Window_ScreenToClientXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26480 PyObject
*resultobj
;
26481 wxWindow
*arg1
= (wxWindow
*) 0 ;
26482 int *arg2
= (int *) 0 ;
26483 int *arg3
= (int *) 0 ;
26486 PyObject
* obj0
= 0 ;
26487 PyObject
* obj1
= 0 ;
26488 PyObject
* obj2
= 0 ;
26489 char *kwnames
[] = {
26490 (char *) "self",(char *) "x",(char *) "y", NULL
26493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ScreenToClientXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26494 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26495 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26497 temp2
= PyInt_AsLong(obj1
);
26498 if (PyErr_Occurred()) SWIG_fail
;
26502 temp3
= PyInt_AsLong(obj2
);
26503 if (PyErr_Occurred()) SWIG_fail
;
26507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26508 ((wxWindow
const *)arg1
)->ScreenToClient(arg2
,arg3
);
26510 wxPyEndAllowThreads(__tstate
);
26511 if (PyErr_Occurred()) SWIG_fail
;
26513 Py_INCREF(Py_None
); resultobj
= Py_None
;
26515 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
26516 resultobj
= t_output_helper(resultobj
,o
);
26519 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
26520 resultobj
= t_output_helper(resultobj
,o
);
26528 static PyObject
*_wrap_Window_ClientToScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26529 PyObject
*resultobj
;
26530 wxWindow
*arg1
= (wxWindow
*) 0 ;
26531 wxPoint
*arg2
= 0 ;
26534 PyObject
* obj0
= 0 ;
26535 PyObject
* obj1
= 0 ;
26536 char *kwnames
[] = {
26537 (char *) "self",(char *) "pt", NULL
26540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ClientToScreen",kwnames
,&obj0
,&obj1
)) goto fail
;
26541 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26542 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26545 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26549 result
= ((wxWindow
const *)arg1
)->ClientToScreen((wxPoint
const &)*arg2
);
26551 wxPyEndAllowThreads(__tstate
);
26552 if (PyErr_Occurred()) SWIG_fail
;
26555 wxPoint
* resultptr
;
26556 resultptr
= new wxPoint((wxPoint
&) result
);
26557 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
26565 static PyObject
*_wrap_Window_ScreenToClient(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26566 PyObject
*resultobj
;
26567 wxWindow
*arg1
= (wxWindow
*) 0 ;
26568 wxPoint
*arg2
= 0 ;
26571 PyObject
* obj0
= 0 ;
26572 PyObject
* obj1
= 0 ;
26573 char *kwnames
[] = {
26574 (char *) "self",(char *) "pt", NULL
26577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScreenToClient",kwnames
,&obj0
,&obj1
)) goto fail
;
26578 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26579 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26582 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26586 result
= ((wxWindow
const *)arg1
)->ScreenToClient((wxPoint
const &)*arg2
);
26588 wxPyEndAllowThreads(__tstate
);
26589 if (PyErr_Occurred()) SWIG_fail
;
26592 wxPoint
* resultptr
;
26593 resultptr
= new wxPoint((wxPoint
&) result
);
26594 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
26602 static PyObject
*_wrap_Window_HitTestXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26603 PyObject
*resultobj
;
26604 wxWindow
*arg1
= (wxWindow
*) 0 ;
26608 PyObject
* obj0
= 0 ;
26609 PyObject
* obj1
= 0 ;
26610 PyObject
* obj2
= 0 ;
26611 char *kwnames
[] = {
26612 (char *) "self",(char *) "x",(char *) "y", NULL
26615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26616 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26617 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26618 arg2
= (int) SWIG_AsInt(obj1
);
26619 if (PyErr_Occurred()) SWIG_fail
;
26620 arg3
= (int) SWIG_AsInt(obj2
);
26621 if (PyErr_Occurred()) SWIG_fail
;
26623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26624 result
= (int)((wxWindow
const *)arg1
)->HitTest(arg2
,arg3
);
26626 wxPyEndAllowThreads(__tstate
);
26627 if (PyErr_Occurred()) SWIG_fail
;
26629 resultobj
= SWIG_FromInt((int)result
);
26636 static PyObject
*_wrap_Window_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26637 PyObject
*resultobj
;
26638 wxWindow
*arg1
= (wxWindow
*) 0 ;
26639 wxPoint
*arg2
= 0 ;
26642 PyObject
* obj0
= 0 ;
26643 PyObject
* obj1
= 0 ;
26644 char *kwnames
[] = {
26645 (char *) "self",(char *) "pt", NULL
26648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
26649 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26650 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26653 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26657 result
= (int)((wxWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
26659 wxPyEndAllowThreads(__tstate
);
26660 if (PyErr_Occurred()) SWIG_fail
;
26662 resultobj
= SWIG_FromInt((int)result
);
26669 static PyObject
*_wrap_Window_GetBorder__SWIG_0(PyObject
*self
, PyObject
*args
) {
26670 PyObject
*resultobj
;
26671 wxWindow
*arg1
= (wxWindow
*) 0 ;
26674 PyObject
* obj0
= 0 ;
26675 PyObject
* obj1
= 0 ;
26677 if(!PyArg_ParseTuple(args
,(char *)"OO:Window_GetBorder",&obj0
,&obj1
)) goto fail
;
26678 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26679 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26680 arg2
= (long) SWIG_AsLong(obj1
);
26681 if (PyErr_Occurred()) SWIG_fail
;
26683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26684 result
= (int)((wxWindow
const *)arg1
)->GetBorder(arg2
);
26686 wxPyEndAllowThreads(__tstate
);
26687 if (PyErr_Occurred()) SWIG_fail
;
26689 resultobj
= SWIG_FromInt((int)result
);
26696 static PyObject
*_wrap_Window_GetBorder__SWIG_1(PyObject
*self
, PyObject
*args
) {
26697 PyObject
*resultobj
;
26698 wxWindow
*arg1
= (wxWindow
*) 0 ;
26700 PyObject
* obj0
= 0 ;
26702 if(!PyArg_ParseTuple(args
,(char *)"O:Window_GetBorder",&obj0
)) goto fail
;
26703 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26704 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26707 result
= (int)((wxWindow
const *)arg1
)->GetBorder();
26709 wxPyEndAllowThreads(__tstate
);
26710 if (PyErr_Occurred()) SWIG_fail
;
26712 resultobj
= SWIG_FromInt((int)result
);
26719 static PyObject
*_wrap_Window_GetBorder(PyObject
*self
, PyObject
*args
) {
26724 argc
= PyObject_Length(args
);
26725 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
26726 argv
[ii
] = PyTuple_GetItem(args
,ii
);
26732 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
26740 return _wrap_Window_GetBorder__SWIG_1(self
,args
);
26747 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
26755 _v
= SWIG_CheckLong(argv
[1]);
26757 return _wrap_Window_GetBorder__SWIG_0(self
,args
);
26762 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'Window_GetBorder'");
26767 static PyObject
*_wrap_Window_UpdateWindowUI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26768 PyObject
*resultobj
;
26769 wxWindow
*arg1
= (wxWindow
*) 0 ;
26770 long arg2
= (long) wxUPDATE_UI_NONE
;
26771 PyObject
* obj0
= 0 ;
26772 PyObject
* obj1
= 0 ;
26773 char *kwnames
[] = {
26774 (char *) "self",(char *) "flags", NULL
26777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_UpdateWindowUI",kwnames
,&obj0
,&obj1
)) goto fail
;
26778 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26779 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26781 arg2
= (long) SWIG_AsLong(obj1
);
26782 if (PyErr_Occurred()) SWIG_fail
;
26785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26786 (arg1
)->UpdateWindowUI(arg2
);
26788 wxPyEndAllowThreads(__tstate
);
26789 if (PyErr_Occurred()) SWIG_fail
;
26791 Py_INCREF(Py_None
); resultobj
= Py_None
;
26798 static PyObject
*_wrap_Window_PopupMenuXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26799 PyObject
*resultobj
;
26800 wxWindow
*arg1
= (wxWindow
*) 0 ;
26801 wxMenu
*arg2
= (wxMenu
*) 0 ;
26805 PyObject
* obj0
= 0 ;
26806 PyObject
* obj1
= 0 ;
26807 PyObject
* obj2
= 0 ;
26808 PyObject
* obj3
= 0 ;
26809 char *kwnames
[] = {
26810 (char *) "self",(char *) "menu",(char *) "x",(char *) "y", NULL
26813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Window_PopupMenuXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26814 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26816 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
26817 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26818 arg3
= (int) SWIG_AsInt(obj2
);
26819 if (PyErr_Occurred()) SWIG_fail
;
26820 arg4
= (int) SWIG_AsInt(obj3
);
26821 if (PyErr_Occurred()) SWIG_fail
;
26823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26824 result
= (bool)(arg1
)->PopupMenu(arg2
,arg3
,arg4
);
26826 wxPyEndAllowThreads(__tstate
);
26827 if (PyErr_Occurred()) SWIG_fail
;
26830 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26838 static PyObject
*_wrap_Window_PopupMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26839 PyObject
*resultobj
;
26840 wxWindow
*arg1
= (wxWindow
*) 0 ;
26841 wxMenu
*arg2
= (wxMenu
*) 0 ;
26842 wxPoint
*arg3
= 0 ;
26845 PyObject
* obj0
= 0 ;
26846 PyObject
* obj1
= 0 ;
26847 PyObject
* obj2
= 0 ;
26848 char *kwnames
[] = {
26849 (char *) "self",(char *) "menu",(char *) "pos", NULL
26852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_PopupMenu",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26853 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26854 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26855 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
26856 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26859 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
26862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26863 result
= (bool)(arg1
)->PopupMenu(arg2
,(wxPoint
const &)*arg3
);
26865 wxPyEndAllowThreads(__tstate
);
26866 if (PyErr_Occurred()) SWIG_fail
;
26869 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26877 static PyObject
*_wrap_Window_GetHandle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26878 PyObject
*resultobj
;
26879 wxWindow
*arg1
= (wxWindow
*) 0 ;
26881 PyObject
* obj0
= 0 ;
26882 char *kwnames
[] = {
26883 (char *) "self", NULL
26886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetHandle",kwnames
,&obj0
)) goto fail
;
26887 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26888 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26891 result
= (long)wxWindow_GetHandle(arg1
);
26893 wxPyEndAllowThreads(__tstate
);
26894 if (PyErr_Occurred()) SWIG_fail
;
26896 resultobj
= SWIG_FromLong((long)result
);
26903 static PyObject
*_wrap_Window_OnPaint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26904 PyObject
*resultobj
;
26905 wxWindow
*arg1
= (wxWindow
*) 0 ;
26906 wxPaintEvent
*arg2
= 0 ;
26907 PyObject
* obj0
= 0 ;
26908 PyObject
* obj1
= 0 ;
26909 char *kwnames
[] = {
26910 (char *) "self",(char *) "event", NULL
26913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_OnPaint",kwnames
,&obj0
,&obj1
)) goto fail
;
26914 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26915 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26916 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPaintEvent
,
26917 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26919 if (arg2
== NULL
) {
26920 PyErr_SetString(PyExc_TypeError
,"null reference");
26924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26925 (arg1
)->OnPaint(*arg2
);
26927 wxPyEndAllowThreads(__tstate
);
26928 if (PyErr_Occurred()) SWIG_fail
;
26930 Py_INCREF(Py_None
); resultobj
= Py_None
;
26937 static PyObject
*_wrap_Window_HasScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26938 PyObject
*resultobj
;
26939 wxWindow
*arg1
= (wxWindow
*) 0 ;
26942 PyObject
* obj0
= 0 ;
26943 PyObject
* obj1
= 0 ;
26944 char *kwnames
[] = {
26945 (char *) "self",(char *) "orient", NULL
26948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HasScrollbar",kwnames
,&obj0
,&obj1
)) goto fail
;
26949 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26950 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26951 arg2
= (int) SWIG_AsInt(obj1
);
26952 if (PyErr_Occurred()) SWIG_fail
;
26954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26955 result
= (bool)((wxWindow
const *)arg1
)->HasScrollbar(arg2
);
26957 wxPyEndAllowThreads(__tstate
);
26958 if (PyErr_Occurred()) SWIG_fail
;
26961 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26969 static PyObject
*_wrap_Window_SetScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26970 PyObject
*resultobj
;
26971 wxWindow
*arg1
= (wxWindow
*) 0 ;
26976 bool arg6
= (bool) True
;
26977 PyObject
* obj0
= 0 ;
26978 PyObject
* obj1
= 0 ;
26979 PyObject
* obj2
= 0 ;
26980 PyObject
* obj3
= 0 ;
26981 PyObject
* obj4
= 0 ;
26982 PyObject
* obj5
= 0 ;
26983 char *kwnames
[] = {
26984 (char *) "self",(char *) "orientation",(char *) "pos",(char *) "thumbvisible",(char *) "range",(char *) "refresh", NULL
26987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Window_SetScrollbar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
26988 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26989 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26990 arg2
= (int) SWIG_AsInt(obj1
);
26991 if (PyErr_Occurred()) SWIG_fail
;
26992 arg3
= (int) SWIG_AsInt(obj2
);
26993 if (PyErr_Occurred()) SWIG_fail
;
26994 arg4
= (int) SWIG_AsInt(obj3
);
26995 if (PyErr_Occurred()) SWIG_fail
;
26996 arg5
= (int) SWIG_AsInt(obj4
);
26997 if (PyErr_Occurred()) SWIG_fail
;
26999 arg6
= (bool) SWIG_AsBool(obj5
);
27000 if (PyErr_Occurred()) SWIG_fail
;
27003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27004 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
27006 wxPyEndAllowThreads(__tstate
);
27007 if (PyErr_Occurred()) SWIG_fail
;
27009 Py_INCREF(Py_None
); resultobj
= Py_None
;
27016 static PyObject
*_wrap_Window_SetScrollPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27017 PyObject
*resultobj
;
27018 wxWindow
*arg1
= (wxWindow
*) 0 ;
27021 bool arg4
= (bool) True
;
27022 PyObject
* obj0
= 0 ;
27023 PyObject
* obj1
= 0 ;
27024 PyObject
* obj2
= 0 ;
27025 PyObject
* obj3
= 0 ;
27026 char *kwnames
[] = {
27027 (char *) "self",(char *) "orientation",(char *) "pos",(char *) "refresh", NULL
27030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_SetScrollPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27031 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27032 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27033 arg2
= (int) SWIG_AsInt(obj1
);
27034 if (PyErr_Occurred()) SWIG_fail
;
27035 arg3
= (int) SWIG_AsInt(obj2
);
27036 if (PyErr_Occurred()) SWIG_fail
;
27038 arg4
= (bool) SWIG_AsBool(obj3
);
27039 if (PyErr_Occurred()) SWIG_fail
;
27042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27043 (arg1
)->SetScrollPos(arg2
,arg3
,arg4
);
27045 wxPyEndAllowThreads(__tstate
);
27046 if (PyErr_Occurred()) SWIG_fail
;
27048 Py_INCREF(Py_None
); resultobj
= Py_None
;
27055 static PyObject
*_wrap_Window_GetScrollPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27056 PyObject
*resultobj
;
27057 wxWindow
*arg1
= (wxWindow
*) 0 ;
27060 PyObject
* obj0
= 0 ;
27061 PyObject
* obj1
= 0 ;
27062 char *kwnames
[] = {
27063 (char *) "self",(char *) "orientation", NULL
27066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollPos",kwnames
,&obj0
,&obj1
)) goto fail
;
27067 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27068 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27069 arg2
= (int) SWIG_AsInt(obj1
);
27070 if (PyErr_Occurred()) SWIG_fail
;
27072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27073 result
= (int)((wxWindow
const *)arg1
)->GetScrollPos(arg2
);
27075 wxPyEndAllowThreads(__tstate
);
27076 if (PyErr_Occurred()) SWIG_fail
;
27078 resultobj
= SWIG_FromInt((int)result
);
27085 static PyObject
*_wrap_Window_GetScrollThumb(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27086 PyObject
*resultobj
;
27087 wxWindow
*arg1
= (wxWindow
*) 0 ;
27090 PyObject
* obj0
= 0 ;
27091 PyObject
* obj1
= 0 ;
27092 char *kwnames
[] = {
27093 (char *) "self",(char *) "orientation", NULL
27096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollThumb",kwnames
,&obj0
,&obj1
)) goto fail
;
27097 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27098 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27099 arg2
= (int) SWIG_AsInt(obj1
);
27100 if (PyErr_Occurred()) SWIG_fail
;
27102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27103 result
= (int)((wxWindow
const *)arg1
)->GetScrollThumb(arg2
);
27105 wxPyEndAllowThreads(__tstate
);
27106 if (PyErr_Occurred()) SWIG_fail
;
27108 resultobj
= SWIG_FromInt((int)result
);
27115 static PyObject
*_wrap_Window_GetScrollRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27116 PyObject
*resultobj
;
27117 wxWindow
*arg1
= (wxWindow
*) 0 ;
27120 PyObject
* obj0
= 0 ;
27121 PyObject
* obj1
= 0 ;
27122 char *kwnames
[] = {
27123 (char *) "self",(char *) "orientation", NULL
27126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollRange",kwnames
,&obj0
,&obj1
)) goto fail
;
27127 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27128 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27129 arg2
= (int) SWIG_AsInt(obj1
);
27130 if (PyErr_Occurred()) SWIG_fail
;
27132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27133 result
= (int)((wxWindow
const *)arg1
)->GetScrollRange(arg2
);
27135 wxPyEndAllowThreads(__tstate
);
27136 if (PyErr_Occurred()) SWIG_fail
;
27138 resultobj
= SWIG_FromInt((int)result
);
27145 static PyObject
*_wrap_Window_ScrollWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27146 PyObject
*resultobj
;
27147 wxWindow
*arg1
= (wxWindow
*) 0 ;
27150 wxRect
*arg4
= (wxRect
*) NULL
;
27151 PyObject
* obj0
= 0 ;
27152 PyObject
* obj1
= 0 ;
27153 PyObject
* obj2
= 0 ;
27154 PyObject
* obj3
= 0 ;
27155 char *kwnames
[] = {
27156 (char *) "self",(char *) "dx",(char *) "dy",(char *) "rect", NULL
27159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_ScrollWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27160 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27161 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27162 arg2
= (int) SWIG_AsInt(obj1
);
27163 if (PyErr_Occurred()) SWIG_fail
;
27164 arg3
= (int) SWIG_AsInt(obj2
);
27165 if (PyErr_Occurred()) SWIG_fail
;
27167 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxRect
,
27168 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27172 (arg1
)->ScrollWindow(arg2
,arg3
,(wxRect
const *)arg4
);
27174 wxPyEndAllowThreads(__tstate
);
27175 if (PyErr_Occurred()) SWIG_fail
;
27177 Py_INCREF(Py_None
); resultobj
= Py_None
;
27184 static PyObject
*_wrap_Window_ScrollLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27185 PyObject
*resultobj
;
27186 wxWindow
*arg1
= (wxWindow
*) 0 ;
27189 PyObject
* obj0
= 0 ;
27190 PyObject
* obj1
= 0 ;
27191 char *kwnames
[] = {
27192 (char *) "self",(char *) "lines", NULL
27195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScrollLines",kwnames
,&obj0
,&obj1
)) goto fail
;
27196 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27197 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27198 arg2
= (int) SWIG_AsInt(obj1
);
27199 if (PyErr_Occurred()) SWIG_fail
;
27201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27202 result
= (bool)(arg1
)->ScrollLines(arg2
);
27204 wxPyEndAllowThreads(__tstate
);
27205 if (PyErr_Occurred()) SWIG_fail
;
27208 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27216 static PyObject
*_wrap_Window_ScrollPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27217 PyObject
*resultobj
;
27218 wxWindow
*arg1
= (wxWindow
*) 0 ;
27221 PyObject
* obj0
= 0 ;
27222 PyObject
* obj1
= 0 ;
27223 char *kwnames
[] = {
27224 (char *) "self",(char *) "pages", NULL
27227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScrollPages",kwnames
,&obj0
,&obj1
)) goto fail
;
27228 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27229 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27230 arg2
= (int) SWIG_AsInt(obj1
);
27231 if (PyErr_Occurred()) SWIG_fail
;
27233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27234 result
= (bool)(arg1
)->ScrollPages(arg2
);
27236 wxPyEndAllowThreads(__tstate
);
27237 if (PyErr_Occurred()) SWIG_fail
;
27240 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27248 static PyObject
*_wrap_Window_LineUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27249 PyObject
*resultobj
;
27250 wxWindow
*arg1
= (wxWindow
*) 0 ;
27252 PyObject
* obj0
= 0 ;
27253 char *kwnames
[] = {
27254 (char *) "self", NULL
27257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_LineUp",kwnames
,&obj0
)) goto fail
;
27258 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27259 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27262 result
= (bool)(arg1
)->LineUp();
27264 wxPyEndAllowThreads(__tstate
);
27265 if (PyErr_Occurred()) SWIG_fail
;
27268 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27276 static PyObject
*_wrap_Window_LineDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27277 PyObject
*resultobj
;
27278 wxWindow
*arg1
= (wxWindow
*) 0 ;
27280 PyObject
* obj0
= 0 ;
27281 char *kwnames
[] = {
27282 (char *) "self", NULL
27285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_LineDown",kwnames
,&obj0
)) goto fail
;
27286 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27287 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27290 result
= (bool)(arg1
)->LineDown();
27292 wxPyEndAllowThreads(__tstate
);
27293 if (PyErr_Occurred()) SWIG_fail
;
27296 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27304 static PyObject
*_wrap_Window_PageUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27305 PyObject
*resultobj
;
27306 wxWindow
*arg1
= (wxWindow
*) 0 ;
27308 PyObject
* obj0
= 0 ;
27309 char *kwnames
[] = {
27310 (char *) "self", NULL
27313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PageUp",kwnames
,&obj0
)) goto fail
;
27314 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27315 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27318 result
= (bool)(arg1
)->PageUp();
27320 wxPyEndAllowThreads(__tstate
);
27321 if (PyErr_Occurred()) SWIG_fail
;
27324 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27332 static PyObject
*_wrap_Window_PageDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27333 PyObject
*resultobj
;
27334 wxWindow
*arg1
= (wxWindow
*) 0 ;
27336 PyObject
* obj0
= 0 ;
27337 char *kwnames
[] = {
27338 (char *) "self", NULL
27341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PageDown",kwnames
,&obj0
)) goto fail
;
27342 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27343 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27346 result
= (bool)(arg1
)->PageDown();
27348 wxPyEndAllowThreads(__tstate
);
27349 if (PyErr_Occurred()) SWIG_fail
;
27352 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27360 static PyObject
*_wrap_Window_SetHelpText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27361 PyObject
*resultobj
;
27362 wxWindow
*arg1
= (wxWindow
*) 0 ;
27363 wxString
*arg2
= 0 ;
27364 bool temp2
= False
;
27365 PyObject
* obj0
= 0 ;
27366 PyObject
* obj1
= 0 ;
27367 char *kwnames
[] = {
27368 (char *) "self",(char *) "text", NULL
27371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpText",kwnames
,&obj0
,&obj1
)) goto fail
;
27372 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27373 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27375 arg2
= wxString_in_helper(obj1
);
27376 if (arg2
== NULL
) SWIG_fail
;
27380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27381 (arg1
)->SetHelpText((wxString
const &)*arg2
);
27383 wxPyEndAllowThreads(__tstate
);
27384 if (PyErr_Occurred()) SWIG_fail
;
27386 Py_INCREF(Py_None
); resultobj
= Py_None
;
27401 static PyObject
*_wrap_Window_SetHelpTextForId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27402 PyObject
*resultobj
;
27403 wxWindow
*arg1
= (wxWindow
*) 0 ;
27404 wxString
*arg2
= 0 ;
27405 bool temp2
= False
;
27406 PyObject
* obj0
= 0 ;
27407 PyObject
* obj1
= 0 ;
27408 char *kwnames
[] = {
27409 (char *) "self",(char *) "text", NULL
27412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpTextForId",kwnames
,&obj0
,&obj1
)) goto fail
;
27413 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27414 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27416 arg2
= wxString_in_helper(obj1
);
27417 if (arg2
== NULL
) SWIG_fail
;
27421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27422 (arg1
)->SetHelpTextForId((wxString
const &)*arg2
);
27424 wxPyEndAllowThreads(__tstate
);
27425 if (PyErr_Occurred()) SWIG_fail
;
27427 Py_INCREF(Py_None
); resultobj
= Py_None
;
27442 static PyObject
*_wrap_Window_GetHelpText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27443 PyObject
*resultobj
;
27444 wxWindow
*arg1
= (wxWindow
*) 0 ;
27446 PyObject
* obj0
= 0 ;
27447 char *kwnames
[] = {
27448 (char *) "self", NULL
27451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetHelpText",kwnames
,&obj0
)) goto fail
;
27452 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27453 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27456 result
= ((wxWindow
const *)arg1
)->GetHelpText();
27458 wxPyEndAllowThreads(__tstate
);
27459 if (PyErr_Occurred()) SWIG_fail
;
27463 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27465 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27474 static PyObject
*_wrap_Window_SetToolTipString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27475 PyObject
*resultobj
;
27476 wxWindow
*arg1
= (wxWindow
*) 0 ;
27477 wxString
*arg2
= 0 ;
27478 bool temp2
= False
;
27479 PyObject
* obj0
= 0 ;
27480 PyObject
* obj1
= 0 ;
27481 char *kwnames
[] = {
27482 (char *) "self",(char *) "tip", NULL
27485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTipString",kwnames
,&obj0
,&obj1
)) goto fail
;
27486 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27487 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27489 arg2
= wxString_in_helper(obj1
);
27490 if (arg2
== NULL
) SWIG_fail
;
27494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27495 (arg1
)->SetToolTip((wxString
const &)*arg2
);
27497 wxPyEndAllowThreads(__tstate
);
27498 if (PyErr_Occurred()) SWIG_fail
;
27500 Py_INCREF(Py_None
); resultobj
= Py_None
;
27515 static PyObject
*_wrap_Window_SetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27516 PyObject
*resultobj
;
27517 wxWindow
*arg1
= (wxWindow
*) 0 ;
27518 wxToolTip
*arg2
= (wxToolTip
*) 0 ;
27519 PyObject
* obj0
= 0 ;
27520 PyObject
* obj1
= 0 ;
27521 char *kwnames
[] = {
27522 (char *) "self",(char *) "tip", NULL
27525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTip",kwnames
,&obj0
,&obj1
)) goto fail
;
27526 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27527 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27528 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolTip
,
27529 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27532 (arg1
)->SetToolTip(arg2
);
27534 wxPyEndAllowThreads(__tstate
);
27535 if (PyErr_Occurred()) SWIG_fail
;
27537 Py_INCREF(Py_None
); resultobj
= Py_None
;
27544 static PyObject
*_wrap_Window_GetToolTip(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_GetToolTip",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
= (wxToolTip
*)((wxWindow
const *)arg1
)->GetToolTip();
27560 wxPyEndAllowThreads(__tstate
);
27561 if (PyErr_Occurred()) SWIG_fail
;
27564 resultobj
= wxPyMake_wxObject(result
);
27572 static PyObject
*_wrap_Window_SetDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27573 PyObject
*resultobj
;
27574 wxWindow
*arg1
= (wxWindow
*) 0 ;
27575 wxPyDropTarget
*arg2
= (wxPyDropTarget
*) 0 ;
27576 PyObject
* obj0
= 0 ;
27577 PyObject
* obj1
= 0 ;
27578 char *kwnames
[] = {
27579 (char *) "self",(char *) "dropTarget", NULL
27582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDropTarget",kwnames
,&obj0
,&obj1
)) goto fail
;
27583 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27584 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27585 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyDropTarget
,
27586 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
27588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27589 (arg1
)->SetDropTarget(arg2
);
27591 wxPyEndAllowThreads(__tstate
);
27592 if (PyErr_Occurred()) SWIG_fail
;
27594 Py_INCREF(Py_None
); resultobj
= Py_None
;
27601 static PyObject
*_wrap_Window_GetDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27602 PyObject
*resultobj
;
27603 wxWindow
*arg1
= (wxWindow
*) 0 ;
27604 wxPyDropTarget
*result
;
27605 PyObject
* obj0
= 0 ;
27606 char *kwnames
[] = {
27607 (char *) "self", NULL
27610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDropTarget",kwnames
,&obj0
)) goto fail
;
27611 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27612 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27615 result
= (wxPyDropTarget
*)((wxWindow
const *)arg1
)->GetDropTarget();
27617 wxPyEndAllowThreads(__tstate
);
27618 if (PyErr_Occurred()) SWIG_fail
;
27620 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropTarget
, 0);
27627 static PyObject
*_wrap_Window_DragAcceptFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27628 PyObject
*resultobj
;
27629 wxWindow
*arg1
= (wxWindow
*) 0 ;
27631 PyObject
* obj0
= 0 ;
27632 PyObject
* obj1
= 0 ;
27633 char *kwnames
[] = {
27634 (char *) "self",(char *) "accept", NULL
27637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DragAcceptFiles",kwnames
,&obj0
,&obj1
)) goto fail
;
27638 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27639 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27640 arg2
= (bool) SWIG_AsBool(obj1
);
27641 if (PyErr_Occurred()) SWIG_fail
;
27643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27644 (arg1
)->DragAcceptFiles(arg2
);
27646 wxPyEndAllowThreads(__tstate
);
27647 if (PyErr_Occurred()) SWIG_fail
;
27649 Py_INCREF(Py_None
); resultobj
= Py_None
;
27656 static PyObject
*_wrap_Window_SetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27657 PyObject
*resultobj
;
27658 wxWindow
*arg1
= (wxWindow
*) 0 ;
27659 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
27660 PyObject
* obj0
= 0 ;
27661 PyObject
* obj1
= 0 ;
27662 char *kwnames
[] = {
27663 (char *) "self",(char *) "constraints", NULL
27666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetConstraints",kwnames
,&obj0
,&obj1
)) goto fail
;
27667 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27668 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27669 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxLayoutConstraints
,
27670 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27673 (arg1
)->SetConstraints(arg2
);
27675 wxPyEndAllowThreads(__tstate
);
27676 if (PyErr_Occurred()) SWIG_fail
;
27678 Py_INCREF(Py_None
); resultobj
= Py_None
;
27685 static PyObject
*_wrap_Window_GetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27686 PyObject
*resultobj
;
27687 wxWindow
*arg1
= (wxWindow
*) 0 ;
27688 wxLayoutConstraints
*result
;
27689 PyObject
* obj0
= 0 ;
27690 char *kwnames
[] = {
27691 (char *) "self", NULL
27694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetConstraints",kwnames
,&obj0
)) goto fail
;
27695 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27696 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27699 result
= (wxLayoutConstraints
*)((wxWindow
const *)arg1
)->GetConstraints();
27701 wxPyEndAllowThreads(__tstate
);
27702 if (PyErr_Occurred()) SWIG_fail
;
27704 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutConstraints
, 0);
27711 static PyObject
*_wrap_Window_SetAutoLayout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27712 PyObject
*resultobj
;
27713 wxWindow
*arg1
= (wxWindow
*) 0 ;
27715 PyObject
* obj0
= 0 ;
27716 PyObject
* obj1
= 0 ;
27717 char *kwnames
[] = {
27718 (char *) "self",(char *) "autoLayout", NULL
27721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAutoLayout",kwnames
,&obj0
,&obj1
)) goto fail
;
27722 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27723 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27724 arg2
= (bool) SWIG_AsBool(obj1
);
27725 if (PyErr_Occurred()) SWIG_fail
;
27727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27728 (arg1
)->SetAutoLayout(arg2
);
27730 wxPyEndAllowThreads(__tstate
);
27731 if (PyErr_Occurred()) SWIG_fail
;
27733 Py_INCREF(Py_None
); resultobj
= Py_None
;
27740 static PyObject
*_wrap_Window_GetAutoLayout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27741 PyObject
*resultobj
;
27742 wxWindow
*arg1
= (wxWindow
*) 0 ;
27744 PyObject
* obj0
= 0 ;
27745 char *kwnames
[] = {
27746 (char *) "self", NULL
27749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAutoLayout",kwnames
,&obj0
)) goto fail
;
27750 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27751 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27754 result
= (bool)((wxWindow
const *)arg1
)->GetAutoLayout();
27756 wxPyEndAllowThreads(__tstate
);
27757 if (PyErr_Occurred()) SWIG_fail
;
27760 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27768 static PyObject
*_wrap_Window_Layout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27769 PyObject
*resultobj
;
27770 wxWindow
*arg1
= (wxWindow
*) 0 ;
27772 PyObject
* obj0
= 0 ;
27773 char *kwnames
[] = {
27774 (char *) "self", NULL
27777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Layout",kwnames
,&obj0
)) goto fail
;
27778 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27779 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27782 result
= (bool)(arg1
)->Layout();
27784 wxPyEndAllowThreads(__tstate
);
27785 if (PyErr_Occurred()) SWIG_fail
;
27788 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27796 static PyObject
*_wrap_Window_SetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27797 PyObject
*resultobj
;
27798 wxWindow
*arg1
= (wxWindow
*) 0 ;
27799 wxSizer
*arg2
= (wxSizer
*) 0 ;
27800 bool arg3
= (bool) True
;
27801 PyObject
* obj0
= 0 ;
27802 PyObject
* obj1
= 0 ;
27803 PyObject
* obj2
= 0 ;
27804 char *kwnames
[] = {
27805 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
27808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizer",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27809 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27810 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27811 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
27812 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27814 arg3
= (bool) SWIG_AsBool(obj2
);
27815 if (PyErr_Occurred()) SWIG_fail
;
27818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27819 (arg1
)->SetSizer(arg2
,arg3
);
27821 wxPyEndAllowThreads(__tstate
);
27822 if (PyErr_Occurred()) SWIG_fail
;
27824 Py_INCREF(Py_None
); resultobj
= Py_None
;
27831 static PyObject
*_wrap_Window_SetSizerAndFit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27832 PyObject
*resultobj
;
27833 wxWindow
*arg1
= (wxWindow
*) 0 ;
27834 wxSizer
*arg2
= (wxSizer
*) 0 ;
27835 bool arg3
= (bool) True
;
27836 PyObject
* obj0
= 0 ;
27837 PyObject
* obj1
= 0 ;
27838 PyObject
* obj2
= 0 ;
27839 char *kwnames
[] = {
27840 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
27843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizerAndFit",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27844 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27845 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27846 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
27847 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27849 arg3
= (bool) SWIG_AsBool(obj2
);
27850 if (PyErr_Occurred()) SWIG_fail
;
27853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27854 (arg1
)->SetSizerAndFit(arg2
,arg3
);
27856 wxPyEndAllowThreads(__tstate
);
27857 if (PyErr_Occurred()) SWIG_fail
;
27859 Py_INCREF(Py_None
); resultobj
= Py_None
;
27866 static PyObject
*_wrap_Window_GetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27867 PyObject
*resultobj
;
27868 wxWindow
*arg1
= (wxWindow
*) 0 ;
27870 PyObject
* obj0
= 0 ;
27871 char *kwnames
[] = {
27872 (char *) "self", NULL
27875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSizer",kwnames
,&obj0
)) goto fail
;
27876 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27877 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27880 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetSizer();
27882 wxPyEndAllowThreads(__tstate
);
27883 if (PyErr_Occurred()) SWIG_fail
;
27886 resultobj
= wxPyMake_wxSizer(result
);
27894 static PyObject
*_wrap_Window_SetContainingSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27895 PyObject
*resultobj
;
27896 wxWindow
*arg1
= (wxWindow
*) 0 ;
27897 wxSizer
*arg2
= (wxSizer
*) 0 ;
27898 PyObject
* obj0
= 0 ;
27899 PyObject
* obj1
= 0 ;
27900 char *kwnames
[] = {
27901 (char *) "self",(char *) "sizer", NULL
27904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetContainingSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
27905 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27906 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27907 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
27908 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27911 (arg1
)->SetContainingSizer(arg2
);
27913 wxPyEndAllowThreads(__tstate
);
27914 if (PyErr_Occurred()) SWIG_fail
;
27916 Py_INCREF(Py_None
); resultobj
= Py_None
;
27923 static PyObject
*_wrap_Window_GetContainingSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27924 PyObject
*resultobj
;
27925 wxWindow
*arg1
= (wxWindow
*) 0 ;
27927 PyObject
* obj0
= 0 ;
27928 char *kwnames
[] = {
27929 (char *) "self", NULL
27932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetContainingSizer",kwnames
,&obj0
)) goto fail
;
27933 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27934 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27937 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetContainingSizer();
27939 wxPyEndAllowThreads(__tstate
);
27940 if (PyErr_Occurred()) SWIG_fail
;
27943 resultobj
= wxPyMake_wxSizer(result
);
27951 static PyObject
*_wrap_Window_InheritAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27952 PyObject
*resultobj
;
27953 wxWindow
*arg1
= (wxWindow
*) 0 ;
27954 PyObject
* obj0
= 0 ;
27955 char *kwnames
[] = {
27956 (char *) "self", NULL
27959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InheritAttributes",kwnames
,&obj0
)) goto fail
;
27960 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27961 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27964 (arg1
)->InheritAttributes();
27966 wxPyEndAllowThreads(__tstate
);
27967 if (PyErr_Occurred()) SWIG_fail
;
27969 Py_INCREF(Py_None
); resultobj
= Py_None
;
27976 static PyObject
*_wrap_Window_ShouldInheritColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27977 PyObject
*resultobj
;
27978 wxWindow
*arg1
= (wxWindow
*) 0 ;
27980 PyObject
* obj0
= 0 ;
27981 char *kwnames
[] = {
27982 (char *) "self", NULL
27985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
27986 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27987 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27990 result
= (bool)((wxWindow
const *)arg1
)->ShouldInheritColours();
27992 wxPyEndAllowThreads(__tstate
);
27993 if (PyErr_Occurred()) SWIG_fail
;
27996 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28004 static PyObject
* Window_swigregister(PyObject
*self
, PyObject
*args
) {
28006 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28007 SWIG_TypeClientData(SWIGTYPE_p_wxWindow
, obj
);
28009 return Py_BuildValue((char *)"");
28011 static PyObject
*_wrap_FindWindowById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28012 PyObject
*resultobj
;
28014 wxWindow
*arg2
= (wxWindow
*) NULL
;
28016 PyObject
* obj0
= 0 ;
28017 PyObject
* obj1
= 0 ;
28018 char *kwnames
[] = {
28019 (char *) "id",(char *) "parent", NULL
28022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowById",kwnames
,&obj0
,&obj1
)) goto fail
;
28023 arg1
= (long) SWIG_AsLong(obj0
);
28024 if (PyErr_Occurred()) SWIG_fail
;
28026 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28027 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28031 result
= (wxWindow
*)wxFindWindowById(arg1
,(wxWindow
const *)arg2
);
28033 wxPyEndAllowThreads(__tstate
);
28034 if (PyErr_Occurred()) SWIG_fail
;
28037 resultobj
= wxPyMake_wxObject(result
);
28045 static PyObject
*_wrap_FindWindowByName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28046 PyObject
*resultobj
;
28047 wxString
*arg1
= 0 ;
28048 wxWindow
*arg2
= (wxWindow
*) NULL
;
28050 bool temp1
= False
;
28051 PyObject
* obj0
= 0 ;
28052 PyObject
* obj1
= 0 ;
28053 char *kwnames
[] = {
28054 (char *) "name",(char *) "parent", NULL
28057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByName",kwnames
,&obj0
,&obj1
)) goto fail
;
28059 arg1
= wxString_in_helper(obj0
);
28060 if (arg1
== NULL
) SWIG_fail
;
28064 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28065 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28069 result
= (wxWindow
*)wxFindWindowByName((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
28071 wxPyEndAllowThreads(__tstate
);
28072 if (PyErr_Occurred()) SWIG_fail
;
28075 resultobj
= wxPyMake_wxObject(result
);
28091 static PyObject
*_wrap_FindWindowByLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28092 PyObject
*resultobj
;
28093 wxString
*arg1
= 0 ;
28094 wxWindow
*arg2
= (wxWindow
*) NULL
;
28096 bool temp1
= False
;
28097 PyObject
* obj0
= 0 ;
28098 PyObject
* obj1
= 0 ;
28099 char *kwnames
[] = {
28100 (char *) "label",(char *) "parent", NULL
28103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
28105 arg1
= wxString_in_helper(obj0
);
28106 if (arg1
== NULL
) SWIG_fail
;
28110 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28111 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28115 result
= (wxWindow
*)wxFindWindowByLabel((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
28117 wxPyEndAllowThreads(__tstate
);
28118 if (PyErr_Occurred()) SWIG_fail
;
28121 resultobj
= wxPyMake_wxObject(result
);
28137 static PyObject
*_wrap_Window_FromHWND(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28138 PyObject
*resultobj
;
28139 wxWindow
*arg1
= (wxWindow
*) 0 ;
28140 unsigned long arg2
;
28142 PyObject
* obj0
= 0 ;
28143 PyObject
* obj1
= 0 ;
28144 char *kwnames
[] = {
28145 (char *) "parent",(char *) "_hWnd", NULL
28148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FromHWND",kwnames
,&obj0
,&obj1
)) goto fail
;
28149 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28150 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28151 arg2
= (unsigned long) SWIG_AsUnsignedLong(obj1
);
28152 if (PyErr_Occurred()) SWIG_fail
;
28154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28155 result
= (wxWindow
*)wxWindow_FromHWND(arg1
,arg2
);
28157 wxPyEndAllowThreads(__tstate
);
28158 if (PyErr_Occurred()) SWIG_fail
;
28161 resultobj
= wxPyMake_wxObject(result
);
28169 static PyObject
*_wrap_new_Validator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28170 PyObject
*resultobj
;
28171 wxValidator
*result
;
28172 char *kwnames
[] = {
28176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Validator",kwnames
)) goto fail
;
28178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28179 result
= (wxValidator
*)new wxValidator();
28181 wxPyEndAllowThreads(__tstate
);
28182 if (PyErr_Occurred()) SWIG_fail
;
28185 resultobj
= wxPyMake_wxObject(result
);
28193 static PyObject
*_wrap_Validator_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28194 PyObject
*resultobj
;
28195 wxValidator
*arg1
= (wxValidator
*) 0 ;
28196 wxValidator
*result
;
28197 PyObject
* obj0
= 0 ;
28198 char *kwnames
[] = {
28199 (char *) "self", NULL
28202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_Clone",kwnames
,&obj0
)) goto fail
;
28203 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
28204 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28207 result
= (wxValidator
*)(arg1
)->Clone();
28209 wxPyEndAllowThreads(__tstate
);
28210 if (PyErr_Occurred()) SWIG_fail
;
28213 resultobj
= wxPyMake_wxObject(result
);
28221 static PyObject
*_wrap_Validator_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28222 PyObject
*resultobj
;
28223 wxValidator
*arg1
= (wxValidator
*) 0 ;
28224 wxWindow
*arg2
= (wxWindow
*) 0 ;
28226 PyObject
* obj0
= 0 ;
28227 PyObject
* obj1
= 0 ;
28228 char *kwnames
[] = {
28229 (char *) "self",(char *) "parent", NULL
28232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_Validate",kwnames
,&obj0
,&obj1
)) goto fail
;
28233 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
28234 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28235 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28236 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28239 result
= (bool)(arg1
)->Validate(arg2
);
28241 wxPyEndAllowThreads(__tstate
);
28242 if (PyErr_Occurred()) SWIG_fail
;
28245 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28253 static PyObject
*_wrap_Validator_TransferToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28254 PyObject
*resultobj
;
28255 wxValidator
*arg1
= (wxValidator
*) 0 ;
28257 PyObject
* obj0
= 0 ;
28258 char *kwnames
[] = {
28259 (char *) "self", NULL
28262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_TransferToWindow",kwnames
,&obj0
)) goto fail
;
28263 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
28264 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28267 result
= (bool)(arg1
)->TransferToWindow();
28269 wxPyEndAllowThreads(__tstate
);
28270 if (PyErr_Occurred()) SWIG_fail
;
28273 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28281 static PyObject
*_wrap_Validator_TransferFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28282 PyObject
*resultobj
;
28283 wxValidator
*arg1
= (wxValidator
*) 0 ;
28285 PyObject
* obj0
= 0 ;
28286 char *kwnames
[] = {
28287 (char *) "self", NULL
28290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_TransferFromWindow",kwnames
,&obj0
)) goto fail
;
28291 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
28292 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28295 result
= (bool)(arg1
)->TransferFromWindow();
28297 wxPyEndAllowThreads(__tstate
);
28298 if (PyErr_Occurred()) SWIG_fail
;
28301 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28309 static PyObject
*_wrap_Validator_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28310 PyObject
*resultobj
;
28311 wxValidator
*arg1
= (wxValidator
*) 0 ;
28313 PyObject
* obj0
= 0 ;
28314 char *kwnames
[] = {
28315 (char *) "self", NULL
28318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_GetWindow",kwnames
,&obj0
)) goto fail
;
28319 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
28320 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28323 result
= (wxWindow
*)(arg1
)->GetWindow();
28325 wxPyEndAllowThreads(__tstate
);
28326 if (PyErr_Occurred()) SWIG_fail
;
28329 resultobj
= wxPyMake_wxObject(result
);
28337 static PyObject
*_wrap_Validator_SetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28338 PyObject
*resultobj
;
28339 wxValidator
*arg1
= (wxValidator
*) 0 ;
28340 wxWindow
*arg2
= (wxWindow
*) 0 ;
28341 PyObject
* obj0
= 0 ;
28342 PyObject
* obj1
= 0 ;
28343 char *kwnames
[] = {
28344 (char *) "self",(char *) "window", NULL
28347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
28348 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
28349 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28350 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28351 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28354 (arg1
)->SetWindow(arg2
);
28356 wxPyEndAllowThreads(__tstate
);
28357 if (PyErr_Occurred()) SWIG_fail
;
28359 Py_INCREF(Py_None
); resultobj
= Py_None
;
28366 static PyObject
*_wrap_Validator_IsSilent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28367 PyObject
*resultobj
;
28369 char *kwnames
[] = {
28373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Validator_IsSilent",kwnames
)) goto fail
;
28375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28376 result
= (bool)wxValidator::IsSilent();
28378 wxPyEndAllowThreads(__tstate
);
28379 if (PyErr_Occurred()) SWIG_fail
;
28382 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28390 static PyObject
*_wrap_Validator_SetBellOnError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28391 PyObject
*resultobj
;
28392 int arg1
= (int) True
;
28393 PyObject
* obj0
= 0 ;
28394 char *kwnames
[] = {
28395 (char *) "doIt", NULL
28398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Validator_SetBellOnError",kwnames
,&obj0
)) goto fail
;
28400 arg1
= (int) SWIG_AsInt(obj0
);
28401 if (PyErr_Occurred()) SWIG_fail
;
28404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28405 wxValidator::SetBellOnError(arg1
);
28407 wxPyEndAllowThreads(__tstate
);
28408 if (PyErr_Occurred()) SWIG_fail
;
28410 Py_INCREF(Py_None
); resultobj
= Py_None
;
28417 static PyObject
* Validator_swigregister(PyObject
*self
, PyObject
*args
) {
28419 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28420 SWIG_TypeClientData(SWIGTYPE_p_wxValidator
, obj
);
28422 return Py_BuildValue((char *)"");
28424 static PyObject
*_wrap_new_PyValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28425 PyObject
*resultobj
;
28426 wxPyValidator
*result
;
28427 char *kwnames
[] = {
28431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyValidator",kwnames
)) goto fail
;
28433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28434 result
= (wxPyValidator
*)new wxPyValidator();
28436 wxPyEndAllowThreads(__tstate
);
28437 if (PyErr_Occurred()) SWIG_fail
;
28439 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyValidator
, 1);
28446 static PyObject
*_wrap_PyValidator__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28447 PyObject
*resultobj
;
28448 wxPyValidator
*arg1
= (wxPyValidator
*) 0 ;
28449 PyObject
*arg2
= (PyObject
*) 0 ;
28450 PyObject
*arg3
= (PyObject
*) 0 ;
28451 int arg4
= (int) True
;
28452 PyObject
* obj0
= 0 ;
28453 PyObject
* obj1
= 0 ;
28454 PyObject
* obj2
= 0 ;
28455 PyObject
* obj3
= 0 ;
28456 char *kwnames
[] = {
28457 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
28460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PyValidator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28461 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyValidator
,
28462 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28466 arg4
= (int) SWIG_AsInt(obj3
);
28467 if (PyErr_Occurred()) SWIG_fail
;
28470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28471 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
28473 wxPyEndAllowThreads(__tstate
);
28474 if (PyErr_Occurred()) SWIG_fail
;
28476 Py_INCREF(Py_None
); resultobj
= Py_None
;
28483 static PyObject
* PyValidator_swigregister(PyObject
*self
, PyObject
*args
) {
28485 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28486 SWIG_TypeClientData(SWIGTYPE_p_wxPyValidator
, obj
);
28488 return Py_BuildValue((char *)"");
28490 static int _wrap_DefaultValidator_set(PyObject
*_val
) {
28491 PyErr_SetString(PyExc_TypeError
,"Variable DefaultValidator is read-only.");
28496 static PyObject
*_wrap_DefaultValidator_get() {
28499 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultValidator
), SWIGTYPE_p_wxValidator
, 0);
28504 static PyObject
*_wrap_new_Menu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28505 PyObject
*resultobj
;
28506 wxString
const &arg1_defvalue
= wxPyEmptyString
;
28507 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
28508 long arg2
= (long) 0 ;
28510 bool temp1
= False
;
28511 PyObject
* obj0
= 0 ;
28512 PyObject
* obj1
= 0 ;
28513 char *kwnames
[] = {
28514 (char *) "title",(char *) "style", NULL
28517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Menu",kwnames
,&obj0
,&obj1
)) goto fail
;
28520 arg1
= wxString_in_helper(obj0
);
28521 if (arg1
== NULL
) SWIG_fail
;
28526 arg2
= (long) SWIG_AsLong(obj1
);
28527 if (PyErr_Occurred()) SWIG_fail
;
28530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28531 result
= (wxMenu
*)new wxMenu((wxString
const &)*arg1
,arg2
);
28533 wxPyEndAllowThreads(__tstate
);
28534 if (PyErr_Occurred()) SWIG_fail
;
28537 resultobj
= wxPyMake_wxObject(result
);
28553 static PyObject
*_wrap_Menu_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28554 PyObject
*resultobj
;
28555 wxMenu
*arg1
= (wxMenu
*) 0 ;
28557 wxString
*arg3
= 0 ;
28558 wxString
const &arg4_defvalue
= wxPyEmptyString
;
28559 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
28560 int arg5
= (int) wxITEM_NORMAL
;
28561 wxMenuItem
*result
;
28562 bool temp3
= False
;
28563 bool temp4
= False
;
28564 PyObject
* obj0
= 0 ;
28565 PyObject
* obj1
= 0 ;
28566 PyObject
* obj2
= 0 ;
28567 PyObject
* obj3
= 0 ;
28568 PyObject
* obj4
= 0 ;
28569 char *kwnames
[] = {
28570 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
28573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Menu_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
28574 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28575 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28576 arg2
= (int) SWIG_AsInt(obj1
);
28577 if (PyErr_Occurred()) SWIG_fail
;
28579 arg3
= wxString_in_helper(obj2
);
28580 if (arg3
== NULL
) SWIG_fail
;
28585 arg4
= wxString_in_helper(obj3
);
28586 if (arg4
== NULL
) SWIG_fail
;
28591 arg5
= (wxItemKind
) SWIG_AsInt(obj4
);
28592 if (PyErr_Occurred()) SWIG_fail
;
28595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28596 result
= (wxMenuItem
*)(arg1
)->Append(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
);
28598 wxPyEndAllowThreads(__tstate
);
28599 if (PyErr_Occurred()) SWIG_fail
;
28602 resultobj
= wxPyMake_wxObject(result
);
28626 static PyObject
*_wrap_Menu_AppendSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28627 PyObject
*resultobj
;
28628 wxMenu
*arg1
= (wxMenu
*) 0 ;
28629 wxMenuItem
*result
;
28630 PyObject
* obj0
= 0 ;
28631 char *kwnames
[] = {
28632 (char *) "self", NULL
28635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_AppendSeparator",kwnames
,&obj0
)) goto fail
;
28636 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28637 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28640 result
= (wxMenuItem
*)(arg1
)->AppendSeparator();
28642 wxPyEndAllowThreads(__tstate
);
28643 if (PyErr_Occurred()) SWIG_fail
;
28646 resultobj
= wxPyMake_wxObject(result
);
28654 static PyObject
*_wrap_Menu_AppendCheckItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28655 PyObject
*resultobj
;
28656 wxMenu
*arg1
= (wxMenu
*) 0 ;
28658 wxString
*arg3
= 0 ;
28659 wxString
const &arg4_defvalue
= wxPyEmptyString
;
28660 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
28661 wxMenuItem
*result
;
28662 bool temp3
= False
;
28663 bool temp4
= False
;
28664 PyObject
* obj0
= 0 ;
28665 PyObject
* obj1
= 0 ;
28666 PyObject
* obj2
= 0 ;
28667 PyObject
* obj3
= 0 ;
28668 char *kwnames
[] = {
28669 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
28672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_AppendCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28673 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28674 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28675 arg2
= (int) SWIG_AsInt(obj1
);
28676 if (PyErr_Occurred()) SWIG_fail
;
28678 arg3
= wxString_in_helper(obj2
);
28679 if (arg3
== NULL
) SWIG_fail
;
28684 arg4
= wxString_in_helper(obj3
);
28685 if (arg4
== NULL
) SWIG_fail
;
28690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28691 result
= (wxMenuItem
*)(arg1
)->AppendCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
28693 wxPyEndAllowThreads(__tstate
);
28694 if (PyErr_Occurred()) SWIG_fail
;
28697 resultobj
= wxPyMake_wxObject(result
);
28721 static PyObject
*_wrap_Menu_AppendRadioItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28722 PyObject
*resultobj
;
28723 wxMenu
*arg1
= (wxMenu
*) 0 ;
28725 wxString
*arg3
= 0 ;
28726 wxString
const &arg4_defvalue
= wxPyEmptyString
;
28727 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
28728 wxMenuItem
*result
;
28729 bool temp3
= False
;
28730 bool temp4
= False
;
28731 PyObject
* obj0
= 0 ;
28732 PyObject
* obj1
= 0 ;
28733 PyObject
* obj2
= 0 ;
28734 PyObject
* obj3
= 0 ;
28735 char *kwnames
[] = {
28736 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
28739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_AppendRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28740 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28741 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28742 arg2
= (int) SWIG_AsInt(obj1
);
28743 if (PyErr_Occurred()) SWIG_fail
;
28745 arg3
= wxString_in_helper(obj2
);
28746 if (arg3
== NULL
) SWIG_fail
;
28751 arg4
= wxString_in_helper(obj3
);
28752 if (arg4
== NULL
) SWIG_fail
;
28757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28758 result
= (wxMenuItem
*)(arg1
)->AppendRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
28760 wxPyEndAllowThreads(__tstate
);
28761 if (PyErr_Occurred()) SWIG_fail
;
28764 resultobj
= wxPyMake_wxObject(result
);
28788 static PyObject
*_wrap_Menu_AppendMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28789 PyObject
*resultobj
;
28790 wxMenu
*arg1
= (wxMenu
*) 0 ;
28792 wxString
*arg3
= 0 ;
28793 wxMenu
*arg4
= (wxMenu
*) 0 ;
28794 wxString
const &arg5_defvalue
= wxPyEmptyString
;
28795 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
28796 wxMenuItem
*result
;
28797 bool temp3
= False
;
28798 bool temp5
= False
;
28799 PyObject
* obj0
= 0 ;
28800 PyObject
* obj1
= 0 ;
28801 PyObject
* obj2
= 0 ;
28802 PyObject
* obj3
= 0 ;
28803 PyObject
* obj4
= 0 ;
28804 char *kwnames
[] = {
28805 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
28808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_AppendMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
28809 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28810 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28811 arg2
= (int) SWIG_AsInt(obj1
);
28812 if (PyErr_Occurred()) SWIG_fail
;
28814 arg3
= wxString_in_helper(obj2
);
28815 if (arg3
== NULL
) SWIG_fail
;
28818 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxMenu
,
28819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28822 arg5
= wxString_in_helper(obj4
);
28823 if (arg5
== NULL
) SWIG_fail
;
28828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28829 result
= (wxMenuItem
*)(arg1
)->Append(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
28831 wxPyEndAllowThreads(__tstate
);
28832 if (PyErr_Occurred()) SWIG_fail
;
28835 resultobj
= wxPyMake_wxObject(result
);
28859 static PyObject
*_wrap_Menu_AppendItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28860 PyObject
*resultobj
;
28861 wxMenu
*arg1
= (wxMenu
*) 0 ;
28862 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
28863 wxMenuItem
*result
;
28864 PyObject
* obj0
= 0 ;
28865 PyObject
* obj1
= 0 ;
28866 char *kwnames
[] = {
28867 (char *) "self",(char *) "item", NULL
28870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_AppendItem",kwnames
,&obj0
,&obj1
)) goto fail
;
28871 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28872 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28873 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
28874 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28877 result
= (wxMenuItem
*)(arg1
)->Append(arg2
);
28879 wxPyEndAllowThreads(__tstate
);
28880 if (PyErr_Occurred()) SWIG_fail
;
28883 resultobj
= wxPyMake_wxObject(result
);
28891 static PyObject
*_wrap_Menu_Break(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28892 PyObject
*resultobj
;
28893 wxMenu
*arg1
= (wxMenu
*) 0 ;
28894 PyObject
* obj0
= 0 ;
28895 char *kwnames
[] = {
28896 (char *) "self", NULL
28899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Break",kwnames
,&obj0
)) goto fail
;
28900 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28901 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28906 wxPyEndAllowThreads(__tstate
);
28907 if (PyErr_Occurred()) SWIG_fail
;
28909 Py_INCREF(Py_None
); resultobj
= Py_None
;
28916 static PyObject
*_wrap_Menu_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28917 PyObject
*resultobj
;
28918 wxMenu
*arg1
= (wxMenu
*) 0 ;
28920 wxMenuItem
*arg3
= (wxMenuItem
*) 0 ;
28921 wxMenuItem
*result
;
28922 PyObject
* obj0
= 0 ;
28923 PyObject
* obj1
= 0 ;
28924 PyObject
* obj2
= 0 ;
28925 char *kwnames
[] = {
28926 (char *) "self",(char *) "pos",(char *) "item", NULL
28929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28930 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28931 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28932 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
28933 if (PyErr_Occurred()) SWIG_fail
;
28934 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMenuItem
,
28935 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28938 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
);
28940 wxPyEndAllowThreads(__tstate
);
28941 if (PyErr_Occurred()) SWIG_fail
;
28944 resultobj
= wxPyMake_wxObject(result
);
28952 static PyObject
*_wrap_Menu_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28953 PyObject
*resultobj
;
28954 wxMenu
*arg1
= (wxMenu
*) 0 ;
28957 wxString
*arg4
= 0 ;
28958 wxString
const &arg5_defvalue
= wxPyEmptyString
;
28959 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
28960 int arg6
= (int) wxITEM_NORMAL
;
28961 wxMenuItem
*result
;
28962 bool temp4
= False
;
28963 bool temp5
= False
;
28964 PyObject
* obj0
= 0 ;
28965 PyObject
* obj1
= 0 ;
28966 PyObject
* obj2
= 0 ;
28967 PyObject
* obj3
= 0 ;
28968 PyObject
* obj4
= 0 ;
28969 PyObject
* obj5
= 0 ;
28970 char *kwnames
[] = {
28971 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
28974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:Menu_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
28975 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28976 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28977 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
28978 if (PyErr_Occurred()) SWIG_fail
;
28979 arg3
= (int) SWIG_AsInt(obj2
);
28980 if (PyErr_Occurred()) SWIG_fail
;
28982 arg4
= wxString_in_helper(obj3
);
28983 if (arg4
== NULL
) SWIG_fail
;
28988 arg5
= wxString_in_helper(obj4
);
28989 if (arg5
== NULL
) SWIG_fail
;
28994 arg6
= (wxItemKind
) SWIG_AsInt(obj5
);
28995 if (PyErr_Occurred()) SWIG_fail
;
28998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28999 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,(wxItemKind
)arg6
);
29001 wxPyEndAllowThreads(__tstate
);
29002 if (PyErr_Occurred()) SWIG_fail
;
29005 resultobj
= wxPyMake_wxObject(result
);
29029 static PyObject
*_wrap_Menu_InsertSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29030 PyObject
*resultobj
;
29031 wxMenu
*arg1
= (wxMenu
*) 0 ;
29033 wxMenuItem
*result
;
29034 PyObject
* obj0
= 0 ;
29035 PyObject
* obj1
= 0 ;
29036 char *kwnames
[] = {
29037 (char *) "self",(char *) "pos", NULL
29040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_InsertSeparator",kwnames
,&obj0
,&obj1
)) goto fail
;
29041 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29042 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29043 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
29044 if (PyErr_Occurred()) SWIG_fail
;
29046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29047 result
= (wxMenuItem
*)(arg1
)->InsertSeparator(arg2
);
29049 wxPyEndAllowThreads(__tstate
);
29050 if (PyErr_Occurred()) SWIG_fail
;
29053 resultobj
= wxPyMake_wxObject(result
);
29061 static PyObject
*_wrap_Menu_InsertCheckItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29062 PyObject
*resultobj
;
29063 wxMenu
*arg1
= (wxMenu
*) 0 ;
29066 wxString
*arg4
= 0 ;
29067 wxString
const &arg5_defvalue
= wxPyEmptyString
;
29068 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
29069 wxMenuItem
*result
;
29070 bool temp4
= False
;
29071 bool temp5
= False
;
29072 PyObject
* obj0
= 0 ;
29073 PyObject
* obj1
= 0 ;
29074 PyObject
* obj2
= 0 ;
29075 PyObject
* obj3
= 0 ;
29076 PyObject
* obj4
= 0 ;
29077 char *kwnames
[] = {
29078 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
29081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_InsertCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29082 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29083 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29084 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
29085 if (PyErr_Occurred()) SWIG_fail
;
29086 arg3
= (int) SWIG_AsInt(obj2
);
29087 if (PyErr_Occurred()) SWIG_fail
;
29089 arg4
= wxString_in_helper(obj3
);
29090 if (arg4
== NULL
) SWIG_fail
;
29095 arg5
= wxString_in_helper(obj4
);
29096 if (arg5
== NULL
) SWIG_fail
;
29101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29102 result
= (wxMenuItem
*)(arg1
)->InsertCheckItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
29104 wxPyEndAllowThreads(__tstate
);
29105 if (PyErr_Occurred()) SWIG_fail
;
29108 resultobj
= wxPyMake_wxObject(result
);
29132 static PyObject
*_wrap_Menu_InsertRadioItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29133 PyObject
*resultobj
;
29134 wxMenu
*arg1
= (wxMenu
*) 0 ;
29137 wxString
*arg4
= 0 ;
29138 wxString
const &arg5_defvalue
= wxPyEmptyString
;
29139 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
29140 wxMenuItem
*result
;
29141 bool temp4
= False
;
29142 bool temp5
= False
;
29143 PyObject
* obj0
= 0 ;
29144 PyObject
* obj1
= 0 ;
29145 PyObject
* obj2
= 0 ;
29146 PyObject
* obj3
= 0 ;
29147 PyObject
* obj4
= 0 ;
29148 char *kwnames
[] = {
29149 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
29152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_InsertRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29153 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29154 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29155 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
29156 if (PyErr_Occurred()) SWIG_fail
;
29157 arg3
= (int) SWIG_AsInt(obj2
);
29158 if (PyErr_Occurred()) SWIG_fail
;
29160 arg4
= wxString_in_helper(obj3
);
29161 if (arg4
== NULL
) SWIG_fail
;
29166 arg5
= wxString_in_helper(obj4
);
29167 if (arg5
== NULL
) SWIG_fail
;
29172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29173 result
= (wxMenuItem
*)(arg1
)->InsertRadioItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
29175 wxPyEndAllowThreads(__tstate
);
29176 if (PyErr_Occurred()) SWIG_fail
;
29179 resultobj
= wxPyMake_wxObject(result
);
29203 static PyObject
*_wrap_Menu_InsertMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29204 PyObject
*resultobj
;
29205 wxMenu
*arg1
= (wxMenu
*) 0 ;
29208 wxString
*arg4
= 0 ;
29209 wxMenu
*arg5
= (wxMenu
*) 0 ;
29210 wxString
const &arg6_defvalue
= wxPyEmptyString
;
29211 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
29212 wxMenuItem
*result
;
29213 bool temp4
= False
;
29214 bool temp6
= False
;
29215 PyObject
* obj0
= 0 ;
29216 PyObject
* obj1
= 0 ;
29217 PyObject
* obj2
= 0 ;
29218 PyObject
* obj3
= 0 ;
29219 PyObject
* obj4
= 0 ;
29220 PyObject
* obj5
= 0 ;
29221 char *kwnames
[] = {
29222 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
29225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Menu_InsertMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) 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
;
29237 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxMenu
,
29238 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29241 arg6
= wxString_in_helper(obj5
);
29242 if (arg6
== NULL
) SWIG_fail
;
29247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29248 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
29250 wxPyEndAllowThreads(__tstate
);
29251 if (PyErr_Occurred()) SWIG_fail
;
29254 resultobj
= wxPyMake_wxObject(result
);
29278 static PyObject
*_wrap_Menu_PrependItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29279 PyObject
*resultobj
;
29280 wxMenu
*arg1
= (wxMenu
*) 0 ;
29281 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
29282 wxMenuItem
*result
;
29283 PyObject
* obj0
= 0 ;
29284 PyObject
* obj1
= 0 ;
29285 char *kwnames
[] = {
29286 (char *) "self",(char *) "item", NULL
29289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_PrependItem",kwnames
,&obj0
,&obj1
)) goto fail
;
29290 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29291 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29292 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
29293 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29296 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
);
29298 wxPyEndAllowThreads(__tstate
);
29299 if (PyErr_Occurred()) SWIG_fail
;
29302 resultobj
= wxPyMake_wxObject(result
);
29310 static PyObject
*_wrap_Menu_Prepend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29311 PyObject
*resultobj
;
29312 wxMenu
*arg1
= (wxMenu
*) 0 ;
29314 wxString
*arg3
= 0 ;
29315 wxString
const &arg4_defvalue
= wxPyEmptyString
;
29316 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
29317 int arg5
= (int) wxITEM_NORMAL
;
29318 wxMenuItem
*result
;
29319 bool temp3
= False
;
29320 bool temp4
= False
;
29321 PyObject
* obj0
= 0 ;
29322 PyObject
* obj1
= 0 ;
29323 PyObject
* obj2
= 0 ;
29324 PyObject
* obj3
= 0 ;
29325 PyObject
* obj4
= 0 ;
29326 char *kwnames
[] = {
29327 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
29330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Menu_Prepend",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29331 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29332 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29333 arg2
= (int) SWIG_AsInt(obj1
);
29334 if (PyErr_Occurred()) SWIG_fail
;
29336 arg3
= wxString_in_helper(obj2
);
29337 if (arg3
== NULL
) SWIG_fail
;
29342 arg4
= wxString_in_helper(obj3
);
29343 if (arg4
== NULL
) SWIG_fail
;
29348 arg5
= (wxItemKind
) SWIG_AsInt(obj4
);
29349 if (PyErr_Occurred()) SWIG_fail
;
29352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29353 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
);
29355 wxPyEndAllowThreads(__tstate
);
29356 if (PyErr_Occurred()) SWIG_fail
;
29359 resultobj
= wxPyMake_wxObject(result
);
29383 static PyObject
*_wrap_Menu_PrependSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29384 PyObject
*resultobj
;
29385 wxMenu
*arg1
= (wxMenu
*) 0 ;
29386 wxMenuItem
*result
;
29387 PyObject
* obj0
= 0 ;
29388 char *kwnames
[] = {
29389 (char *) "self", NULL
29392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_PrependSeparator",kwnames
,&obj0
)) goto fail
;
29393 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29394 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29397 result
= (wxMenuItem
*)(arg1
)->PrependSeparator();
29399 wxPyEndAllowThreads(__tstate
);
29400 if (PyErr_Occurred()) SWIG_fail
;
29403 resultobj
= wxPyMake_wxObject(result
);
29411 static PyObject
*_wrap_Menu_PrependCheckItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29412 PyObject
*resultobj
;
29413 wxMenu
*arg1
= (wxMenu
*) 0 ;
29415 wxString
*arg3
= 0 ;
29416 wxString
const &arg4_defvalue
= wxPyEmptyString
;
29417 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
29418 wxMenuItem
*result
;
29419 bool temp3
= False
;
29420 bool temp4
= False
;
29421 PyObject
* obj0
= 0 ;
29422 PyObject
* obj1
= 0 ;
29423 PyObject
* obj2
= 0 ;
29424 PyObject
* obj3
= 0 ;
29425 char *kwnames
[] = {
29426 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
29429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_PrependCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29430 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29431 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29432 arg2
= (int) SWIG_AsInt(obj1
);
29433 if (PyErr_Occurred()) SWIG_fail
;
29435 arg3
= wxString_in_helper(obj2
);
29436 if (arg3
== NULL
) SWIG_fail
;
29441 arg4
= wxString_in_helper(obj3
);
29442 if (arg4
== NULL
) SWIG_fail
;
29447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29448 result
= (wxMenuItem
*)(arg1
)->PrependCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
29450 wxPyEndAllowThreads(__tstate
);
29451 if (PyErr_Occurred()) SWIG_fail
;
29454 resultobj
= wxPyMake_wxObject(result
);
29478 static PyObject
*_wrap_Menu_PrependRadioItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29479 PyObject
*resultobj
;
29480 wxMenu
*arg1
= (wxMenu
*) 0 ;
29482 wxString
*arg3
= 0 ;
29483 wxString
const &arg4_defvalue
= wxPyEmptyString
;
29484 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
29485 wxMenuItem
*result
;
29486 bool temp3
= False
;
29487 bool temp4
= False
;
29488 PyObject
* obj0
= 0 ;
29489 PyObject
* obj1
= 0 ;
29490 PyObject
* obj2
= 0 ;
29491 PyObject
* obj3
= 0 ;
29492 char *kwnames
[] = {
29493 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
29496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_PrependRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29497 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29498 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29499 arg2
= (int) SWIG_AsInt(obj1
);
29500 if (PyErr_Occurred()) SWIG_fail
;
29502 arg3
= wxString_in_helper(obj2
);
29503 if (arg3
== NULL
) SWIG_fail
;
29508 arg4
= wxString_in_helper(obj3
);
29509 if (arg4
== NULL
) SWIG_fail
;
29514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29515 result
= (wxMenuItem
*)(arg1
)->PrependRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
29517 wxPyEndAllowThreads(__tstate
);
29518 if (PyErr_Occurred()) SWIG_fail
;
29521 resultobj
= wxPyMake_wxObject(result
);
29545 static PyObject
*_wrap_Menu_PrependMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29546 PyObject
*resultobj
;
29547 wxMenu
*arg1
= (wxMenu
*) 0 ;
29549 wxString
*arg3
= 0 ;
29550 wxMenu
*arg4
= (wxMenu
*) 0 ;
29551 wxString
const &arg5_defvalue
= wxPyEmptyString
;
29552 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
29553 wxMenuItem
*result
;
29554 bool temp3
= False
;
29555 bool temp5
= False
;
29556 PyObject
* obj0
= 0 ;
29557 PyObject
* obj1
= 0 ;
29558 PyObject
* obj2
= 0 ;
29559 PyObject
* obj3
= 0 ;
29560 PyObject
* obj4
= 0 ;
29561 char *kwnames
[] = {
29562 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
29565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_PrependMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29566 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29567 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29568 arg2
= (int) SWIG_AsInt(obj1
);
29569 if (PyErr_Occurred()) SWIG_fail
;
29571 arg3
= wxString_in_helper(obj2
);
29572 if (arg3
== NULL
) SWIG_fail
;
29575 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxMenu
,
29576 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29579 arg5
= wxString_in_helper(obj4
);
29580 if (arg5
== NULL
) SWIG_fail
;
29585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29586 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
29588 wxPyEndAllowThreads(__tstate
);
29589 if (PyErr_Occurred()) SWIG_fail
;
29592 resultobj
= wxPyMake_wxObject(result
);
29616 static PyObject
*_wrap_Menu_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29617 PyObject
*resultobj
;
29618 wxMenu
*arg1
= (wxMenu
*) 0 ;
29620 wxMenuItem
*result
;
29621 PyObject
* obj0
= 0 ;
29622 PyObject
* obj1
= 0 ;
29623 char *kwnames
[] = {
29624 (char *) "self",(char *) "id", NULL
29627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
29628 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29629 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29630 arg2
= (int) SWIG_AsInt(obj1
);
29631 if (PyErr_Occurred()) SWIG_fail
;
29633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29634 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
29636 wxPyEndAllowThreads(__tstate
);
29637 if (PyErr_Occurred()) SWIG_fail
;
29640 resultobj
= wxPyMake_wxObject(result
);
29648 static PyObject
*_wrap_Menu_RemoveItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29649 PyObject
*resultobj
;
29650 wxMenu
*arg1
= (wxMenu
*) 0 ;
29651 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
29652 wxMenuItem
*result
;
29653 PyObject
* obj0
= 0 ;
29654 PyObject
* obj1
= 0 ;
29655 char *kwnames
[] = {
29656 (char *) "self",(char *) "item", NULL
29659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_RemoveItem",kwnames
,&obj0
,&obj1
)) goto fail
;
29660 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29661 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29662 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
29663 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29666 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
29668 wxPyEndAllowThreads(__tstate
);
29669 if (PyErr_Occurred()) SWIG_fail
;
29672 resultobj
= wxPyMake_wxObject(result
);
29680 static PyObject
*_wrap_Menu_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29681 PyObject
*resultobj
;
29682 wxMenu
*arg1
= (wxMenu
*) 0 ;
29685 PyObject
* obj0
= 0 ;
29686 PyObject
* obj1
= 0 ;
29687 char *kwnames
[] = {
29688 (char *) "self",(char *) "id", NULL
29691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
29692 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29693 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29694 arg2
= (int) SWIG_AsInt(obj1
);
29695 if (PyErr_Occurred()) SWIG_fail
;
29697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29698 result
= (bool)(arg1
)->Delete(arg2
);
29700 wxPyEndAllowThreads(__tstate
);
29701 if (PyErr_Occurred()) SWIG_fail
;
29704 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29712 static PyObject
*_wrap_Menu_DeleteItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29713 PyObject
*resultobj
;
29714 wxMenu
*arg1
= (wxMenu
*) 0 ;
29715 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
29717 PyObject
* obj0
= 0 ;
29718 PyObject
* obj1
= 0 ;
29719 char *kwnames
[] = {
29720 (char *) "self",(char *) "item", NULL
29723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DeleteItem",kwnames
,&obj0
,&obj1
)) goto fail
;
29724 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29725 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29726 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
29727 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29730 result
= (bool)(arg1
)->Delete(arg2
);
29732 wxPyEndAllowThreads(__tstate
);
29733 if (PyErr_Occurred()) SWIG_fail
;
29736 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29744 static PyObject
*_wrap_Menu_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29745 PyObject
*resultobj
;
29746 wxMenu
*arg1
= (wxMenu
*) 0 ;
29747 PyObject
* obj0
= 0 ;
29748 char *kwnames
[] = {
29749 (char *) "self", NULL
29752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Destroy",kwnames
,&obj0
)) goto fail
;
29753 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29754 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29757 wxMenu_Destroy(arg1
);
29759 wxPyEndAllowThreads(__tstate
);
29760 if (PyErr_Occurred()) SWIG_fail
;
29762 Py_INCREF(Py_None
); resultobj
= Py_None
;
29769 static PyObject
*_wrap_Menu_DestroyId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29770 PyObject
*resultobj
;
29771 wxMenu
*arg1
= (wxMenu
*) 0 ;
29774 PyObject
* obj0
= 0 ;
29775 PyObject
* obj1
= 0 ;
29776 char *kwnames
[] = {
29777 (char *) "self",(char *) "id", NULL
29780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DestroyId",kwnames
,&obj0
,&obj1
)) goto fail
;
29781 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29782 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29783 arg2
= (int) SWIG_AsInt(obj1
);
29784 if (PyErr_Occurred()) SWIG_fail
;
29786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29787 result
= (bool)(arg1
)->Destroy(arg2
);
29789 wxPyEndAllowThreads(__tstate
);
29790 if (PyErr_Occurred()) SWIG_fail
;
29793 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29801 static PyObject
*_wrap_Menu_DestroyItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29802 PyObject
*resultobj
;
29803 wxMenu
*arg1
= (wxMenu
*) 0 ;
29804 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
29806 PyObject
* obj0
= 0 ;
29807 PyObject
* obj1
= 0 ;
29808 char *kwnames
[] = {
29809 (char *) "self",(char *) "item", NULL
29812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DestroyItem",kwnames
,&obj0
,&obj1
)) goto fail
;
29813 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29814 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29815 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
29816 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29819 result
= (bool)(arg1
)->Destroy(arg2
);
29821 wxPyEndAllowThreads(__tstate
);
29822 if (PyErr_Occurred()) SWIG_fail
;
29825 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29833 static PyObject
*_wrap_Menu_GetMenuItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29834 PyObject
*resultobj
;
29835 wxMenu
*arg1
= (wxMenu
*) 0 ;
29837 PyObject
* obj0
= 0 ;
29838 char *kwnames
[] = {
29839 (char *) "self", NULL
29842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuItemCount",kwnames
,&obj0
)) goto fail
;
29843 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29844 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29847 result
= (size_t)((wxMenu
const *)arg1
)->GetMenuItemCount();
29849 wxPyEndAllowThreads(__tstate
);
29850 if (PyErr_Occurred()) SWIG_fail
;
29852 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
29859 static PyObject
*_wrap_Menu_GetMenuItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29860 PyObject
*resultobj
;
29861 wxMenu
*arg1
= (wxMenu
*) 0 ;
29863 PyObject
* obj0
= 0 ;
29864 char *kwnames
[] = {
29865 (char *) "self", NULL
29868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuItems",kwnames
,&obj0
)) goto fail
;
29869 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29870 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29873 result
= (PyObject
*)wxMenu_GetMenuItems(arg1
);
29875 wxPyEndAllowThreads(__tstate
);
29876 if (PyErr_Occurred()) SWIG_fail
;
29878 resultobj
= result
;
29885 static PyObject
*_wrap_Menu_FindItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29886 PyObject
*resultobj
;
29887 wxMenu
*arg1
= (wxMenu
*) 0 ;
29888 wxString
*arg2
= 0 ;
29890 bool temp2
= False
;
29891 PyObject
* obj0
= 0 ;
29892 PyObject
* obj1
= 0 ;
29893 char *kwnames
[] = {
29894 (char *) "self",(char *) "item", NULL
29897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItem",kwnames
,&obj0
,&obj1
)) goto fail
;
29898 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29899 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29901 arg2
= wxString_in_helper(obj1
);
29902 if (arg2
== NULL
) SWIG_fail
;
29906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29907 result
= (int)((wxMenu
const *)arg1
)->FindItem((wxString
const &)*arg2
);
29909 wxPyEndAllowThreads(__tstate
);
29910 if (PyErr_Occurred()) SWIG_fail
;
29912 resultobj
= SWIG_FromInt((int)result
);
29927 static PyObject
*_wrap_Menu_FindItemById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29928 PyObject
*resultobj
;
29929 wxMenu
*arg1
= (wxMenu
*) 0 ;
29931 wxMenuItem
*result
;
29932 PyObject
* obj0
= 0 ;
29933 PyObject
* obj1
= 0 ;
29934 char *kwnames
[] = {
29935 (char *) "self",(char *) "id", NULL
29938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItemById",kwnames
,&obj0
,&obj1
)) goto fail
;
29939 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29940 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29941 arg2
= (int) SWIG_AsInt(obj1
);
29942 if (PyErr_Occurred()) SWIG_fail
;
29944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29945 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItem(arg2
);
29947 wxPyEndAllowThreads(__tstate
);
29948 if (PyErr_Occurred()) SWIG_fail
;
29951 resultobj
= wxPyMake_wxObject(result
);
29959 static PyObject
*_wrap_Menu_FindItemByPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29960 PyObject
*resultobj
;
29961 wxMenu
*arg1
= (wxMenu
*) 0 ;
29963 wxMenuItem
*result
;
29964 PyObject
* obj0
= 0 ;
29965 PyObject
* obj1
= 0 ;
29966 char *kwnames
[] = {
29967 (char *) "self",(char *) "position", NULL
29970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItemByPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
29971 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29972 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29973 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
29974 if (PyErr_Occurred()) SWIG_fail
;
29976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29977 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItemByPosition(arg2
);
29979 wxPyEndAllowThreads(__tstate
);
29980 if (PyErr_Occurred()) SWIG_fail
;
29983 resultobj
= wxPyMake_wxObject(result
);
29991 static PyObject
*_wrap_Menu_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29992 PyObject
*resultobj
;
29993 wxMenu
*arg1
= (wxMenu
*) 0 ;
29996 PyObject
* obj0
= 0 ;
29997 PyObject
* obj1
= 0 ;
29998 PyObject
* obj2
= 0 ;
29999 char *kwnames
[] = {
30000 (char *) "self",(char *) "id",(char *) "enable", NULL
30003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_Enable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30004 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30005 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30006 arg2
= (int) SWIG_AsInt(obj1
);
30007 if (PyErr_Occurred()) SWIG_fail
;
30008 arg3
= (bool) SWIG_AsBool(obj2
);
30009 if (PyErr_Occurred()) SWIG_fail
;
30011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30012 (arg1
)->Enable(arg2
,arg3
);
30014 wxPyEndAllowThreads(__tstate
);
30015 if (PyErr_Occurred()) SWIG_fail
;
30017 Py_INCREF(Py_None
); resultobj
= Py_None
;
30024 static PyObject
*_wrap_Menu_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30025 PyObject
*resultobj
;
30026 wxMenu
*arg1
= (wxMenu
*) 0 ;
30029 PyObject
* obj0
= 0 ;
30030 PyObject
* obj1
= 0 ;
30031 char *kwnames
[] = {
30032 (char *) "self",(char *) "id", NULL
30035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_IsEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
30036 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30037 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30038 arg2
= (int) SWIG_AsInt(obj1
);
30039 if (PyErr_Occurred()) SWIG_fail
;
30041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30042 result
= (bool)((wxMenu
const *)arg1
)->IsEnabled(arg2
);
30044 wxPyEndAllowThreads(__tstate
);
30045 if (PyErr_Occurred()) SWIG_fail
;
30048 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30056 static PyObject
*_wrap_Menu_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30057 PyObject
*resultobj
;
30058 wxMenu
*arg1
= (wxMenu
*) 0 ;
30061 PyObject
* obj0
= 0 ;
30062 PyObject
* obj1
= 0 ;
30063 PyObject
* obj2
= 0 ;
30064 char *kwnames
[] = {
30065 (char *) "self",(char *) "id",(char *) "check", NULL
30068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30069 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30070 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30071 arg2
= (int) SWIG_AsInt(obj1
);
30072 if (PyErr_Occurred()) SWIG_fail
;
30073 arg3
= (bool) SWIG_AsBool(obj2
);
30074 if (PyErr_Occurred()) SWIG_fail
;
30076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30077 (arg1
)->Check(arg2
,arg3
);
30079 wxPyEndAllowThreads(__tstate
);
30080 if (PyErr_Occurred()) SWIG_fail
;
30082 Py_INCREF(Py_None
); resultobj
= Py_None
;
30089 static PyObject
*_wrap_Menu_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30090 PyObject
*resultobj
;
30091 wxMenu
*arg1
= (wxMenu
*) 0 ;
30094 PyObject
* obj0
= 0 ;
30095 PyObject
* obj1
= 0 ;
30096 char *kwnames
[] = {
30097 (char *) "self",(char *) "id", NULL
30100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
30101 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30102 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30103 arg2
= (int) SWIG_AsInt(obj1
);
30104 if (PyErr_Occurred()) SWIG_fail
;
30106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30107 result
= (bool)((wxMenu
const *)arg1
)->IsChecked(arg2
);
30109 wxPyEndAllowThreads(__tstate
);
30110 if (PyErr_Occurred()) SWIG_fail
;
30113 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30121 static PyObject
*_wrap_Menu_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30122 PyObject
*resultobj
;
30123 wxMenu
*arg1
= (wxMenu
*) 0 ;
30125 wxString
*arg3
= 0 ;
30126 bool temp3
= False
;
30127 PyObject
* obj0
= 0 ;
30128 PyObject
* obj1
= 0 ;
30129 PyObject
* obj2
= 0 ;
30130 char *kwnames
[] = {
30131 (char *) "self",(char *) "id",(char *) "label", NULL
30134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_SetLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30135 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30136 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30137 arg2
= (int) SWIG_AsInt(obj1
);
30138 if (PyErr_Occurred()) SWIG_fail
;
30140 arg3
= wxString_in_helper(obj2
);
30141 if (arg3
== NULL
) SWIG_fail
;
30145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30146 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
30148 wxPyEndAllowThreads(__tstate
);
30149 if (PyErr_Occurred()) SWIG_fail
;
30151 Py_INCREF(Py_None
); resultobj
= Py_None
;
30166 static PyObject
*_wrap_Menu_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30167 PyObject
*resultobj
;
30168 wxMenu
*arg1
= (wxMenu
*) 0 ;
30171 PyObject
* obj0
= 0 ;
30172 PyObject
* obj1
= 0 ;
30173 char *kwnames
[] = {
30174 (char *) "self",(char *) "id", NULL
30177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_GetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
30178 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30179 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30180 arg2
= (int) SWIG_AsInt(obj1
);
30181 if (PyErr_Occurred()) SWIG_fail
;
30183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30184 result
= ((wxMenu
const *)arg1
)->GetLabel(arg2
);
30186 wxPyEndAllowThreads(__tstate
);
30187 if (PyErr_Occurred()) SWIG_fail
;
30191 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30193 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30202 static PyObject
*_wrap_Menu_SetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30203 PyObject
*resultobj
;
30204 wxMenu
*arg1
= (wxMenu
*) 0 ;
30206 wxString
*arg3
= 0 ;
30207 bool temp3
= False
;
30208 PyObject
* obj0
= 0 ;
30209 PyObject
* obj1
= 0 ;
30210 PyObject
* obj2
= 0 ;
30211 char *kwnames
[] = {
30212 (char *) "self",(char *) "id",(char *) "helpString", NULL
30215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_SetHelpString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30216 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30217 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30218 arg2
= (int) SWIG_AsInt(obj1
);
30219 if (PyErr_Occurred()) SWIG_fail
;
30221 arg3
= wxString_in_helper(obj2
);
30222 if (arg3
== NULL
) SWIG_fail
;
30226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30227 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
30229 wxPyEndAllowThreads(__tstate
);
30230 if (PyErr_Occurred()) SWIG_fail
;
30232 Py_INCREF(Py_None
); resultobj
= Py_None
;
30247 static PyObject
*_wrap_Menu_GetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30248 PyObject
*resultobj
;
30249 wxMenu
*arg1
= (wxMenu
*) 0 ;
30252 PyObject
* obj0
= 0 ;
30253 PyObject
* obj1
= 0 ;
30254 char *kwnames
[] = {
30255 (char *) "self",(char *) "id", NULL
30258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_GetHelpString",kwnames
,&obj0
,&obj1
)) goto fail
;
30259 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30260 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30261 arg2
= (int) SWIG_AsInt(obj1
);
30262 if (PyErr_Occurred()) SWIG_fail
;
30264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30265 result
= ((wxMenu
const *)arg1
)->GetHelpString(arg2
);
30267 wxPyEndAllowThreads(__tstate
);
30268 if (PyErr_Occurred()) SWIG_fail
;
30272 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30274 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30283 static PyObject
*_wrap_Menu_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30284 PyObject
*resultobj
;
30285 wxMenu
*arg1
= (wxMenu
*) 0 ;
30286 wxString
*arg2
= 0 ;
30287 bool temp2
= False
;
30288 PyObject
* obj0
= 0 ;
30289 PyObject
* obj1
= 0 ;
30290 char *kwnames
[] = {
30291 (char *) "self",(char *) "title", NULL
30294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
30295 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30296 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30298 arg2
= wxString_in_helper(obj1
);
30299 if (arg2
== NULL
) SWIG_fail
;
30303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30304 (arg1
)->SetTitle((wxString
const &)*arg2
);
30306 wxPyEndAllowThreads(__tstate
);
30307 if (PyErr_Occurred()) SWIG_fail
;
30309 Py_INCREF(Py_None
); resultobj
= Py_None
;
30324 static PyObject
*_wrap_Menu_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30325 PyObject
*resultobj
;
30326 wxMenu
*arg1
= (wxMenu
*) 0 ;
30328 PyObject
* obj0
= 0 ;
30329 char *kwnames
[] = {
30330 (char *) "self", NULL
30333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetTitle",kwnames
,&obj0
)) goto fail
;
30334 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30335 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30338 result
= ((wxMenu
const *)arg1
)->GetTitle();
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_SetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30357 PyObject
*resultobj
;
30358 wxMenu
*arg1
= (wxMenu
*) 0 ;
30359 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
30360 PyObject
* obj0
= 0 ;
30361 PyObject
* obj1
= 0 ;
30362 char *kwnames
[] = {
30363 (char *) "self",(char *) "handler", NULL
30366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
30367 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30368 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30369 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
30370 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30373 (arg1
)->SetEventHandler(arg2
);
30375 wxPyEndAllowThreads(__tstate
);
30376 if (PyErr_Occurred()) SWIG_fail
;
30378 Py_INCREF(Py_None
); resultobj
= Py_None
;
30385 static PyObject
*_wrap_Menu_GetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30386 PyObject
*resultobj
;
30387 wxMenu
*arg1
= (wxMenu
*) 0 ;
30388 wxEvtHandler
*result
;
30389 PyObject
* obj0
= 0 ;
30390 char *kwnames
[] = {
30391 (char *) "self", NULL
30394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetEventHandler",kwnames
,&obj0
)) goto fail
;
30395 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30396 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30399 result
= (wxEvtHandler
*)((wxMenu
const *)arg1
)->GetEventHandler();
30401 wxPyEndAllowThreads(__tstate
);
30402 if (PyErr_Occurred()) SWIG_fail
;
30405 resultobj
= wxPyMake_wxObject(result
);
30413 static PyObject
*_wrap_Menu_SetInvokingWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30414 PyObject
*resultobj
;
30415 wxMenu
*arg1
= (wxMenu
*) 0 ;
30416 wxWindow
*arg2
= (wxWindow
*) 0 ;
30417 PyObject
* obj0
= 0 ;
30418 PyObject
* obj1
= 0 ;
30419 char *kwnames
[] = {
30420 (char *) "self",(char *) "win", NULL
30423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetInvokingWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
30424 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30425 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30426 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
30427 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30430 (arg1
)->SetInvokingWindow(arg2
);
30432 wxPyEndAllowThreads(__tstate
);
30433 if (PyErr_Occurred()) SWIG_fail
;
30435 Py_INCREF(Py_None
); resultobj
= Py_None
;
30442 static PyObject
*_wrap_Menu_GetInvokingWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30443 PyObject
*resultobj
;
30444 wxMenu
*arg1
= (wxMenu
*) 0 ;
30446 PyObject
* obj0
= 0 ;
30447 char *kwnames
[] = {
30448 (char *) "self", NULL
30451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetInvokingWindow",kwnames
,&obj0
)) goto fail
;
30452 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30453 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30456 result
= (wxWindow
*)((wxMenu
const *)arg1
)->GetInvokingWindow();
30458 wxPyEndAllowThreads(__tstate
);
30459 if (PyErr_Occurred()) SWIG_fail
;
30462 resultobj
= wxPyMake_wxObject(result
);
30470 static PyObject
*_wrap_Menu_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30471 PyObject
*resultobj
;
30472 wxMenu
*arg1
= (wxMenu
*) 0 ;
30474 PyObject
* obj0
= 0 ;
30475 char *kwnames
[] = {
30476 (char *) "self", NULL
30479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetStyle",kwnames
,&obj0
)) goto fail
;
30480 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30481 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30484 result
= (long)((wxMenu
const *)arg1
)->GetStyle();
30486 wxPyEndAllowThreads(__tstate
);
30487 if (PyErr_Occurred()) SWIG_fail
;
30489 resultobj
= SWIG_FromLong((long)result
);
30496 static PyObject
*_wrap_Menu_UpdateUI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30497 PyObject
*resultobj
;
30498 wxMenu
*arg1
= (wxMenu
*) 0 ;
30499 wxEvtHandler
*arg2
= (wxEvtHandler
*) NULL
;
30500 PyObject
* obj0
= 0 ;
30501 PyObject
* obj1
= 0 ;
30502 char *kwnames
[] = {
30503 (char *) "self",(char *) "source", NULL
30506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Menu_UpdateUI",kwnames
,&obj0
,&obj1
)) goto fail
;
30507 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30508 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30510 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
30511 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30515 (arg1
)->UpdateUI(arg2
);
30517 wxPyEndAllowThreads(__tstate
);
30518 if (PyErr_Occurred()) SWIG_fail
;
30520 Py_INCREF(Py_None
); resultobj
= Py_None
;
30527 static PyObject
*_wrap_Menu_GetMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30528 PyObject
*resultobj
;
30529 wxMenu
*arg1
= (wxMenu
*) 0 ;
30531 PyObject
* obj0
= 0 ;
30532 char *kwnames
[] = {
30533 (char *) "self", NULL
30536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuBar",kwnames
,&obj0
)) goto fail
;
30537 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30538 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30541 result
= (wxMenuBar
*)((wxMenu
const *)arg1
)->GetMenuBar();
30543 wxPyEndAllowThreads(__tstate
);
30544 if (PyErr_Occurred()) SWIG_fail
;
30547 resultobj
= wxPyMake_wxObject(result
);
30555 static PyObject
*_wrap_Menu_Attach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30556 PyObject
*resultobj
;
30557 wxMenu
*arg1
= (wxMenu
*) 0 ;
30558 wxMenuBarBase
*arg2
= (wxMenuBarBase
*) 0 ;
30559 PyObject
* obj0
= 0 ;
30560 PyObject
* obj1
= 0 ;
30561 char *kwnames
[] = {
30562 (char *) "self",(char *) "menubar", NULL
30565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
30566 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30567 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30568 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuBarBase
,
30569 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30572 (arg1
)->Attach(arg2
);
30574 wxPyEndAllowThreads(__tstate
);
30575 if (PyErr_Occurred()) SWIG_fail
;
30577 Py_INCREF(Py_None
); resultobj
= Py_None
;
30584 static PyObject
*_wrap_Menu_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30585 PyObject
*resultobj
;
30586 wxMenu
*arg1
= (wxMenu
*) 0 ;
30587 PyObject
* obj0
= 0 ;
30588 char *kwnames
[] = {
30589 (char *) "self", NULL
30592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Detach",kwnames
,&obj0
)) goto fail
;
30593 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30594 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30599 wxPyEndAllowThreads(__tstate
);
30600 if (PyErr_Occurred()) SWIG_fail
;
30602 Py_INCREF(Py_None
); resultobj
= Py_None
;
30609 static PyObject
*_wrap_Menu_IsAttached(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30610 PyObject
*resultobj
;
30611 wxMenu
*arg1
= (wxMenu
*) 0 ;
30613 PyObject
* obj0
= 0 ;
30614 char *kwnames
[] = {
30615 (char *) "self", NULL
30618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_IsAttached",kwnames
,&obj0
)) goto fail
;
30619 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30620 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30623 result
= (bool)((wxMenu
const *)arg1
)->IsAttached();
30625 wxPyEndAllowThreads(__tstate
);
30626 if (PyErr_Occurred()) SWIG_fail
;
30629 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30637 static PyObject
*_wrap_Menu_SetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30638 PyObject
*resultobj
;
30639 wxMenu
*arg1
= (wxMenu
*) 0 ;
30640 wxMenu
*arg2
= (wxMenu
*) 0 ;
30641 PyObject
* obj0
= 0 ;
30642 PyObject
* obj1
= 0 ;
30643 char *kwnames
[] = {
30644 (char *) "self",(char *) "parent", NULL
30647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetParent",kwnames
,&obj0
,&obj1
)) goto fail
;
30648 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30650 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
30651 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30654 (arg1
)->SetParent(arg2
);
30656 wxPyEndAllowThreads(__tstate
);
30657 if (PyErr_Occurred()) SWIG_fail
;
30659 Py_INCREF(Py_None
); resultobj
= Py_None
;
30666 static PyObject
*_wrap_Menu_GetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30667 PyObject
*resultobj
;
30668 wxMenu
*arg1
= (wxMenu
*) 0 ;
30670 PyObject
* obj0
= 0 ;
30671 char *kwnames
[] = {
30672 (char *) "self", NULL
30675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetParent",kwnames
,&obj0
)) goto fail
;
30676 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30677 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30680 result
= (wxMenu
*)((wxMenu
const *)arg1
)->GetParent();
30682 wxPyEndAllowThreads(__tstate
);
30683 if (PyErr_Occurred()) SWIG_fail
;
30686 resultobj
= wxPyMake_wxObject(result
);
30694 static PyObject
* Menu_swigregister(PyObject
*self
, PyObject
*args
) {
30696 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30697 SWIG_TypeClientData(SWIGTYPE_p_wxMenu
, obj
);
30699 return Py_BuildValue((char *)"");
30701 static PyObject
*_wrap_new_MenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30702 PyObject
*resultobj
;
30703 long arg1
= (long) 0 ;
30705 PyObject
* obj0
= 0 ;
30706 char *kwnames
[] = {
30707 (char *) "style", NULL
30710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MenuBar",kwnames
,&obj0
)) goto fail
;
30712 arg1
= (long) SWIG_AsLong(obj0
);
30713 if (PyErr_Occurred()) SWIG_fail
;
30716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30717 result
= (wxMenuBar
*)new wxMenuBar(arg1
);
30719 wxPyEndAllowThreads(__tstate
);
30720 if (PyErr_Occurred()) SWIG_fail
;
30723 resultobj
= wxPyMake_wxObject(result
);
30731 static PyObject
*_wrap_MenuBar_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30732 PyObject
*resultobj
;
30733 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30734 wxMenu
*arg2
= (wxMenu
*) 0 ;
30735 wxString
*arg3
= 0 ;
30737 bool temp3
= False
;
30738 PyObject
* obj0
= 0 ;
30739 PyObject
* obj1
= 0 ;
30740 PyObject
* obj2
= 0 ;
30741 char *kwnames
[] = {
30742 (char *) "self",(char *) "menu",(char *) "title", NULL
30745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Append",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30746 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30747 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30748 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
30749 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30751 arg3
= wxString_in_helper(obj2
);
30752 if (arg3
== NULL
) SWIG_fail
;
30756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30757 result
= (bool)(arg1
)->Append(arg2
,(wxString
const &)*arg3
);
30759 wxPyEndAllowThreads(__tstate
);
30760 if (PyErr_Occurred()) SWIG_fail
;
30763 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30779 static PyObject
*_wrap_MenuBar_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30780 PyObject
*resultobj
;
30781 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30783 wxMenu
*arg3
= (wxMenu
*) 0 ;
30784 wxString
*arg4
= 0 ;
30786 bool temp4
= False
;
30787 PyObject
* obj0
= 0 ;
30788 PyObject
* obj1
= 0 ;
30789 PyObject
* obj2
= 0 ;
30790 PyObject
* obj3
= 0 ;
30791 char *kwnames
[] = {
30792 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
30795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30796 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30797 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30798 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
30799 if (PyErr_Occurred()) SWIG_fail
;
30800 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMenu
,
30801 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30803 arg4
= wxString_in_helper(obj3
);
30804 if (arg4
== NULL
) SWIG_fail
;
30808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30809 result
= (bool)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
);
30811 wxPyEndAllowThreads(__tstate
);
30812 if (PyErr_Occurred()) SWIG_fail
;
30815 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30831 static PyObject
*_wrap_MenuBar_GetMenuCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30832 PyObject
*resultobj
;
30833 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30835 PyObject
* obj0
= 0 ;
30836 char *kwnames
[] = {
30837 (char *) "self", NULL
30840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_GetMenuCount",kwnames
,&obj0
)) goto fail
;
30841 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30842 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30845 result
= (size_t)((wxMenuBar
const *)arg1
)->GetMenuCount();
30847 wxPyEndAllowThreads(__tstate
);
30848 if (PyErr_Occurred()) SWIG_fail
;
30850 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
30857 static PyObject
*_wrap_MenuBar_GetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30858 PyObject
*resultobj
;
30859 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30862 PyObject
* obj0
= 0 ;
30863 PyObject
* obj1
= 0 ;
30864 char *kwnames
[] = {
30865 (char *) "self",(char *) "pos", NULL
30868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetMenu",kwnames
,&obj0
,&obj1
)) 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
;
30874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30875 result
= (wxMenu
*)((wxMenuBar
const *)arg1
)->GetMenu(arg2
);
30877 wxPyEndAllowThreads(__tstate
);
30878 if (PyErr_Occurred()) SWIG_fail
;
30881 resultobj
= wxPyMake_wxObject(result
);
30889 static PyObject
*_wrap_MenuBar_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30890 PyObject
*resultobj
;
30891 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30893 wxMenu
*arg3
= (wxMenu
*) 0 ;
30894 wxString
*arg4
= 0 ;
30896 bool temp4
= False
;
30897 PyObject
* obj0
= 0 ;
30898 PyObject
* obj1
= 0 ;
30899 PyObject
* obj2
= 0 ;
30900 PyObject
* obj3
= 0 ;
30901 char *kwnames
[] = {
30902 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
30905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30906 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30907 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30908 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
30909 if (PyErr_Occurred()) SWIG_fail
;
30910 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMenu
,
30911 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30913 arg4
= wxString_in_helper(obj3
);
30914 if (arg4
== NULL
) SWIG_fail
;
30918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30919 result
= (wxMenu
*)(arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
30921 wxPyEndAllowThreads(__tstate
);
30922 if (PyErr_Occurred()) SWIG_fail
;
30925 resultobj
= wxPyMake_wxObject(result
);
30941 static PyObject
*_wrap_MenuBar_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30942 PyObject
*resultobj
;
30943 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30946 PyObject
* obj0
= 0 ;
30947 PyObject
* obj1
= 0 ;
30948 char *kwnames
[] = {
30949 (char *) "self",(char *) "pos", NULL
30952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
30953 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30954 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30955 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
30956 if (PyErr_Occurred()) SWIG_fail
;
30958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30959 result
= (wxMenu
*)(arg1
)->Remove(arg2
);
30961 wxPyEndAllowThreads(__tstate
);
30962 if (PyErr_Occurred()) SWIG_fail
;
30965 resultobj
= wxPyMake_wxObject(result
);
30973 static PyObject
*_wrap_MenuBar_EnableTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30974 PyObject
*resultobj
;
30975 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30978 PyObject
* obj0
= 0 ;
30979 PyObject
* obj1
= 0 ;
30980 PyObject
* obj2
= 0 ;
30981 char *kwnames
[] = {
30982 (char *) "self",(char *) "pos",(char *) "enable", NULL
30985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_EnableTop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30986 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30987 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30988 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
30989 if (PyErr_Occurred()) SWIG_fail
;
30990 arg3
= (bool) SWIG_AsBool(obj2
);
30991 if (PyErr_Occurred()) SWIG_fail
;
30993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30994 (arg1
)->EnableTop(arg2
,arg3
);
30996 wxPyEndAllowThreads(__tstate
);
30997 if (PyErr_Occurred()) SWIG_fail
;
30999 Py_INCREF(Py_None
); resultobj
= Py_None
;
31006 static PyObject
*_wrap_MenuBar_IsEnabledTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31007 PyObject
*resultobj
;
31008 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31011 PyObject
* obj0
= 0 ;
31012 PyObject
* obj1
= 0 ;
31013 char *kwnames
[] = {
31014 (char *) "self",(char *) "pos", NULL
31017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsEnabledTop",kwnames
,&obj0
,&obj1
)) goto fail
;
31018 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31019 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31020 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
31021 if (PyErr_Occurred()) SWIG_fail
;
31023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31024 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabledTop(arg2
);
31026 wxPyEndAllowThreads(__tstate
);
31027 if (PyErr_Occurred()) SWIG_fail
;
31030 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31038 static PyObject
*_wrap_MenuBar_SetLabelTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31039 PyObject
*resultobj
;
31040 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31042 wxString
*arg3
= 0 ;
31043 bool temp3
= False
;
31044 PyObject
* obj0
= 0 ;
31045 PyObject
* obj1
= 0 ;
31046 PyObject
* obj2
= 0 ;
31047 char *kwnames
[] = {
31048 (char *) "self",(char *) "pos",(char *) "label", NULL
31051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetLabelTop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31052 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31053 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31054 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
31055 if (PyErr_Occurred()) SWIG_fail
;
31057 arg3
= wxString_in_helper(obj2
);
31058 if (arg3
== NULL
) SWIG_fail
;
31062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31063 (arg1
)->SetLabelTop(arg2
,(wxString
const &)*arg3
);
31065 wxPyEndAllowThreads(__tstate
);
31066 if (PyErr_Occurred()) SWIG_fail
;
31068 Py_INCREF(Py_None
); resultobj
= Py_None
;
31083 static PyObject
*_wrap_MenuBar_GetLabelTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31084 PyObject
*resultobj
;
31085 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31088 PyObject
* obj0
= 0 ;
31089 PyObject
* obj1
= 0 ;
31090 char *kwnames
[] = {
31091 (char *) "self",(char *) "pos", NULL
31094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetLabelTop",kwnames
,&obj0
,&obj1
)) goto fail
;
31095 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31096 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31097 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
31098 if (PyErr_Occurred()) SWIG_fail
;
31100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31101 result
= ((wxMenuBar
const *)arg1
)->GetLabelTop(arg2
);
31103 wxPyEndAllowThreads(__tstate
);
31104 if (PyErr_Occurred()) SWIG_fail
;
31108 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31110 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31119 static PyObject
*_wrap_MenuBar_FindMenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31120 PyObject
*resultobj
;
31121 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31122 wxString
*arg2
= 0 ;
31123 wxString
*arg3
= 0 ;
31125 bool temp2
= False
;
31126 bool temp3
= False
;
31127 PyObject
* obj0
= 0 ;
31128 PyObject
* obj1
= 0 ;
31129 PyObject
* obj2
= 0 ;
31130 char *kwnames
[] = {
31131 (char *) "self",(char *) "menu",(char *) "item", NULL
31134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_FindMenuItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31135 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31136 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31138 arg2
= wxString_in_helper(obj1
);
31139 if (arg2
== NULL
) SWIG_fail
;
31143 arg3
= wxString_in_helper(obj2
);
31144 if (arg3
== NULL
) SWIG_fail
;
31148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31149 result
= (int)((wxMenuBar
const *)arg1
)->FindMenuItem((wxString
const &)*arg2
,(wxString
const &)*arg3
);
31151 wxPyEndAllowThreads(__tstate
);
31152 if (PyErr_Occurred()) SWIG_fail
;
31154 resultobj
= SWIG_FromInt((int)result
);
31177 static PyObject
*_wrap_MenuBar_FindItemById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31178 PyObject
*resultobj
;
31179 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31181 wxMenuItem
*result
;
31182 PyObject
* obj0
= 0 ;
31183 PyObject
* obj1
= 0 ;
31184 char *kwnames
[] = {
31185 (char *) "self",(char *) "id", NULL
31188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_FindItemById",kwnames
,&obj0
,&obj1
)) goto fail
;
31189 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31190 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31191 arg2
= (int) SWIG_AsInt(obj1
);
31192 if (PyErr_Occurred()) SWIG_fail
;
31194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31195 result
= (wxMenuItem
*)((wxMenuBar
const *)arg1
)->FindItem(arg2
);
31197 wxPyEndAllowThreads(__tstate
);
31198 if (PyErr_Occurred()) SWIG_fail
;
31201 resultobj
= wxPyMake_wxObject(result
);
31209 static PyObject
*_wrap_MenuBar_FindMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31210 PyObject
*resultobj
;
31211 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31212 wxString
*arg2
= 0 ;
31214 bool temp2
= False
;
31215 PyObject
* obj0
= 0 ;
31216 PyObject
* obj1
= 0 ;
31217 char *kwnames
[] = {
31218 (char *) "self",(char *) "title", NULL
31221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_FindMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
31222 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31223 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31225 arg2
= wxString_in_helper(obj1
);
31226 if (arg2
== NULL
) SWIG_fail
;
31230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31231 result
= (int)((wxMenuBar
const *)arg1
)->FindMenu((wxString
const &)*arg2
);
31233 wxPyEndAllowThreads(__tstate
);
31234 if (PyErr_Occurred()) SWIG_fail
;
31236 resultobj
= SWIG_FromInt((int)result
);
31251 static PyObject
*_wrap_MenuBar_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31252 PyObject
*resultobj
;
31253 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31256 PyObject
* obj0
= 0 ;
31257 PyObject
* obj1
= 0 ;
31258 PyObject
* obj2
= 0 ;
31259 char *kwnames
[] = {
31260 (char *) "self",(char *) "id",(char *) "enable", NULL
31263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Enable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31264 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31266 arg2
= (int) SWIG_AsInt(obj1
);
31267 if (PyErr_Occurred()) SWIG_fail
;
31268 arg3
= (bool) SWIG_AsBool(obj2
);
31269 if (PyErr_Occurred()) SWIG_fail
;
31271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31272 (arg1
)->Enable(arg2
,arg3
);
31274 wxPyEndAllowThreads(__tstate
);
31275 if (PyErr_Occurred()) SWIG_fail
;
31277 Py_INCREF(Py_None
); resultobj
= Py_None
;
31284 static PyObject
*_wrap_MenuBar_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31285 PyObject
*resultobj
;
31286 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31289 PyObject
* obj0
= 0 ;
31290 PyObject
* obj1
= 0 ;
31291 PyObject
* obj2
= 0 ;
31292 char *kwnames
[] = {
31293 (char *) "self",(char *) "id",(char *) "check", NULL
31296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31297 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31299 arg2
= (int) SWIG_AsInt(obj1
);
31300 if (PyErr_Occurred()) SWIG_fail
;
31301 arg3
= (bool) SWIG_AsBool(obj2
);
31302 if (PyErr_Occurred()) SWIG_fail
;
31304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31305 (arg1
)->Check(arg2
,arg3
);
31307 wxPyEndAllowThreads(__tstate
);
31308 if (PyErr_Occurred()) SWIG_fail
;
31310 Py_INCREF(Py_None
); resultobj
= Py_None
;
31317 static PyObject
*_wrap_MenuBar_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31318 PyObject
*resultobj
;
31319 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31322 PyObject
* obj0
= 0 ;
31323 PyObject
* obj1
= 0 ;
31324 char *kwnames
[] = {
31325 (char *) "self",(char *) "id", NULL
31328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
31329 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31330 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31331 arg2
= (int) SWIG_AsInt(obj1
);
31332 if (PyErr_Occurred()) SWIG_fail
;
31334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31335 result
= (bool)((wxMenuBar
const *)arg1
)->IsChecked(arg2
);
31337 wxPyEndAllowThreads(__tstate
);
31338 if (PyErr_Occurred()) SWIG_fail
;
31341 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31349 static PyObject
*_wrap_MenuBar_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31350 PyObject
*resultobj
;
31351 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31354 PyObject
* obj0
= 0 ;
31355 PyObject
* obj1
= 0 ;
31356 char *kwnames
[] = {
31357 (char *) "self",(char *) "id", NULL
31360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
31361 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31362 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31363 arg2
= (int) SWIG_AsInt(obj1
);
31364 if (PyErr_Occurred()) SWIG_fail
;
31366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31367 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabled(arg2
);
31369 wxPyEndAllowThreads(__tstate
);
31370 if (PyErr_Occurred()) SWIG_fail
;
31373 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31381 static PyObject
*_wrap_MenuBar_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31382 PyObject
*resultobj
;
31383 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31385 wxString
*arg3
= 0 ;
31386 bool temp3
= False
;
31387 PyObject
* obj0
= 0 ;
31388 PyObject
* obj1
= 0 ;
31389 PyObject
* obj2
= 0 ;
31390 char *kwnames
[] = {
31391 (char *) "self",(char *) "id",(char *) "label", NULL
31394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31395 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31396 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31397 arg2
= (int) SWIG_AsInt(obj1
);
31398 if (PyErr_Occurred()) SWIG_fail
;
31400 arg3
= wxString_in_helper(obj2
);
31401 if (arg3
== NULL
) SWIG_fail
;
31405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31406 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
31408 wxPyEndAllowThreads(__tstate
);
31409 if (PyErr_Occurred()) SWIG_fail
;
31411 Py_INCREF(Py_None
); resultobj
= Py_None
;
31426 static PyObject
*_wrap_MenuBar_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31427 PyObject
*resultobj
;
31428 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31431 PyObject
* obj0
= 0 ;
31432 PyObject
* obj1
= 0 ;
31433 char *kwnames
[] = {
31434 (char *) "self",(char *) "id", NULL
31437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
31438 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31439 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31440 arg2
= (int) SWIG_AsInt(obj1
);
31441 if (PyErr_Occurred()) SWIG_fail
;
31443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31444 result
= ((wxMenuBar
const *)arg1
)->GetLabel(arg2
);
31446 wxPyEndAllowThreads(__tstate
);
31447 if (PyErr_Occurred()) SWIG_fail
;
31451 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31453 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31462 static PyObject
*_wrap_MenuBar_SetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31463 PyObject
*resultobj
;
31464 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31466 wxString
*arg3
= 0 ;
31467 bool temp3
= False
;
31468 PyObject
* obj0
= 0 ;
31469 PyObject
* obj1
= 0 ;
31470 PyObject
* obj2
= 0 ;
31471 char *kwnames
[] = {
31472 (char *) "self",(char *) "id",(char *) "helpString", NULL
31475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetHelpString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31476 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31477 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31478 arg2
= (int) SWIG_AsInt(obj1
);
31479 if (PyErr_Occurred()) SWIG_fail
;
31481 arg3
= wxString_in_helper(obj2
);
31482 if (arg3
== NULL
) SWIG_fail
;
31486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31487 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
31489 wxPyEndAllowThreads(__tstate
);
31490 if (PyErr_Occurred()) SWIG_fail
;
31492 Py_INCREF(Py_None
); resultobj
= Py_None
;
31507 static PyObject
*_wrap_MenuBar_GetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31508 PyObject
*resultobj
;
31509 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31512 PyObject
* obj0
= 0 ;
31513 PyObject
* obj1
= 0 ;
31514 char *kwnames
[] = {
31515 (char *) "self",(char *) "id", NULL
31518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetHelpString",kwnames
,&obj0
,&obj1
)) goto fail
;
31519 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31520 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31521 arg2
= (int) SWIG_AsInt(obj1
);
31522 if (PyErr_Occurred()) SWIG_fail
;
31524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31525 result
= ((wxMenuBar
const *)arg1
)->GetHelpString(arg2
);
31527 wxPyEndAllowThreads(__tstate
);
31528 if (PyErr_Occurred()) SWIG_fail
;
31532 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31534 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31543 static PyObject
*_wrap_MenuBar_GetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31544 PyObject
*resultobj
;
31545 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31547 PyObject
* obj0
= 0 ;
31548 char *kwnames
[] = {
31549 (char *) "self", NULL
31552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_GetFrame",kwnames
,&obj0
)) goto fail
;
31553 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31554 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31557 result
= (wxFrame
*)((wxMenuBar
const *)arg1
)->GetFrame();
31559 wxPyEndAllowThreads(__tstate
);
31560 if (PyErr_Occurred()) SWIG_fail
;
31563 resultobj
= wxPyMake_wxObject(result
);
31571 static PyObject
*_wrap_MenuBar_IsAttached(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31572 PyObject
*resultobj
;
31573 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31575 PyObject
* obj0
= 0 ;
31576 char *kwnames
[] = {
31577 (char *) "self", NULL
31580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_IsAttached",kwnames
,&obj0
)) goto fail
;
31581 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31582 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31585 result
= (bool)((wxMenuBar
const *)arg1
)->IsAttached();
31587 wxPyEndAllowThreads(__tstate
);
31588 if (PyErr_Occurred()) SWIG_fail
;
31591 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31599 static PyObject
*_wrap_MenuBar_Attach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31600 PyObject
*resultobj
;
31601 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31602 wxFrame
*arg2
= (wxFrame
*) 0 ;
31603 PyObject
* obj0
= 0 ;
31604 PyObject
* obj1
= 0 ;
31605 char *kwnames
[] = {
31606 (char *) "self",(char *) "frame", NULL
31609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
31610 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31611 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31612 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
31613 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31616 (arg1
)->Attach(arg2
);
31618 wxPyEndAllowThreads(__tstate
);
31619 if (PyErr_Occurred()) SWIG_fail
;
31621 Py_INCREF(Py_None
); resultobj
= Py_None
;
31628 static PyObject
*_wrap_MenuBar_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31629 PyObject
*resultobj
;
31630 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31631 PyObject
* obj0
= 0 ;
31632 char *kwnames
[] = {
31633 (char *) "self", NULL
31636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_Detach",kwnames
,&obj0
)) goto fail
;
31637 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31638 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31643 wxPyEndAllowThreads(__tstate
);
31644 if (PyErr_Occurred()) SWIG_fail
;
31646 Py_INCREF(Py_None
); resultobj
= Py_None
;
31653 static PyObject
* MenuBar_swigregister(PyObject
*self
, PyObject
*args
) {
31655 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31656 SWIG_TypeClientData(SWIGTYPE_p_wxMenuBar
, obj
);
31658 return Py_BuildValue((char *)"");
31660 static PyObject
*_wrap_new_MenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31661 PyObject
*resultobj
;
31662 wxMenu
*arg1
= (wxMenu
*) NULL
;
31663 int arg2
= (int) wxID_ANY
;
31664 wxString
const &arg3_defvalue
= wxPyEmptyString
;
31665 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
31666 wxString
const &arg4_defvalue
= wxPyEmptyString
;
31667 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
31668 int arg5
= (int) wxITEM_NORMAL
;
31669 wxMenu
*arg6
= (wxMenu
*) NULL
;
31670 wxMenuItem
*result
;
31671 bool temp3
= False
;
31672 bool temp4
= False
;
31673 PyObject
* obj0
= 0 ;
31674 PyObject
* obj1
= 0 ;
31675 PyObject
* obj2
= 0 ;
31676 PyObject
* obj3
= 0 ;
31677 PyObject
* obj4
= 0 ;
31678 PyObject
* obj5
= 0 ;
31679 char *kwnames
[] = {
31680 (char *) "parentMenu",(char *) "id",(char *) "text",(char *) "help",(char *) "kind",(char *) "subMenu", NULL
31683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOO:new_MenuItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
31685 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31686 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31689 arg2
= (int) SWIG_AsInt(obj1
);
31690 if (PyErr_Occurred()) SWIG_fail
;
31694 arg3
= wxString_in_helper(obj2
);
31695 if (arg3
== NULL
) SWIG_fail
;
31701 arg4
= wxString_in_helper(obj3
);
31702 if (arg4
== NULL
) SWIG_fail
;
31707 arg5
= (wxItemKind
) SWIG_AsInt(obj4
);
31708 if (PyErr_Occurred()) SWIG_fail
;
31711 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxMenu
,
31712 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31716 result
= (wxMenuItem
*)new wxMenuItem(arg1
,arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
,arg6
);
31718 wxPyEndAllowThreads(__tstate
);
31719 if (PyErr_Occurred()) SWIG_fail
;
31722 resultobj
= wxPyMake_wxObject(result
);
31746 static PyObject
*_wrap_MenuItem_GetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31747 PyObject
*resultobj
;
31748 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31750 PyObject
* obj0
= 0 ;
31751 char *kwnames
[] = {
31752 (char *) "self", NULL
31755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetMenu",kwnames
,&obj0
)) goto fail
;
31756 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31757 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31760 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetMenu();
31762 wxPyEndAllowThreads(__tstate
);
31763 if (PyErr_Occurred()) SWIG_fail
;
31766 resultobj
= wxPyMake_wxObject(result
);
31774 static PyObject
*_wrap_MenuItem_SetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31775 PyObject
*resultobj
;
31776 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31777 wxMenu
*arg2
= (wxMenu
*) 0 ;
31778 PyObject
* obj0
= 0 ;
31779 PyObject
* obj1
= 0 ;
31780 char *kwnames
[] = {
31781 (char *) "self",(char *) "menu", NULL
31784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
31785 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31786 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31787 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
31788 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31791 (arg1
)->SetMenu(arg2
);
31793 wxPyEndAllowThreads(__tstate
);
31794 if (PyErr_Occurred()) SWIG_fail
;
31796 Py_INCREF(Py_None
); resultobj
= Py_None
;
31803 static PyObject
*_wrap_MenuItem_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31804 PyObject
*resultobj
;
31805 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31807 PyObject
* obj0
= 0 ;
31808 PyObject
* obj1
= 0 ;
31809 char *kwnames
[] = {
31810 (char *) "self",(char *) "id", NULL
31813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
31814 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31816 arg2
= (int) SWIG_AsInt(obj1
);
31817 if (PyErr_Occurred()) SWIG_fail
;
31819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31820 (arg1
)->SetId(arg2
);
31822 wxPyEndAllowThreads(__tstate
);
31823 if (PyErr_Occurred()) SWIG_fail
;
31825 Py_INCREF(Py_None
); resultobj
= Py_None
;
31832 static PyObject
*_wrap_MenuItem_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31833 PyObject
*resultobj
;
31834 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31836 PyObject
* obj0
= 0 ;
31837 char *kwnames
[] = {
31838 (char *) "self", NULL
31841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetId",kwnames
,&obj0
)) goto fail
;
31842 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31843 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31846 result
= (int)((wxMenuItem
const *)arg1
)->GetId();
31848 wxPyEndAllowThreads(__tstate
);
31849 if (PyErr_Occurred()) SWIG_fail
;
31851 resultobj
= SWIG_FromInt((int)result
);
31858 static PyObject
*_wrap_MenuItem_IsSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31859 PyObject
*resultobj
;
31860 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31862 PyObject
* obj0
= 0 ;
31863 char *kwnames
[] = {
31864 (char *) "self", NULL
31867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsSeparator",kwnames
,&obj0
)) goto fail
;
31868 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31869 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31872 result
= (bool)((wxMenuItem
const *)arg1
)->IsSeparator();
31874 wxPyEndAllowThreads(__tstate
);
31875 if (PyErr_Occurred()) SWIG_fail
;
31878 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31886 static PyObject
*_wrap_MenuItem_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31887 PyObject
*resultobj
;
31888 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31889 wxString
*arg2
= 0 ;
31890 bool temp2
= False
;
31891 PyObject
* obj0
= 0 ;
31892 PyObject
* obj1
= 0 ;
31893 char *kwnames
[] = {
31894 (char *) "self",(char *) "str", NULL
31897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
31898 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31899 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31901 arg2
= wxString_in_helper(obj1
);
31902 if (arg2
== NULL
) SWIG_fail
;
31906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31907 (arg1
)->SetText((wxString
const &)*arg2
);
31909 wxPyEndAllowThreads(__tstate
);
31910 if (PyErr_Occurred()) SWIG_fail
;
31912 Py_INCREF(Py_None
); resultobj
= Py_None
;
31927 static PyObject
*_wrap_MenuItem_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31928 PyObject
*resultobj
;
31929 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31931 PyObject
* obj0
= 0 ;
31932 char *kwnames
[] = {
31933 (char *) "self", NULL
31936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetLabel",kwnames
,&obj0
)) goto fail
;
31937 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31938 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31941 result
= ((wxMenuItem
const *)arg1
)->GetLabel();
31943 wxPyEndAllowThreads(__tstate
);
31944 if (PyErr_Occurred()) SWIG_fail
;
31948 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31950 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31959 static PyObject
*_wrap_MenuItem_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31960 PyObject
*resultobj
;
31961 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31963 PyObject
* obj0
= 0 ;
31964 char *kwnames
[] = {
31965 (char *) "self", NULL
31968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetText",kwnames
,&obj0
)) goto fail
;
31969 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31970 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31974 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetText();
31975 result
= (wxString
*) &_result_ref
;
31978 wxPyEndAllowThreads(__tstate
);
31979 if (PyErr_Occurred()) SWIG_fail
;
31983 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
31985 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
31994 static PyObject
*_wrap_MenuItem_GetLabelFromText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31995 PyObject
*resultobj
;
31996 wxString
*arg1
= 0 ;
31998 bool temp1
= False
;
31999 PyObject
* obj0
= 0 ;
32000 char *kwnames
[] = {
32001 (char *) "text", NULL
32004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetLabelFromText",kwnames
,&obj0
)) goto fail
;
32006 arg1
= wxString_in_helper(obj0
);
32007 if (arg1
== NULL
) SWIG_fail
;
32011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32012 result
= wxMenuItem::GetLabelFromText((wxString
const &)*arg1
);
32014 wxPyEndAllowThreads(__tstate
);
32015 if (PyErr_Occurred()) SWIG_fail
;
32019 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32021 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32038 static PyObject
*_wrap_MenuItem_GetKind(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32039 PyObject
*resultobj
;
32040 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32042 PyObject
* obj0
= 0 ;
32043 char *kwnames
[] = {
32044 (char *) "self", NULL
32047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetKind",kwnames
,&obj0
)) goto fail
;
32048 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32049 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32052 result
= (int)((wxMenuItem
const *)arg1
)->GetKind();
32054 wxPyEndAllowThreads(__tstate
);
32055 if (PyErr_Occurred()) SWIG_fail
;
32057 resultobj
= SWIG_FromInt((int)result
);
32064 static PyObject
*_wrap_MenuItem_SetKind(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32065 PyObject
*resultobj
;
32066 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32068 PyObject
* obj0
= 0 ;
32069 PyObject
* obj1
= 0 ;
32070 char *kwnames
[] = {
32071 (char *) "self",(char *) "kind", NULL
32074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetKind",kwnames
,&obj0
,&obj1
)) goto fail
;
32075 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32076 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32077 arg2
= (wxItemKind
) SWIG_AsInt(obj1
);
32078 if (PyErr_Occurred()) SWIG_fail
;
32080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32081 (arg1
)->SetKind((wxItemKind
)arg2
);
32083 wxPyEndAllowThreads(__tstate
);
32084 if (PyErr_Occurred()) SWIG_fail
;
32086 Py_INCREF(Py_None
); resultobj
= Py_None
;
32093 static PyObject
*_wrap_MenuItem_SetCheckable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32094 PyObject
*resultobj
;
32095 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32097 PyObject
* obj0
= 0 ;
32098 PyObject
* obj1
= 0 ;
32099 char *kwnames
[] = {
32100 (char *) "self",(char *) "checkable", NULL
32103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetCheckable",kwnames
,&obj0
,&obj1
)) goto fail
;
32104 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32105 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32106 arg2
= (bool) SWIG_AsBool(obj1
);
32107 if (PyErr_Occurred()) SWIG_fail
;
32109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32110 (arg1
)->SetCheckable(arg2
);
32112 wxPyEndAllowThreads(__tstate
);
32113 if (PyErr_Occurred()) SWIG_fail
;
32115 Py_INCREF(Py_None
); resultobj
= Py_None
;
32122 static PyObject
*_wrap_MenuItem_IsCheckable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32123 PyObject
*resultobj
;
32124 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32126 PyObject
* obj0
= 0 ;
32127 char *kwnames
[] = {
32128 (char *) "self", NULL
32131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsCheckable",kwnames
,&obj0
)) goto fail
;
32132 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32133 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32136 result
= (bool)((wxMenuItem
const *)arg1
)->IsCheckable();
32138 wxPyEndAllowThreads(__tstate
);
32139 if (PyErr_Occurred()) SWIG_fail
;
32142 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32150 static PyObject
*_wrap_MenuItem_IsSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32151 PyObject
*resultobj
;
32152 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32154 PyObject
* obj0
= 0 ;
32155 char *kwnames
[] = {
32156 (char *) "self", NULL
32159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsSubMenu",kwnames
,&obj0
)) goto fail
;
32160 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32161 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32164 result
= (bool)((wxMenuItem
const *)arg1
)->IsSubMenu();
32166 wxPyEndAllowThreads(__tstate
);
32167 if (PyErr_Occurred()) SWIG_fail
;
32170 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32178 static PyObject
*_wrap_MenuItem_SetSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32179 PyObject
*resultobj
;
32180 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32181 wxMenu
*arg2
= (wxMenu
*) 0 ;
32182 PyObject
* obj0
= 0 ;
32183 PyObject
* obj1
= 0 ;
32184 char *kwnames
[] = {
32185 (char *) "self",(char *) "menu", NULL
32188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetSubMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
32189 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32190 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32191 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
32192 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32195 (arg1
)->SetSubMenu(arg2
);
32197 wxPyEndAllowThreads(__tstate
);
32198 if (PyErr_Occurred()) SWIG_fail
;
32200 Py_INCREF(Py_None
); resultobj
= Py_None
;
32207 static PyObject
*_wrap_MenuItem_GetSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32208 PyObject
*resultobj
;
32209 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32211 PyObject
* obj0
= 0 ;
32212 char *kwnames
[] = {
32213 (char *) "self", NULL
32216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetSubMenu",kwnames
,&obj0
)) goto fail
;
32217 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32218 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32221 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetSubMenu();
32223 wxPyEndAllowThreads(__tstate
);
32224 if (PyErr_Occurred()) SWIG_fail
;
32227 resultobj
= wxPyMake_wxObject(result
);
32235 static PyObject
*_wrap_MenuItem_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32236 PyObject
*resultobj
;
32237 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32238 bool arg2
= (bool) True
;
32239 PyObject
* obj0
= 0 ;
32240 PyObject
* obj1
= 0 ;
32241 char *kwnames
[] = {
32242 (char *) "self",(char *) "enable", NULL
32245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
32246 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32247 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32249 arg2
= (bool) SWIG_AsBool(obj1
);
32250 if (PyErr_Occurred()) SWIG_fail
;
32253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32254 (arg1
)->Enable(arg2
);
32256 wxPyEndAllowThreads(__tstate
);
32257 if (PyErr_Occurred()) SWIG_fail
;
32259 Py_INCREF(Py_None
); resultobj
= Py_None
;
32266 static PyObject
*_wrap_MenuItem_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32267 PyObject
*resultobj
;
32268 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32270 PyObject
* obj0
= 0 ;
32271 char *kwnames
[] = {
32272 (char *) "self", NULL
32275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsEnabled",kwnames
,&obj0
)) goto fail
;
32276 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32277 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32280 result
= (bool)((wxMenuItem
const *)arg1
)->IsEnabled();
32282 wxPyEndAllowThreads(__tstate
);
32283 if (PyErr_Occurred()) SWIG_fail
;
32286 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32294 static PyObject
*_wrap_MenuItem_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32295 PyObject
*resultobj
;
32296 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32297 bool arg2
= (bool) True
;
32298 PyObject
* obj0
= 0 ;
32299 PyObject
* obj1
= 0 ;
32300 char *kwnames
[] = {
32301 (char *) "self",(char *) "check", NULL
32304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Check",kwnames
,&obj0
,&obj1
)) goto fail
;
32305 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32306 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32308 arg2
= (bool) SWIG_AsBool(obj1
);
32309 if (PyErr_Occurred()) SWIG_fail
;
32312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32313 (arg1
)->Check(arg2
);
32315 wxPyEndAllowThreads(__tstate
);
32316 if (PyErr_Occurred()) SWIG_fail
;
32318 Py_INCREF(Py_None
); resultobj
= Py_None
;
32325 static PyObject
*_wrap_MenuItem_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32326 PyObject
*resultobj
;
32327 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32329 PyObject
* obj0
= 0 ;
32330 char *kwnames
[] = {
32331 (char *) "self", NULL
32334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsChecked",kwnames
,&obj0
)) goto fail
;
32335 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32336 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32339 result
= (bool)((wxMenuItem
const *)arg1
)->IsChecked();
32341 wxPyEndAllowThreads(__tstate
);
32342 if (PyErr_Occurred()) SWIG_fail
;
32345 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32353 static PyObject
*_wrap_MenuItem_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32354 PyObject
*resultobj
;
32355 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32356 PyObject
* obj0
= 0 ;
32357 char *kwnames
[] = {
32358 (char *) "self", NULL
32361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_Toggle",kwnames
,&obj0
)) goto fail
;
32362 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32363 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32368 wxPyEndAllowThreads(__tstate
);
32369 if (PyErr_Occurred()) SWIG_fail
;
32371 Py_INCREF(Py_None
); resultobj
= Py_None
;
32378 static PyObject
*_wrap_MenuItem_SetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32379 PyObject
*resultobj
;
32380 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32381 wxString
*arg2
= 0 ;
32382 bool temp2
= False
;
32383 PyObject
* obj0
= 0 ;
32384 PyObject
* obj1
= 0 ;
32385 char *kwnames
[] = {
32386 (char *) "self",(char *) "str", NULL
32389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
32390 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32391 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32393 arg2
= wxString_in_helper(obj1
);
32394 if (arg2
== NULL
) SWIG_fail
;
32398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32399 (arg1
)->SetHelp((wxString
const &)*arg2
);
32401 wxPyEndAllowThreads(__tstate
);
32402 if (PyErr_Occurred()) SWIG_fail
;
32404 Py_INCREF(Py_None
); resultobj
= Py_None
;
32419 static PyObject
*_wrap_MenuItem_GetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32420 PyObject
*resultobj
;
32421 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32423 PyObject
* obj0
= 0 ;
32424 char *kwnames
[] = {
32425 (char *) "self", NULL
32428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetHelp",kwnames
,&obj0
)) goto fail
;
32429 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32430 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32434 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetHelp();
32435 result
= (wxString
*) &_result_ref
;
32438 wxPyEndAllowThreads(__tstate
);
32439 if (PyErr_Occurred()) SWIG_fail
;
32443 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
32445 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
32454 static PyObject
*_wrap_MenuItem_GetAccel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32455 PyObject
*resultobj
;
32456 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32457 wxAcceleratorEntry
*result
;
32458 PyObject
* obj0
= 0 ;
32459 char *kwnames
[] = {
32460 (char *) "self", NULL
32463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetAccel",kwnames
,&obj0
)) goto fail
;
32464 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32465 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32468 result
= (wxAcceleratorEntry
*)((wxMenuItem
const *)arg1
)->GetAccel();
32470 wxPyEndAllowThreads(__tstate
);
32471 if (PyErr_Occurred()) SWIG_fail
;
32473 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 0);
32480 static PyObject
*_wrap_MenuItem_SetAccel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32481 PyObject
*resultobj
;
32482 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32483 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
32484 PyObject
* obj0
= 0 ;
32485 PyObject
* obj1
= 0 ;
32486 char *kwnames
[] = {
32487 (char *) "self",(char *) "accel", NULL
32490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetAccel",kwnames
,&obj0
,&obj1
)) goto fail
;
32491 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32492 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32493 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxAcceleratorEntry
,
32494 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32497 (arg1
)->SetAccel(arg2
);
32499 wxPyEndAllowThreads(__tstate
);
32500 if (PyErr_Occurred()) SWIG_fail
;
32502 Py_INCREF(Py_None
); resultobj
= Py_None
;
32509 static PyObject
*_wrap_MenuItem_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32510 PyObject
*resultobj
;
32511 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32513 PyObject
* obj0
= 0 ;
32514 PyObject
* obj1
= 0 ;
32515 char *kwnames
[] = {
32516 (char *) "self",(char *) "font", NULL
32519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
32520 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32521 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32522 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
32523 SWIG_POINTER_EXCEPTION
| 0)) == -1)
32525 if (arg2
== NULL
) {
32526 PyErr_SetString(PyExc_TypeError
,"null reference");
32530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32531 (arg1
)->SetFont((wxFont
const &)*arg2
);
32533 wxPyEndAllowThreads(__tstate
);
32534 if (PyErr_Occurred()) SWIG_fail
;
32536 Py_INCREF(Py_None
); resultobj
= Py_None
;
32543 static PyObject
*_wrap_MenuItem_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32544 PyObject
*resultobj
;
32545 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32547 PyObject
* obj0
= 0 ;
32548 char *kwnames
[] = {
32549 (char *) "self", NULL
32552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetFont",kwnames
,&obj0
)) goto fail
;
32553 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32554 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32557 result
= (arg1
)->GetFont();
32559 wxPyEndAllowThreads(__tstate
);
32560 if (PyErr_Occurred()) SWIG_fail
;
32563 wxFont
* resultptr
;
32564 resultptr
= new wxFont((wxFont
&) result
);
32565 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
32573 static PyObject
*_wrap_MenuItem_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32574 PyObject
*resultobj
;
32575 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32576 wxColour
*arg2
= 0 ;
32578 PyObject
* obj0
= 0 ;
32579 PyObject
* obj1
= 0 ;
32580 char *kwnames
[] = {
32581 (char *) "self",(char *) "colText", NULL
32584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
32585 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32586 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32589 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
32592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32593 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
32595 wxPyEndAllowThreads(__tstate
);
32596 if (PyErr_Occurred()) SWIG_fail
;
32598 Py_INCREF(Py_None
); resultobj
= Py_None
;
32605 static PyObject
*_wrap_MenuItem_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32606 PyObject
*resultobj
;
32607 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32609 PyObject
* obj0
= 0 ;
32610 char *kwnames
[] = {
32611 (char *) "self", NULL
32614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetTextColour",kwnames
,&obj0
)) goto fail
;
32615 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32616 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32619 result
= (arg1
)->GetTextColour();
32621 wxPyEndAllowThreads(__tstate
);
32622 if (PyErr_Occurred()) SWIG_fail
;
32625 wxColour
* resultptr
;
32626 resultptr
= new wxColour((wxColour
&) result
);
32627 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
32635 static PyObject
*_wrap_MenuItem_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32636 PyObject
*resultobj
;
32637 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32638 wxColour
*arg2
= 0 ;
32640 PyObject
* obj0
= 0 ;
32641 PyObject
* obj1
= 0 ;
32642 char *kwnames
[] = {
32643 (char *) "self",(char *) "colBack", NULL
32646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
32647 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32648 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32651 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
32654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32655 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
32657 wxPyEndAllowThreads(__tstate
);
32658 if (PyErr_Occurred()) SWIG_fail
;
32660 Py_INCREF(Py_None
); resultobj
= Py_None
;
32667 static PyObject
*_wrap_MenuItem_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32668 PyObject
*resultobj
;
32669 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32671 PyObject
* obj0
= 0 ;
32672 char *kwnames
[] = {
32673 (char *) "self", NULL
32676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
32677 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32678 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32681 result
= (arg1
)->GetBackgroundColour();
32683 wxPyEndAllowThreads(__tstate
);
32684 if (PyErr_Occurred()) SWIG_fail
;
32687 wxColour
* resultptr
;
32688 resultptr
= new wxColour((wxColour
&) result
);
32689 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
32697 static PyObject
*_wrap_MenuItem_SetBitmaps(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32698 PyObject
*resultobj
;
32699 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32700 wxBitmap
*arg2
= 0 ;
32701 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
32702 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
32703 PyObject
* obj0
= 0 ;
32704 PyObject
* obj1
= 0 ;
32705 PyObject
* obj2
= 0 ;
32706 char *kwnames
[] = {
32707 (char *) "self",(char *) "bmpChecked",(char *) "bmpUnchecked", NULL
32710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MenuItem_SetBitmaps",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32711 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32712 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32713 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
32714 SWIG_POINTER_EXCEPTION
| 0)) == -1)
32716 if (arg2
== NULL
) {
32717 PyErr_SetString(PyExc_TypeError
,"null reference");
32721 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
32722 SWIG_POINTER_EXCEPTION
| 0)) == -1)
32724 if (arg3
== NULL
) {
32725 PyErr_SetString(PyExc_TypeError
,"null reference");
32730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32731 (arg1
)->SetBitmaps((wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
32733 wxPyEndAllowThreads(__tstate
);
32734 if (PyErr_Occurred()) SWIG_fail
;
32736 Py_INCREF(Py_None
); resultobj
= Py_None
;
32743 static PyObject
*_wrap_MenuItem_SetDisabledBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32744 PyObject
*resultobj
;
32745 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32746 wxBitmap
*arg2
= 0 ;
32747 PyObject
* obj0
= 0 ;
32748 PyObject
* obj1
= 0 ;
32749 char *kwnames
[] = {
32750 (char *) "self",(char *) "bmpDisabled", NULL
32753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
32754 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32755 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32756 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
32757 SWIG_POINTER_EXCEPTION
| 0)) == -1)
32759 if (arg2
== NULL
) {
32760 PyErr_SetString(PyExc_TypeError
,"null reference");
32764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32765 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
32767 wxPyEndAllowThreads(__tstate
);
32768 if (PyErr_Occurred()) SWIG_fail
;
32770 Py_INCREF(Py_None
); resultobj
= Py_None
;
32777 static PyObject
*_wrap_MenuItem_GetDisabledBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32778 PyObject
*resultobj
;
32779 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32781 PyObject
* obj0
= 0 ;
32782 char *kwnames
[] = {
32783 (char *) "self", NULL
32786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetDisabledBitmap",kwnames
,&obj0
)) goto fail
;
32787 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32788 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32792 wxBitmap
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetDisabledBitmap();
32793 result
= (wxBitmap
*) &_result_ref
;
32796 wxPyEndAllowThreads(__tstate
);
32797 if (PyErr_Occurred()) SWIG_fail
;
32800 wxBitmap
* resultptr
= new wxBitmap(*result
);
32801 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
32809 static PyObject
*_wrap_MenuItem_SetMarginWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32810 PyObject
*resultobj
;
32811 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32813 PyObject
* obj0
= 0 ;
32814 PyObject
* obj1
= 0 ;
32815 char *kwnames
[] = {
32816 (char *) "self",(char *) "nWidth", NULL
32819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetMarginWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
32820 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32821 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32822 arg2
= (int) SWIG_AsInt(obj1
);
32823 if (PyErr_Occurred()) SWIG_fail
;
32825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32826 (arg1
)->SetMarginWidth(arg2
);
32828 wxPyEndAllowThreads(__tstate
);
32829 if (PyErr_Occurred()) SWIG_fail
;
32831 Py_INCREF(Py_None
); resultobj
= Py_None
;
32838 static PyObject
*_wrap_MenuItem_GetMarginWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32839 PyObject
*resultobj
;
32840 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32842 PyObject
* obj0
= 0 ;
32843 char *kwnames
[] = {
32844 (char *) "self", NULL
32847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetMarginWidth",kwnames
,&obj0
)) goto fail
;
32848 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32849 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32852 result
= (int)(arg1
)->GetMarginWidth();
32854 wxPyEndAllowThreads(__tstate
);
32855 if (PyErr_Occurred()) SWIG_fail
;
32857 resultobj
= SWIG_FromInt((int)result
);
32864 static PyObject
*_wrap_MenuItem_GetDefaultMarginWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32865 PyObject
*resultobj
;
32867 char *kwnames
[] = {
32871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MenuItem_GetDefaultMarginWidth",kwnames
)) goto fail
;
32873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32874 result
= (int)wxMenuItem::GetDefaultMarginWidth();
32876 wxPyEndAllowThreads(__tstate
);
32877 if (PyErr_Occurred()) SWIG_fail
;
32879 resultobj
= SWIG_FromInt((int)result
);
32886 static PyObject
*_wrap_MenuItem_IsOwnerDrawn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32887 PyObject
*resultobj
;
32888 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32890 PyObject
* obj0
= 0 ;
32891 char *kwnames
[] = {
32892 (char *) "self", NULL
32895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsOwnerDrawn",kwnames
,&obj0
)) goto fail
;
32896 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32897 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32900 result
= (bool)(arg1
)->IsOwnerDrawn();
32902 wxPyEndAllowThreads(__tstate
);
32903 if (PyErr_Occurred()) SWIG_fail
;
32906 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32914 static PyObject
*_wrap_MenuItem_SetOwnerDrawn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32915 PyObject
*resultobj
;
32916 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32917 bool arg2
= (bool) True
;
32918 PyObject
* obj0
= 0 ;
32919 PyObject
* obj1
= 0 ;
32920 char *kwnames
[] = {
32921 (char *) "self",(char *) "ownerDrawn", NULL
32924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_SetOwnerDrawn",kwnames
,&obj0
,&obj1
)) goto fail
;
32925 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32926 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32928 arg2
= (bool) SWIG_AsBool(obj1
);
32929 if (PyErr_Occurred()) SWIG_fail
;
32932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32933 (arg1
)->SetOwnerDrawn(arg2
);
32935 wxPyEndAllowThreads(__tstate
);
32936 if (PyErr_Occurred()) SWIG_fail
;
32938 Py_INCREF(Py_None
); resultobj
= Py_None
;
32945 static PyObject
*_wrap_MenuItem_ResetOwnerDrawn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32946 PyObject
*resultobj
;
32947 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32948 PyObject
* obj0
= 0 ;
32949 char *kwnames
[] = {
32950 (char *) "self", NULL
32953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_ResetOwnerDrawn",kwnames
,&obj0
)) goto fail
;
32954 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32955 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32958 (arg1
)->ResetOwnerDrawn();
32960 wxPyEndAllowThreads(__tstate
);
32961 if (PyErr_Occurred()) SWIG_fail
;
32963 Py_INCREF(Py_None
); resultobj
= Py_None
;
32970 static PyObject
*_wrap_MenuItem_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32971 PyObject
*resultobj
;
32972 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32973 wxBitmap
*arg2
= 0 ;
32974 PyObject
* obj0
= 0 ;
32975 PyObject
* obj1
= 0 ;
32976 char *kwnames
[] = {
32977 (char *) "self",(char *) "bitmap", NULL
32980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
32981 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32982 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32983 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
32984 SWIG_POINTER_EXCEPTION
| 0)) == -1)
32986 if (arg2
== NULL
) {
32987 PyErr_SetString(PyExc_TypeError
,"null reference");
32991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32992 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
32994 wxPyEndAllowThreads(__tstate
);
32995 if (PyErr_Occurred()) SWIG_fail
;
32997 Py_INCREF(Py_None
); resultobj
= Py_None
;
33004 static PyObject
*_wrap_MenuItem_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33005 PyObject
*resultobj
;
33006 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33008 PyObject
* obj0
= 0 ;
33009 char *kwnames
[] = {
33010 (char *) "self", NULL
33013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetBitmap",kwnames
,&obj0
)) goto fail
;
33014 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33015 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33019 wxBitmap
const &_result_ref
= (arg1
)->GetBitmap();
33020 result
= (wxBitmap
*) &_result_ref
;
33023 wxPyEndAllowThreads(__tstate
);
33024 if (PyErr_Occurred()) SWIG_fail
;
33027 wxBitmap
* resultptr
= new wxBitmap(*result
);
33028 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
33036 static PyObject
* MenuItem_swigregister(PyObject
*self
, PyObject
*args
) {
33038 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33039 SWIG_TypeClientData(SWIGTYPE_p_wxMenuItem
, obj
);
33041 return Py_BuildValue((char *)"");
33043 static int _wrap_ControlNameStr_set(PyObject
*_val
) {
33044 PyErr_SetString(PyExc_TypeError
,"Variable ControlNameStr is read-only.");
33049 static PyObject
*_wrap_ControlNameStr_get() {
33054 pyobj
= PyUnicode_FromWideChar((&wxPyControlNameStr
)->c_str(), (&wxPyControlNameStr
)->Len());
33056 pyobj
= PyString_FromStringAndSize((&wxPyControlNameStr
)->c_str(), (&wxPyControlNameStr
)->Len());
33063 static PyObject
*_wrap_new_Control(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33064 PyObject
*resultobj
;
33065 wxWindow
*arg1
= (wxWindow
*) 0 ;
33067 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
33068 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
33069 wxSize
const &arg4_defvalue
= wxDefaultSize
;
33070 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
33071 long arg5
= (long) 0 ;
33072 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
33073 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
33074 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
33075 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
33079 bool temp7
= False
;
33080 PyObject
* obj0
= 0 ;
33081 PyObject
* obj1
= 0 ;
33082 PyObject
* obj2
= 0 ;
33083 PyObject
* obj3
= 0 ;
33084 PyObject
* obj4
= 0 ;
33085 PyObject
* obj5
= 0 ;
33086 PyObject
* obj6
= 0 ;
33087 char *kwnames
[] = {
33088 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
33091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:new_Control",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
33092 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
33093 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33094 arg2
= (int) SWIG_AsInt(obj1
);
33095 if (PyErr_Occurred()) SWIG_fail
;
33099 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
33105 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
33109 arg5
= (long) SWIG_AsLong(obj4
);
33110 if (PyErr_Occurred()) SWIG_fail
;
33113 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
33114 SWIG_POINTER_EXCEPTION
| 0)) == -1)
33116 if (arg6
== NULL
) {
33117 PyErr_SetString(PyExc_TypeError
,"null reference");
33123 arg7
= wxString_in_helper(obj6
);
33124 if (arg7
== NULL
) SWIG_fail
;
33129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33130 result
= (wxControl
*)new wxControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
33132 wxPyEndAllowThreads(__tstate
);
33133 if (PyErr_Occurred()) SWIG_fail
;
33136 resultobj
= wxPyMake_wxObject(result
);
33152 static PyObject
*_wrap_new_PreControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33153 PyObject
*resultobj
;
33155 char *kwnames
[] = {
33159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreControl",kwnames
)) goto fail
;
33161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33162 result
= (wxControl
*)new wxControl();
33164 wxPyEndAllowThreads(__tstate
);
33165 if (PyErr_Occurred()) SWIG_fail
;
33168 resultobj
= wxPyMake_wxObject(result
);
33176 static PyObject
*_wrap_Control_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33177 PyObject
*resultobj
;
33178 wxControl
*arg1
= (wxControl
*) 0 ;
33179 wxWindow
*arg2
= (wxWindow
*) 0 ;
33181 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
33182 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
33183 wxSize
const &arg5_defvalue
= wxDefaultSize
;
33184 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
33185 long arg6
= (long) 0 ;
33186 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
33187 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
33188 wxString
const &arg8_defvalue
= wxPyControlNameStr
;
33189 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
33193 bool temp8
= False
;
33194 PyObject
* obj0
= 0 ;
33195 PyObject
* obj1
= 0 ;
33196 PyObject
* obj2
= 0 ;
33197 PyObject
* obj3
= 0 ;
33198 PyObject
* obj4
= 0 ;
33199 PyObject
* obj5
= 0 ;
33200 PyObject
* obj6
= 0 ;
33201 PyObject
* obj7
= 0 ;
33202 char *kwnames
[] = {
33203 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
33206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:Control_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
33207 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxControl
,
33208 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33209 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
33210 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33211 arg3
= (int) SWIG_AsInt(obj2
);
33212 if (PyErr_Occurred()) SWIG_fail
;
33216 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
33222 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
33226 arg6
= (long) SWIG_AsLong(obj5
);
33227 if (PyErr_Occurred()) SWIG_fail
;
33230 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
33231 SWIG_POINTER_EXCEPTION
| 0)) == -1)
33233 if (arg7
== NULL
) {
33234 PyErr_SetString(PyExc_TypeError
,"null reference");
33240 arg8
= wxString_in_helper(obj7
);
33241 if (arg8
== NULL
) SWIG_fail
;
33246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33247 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
33249 wxPyEndAllowThreads(__tstate
);
33250 if (PyErr_Occurred()) SWIG_fail
;
33253 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33269 static PyObject
*_wrap_Control_Command(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33270 PyObject
*resultobj
;
33271 wxControl
*arg1
= (wxControl
*) 0 ;
33272 wxCommandEvent
*arg2
= 0 ;
33273 PyObject
* obj0
= 0 ;
33274 PyObject
* obj1
= 0 ;
33275 char *kwnames
[] = {
33276 (char *) "self",(char *) "event", NULL
33279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Control_Command",kwnames
,&obj0
,&obj1
)) goto fail
;
33280 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxControl
,
33281 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33282 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCommandEvent
,
33283 SWIG_POINTER_EXCEPTION
| 0)) == -1)
33285 if (arg2
== NULL
) {
33286 PyErr_SetString(PyExc_TypeError
,"null reference");
33290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33291 (arg1
)->Command(*arg2
);
33293 wxPyEndAllowThreads(__tstate
);
33294 if (PyErr_Occurred()) SWIG_fail
;
33296 Py_INCREF(Py_None
); resultobj
= Py_None
;
33303 static PyObject
*_wrap_Control_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33304 PyObject
*resultobj
;
33305 wxControl
*arg1
= (wxControl
*) 0 ;
33307 PyObject
* obj0
= 0 ;
33308 char *kwnames
[] = {
33309 (char *) "self", NULL
33312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Control_GetLabel",kwnames
,&obj0
)) goto fail
;
33313 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxControl
,
33314 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33317 result
= (arg1
)->GetLabel();
33319 wxPyEndAllowThreads(__tstate
);
33320 if (PyErr_Occurred()) SWIG_fail
;
33324 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33326 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33335 static PyObject
*_wrap_Control_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33336 PyObject
*resultobj
;
33337 wxControl
*arg1
= (wxControl
*) 0 ;
33338 wxString
*arg2
= 0 ;
33339 bool temp2
= False
;
33340 PyObject
* obj0
= 0 ;
33341 PyObject
* obj1
= 0 ;
33342 char *kwnames
[] = {
33343 (char *) "self",(char *) "label", NULL
33346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Control_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
33347 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxControl
,
33348 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33350 arg2
= wxString_in_helper(obj1
);
33351 if (arg2
== NULL
) SWIG_fail
;
33355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33356 (arg1
)->SetLabel((wxString
const &)*arg2
);
33358 wxPyEndAllowThreads(__tstate
);
33359 if (PyErr_Occurred()) SWIG_fail
;
33361 Py_INCREF(Py_None
); resultobj
= Py_None
;
33376 static PyObject
*_wrap_Control_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33377 PyObject
*resultobj
;
33378 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
33379 wxVisualAttributes result
;
33380 PyObject
* obj0
= 0 ;
33381 char *kwnames
[] = {
33382 (char *) "variant", NULL
33385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Control_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
33387 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
33388 if (PyErr_Occurred()) SWIG_fail
;
33391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33392 result
= wxControl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
33394 wxPyEndAllowThreads(__tstate
);
33395 if (PyErr_Occurred()) SWIG_fail
;
33398 wxVisualAttributes
* resultptr
;
33399 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
33400 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
33408 static PyObject
* Control_swigregister(PyObject
*self
, PyObject
*args
) {
33410 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33411 SWIG_TypeClientData(SWIGTYPE_p_wxControl
, obj
);
33413 return Py_BuildValue((char *)"");
33415 static PyObject
*_wrap_ItemContainer_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33416 PyObject
*resultobj
;
33417 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33418 wxString
*arg2
= 0 ;
33419 PyObject
*arg3
= (PyObject
*) NULL
;
33421 bool temp2
= False
;
33422 PyObject
* obj0
= 0 ;
33423 PyObject
* obj1
= 0 ;
33424 PyObject
* obj2
= 0 ;
33425 char *kwnames
[] = {
33426 (char *) "self",(char *) "item",(char *) "clientData", NULL
33429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ItemContainer_Append",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33430 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33431 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33433 arg2
= wxString_in_helper(obj1
);
33434 if (arg2
== NULL
) SWIG_fail
;
33441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33442 result
= (int)wxItemContainer_Append(arg1
,(wxString
const &)*arg2
,arg3
);
33444 wxPyEndAllowThreads(__tstate
);
33445 if (PyErr_Occurred()) SWIG_fail
;
33447 resultobj
= SWIG_FromInt((int)result
);
33462 static PyObject
*_wrap_ItemContainer_AppendItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33463 PyObject
*resultobj
;
33464 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33465 wxArrayString
*arg2
= 0 ;
33466 bool temp2
= False
;
33467 PyObject
* obj0
= 0 ;
33468 PyObject
* obj1
= 0 ;
33469 char *kwnames
[] = {
33470 (char *) "self",(char *) "strings", NULL
33473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_AppendItems",kwnames
,&obj0
,&obj1
)) goto fail
;
33474 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33475 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33477 if (! PySequence_Check(obj1
)) {
33478 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
33481 arg2
= new wxArrayString
;
33483 int i
, len
=PySequence_Length(obj1
);
33484 for (i
=0; i
<len
; i
++) {
33485 PyObject
* item
= PySequence_GetItem(obj1
, i
);
33487 PyObject
* str
= PyObject_Unicode(item
);
33489 PyObject
* str
= PyObject_Str(item
);
33491 if (PyErr_Occurred()) SWIG_fail
;
33492 arg2
->Add(Py2wxString(str
));
33498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33499 (arg1
)->Append((wxArrayString
const &)*arg2
);
33501 wxPyEndAllowThreads(__tstate
);
33502 if (PyErr_Occurred()) SWIG_fail
;
33504 Py_INCREF(Py_None
); resultobj
= Py_None
;
33506 if (temp2
) delete arg2
;
33511 if (temp2
) delete arg2
;
33517 static PyObject
*_wrap_ItemContainer_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33518 PyObject
*resultobj
;
33519 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33520 wxString
*arg2
= 0 ;
33522 PyObject
*arg4
= (PyObject
*) NULL
;
33524 bool temp2
= False
;
33525 PyObject
* obj0
= 0 ;
33526 PyObject
* obj1
= 0 ;
33527 PyObject
* obj2
= 0 ;
33528 PyObject
* obj3
= 0 ;
33529 char *kwnames
[] = {
33530 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
33533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ItemContainer_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
33534 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33535 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33537 arg2
= wxString_in_helper(obj1
);
33538 if (arg2
== NULL
) SWIG_fail
;
33541 arg3
= (int) SWIG_AsInt(obj2
);
33542 if (PyErr_Occurred()) SWIG_fail
;
33547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33548 result
= (int)wxItemContainer_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
33550 wxPyEndAllowThreads(__tstate
);
33551 if (PyErr_Occurred()) SWIG_fail
;
33553 resultobj
= SWIG_FromInt((int)result
);
33568 static PyObject
*_wrap_ItemContainer_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33569 PyObject
*resultobj
;
33570 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33571 PyObject
* obj0
= 0 ;
33572 char *kwnames
[] = {
33573 (char *) "self", NULL
33576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_Clear",kwnames
,&obj0
)) goto fail
;
33577 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33578 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33583 wxPyEndAllowThreads(__tstate
);
33584 if (PyErr_Occurred()) SWIG_fail
;
33586 Py_INCREF(Py_None
); resultobj
= Py_None
;
33593 static PyObject
*_wrap_ItemContainer_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33594 PyObject
*resultobj
;
33595 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33597 PyObject
* obj0
= 0 ;
33598 PyObject
* obj1
= 0 ;
33599 char *kwnames
[] = {
33600 (char *) "self",(char *) "n", NULL
33603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
33604 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33605 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33606 arg2
= (int) SWIG_AsInt(obj1
);
33607 if (PyErr_Occurred()) SWIG_fail
;
33609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33610 (arg1
)->Delete(arg2
);
33612 wxPyEndAllowThreads(__tstate
);
33613 if (PyErr_Occurred()) SWIG_fail
;
33615 Py_INCREF(Py_None
); resultobj
= Py_None
;
33622 static PyObject
*_wrap_ItemContainer_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33623 PyObject
*resultobj
;
33624 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33626 PyObject
* obj0
= 0 ;
33627 char *kwnames
[] = {
33628 (char *) "self", NULL
33631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetCount",kwnames
,&obj0
)) goto fail
;
33632 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33633 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33636 result
= (int)((wxItemContainer
const *)arg1
)->GetCount();
33638 wxPyEndAllowThreads(__tstate
);
33639 if (PyErr_Occurred()) SWIG_fail
;
33641 resultobj
= SWIG_FromInt((int)result
);
33648 static PyObject
*_wrap_ItemContainer_IsEmpty(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33649 PyObject
*resultobj
;
33650 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33652 PyObject
* obj0
= 0 ;
33653 char *kwnames
[] = {
33654 (char *) "self", NULL
33657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_IsEmpty",kwnames
,&obj0
)) goto fail
;
33658 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33659 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33662 result
= (bool)((wxItemContainer
const *)arg1
)->IsEmpty();
33664 wxPyEndAllowThreads(__tstate
);
33665 if (PyErr_Occurred()) SWIG_fail
;
33668 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33676 static PyObject
*_wrap_ItemContainer_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33677 PyObject
*resultobj
;
33678 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33681 PyObject
* obj0
= 0 ;
33682 PyObject
* obj1
= 0 ;
33683 char *kwnames
[] = {
33684 (char *) "self",(char *) "n", NULL
33687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_GetString",kwnames
,&obj0
,&obj1
)) goto fail
;
33688 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33689 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33690 arg2
= (int) SWIG_AsInt(obj1
);
33691 if (PyErr_Occurred()) SWIG_fail
;
33693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33694 result
= ((wxItemContainer
const *)arg1
)->GetString(arg2
);
33696 wxPyEndAllowThreads(__tstate
);
33697 if (PyErr_Occurred()) SWIG_fail
;
33701 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33703 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33712 static PyObject
*_wrap_ItemContainer_GetStrings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33713 PyObject
*resultobj
;
33714 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33715 wxArrayString result
;
33716 PyObject
* obj0
= 0 ;
33717 char *kwnames
[] = {
33718 (char *) "self", NULL
33721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetStrings",kwnames
,&obj0
)) goto fail
;
33722 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33723 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33726 result
= ((wxItemContainer
const *)arg1
)->GetStrings();
33728 wxPyEndAllowThreads(__tstate
);
33729 if (PyErr_Occurred()) SWIG_fail
;
33732 resultobj
= wxArrayString2PyList_helper(result
);
33740 static PyObject
*_wrap_ItemContainer_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33741 PyObject
*resultobj
;
33742 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33744 wxString
*arg3
= 0 ;
33745 bool temp3
= False
;
33746 PyObject
* obj0
= 0 ;
33747 PyObject
* obj1
= 0 ;
33748 PyObject
* obj2
= 0 ;
33749 char *kwnames
[] = {
33750 (char *) "self",(char *) "n",(char *) "s", NULL
33753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ItemContainer_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33754 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33755 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33756 arg2
= (int) SWIG_AsInt(obj1
);
33757 if (PyErr_Occurred()) SWIG_fail
;
33759 arg3
= wxString_in_helper(obj2
);
33760 if (arg3
== NULL
) SWIG_fail
;
33764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33765 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
33767 wxPyEndAllowThreads(__tstate
);
33768 if (PyErr_Occurred()) SWIG_fail
;
33770 Py_INCREF(Py_None
); resultobj
= Py_None
;
33785 static PyObject
*_wrap_ItemContainer_FindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33786 PyObject
*resultobj
;
33787 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33788 wxString
*arg2
= 0 ;
33790 bool temp2
= False
;
33791 PyObject
* obj0
= 0 ;
33792 PyObject
* obj1
= 0 ;
33793 char *kwnames
[] = {
33794 (char *) "self",(char *) "s", NULL
33797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_FindString",kwnames
,&obj0
,&obj1
)) goto fail
;
33798 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33799 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33801 arg2
= wxString_in_helper(obj1
);
33802 if (arg2
== NULL
) SWIG_fail
;
33806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33807 result
= (int)((wxItemContainer
const *)arg1
)->FindString((wxString
const &)*arg2
);
33809 wxPyEndAllowThreads(__tstate
);
33810 if (PyErr_Occurred()) SWIG_fail
;
33812 resultobj
= SWIG_FromInt((int)result
);
33827 static PyObject
*_wrap_ItemContainer_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33828 PyObject
*resultobj
;
33829 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33831 PyObject
* obj0
= 0 ;
33832 PyObject
* obj1
= 0 ;
33833 char *kwnames
[] = {
33834 (char *) "self",(char *) "n", NULL
33837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_Select",kwnames
,&obj0
,&obj1
)) goto fail
;
33838 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33839 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33840 arg2
= (int) SWIG_AsInt(obj1
);
33841 if (PyErr_Occurred()) SWIG_fail
;
33843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33844 (arg1
)->Select(arg2
);
33846 wxPyEndAllowThreads(__tstate
);
33847 if (PyErr_Occurred()) SWIG_fail
;
33849 Py_INCREF(Py_None
); resultobj
= Py_None
;
33856 static PyObject
*_wrap_ItemContainer_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33857 PyObject
*resultobj
;
33858 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33860 PyObject
* obj0
= 0 ;
33861 char *kwnames
[] = {
33862 (char *) "self", NULL
33865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetSelection",kwnames
,&obj0
)) goto fail
;
33866 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33867 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33870 result
= (int)((wxItemContainer
const *)arg1
)->GetSelection();
33872 wxPyEndAllowThreads(__tstate
);
33873 if (PyErr_Occurred()) SWIG_fail
;
33875 resultobj
= SWIG_FromInt((int)result
);
33882 static PyObject
*_wrap_ItemContainer_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33883 PyObject
*resultobj
;
33884 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33886 PyObject
* obj0
= 0 ;
33887 char *kwnames
[] = {
33888 (char *) "self", NULL
33891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetStringSelection",kwnames
,&obj0
)) goto fail
;
33892 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33893 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33896 result
= ((wxItemContainer
const *)arg1
)->GetStringSelection();
33898 wxPyEndAllowThreads(__tstate
);
33899 if (PyErr_Occurred()) SWIG_fail
;
33903 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33905 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33914 static PyObject
*_wrap_ItemContainer_GetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33915 PyObject
*resultobj
;
33916 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33919 PyObject
* obj0
= 0 ;
33920 PyObject
* obj1
= 0 ;
33921 char *kwnames
[] = {
33922 (char *) "self",(char *) "n", NULL
33925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_GetClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
33926 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33927 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33928 arg2
= (int) SWIG_AsInt(obj1
);
33929 if (PyErr_Occurred()) SWIG_fail
;
33931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33932 result
= (PyObject
*)wxItemContainer_GetClientData(arg1
,arg2
);
33934 wxPyEndAllowThreads(__tstate
);
33935 if (PyErr_Occurred()) SWIG_fail
;
33937 resultobj
= result
;
33944 static PyObject
*_wrap_ItemContainer_SetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33945 PyObject
*resultobj
;
33946 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33948 PyObject
*arg3
= (PyObject
*) 0 ;
33949 PyObject
* obj0
= 0 ;
33950 PyObject
* obj1
= 0 ;
33951 PyObject
* obj2
= 0 ;
33952 char *kwnames
[] = {
33953 (char *) "self",(char *) "n",(char *) "clientData", NULL
33956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ItemContainer_SetClientData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33957 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33958 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33959 arg2
= (int) SWIG_AsInt(obj1
);
33960 if (PyErr_Occurred()) SWIG_fail
;
33963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33964 wxItemContainer_SetClientData(arg1
,arg2
,arg3
);
33966 wxPyEndAllowThreads(__tstate
);
33967 if (PyErr_Occurred()) SWIG_fail
;
33969 Py_INCREF(Py_None
); resultobj
= Py_None
;
33976 static PyObject
* ItemContainer_swigregister(PyObject
*self
, PyObject
*args
) {
33978 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33979 SWIG_TypeClientData(SWIGTYPE_p_wxItemContainer
, obj
);
33981 return Py_BuildValue((char *)"");
33983 static PyObject
* ControlWithItems_swigregister(PyObject
*self
, PyObject
*args
) {
33985 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33986 SWIG_TypeClientData(SWIGTYPE_p_wxControlWithItems
, obj
);
33988 return Py_BuildValue((char *)"");
33990 static PyObject
*_wrap_new_SizerItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33991 PyObject
*resultobj
;
33992 wxSizerItem
*result
;
33993 char *kwnames
[] = {
33997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SizerItem",kwnames
)) goto fail
;
33999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34000 result
= (wxSizerItem
*)new wxSizerItem();
34002 wxPyEndAllowThreads(__tstate
);
34003 if (PyErr_Occurred()) SWIG_fail
;
34005 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
34012 static PyObject
*_wrap_new_SizerItemSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34013 PyObject
*resultobj
;
34019 wxObject
*arg6
= (wxObject
*) 0 ;
34020 wxSizerItem
*result
;
34021 PyObject
* obj0
= 0 ;
34022 PyObject
* obj1
= 0 ;
34023 PyObject
* obj2
= 0 ;
34024 PyObject
* obj3
= 0 ;
34025 PyObject
* obj4
= 0 ;
34026 PyObject
* obj5
= 0 ;
34027 char *kwnames
[] = {
34028 (char *) "width",(char *) "height",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
34031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:new_SizerItemSpacer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
34032 arg1
= (int) SWIG_AsInt(obj0
);
34033 if (PyErr_Occurred()) SWIG_fail
;
34034 arg2
= (int) SWIG_AsInt(obj1
);
34035 if (PyErr_Occurred()) SWIG_fail
;
34036 arg3
= (int) SWIG_AsInt(obj2
);
34037 if (PyErr_Occurred()) SWIG_fail
;
34038 arg4
= (int) SWIG_AsInt(obj3
);
34039 if (PyErr_Occurred()) SWIG_fail
;
34040 arg5
= (int) SWIG_AsInt(obj4
);
34041 if (PyErr_Occurred()) SWIG_fail
;
34042 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxObject
,
34043 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34046 result
= (wxSizerItem
*)new wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
34048 wxPyEndAllowThreads(__tstate
);
34049 if (PyErr_Occurred()) SWIG_fail
;
34051 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
34058 static PyObject
*_wrap_new_SizerItemWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34059 PyObject
*resultobj
;
34060 wxWindow
*arg1
= (wxWindow
*) 0 ;
34064 wxObject
*arg5
= (wxObject
*) 0 ;
34065 wxSizerItem
*result
;
34066 PyObject
* obj0
= 0 ;
34067 PyObject
* obj1
= 0 ;
34068 PyObject
* obj2
= 0 ;
34069 PyObject
* obj3
= 0 ;
34070 PyObject
* obj4
= 0 ;
34071 char *kwnames
[] = {
34072 (char *) "window",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
34075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:new_SizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
34076 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
34077 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34078 arg2
= (int) SWIG_AsInt(obj1
);
34079 if (PyErr_Occurred()) SWIG_fail
;
34080 arg3
= (int) SWIG_AsInt(obj2
);
34081 if (PyErr_Occurred()) SWIG_fail
;
34082 arg4
= (int) SWIG_AsInt(obj3
);
34083 if (PyErr_Occurred()) SWIG_fail
;
34084 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxObject
,
34085 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34088 result
= (wxSizerItem
*)new wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
34090 wxPyEndAllowThreads(__tstate
);
34091 if (PyErr_Occurred()) SWIG_fail
;
34093 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
34100 static PyObject
*_wrap_new_SizerItemSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34101 PyObject
*resultobj
;
34102 wxSizer
*arg1
= (wxSizer
*) 0 ;
34106 wxObject
*arg5
= (wxObject
*) 0 ;
34107 wxSizerItem
*result
;
34108 PyObject
* obj0
= 0 ;
34109 PyObject
* obj1
= 0 ;
34110 PyObject
* obj2
= 0 ;
34111 PyObject
* obj3
= 0 ;
34112 PyObject
* obj4
= 0 ;
34113 char *kwnames
[] = {
34114 (char *) "sizer",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
34117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:new_SizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
34118 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34119 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34120 arg2
= (int) SWIG_AsInt(obj1
);
34121 if (PyErr_Occurred()) SWIG_fail
;
34122 arg3
= (int) SWIG_AsInt(obj2
);
34123 if (PyErr_Occurred()) SWIG_fail
;
34124 arg4
= (int) SWIG_AsInt(obj3
);
34125 if (PyErr_Occurred()) SWIG_fail
;
34126 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxObject
,
34127 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34130 result
= (wxSizerItem
*)new wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
34132 wxPyEndAllowThreads(__tstate
);
34133 if (PyErr_Occurred()) SWIG_fail
;
34135 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
34142 static PyObject
*_wrap_SizerItem_DeleteWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34143 PyObject
*resultobj
;
34144 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34145 PyObject
* obj0
= 0 ;
34146 char *kwnames
[] = {
34147 (char *) "self", NULL
34150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_DeleteWindows",kwnames
,&obj0
)) goto fail
;
34151 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34152 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34155 (arg1
)->DeleteWindows();
34157 wxPyEndAllowThreads(__tstate
);
34158 if (PyErr_Occurred()) SWIG_fail
;
34160 Py_INCREF(Py_None
); resultobj
= Py_None
;
34167 static PyObject
*_wrap_SizerItem_DetachSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34168 PyObject
*resultobj
;
34169 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34170 PyObject
* obj0
= 0 ;
34171 char *kwnames
[] = {
34172 (char *) "self", NULL
34175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_DetachSizer",kwnames
,&obj0
)) goto fail
;
34176 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34177 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34180 (arg1
)->DetachSizer();
34182 wxPyEndAllowThreads(__tstate
);
34183 if (PyErr_Occurred()) SWIG_fail
;
34185 Py_INCREF(Py_None
); resultobj
= Py_None
;
34192 static PyObject
*_wrap_SizerItem_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34193 PyObject
*resultobj
;
34194 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34196 PyObject
* obj0
= 0 ;
34197 char *kwnames
[] = {
34198 (char *) "self", NULL
34201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSize",kwnames
,&obj0
)) goto fail
;
34202 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34203 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34206 result
= (arg1
)->GetSize();
34208 wxPyEndAllowThreads(__tstate
);
34209 if (PyErr_Occurred()) SWIG_fail
;
34212 wxSize
* resultptr
;
34213 resultptr
= new wxSize((wxSize
&) result
);
34214 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
34222 static PyObject
*_wrap_SizerItem_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34223 PyObject
*resultobj
;
34224 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34226 PyObject
* obj0
= 0 ;
34227 char *kwnames
[] = {
34228 (char *) "self", NULL
34231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_CalcMin",kwnames
,&obj0
)) goto fail
;
34232 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34233 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34236 result
= (arg1
)->CalcMin();
34238 wxPyEndAllowThreads(__tstate
);
34239 if (PyErr_Occurred()) SWIG_fail
;
34242 wxSize
* resultptr
;
34243 resultptr
= new wxSize((wxSize
&) result
);
34244 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
34252 static PyObject
*_wrap_SizerItem_SetDimension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34253 PyObject
*resultobj
;
34254 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34259 PyObject
* obj0
= 0 ;
34260 PyObject
* obj1
= 0 ;
34261 PyObject
* obj2
= 0 ;
34262 char *kwnames
[] = {
34263 (char *) "self",(char *) "pos",(char *) "size", NULL
34266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34267 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34268 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34269 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxPoint
,
34270 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
34272 if ((SWIG_ConvertPtr(obj2
,(void **)(&argp3
),SWIGTYPE_p_wxSize
,
34273 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
34276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34277 (arg1
)->SetDimension(arg2
,arg3
);
34279 wxPyEndAllowThreads(__tstate
);
34280 if (PyErr_Occurred()) SWIG_fail
;
34282 Py_INCREF(Py_None
); resultobj
= Py_None
;
34289 static PyObject
*_wrap_SizerItem_GetMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34290 PyObject
*resultobj
;
34291 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34293 PyObject
* obj0
= 0 ;
34294 char *kwnames
[] = {
34295 (char *) "self", NULL
34298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetMinSize",kwnames
,&obj0
)) goto fail
;
34299 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34300 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34303 result
= (arg1
)->GetMinSize();
34305 wxPyEndAllowThreads(__tstate
);
34306 if (PyErr_Occurred()) SWIG_fail
;
34309 wxSize
* resultptr
;
34310 resultptr
= new wxSize((wxSize
&) result
);
34311 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
34319 static PyObject
*_wrap_SizerItem_SetInitSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34320 PyObject
*resultobj
;
34321 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34324 PyObject
* obj0
= 0 ;
34325 PyObject
* obj1
= 0 ;
34326 PyObject
* obj2
= 0 ;
34327 char *kwnames
[] = {
34328 (char *) "self",(char *) "x",(char *) "y", NULL
34331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetInitSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34332 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34333 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34334 arg2
= (int) SWIG_AsInt(obj1
);
34335 if (PyErr_Occurred()) SWIG_fail
;
34336 arg3
= (int) SWIG_AsInt(obj2
);
34337 if (PyErr_Occurred()) SWIG_fail
;
34339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34340 (arg1
)->SetInitSize(arg2
,arg3
);
34342 wxPyEndAllowThreads(__tstate
);
34343 if (PyErr_Occurred()) SWIG_fail
;
34345 Py_INCREF(Py_None
); resultobj
= Py_None
;
34352 static PyObject
*_wrap_SizerItem_SetRatioWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34353 PyObject
*resultobj
;
34354 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34357 PyObject
* obj0
= 0 ;
34358 PyObject
* obj1
= 0 ;
34359 PyObject
* obj2
= 0 ;
34360 char *kwnames
[] = {
34361 (char *) "self",(char *) "width",(char *) "height", NULL
34364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetRatioWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34365 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34366 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34367 arg2
= (int) SWIG_AsInt(obj1
);
34368 if (PyErr_Occurred()) SWIG_fail
;
34369 arg3
= (int) SWIG_AsInt(obj2
);
34370 if (PyErr_Occurred()) SWIG_fail
;
34372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34373 (arg1
)->SetRatio(arg2
,arg3
);
34375 wxPyEndAllowThreads(__tstate
);
34376 if (PyErr_Occurred()) SWIG_fail
;
34378 Py_INCREF(Py_None
); resultobj
= Py_None
;
34385 static PyObject
*_wrap_SizerItem_SetRatioSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34386 PyObject
*resultobj
;
34387 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34390 PyObject
* obj0
= 0 ;
34391 PyObject
* obj1
= 0 ;
34392 char *kwnames
[] = {
34393 (char *) "self",(char *) "size", NULL
34396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetRatioSize",kwnames
,&obj0
,&obj1
)) goto fail
;
34397 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34398 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34399 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxSize
,
34400 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
34403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34404 (arg1
)->SetRatio(arg2
);
34406 wxPyEndAllowThreads(__tstate
);
34407 if (PyErr_Occurred()) SWIG_fail
;
34409 Py_INCREF(Py_None
); resultobj
= Py_None
;
34416 static PyObject
*_wrap_SizerItem_SetRatio(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34417 PyObject
*resultobj
;
34418 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34420 PyObject
* obj0
= 0 ;
34421 PyObject
* obj1
= 0 ;
34422 char *kwnames
[] = {
34423 (char *) "self",(char *) "ratio", NULL
34426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetRatio",kwnames
,&obj0
,&obj1
)) goto fail
;
34427 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34428 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34429 arg2
= (float) SWIG_AsFloat(obj1
);
34430 if (PyErr_Occurred()) SWIG_fail
;
34432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34433 (arg1
)->SetRatio(arg2
);
34435 wxPyEndAllowThreads(__tstate
);
34436 if (PyErr_Occurred()) SWIG_fail
;
34438 Py_INCREF(Py_None
); resultobj
= Py_None
;
34445 static PyObject
*_wrap_SizerItem_GetRatio(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34446 PyObject
*resultobj
;
34447 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34449 PyObject
* obj0
= 0 ;
34450 char *kwnames
[] = {
34451 (char *) "self", NULL
34454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetRatio",kwnames
,&obj0
)) goto fail
;
34455 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34456 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34459 result
= (float)(arg1
)->GetRatio();
34461 wxPyEndAllowThreads(__tstate
);
34462 if (PyErr_Occurred()) SWIG_fail
;
34464 resultobj
= SWIG_FromFloat((float)result
);
34471 static PyObject
*_wrap_SizerItem_IsWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34472 PyObject
*resultobj
;
34473 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34475 PyObject
* obj0
= 0 ;
34476 char *kwnames
[] = {
34477 (char *) "self", NULL
34480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsWindow",kwnames
,&obj0
)) goto fail
;
34481 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34482 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34485 result
= (bool)(arg1
)->IsWindow();
34487 wxPyEndAllowThreads(__tstate
);
34488 if (PyErr_Occurred()) SWIG_fail
;
34491 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34499 static PyObject
*_wrap_SizerItem_IsSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34500 PyObject
*resultobj
;
34501 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34503 PyObject
* obj0
= 0 ;
34504 char *kwnames
[] = {
34505 (char *) "self", NULL
34508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsSizer",kwnames
,&obj0
)) goto fail
;
34509 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34510 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34513 result
= (bool)(arg1
)->IsSizer();
34515 wxPyEndAllowThreads(__tstate
);
34516 if (PyErr_Occurred()) SWIG_fail
;
34519 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34527 static PyObject
*_wrap_SizerItem_IsSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34528 PyObject
*resultobj
;
34529 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34531 PyObject
* obj0
= 0 ;
34532 char *kwnames
[] = {
34533 (char *) "self", NULL
34536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsSpacer",kwnames
,&obj0
)) goto fail
;
34537 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34538 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34541 result
= (bool)(arg1
)->IsSpacer();
34543 wxPyEndAllowThreads(__tstate
);
34544 if (PyErr_Occurred()) SWIG_fail
;
34547 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34555 static PyObject
*_wrap_SizerItem_SetProportion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34556 PyObject
*resultobj
;
34557 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34559 PyObject
* obj0
= 0 ;
34560 PyObject
* obj1
= 0 ;
34561 char *kwnames
[] = {
34562 (char *) "self",(char *) "proportion", NULL
34565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetProportion",kwnames
,&obj0
,&obj1
)) goto fail
;
34566 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34567 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34568 arg2
= (int) SWIG_AsInt(obj1
);
34569 if (PyErr_Occurred()) SWIG_fail
;
34571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34572 (arg1
)->SetProportion(arg2
);
34574 wxPyEndAllowThreads(__tstate
);
34575 if (PyErr_Occurred()) SWIG_fail
;
34577 Py_INCREF(Py_None
); resultobj
= Py_None
;
34584 static PyObject
*_wrap_SizerItem_GetProportion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34585 PyObject
*resultobj
;
34586 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34588 PyObject
* obj0
= 0 ;
34589 char *kwnames
[] = {
34590 (char *) "self", NULL
34593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetProportion",kwnames
,&obj0
)) goto fail
;
34594 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34595 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34598 result
= (int)(arg1
)->GetProportion();
34600 wxPyEndAllowThreads(__tstate
);
34601 if (PyErr_Occurred()) SWIG_fail
;
34603 resultobj
= SWIG_FromInt((int)result
);
34610 static PyObject
*_wrap_SizerItem_SetFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34611 PyObject
*resultobj
;
34612 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34614 PyObject
* obj0
= 0 ;
34615 PyObject
* obj1
= 0 ;
34616 char *kwnames
[] = {
34617 (char *) "self",(char *) "flag", NULL
34620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
34621 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34622 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34623 arg2
= (int) SWIG_AsInt(obj1
);
34624 if (PyErr_Occurred()) SWIG_fail
;
34626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34627 (arg1
)->SetFlag(arg2
);
34629 wxPyEndAllowThreads(__tstate
);
34630 if (PyErr_Occurred()) SWIG_fail
;
34632 Py_INCREF(Py_None
); resultobj
= Py_None
;
34639 static PyObject
*_wrap_SizerItem_GetFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34640 PyObject
*resultobj
;
34641 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34643 PyObject
* obj0
= 0 ;
34644 char *kwnames
[] = {
34645 (char *) "self", NULL
34648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetFlag",kwnames
,&obj0
)) goto fail
;
34649 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34650 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34653 result
= (int)(arg1
)->GetFlag();
34655 wxPyEndAllowThreads(__tstate
);
34656 if (PyErr_Occurred()) SWIG_fail
;
34658 resultobj
= SWIG_FromInt((int)result
);
34665 static PyObject
*_wrap_SizerItem_SetBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34666 PyObject
*resultobj
;
34667 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34669 PyObject
* obj0
= 0 ;
34670 PyObject
* obj1
= 0 ;
34671 char *kwnames
[] = {
34672 (char *) "self",(char *) "border", NULL
34675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetBorder",kwnames
,&obj0
,&obj1
)) goto fail
;
34676 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34677 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34678 arg2
= (int) SWIG_AsInt(obj1
);
34679 if (PyErr_Occurred()) SWIG_fail
;
34681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34682 (arg1
)->SetBorder(arg2
);
34684 wxPyEndAllowThreads(__tstate
);
34685 if (PyErr_Occurred()) SWIG_fail
;
34687 Py_INCREF(Py_None
); resultobj
= Py_None
;
34694 static PyObject
*_wrap_SizerItem_GetBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34695 PyObject
*resultobj
;
34696 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34698 PyObject
* obj0
= 0 ;
34699 char *kwnames
[] = {
34700 (char *) "self", NULL
34703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetBorder",kwnames
,&obj0
)) goto fail
;
34704 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34705 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34708 result
= (int)(arg1
)->GetBorder();
34710 wxPyEndAllowThreads(__tstate
);
34711 if (PyErr_Occurred()) SWIG_fail
;
34713 resultobj
= SWIG_FromInt((int)result
);
34720 static PyObject
*_wrap_SizerItem_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34721 PyObject
*resultobj
;
34722 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34724 PyObject
* obj0
= 0 ;
34725 char *kwnames
[] = {
34726 (char *) "self", NULL
34729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetWindow",kwnames
,&obj0
)) goto fail
;
34730 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34731 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34734 result
= (wxWindow
*)(arg1
)->GetWindow();
34736 wxPyEndAllowThreads(__tstate
);
34737 if (PyErr_Occurred()) SWIG_fail
;
34740 resultobj
= wxPyMake_wxObject(result
);
34748 static PyObject
*_wrap_SizerItem_SetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34749 PyObject
*resultobj
;
34750 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34751 wxWindow
*arg2
= (wxWindow
*) 0 ;
34752 PyObject
* obj0
= 0 ;
34753 PyObject
* obj1
= 0 ;
34754 char *kwnames
[] = {
34755 (char *) "self",(char *) "window", NULL
34758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
34759 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34760 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34761 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
34762 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34765 (arg1
)->SetWindow(arg2
);
34767 wxPyEndAllowThreads(__tstate
);
34768 if (PyErr_Occurred()) SWIG_fail
;
34770 Py_INCREF(Py_None
); resultobj
= Py_None
;
34777 static PyObject
*_wrap_SizerItem_GetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34778 PyObject
*resultobj
;
34779 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34781 PyObject
* obj0
= 0 ;
34782 char *kwnames
[] = {
34783 (char *) "self", NULL
34786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSizer",kwnames
,&obj0
)) goto fail
;
34787 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34788 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34791 result
= (wxSizer
*)(arg1
)->GetSizer();
34793 wxPyEndAllowThreads(__tstate
);
34794 if (PyErr_Occurred()) SWIG_fail
;
34797 resultobj
= wxPyMake_wxSizer(result
);
34805 static PyObject
*_wrap_SizerItem_SetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34806 PyObject
*resultobj
;
34807 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34808 wxSizer
*arg2
= (wxSizer
*) 0 ;
34809 PyObject
* obj0
= 0 ;
34810 PyObject
* obj1
= 0 ;
34811 char *kwnames
[] = {
34812 (char *) "self",(char *) "sizer", NULL
34815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
34816 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34817 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34818 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
34819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34822 (arg1
)->SetSizer(arg2
);
34824 wxPyEndAllowThreads(__tstate
);
34825 if (PyErr_Occurred()) SWIG_fail
;
34827 Py_INCREF(Py_None
); resultobj
= Py_None
;
34834 static PyObject
*_wrap_SizerItem_GetSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34835 PyObject
*resultobj
;
34836 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34838 PyObject
* obj0
= 0 ;
34839 char *kwnames
[] = {
34840 (char *) "self", NULL
34843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSpacer",kwnames
,&obj0
)) goto fail
;
34844 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34845 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34849 wxSize
const &_result_ref
= (arg1
)->GetSpacer();
34850 result
= (wxSize
*) &_result_ref
;
34853 wxPyEndAllowThreads(__tstate
);
34854 if (PyErr_Occurred()) SWIG_fail
;
34856 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
34863 static PyObject
*_wrap_SizerItem_SetSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34864 PyObject
*resultobj
;
34865 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34868 PyObject
* obj0
= 0 ;
34869 PyObject
* obj1
= 0 ;
34870 char *kwnames
[] = {
34871 (char *) "self",(char *) "size", NULL
34874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSpacer",kwnames
,&obj0
,&obj1
)) goto fail
;
34875 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34876 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34879 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
34882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34883 (arg1
)->SetSpacer((wxSize
const &)*arg2
);
34885 wxPyEndAllowThreads(__tstate
);
34886 if (PyErr_Occurred()) SWIG_fail
;
34888 Py_INCREF(Py_None
); resultobj
= Py_None
;
34895 static PyObject
*_wrap_SizerItem_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34896 PyObject
*resultobj
;
34897 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34899 PyObject
* obj0
= 0 ;
34900 PyObject
* obj1
= 0 ;
34901 char *kwnames
[] = {
34902 (char *) "self",(char *) "show", NULL
34905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
34906 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34907 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34908 arg2
= (bool) SWIG_AsBool(obj1
);
34909 if (PyErr_Occurred()) SWIG_fail
;
34911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34912 (arg1
)->Show(arg2
);
34914 wxPyEndAllowThreads(__tstate
);
34915 if (PyErr_Occurred()) SWIG_fail
;
34917 Py_INCREF(Py_None
); resultobj
= Py_None
;
34924 static PyObject
*_wrap_SizerItem_IsShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34925 PyObject
*resultobj
;
34926 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34928 PyObject
* obj0
= 0 ;
34929 char *kwnames
[] = {
34930 (char *) "self", NULL
34933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsShown",kwnames
,&obj0
)) goto fail
;
34934 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34935 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34938 result
= (bool)(arg1
)->IsShown();
34940 wxPyEndAllowThreads(__tstate
);
34941 if (PyErr_Occurred()) SWIG_fail
;
34944 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34952 static PyObject
*_wrap_SizerItem_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34953 PyObject
*resultobj
;
34954 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34956 PyObject
* obj0
= 0 ;
34957 char *kwnames
[] = {
34958 (char *) "self", NULL
34961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetPosition",kwnames
,&obj0
)) goto fail
;
34962 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34963 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34966 result
= (arg1
)->GetPosition();
34968 wxPyEndAllowThreads(__tstate
);
34969 if (PyErr_Occurred()) SWIG_fail
;
34972 wxPoint
* resultptr
;
34973 resultptr
= new wxPoint((wxPoint
&) result
);
34974 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
34982 static PyObject
*_wrap_SizerItem_GetUserData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34983 PyObject
*resultobj
;
34984 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34986 PyObject
* obj0
= 0 ;
34987 char *kwnames
[] = {
34988 (char *) "self", NULL
34991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetUserData",kwnames
,&obj0
)) goto fail
;
34992 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34993 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34996 result
= (PyObject
*)wxSizerItem_GetUserData(arg1
);
34998 wxPyEndAllowThreads(__tstate
);
34999 if (PyErr_Occurred()) SWIG_fail
;
35001 resultobj
= result
;
35008 static PyObject
* SizerItem_swigregister(PyObject
*self
, PyObject
*args
) {
35010 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
35011 SWIG_TypeClientData(SWIGTYPE_p_wxSizerItem
, obj
);
35013 return Py_BuildValue((char *)"");
35015 static PyObject
*_wrap_Sizer__setOORInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35016 PyObject
*resultobj
;
35017 wxSizer
*arg1
= (wxSizer
*) 0 ;
35018 PyObject
*arg2
= (PyObject
*) 0 ;
35019 PyObject
* obj0
= 0 ;
35020 PyObject
* obj1
= 0 ;
35021 char *kwnames
[] = {
35022 (char *) "self",(char *) "_self", NULL
35025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
35026 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35027 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35031 wxSizer__setOORInfo(arg1
,arg2
);
35033 wxPyEndAllowThreads(__tstate
);
35034 if (PyErr_Occurred()) SWIG_fail
;
35036 Py_INCREF(Py_None
); resultobj
= Py_None
;
35043 static PyObject
*_wrap_Sizer_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35044 PyObject
*resultobj
;
35045 wxSizer
*arg1
= (wxSizer
*) 0 ;
35046 PyObject
*arg2
= (PyObject
*) 0 ;
35047 int arg3
= (int) 0 ;
35048 int arg4
= (int) 0 ;
35049 int arg5
= (int) 0 ;
35050 PyObject
*arg6
= (PyObject
*) NULL
;
35051 PyObject
* obj0
= 0 ;
35052 PyObject
* obj1
= 0 ;
35053 PyObject
* obj2
= 0 ;
35054 PyObject
* obj3
= 0 ;
35055 PyObject
* obj4
= 0 ;
35056 PyObject
* obj5
= 0 ;
35057 char *kwnames
[] = {
35058 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
35061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Sizer_Add",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
35062 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35063 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35066 arg3
= (int) SWIG_AsInt(obj2
);
35067 if (PyErr_Occurred()) SWIG_fail
;
35070 arg4
= (int) SWIG_AsInt(obj3
);
35071 if (PyErr_Occurred()) SWIG_fail
;
35074 arg5
= (int) SWIG_AsInt(obj4
);
35075 if (PyErr_Occurred()) SWIG_fail
;
35081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35082 wxSizer_Add(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
35084 wxPyEndAllowThreads(__tstate
);
35085 if (PyErr_Occurred()) SWIG_fail
;
35087 Py_INCREF(Py_None
); resultobj
= Py_None
;
35094 static PyObject
*_wrap_Sizer_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35095 PyObject
*resultobj
;
35096 wxSizer
*arg1
= (wxSizer
*) 0 ;
35098 PyObject
*arg3
= (PyObject
*) 0 ;
35099 int arg4
= (int) 0 ;
35100 int arg5
= (int) 0 ;
35101 int arg6
= (int) 0 ;
35102 PyObject
*arg7
= (PyObject
*) NULL
;
35103 PyObject
* obj0
= 0 ;
35104 PyObject
* obj1
= 0 ;
35105 PyObject
* obj2
= 0 ;
35106 PyObject
* obj3
= 0 ;
35107 PyObject
* obj4
= 0 ;
35108 PyObject
* obj5
= 0 ;
35109 PyObject
* obj6
= 0 ;
35110 char *kwnames
[] = {
35111 (char *) "self",(char *) "before",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
35114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Sizer_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
35115 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35116 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35117 arg2
= (int) SWIG_AsInt(obj1
);
35118 if (PyErr_Occurred()) SWIG_fail
;
35121 arg4
= (int) SWIG_AsInt(obj3
);
35122 if (PyErr_Occurred()) SWIG_fail
;
35125 arg5
= (int) SWIG_AsInt(obj4
);
35126 if (PyErr_Occurred()) SWIG_fail
;
35129 arg6
= (int) SWIG_AsInt(obj5
);
35130 if (PyErr_Occurred()) SWIG_fail
;
35136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35137 wxSizer_Insert(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
35139 wxPyEndAllowThreads(__tstate
);
35140 if (PyErr_Occurred()) SWIG_fail
;
35142 Py_INCREF(Py_None
); resultobj
= Py_None
;
35149 static PyObject
*_wrap_Sizer_Prepend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35150 PyObject
*resultobj
;
35151 wxSizer
*arg1
= (wxSizer
*) 0 ;
35152 PyObject
*arg2
= (PyObject
*) 0 ;
35153 int arg3
= (int) 0 ;
35154 int arg4
= (int) 0 ;
35155 int arg5
= (int) 0 ;
35156 PyObject
*arg6
= (PyObject
*) NULL
;
35157 PyObject
* obj0
= 0 ;
35158 PyObject
* obj1
= 0 ;
35159 PyObject
* obj2
= 0 ;
35160 PyObject
* obj3
= 0 ;
35161 PyObject
* obj4
= 0 ;
35162 PyObject
* obj5
= 0 ;
35163 char *kwnames
[] = {
35164 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
35167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Sizer_Prepend",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
35168 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35169 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35172 arg3
= (int) SWIG_AsInt(obj2
);
35173 if (PyErr_Occurred()) SWIG_fail
;
35176 arg4
= (int) SWIG_AsInt(obj3
);
35177 if (PyErr_Occurred()) SWIG_fail
;
35180 arg5
= (int) SWIG_AsInt(obj4
);
35181 if (PyErr_Occurred()) SWIG_fail
;
35187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35188 wxSizer_Prepend(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
35190 wxPyEndAllowThreads(__tstate
);
35191 if (PyErr_Occurred()) SWIG_fail
;
35193 Py_INCREF(Py_None
); resultobj
= Py_None
;
35200 static PyObject
*_wrap_Sizer_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35201 PyObject
*resultobj
;
35202 wxSizer
*arg1
= (wxSizer
*) 0 ;
35203 PyObject
*arg2
= (PyObject
*) 0 ;
35205 PyObject
* obj0
= 0 ;
35206 PyObject
* obj1
= 0 ;
35207 char *kwnames
[] = {
35208 (char *) "self",(char *) "item", NULL
35211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
35212 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35213 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35217 result
= (bool)wxSizer_Remove(arg1
,arg2
);
35219 wxPyEndAllowThreads(__tstate
);
35220 if (PyErr_Occurred()) SWIG_fail
;
35223 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35231 static PyObject
*_wrap_Sizer_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35232 PyObject
*resultobj
;
35233 wxSizer
*arg1
= (wxSizer
*) 0 ;
35234 PyObject
*arg2
= (PyObject
*) 0 ;
35236 PyObject
* obj0
= 0 ;
35237 PyObject
* obj1
= 0 ;
35238 char *kwnames
[] = {
35239 (char *) "self",(char *) "item", NULL
35242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Detach",kwnames
,&obj0
,&obj1
)) goto fail
;
35243 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35244 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35248 result
= (bool)wxSizer_Detach(arg1
,arg2
);
35250 wxPyEndAllowThreads(__tstate
);
35251 if (PyErr_Occurred()) SWIG_fail
;
35254 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35262 static PyObject
*_wrap_Sizer__SetItemMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35263 PyObject
*resultobj
;
35264 wxSizer
*arg1
= (wxSizer
*) 0 ;
35265 PyObject
*arg2
= (PyObject
*) 0 ;
35268 PyObject
* obj0
= 0 ;
35269 PyObject
* obj1
= 0 ;
35270 PyObject
* obj2
= 0 ;
35271 char *kwnames
[] = {
35272 (char *) "self",(char *) "item",(char *) "size", NULL
35275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer__SetItemMinSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35276 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35277 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35281 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
35284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35285 wxSizer__SetItemMinSize(arg1
,arg2
,(wxSize
const &)*arg3
);
35287 wxPyEndAllowThreads(__tstate
);
35288 if (PyErr_Occurred()) SWIG_fail
;
35290 Py_INCREF(Py_None
); resultobj
= Py_None
;
35297 static PyObject
*_wrap_Sizer_AddItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35298 PyObject
*resultobj
;
35299 wxSizer
*arg1
= (wxSizer
*) 0 ;
35300 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
35301 PyObject
* obj0
= 0 ;
35302 PyObject
* obj1
= 0 ;
35303 char *kwnames
[] = {
35304 (char *) "self",(char *) "item", NULL
35307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_AddItem",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_wxSizerItem
,
35311 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35316 wxPyEndAllowThreads(__tstate
);
35317 if (PyErr_Occurred()) SWIG_fail
;
35319 Py_INCREF(Py_None
); resultobj
= Py_None
;
35326 static PyObject
*_wrap_Sizer_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35327 PyObject
*resultobj
;
35328 wxSizer
*arg1
= (wxSizer
*) 0 ;
35330 wxSizerItem
*arg3
= (wxSizerItem
*) 0 ;
35331 PyObject
* obj0
= 0 ;
35332 PyObject
* obj1
= 0 ;
35333 PyObject
* obj2
= 0 ;
35334 char *kwnames
[] = {
35335 (char *) "self",(char *) "index",(char *) "item", NULL
35338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35339 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35340 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35341 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
35342 if (PyErr_Occurred()) SWIG_fail
;
35343 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxSizerItem
,
35344 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35347 (arg1
)->Insert(arg2
,arg3
);
35349 wxPyEndAllowThreads(__tstate
);
35350 if (PyErr_Occurred()) SWIG_fail
;
35352 Py_INCREF(Py_None
); resultobj
= Py_None
;
35359 static PyObject
*_wrap_Sizer_PrependItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35360 PyObject
*resultobj
;
35361 wxSizer
*arg1
= (wxSizer
*) 0 ;
35362 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
35363 PyObject
* obj0
= 0 ;
35364 PyObject
* obj1
= 0 ;
35365 char *kwnames
[] = {
35366 (char *) "self",(char *) "item", NULL
35369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_PrependItem",kwnames
,&obj0
,&obj1
)) goto fail
;
35370 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35371 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35372 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizerItem
,
35373 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35376 (arg1
)->Prepend(arg2
);
35378 wxPyEndAllowThreads(__tstate
);
35379 if (PyErr_Occurred()) SWIG_fail
;
35381 Py_INCREF(Py_None
); resultobj
= Py_None
;
35388 static PyObject
*_wrap_Sizer_SetDimension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35389 PyObject
*resultobj
;
35390 wxSizer
*arg1
= (wxSizer
*) 0 ;
35395 PyObject
* obj0
= 0 ;
35396 PyObject
* obj1
= 0 ;
35397 PyObject
* obj2
= 0 ;
35398 PyObject
* obj3
= 0 ;
35399 PyObject
* obj4
= 0 ;
35400 char *kwnames
[] = {
35401 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
35404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Sizer_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
35405 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35407 arg2
= (int) SWIG_AsInt(obj1
);
35408 if (PyErr_Occurred()) SWIG_fail
;
35409 arg3
= (int) SWIG_AsInt(obj2
);
35410 if (PyErr_Occurred()) SWIG_fail
;
35411 arg4
= (int) SWIG_AsInt(obj3
);
35412 if (PyErr_Occurred()) SWIG_fail
;
35413 arg5
= (int) SWIG_AsInt(obj4
);
35414 if (PyErr_Occurred()) SWIG_fail
;
35416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35417 (arg1
)->SetDimension(arg2
,arg3
,arg4
,arg5
);
35419 wxPyEndAllowThreads(__tstate
);
35420 if (PyErr_Occurred()) SWIG_fail
;
35422 Py_INCREF(Py_None
); resultobj
= Py_None
;
35429 static PyObject
*_wrap_Sizer_SetMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35430 PyObject
*resultobj
;
35431 wxSizer
*arg1
= (wxSizer
*) 0 ;
35434 PyObject
* obj0
= 0 ;
35435 PyObject
* obj1
= 0 ;
35436 char *kwnames
[] = {
35437 (char *) "self",(char *) "size", NULL
35440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetMinSize",kwnames
,&obj0
,&obj1
)) goto fail
;
35441 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35442 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35445 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
35448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35449 (arg1
)->SetMinSize((wxSize
const &)*arg2
);
35451 wxPyEndAllowThreads(__tstate
);
35452 if (PyErr_Occurred()) SWIG_fail
;
35454 Py_INCREF(Py_None
); resultobj
= Py_None
;
35461 static PyObject
*_wrap_Sizer_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35462 PyObject
*resultobj
;
35463 wxSizer
*arg1
= (wxSizer
*) 0 ;
35465 PyObject
* obj0
= 0 ;
35466 char *kwnames
[] = {
35467 (char *) "self", NULL
35470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetSize",kwnames
,&obj0
)) goto fail
;
35471 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35472 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35475 result
= (arg1
)->GetSize();
35477 wxPyEndAllowThreads(__tstate
);
35478 if (PyErr_Occurred()) SWIG_fail
;
35481 wxSize
* resultptr
;
35482 resultptr
= new wxSize((wxSize
&) result
);
35483 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
35491 static PyObject
*_wrap_Sizer_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35492 PyObject
*resultobj
;
35493 wxSizer
*arg1
= (wxSizer
*) 0 ;
35495 PyObject
* obj0
= 0 ;
35496 char *kwnames
[] = {
35497 (char *) "self", NULL
35500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetPosition",kwnames
,&obj0
)) goto fail
;
35501 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35505 result
= (arg1
)->GetPosition();
35507 wxPyEndAllowThreads(__tstate
);
35508 if (PyErr_Occurred()) SWIG_fail
;
35511 wxPoint
* resultptr
;
35512 resultptr
= new wxPoint((wxPoint
&) result
);
35513 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
35521 static PyObject
*_wrap_Sizer_GetMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35522 PyObject
*resultobj
;
35523 wxSizer
*arg1
= (wxSizer
*) 0 ;
35525 PyObject
* obj0
= 0 ;
35526 char *kwnames
[] = {
35527 (char *) "self", NULL
35530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetMinSize",kwnames
,&obj0
)) goto fail
;
35531 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35532 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35535 result
= (arg1
)->GetMinSize();
35537 wxPyEndAllowThreads(__tstate
);
35538 if (PyErr_Occurred()) SWIG_fail
;
35541 wxSize
* resultptr
;
35542 resultptr
= new wxSize((wxSize
&) result
);
35543 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
35551 static PyObject
*_wrap_Sizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35552 PyObject
*resultobj
;
35553 wxSizer
*arg1
= (wxSizer
*) 0 ;
35554 PyObject
* obj0
= 0 ;
35555 char *kwnames
[] = {
35556 (char *) "self", NULL
35559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
35560 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35561 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35564 (arg1
)->RecalcSizes();
35566 wxPyEndAllowThreads(__tstate
);
35567 if (PyErr_Occurred()) SWIG_fail
;
35569 Py_INCREF(Py_None
); resultobj
= Py_None
;
35576 static PyObject
*_wrap_Sizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35577 PyObject
*resultobj
;
35578 wxSizer
*arg1
= (wxSizer
*) 0 ;
35580 PyObject
* obj0
= 0 ;
35581 char *kwnames
[] = {
35582 (char *) "self", NULL
35585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_CalcMin",kwnames
,&obj0
)) goto fail
;
35586 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35587 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35590 result
= (arg1
)->CalcMin();
35592 wxPyEndAllowThreads(__tstate
);
35593 if (PyErr_Occurred()) SWIG_fail
;
35596 wxSize
* resultptr
;
35597 resultptr
= new wxSize((wxSize
&) result
);
35598 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
35606 static PyObject
*_wrap_Sizer_Layout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35607 PyObject
*resultobj
;
35608 wxSizer
*arg1
= (wxSizer
*) 0 ;
35609 PyObject
* obj0
= 0 ;
35610 char *kwnames
[] = {
35611 (char *) "self", NULL
35614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_Layout",kwnames
,&obj0
)) goto fail
;
35615 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35616 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35621 wxPyEndAllowThreads(__tstate
);
35622 if (PyErr_Occurred()) SWIG_fail
;
35624 Py_INCREF(Py_None
); resultobj
= Py_None
;
35631 static PyObject
*_wrap_Sizer_Fit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35632 PyObject
*resultobj
;
35633 wxSizer
*arg1
= (wxSizer
*) 0 ;
35634 wxWindow
*arg2
= (wxWindow
*) 0 ;
35636 PyObject
* obj0
= 0 ;
35637 PyObject
* obj1
= 0 ;
35638 char *kwnames
[] = {
35639 (char *) "self",(char *) "window", NULL
35642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Fit",kwnames
,&obj0
,&obj1
)) goto fail
;
35643 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35644 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35645 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
35646 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35649 result
= (arg1
)->Fit(arg2
);
35651 wxPyEndAllowThreads(__tstate
);
35652 if (PyErr_Occurred()) SWIG_fail
;
35655 wxSize
* resultptr
;
35656 resultptr
= new wxSize((wxSize
&) result
);
35657 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
35665 static PyObject
*_wrap_Sizer_FitInside(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35666 PyObject
*resultobj
;
35667 wxSizer
*arg1
= (wxSizer
*) 0 ;
35668 wxWindow
*arg2
= (wxWindow
*) 0 ;
35669 PyObject
* obj0
= 0 ;
35670 PyObject
* obj1
= 0 ;
35671 char *kwnames
[] = {
35672 (char *) "self",(char *) "window", NULL
35675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_FitInside",kwnames
,&obj0
,&obj1
)) goto fail
;
35676 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35677 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35678 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
35679 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35682 (arg1
)->FitInside(arg2
);
35684 wxPyEndAllowThreads(__tstate
);
35685 if (PyErr_Occurred()) SWIG_fail
;
35687 Py_INCREF(Py_None
); resultobj
= Py_None
;
35694 static PyObject
*_wrap_Sizer_SetSizeHints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35695 PyObject
*resultobj
;
35696 wxSizer
*arg1
= (wxSizer
*) 0 ;
35697 wxWindow
*arg2
= (wxWindow
*) 0 ;
35698 PyObject
* obj0
= 0 ;
35699 PyObject
* obj1
= 0 ;
35700 char *kwnames
[] = {
35701 (char *) "self",(char *) "window", NULL
35704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetSizeHints",kwnames
,&obj0
,&obj1
)) goto fail
;
35705 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35706 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35707 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
35708 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35711 (arg1
)->SetSizeHints(arg2
);
35713 wxPyEndAllowThreads(__tstate
);
35714 if (PyErr_Occurred()) SWIG_fail
;
35716 Py_INCREF(Py_None
); resultobj
= Py_None
;
35723 static PyObject
*_wrap_Sizer_SetVirtualSizeHints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35724 PyObject
*resultobj
;
35725 wxSizer
*arg1
= (wxSizer
*) 0 ;
35726 wxWindow
*arg2
= (wxWindow
*) 0 ;
35727 PyObject
* obj0
= 0 ;
35728 PyObject
* obj1
= 0 ;
35729 char *kwnames
[] = {
35730 (char *) "self",(char *) "window", NULL
35733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetVirtualSizeHints",kwnames
,&obj0
,&obj1
)) goto fail
;
35734 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35735 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35736 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
35737 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35740 (arg1
)->SetVirtualSizeHints(arg2
);
35742 wxPyEndAllowThreads(__tstate
);
35743 if (PyErr_Occurred()) SWIG_fail
;
35745 Py_INCREF(Py_None
); resultobj
= Py_None
;
35752 static PyObject
*_wrap_Sizer_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35753 PyObject
*resultobj
;
35754 wxSizer
*arg1
= (wxSizer
*) 0 ;
35755 bool arg2
= (bool) False
;
35756 PyObject
* obj0
= 0 ;
35757 PyObject
* obj1
= 0 ;
35758 char *kwnames
[] = {
35759 (char *) "self",(char *) "delete_windows", NULL
35762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sizer_Clear",kwnames
,&obj0
,&obj1
)) goto fail
;
35763 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35766 arg2
= (bool) SWIG_AsBool(obj1
);
35767 if (PyErr_Occurred()) SWIG_fail
;
35770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35771 (arg1
)->Clear(arg2
);
35773 wxPyEndAllowThreads(__tstate
);
35774 if (PyErr_Occurred()) SWIG_fail
;
35776 Py_INCREF(Py_None
); resultobj
= Py_None
;
35783 static PyObject
*_wrap_Sizer_DeleteWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35784 PyObject
*resultobj
;
35785 wxSizer
*arg1
= (wxSizer
*) 0 ;
35786 PyObject
* obj0
= 0 ;
35787 char *kwnames
[] = {
35788 (char *) "self", NULL
35791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_DeleteWindows",kwnames
,&obj0
)) goto fail
;
35792 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35793 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35796 (arg1
)->DeleteWindows();
35798 wxPyEndAllowThreads(__tstate
);
35799 if (PyErr_Occurred()) SWIG_fail
;
35801 Py_INCREF(Py_None
); resultobj
= Py_None
;
35808 static PyObject
*_wrap_Sizer_GetChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35809 PyObject
*resultobj
;
35810 wxSizer
*arg1
= (wxSizer
*) 0 ;
35812 PyObject
* obj0
= 0 ;
35813 char *kwnames
[] = {
35814 (char *) "self", NULL
35817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetChildren",kwnames
,&obj0
)) goto fail
;
35818 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35822 result
= (PyObject
*)wxSizer_GetChildren(arg1
);
35824 wxPyEndAllowThreads(__tstate
);
35825 if (PyErr_Occurred()) SWIG_fail
;
35827 resultobj
= result
;
35834 static PyObject
*_wrap_Sizer_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35835 PyObject
*resultobj
;
35836 wxSizer
*arg1
= (wxSizer
*) 0 ;
35837 PyObject
*arg2
= (PyObject
*) 0 ;
35838 bool arg3
= (bool) True
;
35839 PyObject
* obj0
= 0 ;
35840 PyObject
* obj1
= 0 ;
35841 PyObject
* obj2
= 0 ;
35842 char *kwnames
[] = {
35843 (char *) "self",(char *) "item",(char *) "show", NULL
35846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Sizer_Show",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35847 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35848 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35851 arg3
= (bool) SWIG_AsBool(obj2
);
35852 if (PyErr_Occurred()) SWIG_fail
;
35855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35856 wxSizer_Show(arg1
,arg2
,arg3
);
35858 wxPyEndAllowThreads(__tstate
);
35859 if (PyErr_Occurred()) SWIG_fail
;
35861 Py_INCREF(Py_None
); resultobj
= Py_None
;
35868 static PyObject
*_wrap_Sizer_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35869 PyObject
*resultobj
;
35870 wxSizer
*arg1
= (wxSizer
*) 0 ;
35871 PyObject
*arg2
= (PyObject
*) 0 ;
35872 PyObject
* obj0
= 0 ;
35873 PyObject
* obj1
= 0 ;
35874 char *kwnames
[] = {
35875 (char *) "self",(char *) "item", NULL
35878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Hide",kwnames
,&obj0
,&obj1
)) goto fail
;
35879 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35880 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35884 wxSizer_Hide(arg1
,arg2
);
35886 wxPyEndAllowThreads(__tstate
);
35887 if (PyErr_Occurred()) SWIG_fail
;
35889 Py_INCREF(Py_None
); resultobj
= Py_None
;
35896 static PyObject
*_wrap_Sizer_IsShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35897 PyObject
*resultobj
;
35898 wxSizer
*arg1
= (wxSizer
*) 0 ;
35899 PyObject
*arg2
= (PyObject
*) 0 ;
35901 PyObject
* obj0
= 0 ;
35902 PyObject
* obj1
= 0 ;
35903 char *kwnames
[] = {
35904 (char *) "self",(char *) "item", NULL
35907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_IsShown",kwnames
,&obj0
,&obj1
)) goto fail
;
35908 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35909 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35913 result
= (bool)wxSizer_IsShown(arg1
,arg2
);
35915 wxPyEndAllowThreads(__tstate
);
35916 if (PyErr_Occurred()) SWIG_fail
;
35919 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35927 static PyObject
*_wrap_Sizer_ShowItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35928 PyObject
*resultobj
;
35929 wxSizer
*arg1
= (wxSizer
*) 0 ;
35931 PyObject
* obj0
= 0 ;
35932 PyObject
* obj1
= 0 ;
35933 char *kwnames
[] = {
35934 (char *) "self",(char *) "show", NULL
35937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_ShowItems",kwnames
,&obj0
,&obj1
)) goto fail
;
35938 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35939 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35940 arg2
= (bool) SWIG_AsBool(obj1
);
35941 if (PyErr_Occurred()) SWIG_fail
;
35943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35944 (arg1
)->ShowItems(arg2
);
35946 wxPyEndAllowThreads(__tstate
);
35947 if (PyErr_Occurred()) SWIG_fail
;
35949 Py_INCREF(Py_None
); resultobj
= Py_None
;
35956 static PyObject
* Sizer_swigregister(PyObject
*self
, PyObject
*args
) {
35958 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
35959 SWIG_TypeClientData(SWIGTYPE_p_wxSizer
, obj
);
35961 return Py_BuildValue((char *)"");
35963 static PyObject
*_wrap_new_PySizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35964 PyObject
*resultobj
;
35966 char *kwnames
[] = {
35970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PySizer",kwnames
)) goto fail
;
35972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35973 result
= (wxPySizer
*)new wxPySizer();
35975 wxPyEndAllowThreads(__tstate
);
35976 if (PyErr_Occurred()) SWIG_fail
;
35978 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPySizer
, 1);
35985 static PyObject
*_wrap_PySizer__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35986 PyObject
*resultobj
;
35987 wxPySizer
*arg1
= (wxPySizer
*) 0 ;
35988 PyObject
*arg2
= (PyObject
*) 0 ;
35989 PyObject
*arg3
= (PyObject
*) 0 ;
35990 PyObject
* obj0
= 0 ;
35991 PyObject
* obj1
= 0 ;
35992 PyObject
* obj2
= 0 ;
35993 char *kwnames
[] = {
35994 (char *) "self",(char *) "self",(char *) "_class", NULL
35997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PySizer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35998 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPySizer
,
35999 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36004 (arg1
)->_setCallbackInfo(arg2
,arg3
);
36006 wxPyEndAllowThreads(__tstate
);
36007 if (PyErr_Occurred()) SWIG_fail
;
36009 Py_INCREF(Py_None
); resultobj
= Py_None
;
36016 static PyObject
* PySizer_swigregister(PyObject
*self
, PyObject
*args
) {
36018 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
36019 SWIG_TypeClientData(SWIGTYPE_p_wxPySizer
, obj
);
36021 return Py_BuildValue((char *)"");
36023 static PyObject
*_wrap_new_BoxSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36024 PyObject
*resultobj
;
36025 int arg1
= (int) wxHORIZONTAL
;
36026 wxBoxSizer
*result
;
36027 PyObject
* obj0
= 0 ;
36028 char *kwnames
[] = {
36029 (char *) "orient", NULL
36032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BoxSizer",kwnames
,&obj0
)) goto fail
;
36034 arg1
= (int) SWIG_AsInt(obj0
);
36035 if (PyErr_Occurred()) SWIG_fail
;
36038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36039 result
= (wxBoxSizer
*)new wxBoxSizer(arg1
);
36041 wxPyEndAllowThreads(__tstate
);
36042 if (PyErr_Occurred()) SWIG_fail
;
36044 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBoxSizer
, 1);
36051 static PyObject
*_wrap_BoxSizer_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36052 PyObject
*resultobj
;
36053 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
36055 PyObject
* obj0
= 0 ;
36056 char *kwnames
[] = {
36057 (char *) "self", NULL
36060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BoxSizer_GetOrientation",kwnames
,&obj0
)) goto fail
;
36061 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBoxSizer
,
36062 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36065 result
= (int)(arg1
)->GetOrientation();
36067 wxPyEndAllowThreads(__tstate
);
36068 if (PyErr_Occurred()) SWIG_fail
;
36070 resultobj
= SWIG_FromInt((int)result
);
36077 static PyObject
*_wrap_BoxSizer_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36078 PyObject
*resultobj
;
36079 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
36081 PyObject
* obj0
= 0 ;
36082 PyObject
* obj1
= 0 ;
36083 char *kwnames
[] = {
36084 (char *) "self",(char *) "orient", NULL
36087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BoxSizer_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
36088 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBoxSizer
,
36089 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36090 arg2
= (int) SWIG_AsInt(obj1
);
36091 if (PyErr_Occurred()) SWIG_fail
;
36093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36094 (arg1
)->SetOrientation(arg2
);
36096 wxPyEndAllowThreads(__tstate
);
36097 if (PyErr_Occurred()) SWIG_fail
;
36099 Py_INCREF(Py_None
); resultobj
= Py_None
;
36106 static PyObject
*_wrap_BoxSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36107 PyObject
*resultobj
;
36108 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
36109 PyObject
* obj0
= 0 ;
36110 char *kwnames
[] = {
36111 (char *) "self", NULL
36114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BoxSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
36115 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBoxSizer
,
36116 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36119 (arg1
)->RecalcSizes();
36121 wxPyEndAllowThreads(__tstate
);
36122 if (PyErr_Occurred()) SWIG_fail
;
36124 Py_INCREF(Py_None
); resultobj
= Py_None
;
36131 static PyObject
*_wrap_BoxSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36132 PyObject
*resultobj
;
36133 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
36135 PyObject
* obj0
= 0 ;
36136 char *kwnames
[] = {
36137 (char *) "self", NULL
36140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BoxSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
36141 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBoxSizer
,
36142 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36145 result
= (arg1
)->CalcMin();
36147 wxPyEndAllowThreads(__tstate
);
36148 if (PyErr_Occurred()) SWIG_fail
;
36151 wxSize
* resultptr
;
36152 resultptr
= new wxSize((wxSize
&) result
);
36153 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
36161 static PyObject
* BoxSizer_swigregister(PyObject
*self
, PyObject
*args
) {
36163 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
36164 SWIG_TypeClientData(SWIGTYPE_p_wxBoxSizer
, obj
);
36166 return Py_BuildValue((char *)"");
36168 static PyObject
*_wrap_new_StaticBoxSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36169 PyObject
*resultobj
;
36170 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
36171 int arg2
= (int) wxHORIZONTAL
;
36172 wxStaticBoxSizer
*result
;
36173 PyObject
* obj0
= 0 ;
36174 PyObject
* obj1
= 0 ;
36175 char *kwnames
[] = {
36176 (char *) "box",(char *) "orient", NULL
36179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_StaticBoxSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
36180 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBox
,
36181 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36183 arg2
= (int) SWIG_AsInt(obj1
);
36184 if (PyErr_Occurred()) SWIG_fail
;
36187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36188 result
= (wxStaticBoxSizer
*)new wxStaticBoxSizer(arg1
,arg2
);
36190 wxPyEndAllowThreads(__tstate
);
36191 if (PyErr_Occurred()) SWIG_fail
;
36193 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBoxSizer
, 1);
36200 static PyObject
*_wrap_StaticBoxSizer_GetStaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36201 PyObject
*resultobj
;
36202 wxStaticBoxSizer
*arg1
= (wxStaticBoxSizer
*) 0 ;
36203 wxStaticBox
*result
;
36204 PyObject
* obj0
= 0 ;
36205 char *kwnames
[] = {
36206 (char *) "self", NULL
36209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBoxSizer_GetStaticBox",kwnames
,&obj0
)) goto fail
;
36210 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBoxSizer
,
36211 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36214 result
= (wxStaticBox
*)(arg1
)->GetStaticBox();
36216 wxPyEndAllowThreads(__tstate
);
36217 if (PyErr_Occurred()) SWIG_fail
;
36220 resultobj
= wxPyMake_wxObject(result
);
36228 static PyObject
*_wrap_StaticBoxSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36229 PyObject
*resultobj
;
36230 wxStaticBoxSizer
*arg1
= (wxStaticBoxSizer
*) 0 ;
36231 PyObject
* obj0
= 0 ;
36232 char *kwnames
[] = {
36233 (char *) "self", NULL
36236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBoxSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
36237 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBoxSizer
,
36238 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36241 (arg1
)->RecalcSizes();
36243 wxPyEndAllowThreads(__tstate
);
36244 if (PyErr_Occurred()) SWIG_fail
;
36246 Py_INCREF(Py_None
); resultobj
= Py_None
;
36253 static PyObject
*_wrap_StaticBoxSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36254 PyObject
*resultobj
;
36255 wxStaticBoxSizer
*arg1
= (wxStaticBoxSizer
*) 0 ;
36257 PyObject
* obj0
= 0 ;
36258 char *kwnames
[] = {
36259 (char *) "self", NULL
36262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBoxSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
36263 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBoxSizer
,
36264 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36267 result
= (arg1
)->CalcMin();
36269 wxPyEndAllowThreads(__tstate
);
36270 if (PyErr_Occurred()) SWIG_fail
;
36273 wxSize
* resultptr
;
36274 resultptr
= new wxSize((wxSize
&) result
);
36275 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
36283 static PyObject
* StaticBoxSizer_swigregister(PyObject
*self
, PyObject
*args
) {
36285 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
36286 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBoxSizer
, obj
);
36288 return Py_BuildValue((char *)"");
36290 static PyObject
*_wrap_new_GridSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36291 PyObject
*resultobj
;
36292 int arg1
= (int) 1 ;
36293 int arg2
= (int) 0 ;
36294 int arg3
= (int) 0 ;
36295 int arg4
= (int) 0 ;
36296 wxGridSizer
*result
;
36297 PyObject
* obj0
= 0 ;
36298 PyObject
* obj1
= 0 ;
36299 PyObject
* obj2
= 0 ;
36300 PyObject
* obj3
= 0 ;
36301 char *kwnames
[] = {
36302 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
36305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_GridSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
36307 arg1
= (int) SWIG_AsInt(obj0
);
36308 if (PyErr_Occurred()) SWIG_fail
;
36311 arg2
= (int) SWIG_AsInt(obj1
);
36312 if (PyErr_Occurred()) SWIG_fail
;
36315 arg3
= (int) SWIG_AsInt(obj2
);
36316 if (PyErr_Occurred()) SWIG_fail
;
36319 arg4
= (int) SWIG_AsInt(obj3
);
36320 if (PyErr_Occurred()) SWIG_fail
;
36323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36324 result
= (wxGridSizer
*)new wxGridSizer(arg1
,arg2
,arg3
,arg4
);
36326 wxPyEndAllowThreads(__tstate
);
36327 if (PyErr_Occurred()) SWIG_fail
;
36329 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridSizer
, 1);
36336 static PyObject
*_wrap_GridSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36337 PyObject
*resultobj
;
36338 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36339 PyObject
* obj0
= 0 ;
36340 char *kwnames
[] = {
36341 (char *) "self", NULL
36344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
36345 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36346 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36349 (arg1
)->RecalcSizes();
36351 wxPyEndAllowThreads(__tstate
);
36352 if (PyErr_Occurred()) SWIG_fail
;
36354 Py_INCREF(Py_None
); resultobj
= Py_None
;
36361 static PyObject
*_wrap_GridSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36362 PyObject
*resultobj
;
36363 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36365 PyObject
* obj0
= 0 ;
36366 char *kwnames
[] = {
36367 (char *) "self", NULL
36370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
36371 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36372 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36375 result
= (arg1
)->CalcMin();
36377 wxPyEndAllowThreads(__tstate
);
36378 if (PyErr_Occurred()) SWIG_fail
;
36381 wxSize
* resultptr
;
36382 resultptr
= new wxSize((wxSize
&) result
);
36383 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
36391 static PyObject
*_wrap_GridSizer_SetCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36392 PyObject
*resultobj
;
36393 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36395 PyObject
* obj0
= 0 ;
36396 PyObject
* obj1
= 0 ;
36397 char *kwnames
[] = {
36398 (char *) "self",(char *) "cols", NULL
36401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetCols",kwnames
,&obj0
,&obj1
)) goto fail
;
36402 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36403 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36404 arg2
= (int) SWIG_AsInt(obj1
);
36405 if (PyErr_Occurred()) SWIG_fail
;
36407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36408 (arg1
)->SetCols(arg2
);
36410 wxPyEndAllowThreads(__tstate
);
36411 if (PyErr_Occurred()) SWIG_fail
;
36413 Py_INCREF(Py_None
); resultobj
= Py_None
;
36420 static PyObject
*_wrap_GridSizer_SetRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36421 PyObject
*resultobj
;
36422 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36424 PyObject
* obj0
= 0 ;
36425 PyObject
* obj1
= 0 ;
36426 char *kwnames
[] = {
36427 (char *) "self",(char *) "rows", NULL
36430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetRows",kwnames
,&obj0
,&obj1
)) goto fail
;
36431 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36432 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36433 arg2
= (int) SWIG_AsInt(obj1
);
36434 if (PyErr_Occurred()) SWIG_fail
;
36436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36437 (arg1
)->SetRows(arg2
);
36439 wxPyEndAllowThreads(__tstate
);
36440 if (PyErr_Occurred()) SWIG_fail
;
36442 Py_INCREF(Py_None
); resultobj
= Py_None
;
36449 static PyObject
*_wrap_GridSizer_SetVGap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36450 PyObject
*resultobj
;
36451 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36453 PyObject
* obj0
= 0 ;
36454 PyObject
* obj1
= 0 ;
36455 char *kwnames
[] = {
36456 (char *) "self",(char *) "gap", NULL
36459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetVGap",kwnames
,&obj0
,&obj1
)) goto fail
;
36460 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36461 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36462 arg2
= (int) SWIG_AsInt(obj1
);
36463 if (PyErr_Occurred()) SWIG_fail
;
36465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36466 (arg1
)->SetVGap(arg2
);
36468 wxPyEndAllowThreads(__tstate
);
36469 if (PyErr_Occurred()) SWIG_fail
;
36471 Py_INCREF(Py_None
); resultobj
= Py_None
;
36478 static PyObject
*_wrap_GridSizer_SetHGap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36479 PyObject
*resultobj
;
36480 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36482 PyObject
* obj0
= 0 ;
36483 PyObject
* obj1
= 0 ;
36484 char *kwnames
[] = {
36485 (char *) "self",(char *) "gap", NULL
36488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetHGap",kwnames
,&obj0
,&obj1
)) goto fail
;
36489 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36490 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36491 arg2
= (int) SWIG_AsInt(obj1
);
36492 if (PyErr_Occurred()) SWIG_fail
;
36494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36495 (arg1
)->SetHGap(arg2
);
36497 wxPyEndAllowThreads(__tstate
);
36498 if (PyErr_Occurred()) SWIG_fail
;
36500 Py_INCREF(Py_None
); resultobj
= Py_None
;
36507 static PyObject
*_wrap_GridSizer_GetCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36508 PyObject
*resultobj
;
36509 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36511 PyObject
* obj0
= 0 ;
36512 char *kwnames
[] = {
36513 (char *) "self", NULL
36516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetCols",kwnames
,&obj0
)) goto fail
;
36517 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36518 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36521 result
= (int)(arg1
)->GetCols();
36523 wxPyEndAllowThreads(__tstate
);
36524 if (PyErr_Occurred()) SWIG_fail
;
36526 resultobj
= SWIG_FromInt((int)result
);
36533 static PyObject
*_wrap_GridSizer_GetRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36534 PyObject
*resultobj
;
36535 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36537 PyObject
* obj0
= 0 ;
36538 char *kwnames
[] = {
36539 (char *) "self", NULL
36542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetRows",kwnames
,&obj0
)) goto fail
;
36543 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36544 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36547 result
= (int)(arg1
)->GetRows();
36549 wxPyEndAllowThreads(__tstate
);
36550 if (PyErr_Occurred()) SWIG_fail
;
36552 resultobj
= SWIG_FromInt((int)result
);
36559 static PyObject
*_wrap_GridSizer_GetVGap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36560 PyObject
*resultobj
;
36561 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36563 PyObject
* obj0
= 0 ;
36564 char *kwnames
[] = {
36565 (char *) "self", NULL
36568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetVGap",kwnames
,&obj0
)) goto fail
;
36569 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36570 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36573 result
= (int)(arg1
)->GetVGap();
36575 wxPyEndAllowThreads(__tstate
);
36576 if (PyErr_Occurred()) SWIG_fail
;
36578 resultobj
= SWIG_FromInt((int)result
);
36585 static PyObject
*_wrap_GridSizer_GetHGap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36586 PyObject
*resultobj
;
36587 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36589 PyObject
* obj0
= 0 ;
36590 char *kwnames
[] = {
36591 (char *) "self", NULL
36594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetHGap",kwnames
,&obj0
)) goto fail
;
36595 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36596 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36599 result
= (int)(arg1
)->GetHGap();
36601 wxPyEndAllowThreads(__tstate
);
36602 if (PyErr_Occurred()) SWIG_fail
;
36604 resultobj
= SWIG_FromInt((int)result
);
36611 static PyObject
* GridSizer_swigregister(PyObject
*self
, PyObject
*args
) {
36613 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
36614 SWIG_TypeClientData(SWIGTYPE_p_wxGridSizer
, obj
);
36616 return Py_BuildValue((char *)"");
36618 static PyObject
*_wrap_new_FlexGridSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36619 PyObject
*resultobj
;
36620 int arg1
= (int) 1 ;
36621 int arg2
= (int) 0 ;
36622 int arg3
= (int) 0 ;
36623 int arg4
= (int) 0 ;
36624 wxFlexGridSizer
*result
;
36625 PyObject
* obj0
= 0 ;
36626 PyObject
* obj1
= 0 ;
36627 PyObject
* obj2
= 0 ;
36628 PyObject
* obj3
= 0 ;
36629 char *kwnames
[] = {
36630 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
36633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_FlexGridSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
36635 arg1
= (int) SWIG_AsInt(obj0
);
36636 if (PyErr_Occurred()) SWIG_fail
;
36639 arg2
= (int) SWIG_AsInt(obj1
);
36640 if (PyErr_Occurred()) SWIG_fail
;
36643 arg3
= (int) SWIG_AsInt(obj2
);
36644 if (PyErr_Occurred()) SWIG_fail
;
36647 arg4
= (int) SWIG_AsInt(obj3
);
36648 if (PyErr_Occurred()) SWIG_fail
;
36651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36652 result
= (wxFlexGridSizer
*)new wxFlexGridSizer(arg1
,arg2
,arg3
,arg4
);
36654 wxPyEndAllowThreads(__tstate
);
36655 if (PyErr_Occurred()) SWIG_fail
;
36657 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFlexGridSizer
, 1);
36664 static PyObject
*_wrap_FlexGridSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36665 PyObject
*resultobj
;
36666 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36667 PyObject
* obj0
= 0 ;
36668 char *kwnames
[] = {
36669 (char *) "self", NULL
36672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
36673 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36674 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36677 (arg1
)->RecalcSizes();
36679 wxPyEndAllowThreads(__tstate
);
36680 if (PyErr_Occurred()) SWIG_fail
;
36682 Py_INCREF(Py_None
); resultobj
= Py_None
;
36689 static PyObject
*_wrap_FlexGridSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36690 PyObject
*resultobj
;
36691 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36693 PyObject
* obj0
= 0 ;
36694 char *kwnames
[] = {
36695 (char *) "self", NULL
36698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
36699 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36700 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36703 result
= (arg1
)->CalcMin();
36705 wxPyEndAllowThreads(__tstate
);
36706 if (PyErr_Occurred()) SWIG_fail
;
36709 wxSize
* resultptr
;
36710 resultptr
= new wxSize((wxSize
&) result
);
36711 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
36719 static PyObject
*_wrap_FlexGridSizer_AddGrowableRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36720 PyObject
*resultobj
;
36721 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36723 int arg3
= (int) 0 ;
36724 PyObject
* obj0
= 0 ;
36725 PyObject
* obj1
= 0 ;
36726 PyObject
* obj2
= 0 ;
36727 char *kwnames
[] = {
36728 (char *) "self",(char *) "idx",(char *) "proportion", NULL
36731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FlexGridSizer_AddGrowableRow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
36732 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36733 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36734 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
36735 if (PyErr_Occurred()) SWIG_fail
;
36737 arg3
= (int) SWIG_AsInt(obj2
);
36738 if (PyErr_Occurred()) SWIG_fail
;
36741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36742 (arg1
)->AddGrowableRow(arg2
,arg3
);
36744 wxPyEndAllowThreads(__tstate
);
36745 if (PyErr_Occurred()) SWIG_fail
;
36747 Py_INCREF(Py_None
); resultobj
= Py_None
;
36754 static PyObject
*_wrap_FlexGridSizer_RemoveGrowableRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36755 PyObject
*resultobj
;
36756 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36758 PyObject
* obj0
= 0 ;
36759 PyObject
* obj1
= 0 ;
36760 char *kwnames
[] = {
36761 (char *) "self",(char *) "idx", NULL
36764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableRow",kwnames
,&obj0
,&obj1
)) goto fail
;
36765 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36766 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36767 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
36768 if (PyErr_Occurred()) SWIG_fail
;
36770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36771 (arg1
)->RemoveGrowableRow(arg2
);
36773 wxPyEndAllowThreads(__tstate
);
36774 if (PyErr_Occurred()) SWIG_fail
;
36776 Py_INCREF(Py_None
); resultobj
= Py_None
;
36783 static PyObject
*_wrap_FlexGridSizer_AddGrowableCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36784 PyObject
*resultobj
;
36785 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36787 int arg3
= (int) 0 ;
36788 PyObject
* obj0
= 0 ;
36789 PyObject
* obj1
= 0 ;
36790 PyObject
* obj2
= 0 ;
36791 char *kwnames
[] = {
36792 (char *) "self",(char *) "idx",(char *) "proportion", NULL
36795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FlexGridSizer_AddGrowableCol",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
36796 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36797 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36798 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
36799 if (PyErr_Occurred()) SWIG_fail
;
36801 arg3
= (int) SWIG_AsInt(obj2
);
36802 if (PyErr_Occurred()) SWIG_fail
;
36805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36806 (arg1
)->AddGrowableCol(arg2
,arg3
);
36808 wxPyEndAllowThreads(__tstate
);
36809 if (PyErr_Occurred()) SWIG_fail
;
36811 Py_INCREF(Py_None
); resultobj
= Py_None
;
36818 static PyObject
*_wrap_FlexGridSizer_RemoveGrowableCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36819 PyObject
*resultobj
;
36820 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36822 PyObject
* obj0
= 0 ;
36823 PyObject
* obj1
= 0 ;
36824 char *kwnames
[] = {
36825 (char *) "self",(char *) "idx", NULL
36828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableCol",kwnames
,&obj0
,&obj1
)) goto fail
;
36829 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36830 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36831 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
36832 if (PyErr_Occurred()) SWIG_fail
;
36834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36835 (arg1
)->RemoveGrowableCol(arg2
);
36837 wxPyEndAllowThreads(__tstate
);
36838 if (PyErr_Occurred()) SWIG_fail
;
36840 Py_INCREF(Py_None
); resultobj
= Py_None
;
36847 static PyObject
*_wrap_FlexGridSizer_SetFlexibleDirection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36848 PyObject
*resultobj
;
36849 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36851 PyObject
* obj0
= 0 ;
36852 PyObject
* obj1
= 0 ;
36853 char *kwnames
[] = {
36854 (char *) "self",(char *) "direction", NULL
36857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_SetFlexibleDirection",kwnames
,&obj0
,&obj1
)) goto fail
;
36858 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36859 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36860 arg2
= (int) SWIG_AsInt(obj1
);
36861 if (PyErr_Occurred()) SWIG_fail
;
36863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36864 (arg1
)->SetFlexibleDirection(arg2
);
36866 wxPyEndAllowThreads(__tstate
);
36867 if (PyErr_Occurred()) SWIG_fail
;
36869 Py_INCREF(Py_None
); resultobj
= Py_None
;
36876 static PyObject
*_wrap_FlexGridSizer_GetFlexibleDirection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36877 PyObject
*resultobj
;
36878 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36880 PyObject
* obj0
= 0 ;
36881 char *kwnames
[] = {
36882 (char *) "self", NULL
36885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetFlexibleDirection",kwnames
,&obj0
)) goto fail
;
36886 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36887 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36890 result
= (int)(arg1
)->GetFlexibleDirection();
36892 wxPyEndAllowThreads(__tstate
);
36893 if (PyErr_Occurred()) SWIG_fail
;
36895 resultobj
= SWIG_FromInt((int)result
);
36902 static PyObject
*_wrap_FlexGridSizer_SetNonFlexibleGrowMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36903 PyObject
*resultobj
;
36904 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36906 PyObject
* obj0
= 0 ;
36907 PyObject
* obj1
= 0 ;
36908 char *kwnames
[] = {
36909 (char *) "self",(char *) "mode", NULL
36912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_SetNonFlexibleGrowMode",kwnames
,&obj0
,&obj1
)) goto fail
;
36913 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36914 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36915 arg2
= (wxFlexSizerGrowMode
) SWIG_AsInt(obj1
);
36916 if (PyErr_Occurred()) SWIG_fail
;
36918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36919 (arg1
)->SetNonFlexibleGrowMode((wxFlexSizerGrowMode
)arg2
);
36921 wxPyEndAllowThreads(__tstate
);
36922 if (PyErr_Occurred()) SWIG_fail
;
36924 Py_INCREF(Py_None
); resultobj
= Py_None
;
36931 static PyObject
*_wrap_FlexGridSizer_GetNonFlexibleGrowMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36932 PyObject
*resultobj
;
36933 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36935 PyObject
* obj0
= 0 ;
36936 char *kwnames
[] = {
36937 (char *) "self", NULL
36940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetNonFlexibleGrowMode",kwnames
,&obj0
)) goto fail
;
36941 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36942 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36945 result
= (int)(arg1
)->GetNonFlexibleGrowMode();
36947 wxPyEndAllowThreads(__tstate
);
36948 if (PyErr_Occurred()) SWIG_fail
;
36950 resultobj
= SWIG_FromInt((int)result
);
36957 static PyObject
*_wrap_FlexGridSizer_GetRowHeights(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36958 PyObject
*resultobj
;
36959 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36960 wxArrayInt
*result
;
36961 PyObject
* obj0
= 0 ;
36962 char *kwnames
[] = {
36963 (char *) "self", NULL
36966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetRowHeights",kwnames
,&obj0
)) goto fail
;
36967 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36968 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36972 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetRowHeights();
36973 result
= (wxArrayInt
*) &_result_ref
;
36976 wxPyEndAllowThreads(__tstate
);
36977 if (PyErr_Occurred()) SWIG_fail
;
36980 resultobj
= PyList_New(0);
36982 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
36983 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
36984 PyList_Append(resultobj
, val
);
36994 static PyObject
*_wrap_FlexGridSizer_GetColWidths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36995 PyObject
*resultobj
;
36996 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36997 wxArrayInt
*result
;
36998 PyObject
* obj0
= 0 ;
36999 char *kwnames
[] = {
37000 (char *) "self", NULL
37003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetColWidths",kwnames
,&obj0
)) goto fail
;
37004 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
37005 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37009 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetColWidths();
37010 result
= (wxArrayInt
*) &_result_ref
;
37013 wxPyEndAllowThreads(__tstate
);
37014 if (PyErr_Occurred()) SWIG_fail
;
37017 resultobj
= PyList_New(0);
37019 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
37020 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
37021 PyList_Append(resultobj
, val
);
37031 static PyObject
* FlexGridSizer_swigregister(PyObject
*self
, PyObject
*args
) {
37033 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
37034 SWIG_TypeClientData(SWIGTYPE_p_wxFlexGridSizer
, obj
);
37036 return Py_BuildValue((char *)"");
37038 static PyObject
*_wrap_new_GBPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37039 PyObject
*resultobj
;
37040 int arg1
= (int) 0 ;
37041 int arg2
= (int) 0 ;
37042 wxGBPosition
*result
;
37043 PyObject
* obj0
= 0 ;
37044 PyObject
* obj1
= 0 ;
37045 char *kwnames
[] = {
37046 (char *) "row",(char *) "col", NULL
37049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GBPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
37051 arg1
= (int) SWIG_AsInt(obj0
);
37052 if (PyErr_Occurred()) SWIG_fail
;
37055 arg2
= (int) SWIG_AsInt(obj1
);
37056 if (PyErr_Occurred()) SWIG_fail
;
37059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37060 result
= (wxGBPosition
*)new wxGBPosition(arg1
,arg2
);
37062 wxPyEndAllowThreads(__tstate
);
37063 if (PyErr_Occurred()) SWIG_fail
;
37065 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBPosition
, 1);
37072 static PyObject
*_wrap_GBPosition_GetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37073 PyObject
*resultobj
;
37074 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
37076 PyObject
* obj0
= 0 ;
37077 char *kwnames
[] = {
37078 (char *) "self", NULL
37081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_GetRow",kwnames
,&obj0
)) goto fail
;
37082 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
37083 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37086 result
= (int)((wxGBPosition
const *)arg1
)->GetRow();
37088 wxPyEndAllowThreads(__tstate
);
37089 if (PyErr_Occurred()) SWIG_fail
;
37091 resultobj
= SWIG_FromInt((int)result
);
37098 static PyObject
*_wrap_GBPosition_GetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37099 PyObject
*resultobj
;
37100 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
37102 PyObject
* obj0
= 0 ;
37103 char *kwnames
[] = {
37104 (char *) "self", NULL
37107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_GetCol",kwnames
,&obj0
)) goto fail
;
37108 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
37109 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37112 result
= (int)((wxGBPosition
const *)arg1
)->GetCol();
37114 wxPyEndAllowThreads(__tstate
);
37115 if (PyErr_Occurred()) SWIG_fail
;
37117 resultobj
= SWIG_FromInt((int)result
);
37124 static PyObject
*_wrap_GBPosition_SetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37125 PyObject
*resultobj
;
37126 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
37128 PyObject
* obj0
= 0 ;
37129 PyObject
* obj1
= 0 ;
37130 char *kwnames
[] = {
37131 (char *) "self",(char *) "row", NULL
37134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition_SetRow",kwnames
,&obj0
,&obj1
)) goto fail
;
37135 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
37136 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37137 arg2
= (int) SWIG_AsInt(obj1
);
37138 if (PyErr_Occurred()) SWIG_fail
;
37140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37141 (arg1
)->SetRow(arg2
);
37143 wxPyEndAllowThreads(__tstate
);
37144 if (PyErr_Occurred()) SWIG_fail
;
37146 Py_INCREF(Py_None
); resultobj
= Py_None
;
37153 static PyObject
*_wrap_GBPosition_SetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37154 PyObject
*resultobj
;
37155 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
37157 PyObject
* obj0
= 0 ;
37158 PyObject
* obj1
= 0 ;
37159 char *kwnames
[] = {
37160 (char *) "self",(char *) "col", NULL
37163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition_SetCol",kwnames
,&obj0
,&obj1
)) goto fail
;
37164 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
37165 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37166 arg2
= (int) SWIG_AsInt(obj1
);
37167 if (PyErr_Occurred()) SWIG_fail
;
37169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37170 (arg1
)->SetCol(arg2
);
37172 wxPyEndAllowThreads(__tstate
);
37173 if (PyErr_Occurred()) SWIG_fail
;
37175 Py_INCREF(Py_None
); resultobj
= Py_None
;
37182 static PyObject
*_wrap_GBPosition___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37183 PyObject
*resultobj
;
37184 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
37185 wxGBPosition
*arg2
= 0 ;
37187 wxGBPosition temp2
;
37188 PyObject
* obj0
= 0 ;
37189 PyObject
* obj1
= 0 ;
37190 char *kwnames
[] = {
37191 (char *) "self",(char *) "other", NULL
37194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
37195 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
37196 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37199 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
37202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37203 result
= (bool)(arg1
)->operator ==((wxGBPosition
const &)*arg2
);
37205 wxPyEndAllowThreads(__tstate
);
37206 if (PyErr_Occurred()) SWIG_fail
;
37209 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37217 static PyObject
*_wrap_GBPosition___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37218 PyObject
*resultobj
;
37219 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
37220 wxGBPosition
*arg2
= 0 ;
37222 wxGBPosition temp2
;
37223 PyObject
* obj0
= 0 ;
37224 PyObject
* obj1
= 0 ;
37225 char *kwnames
[] = {
37226 (char *) "self",(char *) "other", NULL
37229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
37230 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
37231 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37234 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
37237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37238 result
= (bool)(arg1
)->operator !=((wxGBPosition
const &)*arg2
);
37240 wxPyEndAllowThreads(__tstate
);
37241 if (PyErr_Occurred()) SWIG_fail
;
37244 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37252 static PyObject
*_wrap_GBPosition_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37253 PyObject
*resultobj
;
37254 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
37255 int arg2
= (int) 0 ;
37256 int arg3
= (int) 0 ;
37257 PyObject
* obj0
= 0 ;
37258 PyObject
* obj1
= 0 ;
37259 PyObject
* obj2
= 0 ;
37260 char *kwnames
[] = {
37261 (char *) "self",(char *) "row",(char *) "col", NULL
37264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GBPosition_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37265 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
37266 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37268 arg2
= (int) SWIG_AsInt(obj1
);
37269 if (PyErr_Occurred()) SWIG_fail
;
37272 arg3
= (int) SWIG_AsInt(obj2
);
37273 if (PyErr_Occurred()) SWIG_fail
;
37276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37277 wxGBPosition_Set(arg1
,arg2
,arg3
);
37279 wxPyEndAllowThreads(__tstate
);
37280 if (PyErr_Occurred()) SWIG_fail
;
37282 Py_INCREF(Py_None
); resultobj
= Py_None
;
37289 static PyObject
*_wrap_GBPosition_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37290 PyObject
*resultobj
;
37291 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
37293 PyObject
* obj0
= 0 ;
37294 char *kwnames
[] = {
37295 (char *) "self", NULL
37298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_Get",kwnames
,&obj0
)) goto fail
;
37299 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
37300 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37303 result
= (PyObject
*)wxGBPosition_Get(arg1
);
37305 wxPyEndAllowThreads(__tstate
);
37306 if (PyErr_Occurred()) SWIG_fail
;
37308 resultobj
= result
;
37315 static PyObject
* GBPosition_swigregister(PyObject
*self
, PyObject
*args
) {
37317 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
37318 SWIG_TypeClientData(SWIGTYPE_p_wxGBPosition
, obj
);
37320 return Py_BuildValue((char *)"");
37322 static PyObject
*_wrap_new_GBSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37323 PyObject
*resultobj
;
37324 int arg1
= (int) 1 ;
37325 int arg2
= (int) 1 ;
37327 PyObject
* obj0
= 0 ;
37328 PyObject
* obj1
= 0 ;
37329 char *kwnames
[] = {
37330 (char *) "rowspan",(char *) "colspan", NULL
37333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GBSpan",kwnames
,&obj0
,&obj1
)) goto fail
;
37335 arg1
= (int) SWIG_AsInt(obj0
);
37336 if (PyErr_Occurred()) SWIG_fail
;
37339 arg2
= (int) SWIG_AsInt(obj1
);
37340 if (PyErr_Occurred()) SWIG_fail
;
37343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37344 result
= (wxGBSpan
*)new wxGBSpan(arg1
,arg2
);
37346 wxPyEndAllowThreads(__tstate
);
37347 if (PyErr_Occurred()) SWIG_fail
;
37349 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSpan
, 1);
37356 static PyObject
*_wrap_GBSpan_GetRowspan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37357 PyObject
*resultobj
;
37358 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37360 PyObject
* obj0
= 0 ;
37361 char *kwnames
[] = {
37362 (char *) "self", NULL
37365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_GetRowspan",kwnames
,&obj0
)) goto fail
;
37366 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37367 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37370 result
= (int)((wxGBSpan
const *)arg1
)->GetRowspan();
37372 wxPyEndAllowThreads(__tstate
);
37373 if (PyErr_Occurred()) SWIG_fail
;
37375 resultobj
= SWIG_FromInt((int)result
);
37382 static PyObject
*_wrap_GBSpan_GetColspan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37383 PyObject
*resultobj
;
37384 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37386 PyObject
* obj0
= 0 ;
37387 char *kwnames
[] = {
37388 (char *) "self", NULL
37391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_GetColspan",kwnames
,&obj0
)) goto fail
;
37392 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37393 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37396 result
= (int)((wxGBSpan
const *)arg1
)->GetColspan();
37398 wxPyEndAllowThreads(__tstate
);
37399 if (PyErr_Occurred()) SWIG_fail
;
37401 resultobj
= SWIG_FromInt((int)result
);
37408 static PyObject
*_wrap_GBSpan_SetRowspan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37409 PyObject
*resultobj
;
37410 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37412 PyObject
* obj0
= 0 ;
37413 PyObject
* obj1
= 0 ;
37414 char *kwnames
[] = {
37415 (char *) "self",(char *) "rowspan", NULL
37418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan_SetRowspan",kwnames
,&obj0
,&obj1
)) goto fail
;
37419 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37420 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37421 arg2
= (int) SWIG_AsInt(obj1
);
37422 if (PyErr_Occurred()) SWIG_fail
;
37424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37425 (arg1
)->SetRowspan(arg2
);
37427 wxPyEndAllowThreads(__tstate
);
37428 if (PyErr_Occurred()) SWIG_fail
;
37430 Py_INCREF(Py_None
); resultobj
= Py_None
;
37437 static PyObject
*_wrap_GBSpan_SetColspan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37438 PyObject
*resultobj
;
37439 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37441 PyObject
* obj0
= 0 ;
37442 PyObject
* obj1
= 0 ;
37443 char *kwnames
[] = {
37444 (char *) "self",(char *) "colspan", NULL
37447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan_SetColspan",kwnames
,&obj0
,&obj1
)) goto fail
;
37448 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37449 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37450 arg2
= (int) SWIG_AsInt(obj1
);
37451 if (PyErr_Occurred()) SWIG_fail
;
37453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37454 (arg1
)->SetColspan(arg2
);
37456 wxPyEndAllowThreads(__tstate
);
37457 if (PyErr_Occurred()) SWIG_fail
;
37459 Py_INCREF(Py_None
); resultobj
= Py_None
;
37466 static PyObject
*_wrap_GBSpan___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37467 PyObject
*resultobj
;
37468 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37469 wxGBSpan
*arg2
= 0 ;
37472 PyObject
* obj0
= 0 ;
37473 PyObject
* obj1
= 0 ;
37474 char *kwnames
[] = {
37475 (char *) "self",(char *) "other", NULL
37478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
37479 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37480 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37483 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
37486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37487 result
= (bool)(arg1
)->operator ==((wxGBSpan
const &)*arg2
);
37489 wxPyEndAllowThreads(__tstate
);
37490 if (PyErr_Occurred()) SWIG_fail
;
37493 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37501 static PyObject
*_wrap_GBSpan___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37502 PyObject
*resultobj
;
37503 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37504 wxGBSpan
*arg2
= 0 ;
37507 PyObject
* obj0
= 0 ;
37508 PyObject
* obj1
= 0 ;
37509 char *kwnames
[] = {
37510 (char *) "self",(char *) "other", NULL
37513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
37514 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37515 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37518 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
37521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37522 result
= (bool)(arg1
)->operator !=((wxGBSpan
const &)*arg2
);
37524 wxPyEndAllowThreads(__tstate
);
37525 if (PyErr_Occurred()) SWIG_fail
;
37528 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37536 static PyObject
*_wrap_GBSpan_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37537 PyObject
*resultobj
;
37538 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37539 int arg2
= (int) 1 ;
37540 int arg3
= (int) 1 ;
37541 PyObject
* obj0
= 0 ;
37542 PyObject
* obj1
= 0 ;
37543 PyObject
* obj2
= 0 ;
37544 char *kwnames
[] = {
37545 (char *) "self",(char *) "rowspan",(char *) "colspan", NULL
37548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GBSpan_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37549 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37550 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37552 arg2
= (int) SWIG_AsInt(obj1
);
37553 if (PyErr_Occurred()) SWIG_fail
;
37556 arg3
= (int) SWIG_AsInt(obj2
);
37557 if (PyErr_Occurred()) SWIG_fail
;
37560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37561 wxGBSpan_Set(arg1
,arg2
,arg3
);
37563 wxPyEndAllowThreads(__tstate
);
37564 if (PyErr_Occurred()) SWIG_fail
;
37566 Py_INCREF(Py_None
); resultobj
= Py_None
;
37573 static PyObject
*_wrap_GBSpan_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37574 PyObject
*resultobj
;
37575 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37577 PyObject
* obj0
= 0 ;
37578 char *kwnames
[] = {
37579 (char *) "self", NULL
37582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_Get",kwnames
,&obj0
)) goto fail
;
37583 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37584 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37587 result
= (PyObject
*)wxGBSpan_Get(arg1
);
37589 wxPyEndAllowThreads(__tstate
);
37590 if (PyErr_Occurred()) SWIG_fail
;
37592 resultobj
= result
;
37599 static PyObject
* GBSpan_swigregister(PyObject
*self
, PyObject
*args
) {
37601 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
37602 SWIG_TypeClientData(SWIGTYPE_p_wxGBSpan
, obj
);
37604 return Py_BuildValue((char *)"");
37606 static int _wrap_DefaultSpan_set(PyObject
*_val
) {
37607 PyErr_SetString(PyExc_TypeError
,"Variable DefaultSpan is read-only.");
37612 static PyObject
*_wrap_DefaultSpan_get() {
37615 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultSpan
), SWIGTYPE_p_wxGBSpan
, 0);
37620 static PyObject
*_wrap_new_GBSizerItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37621 PyObject
*resultobj
;
37622 wxGBSizerItem
*result
;
37623 char *kwnames
[] = {
37627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GBSizerItem",kwnames
)) goto fail
;
37629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37630 result
= (wxGBSizerItem
*)new wxGBSizerItem();
37632 wxPyEndAllowThreads(__tstate
);
37633 if (PyErr_Occurred()) SWIG_fail
;
37635 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
37642 static PyObject
*_wrap_new_GBSizerItemWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37643 PyObject
*resultobj
;
37644 wxWindow
*arg1
= (wxWindow
*) 0 ;
37645 wxGBPosition
*arg2
= 0 ;
37646 wxGBSpan
*arg3
= 0 ;
37649 wxObject
*arg6
= (wxObject
*) 0 ;
37650 wxGBSizerItem
*result
;
37651 wxGBPosition temp2
;
37653 PyObject
* obj0
= 0 ;
37654 PyObject
* obj1
= 0 ;
37655 PyObject
* obj2
= 0 ;
37656 PyObject
* obj3
= 0 ;
37657 PyObject
* obj4
= 0 ;
37658 PyObject
* obj5
= 0 ;
37659 char *kwnames
[] = {
37660 (char *) "window",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
37663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:new_GBSizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
37664 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
37665 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37668 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
37672 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
37674 arg4
= (int) SWIG_AsInt(obj3
);
37675 if (PyErr_Occurred()) SWIG_fail
;
37676 arg5
= (int) SWIG_AsInt(obj4
);
37677 if (PyErr_Occurred()) SWIG_fail
;
37678 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxObject
,
37679 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37682 result
= (wxGBSizerItem
*)new wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
37684 wxPyEndAllowThreads(__tstate
);
37685 if (PyErr_Occurred()) SWIG_fail
;
37687 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
37694 static PyObject
*_wrap_new_GBSizerItemSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37695 PyObject
*resultobj
;
37696 wxSizer
*arg1
= (wxSizer
*) 0 ;
37697 wxGBPosition
*arg2
= 0 ;
37698 wxGBSpan
*arg3
= 0 ;
37701 wxObject
*arg6
= (wxObject
*) 0 ;
37702 wxGBSizerItem
*result
;
37703 wxGBPosition temp2
;
37705 PyObject
* obj0
= 0 ;
37706 PyObject
* obj1
= 0 ;
37707 PyObject
* obj2
= 0 ;
37708 PyObject
* obj3
= 0 ;
37709 PyObject
* obj4
= 0 ;
37710 PyObject
* obj5
= 0 ;
37711 char *kwnames
[] = {
37712 (char *) "sizer",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
37715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:new_GBSizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
37716 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
37717 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37720 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
37724 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
37726 arg4
= (int) SWIG_AsInt(obj3
);
37727 if (PyErr_Occurred()) SWIG_fail
;
37728 arg5
= (int) SWIG_AsInt(obj4
);
37729 if (PyErr_Occurred()) SWIG_fail
;
37730 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxObject
,
37731 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37734 result
= (wxGBSizerItem
*)new wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
37736 wxPyEndAllowThreads(__tstate
);
37737 if (PyErr_Occurred()) SWIG_fail
;
37739 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
37746 static PyObject
*_wrap_new_GBSizerItemSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37747 PyObject
*resultobj
;
37750 wxGBPosition
*arg3
= 0 ;
37751 wxGBSpan
*arg4
= 0 ;
37754 wxObject
*arg7
= (wxObject
*) 0 ;
37755 wxGBSizerItem
*result
;
37756 wxGBPosition temp3
;
37758 PyObject
* obj0
= 0 ;
37759 PyObject
* obj1
= 0 ;
37760 PyObject
* obj2
= 0 ;
37761 PyObject
* obj3
= 0 ;
37762 PyObject
* obj4
= 0 ;
37763 PyObject
* obj5
= 0 ;
37764 PyObject
* obj6
= 0 ;
37765 char *kwnames
[] = {
37766 (char *) "width",(char *) "height",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
37769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:new_GBSizerItemSpacer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
37770 arg1
= (int) SWIG_AsInt(obj0
);
37771 if (PyErr_Occurred()) SWIG_fail
;
37772 arg2
= (int) SWIG_AsInt(obj1
);
37773 if (PyErr_Occurred()) SWIG_fail
;
37776 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
37780 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
37782 arg5
= (int) SWIG_AsInt(obj4
);
37783 if (PyErr_Occurred()) SWIG_fail
;
37784 arg6
= (int) SWIG_AsInt(obj5
);
37785 if (PyErr_Occurred()) SWIG_fail
;
37786 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxObject
,
37787 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37790 result
= (wxGBSizerItem
*)new wxGBSizerItem(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
37792 wxPyEndAllowThreads(__tstate
);
37793 if (PyErr_Occurred()) SWIG_fail
;
37795 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
37802 static PyObject
*_wrap_GBSizerItem_GetPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37803 PyObject
*resultobj
;
37804 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
37805 wxGBPosition result
;
37806 PyObject
* obj0
= 0 ;
37807 char *kwnames
[] = {
37808 (char *) "self", NULL
37811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetPos",kwnames
,&obj0
)) goto fail
;
37812 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
37813 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37816 result
= ((wxGBSizerItem
const *)arg1
)->GetPos();
37818 wxPyEndAllowThreads(__tstate
);
37819 if (PyErr_Occurred()) SWIG_fail
;
37822 wxGBPosition
* resultptr
;
37823 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
37824 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
37832 static PyObject
*_wrap_GBSizerItem_GetSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37833 PyObject
*resultobj
;
37834 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
37836 PyObject
* obj0
= 0 ;
37837 char *kwnames
[] = {
37838 (char *) "self", NULL
37841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetSpan",kwnames
,&obj0
)) goto fail
;
37842 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
37843 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37846 result
= ((wxGBSizerItem
const *)arg1
)->GetSpan();
37848 wxPyEndAllowThreads(__tstate
);
37849 if (PyErr_Occurred()) SWIG_fail
;
37852 wxGBSpan
* resultptr
;
37853 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
37854 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
37862 static PyObject
*_wrap_GBSizerItem_SetPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37863 PyObject
*resultobj
;
37864 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
37865 wxGBPosition
*arg2
= 0 ;
37867 wxGBPosition temp2
;
37868 PyObject
* obj0
= 0 ;
37869 PyObject
* obj1
= 0 ;
37870 char *kwnames
[] = {
37871 (char *) "self",(char *) "pos", NULL
37874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetPos",kwnames
,&obj0
,&obj1
)) goto fail
;
37875 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
37876 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37879 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
37882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37883 result
= (bool)(arg1
)->SetPos((wxGBPosition
const &)*arg2
);
37885 wxPyEndAllowThreads(__tstate
);
37886 if (PyErr_Occurred()) SWIG_fail
;
37889 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37897 static PyObject
*_wrap_GBSizerItem_SetSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37898 PyObject
*resultobj
;
37899 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
37900 wxGBSpan
*arg2
= 0 ;
37903 PyObject
* obj0
= 0 ;
37904 PyObject
* obj1
= 0 ;
37905 char *kwnames
[] = {
37906 (char *) "self",(char *) "span", NULL
37909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetSpan",kwnames
,&obj0
,&obj1
)) goto fail
;
37910 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
37911 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37914 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
37917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37918 result
= (bool)(arg1
)->SetSpan((wxGBSpan
const &)*arg2
);
37920 wxPyEndAllowThreads(__tstate
);
37921 if (PyErr_Occurred()) SWIG_fail
;
37924 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37932 static PyObject
*_wrap_GBSizerItem_Intersects__SWIG_0(PyObject
*self
, PyObject
*args
) {
37933 PyObject
*resultobj
;
37934 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
37935 wxGBSizerItem
*arg2
= 0 ;
37937 PyObject
* obj0
= 0 ;
37938 PyObject
* obj1
= 0 ;
37940 if(!PyArg_ParseTuple(args
,(char *)"OO:GBSizerItem_Intersects",&obj0
,&obj1
)) goto fail
;
37941 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
37942 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37943 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGBSizerItem
,
37944 SWIG_POINTER_EXCEPTION
| 0)) == -1)
37946 if (arg2
== NULL
) {
37947 PyErr_SetString(PyExc_TypeError
,"null reference");
37951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37952 result
= (bool)(arg1
)->Intersects((wxGBSizerItem
const &)*arg2
);
37954 wxPyEndAllowThreads(__tstate
);
37955 if (PyErr_Occurred()) SWIG_fail
;
37958 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37966 static PyObject
*_wrap_GBSizerItem_Intersects__SWIG_1(PyObject
*self
, PyObject
*args
) {
37967 PyObject
*resultobj
;
37968 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
37969 wxGBPosition
*arg2
= 0 ;
37970 wxGBSpan
*arg3
= 0 ;
37972 wxGBPosition temp2
;
37974 PyObject
* obj0
= 0 ;
37975 PyObject
* obj1
= 0 ;
37976 PyObject
* obj2
= 0 ;
37978 if(!PyArg_ParseTuple(args
,(char *)"OOO:GBSizerItem_Intersects",&obj0
,&obj1
,&obj2
)) goto fail
;
37979 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
37980 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37983 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
37987 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
37990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37991 result
= (bool)(arg1
)->Intersects((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
);
37993 wxPyEndAllowThreads(__tstate
);
37994 if (PyErr_Occurred()) SWIG_fail
;
37997 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38005 static PyObject
*_wrap_GBSizerItem_Intersects(PyObject
*self
, PyObject
*args
) {
38010 argc
= PyObject_Length(args
);
38011 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
38012 argv
[ii
] = PyTuple_GetItem(args
,ii
);
38018 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
38028 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
38036 return _wrap_GBSizerItem_Intersects__SWIG_0(self
,args
);
38044 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
38053 _v
= wxPySimple_typecheck(argv
[1], wxT("wxGBPosition"), 2);
38057 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
38060 return _wrap_GBSizerItem_Intersects__SWIG_1(self
,args
);
38066 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GBSizerItem_Intersects'");
38071 static PyObject
*_wrap_GBSizerItem_GetEndPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38072 PyObject
*resultobj
;
38073 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
38076 PyObject
* obj0
= 0 ;
38077 PyObject
* obj1
= 0 ;
38078 PyObject
* obj2
= 0 ;
38079 char *kwnames
[] = {
38080 (char *) "self",(char *) "row",(char *) "col", NULL
38083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GBSizerItem_GetEndPos",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
38084 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
38085 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38086 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_int
,
38087 SWIG_POINTER_EXCEPTION
| 0)) == -1)
38089 if (arg2
== NULL
) {
38090 PyErr_SetString(PyExc_TypeError
,"null reference");
38093 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_int
,
38094 SWIG_POINTER_EXCEPTION
| 0)) == -1)
38096 if (arg3
== NULL
) {
38097 PyErr_SetString(PyExc_TypeError
,"null reference");
38101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38102 (arg1
)->GetEndPos(*arg2
,*arg3
);
38104 wxPyEndAllowThreads(__tstate
);
38105 if (PyErr_Occurred()) SWIG_fail
;
38107 Py_INCREF(Py_None
); resultobj
= Py_None
;
38114 static PyObject
*_wrap_GBSizerItem_GetGBSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38115 PyObject
*resultobj
;
38116 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
38117 wxGridBagSizer
*result
;
38118 PyObject
* obj0
= 0 ;
38119 char *kwnames
[] = {
38120 (char *) "self", NULL
38123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetGBSizer",kwnames
,&obj0
)) goto fail
;
38124 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
38125 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38128 result
= (wxGridBagSizer
*)((wxGBSizerItem
const *)arg1
)->GetGBSizer();
38130 wxPyEndAllowThreads(__tstate
);
38131 if (PyErr_Occurred()) SWIG_fail
;
38133 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridBagSizer
, 0);
38140 static PyObject
*_wrap_GBSizerItem_SetGBSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38141 PyObject
*resultobj
;
38142 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
38143 wxGridBagSizer
*arg2
= (wxGridBagSizer
*) 0 ;
38144 PyObject
* obj0
= 0 ;
38145 PyObject
* obj1
= 0 ;
38146 char *kwnames
[] = {
38147 (char *) "self",(char *) "sizer", NULL
38150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetGBSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
38151 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
38152 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38153 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridBagSizer
,
38154 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38157 (arg1
)->SetGBSizer(arg2
);
38159 wxPyEndAllowThreads(__tstate
);
38160 if (PyErr_Occurred()) SWIG_fail
;
38162 Py_INCREF(Py_None
); resultobj
= Py_None
;
38169 static PyObject
* GBSizerItem_swigregister(PyObject
*self
, PyObject
*args
) {
38171 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
38172 SWIG_TypeClientData(SWIGTYPE_p_wxGBSizerItem
, obj
);
38174 return Py_BuildValue((char *)"");
38176 static PyObject
*_wrap_new_GridBagSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38177 PyObject
*resultobj
;
38178 int arg1
= (int) 0 ;
38179 int arg2
= (int) 0 ;
38180 wxGridBagSizer
*result
;
38181 PyObject
* obj0
= 0 ;
38182 PyObject
* obj1
= 0 ;
38183 char *kwnames
[] = {
38184 (char *) "vgap",(char *) "hgap", NULL
38187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridBagSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
38189 arg1
= (int) SWIG_AsInt(obj0
);
38190 if (PyErr_Occurred()) SWIG_fail
;
38193 arg2
= (int) SWIG_AsInt(obj1
);
38194 if (PyErr_Occurred()) SWIG_fail
;
38197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38198 result
= (wxGridBagSizer
*)new wxGridBagSizer(arg1
,arg2
);
38200 wxPyEndAllowThreads(__tstate
);
38201 if (PyErr_Occurred()) SWIG_fail
;
38203 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridBagSizer
, 1);
38210 static PyObject
*_wrap_GridBagSizer_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38211 PyObject
*resultobj
;
38212 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38213 PyObject
*arg2
= (PyObject
*) 0 ;
38214 wxGBPosition
*arg3
= 0 ;
38215 wxGBSpan
const &arg4_defvalue
= wxDefaultSpan
;
38216 wxGBSpan
*arg4
= (wxGBSpan
*) &arg4_defvalue
;
38217 int arg5
= (int) 0 ;
38218 int arg6
= (int) 0 ;
38219 PyObject
*arg7
= (PyObject
*) NULL
;
38221 wxGBPosition temp3
;
38223 PyObject
* obj0
= 0 ;
38224 PyObject
* obj1
= 0 ;
38225 PyObject
* obj2
= 0 ;
38226 PyObject
* obj3
= 0 ;
38227 PyObject
* obj4
= 0 ;
38228 PyObject
* obj5
= 0 ;
38229 PyObject
* obj6
= 0 ;
38230 char *kwnames
[] = {
38231 (char *) "self",(char *) "item",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
38234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:GridBagSizer_Add",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
38235 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38236 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38240 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
38245 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
38249 arg5
= (int) SWIG_AsInt(obj4
);
38250 if (PyErr_Occurred()) SWIG_fail
;
38253 arg6
= (int) SWIG_AsInt(obj5
);
38254 if (PyErr_Occurred()) SWIG_fail
;
38260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38261 result
= (bool)wxGridBagSizer_Add(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
38263 wxPyEndAllowThreads(__tstate
);
38264 if (PyErr_Occurred()) SWIG_fail
;
38267 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38275 static PyObject
*_wrap_GridBagSizer_AddItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38276 PyObject
*resultobj
;
38277 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38278 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
38280 PyObject
* obj0
= 0 ;
38281 PyObject
* obj1
= 0 ;
38282 char *kwnames
[] = {
38283 (char *) "self",(char *) "item", NULL
38286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_AddItem",kwnames
,&obj0
,&obj1
)) goto fail
;
38287 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38288 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38289 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGBSizerItem
,
38290 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38293 result
= (bool)(arg1
)->Add(arg2
);
38295 wxPyEndAllowThreads(__tstate
);
38296 if (PyErr_Occurred()) SWIG_fail
;
38299 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38307 static PyObject
*_wrap_GridBagSizer_GetEmptyCellSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38308 PyObject
*resultobj
;
38309 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38311 PyObject
* obj0
= 0 ;
38312 char *kwnames
[] = {
38313 (char *) "self", NULL
38316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridBagSizer_GetEmptyCellSize",kwnames
,&obj0
)) goto fail
;
38317 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38318 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38321 result
= ((wxGridBagSizer
const *)arg1
)->GetEmptyCellSize();
38323 wxPyEndAllowThreads(__tstate
);
38324 if (PyErr_Occurred()) SWIG_fail
;
38327 wxSize
* resultptr
;
38328 resultptr
= new wxSize((wxSize
&) result
);
38329 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
38337 static PyObject
*_wrap_GridBagSizer_SetEmptyCellSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38338 PyObject
*resultobj
;
38339 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38342 PyObject
* obj0
= 0 ;
38343 PyObject
* obj1
= 0 ;
38344 char *kwnames
[] = {
38345 (char *) "self",(char *) "sz", NULL
38348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_SetEmptyCellSize",kwnames
,&obj0
,&obj1
)) goto fail
;
38349 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38350 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38353 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
38356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38357 (arg1
)->SetEmptyCellSize((wxSize
const &)*arg2
);
38359 wxPyEndAllowThreads(__tstate
);
38360 if (PyErr_Occurred()) SWIG_fail
;
38362 Py_INCREF(Py_None
); resultobj
= Py_None
;
38369 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_0(PyObject
*self
, PyObject
*args
) {
38370 PyObject
*resultobj
;
38371 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38372 wxWindow
*arg2
= (wxWindow
*) 0 ;
38373 wxGBPosition result
;
38374 PyObject
* obj0
= 0 ;
38375 PyObject
* obj1
= 0 ;
38377 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
38378 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38379 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38380 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
38381 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38384 result
= (arg1
)->GetItemPosition(arg2
);
38386 wxPyEndAllowThreads(__tstate
);
38387 if (PyErr_Occurred()) SWIG_fail
;
38390 wxGBPosition
* resultptr
;
38391 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
38392 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
38400 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_1(PyObject
*self
, PyObject
*args
) {
38401 PyObject
*resultobj
;
38402 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38403 wxSizer
*arg2
= (wxSizer
*) 0 ;
38404 wxGBPosition result
;
38405 PyObject
* obj0
= 0 ;
38406 PyObject
* obj1
= 0 ;
38408 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
38409 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38410 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38411 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
38412 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38415 result
= (arg1
)->GetItemPosition(arg2
);
38417 wxPyEndAllowThreads(__tstate
);
38418 if (PyErr_Occurred()) SWIG_fail
;
38421 wxGBPosition
* resultptr
;
38422 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
38423 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
38431 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_2(PyObject
*self
, PyObject
*args
) {
38432 PyObject
*resultobj
;
38433 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38435 wxGBPosition result
;
38436 PyObject
* obj0
= 0 ;
38437 PyObject
* obj1
= 0 ;
38439 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
38440 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38441 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38442 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
38443 if (PyErr_Occurred()) SWIG_fail
;
38445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38446 result
= (arg1
)->GetItemPosition(arg2
);
38448 wxPyEndAllowThreads(__tstate
);
38449 if (PyErr_Occurred()) SWIG_fail
;
38452 wxGBPosition
* resultptr
;
38453 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
38454 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
38462 static PyObject
*_wrap_GridBagSizer_GetItemPosition(PyObject
*self
, PyObject
*args
) {
38467 argc
= PyObject_Length(args
);
38468 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
38469 argv
[ii
] = PyTuple_GetItem(args
,ii
);
38475 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38485 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
38493 return _wrap_GridBagSizer_GetItemPosition__SWIG_0(self
,args
);
38501 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38511 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
38519 return _wrap_GridBagSizer_GetItemPosition__SWIG_1(self
,args
);
38527 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38535 _v
= SWIG_CheckUnsignedLong(argv
[1]);
38537 return _wrap_GridBagSizer_GetItemPosition__SWIG_2(self
,args
);
38542 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_GetItemPosition'");
38547 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_0(PyObject
*self
, PyObject
*args
) {
38548 PyObject
*resultobj
;
38549 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38550 wxWindow
*arg2
= (wxWindow
*) 0 ;
38551 wxGBPosition
*arg3
= 0 ;
38553 wxGBPosition temp3
;
38554 PyObject
* obj0
= 0 ;
38555 PyObject
* obj1
= 0 ;
38556 PyObject
* obj2
= 0 ;
38558 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
38559 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38560 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38561 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
38562 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38565 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
38568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38569 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
38571 wxPyEndAllowThreads(__tstate
);
38572 if (PyErr_Occurred()) SWIG_fail
;
38575 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38583 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_1(PyObject
*self
, PyObject
*args
) {
38584 PyObject
*resultobj
;
38585 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38586 wxSizer
*arg2
= (wxSizer
*) 0 ;
38587 wxGBPosition
*arg3
= 0 ;
38589 wxGBPosition temp3
;
38590 PyObject
* obj0
= 0 ;
38591 PyObject
* obj1
= 0 ;
38592 PyObject
* obj2
= 0 ;
38594 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
38595 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38596 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38597 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
38598 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38601 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
38604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38605 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
38607 wxPyEndAllowThreads(__tstate
);
38608 if (PyErr_Occurred()) SWIG_fail
;
38611 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38619 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_2(PyObject
*self
, PyObject
*args
) {
38620 PyObject
*resultobj
;
38621 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38623 wxGBPosition
*arg3
= 0 ;
38625 wxGBPosition temp3
;
38626 PyObject
* obj0
= 0 ;
38627 PyObject
* obj1
= 0 ;
38628 PyObject
* obj2
= 0 ;
38630 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
38631 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38632 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38633 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
38634 if (PyErr_Occurred()) SWIG_fail
;
38637 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
38640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38641 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
38643 wxPyEndAllowThreads(__tstate
);
38644 if (PyErr_Occurred()) SWIG_fail
;
38647 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38655 static PyObject
*_wrap_GridBagSizer_SetItemPosition(PyObject
*self
, PyObject
*args
) {
38660 argc
= PyObject_Length(args
);
38661 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
38662 argv
[ii
] = PyTuple_GetItem(args
,ii
);
38668 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38678 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
38687 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
38690 return _wrap_GridBagSizer_SetItemPosition__SWIG_0(self
,args
);
38699 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38709 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
38718 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
38721 return _wrap_GridBagSizer_SetItemPosition__SWIG_1(self
,args
);
38730 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38738 _v
= SWIG_CheckUnsignedLong(argv
[1]);
38741 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
38744 return _wrap_GridBagSizer_SetItemPosition__SWIG_2(self
,args
);
38750 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_SetItemPosition'");
38755 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_0(PyObject
*self
, PyObject
*args
) {
38756 PyObject
*resultobj
;
38757 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38758 wxWindow
*arg2
= (wxWindow
*) 0 ;
38760 PyObject
* obj0
= 0 ;
38761 PyObject
* obj1
= 0 ;
38763 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
38764 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38765 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38766 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
38767 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38770 result
= (arg1
)->GetItemSpan(arg2
);
38772 wxPyEndAllowThreads(__tstate
);
38773 if (PyErr_Occurred()) SWIG_fail
;
38776 wxGBSpan
* resultptr
;
38777 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
38778 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
38786 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_1(PyObject
*self
, PyObject
*args
) {
38787 PyObject
*resultobj
;
38788 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38789 wxSizer
*arg2
= (wxSizer
*) 0 ;
38791 PyObject
* obj0
= 0 ;
38792 PyObject
* obj1
= 0 ;
38794 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
38795 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38796 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38797 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
38798 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38801 result
= (arg1
)->GetItemSpan(arg2
);
38803 wxPyEndAllowThreads(__tstate
);
38804 if (PyErr_Occurred()) SWIG_fail
;
38807 wxGBSpan
* resultptr
;
38808 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
38809 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
38817 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_2(PyObject
*self
, PyObject
*args
) {
38818 PyObject
*resultobj
;
38819 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38822 PyObject
* obj0
= 0 ;
38823 PyObject
* obj1
= 0 ;
38825 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
38826 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38827 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38828 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
38829 if (PyErr_Occurred()) SWIG_fail
;
38831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38832 result
= (arg1
)->GetItemSpan(arg2
);
38834 wxPyEndAllowThreads(__tstate
);
38835 if (PyErr_Occurred()) SWIG_fail
;
38838 wxGBSpan
* resultptr
;
38839 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
38840 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
38848 static PyObject
*_wrap_GridBagSizer_GetItemSpan(PyObject
*self
, PyObject
*args
) {
38853 argc
= PyObject_Length(args
);
38854 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
38855 argv
[ii
] = PyTuple_GetItem(args
,ii
);
38861 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38871 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
38879 return _wrap_GridBagSizer_GetItemSpan__SWIG_0(self
,args
);
38887 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38897 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
38905 return _wrap_GridBagSizer_GetItemSpan__SWIG_1(self
,args
);
38913 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38921 _v
= SWIG_CheckUnsignedLong(argv
[1]);
38923 return _wrap_GridBagSizer_GetItemSpan__SWIG_2(self
,args
);
38928 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_GetItemSpan'");
38933 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_0(PyObject
*self
, PyObject
*args
) {
38934 PyObject
*resultobj
;
38935 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38936 wxWindow
*arg2
= (wxWindow
*) 0 ;
38937 wxGBSpan
*arg3
= 0 ;
38940 PyObject
* obj0
= 0 ;
38941 PyObject
* obj1
= 0 ;
38942 PyObject
* obj2
= 0 ;
38944 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
38945 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38946 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38947 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
38948 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38951 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
38954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38955 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
38957 wxPyEndAllowThreads(__tstate
);
38958 if (PyErr_Occurred()) SWIG_fail
;
38961 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38969 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_1(PyObject
*self
, PyObject
*args
) {
38970 PyObject
*resultobj
;
38971 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38972 wxSizer
*arg2
= (wxSizer
*) 0 ;
38973 wxGBSpan
*arg3
= 0 ;
38976 PyObject
* obj0
= 0 ;
38977 PyObject
* obj1
= 0 ;
38978 PyObject
* obj2
= 0 ;
38980 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
38981 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38982 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38983 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
38984 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38987 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
38990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38991 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
38993 wxPyEndAllowThreads(__tstate
);
38994 if (PyErr_Occurred()) SWIG_fail
;
38997 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39005 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_2(PyObject
*self
, PyObject
*args
) {
39006 PyObject
*resultobj
;
39007 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39009 wxGBSpan
*arg3
= 0 ;
39012 PyObject
* obj0
= 0 ;
39013 PyObject
* obj1
= 0 ;
39014 PyObject
* obj2
= 0 ;
39016 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
39017 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39018 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39019 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
39020 if (PyErr_Occurred()) SWIG_fail
;
39023 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
39026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39027 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
39029 wxPyEndAllowThreads(__tstate
);
39030 if (PyErr_Occurred()) SWIG_fail
;
39033 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39041 static PyObject
*_wrap_GridBagSizer_SetItemSpan(PyObject
*self
, PyObject
*args
) {
39046 argc
= PyObject_Length(args
);
39047 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
39048 argv
[ii
] = PyTuple_GetItem(args
,ii
);
39054 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39064 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
39073 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
39076 return _wrap_GridBagSizer_SetItemSpan__SWIG_0(self
,args
);
39085 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39095 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
39104 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
39107 return _wrap_GridBagSizer_SetItemSpan__SWIG_1(self
,args
);
39116 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39124 _v
= SWIG_CheckUnsignedLong(argv
[1]);
39127 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
39130 return _wrap_GridBagSizer_SetItemSpan__SWIG_2(self
,args
);
39136 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_SetItemSpan'");
39141 static PyObject
*_wrap_GridBagSizer_FindItem__SWIG_0(PyObject
*self
, PyObject
*args
) {
39142 PyObject
*resultobj
;
39143 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39144 wxWindow
*arg2
= (wxWindow
*) 0 ;
39145 wxGBSizerItem
*result
;
39146 PyObject
* obj0
= 0 ;
39147 PyObject
* obj1
= 0 ;
39149 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_FindItem",&obj0
,&obj1
)) goto fail
;
39150 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39151 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39152 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39153 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39156 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
39158 wxPyEndAllowThreads(__tstate
);
39159 if (PyErr_Occurred()) SWIG_fail
;
39161 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
39168 static PyObject
*_wrap_GridBagSizer_FindItem__SWIG_1(PyObject
*self
, PyObject
*args
) {
39169 PyObject
*resultobj
;
39170 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39171 wxSizer
*arg2
= (wxSizer
*) 0 ;
39172 wxGBSizerItem
*result
;
39173 PyObject
* obj0
= 0 ;
39174 PyObject
* obj1
= 0 ;
39176 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_FindItem",&obj0
,&obj1
)) goto fail
;
39177 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39178 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39179 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
39180 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39183 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
39185 wxPyEndAllowThreads(__tstate
);
39186 if (PyErr_Occurred()) SWIG_fail
;
39188 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
39195 static PyObject
*_wrap_GridBagSizer_FindItem(PyObject
*self
, PyObject
*args
) {
39200 argc
= PyObject_Length(args
);
39201 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
39202 argv
[ii
] = PyTuple_GetItem(args
,ii
);
39208 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39218 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
39226 return _wrap_GridBagSizer_FindItem__SWIG_0(self
,args
);
39234 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39244 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
39252 return _wrap_GridBagSizer_FindItem__SWIG_1(self
,args
);
39257 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_FindItem'");
39262 static PyObject
*_wrap_GridBagSizer_FindItemAtPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39263 PyObject
*resultobj
;
39264 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39265 wxGBPosition
*arg2
= 0 ;
39266 wxGBSizerItem
*result
;
39267 wxGBPosition temp2
;
39268 PyObject
* obj0
= 0 ;
39269 PyObject
* obj1
= 0 ;
39270 char *kwnames
[] = {
39271 (char *) "self",(char *) "pos", NULL
39274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
39275 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39276 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39279 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
39282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39283 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPosition((wxGBPosition
const &)*arg2
);
39285 wxPyEndAllowThreads(__tstate
);
39286 if (PyErr_Occurred()) SWIG_fail
;
39288 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
39295 static PyObject
*_wrap_GridBagSizer_FindItemAtPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39296 PyObject
*resultobj
;
39297 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39298 wxPoint
*arg2
= 0 ;
39299 wxGBSizerItem
*result
;
39301 PyObject
* obj0
= 0 ;
39302 PyObject
* obj1
= 0 ;
39303 char *kwnames
[] = {
39304 (char *) "self",(char *) "pt", NULL
39307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
39308 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39312 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
39315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39316 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPoint((wxPoint
const &)*arg2
);
39318 wxPyEndAllowThreads(__tstate
);
39319 if (PyErr_Occurred()) SWIG_fail
;
39321 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
39328 static PyObject
*_wrap_GridBagSizer_FindItemWithData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39329 PyObject
*resultobj
;
39330 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39331 wxObject
*arg2
= (wxObject
*) 0 ;
39332 wxGBSizerItem
*result
;
39333 PyObject
* obj0
= 0 ;
39334 PyObject
* obj1
= 0 ;
39335 char *kwnames
[] = {
39336 (char *) "self",(char *) "userData", NULL
39339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemWithData",kwnames
,&obj0
,&obj1
)) goto fail
;
39340 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39342 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxObject
,
39343 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39346 result
= (wxGBSizerItem
*)(arg1
)->FindItemWithData((wxObject
const *)arg2
);
39348 wxPyEndAllowThreads(__tstate
);
39349 if (PyErr_Occurred()) SWIG_fail
;
39351 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
39358 static PyObject
*_wrap_GridBagSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39359 PyObject
*resultobj
;
39360 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39361 PyObject
* obj0
= 0 ;
39362 char *kwnames
[] = {
39363 (char *) "self", NULL
39366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridBagSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
39367 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39368 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39371 (arg1
)->RecalcSizes();
39373 wxPyEndAllowThreads(__tstate
);
39374 if (PyErr_Occurred()) SWIG_fail
;
39376 Py_INCREF(Py_None
); resultobj
= Py_None
;
39383 static PyObject
*_wrap_GridBagSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39384 PyObject
*resultobj
;
39385 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39387 PyObject
* obj0
= 0 ;
39388 char *kwnames
[] = {
39389 (char *) "self", NULL
39392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridBagSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
39393 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39394 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39397 result
= (arg1
)->CalcMin();
39399 wxPyEndAllowThreads(__tstate
);
39400 if (PyErr_Occurred()) SWIG_fail
;
39403 wxSize
* resultptr
;
39404 resultptr
= new wxSize((wxSize
&) result
);
39405 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
39413 static PyObject
*_wrap_GridBagSizer_CheckForIntersection__SWIG_0(PyObject
*self
, PyObject
*args
) {
39414 PyObject
*resultobj
;
39415 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39416 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
39417 wxGBSizerItem
*arg3
= (wxGBSizerItem
*) NULL
;
39419 PyObject
* obj0
= 0 ;
39420 PyObject
* obj1
= 0 ;
39421 PyObject
* obj2
= 0 ;
39423 if(!PyArg_ParseTuple(args
,(char *)"OO|O:GridBagSizer_CheckForIntersection",&obj0
,&obj1
,&obj2
)) goto fail
;
39424 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39425 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39426 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGBSizerItem
,
39427 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39429 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxGBSizerItem
,
39430 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39434 result
= (bool)(arg1
)->CheckForIntersection(arg2
,arg3
);
39436 wxPyEndAllowThreads(__tstate
);
39437 if (PyErr_Occurred()) SWIG_fail
;
39440 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39448 static PyObject
*_wrap_GridBagSizer_CheckForIntersection__SWIG_1(PyObject
*self
, PyObject
*args
) {
39449 PyObject
*resultobj
;
39450 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39451 wxGBPosition
*arg2
= 0 ;
39452 wxGBSpan
*arg3
= 0 ;
39453 wxGBSizerItem
*arg4
= (wxGBSizerItem
*) NULL
;
39455 wxGBPosition temp2
;
39457 PyObject
* obj0
= 0 ;
39458 PyObject
* obj1
= 0 ;
39459 PyObject
* obj2
= 0 ;
39460 PyObject
* obj3
= 0 ;
39462 if(!PyArg_ParseTuple(args
,(char *)"OOO|O:GridBagSizer_CheckForIntersection",&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
39463 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39464 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39467 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
39471 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
39474 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxGBSizerItem
,
39475 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39479 result
= (bool)(arg1
)->CheckForIntersection((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
);
39481 wxPyEndAllowThreads(__tstate
);
39482 if (PyErr_Occurred()) SWIG_fail
;
39485 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39493 static PyObject
*_wrap_GridBagSizer_CheckForIntersection(PyObject
*self
, PyObject
*args
) {
39498 argc
= PyObject_Length(args
);
39499 for (ii
= 0; (ii
< argc
) && (ii
< 4); ii
++) {
39500 argv
[ii
] = PyTuple_GetItem(args
,ii
);
39502 if ((argc
>= 2) && (argc
<= 3)) {
39506 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39516 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
39525 return _wrap_GridBagSizer_CheckForIntersection__SWIG_0(self
,args
);
39529 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
39537 return _wrap_GridBagSizer_CheckForIntersection__SWIG_0(self
,args
);
39542 if ((argc
>= 3) && (argc
<= 4)) {
39546 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39555 _v
= wxPySimple_typecheck(argv
[1], wxT("wxGBPosition"), 2);
39559 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
39563 return _wrap_GridBagSizer_CheckForIntersection__SWIG_1(self
,args
);
39567 if (SWIG_ConvertPtr(argv
[3], &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
39575 return _wrap_GridBagSizer_CheckForIntersection__SWIG_1(self
,args
);
39582 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_CheckForIntersection'");
39587 static PyObject
* GridBagSizer_swigregister(PyObject
*self
, PyObject
*args
) {
39589 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
39590 SWIG_TypeClientData(SWIGTYPE_p_wxGridBagSizer
, obj
);
39592 return Py_BuildValue((char *)"");
39594 static PyObject
*_wrap_IndividualLayoutConstraint_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39595 PyObject
*resultobj
;
39596 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39598 wxWindow
*arg3
= (wxWindow
*) 0 ;
39600 int arg5
= (int) 0 ;
39601 int arg6
= (int) wxLAYOUT_DEFAULT_MARGIN
;
39602 PyObject
* obj0
= 0 ;
39603 PyObject
* obj1
= 0 ;
39604 PyObject
* obj2
= 0 ;
39605 PyObject
* obj3
= 0 ;
39606 PyObject
* obj4
= 0 ;
39607 PyObject
* obj5
= 0 ;
39608 char *kwnames
[] = {
39609 (char *) "self",(char *) "rel",(char *) "otherW",(char *) "otherE",(char *) "val",(char *) "marg", NULL
39612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:IndividualLayoutConstraint_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
39613 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39614 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39615 arg2
= (wxRelationship
) SWIG_AsInt(obj1
);
39616 if (PyErr_Occurred()) SWIG_fail
;
39617 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
39618 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39619 arg4
= (wxEdge
) SWIG_AsInt(obj3
);
39620 if (PyErr_Occurred()) SWIG_fail
;
39622 arg5
= (int) SWIG_AsInt(obj4
);
39623 if (PyErr_Occurred()) SWIG_fail
;
39626 arg6
= (int) SWIG_AsInt(obj5
);
39627 if (PyErr_Occurred()) SWIG_fail
;
39630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39631 (arg1
)->Set((wxRelationship
)arg2
,arg3
,(wxEdge
)arg4
,arg5
,arg6
);
39633 wxPyEndAllowThreads(__tstate
);
39634 if (PyErr_Occurred()) SWIG_fail
;
39636 Py_INCREF(Py_None
); resultobj
= Py_None
;
39643 static PyObject
*_wrap_IndividualLayoutConstraint_LeftOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39644 PyObject
*resultobj
;
39645 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39646 wxWindow
*arg2
= (wxWindow
*) 0 ;
39647 int arg3
= (int) 0 ;
39648 PyObject
* obj0
= 0 ;
39649 PyObject
* obj1
= 0 ;
39650 PyObject
* obj2
= 0 ;
39651 char *kwnames
[] = {
39652 (char *) "self",(char *) "sibling",(char *) "marg", NULL
39655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_LeftOf",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39656 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39657 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39658 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39659 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39661 arg3
= (int) SWIG_AsInt(obj2
);
39662 if (PyErr_Occurred()) SWIG_fail
;
39665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39666 (arg1
)->LeftOf(arg2
,arg3
);
39668 wxPyEndAllowThreads(__tstate
);
39669 if (PyErr_Occurred()) SWIG_fail
;
39671 Py_INCREF(Py_None
); resultobj
= Py_None
;
39678 static PyObject
*_wrap_IndividualLayoutConstraint_RightOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39679 PyObject
*resultobj
;
39680 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39681 wxWindow
*arg2
= (wxWindow
*) 0 ;
39682 int arg3
= (int) 0 ;
39683 PyObject
* obj0
= 0 ;
39684 PyObject
* obj1
= 0 ;
39685 PyObject
* obj2
= 0 ;
39686 char *kwnames
[] = {
39687 (char *) "self",(char *) "sibling",(char *) "marg", NULL
39690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_RightOf",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39691 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39692 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39693 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39694 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39696 arg3
= (int) SWIG_AsInt(obj2
);
39697 if (PyErr_Occurred()) SWIG_fail
;
39700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39701 (arg1
)->RightOf(arg2
,arg3
);
39703 wxPyEndAllowThreads(__tstate
);
39704 if (PyErr_Occurred()) SWIG_fail
;
39706 Py_INCREF(Py_None
); resultobj
= Py_None
;
39713 static PyObject
*_wrap_IndividualLayoutConstraint_Above(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39714 PyObject
*resultobj
;
39715 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39716 wxWindow
*arg2
= (wxWindow
*) 0 ;
39717 int arg3
= (int) 0 ;
39718 PyObject
* obj0
= 0 ;
39719 PyObject
* obj1
= 0 ;
39720 PyObject
* obj2
= 0 ;
39721 char *kwnames
[] = {
39722 (char *) "self",(char *) "sibling",(char *) "marg", NULL
39725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_Above",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39726 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39727 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39728 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39729 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39731 arg3
= (int) SWIG_AsInt(obj2
);
39732 if (PyErr_Occurred()) SWIG_fail
;
39735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39736 (arg1
)->Above(arg2
,arg3
);
39738 wxPyEndAllowThreads(__tstate
);
39739 if (PyErr_Occurred()) SWIG_fail
;
39741 Py_INCREF(Py_None
); resultobj
= Py_None
;
39748 static PyObject
*_wrap_IndividualLayoutConstraint_Below(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39749 PyObject
*resultobj
;
39750 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39751 wxWindow
*arg2
= (wxWindow
*) 0 ;
39752 int arg3
= (int) 0 ;
39753 PyObject
* obj0
= 0 ;
39754 PyObject
* obj1
= 0 ;
39755 PyObject
* obj2
= 0 ;
39756 char *kwnames
[] = {
39757 (char *) "self",(char *) "sibling",(char *) "marg", NULL
39760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_Below",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39761 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39762 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39763 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39766 arg3
= (int) SWIG_AsInt(obj2
);
39767 if (PyErr_Occurred()) SWIG_fail
;
39770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39771 (arg1
)->Below(arg2
,arg3
);
39773 wxPyEndAllowThreads(__tstate
);
39774 if (PyErr_Occurred()) SWIG_fail
;
39776 Py_INCREF(Py_None
); resultobj
= Py_None
;
39783 static PyObject
*_wrap_IndividualLayoutConstraint_SameAs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39784 PyObject
*resultobj
;
39785 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39786 wxWindow
*arg2
= (wxWindow
*) 0 ;
39788 int arg4
= (int) 0 ;
39789 PyObject
* obj0
= 0 ;
39790 PyObject
* obj1
= 0 ;
39791 PyObject
* obj2
= 0 ;
39792 PyObject
* obj3
= 0 ;
39793 char *kwnames
[] = {
39794 (char *) "self",(char *) "otherW",(char *) "edge",(char *) "marg", NULL
39797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:IndividualLayoutConstraint_SameAs",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
39798 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39799 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39800 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39801 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39802 arg3
= (wxEdge
) SWIG_AsInt(obj2
);
39803 if (PyErr_Occurred()) SWIG_fail
;
39805 arg4
= (int) SWIG_AsInt(obj3
);
39806 if (PyErr_Occurred()) SWIG_fail
;
39809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39810 (arg1
)->SameAs(arg2
,(wxEdge
)arg3
,arg4
);
39812 wxPyEndAllowThreads(__tstate
);
39813 if (PyErr_Occurred()) SWIG_fail
;
39815 Py_INCREF(Py_None
); resultobj
= Py_None
;
39822 static PyObject
*_wrap_IndividualLayoutConstraint_PercentOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39823 PyObject
*resultobj
;
39824 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39825 wxWindow
*arg2
= (wxWindow
*) 0 ;
39828 PyObject
* obj0
= 0 ;
39829 PyObject
* obj1
= 0 ;
39830 PyObject
* obj2
= 0 ;
39831 PyObject
* obj3
= 0 ;
39832 char *kwnames
[] = {
39833 (char *) "self",(char *) "otherW",(char *) "wh",(char *) "per", NULL
39836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:IndividualLayoutConstraint_PercentOf",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
39837 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39838 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39839 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39840 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39841 arg3
= (wxEdge
) SWIG_AsInt(obj2
);
39842 if (PyErr_Occurred()) SWIG_fail
;
39843 arg4
= (int) SWIG_AsInt(obj3
);
39844 if (PyErr_Occurred()) SWIG_fail
;
39846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39847 (arg1
)->PercentOf(arg2
,(wxEdge
)arg3
,arg4
);
39849 wxPyEndAllowThreads(__tstate
);
39850 if (PyErr_Occurred()) SWIG_fail
;
39852 Py_INCREF(Py_None
); resultobj
= Py_None
;
39859 static PyObject
*_wrap_IndividualLayoutConstraint_Absolute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39860 PyObject
*resultobj
;
39861 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39863 PyObject
* obj0
= 0 ;
39864 PyObject
* obj1
= 0 ;
39865 char *kwnames
[] = {
39866 (char *) "self",(char *) "val", NULL
39869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_Absolute",kwnames
,&obj0
,&obj1
)) goto fail
;
39870 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39871 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39872 arg2
= (int) SWIG_AsInt(obj1
);
39873 if (PyErr_Occurred()) SWIG_fail
;
39875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39876 (arg1
)->Absolute(arg2
);
39878 wxPyEndAllowThreads(__tstate
);
39879 if (PyErr_Occurred()) SWIG_fail
;
39881 Py_INCREF(Py_None
); resultobj
= Py_None
;
39888 static PyObject
*_wrap_IndividualLayoutConstraint_Unconstrained(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39889 PyObject
*resultobj
;
39890 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39891 PyObject
* obj0
= 0 ;
39892 char *kwnames
[] = {
39893 (char *) "self", NULL
39896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_Unconstrained",kwnames
,&obj0
)) goto fail
;
39897 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39898 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39901 (arg1
)->Unconstrained();
39903 wxPyEndAllowThreads(__tstate
);
39904 if (PyErr_Occurred()) SWIG_fail
;
39906 Py_INCREF(Py_None
); resultobj
= Py_None
;
39913 static PyObject
*_wrap_IndividualLayoutConstraint_AsIs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39914 PyObject
*resultobj
;
39915 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39916 PyObject
* obj0
= 0 ;
39917 char *kwnames
[] = {
39918 (char *) "self", NULL
39921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_AsIs",kwnames
,&obj0
)) goto fail
;
39922 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39923 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39928 wxPyEndAllowThreads(__tstate
);
39929 if (PyErr_Occurred()) SWIG_fail
;
39931 Py_INCREF(Py_None
); resultobj
= Py_None
;
39938 static PyObject
*_wrap_IndividualLayoutConstraint_GetOtherWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39939 PyObject
*resultobj
;
39940 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39942 PyObject
* obj0
= 0 ;
39943 char *kwnames
[] = {
39944 (char *) "self", NULL
39947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetOtherWindow",kwnames
,&obj0
)) goto fail
;
39948 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39949 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39952 result
= (wxWindow
*)(arg1
)->GetOtherWindow();
39954 wxPyEndAllowThreads(__tstate
);
39955 if (PyErr_Occurred()) SWIG_fail
;
39958 resultobj
= wxPyMake_wxObject(result
);
39966 static PyObject
*_wrap_IndividualLayoutConstraint_GetMyEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39967 PyObject
*resultobj
;
39968 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39970 PyObject
* obj0
= 0 ;
39971 char *kwnames
[] = {
39972 (char *) "self", NULL
39975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetMyEdge",kwnames
,&obj0
)) goto fail
;
39976 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39977 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39980 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetMyEdge();
39982 wxPyEndAllowThreads(__tstate
);
39983 if (PyErr_Occurred()) SWIG_fail
;
39985 resultobj
= SWIG_FromInt((int)result
);
39992 static PyObject
*_wrap_IndividualLayoutConstraint_SetEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39993 PyObject
*resultobj
;
39994 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39996 PyObject
* obj0
= 0 ;
39997 PyObject
* obj1
= 0 ;
39998 char *kwnames
[] = {
39999 (char *) "self",(char *) "which", NULL
40002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetEdge",kwnames
,&obj0
,&obj1
)) goto fail
;
40003 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40004 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40005 arg2
= (wxEdge
) SWIG_AsInt(obj1
);
40006 if (PyErr_Occurred()) SWIG_fail
;
40008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40009 (arg1
)->SetEdge((wxEdge
)arg2
);
40011 wxPyEndAllowThreads(__tstate
);
40012 if (PyErr_Occurred()) SWIG_fail
;
40014 Py_INCREF(Py_None
); resultobj
= Py_None
;
40021 static PyObject
*_wrap_IndividualLayoutConstraint_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40022 PyObject
*resultobj
;
40023 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40025 PyObject
* obj0
= 0 ;
40026 PyObject
* obj1
= 0 ;
40027 char *kwnames
[] = {
40028 (char *) "self",(char *) "v", NULL
40031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
40032 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40033 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40034 arg2
= (int) SWIG_AsInt(obj1
);
40035 if (PyErr_Occurred()) SWIG_fail
;
40037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40038 (arg1
)->SetValue(arg2
);
40040 wxPyEndAllowThreads(__tstate
);
40041 if (PyErr_Occurred()) SWIG_fail
;
40043 Py_INCREF(Py_None
); resultobj
= Py_None
;
40050 static PyObject
*_wrap_IndividualLayoutConstraint_GetMargin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40051 PyObject
*resultobj
;
40052 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40054 PyObject
* obj0
= 0 ;
40055 char *kwnames
[] = {
40056 (char *) "self", NULL
40059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetMargin",kwnames
,&obj0
)) goto fail
;
40060 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40061 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40064 result
= (int)(arg1
)->GetMargin();
40066 wxPyEndAllowThreads(__tstate
);
40067 if (PyErr_Occurred()) SWIG_fail
;
40069 resultobj
= SWIG_FromInt((int)result
);
40076 static PyObject
*_wrap_IndividualLayoutConstraint_SetMargin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40077 PyObject
*resultobj
;
40078 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40080 PyObject
* obj0
= 0 ;
40081 PyObject
* obj1
= 0 ;
40082 char *kwnames
[] = {
40083 (char *) "self",(char *) "m", NULL
40086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetMargin",kwnames
,&obj0
,&obj1
)) goto fail
;
40087 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40088 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40089 arg2
= (int) SWIG_AsInt(obj1
);
40090 if (PyErr_Occurred()) SWIG_fail
;
40092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40093 (arg1
)->SetMargin(arg2
);
40095 wxPyEndAllowThreads(__tstate
);
40096 if (PyErr_Occurred()) SWIG_fail
;
40098 Py_INCREF(Py_None
); resultobj
= Py_None
;
40105 static PyObject
*_wrap_IndividualLayoutConstraint_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40106 PyObject
*resultobj
;
40107 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40109 PyObject
* obj0
= 0 ;
40110 char *kwnames
[] = {
40111 (char *) "self", NULL
40114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetValue",kwnames
,&obj0
)) goto fail
;
40115 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40116 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40119 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetValue();
40121 wxPyEndAllowThreads(__tstate
);
40122 if (PyErr_Occurred()) SWIG_fail
;
40124 resultobj
= SWIG_FromInt((int)result
);
40131 static PyObject
*_wrap_IndividualLayoutConstraint_GetPercent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40132 PyObject
*resultobj
;
40133 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40135 PyObject
* obj0
= 0 ;
40136 char *kwnames
[] = {
40137 (char *) "self", NULL
40140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetPercent",kwnames
,&obj0
)) goto fail
;
40141 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40142 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40145 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetPercent();
40147 wxPyEndAllowThreads(__tstate
);
40148 if (PyErr_Occurred()) SWIG_fail
;
40150 resultobj
= SWIG_FromInt((int)result
);
40157 static PyObject
*_wrap_IndividualLayoutConstraint_GetOtherEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40158 PyObject
*resultobj
;
40159 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40161 PyObject
* obj0
= 0 ;
40162 char *kwnames
[] = {
40163 (char *) "self", NULL
40166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetOtherEdge",kwnames
,&obj0
)) goto fail
;
40167 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40168 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40171 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetOtherEdge();
40173 wxPyEndAllowThreads(__tstate
);
40174 if (PyErr_Occurred()) SWIG_fail
;
40176 resultobj
= SWIG_FromInt((int)result
);
40183 static PyObject
*_wrap_IndividualLayoutConstraint_GetDone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40184 PyObject
*resultobj
;
40185 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40187 PyObject
* obj0
= 0 ;
40188 char *kwnames
[] = {
40189 (char *) "self", NULL
40192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetDone",kwnames
,&obj0
)) goto fail
;
40193 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40194 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40197 result
= (bool)((wxIndividualLayoutConstraint
const *)arg1
)->GetDone();
40199 wxPyEndAllowThreads(__tstate
);
40200 if (PyErr_Occurred()) SWIG_fail
;
40203 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40211 static PyObject
*_wrap_IndividualLayoutConstraint_SetDone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40212 PyObject
*resultobj
;
40213 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40215 PyObject
* obj0
= 0 ;
40216 PyObject
* obj1
= 0 ;
40217 char *kwnames
[] = {
40218 (char *) "self",(char *) "d", NULL
40221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetDone",kwnames
,&obj0
,&obj1
)) goto fail
;
40222 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40223 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40224 arg2
= (bool) SWIG_AsBool(obj1
);
40225 if (PyErr_Occurred()) SWIG_fail
;
40227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40228 (arg1
)->SetDone(arg2
);
40230 wxPyEndAllowThreads(__tstate
);
40231 if (PyErr_Occurred()) SWIG_fail
;
40233 Py_INCREF(Py_None
); resultobj
= Py_None
;
40240 static PyObject
*_wrap_IndividualLayoutConstraint_GetRelationship(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40241 PyObject
*resultobj
;
40242 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40244 PyObject
* obj0
= 0 ;
40245 char *kwnames
[] = {
40246 (char *) "self", NULL
40249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetRelationship",kwnames
,&obj0
)) goto fail
;
40250 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40251 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40254 result
= (int)(arg1
)->GetRelationship();
40256 wxPyEndAllowThreads(__tstate
);
40257 if (PyErr_Occurred()) SWIG_fail
;
40259 resultobj
= SWIG_FromInt((int)result
);
40266 static PyObject
*_wrap_IndividualLayoutConstraint_SetRelationship(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40267 PyObject
*resultobj
;
40268 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40270 PyObject
* obj0
= 0 ;
40271 PyObject
* obj1
= 0 ;
40272 char *kwnames
[] = {
40273 (char *) "self",(char *) "r", NULL
40276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetRelationship",kwnames
,&obj0
,&obj1
)) goto fail
;
40277 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40278 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40279 arg2
= (wxRelationship
) SWIG_AsInt(obj1
);
40280 if (PyErr_Occurred()) SWIG_fail
;
40282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40283 (arg1
)->SetRelationship((wxRelationship
)arg2
);
40285 wxPyEndAllowThreads(__tstate
);
40286 if (PyErr_Occurred()) SWIG_fail
;
40288 Py_INCREF(Py_None
); resultobj
= Py_None
;
40295 static PyObject
*_wrap_IndividualLayoutConstraint_ResetIfWin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40296 PyObject
*resultobj
;
40297 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40298 wxWindow
*arg2
= (wxWindow
*) 0 ;
40300 PyObject
* obj0
= 0 ;
40301 PyObject
* obj1
= 0 ;
40302 char *kwnames
[] = {
40303 (char *) "self",(char *) "otherW", NULL
40306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_ResetIfWin",kwnames
,&obj0
,&obj1
)) goto fail
;
40307 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40308 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40309 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
40310 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40313 result
= (bool)(arg1
)->ResetIfWin(arg2
);
40315 wxPyEndAllowThreads(__tstate
);
40316 if (PyErr_Occurred()) SWIG_fail
;
40319 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40327 static PyObject
*_wrap_IndividualLayoutConstraint_SatisfyConstraint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40328 PyObject
*resultobj
;
40329 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40330 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
40331 wxWindow
*arg3
= (wxWindow
*) 0 ;
40333 PyObject
* obj0
= 0 ;
40334 PyObject
* obj1
= 0 ;
40335 PyObject
* obj2
= 0 ;
40336 char *kwnames
[] = {
40337 (char *) "self",(char *) "constraints",(char *) "win", NULL
40340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IndividualLayoutConstraint_SatisfyConstraint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
40341 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40342 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40343 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxLayoutConstraints
,
40344 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40345 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
40346 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40349 result
= (bool)(arg1
)->SatisfyConstraint(arg2
,arg3
);
40351 wxPyEndAllowThreads(__tstate
);
40352 if (PyErr_Occurred()) SWIG_fail
;
40355 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40363 static PyObject
*_wrap_IndividualLayoutConstraint_GetEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40364 PyObject
*resultobj
;
40365 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40367 wxWindow
*arg3
= (wxWindow
*) 0 ;
40368 wxWindow
*arg4
= (wxWindow
*) 0 ;
40370 PyObject
* obj0
= 0 ;
40371 PyObject
* obj1
= 0 ;
40372 PyObject
* obj2
= 0 ;
40373 PyObject
* obj3
= 0 ;
40374 char *kwnames
[] = {
40375 (char *) "self",(char *) "which",(char *) "thisWin",(char *) "other", NULL
40378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:IndividualLayoutConstraint_GetEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
40379 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40380 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40381 arg2
= (wxEdge
) SWIG_AsInt(obj1
);
40382 if (PyErr_Occurred()) SWIG_fail
;
40383 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
40384 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40385 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
40386 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40389 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetEdge((wxEdge
)arg2
,arg3
,arg4
);
40391 wxPyEndAllowThreads(__tstate
);
40392 if (PyErr_Occurred()) SWIG_fail
;
40394 resultobj
= SWIG_FromInt((int)result
);
40401 static PyObject
* IndividualLayoutConstraint_swigregister(PyObject
*self
, PyObject
*args
) {
40403 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
40404 SWIG_TypeClientData(SWIGTYPE_p_wxIndividualLayoutConstraint
, obj
);
40406 return Py_BuildValue((char *)"");
40408 static PyObject
*_wrap_LayoutConstraints_left_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40409 PyObject
*resultobj
;
40410 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40411 wxIndividualLayoutConstraint
*result
;
40412 PyObject
* obj0
= 0 ;
40413 char *kwnames
[] = {
40414 (char *) "self", NULL
40417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_left_get",kwnames
,&obj0
)) goto fail
;
40418 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40419 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40420 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->left
);
40422 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40429 static PyObject
*_wrap_LayoutConstraints_top_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40430 PyObject
*resultobj
;
40431 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40432 wxIndividualLayoutConstraint
*result
;
40433 PyObject
* obj0
= 0 ;
40434 char *kwnames
[] = {
40435 (char *) "self", NULL
40438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_top_get",kwnames
,&obj0
)) goto fail
;
40439 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40440 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40441 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->top
);
40443 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40450 static PyObject
*_wrap_LayoutConstraints_right_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40451 PyObject
*resultobj
;
40452 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40453 wxIndividualLayoutConstraint
*result
;
40454 PyObject
* obj0
= 0 ;
40455 char *kwnames
[] = {
40456 (char *) "self", NULL
40459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_right_get",kwnames
,&obj0
)) goto fail
;
40460 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40461 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40462 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->right
);
40464 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40471 static PyObject
*_wrap_LayoutConstraints_bottom_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40472 PyObject
*resultobj
;
40473 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40474 wxIndividualLayoutConstraint
*result
;
40475 PyObject
* obj0
= 0 ;
40476 char *kwnames
[] = {
40477 (char *) "self", NULL
40480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_bottom_get",kwnames
,&obj0
)) goto fail
;
40481 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40482 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40483 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->bottom
);
40485 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40492 static PyObject
*_wrap_LayoutConstraints_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40493 PyObject
*resultobj
;
40494 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40495 wxIndividualLayoutConstraint
*result
;
40496 PyObject
* obj0
= 0 ;
40497 char *kwnames
[] = {
40498 (char *) "self", NULL
40501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_width_get",kwnames
,&obj0
)) goto fail
;
40502 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40503 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40504 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->width
);
40506 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40513 static PyObject
*_wrap_LayoutConstraints_height_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40514 PyObject
*resultobj
;
40515 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40516 wxIndividualLayoutConstraint
*result
;
40517 PyObject
* obj0
= 0 ;
40518 char *kwnames
[] = {
40519 (char *) "self", NULL
40522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_height_get",kwnames
,&obj0
)) goto fail
;
40523 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40524 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40525 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->height
);
40527 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40534 static PyObject
*_wrap_LayoutConstraints_centreX_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40535 PyObject
*resultobj
;
40536 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40537 wxIndividualLayoutConstraint
*result
;
40538 PyObject
* obj0
= 0 ;
40539 char *kwnames
[] = {
40540 (char *) "self", NULL
40543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_centreX_get",kwnames
,&obj0
)) goto fail
;
40544 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40545 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40546 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreX
);
40548 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40555 static PyObject
*_wrap_LayoutConstraints_centreY_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40556 PyObject
*resultobj
;
40557 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40558 wxIndividualLayoutConstraint
*result
;
40559 PyObject
* obj0
= 0 ;
40560 char *kwnames
[] = {
40561 (char *) "self", NULL
40564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_centreY_get",kwnames
,&obj0
)) goto fail
;
40565 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40566 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40567 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreY
);
40569 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40576 static PyObject
*_wrap_new_LayoutConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40577 PyObject
*resultobj
;
40578 wxLayoutConstraints
*result
;
40579 char *kwnames
[] = {
40583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LayoutConstraints",kwnames
)) goto fail
;
40585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40586 result
= (wxLayoutConstraints
*)new wxLayoutConstraints();
40588 wxPyEndAllowThreads(__tstate
);
40589 if (PyErr_Occurred()) SWIG_fail
;
40591 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutConstraints
, 1);
40598 static PyObject
*_wrap_LayoutConstraints_SatisfyConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40599 PyObject
*resultobj
;
40600 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40601 wxWindow
*arg2
= (wxWindow
*) 0 ;
40602 int *arg3
= (int *) 0 ;
40605 PyObject
* obj0
= 0 ;
40606 PyObject
* obj1
= 0 ;
40607 char *kwnames
[] = {
40608 (char *) "self",(char *) "win", NULL
40612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LayoutConstraints_SatisfyConstraints",kwnames
,&obj0
,&obj1
)) goto fail
;
40613 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40614 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40615 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
40616 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40619 result
= (bool)(arg1
)->SatisfyConstraints(arg2
,arg3
);
40621 wxPyEndAllowThreads(__tstate
);
40622 if (PyErr_Occurred()) SWIG_fail
;
40625 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40628 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
40629 resultobj
= t_output_helper(resultobj
,o
);
40637 static PyObject
*_wrap_LayoutConstraints_AreSatisfied(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40638 PyObject
*resultobj
;
40639 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40641 PyObject
* obj0
= 0 ;
40642 char *kwnames
[] = {
40643 (char *) "self", NULL
40646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_AreSatisfied",kwnames
,&obj0
)) goto fail
;
40647 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40648 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40651 result
= (bool)((wxLayoutConstraints
const *)arg1
)->AreSatisfied();
40653 wxPyEndAllowThreads(__tstate
);
40654 if (PyErr_Occurred()) SWIG_fail
;
40657 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40665 static PyObject
* LayoutConstraints_swigregister(PyObject
*self
, PyObject
*args
) {
40667 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
40668 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutConstraints
, obj
);
40670 return Py_BuildValue((char *)"");
40672 static PyMethodDef SwigMethods
[] = {
40673 { (char *)"_wxPySetDictionary", __wxPySetDictionary
, METH_VARARGS
},
40674 { (char *)"_wxPyFixStockObjects", __wxPyFixStockObjects
, METH_VARARGS
},
40675 { (char *)"Object_GetClassName", (PyCFunction
) _wrap_Object_GetClassName
, METH_VARARGS
| METH_KEYWORDS
},
40676 { (char *)"Object_Destroy", (PyCFunction
) _wrap_Object_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
40677 { (char *)"Object_swigregister", Object_swigregister
, METH_VARARGS
},
40678 { (char *)"Size_width_set", (PyCFunction
) _wrap_Size_width_set
, METH_VARARGS
| METH_KEYWORDS
},
40679 { (char *)"Size_width_get", (PyCFunction
) _wrap_Size_width_get
, METH_VARARGS
| METH_KEYWORDS
},
40680 { (char *)"Size_height_set", (PyCFunction
) _wrap_Size_height_set
, METH_VARARGS
| METH_KEYWORDS
},
40681 { (char *)"Size_height_get", (PyCFunction
) _wrap_Size_height_get
, METH_VARARGS
| METH_KEYWORDS
},
40682 { (char *)"new_Size", (PyCFunction
) _wrap_new_Size
, METH_VARARGS
| METH_KEYWORDS
},
40683 { (char *)"delete_Size", (PyCFunction
) _wrap_delete_Size
, METH_VARARGS
| METH_KEYWORDS
},
40684 { (char *)"Size___eq__", (PyCFunction
) _wrap_Size___eq__
, METH_VARARGS
| METH_KEYWORDS
},
40685 { (char *)"Size___ne__", (PyCFunction
) _wrap_Size___ne__
, METH_VARARGS
| METH_KEYWORDS
},
40686 { (char *)"Size___add__", (PyCFunction
) _wrap_Size___add__
, METH_VARARGS
| METH_KEYWORDS
},
40687 { (char *)"Size___sub__", (PyCFunction
) _wrap_Size___sub__
, METH_VARARGS
| METH_KEYWORDS
},
40688 { (char *)"Size_IncTo", (PyCFunction
) _wrap_Size_IncTo
, METH_VARARGS
| METH_KEYWORDS
},
40689 { (char *)"Size_DecTo", (PyCFunction
) _wrap_Size_DecTo
, METH_VARARGS
| METH_KEYWORDS
},
40690 { (char *)"Size_Set", (PyCFunction
) _wrap_Size_Set
, METH_VARARGS
| METH_KEYWORDS
},
40691 { (char *)"Size_SetWidth", (PyCFunction
) _wrap_Size_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
40692 { (char *)"Size_SetHeight", (PyCFunction
) _wrap_Size_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
40693 { (char *)"Size_GetWidth", (PyCFunction
) _wrap_Size_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
40694 { (char *)"Size_GetHeight", (PyCFunction
) _wrap_Size_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
40695 { (char *)"Size_IsFullySpecified", (PyCFunction
) _wrap_Size_IsFullySpecified
, METH_VARARGS
| METH_KEYWORDS
},
40696 { (char *)"Size_SetDefaults", (PyCFunction
) _wrap_Size_SetDefaults
, METH_VARARGS
| METH_KEYWORDS
},
40697 { (char *)"Size_Get", (PyCFunction
) _wrap_Size_Get
, METH_VARARGS
| METH_KEYWORDS
},
40698 { (char *)"Size_swigregister", Size_swigregister
, METH_VARARGS
},
40699 { (char *)"RealPoint_x_set", (PyCFunction
) _wrap_RealPoint_x_set
, METH_VARARGS
| METH_KEYWORDS
},
40700 { (char *)"RealPoint_x_get", (PyCFunction
) _wrap_RealPoint_x_get
, METH_VARARGS
| METH_KEYWORDS
},
40701 { (char *)"RealPoint_y_set", (PyCFunction
) _wrap_RealPoint_y_set
, METH_VARARGS
| METH_KEYWORDS
},
40702 { (char *)"RealPoint_y_get", (PyCFunction
) _wrap_RealPoint_y_get
, METH_VARARGS
| METH_KEYWORDS
},
40703 { (char *)"new_RealPoint", (PyCFunction
) _wrap_new_RealPoint
, METH_VARARGS
| METH_KEYWORDS
},
40704 { (char *)"delete_RealPoint", (PyCFunction
) _wrap_delete_RealPoint
, METH_VARARGS
| METH_KEYWORDS
},
40705 { (char *)"RealPoint___eq__", (PyCFunction
) _wrap_RealPoint___eq__
, METH_VARARGS
| METH_KEYWORDS
},
40706 { (char *)"RealPoint___ne__", (PyCFunction
) _wrap_RealPoint___ne__
, METH_VARARGS
| METH_KEYWORDS
},
40707 { (char *)"RealPoint___add__", (PyCFunction
) _wrap_RealPoint___add__
, METH_VARARGS
| METH_KEYWORDS
},
40708 { (char *)"RealPoint___sub__", (PyCFunction
) _wrap_RealPoint___sub__
, METH_VARARGS
| METH_KEYWORDS
},
40709 { (char *)"RealPoint_Set", (PyCFunction
) _wrap_RealPoint_Set
, METH_VARARGS
| METH_KEYWORDS
},
40710 { (char *)"RealPoint_Get", (PyCFunction
) _wrap_RealPoint_Get
, METH_VARARGS
| METH_KEYWORDS
},
40711 { (char *)"RealPoint_swigregister", RealPoint_swigregister
, METH_VARARGS
},
40712 { (char *)"Point_x_set", (PyCFunction
) _wrap_Point_x_set
, METH_VARARGS
| METH_KEYWORDS
},
40713 { (char *)"Point_x_get", (PyCFunction
) _wrap_Point_x_get
, METH_VARARGS
| METH_KEYWORDS
},
40714 { (char *)"Point_y_set", (PyCFunction
) _wrap_Point_y_set
, METH_VARARGS
| METH_KEYWORDS
},
40715 { (char *)"Point_y_get", (PyCFunction
) _wrap_Point_y_get
, METH_VARARGS
| METH_KEYWORDS
},
40716 { (char *)"new_Point", (PyCFunction
) _wrap_new_Point
, METH_VARARGS
| METH_KEYWORDS
},
40717 { (char *)"delete_Point", (PyCFunction
) _wrap_delete_Point
, METH_VARARGS
| METH_KEYWORDS
},
40718 { (char *)"Point___eq__", (PyCFunction
) _wrap_Point___eq__
, METH_VARARGS
| METH_KEYWORDS
},
40719 { (char *)"Point___ne__", (PyCFunction
) _wrap_Point___ne__
, METH_VARARGS
| METH_KEYWORDS
},
40720 { (char *)"Point___add__", (PyCFunction
) _wrap_Point___add__
, METH_VARARGS
| METH_KEYWORDS
},
40721 { (char *)"Point___sub__", (PyCFunction
) _wrap_Point___sub__
, METH_VARARGS
| METH_KEYWORDS
},
40722 { (char *)"Point___iadd__", (PyCFunction
) _wrap_Point___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
40723 { (char *)"Point___isub__", (PyCFunction
) _wrap_Point___isub__
, METH_VARARGS
| METH_KEYWORDS
},
40724 { (char *)"Point_Set", (PyCFunction
) _wrap_Point_Set
, METH_VARARGS
| METH_KEYWORDS
},
40725 { (char *)"Point_Get", (PyCFunction
) _wrap_Point_Get
, METH_VARARGS
| METH_KEYWORDS
},
40726 { (char *)"Point_swigregister", Point_swigregister
, METH_VARARGS
},
40727 { (char *)"new_Rect", (PyCFunction
) _wrap_new_Rect
, METH_VARARGS
| METH_KEYWORDS
},
40728 { (char *)"new_RectPP", (PyCFunction
) _wrap_new_RectPP
, METH_VARARGS
| METH_KEYWORDS
},
40729 { (char *)"new_RectPS", (PyCFunction
) _wrap_new_RectPS
, METH_VARARGS
| METH_KEYWORDS
},
40730 { (char *)"delete_Rect", (PyCFunction
) _wrap_delete_Rect
, METH_VARARGS
| METH_KEYWORDS
},
40731 { (char *)"Rect_GetX", (PyCFunction
) _wrap_Rect_GetX
, METH_VARARGS
| METH_KEYWORDS
},
40732 { (char *)"Rect_SetX", (PyCFunction
) _wrap_Rect_SetX
, METH_VARARGS
| METH_KEYWORDS
},
40733 { (char *)"Rect_GetY", (PyCFunction
) _wrap_Rect_GetY
, METH_VARARGS
| METH_KEYWORDS
},
40734 { (char *)"Rect_SetY", (PyCFunction
) _wrap_Rect_SetY
, METH_VARARGS
| METH_KEYWORDS
},
40735 { (char *)"Rect_GetWidth", (PyCFunction
) _wrap_Rect_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
40736 { (char *)"Rect_SetWidth", (PyCFunction
) _wrap_Rect_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
40737 { (char *)"Rect_GetHeight", (PyCFunction
) _wrap_Rect_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
40738 { (char *)"Rect_SetHeight", (PyCFunction
) _wrap_Rect_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
40739 { (char *)"Rect_GetPosition", (PyCFunction
) _wrap_Rect_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40740 { (char *)"Rect_SetPosition", (PyCFunction
) _wrap_Rect_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40741 { (char *)"Rect_GetSize", (PyCFunction
) _wrap_Rect_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
40742 { (char *)"Rect_SetSize", (PyCFunction
) _wrap_Rect_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
40743 { (char *)"Rect_GetTopLeft", (PyCFunction
) _wrap_Rect_GetTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
40744 { (char *)"Rect_SetTopLeft", (PyCFunction
) _wrap_Rect_SetTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
40745 { (char *)"Rect_GetBottomRight", (PyCFunction
) _wrap_Rect_GetBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
40746 { (char *)"Rect_SetBottomRight", (PyCFunction
) _wrap_Rect_SetBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
40747 { (char *)"Rect_GetLeft", (PyCFunction
) _wrap_Rect_GetLeft
, METH_VARARGS
| METH_KEYWORDS
},
40748 { (char *)"Rect_GetTop", (PyCFunction
) _wrap_Rect_GetTop
, METH_VARARGS
| METH_KEYWORDS
},
40749 { (char *)"Rect_GetBottom", (PyCFunction
) _wrap_Rect_GetBottom
, METH_VARARGS
| METH_KEYWORDS
},
40750 { (char *)"Rect_GetRight", (PyCFunction
) _wrap_Rect_GetRight
, METH_VARARGS
| METH_KEYWORDS
},
40751 { (char *)"Rect_SetLeft", (PyCFunction
) _wrap_Rect_SetLeft
, METH_VARARGS
| METH_KEYWORDS
},
40752 { (char *)"Rect_SetRight", (PyCFunction
) _wrap_Rect_SetRight
, METH_VARARGS
| METH_KEYWORDS
},
40753 { (char *)"Rect_SetTop", (PyCFunction
) _wrap_Rect_SetTop
, METH_VARARGS
| METH_KEYWORDS
},
40754 { (char *)"Rect_SetBottom", (PyCFunction
) _wrap_Rect_SetBottom
, METH_VARARGS
| METH_KEYWORDS
},
40755 { (char *)"Rect_Inflate", (PyCFunction
) _wrap_Rect_Inflate
, METH_VARARGS
| METH_KEYWORDS
},
40756 { (char *)"Rect_Deflate", (PyCFunction
) _wrap_Rect_Deflate
, METH_VARARGS
| METH_KEYWORDS
},
40757 { (char *)"Rect_OffsetXY", (PyCFunction
) _wrap_Rect_OffsetXY
, METH_VARARGS
| METH_KEYWORDS
},
40758 { (char *)"Rect_Offset", (PyCFunction
) _wrap_Rect_Offset
, METH_VARARGS
| METH_KEYWORDS
},
40759 { (char *)"Rect_Intersect", (PyCFunction
) _wrap_Rect_Intersect
, METH_VARARGS
| METH_KEYWORDS
},
40760 { (char *)"Rect___add__", (PyCFunction
) _wrap_Rect___add__
, METH_VARARGS
| METH_KEYWORDS
},
40761 { (char *)"Rect___iadd__", (PyCFunction
) _wrap_Rect___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
40762 { (char *)"Rect___eq__", (PyCFunction
) _wrap_Rect___eq__
, METH_VARARGS
| METH_KEYWORDS
},
40763 { (char *)"Rect___ne__", (PyCFunction
) _wrap_Rect___ne__
, METH_VARARGS
| METH_KEYWORDS
},
40764 { (char *)"Rect_InsideXY", (PyCFunction
) _wrap_Rect_InsideXY
, METH_VARARGS
| METH_KEYWORDS
},
40765 { (char *)"Rect_Inside", (PyCFunction
) _wrap_Rect_Inside
, METH_VARARGS
| METH_KEYWORDS
},
40766 { (char *)"Rect_Intersects", (PyCFunction
) _wrap_Rect_Intersects
, METH_VARARGS
| METH_KEYWORDS
},
40767 { (char *)"Rect_x_set", (PyCFunction
) _wrap_Rect_x_set
, METH_VARARGS
| METH_KEYWORDS
},
40768 { (char *)"Rect_x_get", (PyCFunction
) _wrap_Rect_x_get
, METH_VARARGS
| METH_KEYWORDS
},
40769 { (char *)"Rect_y_set", (PyCFunction
) _wrap_Rect_y_set
, METH_VARARGS
| METH_KEYWORDS
},
40770 { (char *)"Rect_y_get", (PyCFunction
) _wrap_Rect_y_get
, METH_VARARGS
| METH_KEYWORDS
},
40771 { (char *)"Rect_width_set", (PyCFunction
) _wrap_Rect_width_set
, METH_VARARGS
| METH_KEYWORDS
},
40772 { (char *)"Rect_width_get", (PyCFunction
) _wrap_Rect_width_get
, METH_VARARGS
| METH_KEYWORDS
},
40773 { (char *)"Rect_height_set", (PyCFunction
) _wrap_Rect_height_set
, METH_VARARGS
| METH_KEYWORDS
},
40774 { (char *)"Rect_height_get", (PyCFunction
) _wrap_Rect_height_get
, METH_VARARGS
| METH_KEYWORDS
},
40775 { (char *)"Rect_Set", (PyCFunction
) _wrap_Rect_Set
, METH_VARARGS
| METH_KEYWORDS
},
40776 { (char *)"Rect_Get", (PyCFunction
) _wrap_Rect_Get
, METH_VARARGS
| METH_KEYWORDS
},
40777 { (char *)"Rect_swigregister", Rect_swigregister
, METH_VARARGS
},
40778 { (char *)"IntersectRect", (PyCFunction
) _wrap_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
},
40779 { (char *)"new_Point2D", (PyCFunction
) _wrap_new_Point2D
, METH_VARARGS
| METH_KEYWORDS
},
40780 { (char *)"new_Point2DCopy", (PyCFunction
) _wrap_new_Point2DCopy
, METH_VARARGS
| METH_KEYWORDS
},
40781 { (char *)"new_Point2DFromPoint", (PyCFunction
) _wrap_new_Point2DFromPoint
, METH_VARARGS
| METH_KEYWORDS
},
40782 { (char *)"Point2D_GetFloor", (PyCFunction
) _wrap_Point2D_GetFloor
, METH_VARARGS
| METH_KEYWORDS
},
40783 { (char *)"Point2D_GetRounded", (PyCFunction
) _wrap_Point2D_GetRounded
, METH_VARARGS
| METH_KEYWORDS
},
40784 { (char *)"Point2D_GetVectorLength", (PyCFunction
) _wrap_Point2D_GetVectorLength
, METH_VARARGS
| METH_KEYWORDS
},
40785 { (char *)"Point2D_GetVectorAngle", (PyCFunction
) _wrap_Point2D_GetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
},
40786 { (char *)"Point2D_SetVectorLength", (PyCFunction
) _wrap_Point2D_SetVectorLength
, METH_VARARGS
| METH_KEYWORDS
},
40787 { (char *)"Point2D_SetVectorAngle", (PyCFunction
) _wrap_Point2D_SetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
},
40788 { (char *)"Point2D_GetDistance", (PyCFunction
) _wrap_Point2D_GetDistance
, METH_VARARGS
| METH_KEYWORDS
},
40789 { (char *)"Point2D_GetDistanceSquare", (PyCFunction
) _wrap_Point2D_GetDistanceSquare
, METH_VARARGS
| METH_KEYWORDS
},
40790 { (char *)"Point2D_GetDotProduct", (PyCFunction
) _wrap_Point2D_GetDotProduct
, METH_VARARGS
| METH_KEYWORDS
},
40791 { (char *)"Point2D_GetCrossProduct", (PyCFunction
) _wrap_Point2D_GetCrossProduct
, METH_VARARGS
| METH_KEYWORDS
},
40792 { (char *)"Point2D___neg__", (PyCFunction
) _wrap_Point2D___neg__
, METH_VARARGS
| METH_KEYWORDS
},
40793 { (char *)"Point2D___iadd__", (PyCFunction
) _wrap_Point2D___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
40794 { (char *)"Point2D___isub__", (PyCFunction
) _wrap_Point2D___isub__
, METH_VARARGS
| METH_KEYWORDS
},
40795 { (char *)"Point2D___imul__", (PyCFunction
) _wrap_Point2D___imul__
, METH_VARARGS
| METH_KEYWORDS
},
40796 { (char *)"Point2D___idiv__", (PyCFunction
) _wrap_Point2D___idiv__
, METH_VARARGS
| METH_KEYWORDS
},
40797 { (char *)"Point2D___eq__", (PyCFunction
) _wrap_Point2D___eq__
, METH_VARARGS
| METH_KEYWORDS
},
40798 { (char *)"Point2D___ne__", (PyCFunction
) _wrap_Point2D___ne__
, METH_VARARGS
| METH_KEYWORDS
},
40799 { (char *)"Point2D_x_set", (PyCFunction
) _wrap_Point2D_x_set
, METH_VARARGS
| METH_KEYWORDS
},
40800 { (char *)"Point2D_x_get", (PyCFunction
) _wrap_Point2D_x_get
, METH_VARARGS
| METH_KEYWORDS
},
40801 { (char *)"Point2D_y_set", (PyCFunction
) _wrap_Point2D_y_set
, METH_VARARGS
| METH_KEYWORDS
},
40802 { (char *)"Point2D_y_get", (PyCFunction
) _wrap_Point2D_y_get
, METH_VARARGS
| METH_KEYWORDS
},
40803 { (char *)"Point2D_Set", (PyCFunction
) _wrap_Point2D_Set
, METH_VARARGS
| METH_KEYWORDS
},
40804 { (char *)"Point2D_Get", (PyCFunction
) _wrap_Point2D_Get
, METH_VARARGS
| METH_KEYWORDS
},
40805 { (char *)"Point2D_swigregister", Point2D_swigregister
, METH_VARARGS
},
40806 { (char *)"new_InputStream", (PyCFunction
) _wrap_new_InputStream
, METH_VARARGS
| METH_KEYWORDS
},
40807 { (char *)"InputStream_close", (PyCFunction
) _wrap_InputStream_close
, METH_VARARGS
| METH_KEYWORDS
},
40808 { (char *)"InputStream_flush", (PyCFunction
) _wrap_InputStream_flush
, METH_VARARGS
| METH_KEYWORDS
},
40809 { (char *)"InputStream_eof", (PyCFunction
) _wrap_InputStream_eof
, METH_VARARGS
| METH_KEYWORDS
},
40810 { (char *)"InputStream_read", (PyCFunction
) _wrap_InputStream_read
, METH_VARARGS
| METH_KEYWORDS
},
40811 { (char *)"InputStream_readline", (PyCFunction
) _wrap_InputStream_readline
, METH_VARARGS
| METH_KEYWORDS
},
40812 { (char *)"InputStream_readlines", (PyCFunction
) _wrap_InputStream_readlines
, METH_VARARGS
| METH_KEYWORDS
},
40813 { (char *)"InputStream_seek", (PyCFunction
) _wrap_InputStream_seek
, METH_VARARGS
| METH_KEYWORDS
},
40814 { (char *)"InputStream_tell", (PyCFunction
) _wrap_InputStream_tell
, METH_VARARGS
| METH_KEYWORDS
},
40815 { (char *)"InputStream_Peek", (PyCFunction
) _wrap_InputStream_Peek
, METH_VARARGS
| METH_KEYWORDS
},
40816 { (char *)"InputStream_GetC", (PyCFunction
) _wrap_InputStream_GetC
, METH_VARARGS
| METH_KEYWORDS
},
40817 { (char *)"InputStream_LastRead", (PyCFunction
) _wrap_InputStream_LastRead
, METH_VARARGS
| METH_KEYWORDS
},
40818 { (char *)"InputStream_CanRead", (PyCFunction
) _wrap_InputStream_CanRead
, METH_VARARGS
| METH_KEYWORDS
},
40819 { (char *)"InputStream_Eof", (PyCFunction
) _wrap_InputStream_Eof
, METH_VARARGS
| METH_KEYWORDS
},
40820 { (char *)"InputStream_Ungetch", (PyCFunction
) _wrap_InputStream_Ungetch
, METH_VARARGS
| METH_KEYWORDS
},
40821 { (char *)"InputStream_SeekI", (PyCFunction
) _wrap_InputStream_SeekI
, METH_VARARGS
| METH_KEYWORDS
},
40822 { (char *)"InputStream_TellI", (PyCFunction
) _wrap_InputStream_TellI
, METH_VARARGS
| METH_KEYWORDS
},
40823 { (char *)"InputStream_swigregister", InputStream_swigregister
, METH_VARARGS
},
40824 { (char *)"OutputStream_write", (PyCFunction
) _wrap_OutputStream_write
, METH_VARARGS
| METH_KEYWORDS
},
40825 { (char *)"OutputStream_swigregister", OutputStream_swigregister
, METH_VARARGS
},
40826 { (char *)"new_FSFile", (PyCFunction
) _wrap_new_FSFile
, METH_VARARGS
| METH_KEYWORDS
},
40827 { (char *)"delete_FSFile", (PyCFunction
) _wrap_delete_FSFile
, METH_VARARGS
| METH_KEYWORDS
},
40828 { (char *)"FSFile_GetStream", (PyCFunction
) _wrap_FSFile_GetStream
, METH_VARARGS
| METH_KEYWORDS
},
40829 { (char *)"FSFile_GetMimeType", (PyCFunction
) _wrap_FSFile_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
40830 { (char *)"FSFile_GetLocation", (PyCFunction
) _wrap_FSFile_GetLocation
, METH_VARARGS
| METH_KEYWORDS
},
40831 { (char *)"FSFile_GetAnchor", (PyCFunction
) _wrap_FSFile_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
},
40832 { (char *)"FSFile_GetModificationTime", (PyCFunction
) _wrap_FSFile_GetModificationTime
, METH_VARARGS
| METH_KEYWORDS
},
40833 { (char *)"FSFile_swigregister", FSFile_swigregister
, METH_VARARGS
},
40834 { (char *)"CPPFileSystemHandler_swigregister", CPPFileSystemHandler_swigregister
, METH_VARARGS
},
40835 { (char *)"new_FileSystemHandler", (PyCFunction
) _wrap_new_FileSystemHandler
, METH_VARARGS
| METH_KEYWORDS
},
40836 { (char *)"FileSystemHandler__setCallbackInfo", (PyCFunction
) _wrap_FileSystemHandler__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
40837 { (char *)"FileSystemHandler_CanOpen", (PyCFunction
) _wrap_FileSystemHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
},
40838 { (char *)"FileSystemHandler_OpenFile", (PyCFunction
) _wrap_FileSystemHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
40839 { (char *)"FileSystemHandler_FindFirst", (PyCFunction
) _wrap_FileSystemHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
},
40840 { (char *)"FileSystemHandler_FindNext", (PyCFunction
) _wrap_FileSystemHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
},
40841 { (char *)"FileSystemHandler_GetProtocol", (PyCFunction
) _wrap_FileSystemHandler_GetProtocol
, METH_VARARGS
| METH_KEYWORDS
},
40842 { (char *)"FileSystemHandler_GetLeftLocation", (PyCFunction
) _wrap_FileSystemHandler_GetLeftLocation
, METH_VARARGS
| METH_KEYWORDS
},
40843 { (char *)"FileSystemHandler_GetAnchor", (PyCFunction
) _wrap_FileSystemHandler_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
},
40844 { (char *)"FileSystemHandler_GetRightLocation", (PyCFunction
) _wrap_FileSystemHandler_GetRightLocation
, METH_VARARGS
| METH_KEYWORDS
},
40845 { (char *)"FileSystemHandler_GetMimeTypeFromExt", (PyCFunction
) _wrap_FileSystemHandler_GetMimeTypeFromExt
, METH_VARARGS
| METH_KEYWORDS
},
40846 { (char *)"FileSystemHandler_swigregister", FileSystemHandler_swigregister
, METH_VARARGS
},
40847 { (char *)"new_FileSystem", (PyCFunction
) _wrap_new_FileSystem
, METH_VARARGS
| METH_KEYWORDS
},
40848 { (char *)"delete_FileSystem", (PyCFunction
) _wrap_delete_FileSystem
, METH_VARARGS
| METH_KEYWORDS
},
40849 { (char *)"FileSystem_ChangePathTo", (PyCFunction
) _wrap_FileSystem_ChangePathTo
, METH_VARARGS
| METH_KEYWORDS
},
40850 { (char *)"FileSystem_GetPath", (PyCFunction
) _wrap_FileSystem_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
40851 { (char *)"FileSystem_OpenFile", (PyCFunction
) _wrap_FileSystem_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
40852 { (char *)"FileSystem_FindFirst", (PyCFunction
) _wrap_FileSystem_FindFirst
, METH_VARARGS
| METH_KEYWORDS
},
40853 { (char *)"FileSystem_FindNext", (PyCFunction
) _wrap_FileSystem_FindNext
, METH_VARARGS
| METH_KEYWORDS
},
40854 { (char *)"FileSystem_AddHandler", (PyCFunction
) _wrap_FileSystem_AddHandler
, METH_VARARGS
| METH_KEYWORDS
},
40855 { (char *)"FileSystem_CleanUpHandlers", (PyCFunction
) _wrap_FileSystem_CleanUpHandlers
, METH_VARARGS
| METH_KEYWORDS
},
40856 { (char *)"FileSystem_FileNameToURL", (PyCFunction
) _wrap_FileSystem_FileNameToURL
, METH_VARARGS
| METH_KEYWORDS
},
40857 { (char *)"FileSystem_swigregister", FileSystem_swigregister
, METH_VARARGS
},
40858 { (char *)"FileSystem_URLToFileName", (PyCFunction
) _wrap_FileSystem_URLToFileName
, METH_VARARGS
| METH_KEYWORDS
},
40859 { (char *)"new_InternetFSHandler", (PyCFunction
) _wrap_new_InternetFSHandler
, METH_VARARGS
| METH_KEYWORDS
},
40860 { (char *)"InternetFSHandler_CanOpen", (PyCFunction
) _wrap_InternetFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
},
40861 { (char *)"InternetFSHandler_OpenFile", (PyCFunction
) _wrap_InternetFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
40862 { (char *)"InternetFSHandler_swigregister", InternetFSHandler_swigregister
, METH_VARARGS
},
40863 { (char *)"new_ZipFSHandler", (PyCFunction
) _wrap_new_ZipFSHandler
, METH_VARARGS
| METH_KEYWORDS
},
40864 { (char *)"ZipFSHandler_CanOpen", (PyCFunction
) _wrap_ZipFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
},
40865 { (char *)"ZipFSHandler_OpenFile", (PyCFunction
) _wrap_ZipFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
40866 { (char *)"ZipFSHandler_FindFirst", (PyCFunction
) _wrap_ZipFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
},
40867 { (char *)"ZipFSHandler_FindNext", (PyCFunction
) _wrap_ZipFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
},
40868 { (char *)"ZipFSHandler_swigregister", ZipFSHandler_swigregister
, METH_VARARGS
},
40869 { (char *)"__wxMemoryFSHandler_AddFile_wxImage", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxImage
, METH_VARARGS
| METH_KEYWORDS
},
40870 { (char *)"__wxMemoryFSHandler_AddFile_wxBitmap", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxBitmap
, METH_VARARGS
| METH_KEYWORDS
},
40871 { (char *)"__wxMemoryFSHandler_AddFile_Data", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_Data
, METH_VARARGS
| METH_KEYWORDS
},
40872 { (char *)"new_MemoryFSHandler", (PyCFunction
) _wrap_new_MemoryFSHandler
, METH_VARARGS
| METH_KEYWORDS
},
40873 { (char *)"MemoryFSHandler_RemoveFile", (PyCFunction
) _wrap_MemoryFSHandler_RemoveFile
, METH_VARARGS
| METH_KEYWORDS
},
40874 { (char *)"MemoryFSHandler_CanOpen", (PyCFunction
) _wrap_MemoryFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
},
40875 { (char *)"MemoryFSHandler_OpenFile", (PyCFunction
) _wrap_MemoryFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
40876 { (char *)"MemoryFSHandler_FindFirst", (PyCFunction
) _wrap_MemoryFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
},
40877 { (char *)"MemoryFSHandler_FindNext", (PyCFunction
) _wrap_MemoryFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
},
40878 { (char *)"MemoryFSHandler_swigregister", MemoryFSHandler_swigregister
, METH_VARARGS
},
40879 { (char *)"ImageHandler_GetName", (PyCFunction
) _wrap_ImageHandler_GetName
, METH_VARARGS
| METH_KEYWORDS
},
40880 { (char *)"ImageHandler_GetExtension", (PyCFunction
) _wrap_ImageHandler_GetExtension
, METH_VARARGS
| METH_KEYWORDS
},
40881 { (char *)"ImageHandler_GetType", (PyCFunction
) _wrap_ImageHandler_GetType
, METH_VARARGS
| METH_KEYWORDS
},
40882 { (char *)"ImageHandler_GetMimeType", (PyCFunction
) _wrap_ImageHandler_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
40883 { (char *)"ImageHandler_CanRead", (PyCFunction
) _wrap_ImageHandler_CanRead
, METH_VARARGS
| METH_KEYWORDS
},
40884 { (char *)"ImageHandler_SetName", (PyCFunction
) _wrap_ImageHandler_SetName
, METH_VARARGS
| METH_KEYWORDS
},
40885 { (char *)"ImageHandler_SetExtension", (PyCFunction
) _wrap_ImageHandler_SetExtension
, METH_VARARGS
| METH_KEYWORDS
},
40886 { (char *)"ImageHandler_SetType", (PyCFunction
) _wrap_ImageHandler_SetType
, METH_VARARGS
| METH_KEYWORDS
},
40887 { (char *)"ImageHandler_SetMimeType", (PyCFunction
) _wrap_ImageHandler_SetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
40888 { (char *)"ImageHandler_swigregister", ImageHandler_swigregister
, METH_VARARGS
},
40889 { (char *)"new_ImageHistogram", (PyCFunction
) _wrap_new_ImageHistogram
, METH_VARARGS
| METH_KEYWORDS
},
40890 { (char *)"ImageHistogram_MakeKey", (PyCFunction
) _wrap_ImageHistogram_MakeKey
, METH_VARARGS
| METH_KEYWORDS
},
40891 { (char *)"ImageHistogram_FindFirstUnusedColour", (PyCFunction
) _wrap_ImageHistogram_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
},
40892 { (char *)"ImageHistogram_swigregister", ImageHistogram_swigregister
, METH_VARARGS
},
40893 { (char *)"new_Image", (PyCFunction
) _wrap_new_Image
, METH_VARARGS
| METH_KEYWORDS
},
40894 { (char *)"delete_Image", (PyCFunction
) _wrap_delete_Image
, METH_VARARGS
| METH_KEYWORDS
},
40895 { (char *)"new_ImageFromMime", (PyCFunction
) _wrap_new_ImageFromMime
, METH_VARARGS
| METH_KEYWORDS
},
40896 { (char *)"new_ImageFromStream", (PyCFunction
) _wrap_new_ImageFromStream
, METH_VARARGS
| METH_KEYWORDS
},
40897 { (char *)"new_ImageFromStreamMime", (PyCFunction
) _wrap_new_ImageFromStreamMime
, METH_VARARGS
| METH_KEYWORDS
},
40898 { (char *)"new_EmptyImage", (PyCFunction
) _wrap_new_EmptyImage
, METH_VARARGS
| METH_KEYWORDS
},
40899 { (char *)"new_ImageFromBitmap", (PyCFunction
) _wrap_new_ImageFromBitmap
, METH_VARARGS
| METH_KEYWORDS
},
40900 { (char *)"new_ImageFromData", (PyCFunction
) _wrap_new_ImageFromData
, METH_VARARGS
| METH_KEYWORDS
},
40901 { (char *)"Image_Create", (PyCFunction
) _wrap_Image_Create
, METH_VARARGS
| METH_KEYWORDS
},
40902 { (char *)"Image_Destroy", (PyCFunction
) _wrap_Image_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
40903 { (char *)"Image_Scale", (PyCFunction
) _wrap_Image_Scale
, METH_VARARGS
| METH_KEYWORDS
},
40904 { (char *)"Image_ShrinkBy", (PyCFunction
) _wrap_Image_ShrinkBy
, METH_VARARGS
| METH_KEYWORDS
},
40905 { (char *)"Image_Rescale", (PyCFunction
) _wrap_Image_Rescale
, METH_VARARGS
| METH_KEYWORDS
},
40906 { (char *)"Image_SetRGB", (PyCFunction
) _wrap_Image_SetRGB
, METH_VARARGS
| METH_KEYWORDS
},
40907 { (char *)"Image_GetRed", (PyCFunction
) _wrap_Image_GetRed
, METH_VARARGS
| METH_KEYWORDS
},
40908 { (char *)"Image_GetGreen", (PyCFunction
) _wrap_Image_GetGreen
, METH_VARARGS
| METH_KEYWORDS
},
40909 { (char *)"Image_GetBlue", (PyCFunction
) _wrap_Image_GetBlue
, METH_VARARGS
| METH_KEYWORDS
},
40910 { (char *)"Image_SetAlpha", (PyCFunction
) _wrap_Image_SetAlpha
, METH_VARARGS
| METH_KEYWORDS
},
40911 { (char *)"Image_GetAlpha", (PyCFunction
) _wrap_Image_GetAlpha
, METH_VARARGS
| METH_KEYWORDS
},
40912 { (char *)"Image_HasAlpha", (PyCFunction
) _wrap_Image_HasAlpha
, METH_VARARGS
| METH_KEYWORDS
},
40913 { (char *)"Image_FindFirstUnusedColour", (PyCFunction
) _wrap_Image_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
},
40914 { (char *)"Image_SetMaskFromImage", (PyCFunction
) _wrap_Image_SetMaskFromImage
, METH_VARARGS
| METH_KEYWORDS
},
40915 { (char *)"Image_CanRead", (PyCFunction
) _wrap_Image_CanRead
, METH_VARARGS
| METH_KEYWORDS
},
40916 { (char *)"Image_GetImageCount", (PyCFunction
) _wrap_Image_GetImageCount
, METH_VARARGS
| METH_KEYWORDS
},
40917 { (char *)"Image_LoadFile", (PyCFunction
) _wrap_Image_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
40918 { (char *)"Image_LoadMimeFile", (PyCFunction
) _wrap_Image_LoadMimeFile
, METH_VARARGS
| METH_KEYWORDS
},
40919 { (char *)"Image_SaveFile", (PyCFunction
) _wrap_Image_SaveFile
, METH_VARARGS
| METH_KEYWORDS
},
40920 { (char *)"Image_SaveMimeFile", (PyCFunction
) _wrap_Image_SaveMimeFile
, METH_VARARGS
| METH_KEYWORDS
},
40921 { (char *)"Image_CanReadStream", (PyCFunction
) _wrap_Image_CanReadStream
, METH_VARARGS
| METH_KEYWORDS
},
40922 { (char *)"Image_LoadStream", (PyCFunction
) _wrap_Image_LoadStream
, METH_VARARGS
| METH_KEYWORDS
},
40923 { (char *)"Image_LoadMimeStream", (PyCFunction
) _wrap_Image_LoadMimeStream
, METH_VARARGS
| METH_KEYWORDS
},
40924 { (char *)"Image_Ok", (PyCFunction
) _wrap_Image_Ok
, METH_VARARGS
| METH_KEYWORDS
},
40925 { (char *)"Image_GetWidth", (PyCFunction
) _wrap_Image_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
40926 { (char *)"Image_GetHeight", (PyCFunction
) _wrap_Image_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
40927 { (char *)"Image_GetSize", (PyCFunction
) _wrap_Image_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
40928 { (char *)"Image_GetSubImage", (PyCFunction
) _wrap_Image_GetSubImage
, METH_VARARGS
| METH_KEYWORDS
},
40929 { (char *)"Image_Copy", (PyCFunction
) _wrap_Image_Copy
, METH_VARARGS
| METH_KEYWORDS
},
40930 { (char *)"Image_Paste", (PyCFunction
) _wrap_Image_Paste
, METH_VARARGS
| METH_KEYWORDS
},
40931 { (char *)"Image_GetData", (PyCFunction
) _wrap_Image_GetData
, METH_VARARGS
| METH_KEYWORDS
},
40932 { (char *)"Image_SetData", (PyCFunction
) _wrap_Image_SetData
, METH_VARARGS
| METH_KEYWORDS
},
40933 { (char *)"Image_GetDataBuffer", (PyCFunction
) _wrap_Image_GetDataBuffer
, METH_VARARGS
| METH_KEYWORDS
},
40934 { (char *)"Image_SetDataBuffer", (PyCFunction
) _wrap_Image_SetDataBuffer
, METH_VARARGS
| METH_KEYWORDS
},
40935 { (char *)"Image_GetAlphaData", (PyCFunction
) _wrap_Image_GetAlphaData
, METH_VARARGS
| METH_KEYWORDS
},
40936 { (char *)"Image_SetAlphaData", (PyCFunction
) _wrap_Image_SetAlphaData
, METH_VARARGS
| METH_KEYWORDS
},
40937 { (char *)"Image_GetAlphaBuffer", (PyCFunction
) _wrap_Image_GetAlphaBuffer
, METH_VARARGS
| METH_KEYWORDS
},
40938 { (char *)"Image_SetAlphaBuffer", (PyCFunction
) _wrap_Image_SetAlphaBuffer
, METH_VARARGS
| METH_KEYWORDS
},
40939 { (char *)"Image_SetMaskColour", (PyCFunction
) _wrap_Image_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
},
40940 { (char *)"Image_GetMaskRed", (PyCFunction
) _wrap_Image_GetMaskRed
, METH_VARARGS
| METH_KEYWORDS
},
40941 { (char *)"Image_GetMaskGreen", (PyCFunction
) _wrap_Image_GetMaskGreen
, METH_VARARGS
| METH_KEYWORDS
},
40942 { (char *)"Image_GetMaskBlue", (PyCFunction
) _wrap_Image_GetMaskBlue
, METH_VARARGS
| METH_KEYWORDS
},
40943 { (char *)"Image_SetMask", (PyCFunction
) _wrap_Image_SetMask
, METH_VARARGS
| METH_KEYWORDS
},
40944 { (char *)"Image_HasMask", (PyCFunction
) _wrap_Image_HasMask
, METH_VARARGS
| METH_KEYWORDS
},
40945 { (char *)"Image_Rotate", (PyCFunction
) _wrap_Image_Rotate
, METH_VARARGS
| METH_KEYWORDS
},
40946 { (char *)"Image_Rotate90", (PyCFunction
) _wrap_Image_Rotate90
, METH_VARARGS
| METH_KEYWORDS
},
40947 { (char *)"Image_Mirror", (PyCFunction
) _wrap_Image_Mirror
, METH_VARARGS
| METH_KEYWORDS
},
40948 { (char *)"Image_Replace", (PyCFunction
) _wrap_Image_Replace
, METH_VARARGS
| METH_KEYWORDS
},
40949 { (char *)"Image_ConvertToMono", (PyCFunction
) _wrap_Image_ConvertToMono
, METH_VARARGS
| METH_KEYWORDS
},
40950 { (char *)"Image_SetOption", (PyCFunction
) _wrap_Image_SetOption
, METH_VARARGS
| METH_KEYWORDS
},
40951 { (char *)"Image_SetOptionInt", (PyCFunction
) _wrap_Image_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
},
40952 { (char *)"Image_GetOption", (PyCFunction
) _wrap_Image_GetOption
, METH_VARARGS
| METH_KEYWORDS
},
40953 { (char *)"Image_GetOptionInt", (PyCFunction
) _wrap_Image_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
},
40954 { (char *)"Image_HasOption", (PyCFunction
) _wrap_Image_HasOption
, METH_VARARGS
| METH_KEYWORDS
},
40955 { (char *)"Image_CountColours", (PyCFunction
) _wrap_Image_CountColours
, METH_VARARGS
| METH_KEYWORDS
},
40956 { (char *)"Image_ComputeHistogram", (PyCFunction
) _wrap_Image_ComputeHistogram
, METH_VARARGS
| METH_KEYWORDS
},
40957 { (char *)"Image_AddHandler", (PyCFunction
) _wrap_Image_AddHandler
, METH_VARARGS
| METH_KEYWORDS
},
40958 { (char *)"Image_InsertHandler", (PyCFunction
) _wrap_Image_InsertHandler
, METH_VARARGS
| METH_KEYWORDS
},
40959 { (char *)"Image_RemoveHandler", (PyCFunction
) _wrap_Image_RemoveHandler
, METH_VARARGS
| METH_KEYWORDS
},
40960 { (char *)"Image_GetImageExtWildcard", (PyCFunction
) _wrap_Image_GetImageExtWildcard
, METH_VARARGS
| METH_KEYWORDS
},
40961 { (char *)"Image_ConvertToBitmap", (PyCFunction
) _wrap_Image_ConvertToBitmap
, METH_VARARGS
| METH_KEYWORDS
},
40962 { (char *)"Image_ConvertToMonoBitmap", (PyCFunction
) _wrap_Image_ConvertToMonoBitmap
, METH_VARARGS
| METH_KEYWORDS
},
40963 { (char *)"Image_swigregister", Image_swigregister
, METH_VARARGS
},
40964 { (char *)"InitAllImageHandlers", (PyCFunction
) _wrap_InitAllImageHandlers
, METH_VARARGS
| METH_KEYWORDS
},
40965 { (char *)"new_BMPHandler", (PyCFunction
) _wrap_new_BMPHandler
, METH_VARARGS
| METH_KEYWORDS
},
40966 { (char *)"BMPHandler_swigregister", BMPHandler_swigregister
, METH_VARARGS
},
40967 { (char *)"new_ICOHandler", (PyCFunction
) _wrap_new_ICOHandler
, METH_VARARGS
| METH_KEYWORDS
},
40968 { (char *)"ICOHandler_swigregister", ICOHandler_swigregister
, METH_VARARGS
},
40969 { (char *)"new_CURHandler", (PyCFunction
) _wrap_new_CURHandler
, METH_VARARGS
| METH_KEYWORDS
},
40970 { (char *)"CURHandler_swigregister", CURHandler_swigregister
, METH_VARARGS
},
40971 { (char *)"new_ANIHandler", (PyCFunction
) _wrap_new_ANIHandler
, METH_VARARGS
| METH_KEYWORDS
},
40972 { (char *)"ANIHandler_swigregister", ANIHandler_swigregister
, METH_VARARGS
},
40973 { (char *)"new_PNGHandler", (PyCFunction
) _wrap_new_PNGHandler
, METH_VARARGS
| METH_KEYWORDS
},
40974 { (char *)"PNGHandler_swigregister", PNGHandler_swigregister
, METH_VARARGS
},
40975 { (char *)"new_GIFHandler", (PyCFunction
) _wrap_new_GIFHandler
, METH_VARARGS
| METH_KEYWORDS
},
40976 { (char *)"GIFHandler_swigregister", GIFHandler_swigregister
, METH_VARARGS
},
40977 { (char *)"new_PCXHandler", (PyCFunction
) _wrap_new_PCXHandler
, METH_VARARGS
| METH_KEYWORDS
},
40978 { (char *)"PCXHandler_swigregister", PCXHandler_swigregister
, METH_VARARGS
},
40979 { (char *)"new_JPEGHandler", (PyCFunction
) _wrap_new_JPEGHandler
, METH_VARARGS
| METH_KEYWORDS
},
40980 { (char *)"JPEGHandler_swigregister", JPEGHandler_swigregister
, METH_VARARGS
},
40981 { (char *)"new_PNMHandler", (PyCFunction
) _wrap_new_PNMHandler
, METH_VARARGS
| METH_KEYWORDS
},
40982 { (char *)"PNMHandler_swigregister", PNMHandler_swigregister
, METH_VARARGS
},
40983 { (char *)"new_XPMHandler", (PyCFunction
) _wrap_new_XPMHandler
, METH_VARARGS
| METH_KEYWORDS
},
40984 { (char *)"XPMHandler_swigregister", XPMHandler_swigregister
, METH_VARARGS
},
40985 { (char *)"new_TIFFHandler", (PyCFunction
) _wrap_new_TIFFHandler
, METH_VARARGS
| METH_KEYWORDS
},
40986 { (char *)"TIFFHandler_swigregister", TIFFHandler_swigregister
, METH_VARARGS
},
40987 { (char *)"new_EvtHandler", (PyCFunction
) _wrap_new_EvtHandler
, METH_VARARGS
| METH_KEYWORDS
},
40988 { (char *)"EvtHandler_GetNextHandler", (PyCFunction
) _wrap_EvtHandler_GetNextHandler
, METH_VARARGS
| METH_KEYWORDS
},
40989 { (char *)"EvtHandler_GetPreviousHandler", (PyCFunction
) _wrap_EvtHandler_GetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
40990 { (char *)"EvtHandler_SetNextHandler", (PyCFunction
) _wrap_EvtHandler_SetNextHandler
, METH_VARARGS
| METH_KEYWORDS
},
40991 { (char *)"EvtHandler_SetPreviousHandler", (PyCFunction
) _wrap_EvtHandler_SetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
40992 { (char *)"EvtHandler_GetEvtHandlerEnabled", (PyCFunction
) _wrap_EvtHandler_GetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
},
40993 { (char *)"EvtHandler_SetEvtHandlerEnabled", (PyCFunction
) _wrap_EvtHandler_SetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
},
40994 { (char *)"EvtHandler_ProcessEvent", (PyCFunction
) _wrap_EvtHandler_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
},
40995 { (char *)"EvtHandler_AddPendingEvent", (PyCFunction
) _wrap_EvtHandler_AddPendingEvent
, METH_VARARGS
| METH_KEYWORDS
},
40996 { (char *)"EvtHandler_ProcessPendingEvents", (PyCFunction
) _wrap_EvtHandler_ProcessPendingEvents
, METH_VARARGS
| METH_KEYWORDS
},
40997 { (char *)"EvtHandler_Connect", (PyCFunction
) _wrap_EvtHandler_Connect
, METH_VARARGS
| METH_KEYWORDS
},
40998 { (char *)"EvtHandler_Disconnect", (PyCFunction
) _wrap_EvtHandler_Disconnect
, METH_VARARGS
| METH_KEYWORDS
},
40999 { (char *)"EvtHandler__setOORInfo", (PyCFunction
) _wrap_EvtHandler__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
},
41000 { (char *)"EvtHandler_swigregister", EvtHandler_swigregister
, METH_VARARGS
},
41001 { (char *)"NewEventType", (PyCFunction
) _wrap_NewEventType
, METH_VARARGS
| METH_KEYWORDS
},
41002 { (char *)"delete_Event", (PyCFunction
) _wrap_delete_Event
, METH_VARARGS
| METH_KEYWORDS
},
41003 { (char *)"Event_SetEventType", (PyCFunction
) _wrap_Event_SetEventType
, METH_VARARGS
| METH_KEYWORDS
},
41004 { (char *)"Event_GetEventType", (PyCFunction
) _wrap_Event_GetEventType
, METH_VARARGS
| METH_KEYWORDS
},
41005 { (char *)"Event_GetEventObject", (PyCFunction
) _wrap_Event_GetEventObject
, METH_VARARGS
| METH_KEYWORDS
},
41006 { (char *)"Event_SetEventObject", (PyCFunction
) _wrap_Event_SetEventObject
, METH_VARARGS
| METH_KEYWORDS
},
41007 { (char *)"Event_GetTimestamp", (PyCFunction
) _wrap_Event_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
41008 { (char *)"Event_SetTimestamp", (PyCFunction
) _wrap_Event_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
41009 { (char *)"Event_GetId", (PyCFunction
) _wrap_Event_GetId
, METH_VARARGS
| METH_KEYWORDS
},
41010 { (char *)"Event_SetId", (PyCFunction
) _wrap_Event_SetId
, METH_VARARGS
| METH_KEYWORDS
},
41011 { (char *)"Event_IsCommandEvent", (PyCFunction
) _wrap_Event_IsCommandEvent
, METH_VARARGS
| METH_KEYWORDS
},
41012 { (char *)"Event_Skip", (PyCFunction
) _wrap_Event_Skip
, METH_VARARGS
| METH_KEYWORDS
},
41013 { (char *)"Event_GetSkipped", (PyCFunction
) _wrap_Event_GetSkipped
, METH_VARARGS
| METH_KEYWORDS
},
41014 { (char *)"Event_ShouldPropagate", (PyCFunction
) _wrap_Event_ShouldPropagate
, METH_VARARGS
| METH_KEYWORDS
},
41015 { (char *)"Event_StopPropagation", (PyCFunction
) _wrap_Event_StopPropagation
, METH_VARARGS
| METH_KEYWORDS
},
41016 { (char *)"Event_ResumePropagation", (PyCFunction
) _wrap_Event_ResumePropagation
, METH_VARARGS
| METH_KEYWORDS
},
41017 { (char *)"Event_Clone", (PyCFunction
) _wrap_Event_Clone
, METH_VARARGS
| METH_KEYWORDS
},
41018 { (char *)"Event_swigregister", Event_swigregister
, METH_VARARGS
},
41019 { (char *)"new_PropagationDisabler", (PyCFunction
) _wrap_new_PropagationDisabler
, METH_VARARGS
| METH_KEYWORDS
},
41020 { (char *)"delete_PropagationDisabler", (PyCFunction
) _wrap_delete_PropagationDisabler
, METH_VARARGS
| METH_KEYWORDS
},
41021 { (char *)"PropagationDisabler_swigregister", PropagationDisabler_swigregister
, METH_VARARGS
},
41022 { (char *)"new_PropagateOnce", (PyCFunction
) _wrap_new_PropagateOnce
, METH_VARARGS
| METH_KEYWORDS
},
41023 { (char *)"delete_PropagateOnce", (PyCFunction
) _wrap_delete_PropagateOnce
, METH_VARARGS
| METH_KEYWORDS
},
41024 { (char *)"PropagateOnce_swigregister", PropagateOnce_swigregister
, METH_VARARGS
},
41025 { (char *)"new_CommandEvent", (PyCFunction
) _wrap_new_CommandEvent
, METH_VARARGS
| METH_KEYWORDS
},
41026 { (char *)"CommandEvent_GetSelection", (PyCFunction
) _wrap_CommandEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
41027 { (char *)"CommandEvent_SetString", (PyCFunction
) _wrap_CommandEvent_SetString
, METH_VARARGS
| METH_KEYWORDS
},
41028 { (char *)"CommandEvent_GetString", (PyCFunction
) _wrap_CommandEvent_GetString
, METH_VARARGS
| METH_KEYWORDS
},
41029 { (char *)"CommandEvent_IsChecked", (PyCFunction
) _wrap_CommandEvent_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
41030 { (char *)"CommandEvent_IsSelection", (PyCFunction
) _wrap_CommandEvent_IsSelection
, METH_VARARGS
| METH_KEYWORDS
},
41031 { (char *)"CommandEvent_SetExtraLong", (PyCFunction
) _wrap_CommandEvent_SetExtraLong
, METH_VARARGS
| METH_KEYWORDS
},
41032 { (char *)"CommandEvent_GetExtraLong", (PyCFunction
) _wrap_CommandEvent_GetExtraLong
, METH_VARARGS
| METH_KEYWORDS
},
41033 { (char *)"CommandEvent_SetInt", (PyCFunction
) _wrap_CommandEvent_SetInt
, METH_VARARGS
| METH_KEYWORDS
},
41034 { (char *)"CommandEvent_GetInt", (PyCFunction
) _wrap_CommandEvent_GetInt
, METH_VARARGS
| METH_KEYWORDS
},
41035 { (char *)"CommandEvent_Clone", (PyCFunction
) _wrap_CommandEvent_Clone
, METH_VARARGS
| METH_KEYWORDS
},
41036 { (char *)"CommandEvent_swigregister", CommandEvent_swigregister
, METH_VARARGS
},
41037 { (char *)"new_NotifyEvent", (PyCFunction
) _wrap_new_NotifyEvent
, METH_VARARGS
| METH_KEYWORDS
},
41038 { (char *)"NotifyEvent_Veto", (PyCFunction
) _wrap_NotifyEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
},
41039 { (char *)"NotifyEvent_Allow", (PyCFunction
) _wrap_NotifyEvent_Allow
, METH_VARARGS
| METH_KEYWORDS
},
41040 { (char *)"NotifyEvent_IsAllowed", (PyCFunction
) _wrap_NotifyEvent_IsAllowed
, METH_VARARGS
| METH_KEYWORDS
},
41041 { (char *)"NotifyEvent_swigregister", NotifyEvent_swigregister
, METH_VARARGS
},
41042 { (char *)"new_ScrollEvent", (PyCFunction
) _wrap_new_ScrollEvent
, METH_VARARGS
| METH_KEYWORDS
},
41043 { (char *)"ScrollEvent_GetOrientation", (PyCFunction
) _wrap_ScrollEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
41044 { (char *)"ScrollEvent_GetPosition", (PyCFunction
) _wrap_ScrollEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
41045 { (char *)"ScrollEvent_SetOrientation", (PyCFunction
) _wrap_ScrollEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
41046 { (char *)"ScrollEvent_SetPosition", (PyCFunction
) _wrap_ScrollEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
41047 { (char *)"ScrollEvent_swigregister", ScrollEvent_swigregister
, METH_VARARGS
},
41048 { (char *)"new_ScrollWinEvent", (PyCFunction
) _wrap_new_ScrollWinEvent
, METH_VARARGS
| METH_KEYWORDS
},
41049 { (char *)"ScrollWinEvent_GetOrientation", (PyCFunction
) _wrap_ScrollWinEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
41050 { (char *)"ScrollWinEvent_GetPosition", (PyCFunction
) _wrap_ScrollWinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
41051 { (char *)"ScrollWinEvent_SetOrientation", (PyCFunction
) _wrap_ScrollWinEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
41052 { (char *)"ScrollWinEvent_SetPosition", (PyCFunction
) _wrap_ScrollWinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
41053 { (char *)"ScrollWinEvent_swigregister", ScrollWinEvent_swigregister
, METH_VARARGS
},
41054 { (char *)"new_MouseEvent", (PyCFunction
) _wrap_new_MouseEvent
, METH_VARARGS
| METH_KEYWORDS
},
41055 { (char *)"MouseEvent_IsButton", (PyCFunction
) _wrap_MouseEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
},
41056 { (char *)"MouseEvent_ButtonDown", (PyCFunction
) _wrap_MouseEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
},
41057 { (char *)"MouseEvent_ButtonDClick", (PyCFunction
) _wrap_MouseEvent_ButtonDClick
, METH_VARARGS
| METH_KEYWORDS
},
41058 { (char *)"MouseEvent_ButtonUp", (PyCFunction
) _wrap_MouseEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
},
41059 { (char *)"MouseEvent_Button", (PyCFunction
) _wrap_MouseEvent_Button
, METH_VARARGS
| METH_KEYWORDS
},
41060 { (char *)"MouseEvent_ButtonIsDown", (PyCFunction
) _wrap_MouseEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
},
41061 { (char *)"MouseEvent_GetButton", (PyCFunction
) _wrap_MouseEvent_GetButton
, METH_VARARGS
| METH_KEYWORDS
},
41062 { (char *)"MouseEvent_ControlDown", (PyCFunction
) _wrap_MouseEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
},
41063 { (char *)"MouseEvent_MetaDown", (PyCFunction
) _wrap_MouseEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
},
41064 { (char *)"MouseEvent_AltDown", (PyCFunction
) _wrap_MouseEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
},
41065 { (char *)"MouseEvent_ShiftDown", (PyCFunction
) _wrap_MouseEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
},
41066 { (char *)"MouseEvent_LeftDown", (PyCFunction
) _wrap_MouseEvent_LeftDown
, METH_VARARGS
| METH_KEYWORDS
},
41067 { (char *)"MouseEvent_MiddleDown", (PyCFunction
) _wrap_MouseEvent_MiddleDown
, METH_VARARGS
| METH_KEYWORDS
},
41068 { (char *)"MouseEvent_RightDown", (PyCFunction
) _wrap_MouseEvent_RightDown
, METH_VARARGS
| METH_KEYWORDS
},
41069 { (char *)"MouseEvent_LeftUp", (PyCFunction
) _wrap_MouseEvent_LeftUp
, METH_VARARGS
| METH_KEYWORDS
},
41070 { (char *)"MouseEvent_MiddleUp", (PyCFunction
) _wrap_MouseEvent_MiddleUp
, METH_VARARGS
| METH_KEYWORDS
},
41071 { (char *)"MouseEvent_RightUp", (PyCFunction
) _wrap_MouseEvent_RightUp
, METH_VARARGS
| METH_KEYWORDS
},
41072 { (char *)"MouseEvent_LeftDClick", (PyCFunction
) _wrap_MouseEvent_LeftDClick
, METH_VARARGS
| METH_KEYWORDS
},
41073 { (char *)"MouseEvent_MiddleDClick", (PyCFunction
) _wrap_MouseEvent_MiddleDClick
, METH_VARARGS
| METH_KEYWORDS
},
41074 { (char *)"MouseEvent_RightDClick", (PyCFunction
) _wrap_MouseEvent_RightDClick
, METH_VARARGS
| METH_KEYWORDS
},
41075 { (char *)"MouseEvent_LeftIsDown", (PyCFunction
) _wrap_MouseEvent_LeftIsDown
, METH_VARARGS
| METH_KEYWORDS
},
41076 { (char *)"MouseEvent_MiddleIsDown", (PyCFunction
) _wrap_MouseEvent_MiddleIsDown
, METH_VARARGS
| METH_KEYWORDS
},
41077 { (char *)"MouseEvent_RightIsDown", (PyCFunction
) _wrap_MouseEvent_RightIsDown
, METH_VARARGS
| METH_KEYWORDS
},
41078 { (char *)"MouseEvent_Dragging", (PyCFunction
) _wrap_MouseEvent_Dragging
, METH_VARARGS
| METH_KEYWORDS
},
41079 { (char *)"MouseEvent_Moving", (PyCFunction
) _wrap_MouseEvent_Moving
, METH_VARARGS
| METH_KEYWORDS
},
41080 { (char *)"MouseEvent_Entering", (PyCFunction
) _wrap_MouseEvent_Entering
, METH_VARARGS
| METH_KEYWORDS
},
41081 { (char *)"MouseEvent_Leaving", (PyCFunction
) _wrap_MouseEvent_Leaving
, METH_VARARGS
| METH_KEYWORDS
},
41082 { (char *)"MouseEvent_GetPosition", (PyCFunction
) _wrap_MouseEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
41083 { (char *)"MouseEvent_GetPositionTuple", (PyCFunction
) _wrap_MouseEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
41084 { (char *)"MouseEvent_GetLogicalPosition", (PyCFunction
) _wrap_MouseEvent_GetLogicalPosition
, METH_VARARGS
| METH_KEYWORDS
},
41085 { (char *)"MouseEvent_GetX", (PyCFunction
) _wrap_MouseEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
41086 { (char *)"MouseEvent_GetY", (PyCFunction
) _wrap_MouseEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
41087 { (char *)"MouseEvent_GetWheelRotation", (PyCFunction
) _wrap_MouseEvent_GetWheelRotation
, METH_VARARGS
| METH_KEYWORDS
},
41088 { (char *)"MouseEvent_GetWheelDelta", (PyCFunction
) _wrap_MouseEvent_GetWheelDelta
, METH_VARARGS
| METH_KEYWORDS
},
41089 { (char *)"MouseEvent_GetLinesPerAction", (PyCFunction
) _wrap_MouseEvent_GetLinesPerAction
, METH_VARARGS
| METH_KEYWORDS
},
41090 { (char *)"MouseEvent_IsPageScroll", (PyCFunction
) _wrap_MouseEvent_IsPageScroll
, METH_VARARGS
| METH_KEYWORDS
},
41091 { (char *)"MouseEvent_m_x_set", (PyCFunction
) _wrap_MouseEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
},
41092 { (char *)"MouseEvent_m_x_get", (PyCFunction
) _wrap_MouseEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
},
41093 { (char *)"MouseEvent_m_y_set", (PyCFunction
) _wrap_MouseEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
},
41094 { (char *)"MouseEvent_m_y_get", (PyCFunction
) _wrap_MouseEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
},
41095 { (char *)"MouseEvent_m_leftDown_set", (PyCFunction
) _wrap_MouseEvent_m_leftDown_set
, METH_VARARGS
| METH_KEYWORDS
},
41096 { (char *)"MouseEvent_m_leftDown_get", (PyCFunction
) _wrap_MouseEvent_m_leftDown_get
, METH_VARARGS
| METH_KEYWORDS
},
41097 { (char *)"MouseEvent_m_middleDown_set", (PyCFunction
) _wrap_MouseEvent_m_middleDown_set
, METH_VARARGS
| METH_KEYWORDS
},
41098 { (char *)"MouseEvent_m_middleDown_get", (PyCFunction
) _wrap_MouseEvent_m_middleDown_get
, METH_VARARGS
| METH_KEYWORDS
},
41099 { (char *)"MouseEvent_m_rightDown_set", (PyCFunction
) _wrap_MouseEvent_m_rightDown_set
, METH_VARARGS
| METH_KEYWORDS
},
41100 { (char *)"MouseEvent_m_rightDown_get", (PyCFunction
) _wrap_MouseEvent_m_rightDown_get
, METH_VARARGS
| METH_KEYWORDS
},
41101 { (char *)"MouseEvent_m_controlDown_set", (PyCFunction
) _wrap_MouseEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
},
41102 { (char *)"MouseEvent_m_controlDown_get", (PyCFunction
) _wrap_MouseEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
},
41103 { (char *)"MouseEvent_m_shiftDown_set", (PyCFunction
) _wrap_MouseEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
},
41104 { (char *)"MouseEvent_m_shiftDown_get", (PyCFunction
) _wrap_MouseEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
},
41105 { (char *)"MouseEvent_m_altDown_set", (PyCFunction
) _wrap_MouseEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
},
41106 { (char *)"MouseEvent_m_altDown_get", (PyCFunction
) _wrap_MouseEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
},
41107 { (char *)"MouseEvent_m_metaDown_set", (PyCFunction
) _wrap_MouseEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
},
41108 { (char *)"MouseEvent_m_metaDown_get", (PyCFunction
) _wrap_MouseEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
},
41109 { (char *)"MouseEvent_m_wheelRotation_set", (PyCFunction
) _wrap_MouseEvent_m_wheelRotation_set
, METH_VARARGS
| METH_KEYWORDS
},
41110 { (char *)"MouseEvent_m_wheelRotation_get", (PyCFunction
) _wrap_MouseEvent_m_wheelRotation_get
, METH_VARARGS
| METH_KEYWORDS
},
41111 { (char *)"MouseEvent_m_wheelDelta_set", (PyCFunction
) _wrap_MouseEvent_m_wheelDelta_set
, METH_VARARGS
| METH_KEYWORDS
},
41112 { (char *)"MouseEvent_m_wheelDelta_get", (PyCFunction
) _wrap_MouseEvent_m_wheelDelta_get
, METH_VARARGS
| METH_KEYWORDS
},
41113 { (char *)"MouseEvent_m_linesPerAction_set", (PyCFunction
) _wrap_MouseEvent_m_linesPerAction_set
, METH_VARARGS
| METH_KEYWORDS
},
41114 { (char *)"MouseEvent_m_linesPerAction_get", (PyCFunction
) _wrap_MouseEvent_m_linesPerAction_get
, METH_VARARGS
| METH_KEYWORDS
},
41115 { (char *)"MouseEvent_swigregister", MouseEvent_swigregister
, METH_VARARGS
},
41116 { (char *)"new_SetCursorEvent", (PyCFunction
) _wrap_new_SetCursorEvent
, METH_VARARGS
| METH_KEYWORDS
},
41117 { (char *)"SetCursorEvent_GetX", (PyCFunction
) _wrap_SetCursorEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
41118 { (char *)"SetCursorEvent_GetY", (PyCFunction
) _wrap_SetCursorEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
41119 { (char *)"SetCursorEvent_SetCursor", (PyCFunction
) _wrap_SetCursorEvent_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
41120 { (char *)"SetCursorEvent_GetCursor", (PyCFunction
) _wrap_SetCursorEvent_GetCursor
, METH_VARARGS
| METH_KEYWORDS
},
41121 { (char *)"SetCursorEvent_HasCursor", (PyCFunction
) _wrap_SetCursorEvent_HasCursor
, METH_VARARGS
| METH_KEYWORDS
},
41122 { (char *)"SetCursorEvent_swigregister", SetCursorEvent_swigregister
, METH_VARARGS
},
41123 { (char *)"new_KeyEvent", (PyCFunction
) _wrap_new_KeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
41124 { (char *)"KeyEvent_ControlDown", (PyCFunction
) _wrap_KeyEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
},
41125 { (char *)"KeyEvent_MetaDown", (PyCFunction
) _wrap_KeyEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
},
41126 { (char *)"KeyEvent_AltDown", (PyCFunction
) _wrap_KeyEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
},
41127 { (char *)"KeyEvent_ShiftDown", (PyCFunction
) _wrap_KeyEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
},
41128 { (char *)"KeyEvent_HasModifiers", (PyCFunction
) _wrap_KeyEvent_HasModifiers
, METH_VARARGS
| METH_KEYWORDS
},
41129 { (char *)"KeyEvent_GetKeyCode", (PyCFunction
) _wrap_KeyEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
41130 { (char *)"KeyEvent_GetUniChar", (PyCFunction
) _wrap_KeyEvent_GetUniChar
, METH_VARARGS
| METH_KEYWORDS
},
41131 { (char *)"KeyEvent_GetRawKeyCode", (PyCFunction
) _wrap_KeyEvent_GetRawKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
41132 { (char *)"KeyEvent_GetRawKeyFlags", (PyCFunction
) _wrap_KeyEvent_GetRawKeyFlags
, METH_VARARGS
| METH_KEYWORDS
},
41133 { (char *)"KeyEvent_GetPosition", (PyCFunction
) _wrap_KeyEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
41134 { (char *)"KeyEvent_GetPositionTuple", (PyCFunction
) _wrap_KeyEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
41135 { (char *)"KeyEvent_GetX", (PyCFunction
) _wrap_KeyEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
41136 { (char *)"KeyEvent_GetY", (PyCFunction
) _wrap_KeyEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
41137 { (char *)"KeyEvent_m_x_set", (PyCFunction
) _wrap_KeyEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
},
41138 { (char *)"KeyEvent_m_x_get", (PyCFunction
) _wrap_KeyEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
},
41139 { (char *)"KeyEvent_m_y_set", (PyCFunction
) _wrap_KeyEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
},
41140 { (char *)"KeyEvent_m_y_get", (PyCFunction
) _wrap_KeyEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
},
41141 { (char *)"KeyEvent_m_keyCode_set", (PyCFunction
) _wrap_KeyEvent_m_keyCode_set
, METH_VARARGS
| METH_KEYWORDS
},
41142 { (char *)"KeyEvent_m_keyCode_get", (PyCFunction
) _wrap_KeyEvent_m_keyCode_get
, METH_VARARGS
| METH_KEYWORDS
},
41143 { (char *)"KeyEvent_m_controlDown_set", (PyCFunction
) _wrap_KeyEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
},
41144 { (char *)"KeyEvent_m_controlDown_get", (PyCFunction
) _wrap_KeyEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
},
41145 { (char *)"KeyEvent_m_shiftDown_set", (PyCFunction
) _wrap_KeyEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
},
41146 { (char *)"KeyEvent_m_shiftDown_get", (PyCFunction
) _wrap_KeyEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
},
41147 { (char *)"KeyEvent_m_altDown_set", (PyCFunction
) _wrap_KeyEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
},
41148 { (char *)"KeyEvent_m_altDown_get", (PyCFunction
) _wrap_KeyEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
},
41149 { (char *)"KeyEvent_m_metaDown_set", (PyCFunction
) _wrap_KeyEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
},
41150 { (char *)"KeyEvent_m_metaDown_get", (PyCFunction
) _wrap_KeyEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
},
41151 { (char *)"KeyEvent_m_scanCode_set", (PyCFunction
) _wrap_KeyEvent_m_scanCode_set
, METH_VARARGS
| METH_KEYWORDS
},
41152 { (char *)"KeyEvent_m_scanCode_get", (PyCFunction
) _wrap_KeyEvent_m_scanCode_get
, METH_VARARGS
| METH_KEYWORDS
},
41153 { (char *)"KeyEvent_m_rawCode_set", (PyCFunction
) _wrap_KeyEvent_m_rawCode_set
, METH_VARARGS
| METH_KEYWORDS
},
41154 { (char *)"KeyEvent_m_rawCode_get", (PyCFunction
) _wrap_KeyEvent_m_rawCode_get
, METH_VARARGS
| METH_KEYWORDS
},
41155 { (char *)"KeyEvent_m_rawFlags_set", (PyCFunction
) _wrap_KeyEvent_m_rawFlags_set
, METH_VARARGS
| METH_KEYWORDS
},
41156 { (char *)"KeyEvent_m_rawFlags_get", (PyCFunction
) _wrap_KeyEvent_m_rawFlags_get
, METH_VARARGS
| METH_KEYWORDS
},
41157 { (char *)"KeyEvent_swigregister", KeyEvent_swigregister
, METH_VARARGS
},
41158 { (char *)"new_SizeEvent", (PyCFunction
) _wrap_new_SizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
41159 { (char *)"SizeEvent_GetSize", (PyCFunction
) _wrap_SizeEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
41160 { (char *)"SizeEvent_GetRect", (PyCFunction
) _wrap_SizeEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
41161 { (char *)"SizeEvent_SetRect", (PyCFunction
) _wrap_SizeEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
41162 { (char *)"SizeEvent_SetSize", (PyCFunction
) _wrap_SizeEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
41163 { (char *)"SizeEvent_m_size_set", (PyCFunction
) _wrap_SizeEvent_m_size_set
, METH_VARARGS
| METH_KEYWORDS
},
41164 { (char *)"SizeEvent_m_size_get", (PyCFunction
) _wrap_SizeEvent_m_size_get
, METH_VARARGS
| METH_KEYWORDS
},
41165 { (char *)"SizeEvent_m_rect_set", (PyCFunction
) _wrap_SizeEvent_m_rect_set
, METH_VARARGS
| METH_KEYWORDS
},
41166 { (char *)"SizeEvent_m_rect_get", (PyCFunction
) _wrap_SizeEvent_m_rect_get
, METH_VARARGS
| METH_KEYWORDS
},
41167 { (char *)"SizeEvent_swigregister", SizeEvent_swigregister
, METH_VARARGS
},
41168 { (char *)"new_MoveEvent", (PyCFunction
) _wrap_new_MoveEvent
, METH_VARARGS
| METH_KEYWORDS
},
41169 { (char *)"MoveEvent_GetPosition", (PyCFunction
) _wrap_MoveEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
41170 { (char *)"MoveEvent_GetRect", (PyCFunction
) _wrap_MoveEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
41171 { (char *)"MoveEvent_SetRect", (PyCFunction
) _wrap_MoveEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
41172 { (char *)"MoveEvent_SetPosition", (PyCFunction
) _wrap_MoveEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
41173 { (char *)"MoveEvent_m_pos_set", (PyCFunction
) _wrap_MoveEvent_m_pos_set
, METH_VARARGS
| METH_KEYWORDS
},
41174 { (char *)"MoveEvent_m_pos_get", (PyCFunction
) _wrap_MoveEvent_m_pos_get
, METH_VARARGS
| METH_KEYWORDS
},
41175 { (char *)"MoveEvent_m_rect_set", (PyCFunction
) _wrap_MoveEvent_m_rect_set
, METH_VARARGS
| METH_KEYWORDS
},
41176 { (char *)"MoveEvent_m_rect_get", (PyCFunction
) _wrap_MoveEvent_m_rect_get
, METH_VARARGS
| METH_KEYWORDS
},
41177 { (char *)"MoveEvent_swigregister", MoveEvent_swigregister
, METH_VARARGS
},
41178 { (char *)"new_PaintEvent", (PyCFunction
) _wrap_new_PaintEvent
, METH_VARARGS
| METH_KEYWORDS
},
41179 { (char *)"PaintEvent_swigregister", PaintEvent_swigregister
, METH_VARARGS
},
41180 { (char *)"new_NcPaintEvent", (PyCFunction
) _wrap_new_NcPaintEvent
, METH_VARARGS
| METH_KEYWORDS
},
41181 { (char *)"NcPaintEvent_swigregister", NcPaintEvent_swigregister
, METH_VARARGS
},
41182 { (char *)"new_EraseEvent", (PyCFunction
) _wrap_new_EraseEvent
, METH_VARARGS
| METH_KEYWORDS
},
41183 { (char *)"EraseEvent_GetDC", (PyCFunction
) _wrap_EraseEvent_GetDC
, METH_VARARGS
| METH_KEYWORDS
},
41184 { (char *)"EraseEvent_swigregister", EraseEvent_swigregister
, METH_VARARGS
},
41185 { (char *)"new_FocusEvent", (PyCFunction
) _wrap_new_FocusEvent
, METH_VARARGS
| METH_KEYWORDS
},
41186 { (char *)"FocusEvent_GetWindow", (PyCFunction
) _wrap_FocusEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
41187 { (char *)"FocusEvent_SetWindow", (PyCFunction
) _wrap_FocusEvent_SetWindow
, METH_VARARGS
| METH_KEYWORDS
},
41188 { (char *)"FocusEvent_swigregister", FocusEvent_swigregister
, METH_VARARGS
},
41189 { (char *)"new_ChildFocusEvent", (PyCFunction
) _wrap_new_ChildFocusEvent
, METH_VARARGS
| METH_KEYWORDS
},
41190 { (char *)"ChildFocusEvent_GetWindow", (PyCFunction
) _wrap_ChildFocusEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
41191 { (char *)"ChildFocusEvent_swigregister", ChildFocusEvent_swigregister
, METH_VARARGS
},
41192 { (char *)"new_ActivateEvent", (PyCFunction
) _wrap_new_ActivateEvent
, METH_VARARGS
| METH_KEYWORDS
},
41193 { (char *)"ActivateEvent_GetActive", (PyCFunction
) _wrap_ActivateEvent_GetActive
, METH_VARARGS
| METH_KEYWORDS
},
41194 { (char *)"ActivateEvent_swigregister", ActivateEvent_swigregister
, METH_VARARGS
},
41195 { (char *)"new_InitDialogEvent", (PyCFunction
) _wrap_new_InitDialogEvent
, METH_VARARGS
| METH_KEYWORDS
},
41196 { (char *)"InitDialogEvent_swigregister", InitDialogEvent_swigregister
, METH_VARARGS
},
41197 { (char *)"new_MenuEvent", (PyCFunction
) _wrap_new_MenuEvent
, METH_VARARGS
| METH_KEYWORDS
},
41198 { (char *)"MenuEvent_GetMenuId", (PyCFunction
) _wrap_MenuEvent_GetMenuId
, METH_VARARGS
| METH_KEYWORDS
},
41199 { (char *)"MenuEvent_IsPopup", (PyCFunction
) _wrap_MenuEvent_IsPopup
, METH_VARARGS
| METH_KEYWORDS
},
41200 { (char *)"MenuEvent_GetMenu", (PyCFunction
) _wrap_MenuEvent_GetMenu
, METH_VARARGS
| METH_KEYWORDS
},
41201 { (char *)"MenuEvent_swigregister", MenuEvent_swigregister
, METH_VARARGS
},
41202 { (char *)"new_CloseEvent", (PyCFunction
) _wrap_new_CloseEvent
, METH_VARARGS
| METH_KEYWORDS
},
41203 { (char *)"CloseEvent_SetLoggingOff", (PyCFunction
) _wrap_CloseEvent_SetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
},
41204 { (char *)"CloseEvent_GetLoggingOff", (PyCFunction
) _wrap_CloseEvent_GetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
},
41205 { (char *)"CloseEvent_Veto", (PyCFunction
) _wrap_CloseEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
},
41206 { (char *)"CloseEvent_SetCanVeto", (PyCFunction
) _wrap_CloseEvent_SetCanVeto
, METH_VARARGS
| METH_KEYWORDS
},
41207 { (char *)"CloseEvent_CanVeto", (PyCFunction
) _wrap_CloseEvent_CanVeto
, METH_VARARGS
| METH_KEYWORDS
},
41208 { (char *)"CloseEvent_GetVeto", (PyCFunction
) _wrap_CloseEvent_GetVeto
, METH_VARARGS
| METH_KEYWORDS
},
41209 { (char *)"CloseEvent_swigregister", CloseEvent_swigregister
, METH_VARARGS
},
41210 { (char *)"new_ShowEvent", (PyCFunction
) _wrap_new_ShowEvent
, METH_VARARGS
| METH_KEYWORDS
},
41211 { (char *)"ShowEvent_SetShow", (PyCFunction
) _wrap_ShowEvent_SetShow
, METH_VARARGS
| METH_KEYWORDS
},
41212 { (char *)"ShowEvent_GetShow", (PyCFunction
) _wrap_ShowEvent_GetShow
, METH_VARARGS
| METH_KEYWORDS
},
41213 { (char *)"ShowEvent_swigregister", ShowEvent_swigregister
, METH_VARARGS
},
41214 { (char *)"new_IconizeEvent", (PyCFunction
) _wrap_new_IconizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
41215 { (char *)"IconizeEvent_Iconized", (PyCFunction
) _wrap_IconizeEvent_Iconized
, METH_VARARGS
| METH_KEYWORDS
},
41216 { (char *)"IconizeEvent_swigregister", IconizeEvent_swigregister
, METH_VARARGS
},
41217 { (char *)"new_MaximizeEvent", (PyCFunction
) _wrap_new_MaximizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
41218 { (char *)"MaximizeEvent_swigregister", MaximizeEvent_swigregister
, METH_VARARGS
},
41219 { (char *)"DropFilesEvent_GetPosition", (PyCFunction
) _wrap_DropFilesEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
41220 { (char *)"DropFilesEvent_GetNumberOfFiles", (PyCFunction
) _wrap_DropFilesEvent_GetNumberOfFiles
, METH_VARARGS
| METH_KEYWORDS
},
41221 { (char *)"DropFilesEvent_GetFiles", (PyCFunction
) _wrap_DropFilesEvent_GetFiles
, METH_VARARGS
| METH_KEYWORDS
},
41222 { (char *)"DropFilesEvent_swigregister", DropFilesEvent_swigregister
, METH_VARARGS
},
41223 { (char *)"new_UpdateUIEvent", (PyCFunction
) _wrap_new_UpdateUIEvent
, METH_VARARGS
| METH_KEYWORDS
},
41224 { (char *)"UpdateUIEvent_GetChecked", (PyCFunction
) _wrap_UpdateUIEvent_GetChecked
, METH_VARARGS
| METH_KEYWORDS
},
41225 { (char *)"UpdateUIEvent_GetEnabled", (PyCFunction
) _wrap_UpdateUIEvent_GetEnabled
, METH_VARARGS
| METH_KEYWORDS
},
41226 { (char *)"UpdateUIEvent_GetText", (PyCFunction
) _wrap_UpdateUIEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
},
41227 { (char *)"UpdateUIEvent_GetSetText", (PyCFunction
) _wrap_UpdateUIEvent_GetSetText
, METH_VARARGS
| METH_KEYWORDS
},
41228 { (char *)"UpdateUIEvent_GetSetChecked", (PyCFunction
) _wrap_UpdateUIEvent_GetSetChecked
, METH_VARARGS
| METH_KEYWORDS
},
41229 { (char *)"UpdateUIEvent_GetSetEnabled", (PyCFunction
) _wrap_UpdateUIEvent_GetSetEnabled
, METH_VARARGS
| METH_KEYWORDS
},
41230 { (char *)"UpdateUIEvent_Check", (PyCFunction
) _wrap_UpdateUIEvent_Check
, METH_VARARGS
| METH_KEYWORDS
},
41231 { (char *)"UpdateUIEvent_Enable", (PyCFunction
) _wrap_UpdateUIEvent_Enable
, METH_VARARGS
| METH_KEYWORDS
},
41232 { (char *)"UpdateUIEvent_SetText", (PyCFunction
) _wrap_UpdateUIEvent_SetText
, METH_VARARGS
| METH_KEYWORDS
},
41233 { (char *)"UpdateUIEvent_SetUpdateInterval", (PyCFunction
) _wrap_UpdateUIEvent_SetUpdateInterval
, METH_VARARGS
| METH_KEYWORDS
},
41234 { (char *)"UpdateUIEvent_GetUpdateInterval", (PyCFunction
) _wrap_UpdateUIEvent_GetUpdateInterval
, METH_VARARGS
| METH_KEYWORDS
},
41235 { (char *)"UpdateUIEvent_CanUpdate", (PyCFunction
) _wrap_UpdateUIEvent_CanUpdate
, METH_VARARGS
| METH_KEYWORDS
},
41236 { (char *)"UpdateUIEvent_ResetUpdateTime", (PyCFunction
) _wrap_UpdateUIEvent_ResetUpdateTime
, METH_VARARGS
| METH_KEYWORDS
},
41237 { (char *)"UpdateUIEvent_SetMode", (PyCFunction
) _wrap_UpdateUIEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
},
41238 { (char *)"UpdateUIEvent_GetMode", (PyCFunction
) _wrap_UpdateUIEvent_GetMode
, METH_VARARGS
| METH_KEYWORDS
},
41239 { (char *)"UpdateUIEvent_swigregister", UpdateUIEvent_swigregister
, METH_VARARGS
},
41240 { (char *)"new_SysColourChangedEvent", (PyCFunction
) _wrap_new_SysColourChangedEvent
, METH_VARARGS
| METH_KEYWORDS
},
41241 { (char *)"SysColourChangedEvent_swigregister", SysColourChangedEvent_swigregister
, METH_VARARGS
},
41242 { (char *)"new_MouseCaptureChangedEvent", (PyCFunction
) _wrap_new_MouseCaptureChangedEvent
, METH_VARARGS
| METH_KEYWORDS
},
41243 { (char *)"MouseCaptureChangedEvent_GetCapturedWindow", (PyCFunction
) _wrap_MouseCaptureChangedEvent_GetCapturedWindow
, METH_VARARGS
| METH_KEYWORDS
},
41244 { (char *)"MouseCaptureChangedEvent_swigregister", MouseCaptureChangedEvent_swigregister
, METH_VARARGS
},
41245 { (char *)"new_DisplayChangedEvent", (PyCFunction
) _wrap_new_DisplayChangedEvent
, METH_VARARGS
| METH_KEYWORDS
},
41246 { (char *)"DisplayChangedEvent_swigregister", DisplayChangedEvent_swigregister
, METH_VARARGS
},
41247 { (char *)"new_PaletteChangedEvent", (PyCFunction
) _wrap_new_PaletteChangedEvent
, METH_VARARGS
| METH_KEYWORDS
},
41248 { (char *)"PaletteChangedEvent_SetChangedWindow", (PyCFunction
) _wrap_PaletteChangedEvent_SetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
},
41249 { (char *)"PaletteChangedEvent_GetChangedWindow", (PyCFunction
) _wrap_PaletteChangedEvent_GetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
},
41250 { (char *)"PaletteChangedEvent_swigregister", PaletteChangedEvent_swigregister
, METH_VARARGS
},
41251 { (char *)"new_QueryNewPaletteEvent", (PyCFunction
) _wrap_new_QueryNewPaletteEvent
, METH_VARARGS
| METH_KEYWORDS
},
41252 { (char *)"QueryNewPaletteEvent_SetPaletteRealized", (PyCFunction
) _wrap_QueryNewPaletteEvent_SetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
},
41253 { (char *)"QueryNewPaletteEvent_GetPaletteRealized", (PyCFunction
) _wrap_QueryNewPaletteEvent_GetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
},
41254 { (char *)"QueryNewPaletteEvent_swigregister", QueryNewPaletteEvent_swigregister
, METH_VARARGS
},
41255 { (char *)"new_NavigationKeyEvent", (PyCFunction
) _wrap_new_NavigationKeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
41256 { (char *)"NavigationKeyEvent_GetDirection", (PyCFunction
) _wrap_NavigationKeyEvent_GetDirection
, METH_VARARGS
| METH_KEYWORDS
},
41257 { (char *)"NavigationKeyEvent_SetDirection", (PyCFunction
) _wrap_NavigationKeyEvent_SetDirection
, METH_VARARGS
| METH_KEYWORDS
},
41258 { (char *)"NavigationKeyEvent_IsWindowChange", (PyCFunction
) _wrap_NavigationKeyEvent_IsWindowChange
, METH_VARARGS
| METH_KEYWORDS
},
41259 { (char *)"NavigationKeyEvent_SetWindowChange", (PyCFunction
) _wrap_NavigationKeyEvent_SetWindowChange
, METH_VARARGS
| METH_KEYWORDS
},
41260 { (char *)"NavigationKeyEvent_GetCurrentFocus", (PyCFunction
) _wrap_NavigationKeyEvent_GetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
},
41261 { (char *)"NavigationKeyEvent_SetCurrentFocus", (PyCFunction
) _wrap_NavigationKeyEvent_SetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
},
41262 { (char *)"NavigationKeyEvent_swigregister", NavigationKeyEvent_swigregister
, METH_VARARGS
},
41263 { (char *)"new_WindowCreateEvent", (PyCFunction
) _wrap_new_WindowCreateEvent
, METH_VARARGS
| METH_KEYWORDS
},
41264 { (char *)"WindowCreateEvent_GetWindow", (PyCFunction
) _wrap_WindowCreateEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
41265 { (char *)"WindowCreateEvent_swigregister", WindowCreateEvent_swigregister
, METH_VARARGS
},
41266 { (char *)"new_WindowDestroyEvent", (PyCFunction
) _wrap_new_WindowDestroyEvent
, METH_VARARGS
| METH_KEYWORDS
},
41267 { (char *)"WindowDestroyEvent_GetWindow", (PyCFunction
) _wrap_WindowDestroyEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
41268 { (char *)"WindowDestroyEvent_swigregister", WindowDestroyEvent_swigregister
, METH_VARARGS
},
41269 { (char *)"new_ContextMenuEvent", (PyCFunction
) _wrap_new_ContextMenuEvent
, METH_VARARGS
| METH_KEYWORDS
},
41270 { (char *)"ContextMenuEvent_GetPosition", (PyCFunction
) _wrap_ContextMenuEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
41271 { (char *)"ContextMenuEvent_SetPosition", (PyCFunction
) _wrap_ContextMenuEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
41272 { (char *)"ContextMenuEvent_swigregister", ContextMenuEvent_swigregister
, METH_VARARGS
},
41273 { (char *)"new_IdleEvent", (PyCFunction
) _wrap_new_IdleEvent
, METH_VARARGS
| METH_KEYWORDS
},
41274 { (char *)"IdleEvent_RequestMore", (PyCFunction
) _wrap_IdleEvent_RequestMore
, METH_VARARGS
| METH_KEYWORDS
},
41275 { (char *)"IdleEvent_MoreRequested", (PyCFunction
) _wrap_IdleEvent_MoreRequested
, METH_VARARGS
| METH_KEYWORDS
},
41276 { (char *)"IdleEvent_SetMode", (PyCFunction
) _wrap_IdleEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
},
41277 { (char *)"IdleEvent_GetMode", (PyCFunction
) _wrap_IdleEvent_GetMode
, METH_VARARGS
| METH_KEYWORDS
},
41278 { (char *)"IdleEvent_CanSend", (PyCFunction
) _wrap_IdleEvent_CanSend
, METH_VARARGS
| METH_KEYWORDS
},
41279 { (char *)"IdleEvent_swigregister", IdleEvent_swigregister
, METH_VARARGS
},
41280 { (char *)"new_PyEvent", (PyCFunction
) _wrap_new_PyEvent
, METH_VARARGS
| METH_KEYWORDS
},
41281 { (char *)"delete_PyEvent", (PyCFunction
) _wrap_delete_PyEvent
, METH_VARARGS
| METH_KEYWORDS
},
41282 { (char *)"PyEvent_SetSelf", (PyCFunction
) _wrap_PyEvent_SetSelf
, METH_VARARGS
| METH_KEYWORDS
},
41283 { (char *)"PyEvent_GetSelf", (PyCFunction
) _wrap_PyEvent_GetSelf
, METH_VARARGS
| METH_KEYWORDS
},
41284 { (char *)"PyEvent_swigregister", PyEvent_swigregister
, METH_VARARGS
},
41285 { (char *)"new_PyCommandEvent", (PyCFunction
) _wrap_new_PyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
},
41286 { (char *)"delete_PyCommandEvent", (PyCFunction
) _wrap_delete_PyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
},
41287 { (char *)"PyCommandEvent_SetSelf", (PyCFunction
) _wrap_PyCommandEvent_SetSelf
, METH_VARARGS
| METH_KEYWORDS
},
41288 { (char *)"PyCommandEvent_GetSelf", (PyCFunction
) _wrap_PyCommandEvent_GetSelf
, METH_VARARGS
| METH_KEYWORDS
},
41289 { (char *)"PyCommandEvent_swigregister", PyCommandEvent_swigregister
, METH_VARARGS
},
41290 { (char *)"new_PyApp", (PyCFunction
) _wrap_new_PyApp
, METH_VARARGS
| METH_KEYWORDS
},
41291 { (char *)"delete_PyApp", (PyCFunction
) _wrap_delete_PyApp
, METH_VARARGS
| METH_KEYWORDS
},
41292 { (char *)"PyApp__setCallbackInfo", (PyCFunction
) _wrap_PyApp__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
41293 { (char *)"PyApp_GetAppName", (PyCFunction
) _wrap_PyApp_GetAppName
, METH_VARARGS
| METH_KEYWORDS
},
41294 { (char *)"PyApp_SetAppName", (PyCFunction
) _wrap_PyApp_SetAppName
, METH_VARARGS
| METH_KEYWORDS
},
41295 { (char *)"PyApp_GetClassName", (PyCFunction
) _wrap_PyApp_GetClassName
, METH_VARARGS
| METH_KEYWORDS
},
41296 { (char *)"PyApp_SetClassName", (PyCFunction
) _wrap_PyApp_SetClassName
, METH_VARARGS
| METH_KEYWORDS
},
41297 { (char *)"PyApp_GetVendorName", (PyCFunction
) _wrap_PyApp_GetVendorName
, METH_VARARGS
| METH_KEYWORDS
},
41298 { (char *)"PyApp_SetVendorName", (PyCFunction
) _wrap_PyApp_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
},
41299 { (char *)"PyApp_GetTraits", (PyCFunction
) _wrap_PyApp_GetTraits
, METH_VARARGS
| METH_KEYWORDS
},
41300 { (char *)"PyApp_ProcessPendingEvents", (PyCFunction
) _wrap_PyApp_ProcessPendingEvents
, METH_VARARGS
| METH_KEYWORDS
},
41301 { (char *)"PyApp_Yield", (PyCFunction
) _wrap_PyApp_Yield
, METH_VARARGS
| METH_KEYWORDS
},
41302 { (char *)"PyApp_WakeUpIdle", (PyCFunction
) _wrap_PyApp_WakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
},
41303 { (char *)"PyApp_MainLoop", (PyCFunction
) _wrap_PyApp_MainLoop
, METH_VARARGS
| METH_KEYWORDS
},
41304 { (char *)"PyApp_Exit", (PyCFunction
) _wrap_PyApp_Exit
, METH_VARARGS
| METH_KEYWORDS
},
41305 { (char *)"PyApp_ExitMainLoop", (PyCFunction
) _wrap_PyApp_ExitMainLoop
, METH_VARARGS
| METH_KEYWORDS
},
41306 { (char *)"PyApp_Pending", (PyCFunction
) _wrap_PyApp_Pending
, METH_VARARGS
| METH_KEYWORDS
},
41307 { (char *)"PyApp_Dispatch", (PyCFunction
) _wrap_PyApp_Dispatch
, METH_VARARGS
| METH_KEYWORDS
},
41308 { (char *)"PyApp_ProcessIdle", (PyCFunction
) _wrap_PyApp_ProcessIdle
, METH_VARARGS
| METH_KEYWORDS
},
41309 { (char *)"PyApp_SendIdleEvents", (PyCFunction
) _wrap_PyApp_SendIdleEvents
, METH_VARARGS
| METH_KEYWORDS
},
41310 { (char *)"PyApp_IsActive", (PyCFunction
) _wrap_PyApp_IsActive
, METH_VARARGS
| METH_KEYWORDS
},
41311 { (char *)"PyApp_SetTopWindow", (PyCFunction
) _wrap_PyApp_SetTopWindow
, METH_VARARGS
| METH_KEYWORDS
},
41312 { (char *)"PyApp_GetTopWindow", (PyCFunction
) _wrap_PyApp_GetTopWindow
, METH_VARARGS
| METH_KEYWORDS
},
41313 { (char *)"PyApp_SetExitOnFrameDelete", (PyCFunction
) _wrap_PyApp_SetExitOnFrameDelete
, METH_VARARGS
| METH_KEYWORDS
},
41314 { (char *)"PyApp_GetExitOnFrameDelete", (PyCFunction
) _wrap_PyApp_GetExitOnFrameDelete
, METH_VARARGS
| METH_KEYWORDS
},
41315 { (char *)"PyApp_SetUseBestVisual", (PyCFunction
) _wrap_PyApp_SetUseBestVisual
, METH_VARARGS
| METH_KEYWORDS
},
41316 { (char *)"PyApp_GetUseBestVisual", (PyCFunction
) _wrap_PyApp_GetUseBestVisual
, METH_VARARGS
| METH_KEYWORDS
},
41317 { (char *)"PyApp_SetPrintMode", (PyCFunction
) _wrap_PyApp_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
},
41318 { (char *)"PyApp_GetPrintMode", (PyCFunction
) _wrap_PyApp_GetPrintMode
, METH_VARARGS
| METH_KEYWORDS
},
41319 { (char *)"PyApp_SetAssertMode", (PyCFunction
) _wrap_PyApp_SetAssertMode
, METH_VARARGS
| METH_KEYWORDS
},
41320 { (char *)"PyApp_GetAssertMode", (PyCFunction
) _wrap_PyApp_GetAssertMode
, METH_VARARGS
| METH_KEYWORDS
},
41321 { (char *)"PyApp_GetMacSupportPCMenuShortcuts", (PyCFunction
) _wrap_PyApp_GetMacSupportPCMenuShortcuts
, METH_VARARGS
| METH_KEYWORDS
},
41322 { (char *)"PyApp_GetMacAboutMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacAboutMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
41323 { (char *)"PyApp_GetMacPreferencesMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacPreferencesMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
41324 { (char *)"PyApp_GetMacExitMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacExitMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
41325 { (char *)"PyApp_GetMacHelpMenuTitleName", (PyCFunction
) _wrap_PyApp_GetMacHelpMenuTitleName
, METH_VARARGS
| METH_KEYWORDS
},
41326 { (char *)"PyApp_SetMacSupportPCMenuShortcuts", (PyCFunction
) _wrap_PyApp_SetMacSupportPCMenuShortcuts
, METH_VARARGS
| METH_KEYWORDS
},
41327 { (char *)"PyApp_SetMacAboutMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacAboutMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
41328 { (char *)"PyApp_SetMacPreferencesMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacPreferencesMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
41329 { (char *)"PyApp_SetMacExitMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacExitMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
41330 { (char *)"PyApp_SetMacHelpMenuTitleName", (PyCFunction
) _wrap_PyApp_SetMacHelpMenuTitleName
, METH_VARARGS
| METH_KEYWORDS
},
41331 { (char *)"PyApp__BootstrapApp", (PyCFunction
) _wrap_PyApp__BootstrapApp
, METH_VARARGS
| METH_KEYWORDS
},
41332 { (char *)"PyApp_GetComCtl32Version", (PyCFunction
) _wrap_PyApp_GetComCtl32Version
, METH_VARARGS
| METH_KEYWORDS
},
41333 { (char *)"PyApp_swigregister", PyApp_swigregister
, METH_VARARGS
},
41334 { (char *)"Exit", (PyCFunction
) _wrap_Exit
, METH_VARARGS
| METH_KEYWORDS
},
41335 { (char *)"Yield", (PyCFunction
) _wrap_Yield
, METH_VARARGS
| METH_KEYWORDS
},
41336 { (char *)"YieldIfNeeded", (PyCFunction
) _wrap_YieldIfNeeded
, METH_VARARGS
| METH_KEYWORDS
},
41337 { (char *)"SafeYield", (PyCFunction
) _wrap_SafeYield
, METH_VARARGS
| METH_KEYWORDS
},
41338 { (char *)"WakeUpIdle", (PyCFunction
) _wrap_WakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
},
41339 { (char *)"PostEvent", (PyCFunction
) _wrap_PostEvent
, METH_VARARGS
| METH_KEYWORDS
},
41340 { (char *)"App_CleanUp", (PyCFunction
) _wrap_App_CleanUp
, METH_VARARGS
| METH_KEYWORDS
},
41341 { (char *)"GetApp", (PyCFunction
) _wrap_GetApp
, METH_VARARGS
| METH_KEYWORDS
},
41342 { (char *)"new_AcceleratorEntry", (PyCFunction
) _wrap_new_AcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
},
41343 { (char *)"delete_AcceleratorEntry", (PyCFunction
) _wrap_delete_AcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
},
41344 { (char *)"AcceleratorEntry_Set", (PyCFunction
) _wrap_AcceleratorEntry_Set
, METH_VARARGS
| METH_KEYWORDS
},
41345 { (char *)"AcceleratorEntry_GetFlags", (PyCFunction
) _wrap_AcceleratorEntry_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
41346 { (char *)"AcceleratorEntry_GetKeyCode", (PyCFunction
) _wrap_AcceleratorEntry_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
41347 { (char *)"AcceleratorEntry_GetCommand", (PyCFunction
) _wrap_AcceleratorEntry_GetCommand
, METH_VARARGS
| METH_KEYWORDS
},
41348 { (char *)"AcceleratorEntry_swigregister", AcceleratorEntry_swigregister
, METH_VARARGS
},
41349 { (char *)"new_AcceleratorTable", (PyCFunction
) _wrap_new_AcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
41350 { (char *)"delete_AcceleratorTable", (PyCFunction
) _wrap_delete_AcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
41351 { (char *)"AcceleratorTable_Ok", (PyCFunction
) _wrap_AcceleratorTable_Ok
, METH_VARARGS
| METH_KEYWORDS
},
41352 { (char *)"AcceleratorTable_swigregister", AcceleratorTable_swigregister
, METH_VARARGS
},
41353 { (char *)"GetAccelFromString", (PyCFunction
) _wrap_GetAccelFromString
, METH_VARARGS
| METH_KEYWORDS
},
41354 { (char *)"new_VisualAttributes", (PyCFunction
) _wrap_new_VisualAttributes
, METH_VARARGS
| METH_KEYWORDS
},
41355 { (char *)"delete_VisualAttributes", (PyCFunction
) _wrap_delete_VisualAttributes
, METH_VARARGS
| METH_KEYWORDS
},
41356 { (char *)"VisualAttributes_font_set", (PyCFunction
) _wrap_VisualAttributes_font_set
, METH_VARARGS
| METH_KEYWORDS
},
41357 { (char *)"VisualAttributes_font_get", (PyCFunction
) _wrap_VisualAttributes_font_get
, METH_VARARGS
| METH_KEYWORDS
},
41358 { (char *)"VisualAttributes_colFg_set", (PyCFunction
) _wrap_VisualAttributes_colFg_set
, METH_VARARGS
| METH_KEYWORDS
},
41359 { (char *)"VisualAttributes_colFg_get", (PyCFunction
) _wrap_VisualAttributes_colFg_get
, METH_VARARGS
| METH_KEYWORDS
},
41360 { (char *)"VisualAttributes_colBg_set", (PyCFunction
) _wrap_VisualAttributes_colBg_set
, METH_VARARGS
| METH_KEYWORDS
},
41361 { (char *)"VisualAttributes_colBg_get", (PyCFunction
) _wrap_VisualAttributes_colBg_get
, METH_VARARGS
| METH_KEYWORDS
},
41362 { (char *)"VisualAttributes_swigregister", VisualAttributes_swigregister
, METH_VARARGS
},
41363 { (char *)"new_Window", (PyCFunction
) _wrap_new_Window
, METH_VARARGS
| METH_KEYWORDS
},
41364 { (char *)"new_PreWindow", (PyCFunction
) _wrap_new_PreWindow
, METH_VARARGS
| METH_KEYWORDS
},
41365 { (char *)"Window_Create", (PyCFunction
) _wrap_Window_Create
, METH_VARARGS
| METH_KEYWORDS
},
41366 { (char *)"Window_Close", (PyCFunction
) _wrap_Window_Close
, METH_VARARGS
| METH_KEYWORDS
},
41367 { (char *)"Window_Destroy", (PyCFunction
) _wrap_Window_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
41368 { (char *)"Window_DestroyChildren", (PyCFunction
) _wrap_Window_DestroyChildren
, METH_VARARGS
| METH_KEYWORDS
},
41369 { (char *)"Window_IsBeingDeleted", (PyCFunction
) _wrap_Window_IsBeingDeleted
, METH_VARARGS
| METH_KEYWORDS
},
41370 { (char *)"Window_SetTitle", (PyCFunction
) _wrap_Window_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
41371 { (char *)"Window_GetTitle", (PyCFunction
) _wrap_Window_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
41372 { (char *)"Window_SetLabel", (PyCFunction
) _wrap_Window_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
41373 { (char *)"Window_GetLabel", (PyCFunction
) _wrap_Window_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
41374 { (char *)"Window_SetName", (PyCFunction
) _wrap_Window_SetName
, METH_VARARGS
| METH_KEYWORDS
},
41375 { (char *)"Window_GetName", (PyCFunction
) _wrap_Window_GetName
, METH_VARARGS
| METH_KEYWORDS
},
41376 { (char *)"Window_SetWindowVariant", (PyCFunction
) _wrap_Window_SetWindowVariant
, METH_VARARGS
| METH_KEYWORDS
},
41377 { (char *)"Window_GetWindowVariant", (PyCFunction
) _wrap_Window_GetWindowVariant
, METH_VARARGS
| METH_KEYWORDS
},
41378 { (char *)"Window_SetId", (PyCFunction
) _wrap_Window_SetId
, METH_VARARGS
| METH_KEYWORDS
},
41379 { (char *)"Window_GetId", (PyCFunction
) _wrap_Window_GetId
, METH_VARARGS
| METH_KEYWORDS
},
41380 { (char *)"Window_NewControlId", (PyCFunction
) _wrap_Window_NewControlId
, METH_VARARGS
| METH_KEYWORDS
},
41381 { (char *)"Window_NextControlId", (PyCFunction
) _wrap_Window_NextControlId
, METH_VARARGS
| METH_KEYWORDS
},
41382 { (char *)"Window_PrevControlId", (PyCFunction
) _wrap_Window_PrevControlId
, METH_VARARGS
| METH_KEYWORDS
},
41383 { (char *)"Window_SetSize", (PyCFunction
) _wrap_Window_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
41384 { (char *)"Window_SetDimensions", (PyCFunction
) _wrap_Window_SetDimensions
, METH_VARARGS
| METH_KEYWORDS
},
41385 { (char *)"Window_SetRect", (PyCFunction
) _wrap_Window_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
41386 { (char *)"Window_SetSizeWH", (PyCFunction
) _wrap_Window_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
41387 { (char *)"Window_Move", (PyCFunction
) _wrap_Window_Move
, METH_VARARGS
| METH_KEYWORDS
},
41388 { (char *)"Window_MoveXY", (PyCFunction
) _wrap_Window_MoveXY
, METH_VARARGS
| METH_KEYWORDS
},
41389 { (char *)"Window_Raise", (PyCFunction
) _wrap_Window_Raise
, METH_VARARGS
| METH_KEYWORDS
},
41390 { (char *)"Window_Lower", (PyCFunction
) _wrap_Window_Lower
, METH_VARARGS
| METH_KEYWORDS
},
41391 { (char *)"Window_SetClientSize", (PyCFunction
) _wrap_Window_SetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
41392 { (char *)"Window_SetClientSizeWH", (PyCFunction
) _wrap_Window_SetClientSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
41393 { (char *)"Window_SetClientRect", (PyCFunction
) _wrap_Window_SetClientRect
, METH_VARARGS
| METH_KEYWORDS
},
41394 { (char *)"Window_GetPosition", (PyCFunction
) _wrap_Window_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
41395 { (char *)"Window_GetPositionTuple", (PyCFunction
) _wrap_Window_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
41396 { (char *)"Window_GetSize", (PyCFunction
) _wrap_Window_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
41397 { (char *)"Window_GetSizeTuple", (PyCFunction
) _wrap_Window_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
41398 { (char *)"Window_GetRect", (PyCFunction
) _wrap_Window_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
41399 { (char *)"Window_GetClientSize", (PyCFunction
) _wrap_Window_GetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
41400 { (char *)"Window_GetClientSizeTuple", (PyCFunction
) _wrap_Window_GetClientSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
41401 { (char *)"Window_GetClientAreaOrigin", (PyCFunction
) _wrap_Window_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
},
41402 { (char *)"Window_GetClientRect", (PyCFunction
) _wrap_Window_GetClientRect
, METH_VARARGS
| METH_KEYWORDS
},
41403 { (char *)"Window_GetBestSize", (PyCFunction
) _wrap_Window_GetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
41404 { (char *)"Window_GetBestSizeTuple", (PyCFunction
) _wrap_Window_GetBestSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
41405 { (char *)"Window_GetAdjustedBestSize", (PyCFunction
) _wrap_Window_GetAdjustedBestSize
, METH_VARARGS
| METH_KEYWORDS
},
41406 { (char *)"Window_Center", (PyCFunction
) _wrap_Window_Center
, METH_VARARGS
| METH_KEYWORDS
},
41407 { (char *)"Window_CenterOnScreen", (PyCFunction
) _wrap_Window_CenterOnScreen
, METH_VARARGS
| METH_KEYWORDS
},
41408 { (char *)"Window_CenterOnParent", (PyCFunction
) _wrap_Window_CenterOnParent
, METH_VARARGS
| METH_KEYWORDS
},
41409 { (char *)"Window_Fit", (PyCFunction
) _wrap_Window_Fit
, METH_VARARGS
| METH_KEYWORDS
},
41410 { (char *)"Window_FitInside", (PyCFunction
) _wrap_Window_FitInside
, METH_VARARGS
| METH_KEYWORDS
},
41411 { (char *)"Window_SetSizeHints", _wrap_Window_SetSizeHints
, METH_VARARGS
},
41412 { (char *)"Window_SetVirtualSizeHints", _wrap_Window_SetVirtualSizeHints
, METH_VARARGS
},
41413 { (char *)"Window_GetMinWidth", (PyCFunction
) _wrap_Window_GetMinWidth
, METH_VARARGS
| METH_KEYWORDS
},
41414 { (char *)"Window_GetMinHeight", (PyCFunction
) _wrap_Window_GetMinHeight
, METH_VARARGS
| METH_KEYWORDS
},
41415 { (char *)"Window_GetMaxWidth", (PyCFunction
) _wrap_Window_GetMaxWidth
, METH_VARARGS
| METH_KEYWORDS
},
41416 { (char *)"Window_GetMaxHeight", (PyCFunction
) _wrap_Window_GetMaxHeight
, METH_VARARGS
| METH_KEYWORDS
},
41417 { (char *)"Window_GetMaxSize", (PyCFunction
) _wrap_Window_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
41418 { (char *)"Window_GetMinSize", (PyCFunction
) _wrap_Window_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
41419 { (char *)"Window_SetVirtualSize", (PyCFunction
) _wrap_Window_SetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
41420 { (char *)"Window_SetVirtualSizeWH", (PyCFunction
) _wrap_Window_SetVirtualSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
41421 { (char *)"Window_GetVirtualSize", (PyCFunction
) _wrap_Window_GetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
41422 { (char *)"Window_GetVirtualSizeTuple", (PyCFunction
) _wrap_Window_GetVirtualSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
41423 { (char *)"Window_GetBestVirtualSize", (PyCFunction
) _wrap_Window_GetBestVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
41424 { (char *)"Window_Show", (PyCFunction
) _wrap_Window_Show
, METH_VARARGS
| METH_KEYWORDS
},
41425 { (char *)"Window_Hide", (PyCFunction
) _wrap_Window_Hide
, METH_VARARGS
| METH_KEYWORDS
},
41426 { (char *)"Window_Enable", (PyCFunction
) _wrap_Window_Enable
, METH_VARARGS
| METH_KEYWORDS
},
41427 { (char *)"Window_Disable", (PyCFunction
) _wrap_Window_Disable
, METH_VARARGS
| METH_KEYWORDS
},
41428 { (char *)"Window_IsShown", (PyCFunction
) _wrap_Window_IsShown
, METH_VARARGS
| METH_KEYWORDS
},
41429 { (char *)"Window_IsEnabled", (PyCFunction
) _wrap_Window_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
41430 { (char *)"Window_SetWindowStyleFlag", (PyCFunction
) _wrap_Window_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
41431 { (char *)"Window_GetWindowStyleFlag", (PyCFunction
) _wrap_Window_GetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
41432 { (char *)"Window_HasFlag", (PyCFunction
) _wrap_Window_HasFlag
, METH_VARARGS
| METH_KEYWORDS
},
41433 { (char *)"Window_IsRetained", (PyCFunction
) _wrap_Window_IsRetained
, METH_VARARGS
| METH_KEYWORDS
},
41434 { (char *)"Window_SetExtraStyle", (PyCFunction
) _wrap_Window_SetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
},
41435 { (char *)"Window_GetExtraStyle", (PyCFunction
) _wrap_Window_GetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
},
41436 { (char *)"Window_MakeModal", (PyCFunction
) _wrap_Window_MakeModal
, METH_VARARGS
| METH_KEYWORDS
},
41437 { (char *)"Window_SetThemeEnabled", (PyCFunction
) _wrap_Window_SetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
},
41438 { (char *)"Window_GetThemeEnabled", (PyCFunction
) _wrap_Window_GetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
},
41439 { (char *)"Window_SetFocus", (PyCFunction
) _wrap_Window_SetFocus
, METH_VARARGS
| METH_KEYWORDS
},
41440 { (char *)"Window_SetFocusFromKbd", (PyCFunction
) _wrap_Window_SetFocusFromKbd
, METH_VARARGS
| METH_KEYWORDS
},
41441 { (char *)"Window_FindFocus", (PyCFunction
) _wrap_Window_FindFocus
, METH_VARARGS
| METH_KEYWORDS
},
41442 { (char *)"Window_AcceptsFocus", (PyCFunction
) _wrap_Window_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
41443 { (char *)"Window_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_Window_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
41444 { (char *)"Window_GetDefaultItem", (PyCFunction
) _wrap_Window_GetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
41445 { (char *)"Window_SetDefaultItem", (PyCFunction
) _wrap_Window_SetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
41446 { (char *)"Window_SetTmpDefaultItem", (PyCFunction
) _wrap_Window_SetTmpDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
41447 { (char *)"Window_GetChildren", (PyCFunction
) _wrap_Window_GetChildren
, METH_VARARGS
| METH_KEYWORDS
},
41448 { (char *)"Window_GetParent", (PyCFunction
) _wrap_Window_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
41449 { (char *)"Window_GetGrandParent", (PyCFunction
) _wrap_Window_GetGrandParent
, METH_VARARGS
| METH_KEYWORDS
},
41450 { (char *)"Window_IsTopLevel", (PyCFunction
) _wrap_Window_IsTopLevel
, METH_VARARGS
| METH_KEYWORDS
},
41451 { (char *)"Window_Reparent", (PyCFunction
) _wrap_Window_Reparent
, METH_VARARGS
| METH_KEYWORDS
},
41452 { (char *)"Window_AddChild", (PyCFunction
) _wrap_Window_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
41453 { (char *)"Window_RemoveChild", (PyCFunction
) _wrap_Window_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
41454 { (char *)"Window_FindWindowById", (PyCFunction
) _wrap_Window_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
},
41455 { (char *)"Window_FindWindowByName", (PyCFunction
) _wrap_Window_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
},
41456 { (char *)"Window_GetEventHandler", (PyCFunction
) _wrap_Window_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
41457 { (char *)"Window_SetEventHandler", (PyCFunction
) _wrap_Window_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
41458 { (char *)"Window_PushEventHandler", (PyCFunction
) _wrap_Window_PushEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
41459 { (char *)"Window_PopEventHandler", (PyCFunction
) _wrap_Window_PopEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
41460 { (char *)"Window_RemoveEventHandler", (PyCFunction
) _wrap_Window_RemoveEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
41461 { (char *)"Window_SetValidator", (PyCFunction
) _wrap_Window_SetValidator
, METH_VARARGS
| METH_KEYWORDS
},
41462 { (char *)"Window_GetValidator", (PyCFunction
) _wrap_Window_GetValidator
, METH_VARARGS
| METH_KEYWORDS
},
41463 { (char *)"Window_Validate", (PyCFunction
) _wrap_Window_Validate
, METH_VARARGS
| METH_KEYWORDS
},
41464 { (char *)"Window_TransferDataToWindow", (PyCFunction
) _wrap_Window_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
41465 { (char *)"Window_TransferDataFromWindow", (PyCFunction
) _wrap_Window_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
41466 { (char *)"Window_InitDialog", (PyCFunction
) _wrap_Window_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
41467 { (char *)"Window_SetAcceleratorTable", (PyCFunction
) _wrap_Window_SetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
41468 { (char *)"Window_GetAcceleratorTable", (PyCFunction
) _wrap_Window_GetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
41469 { (char *)"Window_RegisterHotKey", (PyCFunction
) _wrap_Window_RegisterHotKey
, METH_VARARGS
| METH_KEYWORDS
},
41470 { (char *)"Window_UnregisterHotKey", (PyCFunction
) _wrap_Window_UnregisterHotKey
, METH_VARARGS
| METH_KEYWORDS
},
41471 { (char *)"Window_ConvertDialogPointToPixels", (PyCFunction
) _wrap_Window_ConvertDialogPointToPixels
, METH_VARARGS
| METH_KEYWORDS
},
41472 { (char *)"Window_ConvertDialogSizeToPixels", (PyCFunction
) _wrap_Window_ConvertDialogSizeToPixels
, METH_VARARGS
| METH_KEYWORDS
},
41473 { (char *)"Window_DLG_PNT", (PyCFunction
) _wrap_Window_DLG_PNT
, METH_VARARGS
| METH_KEYWORDS
},
41474 { (char *)"Window_DLG_SZE", (PyCFunction
) _wrap_Window_DLG_SZE
, METH_VARARGS
| METH_KEYWORDS
},
41475 { (char *)"Window_ConvertPixelPointToDialog", (PyCFunction
) _wrap_Window_ConvertPixelPointToDialog
, METH_VARARGS
| METH_KEYWORDS
},
41476 { (char *)"Window_ConvertPixelSizeToDialog", (PyCFunction
) _wrap_Window_ConvertPixelSizeToDialog
, METH_VARARGS
| METH_KEYWORDS
},
41477 { (char *)"Window_WarpPointer", (PyCFunction
) _wrap_Window_WarpPointer
, METH_VARARGS
| METH_KEYWORDS
},
41478 { (char *)"Window_CaptureMouse", (PyCFunction
) _wrap_Window_CaptureMouse
, METH_VARARGS
| METH_KEYWORDS
},
41479 { (char *)"Window_ReleaseMouse", (PyCFunction
) _wrap_Window_ReleaseMouse
, METH_VARARGS
| METH_KEYWORDS
},
41480 { (char *)"Window_GetCapture", (PyCFunction
) _wrap_Window_GetCapture
, METH_VARARGS
| METH_KEYWORDS
},
41481 { (char *)"Window_HasCapture", (PyCFunction
) _wrap_Window_HasCapture
, METH_VARARGS
| METH_KEYWORDS
},
41482 { (char *)"Window_Refresh", (PyCFunction
) _wrap_Window_Refresh
, METH_VARARGS
| METH_KEYWORDS
},
41483 { (char *)"Window_RefreshRect", (PyCFunction
) _wrap_Window_RefreshRect
, METH_VARARGS
| METH_KEYWORDS
},
41484 { (char *)"Window_Update", (PyCFunction
) _wrap_Window_Update
, METH_VARARGS
| METH_KEYWORDS
},
41485 { (char *)"Window_ClearBackground", (PyCFunction
) _wrap_Window_ClearBackground
, METH_VARARGS
| METH_KEYWORDS
},
41486 { (char *)"Window_Freeze", (PyCFunction
) _wrap_Window_Freeze
, METH_VARARGS
| METH_KEYWORDS
},
41487 { (char *)"Window_Thaw", (PyCFunction
) _wrap_Window_Thaw
, METH_VARARGS
| METH_KEYWORDS
},
41488 { (char *)"Window_PrepareDC", (PyCFunction
) _wrap_Window_PrepareDC
, METH_VARARGS
| METH_KEYWORDS
},
41489 { (char *)"Window_GetUpdateRegion", (PyCFunction
) _wrap_Window_GetUpdateRegion
, METH_VARARGS
| METH_KEYWORDS
},
41490 { (char *)"Window_GetUpdateClientRect", (PyCFunction
) _wrap_Window_GetUpdateClientRect
, METH_VARARGS
| METH_KEYWORDS
},
41491 { (char *)"Window_IsExposed", (PyCFunction
) _wrap_Window_IsExposed
, METH_VARARGS
| METH_KEYWORDS
},
41492 { (char *)"Window_IsExposedPoint", (PyCFunction
) _wrap_Window_IsExposedPoint
, METH_VARARGS
| METH_KEYWORDS
},
41493 { (char *)"Window_IsExposedRect", (PyCFunction
) _wrap_Window_IsExposedRect
, METH_VARARGS
| METH_KEYWORDS
},
41494 { (char *)"Window_GetDefaultAttributes", (PyCFunction
) _wrap_Window_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
41495 { (char *)"Window_GetClassDefaultAttributes", (PyCFunction
) _wrap_Window_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
41496 { (char *)"Window_SetBackgroundColour", (PyCFunction
) _wrap_Window_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
41497 { (char *)"Window_SetDefaultBackgroundColour", (PyCFunction
) _wrap_Window_SetDefaultBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
41498 { (char *)"Window_SetForegroundColour", (PyCFunction
) _wrap_Window_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
41499 { (char *)"Window_SetDefaultForegroundColour", (PyCFunction
) _wrap_Window_SetDefaultForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
41500 { (char *)"Window_GetBackgroundColour", (PyCFunction
) _wrap_Window_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
41501 { (char *)"Window_GetForegroundColour", (PyCFunction
) _wrap_Window_GetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
41502 { (char *)"Window_SetCursor", (PyCFunction
) _wrap_Window_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
41503 { (char *)"Window_GetCursor", (PyCFunction
) _wrap_Window_GetCursor
, METH_VARARGS
| METH_KEYWORDS
},
41504 { (char *)"Window_SetFont", (PyCFunction
) _wrap_Window_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
41505 { (char *)"Window_SetDefaultFont", (PyCFunction
) _wrap_Window_SetDefaultFont
, METH_VARARGS
| METH_KEYWORDS
},
41506 { (char *)"Window_GetFont", (PyCFunction
) _wrap_Window_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
41507 { (char *)"Window_SetCaret", (PyCFunction
) _wrap_Window_SetCaret
, METH_VARARGS
| METH_KEYWORDS
},
41508 { (char *)"Window_GetCaret", (PyCFunction
) _wrap_Window_GetCaret
, METH_VARARGS
| METH_KEYWORDS
},
41509 { (char *)"Window_GetCharHeight", (PyCFunction
) _wrap_Window_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
},
41510 { (char *)"Window_GetCharWidth", (PyCFunction
) _wrap_Window_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
},
41511 { (char *)"Window_GetTextExtent", (PyCFunction
) _wrap_Window_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
41512 { (char *)"Window_GetFullTextExtent", (PyCFunction
) _wrap_Window_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
41513 { (char *)"Window_ClientToScreenXY", (PyCFunction
) _wrap_Window_ClientToScreenXY
, METH_VARARGS
| METH_KEYWORDS
},
41514 { (char *)"Window_ScreenToClientXY", (PyCFunction
) _wrap_Window_ScreenToClientXY
, METH_VARARGS
| METH_KEYWORDS
},
41515 { (char *)"Window_ClientToScreen", (PyCFunction
) _wrap_Window_ClientToScreen
, METH_VARARGS
| METH_KEYWORDS
},
41516 { (char *)"Window_ScreenToClient", (PyCFunction
) _wrap_Window_ScreenToClient
, METH_VARARGS
| METH_KEYWORDS
},
41517 { (char *)"Window_HitTestXY", (PyCFunction
) _wrap_Window_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
},
41518 { (char *)"Window_HitTest", (PyCFunction
) _wrap_Window_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
41519 { (char *)"Window_GetBorder", _wrap_Window_GetBorder
, METH_VARARGS
},
41520 { (char *)"Window_UpdateWindowUI", (PyCFunction
) _wrap_Window_UpdateWindowUI
, METH_VARARGS
| METH_KEYWORDS
},
41521 { (char *)"Window_PopupMenuXY", (PyCFunction
) _wrap_Window_PopupMenuXY
, METH_VARARGS
| METH_KEYWORDS
},
41522 { (char *)"Window_PopupMenu", (PyCFunction
) _wrap_Window_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
},
41523 { (char *)"Window_GetHandle", (PyCFunction
) _wrap_Window_GetHandle
, METH_VARARGS
| METH_KEYWORDS
},
41524 { (char *)"Window_OnPaint", (PyCFunction
) _wrap_Window_OnPaint
, METH_VARARGS
| METH_KEYWORDS
},
41525 { (char *)"Window_HasScrollbar", (PyCFunction
) _wrap_Window_HasScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
41526 { (char *)"Window_SetScrollbar", (PyCFunction
) _wrap_Window_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
41527 { (char *)"Window_SetScrollPos", (PyCFunction
) _wrap_Window_SetScrollPos
, METH_VARARGS
| METH_KEYWORDS
},
41528 { (char *)"Window_GetScrollPos", (PyCFunction
) _wrap_Window_GetScrollPos
, METH_VARARGS
| METH_KEYWORDS
},
41529 { (char *)"Window_GetScrollThumb", (PyCFunction
) _wrap_Window_GetScrollThumb
, METH_VARARGS
| METH_KEYWORDS
},
41530 { (char *)"Window_GetScrollRange", (PyCFunction
) _wrap_Window_GetScrollRange
, METH_VARARGS
| METH_KEYWORDS
},
41531 { (char *)"Window_ScrollWindow", (PyCFunction
) _wrap_Window_ScrollWindow
, METH_VARARGS
| METH_KEYWORDS
},
41532 { (char *)"Window_ScrollLines", (PyCFunction
) _wrap_Window_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
},
41533 { (char *)"Window_ScrollPages", (PyCFunction
) _wrap_Window_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
},
41534 { (char *)"Window_LineUp", (PyCFunction
) _wrap_Window_LineUp
, METH_VARARGS
| METH_KEYWORDS
},
41535 { (char *)"Window_LineDown", (PyCFunction
) _wrap_Window_LineDown
, METH_VARARGS
| METH_KEYWORDS
},
41536 { (char *)"Window_PageUp", (PyCFunction
) _wrap_Window_PageUp
, METH_VARARGS
| METH_KEYWORDS
},
41537 { (char *)"Window_PageDown", (PyCFunction
) _wrap_Window_PageDown
, METH_VARARGS
| METH_KEYWORDS
},
41538 { (char *)"Window_SetHelpText", (PyCFunction
) _wrap_Window_SetHelpText
, METH_VARARGS
| METH_KEYWORDS
},
41539 { (char *)"Window_SetHelpTextForId", (PyCFunction
) _wrap_Window_SetHelpTextForId
, METH_VARARGS
| METH_KEYWORDS
},
41540 { (char *)"Window_GetHelpText", (PyCFunction
) _wrap_Window_GetHelpText
, METH_VARARGS
| METH_KEYWORDS
},
41541 { (char *)"Window_SetToolTipString", (PyCFunction
) _wrap_Window_SetToolTipString
, METH_VARARGS
| METH_KEYWORDS
},
41542 { (char *)"Window_SetToolTip", (PyCFunction
) _wrap_Window_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
41543 { (char *)"Window_GetToolTip", (PyCFunction
) _wrap_Window_GetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
41544 { (char *)"Window_SetDropTarget", (PyCFunction
) _wrap_Window_SetDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
41545 { (char *)"Window_GetDropTarget", (PyCFunction
) _wrap_Window_GetDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
41546 { (char *)"Window_DragAcceptFiles", (PyCFunction
) _wrap_Window_DragAcceptFiles
, METH_VARARGS
| METH_KEYWORDS
},
41547 { (char *)"Window_SetConstraints", (PyCFunction
) _wrap_Window_SetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
41548 { (char *)"Window_GetConstraints", (PyCFunction
) _wrap_Window_GetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
41549 { (char *)"Window_SetAutoLayout", (PyCFunction
) _wrap_Window_SetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
},
41550 { (char *)"Window_GetAutoLayout", (PyCFunction
) _wrap_Window_GetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
},
41551 { (char *)"Window_Layout", (PyCFunction
) _wrap_Window_Layout
, METH_VARARGS
| METH_KEYWORDS
},
41552 { (char *)"Window_SetSizer", (PyCFunction
) _wrap_Window_SetSizer
, METH_VARARGS
| METH_KEYWORDS
},
41553 { (char *)"Window_SetSizerAndFit", (PyCFunction
) _wrap_Window_SetSizerAndFit
, METH_VARARGS
| METH_KEYWORDS
},
41554 { (char *)"Window_GetSizer", (PyCFunction
) _wrap_Window_GetSizer
, METH_VARARGS
| METH_KEYWORDS
},
41555 { (char *)"Window_SetContainingSizer", (PyCFunction
) _wrap_Window_SetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
},
41556 { (char *)"Window_GetContainingSizer", (PyCFunction
) _wrap_Window_GetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
},
41557 { (char *)"Window_InheritAttributes", (PyCFunction
) _wrap_Window_InheritAttributes
, METH_VARARGS
| METH_KEYWORDS
},
41558 { (char *)"Window_ShouldInheritColours", (PyCFunction
) _wrap_Window_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
},
41559 { (char *)"Window_swigregister", Window_swigregister
, METH_VARARGS
},
41560 { (char *)"FindWindowById", (PyCFunction
) _wrap_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
},
41561 { (char *)"FindWindowByName", (PyCFunction
) _wrap_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
},
41562 { (char *)"FindWindowByLabel", (PyCFunction
) _wrap_FindWindowByLabel
, METH_VARARGS
| METH_KEYWORDS
},
41563 { (char *)"Window_FromHWND", (PyCFunction
) _wrap_Window_FromHWND
, METH_VARARGS
| METH_KEYWORDS
},
41564 { (char *)"new_Validator", (PyCFunction
) _wrap_new_Validator
, METH_VARARGS
| METH_KEYWORDS
},
41565 { (char *)"Validator_Clone", (PyCFunction
) _wrap_Validator_Clone
, METH_VARARGS
| METH_KEYWORDS
},
41566 { (char *)"Validator_Validate", (PyCFunction
) _wrap_Validator_Validate
, METH_VARARGS
| METH_KEYWORDS
},
41567 { (char *)"Validator_TransferToWindow", (PyCFunction
) _wrap_Validator_TransferToWindow
, METH_VARARGS
| METH_KEYWORDS
},
41568 { (char *)"Validator_TransferFromWindow", (PyCFunction
) _wrap_Validator_TransferFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
41569 { (char *)"Validator_GetWindow", (PyCFunction
) _wrap_Validator_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
41570 { (char *)"Validator_SetWindow", (PyCFunction
) _wrap_Validator_SetWindow
, METH_VARARGS
| METH_KEYWORDS
},
41571 { (char *)"Validator_IsSilent", (PyCFunction
) _wrap_Validator_IsSilent
, METH_VARARGS
| METH_KEYWORDS
},
41572 { (char *)"Validator_SetBellOnError", (PyCFunction
) _wrap_Validator_SetBellOnError
, METH_VARARGS
| METH_KEYWORDS
},
41573 { (char *)"Validator_swigregister", Validator_swigregister
, METH_VARARGS
},
41574 { (char *)"new_PyValidator", (PyCFunction
) _wrap_new_PyValidator
, METH_VARARGS
| METH_KEYWORDS
},
41575 { (char *)"PyValidator__setCallbackInfo", (PyCFunction
) _wrap_PyValidator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
41576 { (char *)"PyValidator_swigregister", PyValidator_swigregister
, METH_VARARGS
},
41577 { (char *)"new_Menu", (PyCFunction
) _wrap_new_Menu
, METH_VARARGS
| METH_KEYWORDS
},
41578 { (char *)"Menu_Append", (PyCFunction
) _wrap_Menu_Append
, METH_VARARGS
| METH_KEYWORDS
},
41579 { (char *)"Menu_AppendSeparator", (PyCFunction
) _wrap_Menu_AppendSeparator
, METH_VARARGS
| METH_KEYWORDS
},
41580 { (char *)"Menu_AppendCheckItem", (PyCFunction
) _wrap_Menu_AppendCheckItem
, METH_VARARGS
| METH_KEYWORDS
},
41581 { (char *)"Menu_AppendRadioItem", (PyCFunction
) _wrap_Menu_AppendRadioItem
, METH_VARARGS
| METH_KEYWORDS
},
41582 { (char *)"Menu_AppendMenu", (PyCFunction
) _wrap_Menu_AppendMenu
, METH_VARARGS
| METH_KEYWORDS
},
41583 { (char *)"Menu_AppendItem", (PyCFunction
) _wrap_Menu_AppendItem
, METH_VARARGS
| METH_KEYWORDS
},
41584 { (char *)"Menu_Break", (PyCFunction
) _wrap_Menu_Break
, METH_VARARGS
| METH_KEYWORDS
},
41585 { (char *)"Menu_InsertItem", (PyCFunction
) _wrap_Menu_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
41586 { (char *)"Menu_Insert", (PyCFunction
) _wrap_Menu_Insert
, METH_VARARGS
| METH_KEYWORDS
},
41587 { (char *)"Menu_InsertSeparator", (PyCFunction
) _wrap_Menu_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
},
41588 { (char *)"Menu_InsertCheckItem", (PyCFunction
) _wrap_Menu_InsertCheckItem
, METH_VARARGS
| METH_KEYWORDS
},
41589 { (char *)"Menu_InsertRadioItem", (PyCFunction
) _wrap_Menu_InsertRadioItem
, METH_VARARGS
| METH_KEYWORDS
},
41590 { (char *)"Menu_InsertMenu", (PyCFunction
) _wrap_Menu_InsertMenu
, METH_VARARGS
| METH_KEYWORDS
},
41591 { (char *)"Menu_PrependItem", (PyCFunction
) _wrap_Menu_PrependItem
, METH_VARARGS
| METH_KEYWORDS
},
41592 { (char *)"Menu_Prepend", (PyCFunction
) _wrap_Menu_Prepend
, METH_VARARGS
| METH_KEYWORDS
},
41593 { (char *)"Menu_PrependSeparator", (PyCFunction
) _wrap_Menu_PrependSeparator
, METH_VARARGS
| METH_KEYWORDS
},
41594 { (char *)"Menu_PrependCheckItem", (PyCFunction
) _wrap_Menu_PrependCheckItem
, METH_VARARGS
| METH_KEYWORDS
},
41595 { (char *)"Menu_PrependRadioItem", (PyCFunction
) _wrap_Menu_PrependRadioItem
, METH_VARARGS
| METH_KEYWORDS
},
41596 { (char *)"Menu_PrependMenu", (PyCFunction
) _wrap_Menu_PrependMenu
, METH_VARARGS
| METH_KEYWORDS
},
41597 { (char *)"Menu_Remove", (PyCFunction
) _wrap_Menu_Remove
, METH_VARARGS
| METH_KEYWORDS
},
41598 { (char *)"Menu_RemoveItem", (PyCFunction
) _wrap_Menu_RemoveItem
, METH_VARARGS
| METH_KEYWORDS
},
41599 { (char *)"Menu_Delete", (PyCFunction
) _wrap_Menu_Delete
, METH_VARARGS
| METH_KEYWORDS
},
41600 { (char *)"Menu_DeleteItem", (PyCFunction
) _wrap_Menu_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
},
41601 { (char *)"Menu_Destroy", (PyCFunction
) _wrap_Menu_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
41602 { (char *)"Menu_DestroyId", (PyCFunction
) _wrap_Menu_DestroyId
, METH_VARARGS
| METH_KEYWORDS
},
41603 { (char *)"Menu_DestroyItem", (PyCFunction
) _wrap_Menu_DestroyItem
, METH_VARARGS
| METH_KEYWORDS
},
41604 { (char *)"Menu_GetMenuItemCount", (PyCFunction
) _wrap_Menu_GetMenuItemCount
, METH_VARARGS
| METH_KEYWORDS
},
41605 { (char *)"Menu_GetMenuItems", (PyCFunction
) _wrap_Menu_GetMenuItems
, METH_VARARGS
| METH_KEYWORDS
},
41606 { (char *)"Menu_FindItem", (PyCFunction
) _wrap_Menu_FindItem
, METH_VARARGS
| METH_KEYWORDS
},
41607 { (char *)"Menu_FindItemById", (PyCFunction
) _wrap_Menu_FindItemById
, METH_VARARGS
| METH_KEYWORDS
},
41608 { (char *)"Menu_FindItemByPosition", (PyCFunction
) _wrap_Menu_FindItemByPosition
, METH_VARARGS
| METH_KEYWORDS
},
41609 { (char *)"Menu_Enable", (PyCFunction
) _wrap_Menu_Enable
, METH_VARARGS
| METH_KEYWORDS
},
41610 { (char *)"Menu_IsEnabled", (PyCFunction
) _wrap_Menu_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
41611 { (char *)"Menu_Check", (PyCFunction
) _wrap_Menu_Check
, METH_VARARGS
| METH_KEYWORDS
},
41612 { (char *)"Menu_IsChecked", (PyCFunction
) _wrap_Menu_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
41613 { (char *)"Menu_SetLabel", (PyCFunction
) _wrap_Menu_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
41614 { (char *)"Menu_GetLabel", (PyCFunction
) _wrap_Menu_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
41615 { (char *)"Menu_SetHelpString", (PyCFunction
) _wrap_Menu_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
41616 { (char *)"Menu_GetHelpString", (PyCFunction
) _wrap_Menu_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
41617 { (char *)"Menu_SetTitle", (PyCFunction
) _wrap_Menu_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
41618 { (char *)"Menu_GetTitle", (PyCFunction
) _wrap_Menu_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
41619 { (char *)"Menu_SetEventHandler", (PyCFunction
) _wrap_Menu_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
41620 { (char *)"Menu_GetEventHandler", (PyCFunction
) _wrap_Menu_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
41621 { (char *)"Menu_SetInvokingWindow", (PyCFunction
) _wrap_Menu_SetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
},
41622 { (char *)"Menu_GetInvokingWindow", (PyCFunction
) _wrap_Menu_GetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
},
41623 { (char *)"Menu_GetStyle", (PyCFunction
) _wrap_Menu_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
41624 { (char *)"Menu_UpdateUI", (PyCFunction
) _wrap_Menu_UpdateUI
, METH_VARARGS
| METH_KEYWORDS
},
41625 { (char *)"Menu_GetMenuBar", (PyCFunction
) _wrap_Menu_GetMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
41626 { (char *)"Menu_Attach", (PyCFunction
) _wrap_Menu_Attach
, METH_VARARGS
| METH_KEYWORDS
},
41627 { (char *)"Menu_Detach", (PyCFunction
) _wrap_Menu_Detach
, METH_VARARGS
| METH_KEYWORDS
},
41628 { (char *)"Menu_IsAttached", (PyCFunction
) _wrap_Menu_IsAttached
, METH_VARARGS
| METH_KEYWORDS
},
41629 { (char *)"Menu_SetParent", (PyCFunction
) _wrap_Menu_SetParent
, METH_VARARGS
| METH_KEYWORDS
},
41630 { (char *)"Menu_GetParent", (PyCFunction
) _wrap_Menu_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
41631 { (char *)"Menu_swigregister", Menu_swigregister
, METH_VARARGS
},
41632 { (char *)"new_MenuBar", (PyCFunction
) _wrap_new_MenuBar
, METH_VARARGS
| METH_KEYWORDS
},
41633 { (char *)"MenuBar_Append", (PyCFunction
) _wrap_MenuBar_Append
, METH_VARARGS
| METH_KEYWORDS
},
41634 { (char *)"MenuBar_Insert", (PyCFunction
) _wrap_MenuBar_Insert
, METH_VARARGS
| METH_KEYWORDS
},
41635 { (char *)"MenuBar_GetMenuCount", (PyCFunction
) _wrap_MenuBar_GetMenuCount
, METH_VARARGS
| METH_KEYWORDS
},
41636 { (char *)"MenuBar_GetMenu", (PyCFunction
) _wrap_MenuBar_GetMenu
, METH_VARARGS
| METH_KEYWORDS
},
41637 { (char *)"MenuBar_Replace", (PyCFunction
) _wrap_MenuBar_Replace
, METH_VARARGS
| METH_KEYWORDS
},
41638 { (char *)"MenuBar_Remove", (PyCFunction
) _wrap_MenuBar_Remove
, METH_VARARGS
| METH_KEYWORDS
},
41639 { (char *)"MenuBar_EnableTop", (PyCFunction
) _wrap_MenuBar_EnableTop
, METH_VARARGS
| METH_KEYWORDS
},
41640 { (char *)"MenuBar_IsEnabledTop", (PyCFunction
) _wrap_MenuBar_IsEnabledTop
, METH_VARARGS
| METH_KEYWORDS
},
41641 { (char *)"MenuBar_SetLabelTop", (PyCFunction
) _wrap_MenuBar_SetLabelTop
, METH_VARARGS
| METH_KEYWORDS
},
41642 { (char *)"MenuBar_GetLabelTop", (PyCFunction
) _wrap_MenuBar_GetLabelTop
, METH_VARARGS
| METH_KEYWORDS
},
41643 { (char *)"MenuBar_FindMenuItem", (PyCFunction
) _wrap_MenuBar_FindMenuItem
, METH_VARARGS
| METH_KEYWORDS
},
41644 { (char *)"MenuBar_FindItemById", (PyCFunction
) _wrap_MenuBar_FindItemById
, METH_VARARGS
| METH_KEYWORDS
},
41645 { (char *)"MenuBar_FindMenu", (PyCFunction
) _wrap_MenuBar_FindMenu
, METH_VARARGS
| METH_KEYWORDS
},
41646 { (char *)"MenuBar_Enable", (PyCFunction
) _wrap_MenuBar_Enable
, METH_VARARGS
| METH_KEYWORDS
},
41647 { (char *)"MenuBar_Check", (PyCFunction
) _wrap_MenuBar_Check
, METH_VARARGS
| METH_KEYWORDS
},
41648 { (char *)"MenuBar_IsChecked", (PyCFunction
) _wrap_MenuBar_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
41649 { (char *)"MenuBar_IsEnabled", (PyCFunction
) _wrap_MenuBar_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
41650 { (char *)"MenuBar_SetLabel", (PyCFunction
) _wrap_MenuBar_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
41651 { (char *)"MenuBar_GetLabel", (PyCFunction
) _wrap_MenuBar_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
41652 { (char *)"MenuBar_SetHelpString", (PyCFunction
) _wrap_MenuBar_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
41653 { (char *)"MenuBar_GetHelpString", (PyCFunction
) _wrap_MenuBar_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
41654 { (char *)"MenuBar_GetFrame", (PyCFunction
) _wrap_MenuBar_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
41655 { (char *)"MenuBar_IsAttached", (PyCFunction
) _wrap_MenuBar_IsAttached
, METH_VARARGS
| METH_KEYWORDS
},
41656 { (char *)"MenuBar_Attach", (PyCFunction
) _wrap_MenuBar_Attach
, METH_VARARGS
| METH_KEYWORDS
},
41657 { (char *)"MenuBar_Detach", (PyCFunction
) _wrap_MenuBar_Detach
, METH_VARARGS
| METH_KEYWORDS
},
41658 { (char *)"MenuBar_swigregister", MenuBar_swigregister
, METH_VARARGS
},
41659 { (char *)"new_MenuItem", (PyCFunction
) _wrap_new_MenuItem
, METH_VARARGS
| METH_KEYWORDS
},
41660 { (char *)"MenuItem_GetMenu", (PyCFunction
) _wrap_MenuItem_GetMenu
, METH_VARARGS
| METH_KEYWORDS
},
41661 { (char *)"MenuItem_SetMenu", (PyCFunction
) _wrap_MenuItem_SetMenu
, METH_VARARGS
| METH_KEYWORDS
},
41662 { (char *)"MenuItem_SetId", (PyCFunction
) _wrap_MenuItem_SetId
, METH_VARARGS
| METH_KEYWORDS
},
41663 { (char *)"MenuItem_GetId", (PyCFunction
) _wrap_MenuItem_GetId
, METH_VARARGS
| METH_KEYWORDS
},
41664 { (char *)"MenuItem_IsSeparator", (PyCFunction
) _wrap_MenuItem_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
},
41665 { (char *)"MenuItem_SetText", (PyCFunction
) _wrap_MenuItem_SetText
, METH_VARARGS
| METH_KEYWORDS
},
41666 { (char *)"MenuItem_GetLabel", (PyCFunction
) _wrap_MenuItem_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
41667 { (char *)"MenuItem_GetText", (PyCFunction
) _wrap_MenuItem_GetText
, METH_VARARGS
| METH_KEYWORDS
},
41668 { (char *)"MenuItem_GetLabelFromText", (PyCFunction
) _wrap_MenuItem_GetLabelFromText
, METH_VARARGS
| METH_KEYWORDS
},
41669 { (char *)"MenuItem_GetKind", (PyCFunction
) _wrap_MenuItem_GetKind
, METH_VARARGS
| METH_KEYWORDS
},
41670 { (char *)"MenuItem_SetKind", (PyCFunction
) _wrap_MenuItem_SetKind
, METH_VARARGS
| METH_KEYWORDS
},
41671 { (char *)"MenuItem_SetCheckable", (PyCFunction
) _wrap_MenuItem_SetCheckable
, METH_VARARGS
| METH_KEYWORDS
},
41672 { (char *)"MenuItem_IsCheckable", (PyCFunction
) _wrap_MenuItem_IsCheckable
, METH_VARARGS
| METH_KEYWORDS
},
41673 { (char *)"MenuItem_IsSubMenu", (PyCFunction
) _wrap_MenuItem_IsSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
41674 { (char *)"MenuItem_SetSubMenu", (PyCFunction
) _wrap_MenuItem_SetSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
41675 { (char *)"MenuItem_GetSubMenu", (PyCFunction
) _wrap_MenuItem_GetSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
41676 { (char *)"MenuItem_Enable", (PyCFunction
) _wrap_MenuItem_Enable
, METH_VARARGS
| METH_KEYWORDS
},
41677 { (char *)"MenuItem_IsEnabled", (PyCFunction
) _wrap_MenuItem_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
41678 { (char *)"MenuItem_Check", (PyCFunction
) _wrap_MenuItem_Check
, METH_VARARGS
| METH_KEYWORDS
},
41679 { (char *)"MenuItem_IsChecked", (PyCFunction
) _wrap_MenuItem_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
41680 { (char *)"MenuItem_Toggle", (PyCFunction
) _wrap_MenuItem_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
41681 { (char *)"MenuItem_SetHelp", (PyCFunction
) _wrap_MenuItem_SetHelp
, METH_VARARGS
| METH_KEYWORDS
},
41682 { (char *)"MenuItem_GetHelp", (PyCFunction
) _wrap_MenuItem_GetHelp
, METH_VARARGS
| METH_KEYWORDS
},
41683 { (char *)"MenuItem_GetAccel", (PyCFunction
) _wrap_MenuItem_GetAccel
, METH_VARARGS
| METH_KEYWORDS
},
41684 { (char *)"MenuItem_SetAccel", (PyCFunction
) _wrap_MenuItem_SetAccel
, METH_VARARGS
| METH_KEYWORDS
},
41685 { (char *)"MenuItem_SetFont", (PyCFunction
) _wrap_MenuItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
41686 { (char *)"MenuItem_GetFont", (PyCFunction
) _wrap_MenuItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
41687 { (char *)"MenuItem_SetTextColour", (PyCFunction
) _wrap_MenuItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
41688 { (char *)"MenuItem_GetTextColour", (PyCFunction
) _wrap_MenuItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
41689 { (char *)"MenuItem_SetBackgroundColour", (PyCFunction
) _wrap_MenuItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
41690 { (char *)"MenuItem_GetBackgroundColour", (PyCFunction
) _wrap_MenuItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
41691 { (char *)"MenuItem_SetBitmaps", (PyCFunction
) _wrap_MenuItem_SetBitmaps
, METH_VARARGS
| METH_KEYWORDS
},
41692 { (char *)"MenuItem_SetDisabledBitmap", (PyCFunction
) _wrap_MenuItem_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
},
41693 { (char *)"MenuItem_GetDisabledBitmap", (PyCFunction
) _wrap_MenuItem_GetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
},
41694 { (char *)"MenuItem_SetMarginWidth", (PyCFunction
) _wrap_MenuItem_SetMarginWidth
, METH_VARARGS
| METH_KEYWORDS
},
41695 { (char *)"MenuItem_GetMarginWidth", (PyCFunction
) _wrap_MenuItem_GetMarginWidth
, METH_VARARGS
| METH_KEYWORDS
},
41696 { (char *)"MenuItem_GetDefaultMarginWidth", (PyCFunction
) _wrap_MenuItem_GetDefaultMarginWidth
, METH_VARARGS
| METH_KEYWORDS
},
41697 { (char *)"MenuItem_IsOwnerDrawn", (PyCFunction
) _wrap_MenuItem_IsOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
},
41698 { (char *)"MenuItem_SetOwnerDrawn", (PyCFunction
) _wrap_MenuItem_SetOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
},
41699 { (char *)"MenuItem_ResetOwnerDrawn", (PyCFunction
) _wrap_MenuItem_ResetOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
},
41700 { (char *)"MenuItem_SetBitmap", (PyCFunction
) _wrap_MenuItem_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
41701 { (char *)"MenuItem_GetBitmap", (PyCFunction
) _wrap_MenuItem_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
41702 { (char *)"MenuItem_swigregister", MenuItem_swigregister
, METH_VARARGS
},
41703 { (char *)"new_Control", (PyCFunction
) _wrap_new_Control
, METH_VARARGS
| METH_KEYWORDS
},
41704 { (char *)"new_PreControl", (PyCFunction
) _wrap_new_PreControl
, METH_VARARGS
| METH_KEYWORDS
},
41705 { (char *)"Control_Create", (PyCFunction
) _wrap_Control_Create
, METH_VARARGS
| METH_KEYWORDS
},
41706 { (char *)"Control_Command", (PyCFunction
) _wrap_Control_Command
, METH_VARARGS
| METH_KEYWORDS
},
41707 { (char *)"Control_GetLabel", (PyCFunction
) _wrap_Control_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
41708 { (char *)"Control_SetLabel", (PyCFunction
) _wrap_Control_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
41709 { (char *)"Control_GetClassDefaultAttributes", (PyCFunction
) _wrap_Control_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
41710 { (char *)"Control_swigregister", Control_swigregister
, METH_VARARGS
},
41711 { (char *)"ItemContainer_Append", (PyCFunction
) _wrap_ItemContainer_Append
, METH_VARARGS
| METH_KEYWORDS
},
41712 { (char *)"ItemContainer_AppendItems", (PyCFunction
) _wrap_ItemContainer_AppendItems
, METH_VARARGS
| METH_KEYWORDS
},
41713 { (char *)"ItemContainer_Insert", (PyCFunction
) _wrap_ItemContainer_Insert
, METH_VARARGS
| METH_KEYWORDS
},
41714 { (char *)"ItemContainer_Clear", (PyCFunction
) _wrap_ItemContainer_Clear
, METH_VARARGS
| METH_KEYWORDS
},
41715 { (char *)"ItemContainer_Delete", (PyCFunction
) _wrap_ItemContainer_Delete
, METH_VARARGS
| METH_KEYWORDS
},
41716 { (char *)"ItemContainer_GetCount", (PyCFunction
) _wrap_ItemContainer_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
41717 { (char *)"ItemContainer_IsEmpty", (PyCFunction
) _wrap_ItemContainer_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
},
41718 { (char *)"ItemContainer_GetString", (PyCFunction
) _wrap_ItemContainer_GetString
, METH_VARARGS
| METH_KEYWORDS
},
41719 { (char *)"ItemContainer_GetStrings", (PyCFunction
) _wrap_ItemContainer_GetStrings
, METH_VARARGS
| METH_KEYWORDS
},
41720 { (char *)"ItemContainer_SetString", (PyCFunction
) _wrap_ItemContainer_SetString
, METH_VARARGS
| METH_KEYWORDS
},
41721 { (char *)"ItemContainer_FindString", (PyCFunction
) _wrap_ItemContainer_FindString
, METH_VARARGS
| METH_KEYWORDS
},
41722 { (char *)"ItemContainer_Select", (PyCFunction
) _wrap_ItemContainer_Select
, METH_VARARGS
| METH_KEYWORDS
},
41723 { (char *)"ItemContainer_GetSelection", (PyCFunction
) _wrap_ItemContainer_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
41724 { (char *)"ItemContainer_GetStringSelection", (PyCFunction
) _wrap_ItemContainer_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
41725 { (char *)"ItemContainer_GetClientData", (PyCFunction
) _wrap_ItemContainer_GetClientData
, METH_VARARGS
| METH_KEYWORDS
},
41726 { (char *)"ItemContainer_SetClientData", (PyCFunction
) _wrap_ItemContainer_SetClientData
, METH_VARARGS
| METH_KEYWORDS
},
41727 { (char *)"ItemContainer_swigregister", ItemContainer_swigregister
, METH_VARARGS
},
41728 { (char *)"ControlWithItems_swigregister", ControlWithItems_swigregister
, METH_VARARGS
},
41729 { (char *)"new_SizerItem", (PyCFunction
) _wrap_new_SizerItem
, METH_VARARGS
| METH_KEYWORDS
},
41730 { (char *)"new_SizerItemSpacer", (PyCFunction
) _wrap_new_SizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
},
41731 { (char *)"new_SizerItemWindow", (PyCFunction
) _wrap_new_SizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
},
41732 { (char *)"new_SizerItemSizer", (PyCFunction
) _wrap_new_SizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
},
41733 { (char *)"SizerItem_DeleteWindows", (PyCFunction
) _wrap_SizerItem_DeleteWindows
, METH_VARARGS
| METH_KEYWORDS
},
41734 { (char *)"SizerItem_DetachSizer", (PyCFunction
) _wrap_SizerItem_DetachSizer
, METH_VARARGS
| METH_KEYWORDS
},
41735 { (char *)"SizerItem_GetSize", (PyCFunction
) _wrap_SizerItem_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
41736 { (char *)"SizerItem_CalcMin", (PyCFunction
) _wrap_SizerItem_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
41737 { (char *)"SizerItem_SetDimension", (PyCFunction
) _wrap_SizerItem_SetDimension
, METH_VARARGS
| METH_KEYWORDS
},
41738 { (char *)"SizerItem_GetMinSize", (PyCFunction
) _wrap_SizerItem_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
41739 { (char *)"SizerItem_SetInitSize", (PyCFunction
) _wrap_SizerItem_SetInitSize
, METH_VARARGS
| METH_KEYWORDS
},
41740 { (char *)"SizerItem_SetRatioWH", (PyCFunction
) _wrap_SizerItem_SetRatioWH
, METH_VARARGS
| METH_KEYWORDS
},
41741 { (char *)"SizerItem_SetRatioSize", (PyCFunction
) _wrap_SizerItem_SetRatioSize
, METH_VARARGS
| METH_KEYWORDS
},
41742 { (char *)"SizerItem_SetRatio", (PyCFunction
) _wrap_SizerItem_SetRatio
, METH_VARARGS
| METH_KEYWORDS
},
41743 { (char *)"SizerItem_GetRatio", (PyCFunction
) _wrap_SizerItem_GetRatio
, METH_VARARGS
| METH_KEYWORDS
},
41744 { (char *)"SizerItem_IsWindow", (PyCFunction
) _wrap_SizerItem_IsWindow
, METH_VARARGS
| METH_KEYWORDS
},
41745 { (char *)"SizerItem_IsSizer", (PyCFunction
) _wrap_SizerItem_IsSizer
, METH_VARARGS
| METH_KEYWORDS
},
41746 { (char *)"SizerItem_IsSpacer", (PyCFunction
) _wrap_SizerItem_IsSpacer
, METH_VARARGS
| METH_KEYWORDS
},
41747 { (char *)"SizerItem_SetProportion", (PyCFunction
) _wrap_SizerItem_SetProportion
, METH_VARARGS
| METH_KEYWORDS
},
41748 { (char *)"SizerItem_GetProportion", (PyCFunction
) _wrap_SizerItem_GetProportion
, METH_VARARGS
| METH_KEYWORDS
},
41749 { (char *)"SizerItem_SetFlag", (PyCFunction
) _wrap_SizerItem_SetFlag
, METH_VARARGS
| METH_KEYWORDS
},
41750 { (char *)"SizerItem_GetFlag", (PyCFunction
) _wrap_SizerItem_GetFlag
, METH_VARARGS
| METH_KEYWORDS
},
41751 { (char *)"SizerItem_SetBorder", (PyCFunction
) _wrap_SizerItem_SetBorder
, METH_VARARGS
| METH_KEYWORDS
},
41752 { (char *)"SizerItem_GetBorder", (PyCFunction
) _wrap_SizerItem_GetBorder
, METH_VARARGS
| METH_KEYWORDS
},
41753 { (char *)"SizerItem_GetWindow", (PyCFunction
) _wrap_SizerItem_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
41754 { (char *)"SizerItem_SetWindow", (PyCFunction
) _wrap_SizerItem_SetWindow
, METH_VARARGS
| METH_KEYWORDS
},
41755 { (char *)"SizerItem_GetSizer", (PyCFunction
) _wrap_SizerItem_GetSizer
, METH_VARARGS
| METH_KEYWORDS
},
41756 { (char *)"SizerItem_SetSizer", (PyCFunction
) _wrap_SizerItem_SetSizer
, METH_VARARGS
| METH_KEYWORDS
},
41757 { (char *)"SizerItem_GetSpacer", (PyCFunction
) _wrap_SizerItem_GetSpacer
, METH_VARARGS
| METH_KEYWORDS
},
41758 { (char *)"SizerItem_SetSpacer", (PyCFunction
) _wrap_SizerItem_SetSpacer
, METH_VARARGS
| METH_KEYWORDS
},
41759 { (char *)"SizerItem_Show", (PyCFunction
) _wrap_SizerItem_Show
, METH_VARARGS
| METH_KEYWORDS
},
41760 { (char *)"SizerItem_IsShown", (PyCFunction
) _wrap_SizerItem_IsShown
, METH_VARARGS
| METH_KEYWORDS
},
41761 { (char *)"SizerItem_GetPosition", (PyCFunction
) _wrap_SizerItem_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
41762 { (char *)"SizerItem_GetUserData", (PyCFunction
) _wrap_SizerItem_GetUserData
, METH_VARARGS
| METH_KEYWORDS
},
41763 { (char *)"SizerItem_swigregister", SizerItem_swigregister
, METH_VARARGS
},
41764 { (char *)"Sizer__setOORInfo", (PyCFunction
) _wrap_Sizer__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
},
41765 { (char *)"Sizer_Add", (PyCFunction
) _wrap_Sizer_Add
, METH_VARARGS
| METH_KEYWORDS
},
41766 { (char *)"Sizer_Insert", (PyCFunction
) _wrap_Sizer_Insert
, METH_VARARGS
| METH_KEYWORDS
},
41767 { (char *)"Sizer_Prepend", (PyCFunction
) _wrap_Sizer_Prepend
, METH_VARARGS
| METH_KEYWORDS
},
41768 { (char *)"Sizer_Remove", (PyCFunction
) _wrap_Sizer_Remove
, METH_VARARGS
| METH_KEYWORDS
},
41769 { (char *)"Sizer_Detach", (PyCFunction
) _wrap_Sizer_Detach
, METH_VARARGS
| METH_KEYWORDS
},
41770 { (char *)"Sizer__SetItemMinSize", (PyCFunction
) _wrap_Sizer__SetItemMinSize
, METH_VARARGS
| METH_KEYWORDS
},
41771 { (char *)"Sizer_AddItem", (PyCFunction
) _wrap_Sizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
},
41772 { (char *)"Sizer_InsertItem", (PyCFunction
) _wrap_Sizer_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
41773 { (char *)"Sizer_PrependItem", (PyCFunction
) _wrap_Sizer_PrependItem
, METH_VARARGS
| METH_KEYWORDS
},
41774 { (char *)"Sizer_SetDimension", (PyCFunction
) _wrap_Sizer_SetDimension
, METH_VARARGS
| METH_KEYWORDS
},
41775 { (char *)"Sizer_SetMinSize", (PyCFunction
) _wrap_Sizer_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
41776 { (char *)"Sizer_GetSize", (PyCFunction
) _wrap_Sizer_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
41777 { (char *)"Sizer_GetPosition", (PyCFunction
) _wrap_Sizer_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
41778 { (char *)"Sizer_GetMinSize", (PyCFunction
) _wrap_Sizer_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
41779 { (char *)"Sizer_RecalcSizes", (PyCFunction
) _wrap_Sizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
41780 { (char *)"Sizer_CalcMin", (PyCFunction
) _wrap_Sizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
41781 { (char *)"Sizer_Layout", (PyCFunction
) _wrap_Sizer_Layout
, METH_VARARGS
| METH_KEYWORDS
},
41782 { (char *)"Sizer_Fit", (PyCFunction
) _wrap_Sizer_Fit
, METH_VARARGS
| METH_KEYWORDS
},
41783 { (char *)"Sizer_FitInside", (PyCFunction
) _wrap_Sizer_FitInside
, METH_VARARGS
| METH_KEYWORDS
},
41784 { (char *)"Sizer_SetSizeHints", (PyCFunction
) _wrap_Sizer_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
},
41785 { (char *)"Sizer_SetVirtualSizeHints", (PyCFunction
) _wrap_Sizer_SetVirtualSizeHints
, METH_VARARGS
| METH_KEYWORDS
},
41786 { (char *)"Sizer_Clear", (PyCFunction
) _wrap_Sizer_Clear
, METH_VARARGS
| METH_KEYWORDS
},
41787 { (char *)"Sizer_DeleteWindows", (PyCFunction
) _wrap_Sizer_DeleteWindows
, METH_VARARGS
| METH_KEYWORDS
},
41788 { (char *)"Sizer_GetChildren", (PyCFunction
) _wrap_Sizer_GetChildren
, METH_VARARGS
| METH_KEYWORDS
},
41789 { (char *)"Sizer_Show", (PyCFunction
) _wrap_Sizer_Show
, METH_VARARGS
| METH_KEYWORDS
},
41790 { (char *)"Sizer_Hide", (PyCFunction
) _wrap_Sizer_Hide
, METH_VARARGS
| METH_KEYWORDS
},
41791 { (char *)"Sizer_IsShown", (PyCFunction
) _wrap_Sizer_IsShown
, METH_VARARGS
| METH_KEYWORDS
},
41792 { (char *)"Sizer_ShowItems", (PyCFunction
) _wrap_Sizer_ShowItems
, METH_VARARGS
| METH_KEYWORDS
},
41793 { (char *)"Sizer_swigregister", Sizer_swigregister
, METH_VARARGS
},
41794 { (char *)"new_PySizer", (PyCFunction
) _wrap_new_PySizer
, METH_VARARGS
| METH_KEYWORDS
},
41795 { (char *)"PySizer__setCallbackInfo", (PyCFunction
) _wrap_PySizer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
41796 { (char *)"PySizer_swigregister", PySizer_swigregister
, METH_VARARGS
},
41797 { (char *)"new_BoxSizer", (PyCFunction
) _wrap_new_BoxSizer
, METH_VARARGS
| METH_KEYWORDS
},
41798 { (char *)"BoxSizer_GetOrientation", (PyCFunction
) _wrap_BoxSizer_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
41799 { (char *)"BoxSizer_SetOrientation", (PyCFunction
) _wrap_BoxSizer_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
41800 { (char *)"BoxSizer_RecalcSizes", (PyCFunction
) _wrap_BoxSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
41801 { (char *)"BoxSizer_CalcMin", (PyCFunction
) _wrap_BoxSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
41802 { (char *)"BoxSizer_swigregister", BoxSizer_swigregister
, METH_VARARGS
},
41803 { (char *)"new_StaticBoxSizer", (PyCFunction
) _wrap_new_StaticBoxSizer
, METH_VARARGS
| METH_KEYWORDS
},
41804 { (char *)"StaticBoxSizer_GetStaticBox", (PyCFunction
) _wrap_StaticBoxSizer_GetStaticBox
, METH_VARARGS
| METH_KEYWORDS
},
41805 { (char *)"StaticBoxSizer_RecalcSizes", (PyCFunction
) _wrap_StaticBoxSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
41806 { (char *)"StaticBoxSizer_CalcMin", (PyCFunction
) _wrap_StaticBoxSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
41807 { (char *)"StaticBoxSizer_swigregister", StaticBoxSizer_swigregister
, METH_VARARGS
},
41808 { (char *)"new_GridSizer", (PyCFunction
) _wrap_new_GridSizer
, METH_VARARGS
| METH_KEYWORDS
},
41809 { (char *)"GridSizer_RecalcSizes", (PyCFunction
) _wrap_GridSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
41810 { (char *)"GridSizer_CalcMin", (PyCFunction
) _wrap_GridSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
41811 { (char *)"GridSizer_SetCols", (PyCFunction
) _wrap_GridSizer_SetCols
, METH_VARARGS
| METH_KEYWORDS
},
41812 { (char *)"GridSizer_SetRows", (PyCFunction
) _wrap_GridSizer_SetRows
, METH_VARARGS
| METH_KEYWORDS
},
41813 { (char *)"GridSizer_SetVGap", (PyCFunction
) _wrap_GridSizer_SetVGap
, METH_VARARGS
| METH_KEYWORDS
},
41814 { (char *)"GridSizer_SetHGap", (PyCFunction
) _wrap_GridSizer_SetHGap
, METH_VARARGS
| METH_KEYWORDS
},
41815 { (char *)"GridSizer_GetCols", (PyCFunction
) _wrap_GridSizer_GetCols
, METH_VARARGS
| METH_KEYWORDS
},
41816 { (char *)"GridSizer_GetRows", (PyCFunction
) _wrap_GridSizer_GetRows
, METH_VARARGS
| METH_KEYWORDS
},
41817 { (char *)"GridSizer_GetVGap", (PyCFunction
) _wrap_GridSizer_GetVGap
, METH_VARARGS
| METH_KEYWORDS
},
41818 { (char *)"GridSizer_GetHGap", (PyCFunction
) _wrap_GridSizer_GetHGap
, METH_VARARGS
| METH_KEYWORDS
},
41819 { (char *)"GridSizer_swigregister", GridSizer_swigregister
, METH_VARARGS
},
41820 { (char *)"new_FlexGridSizer", (PyCFunction
) _wrap_new_FlexGridSizer
, METH_VARARGS
| METH_KEYWORDS
},
41821 { (char *)"FlexGridSizer_RecalcSizes", (PyCFunction
) _wrap_FlexGridSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
41822 { (char *)"FlexGridSizer_CalcMin", (PyCFunction
) _wrap_FlexGridSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
41823 { (char *)"FlexGridSizer_AddGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableRow
, METH_VARARGS
| METH_KEYWORDS
},
41824 { (char *)"FlexGridSizer_RemoveGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableRow
, METH_VARARGS
| METH_KEYWORDS
},
41825 { (char *)"FlexGridSizer_AddGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableCol
, METH_VARARGS
| METH_KEYWORDS
},
41826 { (char *)"FlexGridSizer_RemoveGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableCol
, METH_VARARGS
| METH_KEYWORDS
},
41827 { (char *)"FlexGridSizer_SetFlexibleDirection", (PyCFunction
) _wrap_FlexGridSizer_SetFlexibleDirection
, METH_VARARGS
| METH_KEYWORDS
},
41828 { (char *)"FlexGridSizer_GetFlexibleDirection", (PyCFunction
) _wrap_FlexGridSizer_GetFlexibleDirection
, METH_VARARGS
| METH_KEYWORDS
},
41829 { (char *)"FlexGridSizer_SetNonFlexibleGrowMode", (PyCFunction
) _wrap_FlexGridSizer_SetNonFlexibleGrowMode
, METH_VARARGS
| METH_KEYWORDS
},
41830 { (char *)"FlexGridSizer_GetNonFlexibleGrowMode", (PyCFunction
) _wrap_FlexGridSizer_GetNonFlexibleGrowMode
, METH_VARARGS
| METH_KEYWORDS
},
41831 { (char *)"FlexGridSizer_GetRowHeights", (PyCFunction
) _wrap_FlexGridSizer_GetRowHeights
, METH_VARARGS
| METH_KEYWORDS
},
41832 { (char *)"FlexGridSizer_GetColWidths", (PyCFunction
) _wrap_FlexGridSizer_GetColWidths
, METH_VARARGS
| METH_KEYWORDS
},
41833 { (char *)"FlexGridSizer_swigregister", FlexGridSizer_swigregister
, METH_VARARGS
},
41834 { (char *)"new_GBPosition", (PyCFunction
) _wrap_new_GBPosition
, METH_VARARGS
| METH_KEYWORDS
},
41835 { (char *)"GBPosition_GetRow", (PyCFunction
) _wrap_GBPosition_GetRow
, METH_VARARGS
| METH_KEYWORDS
},
41836 { (char *)"GBPosition_GetCol", (PyCFunction
) _wrap_GBPosition_GetCol
, METH_VARARGS
| METH_KEYWORDS
},
41837 { (char *)"GBPosition_SetRow", (PyCFunction
) _wrap_GBPosition_SetRow
, METH_VARARGS
| METH_KEYWORDS
},
41838 { (char *)"GBPosition_SetCol", (PyCFunction
) _wrap_GBPosition_SetCol
, METH_VARARGS
| METH_KEYWORDS
},
41839 { (char *)"GBPosition___eq__", (PyCFunction
) _wrap_GBPosition___eq__
, METH_VARARGS
| METH_KEYWORDS
},
41840 { (char *)"GBPosition___ne__", (PyCFunction
) _wrap_GBPosition___ne__
, METH_VARARGS
| METH_KEYWORDS
},
41841 { (char *)"GBPosition_Set", (PyCFunction
) _wrap_GBPosition_Set
, METH_VARARGS
| METH_KEYWORDS
},
41842 { (char *)"GBPosition_Get", (PyCFunction
) _wrap_GBPosition_Get
, METH_VARARGS
| METH_KEYWORDS
},
41843 { (char *)"GBPosition_swigregister", GBPosition_swigregister
, METH_VARARGS
},
41844 { (char *)"new_GBSpan", (PyCFunction
) _wrap_new_GBSpan
, METH_VARARGS
| METH_KEYWORDS
},
41845 { (char *)"GBSpan_GetRowspan", (PyCFunction
) _wrap_GBSpan_GetRowspan
, METH_VARARGS
| METH_KEYWORDS
},
41846 { (char *)"GBSpan_GetColspan", (PyCFunction
) _wrap_GBSpan_GetColspan
, METH_VARARGS
| METH_KEYWORDS
},
41847 { (char *)"GBSpan_SetRowspan", (PyCFunction
) _wrap_GBSpan_SetRowspan
, METH_VARARGS
| METH_KEYWORDS
},
41848 { (char *)"GBSpan_SetColspan", (PyCFunction
) _wrap_GBSpan_SetColspan
, METH_VARARGS
| METH_KEYWORDS
},
41849 { (char *)"GBSpan___eq__", (PyCFunction
) _wrap_GBSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
},
41850 { (char *)"GBSpan___ne__", (PyCFunction
) _wrap_GBSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
},
41851 { (char *)"GBSpan_Set", (PyCFunction
) _wrap_GBSpan_Set
, METH_VARARGS
| METH_KEYWORDS
},
41852 { (char *)"GBSpan_Get", (PyCFunction
) _wrap_GBSpan_Get
, METH_VARARGS
| METH_KEYWORDS
},
41853 { (char *)"GBSpan_swigregister", GBSpan_swigregister
, METH_VARARGS
},
41854 { (char *)"new_GBSizerItem", (PyCFunction
) _wrap_new_GBSizerItem
, METH_VARARGS
| METH_KEYWORDS
},
41855 { (char *)"new_GBSizerItemWindow", (PyCFunction
) _wrap_new_GBSizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
},
41856 { (char *)"new_GBSizerItemSizer", (PyCFunction
) _wrap_new_GBSizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
},
41857 { (char *)"new_GBSizerItemSpacer", (PyCFunction
) _wrap_new_GBSizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
},
41858 { (char *)"GBSizerItem_GetPos", (PyCFunction
) _wrap_GBSizerItem_GetPos
, METH_VARARGS
| METH_KEYWORDS
},
41859 { (char *)"GBSizerItem_GetSpan", (PyCFunction
) _wrap_GBSizerItem_GetSpan
, METH_VARARGS
| METH_KEYWORDS
},
41860 { (char *)"GBSizerItem_SetPos", (PyCFunction
) _wrap_GBSizerItem_SetPos
, METH_VARARGS
| METH_KEYWORDS
},
41861 { (char *)"GBSizerItem_SetSpan", (PyCFunction
) _wrap_GBSizerItem_SetSpan
, METH_VARARGS
| METH_KEYWORDS
},
41862 { (char *)"GBSizerItem_Intersects", _wrap_GBSizerItem_Intersects
, METH_VARARGS
},
41863 { (char *)"GBSizerItem_GetEndPos", (PyCFunction
) _wrap_GBSizerItem_GetEndPos
, METH_VARARGS
| METH_KEYWORDS
},
41864 { (char *)"GBSizerItem_GetGBSizer", (PyCFunction
) _wrap_GBSizerItem_GetGBSizer
, METH_VARARGS
| METH_KEYWORDS
},
41865 { (char *)"GBSizerItem_SetGBSizer", (PyCFunction
) _wrap_GBSizerItem_SetGBSizer
, METH_VARARGS
| METH_KEYWORDS
},
41866 { (char *)"GBSizerItem_swigregister", GBSizerItem_swigregister
, METH_VARARGS
},
41867 { (char *)"new_GridBagSizer", (PyCFunction
) _wrap_new_GridBagSizer
, METH_VARARGS
| METH_KEYWORDS
},
41868 { (char *)"GridBagSizer_Add", (PyCFunction
) _wrap_GridBagSizer_Add
, METH_VARARGS
| METH_KEYWORDS
},
41869 { (char *)"GridBagSizer_AddItem", (PyCFunction
) _wrap_GridBagSizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
},
41870 { (char *)"GridBagSizer_GetEmptyCellSize", (PyCFunction
) _wrap_GridBagSizer_GetEmptyCellSize
, METH_VARARGS
| METH_KEYWORDS
},
41871 { (char *)"GridBagSizer_SetEmptyCellSize", (PyCFunction
) _wrap_GridBagSizer_SetEmptyCellSize
, METH_VARARGS
| METH_KEYWORDS
},
41872 { (char *)"GridBagSizer_GetItemPosition", _wrap_GridBagSizer_GetItemPosition
, METH_VARARGS
},
41873 { (char *)"GridBagSizer_SetItemPosition", _wrap_GridBagSizer_SetItemPosition
, METH_VARARGS
},
41874 { (char *)"GridBagSizer_GetItemSpan", _wrap_GridBagSizer_GetItemSpan
, METH_VARARGS
},
41875 { (char *)"GridBagSizer_SetItemSpan", _wrap_GridBagSizer_SetItemSpan
, METH_VARARGS
},
41876 { (char *)"GridBagSizer_FindItem", _wrap_GridBagSizer_FindItem
, METH_VARARGS
},
41877 { (char *)"GridBagSizer_FindItemAtPosition", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPosition
, METH_VARARGS
| METH_KEYWORDS
},
41878 { (char *)"GridBagSizer_FindItemAtPoint", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
41879 { (char *)"GridBagSizer_FindItemWithData", (PyCFunction
) _wrap_GridBagSizer_FindItemWithData
, METH_VARARGS
| METH_KEYWORDS
},
41880 { (char *)"GridBagSizer_RecalcSizes", (PyCFunction
) _wrap_GridBagSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
41881 { (char *)"GridBagSizer_CalcMin", (PyCFunction
) _wrap_GridBagSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
41882 { (char *)"GridBagSizer_CheckForIntersection", _wrap_GridBagSizer_CheckForIntersection
, METH_VARARGS
},
41883 { (char *)"GridBagSizer_swigregister", GridBagSizer_swigregister
, METH_VARARGS
},
41884 { (char *)"IndividualLayoutConstraint_Set", (PyCFunction
) _wrap_IndividualLayoutConstraint_Set
, METH_VARARGS
| METH_KEYWORDS
},
41885 { (char *)"IndividualLayoutConstraint_LeftOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_LeftOf
, METH_VARARGS
| METH_KEYWORDS
},
41886 { (char *)"IndividualLayoutConstraint_RightOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_RightOf
, METH_VARARGS
| METH_KEYWORDS
},
41887 { (char *)"IndividualLayoutConstraint_Above", (PyCFunction
) _wrap_IndividualLayoutConstraint_Above
, METH_VARARGS
| METH_KEYWORDS
},
41888 { (char *)"IndividualLayoutConstraint_Below", (PyCFunction
) _wrap_IndividualLayoutConstraint_Below
, METH_VARARGS
| METH_KEYWORDS
},
41889 { (char *)"IndividualLayoutConstraint_SameAs", (PyCFunction
) _wrap_IndividualLayoutConstraint_SameAs
, METH_VARARGS
| METH_KEYWORDS
},
41890 { (char *)"IndividualLayoutConstraint_PercentOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_PercentOf
, METH_VARARGS
| METH_KEYWORDS
},
41891 { (char *)"IndividualLayoutConstraint_Absolute", (PyCFunction
) _wrap_IndividualLayoutConstraint_Absolute
, METH_VARARGS
| METH_KEYWORDS
},
41892 { (char *)"IndividualLayoutConstraint_Unconstrained", (PyCFunction
) _wrap_IndividualLayoutConstraint_Unconstrained
, METH_VARARGS
| METH_KEYWORDS
},
41893 { (char *)"IndividualLayoutConstraint_AsIs", (PyCFunction
) _wrap_IndividualLayoutConstraint_AsIs
, METH_VARARGS
| METH_KEYWORDS
},
41894 { (char *)"IndividualLayoutConstraint_GetOtherWindow", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetOtherWindow
, METH_VARARGS
| METH_KEYWORDS
},
41895 { (char *)"IndividualLayoutConstraint_GetMyEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetMyEdge
, METH_VARARGS
| METH_KEYWORDS
},
41896 { (char *)"IndividualLayoutConstraint_SetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetEdge
, METH_VARARGS
| METH_KEYWORDS
},
41897 { (char *)"IndividualLayoutConstraint_SetValue", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
41898 { (char *)"IndividualLayoutConstraint_GetMargin", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetMargin
, METH_VARARGS
| METH_KEYWORDS
},
41899 { (char *)"IndividualLayoutConstraint_SetMargin", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetMargin
, METH_VARARGS
| METH_KEYWORDS
},
41900 { (char *)"IndividualLayoutConstraint_GetValue", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
41901 { (char *)"IndividualLayoutConstraint_GetPercent", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetPercent
, METH_VARARGS
| METH_KEYWORDS
},
41902 { (char *)"IndividualLayoutConstraint_GetOtherEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetOtherEdge
, METH_VARARGS
| METH_KEYWORDS
},
41903 { (char *)"IndividualLayoutConstraint_GetDone", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetDone
, METH_VARARGS
| METH_KEYWORDS
},
41904 { (char *)"IndividualLayoutConstraint_SetDone", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetDone
, METH_VARARGS
| METH_KEYWORDS
},
41905 { (char *)"IndividualLayoutConstraint_GetRelationship", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetRelationship
, METH_VARARGS
| METH_KEYWORDS
},
41906 { (char *)"IndividualLayoutConstraint_SetRelationship", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetRelationship
, METH_VARARGS
| METH_KEYWORDS
},
41907 { (char *)"IndividualLayoutConstraint_ResetIfWin", (PyCFunction
) _wrap_IndividualLayoutConstraint_ResetIfWin
, METH_VARARGS
| METH_KEYWORDS
},
41908 { (char *)"IndividualLayoutConstraint_SatisfyConstraint", (PyCFunction
) _wrap_IndividualLayoutConstraint_SatisfyConstraint
, METH_VARARGS
| METH_KEYWORDS
},
41909 { (char *)"IndividualLayoutConstraint_GetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetEdge
, METH_VARARGS
| METH_KEYWORDS
},
41910 { (char *)"IndividualLayoutConstraint_swigregister", IndividualLayoutConstraint_swigregister
, METH_VARARGS
},
41911 { (char *)"LayoutConstraints_left_get", (PyCFunction
) _wrap_LayoutConstraints_left_get
, METH_VARARGS
| METH_KEYWORDS
},
41912 { (char *)"LayoutConstraints_top_get", (PyCFunction
) _wrap_LayoutConstraints_top_get
, METH_VARARGS
| METH_KEYWORDS
},
41913 { (char *)"LayoutConstraints_right_get", (PyCFunction
) _wrap_LayoutConstraints_right_get
, METH_VARARGS
| METH_KEYWORDS
},
41914 { (char *)"LayoutConstraints_bottom_get", (PyCFunction
) _wrap_LayoutConstraints_bottom_get
, METH_VARARGS
| METH_KEYWORDS
},
41915 { (char *)"LayoutConstraints_width_get", (PyCFunction
) _wrap_LayoutConstraints_width_get
, METH_VARARGS
| METH_KEYWORDS
},
41916 { (char *)"LayoutConstraints_height_get", (PyCFunction
) _wrap_LayoutConstraints_height_get
, METH_VARARGS
| METH_KEYWORDS
},
41917 { (char *)"LayoutConstraints_centreX_get", (PyCFunction
) _wrap_LayoutConstraints_centreX_get
, METH_VARARGS
| METH_KEYWORDS
},
41918 { (char *)"LayoutConstraints_centreY_get", (PyCFunction
) _wrap_LayoutConstraints_centreY_get
, METH_VARARGS
| METH_KEYWORDS
},
41919 { (char *)"new_LayoutConstraints", (PyCFunction
) _wrap_new_LayoutConstraints
, METH_VARARGS
| METH_KEYWORDS
},
41920 { (char *)"LayoutConstraints_SatisfyConstraints", (PyCFunction
) _wrap_LayoutConstraints_SatisfyConstraints
, METH_VARARGS
| METH_KEYWORDS
},
41921 { (char *)"LayoutConstraints_AreSatisfied", (PyCFunction
) _wrap_LayoutConstraints_AreSatisfied
, METH_VARARGS
| METH_KEYWORDS
},
41922 { (char *)"LayoutConstraints_swigregister", LayoutConstraints_swigregister
, METH_VARARGS
},
41927 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
41929 static void *_p_wxGBSizerItemTo_p_wxSizerItem(void *x
) {
41930 return (void *)((wxSizerItem
*) ((wxGBSizerItem
*) x
));
41932 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) {
41933 return (void *)((wxSizer
*) ((wxBoxSizer
*) x
));
41935 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) {
41936 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
41938 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) {
41939 return (void *)((wxSizer
*) (wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
41941 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) {
41942 return (void *)((wxSizer
*) ((wxGridSizer
*) x
));
41944 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) {
41945 return (void *)((wxSizer
*) (wxGridSizer
*) ((wxFlexGridSizer
*) x
));
41947 static void *_p_wxPySizerTo_p_wxSizer(void *x
) {
41948 return (void *)((wxSizer
*) ((wxPySizer
*) x
));
41950 static void *_p_wxStaticBoxSizerTo_p_wxBoxSizer(void *x
) {
41951 return (void *)((wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
41953 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
41954 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
41956 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
41957 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
41959 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
41960 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
41962 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
41963 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
41965 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
41966 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
41968 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
41969 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
41971 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
41972 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
41974 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
41975 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
41977 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
41978 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
41980 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
41981 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
41983 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
41984 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
41986 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
41987 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
41989 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
41990 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
41992 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
41993 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
41995 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
41996 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
41998 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
41999 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
42001 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
42002 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
42004 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
42005 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
42007 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
42008 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
42010 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
42011 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
42013 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
42014 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
42016 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
42017 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
42019 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
42020 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
42022 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
42023 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
42025 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
42026 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
42028 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
42029 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
42031 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
42032 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
42034 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
42035 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
42037 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
42038 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
42040 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
42041 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
42043 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
42044 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
42046 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
42047 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
42049 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
42050 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
42052 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
42053 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
42055 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
42056 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
42058 static void *_p_wxGridBagSizerTo_p_wxGridSizer(void *x
) {
42059 return (void *)((wxGridSizer
*) (wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
42061 static void *_p_wxFlexGridSizerTo_p_wxGridSizer(void *x
) {
42062 return (void *)((wxGridSizer
*) ((wxFlexGridSizer
*) x
));
42064 static void *_p_wxGridBagSizerTo_p_wxFlexGridSizer(void *x
) {
42065 return (void *)((wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
42067 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
42068 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
42070 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
42071 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
42073 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
42074 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
42076 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
42077 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
42079 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
42080 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
42082 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
42083 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
42085 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
42086 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
42088 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
42089 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
42091 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
42092 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
42094 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
42095 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
42097 static void *_p_wxANIHandlerTo_p_wxCURHandler(void *x
) {
42098 return (void *)((wxCURHandler
*) ((wxANIHandler
*) x
));
42100 static void *_p_wxCURHandlerTo_p_wxICOHandler(void *x
) {
42101 return (void *)((wxICOHandler
*) ((wxCURHandler
*) x
));
42103 static void *_p_wxANIHandlerTo_p_wxICOHandler(void *x
) {
42104 return (void *)((wxICOHandler
*) (wxCURHandler
*) ((wxANIHandler
*) x
));
42106 static void *_p_wxICOHandlerTo_p_wxBMPHandler(void *x
) {
42107 return (void *)((wxBMPHandler
*) ((wxICOHandler
*) x
));
42109 static void *_p_wxCURHandlerTo_p_wxBMPHandler(void *x
) {
42110 return (void *)((wxBMPHandler
*) (wxICOHandler
*) ((wxCURHandler
*) x
));
42112 static void *_p_wxANIHandlerTo_p_wxBMPHandler(void *x
) {
42113 return (void *)((wxBMPHandler
*) (wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
42115 static void *_p_wxBMPHandlerTo_p_wxImageHandler(void *x
) {
42116 return (void *)((wxImageHandler
*) ((wxBMPHandler
*) x
));
42118 static void *_p_wxICOHandlerTo_p_wxImageHandler(void *x
) {
42119 return (void *)((wxImageHandler
*) (wxBMPHandler
*) ((wxICOHandler
*) x
));
42121 static void *_p_wxCURHandlerTo_p_wxImageHandler(void *x
) {
42122 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
42124 static void *_p_wxANIHandlerTo_p_wxImageHandler(void *x
) {
42125 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
42127 static void *_p_wxPNGHandlerTo_p_wxImageHandler(void *x
) {
42128 return (void *)((wxImageHandler
*) ((wxPNGHandler
*) x
));
42130 static void *_p_wxGIFHandlerTo_p_wxImageHandler(void *x
) {
42131 return (void *)((wxImageHandler
*) ((wxGIFHandler
*) x
));
42133 static void *_p_wxPCXHandlerTo_p_wxImageHandler(void *x
) {
42134 return (void *)((wxImageHandler
*) ((wxPCXHandler
*) x
));
42136 static void *_p_wxJPEGHandlerTo_p_wxImageHandler(void *x
) {
42137 return (void *)((wxImageHandler
*) ((wxJPEGHandler
*) x
));
42139 static void *_p_wxPNMHandlerTo_p_wxImageHandler(void *x
) {
42140 return (void *)((wxImageHandler
*) ((wxPNMHandler
*) x
));
42142 static void *_p_wxXPMHandlerTo_p_wxImageHandler(void *x
) {
42143 return (void *)((wxImageHandler
*) ((wxXPMHandler
*) x
));
42145 static void *_p_wxTIFFHandlerTo_p_wxImageHandler(void *x
) {
42146 return (void *)((wxImageHandler
*) ((wxTIFFHandler
*) x
));
42148 static void *_p_wxPyFileSystemHandlerTo_p_wxFileSystemHandler(void *x
) {
42149 return (void *)((wxFileSystemHandler
*) ((wxPyFileSystemHandler
*) x
));
42151 static void *_p_wxInternetFSHandlerTo_p_wxFileSystemHandler(void *x
) {
42152 return (void *)((wxFileSystemHandler
*) ((wxInternetFSHandler
*) x
));
42154 static void *_p_wxZipFSHandlerTo_p_wxFileSystemHandler(void *x
) {
42155 return (void *)((wxFileSystemHandler
*) ((wxZipFSHandler
*) x
));
42157 static void *_p_wxMemoryFSHandlerTo_p_wxFileSystemHandler(void *x
) {
42158 return (void *)((wxFileSystemHandler
*) ((wxMemoryFSHandler
*) x
));
42160 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
42161 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
42163 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
42164 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
42166 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
42167 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
42169 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
42170 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
42172 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
42173 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
42175 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
42176 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
42178 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
42179 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
42181 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
42182 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
42184 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
42185 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
42187 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
42188 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
42190 static void *_p_wxSizerTo_p_wxObject(void *x
) {
42191 return (void *)((wxObject
*) ((wxSizer
*) x
));
42193 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
42194 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
42196 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
42197 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
42199 static void *_p_wxMenuTo_p_wxObject(void *x
) {
42200 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
42202 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
42203 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
42205 static void *_p_wxImageTo_p_wxObject(void *x
) {
42206 return (void *)((wxObject
*) ((wxImage
*) x
));
42208 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
42209 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
42211 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
42212 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
42214 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
42215 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
42217 static void *_p_wxWindowTo_p_wxObject(void *x
) {
42218 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
42220 static void *_p_wxControlTo_p_wxObject(void *x
) {
42221 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
42223 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
42224 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
42226 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
42227 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
42229 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
42230 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
42232 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
42233 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
42235 static void *_p_wxEventTo_p_wxObject(void *x
) {
42236 return (void *)((wxObject
*) ((wxEvent
*) x
));
42238 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
42239 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
42241 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
42242 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
42244 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
42245 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
42247 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
42248 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
42250 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
42251 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
42253 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
42254 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
42256 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
42257 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
42259 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
42260 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
42262 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
42263 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
42265 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
42266 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
42268 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
42269 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
42271 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
42272 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
42274 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
42275 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
42277 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
42278 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
42280 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
42281 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
42283 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
42284 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
42286 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
42287 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
42289 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
42290 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
42292 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
42293 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
42295 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
42296 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
42298 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
42299 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
42301 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
42302 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
42304 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
42305 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
42307 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
42308 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
42310 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
42311 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
42313 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
42314 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
42316 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
42317 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
42319 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
42320 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
42322 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
42323 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
42325 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
42326 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
42328 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
42329 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
42331 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
42332 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
42334 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
42335 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
42337 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
42338 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
42340 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
42341 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
42343 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
42344 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
42346 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
42347 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
42349 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
42350 return (void *)((wxObject
*) ((wxFSFile
*) x
));
42352 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
42353 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
42355 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
42356 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
42358 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
42359 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
42361 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
42362 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
42364 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
42365 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
42367 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
42368 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
42370 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
42371 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
42373 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
42374 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
42376 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
42377 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
42379 static void *_p_wxControlTo_p_wxWindow(void *x
) {
42380 return (void *)((wxWindow
*) ((wxControl
*) x
));
42382 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
42383 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
42385 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
42386 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
42388 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
42389 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
42391 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
42392 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
42394 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
42395 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
42397 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
42398 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
42400 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
42401 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
42403 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
42404 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
42406 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
42407 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
42409 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
42410 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
42412 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
42413 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
42415 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}};
42416 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}};
42417 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}};
42418 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}};
42419 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}};
42420 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}};
42421 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}};
42422 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}};
42423 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}};
42424 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}};
42425 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}};
42426 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}};
42427 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}};
42428 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}};
42429 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}};
42430 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}};
42431 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}};
42432 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}};
42433 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}};
42434 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}};
42435 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}};
42436 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}};
42437 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}};
42438 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}};
42439 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}};
42440 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}};
42441 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}};
42442 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}};
42443 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}};
42444 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}};
42445 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}};
42446 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}};
42447 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}};
42448 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}};
42449 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}};
42450 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}};
42451 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}};
42452 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}};
42453 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}};
42454 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}};
42455 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}};
42456 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}};
42457 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}};
42458 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}};
42459 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}};
42460 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}};
42461 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}};
42462 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}};
42463 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}};
42464 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}};
42465 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}};
42466 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}};
42467 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}};
42468 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}};
42469 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}};
42470 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}};
42471 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}};
42472 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}};
42473 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}};
42474 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}};
42475 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}};
42476 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}};
42477 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}};
42478 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}};
42479 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}};
42480 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}};
42481 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}};
42482 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}};
42483 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}};
42484 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}};
42485 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}};
42486 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}};
42487 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}};
42488 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}};
42489 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}};
42490 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}};
42491 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}};
42492 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}};
42493 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}};
42494 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}};
42495 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}};
42496 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}};
42497 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}};
42498 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}};
42499 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}};
42500 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}};
42501 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}};
42502 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}};
42503 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}};
42504 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}};
42505 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}};
42506 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}};
42507 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}};
42508 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}};
42509 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}};
42510 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}};
42511 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}};
42512 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}};
42513 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}};
42514 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}};
42515 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}};
42516 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}};
42517 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}};
42518 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}};
42519 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}};
42520 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}};
42521 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}};
42522 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}};
42523 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}};
42524 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}};
42525 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}};
42526 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}};
42527 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}};
42528 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}};
42529 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}};
42531 static swig_type_info
*swig_types_initial
[] = {
42532 _swigt__p_wxLayoutConstraints
,
42533 _swigt__p_wxRealPoint
,
42534 _swigt__p_wxSizerItem
,
42535 _swigt__p_wxGBSizerItem
,
42536 _swigt__p_wxScrollEvent
,
42537 _swigt__p_wxIndividualLayoutConstraint
,
42539 _swigt__p_wxBoxSizer
,
42540 _swigt__p_wxStaticBoxSizer
,
42541 _swigt__p_wxGridBagSizer
,
42542 _swigt__p_wxAcceleratorEntry
,
42543 _swigt__p_wxUpdateUIEvent
,
42546 _swigt__p_wxGridSizer
,
42547 _swigt__p_wxFlexGridSizer
,
42548 _swigt__p_wxInitDialogEvent
,
42549 _swigt__p_wxItemContainer
,
42550 _swigt__p_wxNcPaintEvent
,
42551 _swigt__p_wxPaintEvent
,
42552 _swigt__p_wxSysColourChangedEvent
,
42553 _swigt__p_wxMouseCaptureChangedEvent
,
42554 _swigt__p_wxDisplayChangedEvent
,
42555 _swigt__p_wxPaletteChangedEvent
,
42556 _swigt__p_wxControl
,
42558 _swigt__p_wxMenuBarBase
,
42559 _swigt__p_wxSetCursorEvent
,
42560 _swigt__p_wxFSFile
,
42562 _swigt__p_wxRegion
,
42563 _swigt__p_wxPoint2D
,
42567 _swigt__p_wxPySizer
,
42568 _swigt__p_wxVisualAttributes
,
42569 _swigt__p_wxNotifyEvent
,
42570 _swigt__p_wxPyEvent
,
42571 _swigt__p_wxPropagationDisabler
,
42572 _swigt__p_wxAppTraits
,
42573 _swigt__p_wxArrayString
,
42574 _swigt__p_wxShowEvent
,
42575 _swigt__p_wxToolTip
,
42576 _swigt__p_wxMaximizeEvent
,
42577 _swigt__p_wxIconizeEvent
,
42578 _swigt__p_wxActivateEvent
,
42579 _swigt__p_wxMoveEvent
,
42580 _swigt__p_wxSizeEvent
,
42581 _swigt__p_wxQueryNewPaletteEvent
,
42582 _swigt__p_wxWindowCreateEvent
,
42583 _swigt__p_wxIdleEvent
,
42584 _swigt__p_wxMenuItem
,
42585 _swigt__p_wxStaticBox
,
42587 _swigt__p_wxTIFFHandler
,
42588 _swigt__p_wxXPMHandler
,
42589 _swigt__p_wxPNMHandler
,
42590 _swigt__p_wxJPEGHandler
,
42591 _swigt__p_wxPCXHandler
,
42592 _swigt__p_wxGIFHandler
,
42593 _swigt__p_wxPNGHandler
,
42594 _swigt__p_wxANIHandler
,
42595 _swigt__p_wxMemoryFSHandler
,
42596 _swigt__p_wxEvtHandler
,
42597 _swigt__p_wxCURHandler
,
42598 _swigt__p_wxICOHandler
,
42599 _swigt__p_wxBMPHandler
,
42600 _swigt__p_wxImageHandler
,
42601 _swigt__p_wxFileSystemHandler
,
42602 _swigt__p_wxPyFileSystemHandler
,
42603 _swigt__p_wxInternetFSHandler
,
42604 _swigt__p_wxZipFSHandler
,
42606 _swigt__p_wxGBSpan
,
42607 _swigt__p_wxPropagateOnce
,
42608 _swigt__p_wxAcceleratorTable
,
42610 _swigt__p_wxGBPosition
,
42613 _swigt__p_wxScrollWinEvent
,
42614 _swigt__p_wxImageHistogram
,
42617 _swigt__p_wxCursor
,
42618 _swigt__p_wxObject
,
42619 _swigt__p_wxPyInputStream
,
42620 _swigt__p_wxOutputStream
,
42621 _swigt__p_wxInputStream
,
42622 _swigt__p_wxDateTime
,
42623 _swigt__p_wxKeyEvent
,
42624 _swigt__p_wxNavigationKeyEvent
,
42625 _swigt__p_wxWindowDestroyEvent
,
42626 _swigt__p_wxWindow
,
42627 _swigt__p_wxMenuBar
,
42628 _swigt__p_wxFileSystem
,
42629 _swigt__p_wxBitmap
,
42630 _swigt__p_wxMenuEvent
,
42631 _swigt__p_wxContextMenuEvent
,
42632 _swigt__p_unsigned_char
,
42633 _swigt__p_wxCloseEvent
,
42634 _swigt__p_wxEraseEvent
,
42635 _swigt__p_wxMouseEvent
,
42637 _swigt__p_wxCommandEvent
,
42638 _swigt__p_wxPyCommandEvent
,
42639 _swigt__p_wxPyDropTarget
,
42640 _swigt__p_wxChildFocusEvent
,
42641 _swigt__p_wxFocusEvent
,
42642 _swigt__p_wxDropFilesEvent
,
42643 _swigt__p_wxControlWithItems
,
42644 _swigt__p_wxColour
,
42645 _swigt__p_wxValidator
,
42646 _swigt__p_wxPyValidator
,
42651 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
42653 static swig_const_info swig_const_table
[] = {
42663 SWIGEXPORT(void) SWIG_init(void) {
42664 static PyObject
*SWIG_globals
= 0;
42665 static int typeinit
= 0;
42668 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
42669 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
42670 d
= PyModule_GetDict(m
);
42673 for (i
= 0; swig_types_initial
[i
]; i
++) {
42674 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
42678 SWIG_InstallConstants(d
,swig_const_table
);
42681 #ifndef wxPyUSE_EXPORT
42682 // Make our API structure a CObject so other modules can import it
42683 // from this module.
42684 PyObject
* cobj
= PyCObject_FromVoidPtr(&API
, NULL
);
42685 PyDict_SetItemString(d
,"_wxPyCoreAPI", cobj
);
42689 PyDict_SetItemString(d
,"NOT_FOUND", SWIG_FromInt((int)wxNOT_FOUND
));
42690 PyDict_SetItemString(d
,"VSCROLL", SWIG_FromInt((int)wxVSCROLL
));
42691 PyDict_SetItemString(d
,"HSCROLL", SWIG_FromInt((int)wxHSCROLL
));
42692 PyDict_SetItemString(d
,"CAPTION", SWIG_FromInt((int)wxCAPTION
));
42693 PyDict_SetItemString(d
,"DOUBLE_BORDER", SWIG_FromInt((int)wxDOUBLE_BORDER
));
42694 PyDict_SetItemString(d
,"SUNKEN_BORDER", SWIG_FromInt((int)wxSUNKEN_BORDER
));
42695 PyDict_SetItemString(d
,"RAISED_BORDER", SWIG_FromInt((int)wxRAISED_BORDER
));
42696 PyDict_SetItemString(d
,"BORDER", SWIG_FromInt((int)wxBORDER
));
42697 PyDict_SetItemString(d
,"SIMPLE_BORDER", SWIG_FromInt((int)wxSIMPLE_BORDER
));
42698 PyDict_SetItemString(d
,"STATIC_BORDER", SWIG_FromInt((int)wxSTATIC_BORDER
));
42699 PyDict_SetItemString(d
,"TRANSPARENT_WINDOW", SWIG_FromInt((int)wxTRANSPARENT_WINDOW
));
42700 PyDict_SetItemString(d
,"NO_BORDER", SWIG_FromInt((int)wxNO_BORDER
));
42701 PyDict_SetItemString(d
,"TAB_TRAVERSAL", SWIG_FromInt((int)wxTAB_TRAVERSAL
));
42702 PyDict_SetItemString(d
,"WANTS_CHARS", SWIG_FromInt((int)wxWANTS_CHARS
));
42703 PyDict_SetItemString(d
,"POPUP_WINDOW", SWIG_FromInt((int)wxPOPUP_WINDOW
));
42704 PyDict_SetItemString(d
,"CENTER_FRAME", SWIG_FromInt((int)wxCENTER_FRAME
));
42705 PyDict_SetItemString(d
,"CENTRE_ON_SCREEN", SWIG_FromInt((int)wxCENTRE_ON_SCREEN
));
42706 PyDict_SetItemString(d
,"CENTER_ON_SCREEN", SWIG_FromInt((int)wxCENTER_ON_SCREEN
));
42707 PyDict_SetItemString(d
,"ED_CLIENT_MARGIN", SWIG_FromInt((int)wxED_CLIENT_MARGIN
));
42708 PyDict_SetItemString(d
,"ED_BUTTONS_BOTTOM", SWIG_FromInt((int)wxED_BUTTONS_BOTTOM
));
42709 PyDict_SetItemString(d
,"ED_BUTTONS_RIGHT", SWIG_FromInt((int)wxED_BUTTONS_RIGHT
));
42710 PyDict_SetItemString(d
,"ED_STATIC_LINE", SWIG_FromInt((int)wxED_STATIC_LINE
));
42711 PyDict_SetItemString(d
,"EXT_DIALOG_STYLE", SWIG_FromInt((int)wxEXT_DIALOG_STYLE
));
42712 PyDict_SetItemString(d
,"CLIP_CHILDREN", SWIG_FromInt((int)wxCLIP_CHILDREN
));
42713 PyDict_SetItemString(d
,"CLIP_SIBLINGS", SWIG_FromInt((int)wxCLIP_SIBLINGS
));
42714 PyDict_SetItemString(d
,"ALWAYS_SHOW_SB", SWIG_FromInt((int)wxALWAYS_SHOW_SB
));
42715 PyDict_SetItemString(d
,"RETAINED", SWIG_FromInt((int)wxRETAINED
));
42716 PyDict_SetItemString(d
,"BACKINGSTORE", SWIG_FromInt((int)wxBACKINGSTORE
));
42717 PyDict_SetItemString(d
,"COLOURED", SWIG_FromInt((int)wxCOLOURED
));
42718 PyDict_SetItemString(d
,"FIXED_LENGTH", SWIG_FromInt((int)wxFIXED_LENGTH
));
42719 PyDict_SetItemString(d
,"LB_NEEDED_SB", SWIG_FromInt((int)wxLB_NEEDED_SB
));
42720 PyDict_SetItemString(d
,"LB_ALWAYS_SB", SWIG_FromInt((int)wxLB_ALWAYS_SB
));
42721 PyDict_SetItemString(d
,"LB_SORT", SWIG_FromInt((int)wxLB_SORT
));
42722 PyDict_SetItemString(d
,"LB_SINGLE", SWIG_FromInt((int)wxLB_SINGLE
));
42723 PyDict_SetItemString(d
,"LB_MULTIPLE", SWIG_FromInt((int)wxLB_MULTIPLE
));
42724 PyDict_SetItemString(d
,"LB_EXTENDED", SWIG_FromInt((int)wxLB_EXTENDED
));
42725 PyDict_SetItemString(d
,"LB_OWNERDRAW", SWIG_FromInt((int)wxLB_OWNERDRAW
));
42726 PyDict_SetItemString(d
,"LB_HSCROLL", SWIG_FromInt((int)wxLB_HSCROLL
));
42727 PyDict_SetItemString(d
,"PROCESS_ENTER", SWIG_FromInt((int)wxPROCESS_ENTER
));
42728 PyDict_SetItemString(d
,"PASSWORD", SWIG_FromInt((int)wxPASSWORD
));
42729 PyDict_SetItemString(d
,"CB_SIMPLE", SWIG_FromInt((int)wxCB_SIMPLE
));
42730 PyDict_SetItemString(d
,"CB_DROPDOWN", SWIG_FromInt((int)wxCB_DROPDOWN
));
42731 PyDict_SetItemString(d
,"CB_SORT", SWIG_FromInt((int)wxCB_SORT
));
42732 PyDict_SetItemString(d
,"CB_READONLY", SWIG_FromInt((int)wxCB_READONLY
));
42733 PyDict_SetItemString(d
,"RA_HORIZONTAL", SWIG_FromInt((int)wxRA_HORIZONTAL
));
42734 PyDict_SetItemString(d
,"RA_VERTICAL", SWIG_FromInt((int)wxRA_VERTICAL
));
42735 PyDict_SetItemString(d
,"RA_SPECIFY_ROWS", SWIG_FromInt((int)wxRA_SPECIFY_ROWS
));
42736 PyDict_SetItemString(d
,"RA_SPECIFY_COLS", SWIG_FromInt((int)wxRA_SPECIFY_COLS
));
42737 PyDict_SetItemString(d
,"RB_GROUP", SWIG_FromInt((int)wxRB_GROUP
));
42738 PyDict_SetItemString(d
,"RB_SINGLE", SWIG_FromInt((int)wxRB_SINGLE
));
42739 PyDict_SetItemString(d
,"SL_HORIZONTAL", SWIG_FromInt((int)wxSL_HORIZONTAL
));
42740 PyDict_SetItemString(d
,"SL_VERTICAL", SWIG_FromInt((int)wxSL_VERTICAL
));
42741 PyDict_SetItemString(d
,"SL_AUTOTICKS", SWIG_FromInt((int)wxSL_AUTOTICKS
));
42742 PyDict_SetItemString(d
,"SL_LABELS", SWIG_FromInt((int)wxSL_LABELS
));
42743 PyDict_SetItemString(d
,"SL_LEFT", SWIG_FromInt((int)wxSL_LEFT
));
42744 PyDict_SetItemString(d
,"SL_TOP", SWIG_FromInt((int)wxSL_TOP
));
42745 PyDict_SetItemString(d
,"SL_RIGHT", SWIG_FromInt((int)wxSL_RIGHT
));
42746 PyDict_SetItemString(d
,"SL_BOTTOM", SWIG_FromInt((int)wxSL_BOTTOM
));
42747 PyDict_SetItemString(d
,"SL_BOTH", SWIG_FromInt((int)wxSL_BOTH
));
42748 PyDict_SetItemString(d
,"SL_SELRANGE", SWIG_FromInt((int)wxSL_SELRANGE
));
42749 PyDict_SetItemString(d
,"SB_HORIZONTAL", SWIG_FromInt((int)wxSB_HORIZONTAL
));
42750 PyDict_SetItemString(d
,"SB_VERTICAL", SWIG_FromInt((int)wxSB_VERTICAL
));
42751 PyDict_SetItemString(d
,"ST_SIZEGRIP", SWIG_FromInt((int)wxST_SIZEGRIP
));
42752 PyDict_SetItemString(d
,"ST_NO_AUTORESIZE", SWIG_FromInt((int)wxST_NO_AUTORESIZE
));
42753 PyDict_SetItemString(d
,"FLOOD_SURFACE", SWIG_FromInt((int)wxFLOOD_SURFACE
));
42754 PyDict_SetItemString(d
,"FLOOD_BORDER", SWIG_FromInt((int)wxFLOOD_BORDER
));
42755 PyDict_SetItemString(d
,"ODDEVEN_RULE", SWIG_FromInt((int)wxODDEVEN_RULE
));
42756 PyDict_SetItemString(d
,"WINDING_RULE", SWIG_FromInt((int)wxWINDING_RULE
));
42757 PyDict_SetItemString(d
,"TOOL_TOP", SWIG_FromInt((int)wxTOOL_TOP
));
42758 PyDict_SetItemString(d
,"TOOL_BOTTOM", SWIG_FromInt((int)wxTOOL_BOTTOM
));
42759 PyDict_SetItemString(d
,"TOOL_LEFT", SWIG_FromInt((int)wxTOOL_LEFT
));
42760 PyDict_SetItemString(d
,"TOOL_RIGHT", SWIG_FromInt((int)wxTOOL_RIGHT
));
42761 PyDict_SetItemString(d
,"OK", SWIG_FromInt((int)wxOK
));
42762 PyDict_SetItemString(d
,"YES_NO", SWIG_FromInt((int)wxYES_NO
));
42763 PyDict_SetItemString(d
,"CANCEL", SWIG_FromInt((int)wxCANCEL
));
42764 PyDict_SetItemString(d
,"YES", SWIG_FromInt((int)wxYES
));
42765 PyDict_SetItemString(d
,"NO", SWIG_FromInt((int)wxNO
));
42766 PyDict_SetItemString(d
,"NO_DEFAULT", SWIG_FromInt((int)wxNO_DEFAULT
));
42767 PyDict_SetItemString(d
,"YES_DEFAULT", SWIG_FromInt((int)wxYES_DEFAULT
));
42768 PyDict_SetItemString(d
,"ICON_EXCLAMATION", SWIG_FromInt((int)wxICON_EXCLAMATION
));
42769 PyDict_SetItemString(d
,"ICON_HAND", SWIG_FromInt((int)wxICON_HAND
));
42770 PyDict_SetItemString(d
,"ICON_QUESTION", SWIG_FromInt((int)wxICON_QUESTION
));
42771 PyDict_SetItemString(d
,"ICON_INFORMATION", SWIG_FromInt((int)wxICON_INFORMATION
));
42772 PyDict_SetItemString(d
,"ICON_STOP", SWIG_FromInt((int)wxICON_STOP
));
42773 PyDict_SetItemString(d
,"ICON_ASTERISK", SWIG_FromInt((int)wxICON_ASTERISK
));
42774 PyDict_SetItemString(d
,"ICON_MASK", SWIG_FromInt((int)wxICON_MASK
));
42775 PyDict_SetItemString(d
,"ICON_WARNING", SWIG_FromInt((int)wxICON_WARNING
));
42776 PyDict_SetItemString(d
,"ICON_ERROR", SWIG_FromInt((int)wxICON_ERROR
));
42777 PyDict_SetItemString(d
,"FORWARD", SWIG_FromInt((int)wxFORWARD
));
42778 PyDict_SetItemString(d
,"BACKWARD", SWIG_FromInt((int)wxBACKWARD
));
42779 PyDict_SetItemString(d
,"RESET", SWIG_FromInt((int)wxRESET
));
42780 PyDict_SetItemString(d
,"HELP", SWIG_FromInt((int)wxHELP
));
42781 PyDict_SetItemString(d
,"MORE", SWIG_FromInt((int)wxMORE
));
42782 PyDict_SetItemString(d
,"SETUP", SWIG_FromInt((int)wxSETUP
));
42783 PyDict_SetItemString(d
,"SIZE_AUTO_WIDTH", SWIG_FromInt((int)wxSIZE_AUTO_WIDTH
));
42784 PyDict_SetItemString(d
,"SIZE_AUTO_HEIGHT", SWIG_FromInt((int)wxSIZE_AUTO_HEIGHT
));
42785 PyDict_SetItemString(d
,"SIZE_AUTO", SWIG_FromInt((int)wxSIZE_AUTO
));
42786 PyDict_SetItemString(d
,"SIZE_USE_EXISTING", SWIG_FromInt((int)wxSIZE_USE_EXISTING
));
42787 PyDict_SetItemString(d
,"SIZE_ALLOW_MINUS_ONE", SWIG_FromInt((int)wxSIZE_ALLOW_MINUS_ONE
));
42788 PyDict_SetItemString(d
,"PORTRAIT", SWIG_FromInt((int)wxPORTRAIT
));
42789 PyDict_SetItemString(d
,"LANDSCAPE", SWIG_FromInt((int)wxLANDSCAPE
));
42790 PyDict_SetItemString(d
,"PRINT_QUALITY_HIGH", SWIG_FromInt((int)wxPRINT_QUALITY_HIGH
));
42791 PyDict_SetItemString(d
,"PRINT_QUALITY_MEDIUM", SWIG_FromInt((int)wxPRINT_QUALITY_MEDIUM
));
42792 PyDict_SetItemString(d
,"PRINT_QUALITY_LOW", SWIG_FromInt((int)wxPRINT_QUALITY_LOW
));
42793 PyDict_SetItemString(d
,"PRINT_QUALITY_DRAFT", SWIG_FromInt((int)wxPRINT_QUALITY_DRAFT
));
42794 PyDict_SetItemString(d
,"ID_ANY", SWIG_FromInt((int)wxID_ANY
));
42795 PyDict_SetItemString(d
,"ID_SEPARATOR", SWIG_FromInt((int)wxID_SEPARATOR
));
42796 PyDict_SetItemString(d
,"ID_LOWEST", SWIG_FromInt((int)wxID_LOWEST
));
42797 PyDict_SetItemString(d
,"ID_OPEN", SWIG_FromInt((int)wxID_OPEN
));
42798 PyDict_SetItemString(d
,"ID_CLOSE", SWIG_FromInt((int)wxID_CLOSE
));
42799 PyDict_SetItemString(d
,"ID_NEW", SWIG_FromInt((int)wxID_NEW
));
42800 PyDict_SetItemString(d
,"ID_SAVE", SWIG_FromInt((int)wxID_SAVE
));
42801 PyDict_SetItemString(d
,"ID_SAVEAS", SWIG_FromInt((int)wxID_SAVEAS
));
42802 PyDict_SetItemString(d
,"ID_REVERT", SWIG_FromInt((int)wxID_REVERT
));
42803 PyDict_SetItemString(d
,"ID_EXIT", SWIG_FromInt((int)wxID_EXIT
));
42804 PyDict_SetItemString(d
,"ID_UNDO", SWIG_FromInt((int)wxID_UNDO
));
42805 PyDict_SetItemString(d
,"ID_REDO", SWIG_FromInt((int)wxID_REDO
));
42806 PyDict_SetItemString(d
,"ID_HELP", SWIG_FromInt((int)wxID_HELP
));
42807 PyDict_SetItemString(d
,"ID_PRINT", SWIG_FromInt((int)wxID_PRINT
));
42808 PyDict_SetItemString(d
,"ID_PRINT_SETUP", SWIG_FromInt((int)wxID_PRINT_SETUP
));
42809 PyDict_SetItemString(d
,"ID_PREVIEW", SWIG_FromInt((int)wxID_PREVIEW
));
42810 PyDict_SetItemString(d
,"ID_ABOUT", SWIG_FromInt((int)wxID_ABOUT
));
42811 PyDict_SetItemString(d
,"ID_HELP_CONTENTS", SWIG_FromInt((int)wxID_HELP_CONTENTS
));
42812 PyDict_SetItemString(d
,"ID_HELP_COMMANDS", SWIG_FromInt((int)wxID_HELP_COMMANDS
));
42813 PyDict_SetItemString(d
,"ID_HELP_PROCEDURES", SWIG_FromInt((int)wxID_HELP_PROCEDURES
));
42814 PyDict_SetItemString(d
,"ID_HELP_CONTEXT", SWIG_FromInt((int)wxID_HELP_CONTEXT
));
42815 PyDict_SetItemString(d
,"ID_CLOSE_ALL", SWIG_FromInt((int)wxID_CLOSE_ALL
));
42816 PyDict_SetItemString(d
,"ID_PREFERENCES", SWIG_FromInt((int)wxID_PREFERENCES
));
42817 PyDict_SetItemString(d
,"ID_CUT", SWIG_FromInt((int)wxID_CUT
));
42818 PyDict_SetItemString(d
,"ID_COPY", SWIG_FromInt((int)wxID_COPY
));
42819 PyDict_SetItemString(d
,"ID_PASTE", SWIG_FromInt((int)wxID_PASTE
));
42820 PyDict_SetItemString(d
,"ID_CLEAR", SWIG_FromInt((int)wxID_CLEAR
));
42821 PyDict_SetItemString(d
,"ID_FIND", SWIG_FromInt((int)wxID_FIND
));
42822 PyDict_SetItemString(d
,"ID_DUPLICATE", SWIG_FromInt((int)wxID_DUPLICATE
));
42823 PyDict_SetItemString(d
,"ID_SELECTALL", SWIG_FromInt((int)wxID_SELECTALL
));
42824 PyDict_SetItemString(d
,"ID_DELETE", SWIG_FromInt((int)wxID_DELETE
));
42825 PyDict_SetItemString(d
,"ID_REPLACE", SWIG_FromInt((int)wxID_REPLACE
));
42826 PyDict_SetItemString(d
,"ID_REPLACE_ALL", SWIG_FromInt((int)wxID_REPLACE_ALL
));
42827 PyDict_SetItemString(d
,"ID_PROPERTIES", SWIG_FromInt((int)wxID_PROPERTIES
));
42828 PyDict_SetItemString(d
,"ID_VIEW_DETAILS", SWIG_FromInt((int)wxID_VIEW_DETAILS
));
42829 PyDict_SetItemString(d
,"ID_VIEW_LARGEICONS", SWIG_FromInt((int)wxID_VIEW_LARGEICONS
));
42830 PyDict_SetItemString(d
,"ID_VIEW_SMALLICONS", SWIG_FromInt((int)wxID_VIEW_SMALLICONS
));
42831 PyDict_SetItemString(d
,"ID_VIEW_LIST", SWIG_FromInt((int)wxID_VIEW_LIST
));
42832 PyDict_SetItemString(d
,"ID_VIEW_SORTDATE", SWIG_FromInt((int)wxID_VIEW_SORTDATE
));
42833 PyDict_SetItemString(d
,"ID_VIEW_SORTNAME", SWIG_FromInt((int)wxID_VIEW_SORTNAME
));
42834 PyDict_SetItemString(d
,"ID_VIEW_SORTSIZE", SWIG_FromInt((int)wxID_VIEW_SORTSIZE
));
42835 PyDict_SetItemString(d
,"ID_VIEW_SORTTYPE", SWIG_FromInt((int)wxID_VIEW_SORTTYPE
));
42836 PyDict_SetItemString(d
,"ID_FILE1", SWIG_FromInt((int)wxID_FILE1
));
42837 PyDict_SetItemString(d
,"ID_FILE2", SWIG_FromInt((int)wxID_FILE2
));
42838 PyDict_SetItemString(d
,"ID_FILE3", SWIG_FromInt((int)wxID_FILE3
));
42839 PyDict_SetItemString(d
,"ID_FILE4", SWIG_FromInt((int)wxID_FILE4
));
42840 PyDict_SetItemString(d
,"ID_FILE5", SWIG_FromInt((int)wxID_FILE5
));
42841 PyDict_SetItemString(d
,"ID_FILE6", SWIG_FromInt((int)wxID_FILE6
));
42842 PyDict_SetItemString(d
,"ID_FILE7", SWIG_FromInt((int)wxID_FILE7
));
42843 PyDict_SetItemString(d
,"ID_FILE8", SWIG_FromInt((int)wxID_FILE8
));
42844 PyDict_SetItemString(d
,"ID_FILE9", SWIG_FromInt((int)wxID_FILE9
));
42845 PyDict_SetItemString(d
,"ID_OK", SWIG_FromInt((int)wxID_OK
));
42846 PyDict_SetItemString(d
,"ID_CANCEL", SWIG_FromInt((int)wxID_CANCEL
));
42847 PyDict_SetItemString(d
,"ID_APPLY", SWIG_FromInt((int)wxID_APPLY
));
42848 PyDict_SetItemString(d
,"ID_YES", SWIG_FromInt((int)wxID_YES
));
42849 PyDict_SetItemString(d
,"ID_NO", SWIG_FromInt((int)wxID_NO
));
42850 PyDict_SetItemString(d
,"ID_STATIC", SWIG_FromInt((int)wxID_STATIC
));
42851 PyDict_SetItemString(d
,"ID_FORWARD", SWIG_FromInt((int)wxID_FORWARD
));
42852 PyDict_SetItemString(d
,"ID_BACKWARD", SWIG_FromInt((int)wxID_BACKWARD
));
42853 PyDict_SetItemString(d
,"ID_DEFAULT", SWIG_FromInt((int)wxID_DEFAULT
));
42854 PyDict_SetItemString(d
,"ID_MORE", SWIG_FromInt((int)wxID_MORE
));
42855 PyDict_SetItemString(d
,"ID_SETUP", SWIG_FromInt((int)wxID_SETUP
));
42856 PyDict_SetItemString(d
,"ID_RESET", SWIG_FromInt((int)wxID_RESET
));
42857 PyDict_SetItemString(d
,"ID_CONTEXT_HELP", SWIG_FromInt((int)wxID_CONTEXT_HELP
));
42858 PyDict_SetItemString(d
,"ID_YESTOALL", SWIG_FromInt((int)wxID_YESTOALL
));
42859 PyDict_SetItemString(d
,"ID_NOTOALL", SWIG_FromInt((int)wxID_NOTOALL
));
42860 PyDict_SetItemString(d
,"ID_ABORT", SWIG_FromInt((int)wxID_ABORT
));
42861 PyDict_SetItemString(d
,"ID_RETRY", SWIG_FromInt((int)wxID_RETRY
));
42862 PyDict_SetItemString(d
,"ID_IGNORE", SWIG_FromInt((int)wxID_IGNORE
));
42863 PyDict_SetItemString(d
,"ID_HIGHEST", SWIG_FromInt((int)wxID_HIGHEST
));
42864 PyDict_SetItemString(d
,"OPEN", SWIG_FromInt((int)wxOPEN
));
42865 PyDict_SetItemString(d
,"SAVE", SWIG_FromInt((int)wxSAVE
));
42866 PyDict_SetItemString(d
,"HIDE_READONLY", SWIG_FromInt((int)wxHIDE_READONLY
));
42867 PyDict_SetItemString(d
,"OVERWRITE_PROMPT", SWIG_FromInt((int)wxOVERWRITE_PROMPT
));
42868 PyDict_SetItemString(d
,"FILE_MUST_EXIST", SWIG_FromInt((int)wxFILE_MUST_EXIST
));
42869 PyDict_SetItemString(d
,"MULTIPLE", SWIG_FromInt((int)wxMULTIPLE
));
42870 PyDict_SetItemString(d
,"CHANGE_DIR", SWIG_FromInt((int)wxCHANGE_DIR
));
42871 PyDict_SetItemString(d
,"ACCEL_ALT", SWIG_FromInt((int)wxACCEL_ALT
));
42872 PyDict_SetItemString(d
,"ACCEL_CTRL", SWIG_FromInt((int)wxACCEL_CTRL
));
42873 PyDict_SetItemString(d
,"ACCEL_SHIFT", SWIG_FromInt((int)wxACCEL_SHIFT
));
42874 PyDict_SetItemString(d
,"ACCEL_NORMAL", SWIG_FromInt((int)wxACCEL_NORMAL
));
42875 PyDict_SetItemString(d
,"PD_AUTO_HIDE", SWIG_FromInt((int)wxPD_AUTO_HIDE
));
42876 PyDict_SetItemString(d
,"PD_APP_MODAL", SWIG_FromInt((int)wxPD_APP_MODAL
));
42877 PyDict_SetItemString(d
,"PD_CAN_ABORT", SWIG_FromInt((int)wxPD_CAN_ABORT
));
42878 PyDict_SetItemString(d
,"PD_ELAPSED_TIME", SWIG_FromInt((int)wxPD_ELAPSED_TIME
));
42879 PyDict_SetItemString(d
,"PD_ESTIMATED_TIME", SWIG_FromInt((int)wxPD_ESTIMATED_TIME
));
42880 PyDict_SetItemString(d
,"PD_REMAINING_TIME", SWIG_FromInt((int)wxPD_REMAINING_TIME
));
42881 PyDict_SetItemString(d
,"DD_NEW_DIR_BUTTON", SWIG_FromInt((int)wxDD_NEW_DIR_BUTTON
));
42882 PyDict_SetItemString(d
,"DD_DEFAULT_STYLE", SWIG_FromInt((int)wxDD_DEFAULT_STYLE
));
42883 PyDict_SetItemString(d
,"MENU_TEAROFF", SWIG_FromInt((int)wxMENU_TEAROFF
));
42884 PyDict_SetItemString(d
,"MB_DOCKABLE", SWIG_FromInt((int)wxMB_DOCKABLE
));
42885 PyDict_SetItemString(d
,"NO_FULL_REPAINT_ON_RESIZE", SWIG_FromInt((int)wxNO_FULL_REPAINT_ON_RESIZE
));
42886 PyDict_SetItemString(d
,"FULL_REPAINT_ON_RESIZE", SWIG_FromInt((int)wxFULL_REPAINT_ON_RESIZE
));
42887 PyDict_SetItemString(d
,"LI_HORIZONTAL", SWIG_FromInt((int)wxLI_HORIZONTAL
));
42888 PyDict_SetItemString(d
,"LI_VERTICAL", SWIG_FromInt((int)wxLI_VERTICAL
));
42889 PyDict_SetItemString(d
,"WS_EX_VALIDATE_RECURSIVELY", SWIG_FromInt((int)wxWS_EX_VALIDATE_RECURSIVELY
));
42890 PyDict_SetItemString(d
,"WS_EX_BLOCK_EVENTS", SWIG_FromInt((int)wxWS_EX_BLOCK_EVENTS
));
42891 PyDict_SetItemString(d
,"WS_EX_TRANSIENT", SWIG_FromInt((int)wxWS_EX_TRANSIENT
));
42892 PyDict_SetItemString(d
,"WS_EX_THEMED_BACKGROUND", SWIG_FromInt((int)wxWS_EX_THEMED_BACKGROUND
));
42893 PyDict_SetItemString(d
,"WS_EX_PROCESS_IDLE", SWIG_FromInt((int)wxWS_EX_PROCESS_IDLE
));
42894 PyDict_SetItemString(d
,"WS_EX_PROCESS_UI_UPDATES", SWIG_FromInt((int)wxWS_EX_PROCESS_UI_UPDATES
));
42895 PyDict_SetItemString(d
,"MM_TEXT", SWIG_FromInt((int)wxMM_TEXT
));
42896 PyDict_SetItemString(d
,"MM_LOMETRIC", SWIG_FromInt((int)wxMM_LOMETRIC
));
42897 PyDict_SetItemString(d
,"MM_HIMETRIC", SWIG_FromInt((int)wxMM_HIMETRIC
));
42898 PyDict_SetItemString(d
,"MM_LOENGLISH", SWIG_FromInt((int)wxMM_LOENGLISH
));
42899 PyDict_SetItemString(d
,"MM_HIENGLISH", SWIG_FromInt((int)wxMM_HIENGLISH
));
42900 PyDict_SetItemString(d
,"MM_TWIPS", SWIG_FromInt((int)wxMM_TWIPS
));
42901 PyDict_SetItemString(d
,"MM_ISOTROPIC", SWIG_FromInt((int)wxMM_ISOTROPIC
));
42902 PyDict_SetItemString(d
,"MM_ANISOTROPIC", SWIG_FromInt((int)wxMM_ANISOTROPIC
));
42903 PyDict_SetItemString(d
,"MM_POINTS", SWIG_FromInt((int)wxMM_POINTS
));
42904 PyDict_SetItemString(d
,"MM_METRIC", SWIG_FromInt((int)wxMM_METRIC
));
42905 PyDict_SetItemString(d
,"CENTRE", SWIG_FromInt((int)wxCENTRE
));
42906 PyDict_SetItemString(d
,"CENTER", SWIG_FromInt((int)wxCENTER
));
42907 PyDict_SetItemString(d
,"HORIZONTAL", SWIG_FromInt((int)wxHORIZONTAL
));
42908 PyDict_SetItemString(d
,"VERTICAL", SWIG_FromInt((int)wxVERTICAL
));
42909 PyDict_SetItemString(d
,"BOTH", SWIG_FromInt((int)wxBOTH
));
42910 PyDict_SetItemString(d
,"LEFT", SWIG_FromInt((int)wxLEFT
));
42911 PyDict_SetItemString(d
,"RIGHT", SWIG_FromInt((int)wxRIGHT
));
42912 PyDict_SetItemString(d
,"UP", SWIG_FromInt((int)wxUP
));
42913 PyDict_SetItemString(d
,"DOWN", SWIG_FromInt((int)wxDOWN
));
42914 PyDict_SetItemString(d
,"TOP", SWIG_FromInt((int)wxTOP
));
42915 PyDict_SetItemString(d
,"BOTTOM", SWIG_FromInt((int)wxBOTTOM
));
42916 PyDict_SetItemString(d
,"NORTH", SWIG_FromInt((int)wxNORTH
));
42917 PyDict_SetItemString(d
,"SOUTH", SWIG_FromInt((int)wxSOUTH
));
42918 PyDict_SetItemString(d
,"WEST", SWIG_FromInt((int)wxWEST
));
42919 PyDict_SetItemString(d
,"EAST", SWIG_FromInt((int)wxEAST
));
42920 PyDict_SetItemString(d
,"ALL", SWIG_FromInt((int)wxALL
));
42921 PyDict_SetItemString(d
,"ALIGN_NOT", SWIG_FromInt((int)wxALIGN_NOT
));
42922 PyDict_SetItemString(d
,"ALIGN_CENTER_HORIZONTAL", SWIG_FromInt((int)wxALIGN_CENTER_HORIZONTAL
));
42923 PyDict_SetItemString(d
,"ALIGN_CENTRE_HORIZONTAL", SWIG_FromInt((int)wxALIGN_CENTRE_HORIZONTAL
));
42924 PyDict_SetItemString(d
,"ALIGN_LEFT", SWIG_FromInt((int)wxALIGN_LEFT
));
42925 PyDict_SetItemString(d
,"ALIGN_TOP", SWIG_FromInt((int)wxALIGN_TOP
));
42926 PyDict_SetItemString(d
,"ALIGN_RIGHT", SWIG_FromInt((int)wxALIGN_RIGHT
));
42927 PyDict_SetItemString(d
,"ALIGN_BOTTOM", SWIG_FromInt((int)wxALIGN_BOTTOM
));
42928 PyDict_SetItemString(d
,"ALIGN_CENTER_VERTICAL", SWIG_FromInt((int)wxALIGN_CENTER_VERTICAL
));
42929 PyDict_SetItemString(d
,"ALIGN_CENTRE_VERTICAL", SWIG_FromInt((int)wxALIGN_CENTRE_VERTICAL
));
42930 PyDict_SetItemString(d
,"ALIGN_CENTER", SWIG_FromInt((int)wxALIGN_CENTER
));
42931 PyDict_SetItemString(d
,"ALIGN_CENTRE", SWIG_FromInt((int)wxALIGN_CENTRE
));
42932 PyDict_SetItemString(d
,"ALIGN_MASK", SWIG_FromInt((int)wxALIGN_MASK
));
42933 PyDict_SetItemString(d
,"STRETCH_NOT", SWIG_FromInt((int)wxSTRETCH_NOT
));
42934 PyDict_SetItemString(d
,"SHRINK", SWIG_FromInt((int)wxSHRINK
));
42935 PyDict_SetItemString(d
,"GROW", SWIG_FromInt((int)wxGROW
));
42936 PyDict_SetItemString(d
,"EXPAND", SWIG_FromInt((int)wxEXPAND
));
42937 PyDict_SetItemString(d
,"SHAPED", SWIG_FromInt((int)wxSHAPED
));
42938 PyDict_SetItemString(d
,"FIXED_MINSIZE", SWIG_FromInt((int)wxFIXED_MINSIZE
));
42939 PyDict_SetItemString(d
,"TILE", SWIG_FromInt((int)wxTILE
));
42940 PyDict_SetItemString(d
,"ADJUST_MINSIZE", SWIG_FromInt((int)wxADJUST_MINSIZE
));
42941 PyDict_SetItemString(d
,"BORDER_DEFAULT", SWIG_FromInt((int)wxBORDER_DEFAULT
));
42942 PyDict_SetItemString(d
,"BORDER_NONE", SWIG_FromInt((int)wxBORDER_NONE
));
42943 PyDict_SetItemString(d
,"BORDER_STATIC", SWIG_FromInt((int)wxBORDER_STATIC
));
42944 PyDict_SetItemString(d
,"BORDER_SIMPLE", SWIG_FromInt((int)wxBORDER_SIMPLE
));
42945 PyDict_SetItemString(d
,"BORDER_RAISED", SWIG_FromInt((int)wxBORDER_RAISED
));
42946 PyDict_SetItemString(d
,"BORDER_SUNKEN", SWIG_FromInt((int)wxBORDER_SUNKEN
));
42947 PyDict_SetItemString(d
,"BORDER_DOUBLE", SWIG_FromInt((int)wxBORDER_DOUBLE
));
42948 PyDict_SetItemString(d
,"BORDER_MASK", SWIG_FromInt((int)wxBORDER_MASK
));
42949 PyDict_SetItemString(d
,"DEFAULT", SWIG_FromInt((int)wxDEFAULT
));
42950 PyDict_SetItemString(d
,"DECORATIVE", SWIG_FromInt((int)wxDECORATIVE
));
42951 PyDict_SetItemString(d
,"ROMAN", SWIG_FromInt((int)wxROMAN
));
42952 PyDict_SetItemString(d
,"SCRIPT", SWIG_FromInt((int)wxSCRIPT
));
42953 PyDict_SetItemString(d
,"SWISS", SWIG_FromInt((int)wxSWISS
));
42954 PyDict_SetItemString(d
,"MODERN", SWIG_FromInt((int)wxMODERN
));
42955 PyDict_SetItemString(d
,"TELETYPE", SWIG_FromInt((int)wxTELETYPE
));
42956 PyDict_SetItemString(d
,"VARIABLE", SWIG_FromInt((int)wxVARIABLE
));
42957 PyDict_SetItemString(d
,"FIXED", SWIG_FromInt((int)wxFIXED
));
42958 PyDict_SetItemString(d
,"NORMAL", SWIG_FromInt((int)wxNORMAL
));
42959 PyDict_SetItemString(d
,"LIGHT", SWIG_FromInt((int)wxLIGHT
));
42960 PyDict_SetItemString(d
,"BOLD", SWIG_FromInt((int)wxBOLD
));
42961 PyDict_SetItemString(d
,"ITALIC", SWIG_FromInt((int)wxITALIC
));
42962 PyDict_SetItemString(d
,"SLANT", SWIG_FromInt((int)wxSLANT
));
42963 PyDict_SetItemString(d
,"SOLID", SWIG_FromInt((int)wxSOLID
));
42964 PyDict_SetItemString(d
,"DOT", SWIG_FromInt((int)wxDOT
));
42965 PyDict_SetItemString(d
,"LONG_DASH", SWIG_FromInt((int)wxLONG_DASH
));
42966 PyDict_SetItemString(d
,"SHORT_DASH", SWIG_FromInt((int)wxSHORT_DASH
));
42967 PyDict_SetItemString(d
,"DOT_DASH", SWIG_FromInt((int)wxDOT_DASH
));
42968 PyDict_SetItemString(d
,"USER_DASH", SWIG_FromInt((int)wxUSER_DASH
));
42969 PyDict_SetItemString(d
,"TRANSPARENT", SWIG_FromInt((int)wxTRANSPARENT
));
42970 PyDict_SetItemString(d
,"STIPPLE", SWIG_FromInt((int)wxSTIPPLE
));
42971 PyDict_SetItemString(d
,"BDIAGONAL_HATCH", SWIG_FromInt((int)wxBDIAGONAL_HATCH
));
42972 PyDict_SetItemString(d
,"CROSSDIAG_HATCH", SWIG_FromInt((int)wxCROSSDIAG_HATCH
));
42973 PyDict_SetItemString(d
,"FDIAGONAL_HATCH", SWIG_FromInt((int)wxFDIAGONAL_HATCH
));
42974 PyDict_SetItemString(d
,"CROSS_HATCH", SWIG_FromInt((int)wxCROSS_HATCH
));
42975 PyDict_SetItemString(d
,"HORIZONTAL_HATCH", SWIG_FromInt((int)wxHORIZONTAL_HATCH
));
42976 PyDict_SetItemString(d
,"VERTICAL_HATCH", SWIG_FromInt((int)wxVERTICAL_HATCH
));
42977 PyDict_SetItemString(d
,"JOIN_BEVEL", SWIG_FromInt((int)wxJOIN_BEVEL
));
42978 PyDict_SetItemString(d
,"JOIN_MITER", SWIG_FromInt((int)wxJOIN_MITER
));
42979 PyDict_SetItemString(d
,"JOIN_ROUND", SWIG_FromInt((int)wxJOIN_ROUND
));
42980 PyDict_SetItemString(d
,"CAP_ROUND", SWIG_FromInt((int)wxCAP_ROUND
));
42981 PyDict_SetItemString(d
,"CAP_PROJECTING", SWIG_FromInt((int)wxCAP_PROJECTING
));
42982 PyDict_SetItemString(d
,"CAP_BUTT", SWIG_FromInt((int)wxCAP_BUTT
));
42983 PyDict_SetItemString(d
,"CLEAR", SWIG_FromInt((int)wxCLEAR
));
42984 PyDict_SetItemString(d
,"XOR", SWIG_FromInt((int)wxXOR
));
42985 PyDict_SetItemString(d
,"INVERT", SWIG_FromInt((int)wxINVERT
));
42986 PyDict_SetItemString(d
,"OR_REVERSE", SWIG_FromInt((int)wxOR_REVERSE
));
42987 PyDict_SetItemString(d
,"AND_REVERSE", SWIG_FromInt((int)wxAND_REVERSE
));
42988 PyDict_SetItemString(d
,"COPY", SWIG_FromInt((int)wxCOPY
));
42989 PyDict_SetItemString(d
,"AND", SWIG_FromInt((int)wxAND
));
42990 PyDict_SetItemString(d
,"AND_INVERT", SWIG_FromInt((int)wxAND_INVERT
));
42991 PyDict_SetItemString(d
,"NO_OP", SWIG_FromInt((int)wxNO_OP
));
42992 PyDict_SetItemString(d
,"NOR", SWIG_FromInt((int)wxNOR
));
42993 PyDict_SetItemString(d
,"EQUIV", SWIG_FromInt((int)wxEQUIV
));
42994 PyDict_SetItemString(d
,"SRC_INVERT", SWIG_FromInt((int)wxSRC_INVERT
));
42995 PyDict_SetItemString(d
,"OR_INVERT", SWIG_FromInt((int)wxOR_INVERT
));
42996 PyDict_SetItemString(d
,"NAND", SWIG_FromInt((int)wxNAND
));
42997 PyDict_SetItemString(d
,"OR", SWIG_FromInt((int)wxOR
));
42998 PyDict_SetItemString(d
,"SET", SWIG_FromInt((int)wxSET
));
42999 PyDict_SetItemString(d
,"WXK_BACK", SWIG_FromInt((int)WXK_BACK
));
43000 PyDict_SetItemString(d
,"WXK_TAB", SWIG_FromInt((int)WXK_TAB
));
43001 PyDict_SetItemString(d
,"WXK_RETURN", SWIG_FromInt((int)WXK_RETURN
));
43002 PyDict_SetItemString(d
,"WXK_ESCAPE", SWIG_FromInt((int)WXK_ESCAPE
));
43003 PyDict_SetItemString(d
,"WXK_SPACE", SWIG_FromInt((int)WXK_SPACE
));
43004 PyDict_SetItemString(d
,"WXK_DELETE", SWIG_FromInt((int)WXK_DELETE
));
43005 PyDict_SetItemString(d
,"WXK_START", SWIG_FromInt((int)WXK_START
));
43006 PyDict_SetItemString(d
,"WXK_LBUTTON", SWIG_FromInt((int)WXK_LBUTTON
));
43007 PyDict_SetItemString(d
,"WXK_RBUTTON", SWIG_FromInt((int)WXK_RBUTTON
));
43008 PyDict_SetItemString(d
,"WXK_CANCEL", SWIG_FromInt((int)WXK_CANCEL
));
43009 PyDict_SetItemString(d
,"WXK_MBUTTON", SWIG_FromInt((int)WXK_MBUTTON
));
43010 PyDict_SetItemString(d
,"WXK_CLEAR", SWIG_FromInt((int)WXK_CLEAR
));
43011 PyDict_SetItemString(d
,"WXK_SHIFT", SWIG_FromInt((int)WXK_SHIFT
));
43012 PyDict_SetItemString(d
,"WXK_ALT", SWIG_FromInt((int)WXK_ALT
));
43013 PyDict_SetItemString(d
,"WXK_CONTROL", SWIG_FromInt((int)WXK_CONTROL
));
43014 PyDict_SetItemString(d
,"WXK_MENU", SWIG_FromInt((int)WXK_MENU
));
43015 PyDict_SetItemString(d
,"WXK_PAUSE", SWIG_FromInt((int)WXK_PAUSE
));
43016 PyDict_SetItemString(d
,"WXK_CAPITAL", SWIG_FromInt((int)WXK_CAPITAL
));
43017 PyDict_SetItemString(d
,"WXK_PRIOR", SWIG_FromInt((int)WXK_PRIOR
));
43018 PyDict_SetItemString(d
,"WXK_NEXT", SWIG_FromInt((int)WXK_NEXT
));
43019 PyDict_SetItemString(d
,"WXK_END", SWIG_FromInt((int)WXK_END
));
43020 PyDict_SetItemString(d
,"WXK_HOME", SWIG_FromInt((int)WXK_HOME
));
43021 PyDict_SetItemString(d
,"WXK_LEFT", SWIG_FromInt((int)WXK_LEFT
));
43022 PyDict_SetItemString(d
,"WXK_UP", SWIG_FromInt((int)WXK_UP
));
43023 PyDict_SetItemString(d
,"WXK_RIGHT", SWIG_FromInt((int)WXK_RIGHT
));
43024 PyDict_SetItemString(d
,"WXK_DOWN", SWIG_FromInt((int)WXK_DOWN
));
43025 PyDict_SetItemString(d
,"WXK_SELECT", SWIG_FromInt((int)WXK_SELECT
));
43026 PyDict_SetItemString(d
,"WXK_PRINT", SWIG_FromInt((int)WXK_PRINT
));
43027 PyDict_SetItemString(d
,"WXK_EXECUTE", SWIG_FromInt((int)WXK_EXECUTE
));
43028 PyDict_SetItemString(d
,"WXK_SNAPSHOT", SWIG_FromInt((int)WXK_SNAPSHOT
));
43029 PyDict_SetItemString(d
,"WXK_INSERT", SWIG_FromInt((int)WXK_INSERT
));
43030 PyDict_SetItemString(d
,"WXK_HELP", SWIG_FromInt((int)WXK_HELP
));
43031 PyDict_SetItemString(d
,"WXK_NUMPAD0", SWIG_FromInt((int)WXK_NUMPAD0
));
43032 PyDict_SetItemString(d
,"WXK_NUMPAD1", SWIG_FromInt((int)WXK_NUMPAD1
));
43033 PyDict_SetItemString(d
,"WXK_NUMPAD2", SWIG_FromInt((int)WXK_NUMPAD2
));
43034 PyDict_SetItemString(d
,"WXK_NUMPAD3", SWIG_FromInt((int)WXK_NUMPAD3
));
43035 PyDict_SetItemString(d
,"WXK_NUMPAD4", SWIG_FromInt((int)WXK_NUMPAD4
));
43036 PyDict_SetItemString(d
,"WXK_NUMPAD5", SWIG_FromInt((int)WXK_NUMPAD5
));
43037 PyDict_SetItemString(d
,"WXK_NUMPAD6", SWIG_FromInt((int)WXK_NUMPAD6
));
43038 PyDict_SetItemString(d
,"WXK_NUMPAD7", SWIG_FromInt((int)WXK_NUMPAD7
));
43039 PyDict_SetItemString(d
,"WXK_NUMPAD8", SWIG_FromInt((int)WXK_NUMPAD8
));
43040 PyDict_SetItemString(d
,"WXK_NUMPAD9", SWIG_FromInt((int)WXK_NUMPAD9
));
43041 PyDict_SetItemString(d
,"WXK_MULTIPLY", SWIG_FromInt((int)WXK_MULTIPLY
));
43042 PyDict_SetItemString(d
,"WXK_ADD", SWIG_FromInt((int)WXK_ADD
));
43043 PyDict_SetItemString(d
,"WXK_SEPARATOR", SWIG_FromInt((int)WXK_SEPARATOR
));
43044 PyDict_SetItemString(d
,"WXK_SUBTRACT", SWIG_FromInt((int)WXK_SUBTRACT
));
43045 PyDict_SetItemString(d
,"WXK_DECIMAL", SWIG_FromInt((int)WXK_DECIMAL
));
43046 PyDict_SetItemString(d
,"WXK_DIVIDE", SWIG_FromInt((int)WXK_DIVIDE
));
43047 PyDict_SetItemString(d
,"WXK_F1", SWIG_FromInt((int)WXK_F1
));
43048 PyDict_SetItemString(d
,"WXK_F2", SWIG_FromInt((int)WXK_F2
));
43049 PyDict_SetItemString(d
,"WXK_F3", SWIG_FromInt((int)WXK_F3
));
43050 PyDict_SetItemString(d
,"WXK_F4", SWIG_FromInt((int)WXK_F4
));
43051 PyDict_SetItemString(d
,"WXK_F5", SWIG_FromInt((int)WXK_F5
));
43052 PyDict_SetItemString(d
,"WXK_F6", SWIG_FromInt((int)WXK_F6
));
43053 PyDict_SetItemString(d
,"WXK_F7", SWIG_FromInt((int)WXK_F7
));
43054 PyDict_SetItemString(d
,"WXK_F8", SWIG_FromInt((int)WXK_F8
));
43055 PyDict_SetItemString(d
,"WXK_F9", SWIG_FromInt((int)WXK_F9
));
43056 PyDict_SetItemString(d
,"WXK_F10", SWIG_FromInt((int)WXK_F10
));
43057 PyDict_SetItemString(d
,"WXK_F11", SWIG_FromInt((int)WXK_F11
));
43058 PyDict_SetItemString(d
,"WXK_F12", SWIG_FromInt((int)WXK_F12
));
43059 PyDict_SetItemString(d
,"WXK_F13", SWIG_FromInt((int)WXK_F13
));
43060 PyDict_SetItemString(d
,"WXK_F14", SWIG_FromInt((int)WXK_F14
));
43061 PyDict_SetItemString(d
,"WXK_F15", SWIG_FromInt((int)WXK_F15
));
43062 PyDict_SetItemString(d
,"WXK_F16", SWIG_FromInt((int)WXK_F16
));
43063 PyDict_SetItemString(d
,"WXK_F17", SWIG_FromInt((int)WXK_F17
));
43064 PyDict_SetItemString(d
,"WXK_F18", SWIG_FromInt((int)WXK_F18
));
43065 PyDict_SetItemString(d
,"WXK_F19", SWIG_FromInt((int)WXK_F19
));
43066 PyDict_SetItemString(d
,"WXK_F20", SWIG_FromInt((int)WXK_F20
));
43067 PyDict_SetItemString(d
,"WXK_F21", SWIG_FromInt((int)WXK_F21
));
43068 PyDict_SetItemString(d
,"WXK_F22", SWIG_FromInt((int)WXK_F22
));
43069 PyDict_SetItemString(d
,"WXK_F23", SWIG_FromInt((int)WXK_F23
));
43070 PyDict_SetItemString(d
,"WXK_F24", SWIG_FromInt((int)WXK_F24
));
43071 PyDict_SetItemString(d
,"WXK_NUMLOCK", SWIG_FromInt((int)WXK_NUMLOCK
));
43072 PyDict_SetItemString(d
,"WXK_SCROLL", SWIG_FromInt((int)WXK_SCROLL
));
43073 PyDict_SetItemString(d
,"WXK_PAGEUP", SWIG_FromInt((int)WXK_PAGEUP
));
43074 PyDict_SetItemString(d
,"WXK_PAGEDOWN", SWIG_FromInt((int)WXK_PAGEDOWN
));
43075 PyDict_SetItemString(d
,"WXK_NUMPAD_SPACE", SWIG_FromInt((int)WXK_NUMPAD_SPACE
));
43076 PyDict_SetItemString(d
,"WXK_NUMPAD_TAB", SWIG_FromInt((int)WXK_NUMPAD_TAB
));
43077 PyDict_SetItemString(d
,"WXK_NUMPAD_ENTER", SWIG_FromInt((int)WXK_NUMPAD_ENTER
));
43078 PyDict_SetItemString(d
,"WXK_NUMPAD_F1", SWIG_FromInt((int)WXK_NUMPAD_F1
));
43079 PyDict_SetItemString(d
,"WXK_NUMPAD_F2", SWIG_FromInt((int)WXK_NUMPAD_F2
));
43080 PyDict_SetItemString(d
,"WXK_NUMPAD_F3", SWIG_FromInt((int)WXK_NUMPAD_F3
));
43081 PyDict_SetItemString(d
,"WXK_NUMPAD_F4", SWIG_FromInt((int)WXK_NUMPAD_F4
));
43082 PyDict_SetItemString(d
,"WXK_NUMPAD_HOME", SWIG_FromInt((int)WXK_NUMPAD_HOME
));
43083 PyDict_SetItemString(d
,"WXK_NUMPAD_LEFT", SWIG_FromInt((int)WXK_NUMPAD_LEFT
));
43084 PyDict_SetItemString(d
,"WXK_NUMPAD_UP", SWIG_FromInt((int)WXK_NUMPAD_UP
));
43085 PyDict_SetItemString(d
,"WXK_NUMPAD_RIGHT", SWIG_FromInt((int)WXK_NUMPAD_RIGHT
));
43086 PyDict_SetItemString(d
,"WXK_NUMPAD_DOWN", SWIG_FromInt((int)WXK_NUMPAD_DOWN
));
43087 PyDict_SetItemString(d
,"WXK_NUMPAD_PRIOR", SWIG_FromInt((int)WXK_NUMPAD_PRIOR
));
43088 PyDict_SetItemString(d
,"WXK_NUMPAD_PAGEUP", SWIG_FromInt((int)WXK_NUMPAD_PAGEUP
));
43089 PyDict_SetItemString(d
,"WXK_NUMPAD_NEXT", SWIG_FromInt((int)WXK_NUMPAD_NEXT
));
43090 PyDict_SetItemString(d
,"WXK_NUMPAD_PAGEDOWN", SWIG_FromInt((int)WXK_NUMPAD_PAGEDOWN
));
43091 PyDict_SetItemString(d
,"WXK_NUMPAD_END", SWIG_FromInt((int)WXK_NUMPAD_END
));
43092 PyDict_SetItemString(d
,"WXK_NUMPAD_BEGIN", SWIG_FromInt((int)WXK_NUMPAD_BEGIN
));
43093 PyDict_SetItemString(d
,"WXK_NUMPAD_INSERT", SWIG_FromInt((int)WXK_NUMPAD_INSERT
));
43094 PyDict_SetItemString(d
,"WXK_NUMPAD_DELETE", SWIG_FromInt((int)WXK_NUMPAD_DELETE
));
43095 PyDict_SetItemString(d
,"WXK_NUMPAD_EQUAL", SWIG_FromInt((int)WXK_NUMPAD_EQUAL
));
43096 PyDict_SetItemString(d
,"WXK_NUMPAD_MULTIPLY", SWIG_FromInt((int)WXK_NUMPAD_MULTIPLY
));
43097 PyDict_SetItemString(d
,"WXK_NUMPAD_ADD", SWIG_FromInt((int)WXK_NUMPAD_ADD
));
43098 PyDict_SetItemString(d
,"WXK_NUMPAD_SEPARATOR", SWIG_FromInt((int)WXK_NUMPAD_SEPARATOR
));
43099 PyDict_SetItemString(d
,"WXK_NUMPAD_SUBTRACT", SWIG_FromInt((int)WXK_NUMPAD_SUBTRACT
));
43100 PyDict_SetItemString(d
,"WXK_NUMPAD_DECIMAL", SWIG_FromInt((int)WXK_NUMPAD_DECIMAL
));
43101 PyDict_SetItemString(d
,"WXK_NUMPAD_DIVIDE", SWIG_FromInt((int)WXK_NUMPAD_DIVIDE
));
43102 PyDict_SetItemString(d
,"WXK_WINDOWS_LEFT", SWIG_FromInt((int)WXK_WINDOWS_LEFT
));
43103 PyDict_SetItemString(d
,"WXK_WINDOWS_RIGHT", SWIG_FromInt((int)WXK_WINDOWS_RIGHT
));
43104 PyDict_SetItemString(d
,"WXK_WINDOWS_MENU", SWIG_FromInt((int)WXK_WINDOWS_MENU
));
43105 PyDict_SetItemString(d
,"PAPER_NONE", SWIG_FromInt((int)wxPAPER_NONE
));
43106 PyDict_SetItemString(d
,"PAPER_LETTER", SWIG_FromInt((int)wxPAPER_LETTER
));
43107 PyDict_SetItemString(d
,"PAPER_LEGAL", SWIG_FromInt((int)wxPAPER_LEGAL
));
43108 PyDict_SetItemString(d
,"PAPER_A4", SWIG_FromInt((int)wxPAPER_A4
));
43109 PyDict_SetItemString(d
,"PAPER_CSHEET", SWIG_FromInt((int)wxPAPER_CSHEET
));
43110 PyDict_SetItemString(d
,"PAPER_DSHEET", SWIG_FromInt((int)wxPAPER_DSHEET
));
43111 PyDict_SetItemString(d
,"PAPER_ESHEET", SWIG_FromInt((int)wxPAPER_ESHEET
));
43112 PyDict_SetItemString(d
,"PAPER_LETTERSMALL", SWIG_FromInt((int)wxPAPER_LETTERSMALL
));
43113 PyDict_SetItemString(d
,"PAPER_TABLOID", SWIG_FromInt((int)wxPAPER_TABLOID
));
43114 PyDict_SetItemString(d
,"PAPER_LEDGER", SWIG_FromInt((int)wxPAPER_LEDGER
));
43115 PyDict_SetItemString(d
,"PAPER_STATEMENT", SWIG_FromInt((int)wxPAPER_STATEMENT
));
43116 PyDict_SetItemString(d
,"PAPER_EXECUTIVE", SWIG_FromInt((int)wxPAPER_EXECUTIVE
));
43117 PyDict_SetItemString(d
,"PAPER_A3", SWIG_FromInt((int)wxPAPER_A3
));
43118 PyDict_SetItemString(d
,"PAPER_A4SMALL", SWIG_FromInt((int)wxPAPER_A4SMALL
));
43119 PyDict_SetItemString(d
,"PAPER_A5", SWIG_FromInt((int)wxPAPER_A5
));
43120 PyDict_SetItemString(d
,"PAPER_B4", SWIG_FromInt((int)wxPAPER_B4
));
43121 PyDict_SetItemString(d
,"PAPER_B5", SWIG_FromInt((int)wxPAPER_B5
));
43122 PyDict_SetItemString(d
,"PAPER_FOLIO", SWIG_FromInt((int)wxPAPER_FOLIO
));
43123 PyDict_SetItemString(d
,"PAPER_QUARTO", SWIG_FromInt((int)wxPAPER_QUARTO
));
43124 PyDict_SetItemString(d
,"PAPER_10X14", SWIG_FromInt((int)wxPAPER_10X14
));
43125 PyDict_SetItemString(d
,"PAPER_11X17", SWIG_FromInt((int)wxPAPER_11X17
));
43126 PyDict_SetItemString(d
,"PAPER_NOTE", SWIG_FromInt((int)wxPAPER_NOTE
));
43127 PyDict_SetItemString(d
,"PAPER_ENV_9", SWIG_FromInt((int)wxPAPER_ENV_9
));
43128 PyDict_SetItemString(d
,"PAPER_ENV_10", SWIG_FromInt((int)wxPAPER_ENV_10
));
43129 PyDict_SetItemString(d
,"PAPER_ENV_11", SWIG_FromInt((int)wxPAPER_ENV_11
));
43130 PyDict_SetItemString(d
,"PAPER_ENV_12", SWIG_FromInt((int)wxPAPER_ENV_12
));
43131 PyDict_SetItemString(d
,"PAPER_ENV_14", SWIG_FromInt((int)wxPAPER_ENV_14
));
43132 PyDict_SetItemString(d
,"PAPER_ENV_DL", SWIG_FromInt((int)wxPAPER_ENV_DL
));
43133 PyDict_SetItemString(d
,"PAPER_ENV_C5", SWIG_FromInt((int)wxPAPER_ENV_C5
));
43134 PyDict_SetItemString(d
,"PAPER_ENV_C3", SWIG_FromInt((int)wxPAPER_ENV_C3
));
43135 PyDict_SetItemString(d
,"PAPER_ENV_C4", SWIG_FromInt((int)wxPAPER_ENV_C4
));
43136 PyDict_SetItemString(d
,"PAPER_ENV_C6", SWIG_FromInt((int)wxPAPER_ENV_C6
));
43137 PyDict_SetItemString(d
,"PAPER_ENV_C65", SWIG_FromInt((int)wxPAPER_ENV_C65
));
43138 PyDict_SetItemString(d
,"PAPER_ENV_B4", SWIG_FromInt((int)wxPAPER_ENV_B4
));
43139 PyDict_SetItemString(d
,"PAPER_ENV_B5", SWIG_FromInt((int)wxPAPER_ENV_B5
));
43140 PyDict_SetItemString(d
,"PAPER_ENV_B6", SWIG_FromInt((int)wxPAPER_ENV_B6
));
43141 PyDict_SetItemString(d
,"PAPER_ENV_ITALY", SWIG_FromInt((int)wxPAPER_ENV_ITALY
));
43142 PyDict_SetItemString(d
,"PAPER_ENV_MONARCH", SWIG_FromInt((int)wxPAPER_ENV_MONARCH
));
43143 PyDict_SetItemString(d
,"PAPER_ENV_PERSONAL", SWIG_FromInt((int)wxPAPER_ENV_PERSONAL
));
43144 PyDict_SetItemString(d
,"PAPER_FANFOLD_US", SWIG_FromInt((int)wxPAPER_FANFOLD_US
));
43145 PyDict_SetItemString(d
,"PAPER_FANFOLD_STD_GERMAN", SWIG_FromInt((int)wxPAPER_FANFOLD_STD_GERMAN
));
43146 PyDict_SetItemString(d
,"PAPER_FANFOLD_LGL_GERMAN", SWIG_FromInt((int)wxPAPER_FANFOLD_LGL_GERMAN
));
43147 PyDict_SetItemString(d
,"PAPER_ISO_B4", SWIG_FromInt((int)wxPAPER_ISO_B4
));
43148 PyDict_SetItemString(d
,"PAPER_JAPANESE_POSTCARD", SWIG_FromInt((int)wxPAPER_JAPANESE_POSTCARD
));
43149 PyDict_SetItemString(d
,"PAPER_9X11", SWIG_FromInt((int)wxPAPER_9X11
));
43150 PyDict_SetItemString(d
,"PAPER_10X11", SWIG_FromInt((int)wxPAPER_10X11
));
43151 PyDict_SetItemString(d
,"PAPER_15X11", SWIG_FromInt((int)wxPAPER_15X11
));
43152 PyDict_SetItemString(d
,"PAPER_ENV_INVITE", SWIG_FromInt((int)wxPAPER_ENV_INVITE
));
43153 PyDict_SetItemString(d
,"PAPER_LETTER_EXTRA", SWIG_FromInt((int)wxPAPER_LETTER_EXTRA
));
43154 PyDict_SetItemString(d
,"PAPER_LEGAL_EXTRA", SWIG_FromInt((int)wxPAPER_LEGAL_EXTRA
));
43155 PyDict_SetItemString(d
,"PAPER_TABLOID_EXTRA", SWIG_FromInt((int)wxPAPER_TABLOID_EXTRA
));
43156 PyDict_SetItemString(d
,"PAPER_A4_EXTRA", SWIG_FromInt((int)wxPAPER_A4_EXTRA
));
43157 PyDict_SetItemString(d
,"PAPER_LETTER_TRANSVERSE", SWIG_FromInt((int)wxPAPER_LETTER_TRANSVERSE
));
43158 PyDict_SetItemString(d
,"PAPER_A4_TRANSVERSE", SWIG_FromInt((int)wxPAPER_A4_TRANSVERSE
));
43159 PyDict_SetItemString(d
,"PAPER_LETTER_EXTRA_TRANSVERSE", SWIG_FromInt((int)wxPAPER_LETTER_EXTRA_TRANSVERSE
));
43160 PyDict_SetItemString(d
,"PAPER_A_PLUS", SWIG_FromInt((int)wxPAPER_A_PLUS
));
43161 PyDict_SetItemString(d
,"PAPER_B_PLUS", SWIG_FromInt((int)wxPAPER_B_PLUS
));
43162 PyDict_SetItemString(d
,"PAPER_LETTER_PLUS", SWIG_FromInt((int)wxPAPER_LETTER_PLUS
));
43163 PyDict_SetItemString(d
,"PAPER_A4_PLUS", SWIG_FromInt((int)wxPAPER_A4_PLUS
));
43164 PyDict_SetItemString(d
,"PAPER_A5_TRANSVERSE", SWIG_FromInt((int)wxPAPER_A5_TRANSVERSE
));
43165 PyDict_SetItemString(d
,"PAPER_B5_TRANSVERSE", SWIG_FromInt((int)wxPAPER_B5_TRANSVERSE
));
43166 PyDict_SetItemString(d
,"PAPER_A3_EXTRA", SWIG_FromInt((int)wxPAPER_A3_EXTRA
));
43167 PyDict_SetItemString(d
,"PAPER_A5_EXTRA", SWIG_FromInt((int)wxPAPER_A5_EXTRA
));
43168 PyDict_SetItemString(d
,"PAPER_B5_EXTRA", SWIG_FromInt((int)wxPAPER_B5_EXTRA
));
43169 PyDict_SetItemString(d
,"PAPER_A2", SWIG_FromInt((int)wxPAPER_A2
));
43170 PyDict_SetItemString(d
,"PAPER_A3_TRANSVERSE", SWIG_FromInt((int)wxPAPER_A3_TRANSVERSE
));
43171 PyDict_SetItemString(d
,"PAPER_A3_EXTRA_TRANSVERSE", SWIG_FromInt((int)wxPAPER_A3_EXTRA_TRANSVERSE
));
43172 PyDict_SetItemString(d
,"DUPLEX_SIMPLEX", SWIG_FromInt((int)wxDUPLEX_SIMPLEX
));
43173 PyDict_SetItemString(d
,"DUPLEX_HORIZONTAL", SWIG_FromInt((int)wxDUPLEX_HORIZONTAL
));
43174 PyDict_SetItemString(d
,"DUPLEX_VERTICAL", SWIG_FromInt((int)wxDUPLEX_VERTICAL
));
43175 PyDict_SetItemString(d
,"ITEM_SEPARATOR", SWIG_FromInt((int)wxITEM_SEPARATOR
));
43176 PyDict_SetItemString(d
,"ITEM_NORMAL", SWIG_FromInt((int)wxITEM_NORMAL
));
43177 PyDict_SetItemString(d
,"ITEM_CHECK", SWIG_FromInt((int)wxITEM_CHECK
));
43178 PyDict_SetItemString(d
,"ITEM_RADIO", SWIG_FromInt((int)wxITEM_RADIO
));
43179 PyDict_SetItemString(d
,"ITEM_MAX", SWIG_FromInt((int)wxITEM_MAX
));
43180 PyDict_SetItemString(d
,"HT_NOWHERE", SWIG_FromInt((int)wxHT_NOWHERE
));
43181 PyDict_SetItemString(d
,"HT_SCROLLBAR_FIRST", SWIG_FromInt((int)wxHT_SCROLLBAR_FIRST
));
43182 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_LINE_1", SWIG_FromInt((int)wxHT_SCROLLBAR_ARROW_LINE_1
));
43183 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_LINE_2", SWIG_FromInt((int)wxHT_SCROLLBAR_ARROW_LINE_2
));
43184 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_PAGE_1", SWIG_FromInt((int)wxHT_SCROLLBAR_ARROW_PAGE_1
));
43185 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_PAGE_2", SWIG_FromInt((int)wxHT_SCROLLBAR_ARROW_PAGE_2
));
43186 PyDict_SetItemString(d
,"HT_SCROLLBAR_THUMB", SWIG_FromInt((int)wxHT_SCROLLBAR_THUMB
));
43187 PyDict_SetItemString(d
,"HT_SCROLLBAR_BAR_1", SWIG_FromInt((int)wxHT_SCROLLBAR_BAR_1
));
43188 PyDict_SetItemString(d
,"HT_SCROLLBAR_BAR_2", SWIG_FromInt((int)wxHT_SCROLLBAR_BAR_2
));
43189 PyDict_SetItemString(d
,"HT_SCROLLBAR_LAST", SWIG_FromInt((int)wxHT_SCROLLBAR_LAST
));
43190 PyDict_SetItemString(d
,"HT_WINDOW_OUTSIDE", SWIG_FromInt((int)wxHT_WINDOW_OUTSIDE
));
43191 PyDict_SetItemString(d
,"HT_WINDOW_INSIDE", SWIG_FromInt((int)wxHT_WINDOW_INSIDE
));
43192 PyDict_SetItemString(d
,"HT_WINDOW_VERT_SCROLLBAR", SWIG_FromInt((int)wxHT_WINDOW_VERT_SCROLLBAR
));
43193 PyDict_SetItemString(d
,"HT_WINDOW_HORZ_SCROLLBAR", SWIG_FromInt((int)wxHT_WINDOW_HORZ_SCROLLBAR
));
43194 PyDict_SetItemString(d
,"HT_WINDOW_CORNER", SWIG_FromInt((int)wxHT_WINDOW_CORNER
));
43195 PyDict_SetItemString(d
,"HT_MAX", SWIG_FromInt((int)wxHT_MAX
));
43196 PyDict_SetItemString(d
,"MOD_NONE", SWIG_FromInt((int)wxMOD_NONE
));
43197 PyDict_SetItemString(d
,"MOD_ALT", SWIG_FromInt((int)wxMOD_ALT
));
43198 PyDict_SetItemString(d
,"MOD_CONTROL", SWIG_FromInt((int)wxMOD_CONTROL
));
43199 PyDict_SetItemString(d
,"MOD_SHIFT", SWIG_FromInt((int)wxMOD_SHIFT
));
43200 PyDict_SetItemString(d
,"MOD_WIN", SWIG_FromInt((int)wxMOD_WIN
));
43201 PyDict_SetItemString(d
,"UPDATE_UI_NONE", SWIG_FromInt((int)wxUPDATE_UI_NONE
));
43202 PyDict_SetItemString(d
,"UPDATE_UI_RECURSE", SWIG_FromInt((int)wxUPDATE_UI_RECURSE
));
43203 PyDict_SetItemString(d
,"UPDATE_UI_FROMIDLE", SWIG_FromInt((int)wxUPDATE_UI_FROMIDLE
));
43204 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
43205 SWIG_addvarlink(SWIG_globals
,(char*)"EmptyString",_wrap_EmptyString_get
, _wrap_EmptyString_set
);
43206 PyDict_SetItemString(d
,"BITMAP_TYPE_INVALID", SWIG_FromInt((int)wxBITMAP_TYPE_INVALID
));
43207 PyDict_SetItemString(d
,"BITMAP_TYPE_BMP", SWIG_FromInt((int)wxBITMAP_TYPE_BMP
));
43208 PyDict_SetItemString(d
,"BITMAP_TYPE_ICO", SWIG_FromInt((int)wxBITMAP_TYPE_ICO
));
43209 PyDict_SetItemString(d
,"BITMAP_TYPE_CUR", SWIG_FromInt((int)wxBITMAP_TYPE_CUR
));
43210 PyDict_SetItemString(d
,"BITMAP_TYPE_XBM", SWIG_FromInt((int)wxBITMAP_TYPE_XBM
));
43211 PyDict_SetItemString(d
,"BITMAP_TYPE_XBM_DATA", SWIG_FromInt((int)wxBITMAP_TYPE_XBM_DATA
));
43212 PyDict_SetItemString(d
,"BITMAP_TYPE_XPM", SWIG_FromInt((int)wxBITMAP_TYPE_XPM
));
43213 PyDict_SetItemString(d
,"BITMAP_TYPE_XPM_DATA", SWIG_FromInt((int)wxBITMAP_TYPE_XPM_DATA
));
43214 PyDict_SetItemString(d
,"BITMAP_TYPE_TIF", SWIG_FromInt((int)wxBITMAP_TYPE_TIF
));
43215 PyDict_SetItemString(d
,"BITMAP_TYPE_GIF", SWIG_FromInt((int)wxBITMAP_TYPE_GIF
));
43216 PyDict_SetItemString(d
,"BITMAP_TYPE_PNG", SWIG_FromInt((int)wxBITMAP_TYPE_PNG
));
43217 PyDict_SetItemString(d
,"BITMAP_TYPE_JPEG", SWIG_FromInt((int)wxBITMAP_TYPE_JPEG
));
43218 PyDict_SetItemString(d
,"BITMAP_TYPE_PNM", SWIG_FromInt((int)wxBITMAP_TYPE_PNM
));
43219 PyDict_SetItemString(d
,"BITMAP_TYPE_PCX", SWIG_FromInt((int)wxBITMAP_TYPE_PCX
));
43220 PyDict_SetItemString(d
,"BITMAP_TYPE_PICT", SWIG_FromInt((int)wxBITMAP_TYPE_PICT
));
43221 PyDict_SetItemString(d
,"BITMAP_TYPE_ICON", SWIG_FromInt((int)wxBITMAP_TYPE_ICON
));
43222 PyDict_SetItemString(d
,"BITMAP_TYPE_ANI", SWIG_FromInt((int)wxBITMAP_TYPE_ANI
));
43223 PyDict_SetItemString(d
,"BITMAP_TYPE_IFF", SWIG_FromInt((int)wxBITMAP_TYPE_IFF
));
43224 PyDict_SetItemString(d
,"BITMAP_TYPE_MACCURSOR", SWIG_FromInt((int)wxBITMAP_TYPE_MACCURSOR
));
43225 PyDict_SetItemString(d
,"BITMAP_TYPE_ANY", SWIG_FromInt((int)wxBITMAP_TYPE_ANY
));
43226 PyDict_SetItemString(d
,"CURSOR_NONE", SWIG_FromInt((int)wxCURSOR_NONE
));
43227 PyDict_SetItemString(d
,"CURSOR_ARROW", SWIG_FromInt((int)wxCURSOR_ARROW
));
43228 PyDict_SetItemString(d
,"CURSOR_RIGHT_ARROW", SWIG_FromInt((int)wxCURSOR_RIGHT_ARROW
));
43229 PyDict_SetItemString(d
,"CURSOR_BULLSEYE", SWIG_FromInt((int)wxCURSOR_BULLSEYE
));
43230 PyDict_SetItemString(d
,"CURSOR_CHAR", SWIG_FromInt((int)wxCURSOR_CHAR
));
43231 PyDict_SetItemString(d
,"CURSOR_CROSS", SWIG_FromInt((int)wxCURSOR_CROSS
));
43232 PyDict_SetItemString(d
,"CURSOR_HAND", SWIG_FromInt((int)wxCURSOR_HAND
));
43233 PyDict_SetItemString(d
,"CURSOR_IBEAM", SWIG_FromInt((int)wxCURSOR_IBEAM
));
43234 PyDict_SetItemString(d
,"CURSOR_LEFT_BUTTON", SWIG_FromInt((int)wxCURSOR_LEFT_BUTTON
));
43235 PyDict_SetItemString(d
,"CURSOR_MAGNIFIER", SWIG_FromInt((int)wxCURSOR_MAGNIFIER
));
43236 PyDict_SetItemString(d
,"CURSOR_MIDDLE_BUTTON", SWIG_FromInt((int)wxCURSOR_MIDDLE_BUTTON
));
43237 PyDict_SetItemString(d
,"CURSOR_NO_ENTRY", SWIG_FromInt((int)wxCURSOR_NO_ENTRY
));
43238 PyDict_SetItemString(d
,"CURSOR_PAINT_BRUSH", SWIG_FromInt((int)wxCURSOR_PAINT_BRUSH
));
43239 PyDict_SetItemString(d
,"CURSOR_PENCIL", SWIG_FromInt((int)wxCURSOR_PENCIL
));
43240 PyDict_SetItemString(d
,"CURSOR_POINT_LEFT", SWIG_FromInt((int)wxCURSOR_POINT_LEFT
));
43241 PyDict_SetItemString(d
,"CURSOR_POINT_RIGHT", SWIG_FromInt((int)wxCURSOR_POINT_RIGHT
));
43242 PyDict_SetItemString(d
,"CURSOR_QUESTION_ARROW", SWIG_FromInt((int)wxCURSOR_QUESTION_ARROW
));
43243 PyDict_SetItemString(d
,"CURSOR_RIGHT_BUTTON", SWIG_FromInt((int)wxCURSOR_RIGHT_BUTTON
));
43244 PyDict_SetItemString(d
,"CURSOR_SIZENESW", SWIG_FromInt((int)wxCURSOR_SIZENESW
));
43245 PyDict_SetItemString(d
,"CURSOR_SIZENS", SWIG_FromInt((int)wxCURSOR_SIZENS
));
43246 PyDict_SetItemString(d
,"CURSOR_SIZENWSE", SWIG_FromInt((int)wxCURSOR_SIZENWSE
));
43247 PyDict_SetItemString(d
,"CURSOR_SIZEWE", SWIG_FromInt((int)wxCURSOR_SIZEWE
));
43248 PyDict_SetItemString(d
,"CURSOR_SIZING", SWIG_FromInt((int)wxCURSOR_SIZING
));
43249 PyDict_SetItemString(d
,"CURSOR_SPRAYCAN", SWIG_FromInt((int)wxCURSOR_SPRAYCAN
));
43250 PyDict_SetItemString(d
,"CURSOR_WAIT", SWIG_FromInt((int)wxCURSOR_WAIT
));
43251 PyDict_SetItemString(d
,"CURSOR_WATCH", SWIG_FromInt((int)wxCURSOR_WATCH
));
43252 PyDict_SetItemString(d
,"CURSOR_BLANK", SWIG_FromInt((int)wxCURSOR_BLANK
));
43253 PyDict_SetItemString(d
,"CURSOR_DEFAULT", SWIG_FromInt((int)wxCURSOR_DEFAULT
));
43254 PyDict_SetItemString(d
,"CURSOR_COPY_ARROW", SWIG_FromInt((int)wxCURSOR_COPY_ARROW
));
43255 PyDict_SetItemString(d
,"CURSOR_ARROWWAIT", SWIG_FromInt((int)wxCURSOR_ARROWWAIT
));
43256 PyDict_SetItemString(d
,"CURSOR_MAX", SWIG_FromInt((int)wxCURSOR_MAX
));
43257 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultPosition",_wrap_DefaultPosition_get
, _wrap_DefaultPosition_set
);
43258 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultSize",_wrap_DefaultSize_get
, _wrap_DefaultSize_set
);
43259 PyDict_SetItemString(d
,"FromStart", SWIG_FromInt((int)wxFromStart
));
43260 PyDict_SetItemString(d
,"FromCurrent", SWIG_FromInt((int)wxFromCurrent
));
43261 PyDict_SetItemString(d
,"FromEnd", SWIG_FromInt((int)wxFromEnd
));
43263 wxPyPtrTypeMap_Add("wxInputStream", "wxPyInputStream");
43266 wxPyPtrTypeMap_Add("wxFileSystemHandler", "wxPyFileSystemHandler");
43268 SWIG_addvarlink(SWIG_globals
,(char*)"NullImage",_wrap_NullImage_get
, _wrap_NullImage_set
);
43269 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_BMP_FORMAT",_wrap_IMAGE_OPTION_BMP_FORMAT_get
, _wrap_IMAGE_OPTION_BMP_FORMAT_set
);
43270 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_CUR_HOTSPOT_X",_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get
, _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set
);
43271 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_CUR_HOTSPOT_Y",_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get
, _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set
);
43272 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTION",_wrap_IMAGE_OPTION_RESOLUTION_get
, _wrap_IMAGE_OPTION_RESOLUTION_set
);
43273 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTIONUNIT",_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get
, _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set
);
43274 PyDict_SetItemString(d
,"IMAGE_RESOLUTION_INCHES", SWIG_FromInt((int)wxIMAGE_RESOLUTION_INCHES
));
43275 PyDict_SetItemString(d
,"IMAGE_RESOLUTION_CM", SWIG_FromInt((int)wxIMAGE_RESOLUTION_CM
));
43276 PyDict_SetItemString(d
,"BMP_24BPP", SWIG_FromInt((int)wxBMP_24BPP
));
43277 PyDict_SetItemString(d
,"BMP_8BPP", SWIG_FromInt((int)wxBMP_8BPP
));
43278 PyDict_SetItemString(d
,"BMP_8BPP_GREY", SWIG_FromInt((int)wxBMP_8BPP_GREY
));
43279 PyDict_SetItemString(d
,"BMP_8BPP_GRAY", SWIG_FromInt((int)wxBMP_8BPP_GRAY
));
43280 PyDict_SetItemString(d
,"BMP_8BPP_RED", SWIG_FromInt((int)wxBMP_8BPP_RED
));
43281 PyDict_SetItemString(d
,"BMP_8BPP_PALETTE", SWIG_FromInt((int)wxBMP_8BPP_PALETTE
));
43282 PyDict_SetItemString(d
,"BMP_4BPP", SWIG_FromInt((int)wxBMP_4BPP
));
43283 PyDict_SetItemString(d
,"BMP_1BPP", SWIG_FromInt((int)wxBMP_1BPP
));
43284 PyDict_SetItemString(d
,"BMP_1BPP_BW", SWIG_FromInt((int)wxBMP_1BPP_BW
));
43285 PyDict_SetItemString(d
,"EVENT_PROPAGATE_NONE", SWIG_FromInt((int)wxEVENT_PROPAGATE_NONE
));
43286 PyDict_SetItemString(d
,"EVENT_PROPAGATE_MAX", SWIG_FromInt((int)wxEVENT_PROPAGATE_MAX
));
43287 PyDict_SetItemString(d
, "wxEVT_NULL", PyInt_FromLong(wxEVT_NULL
));
43288 PyDict_SetItemString(d
, "wxEVT_FIRST", PyInt_FromLong(wxEVT_FIRST
));
43289 PyDict_SetItemString(d
, "wxEVT_USER_FIRST", PyInt_FromLong(wxEVT_USER_FIRST
));
43290 PyDict_SetItemString(d
, "wxEVT_COMMAND_BUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_BUTTON_CLICKED
));
43291 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKBOX_CLICKED", PyInt_FromLong(wxEVT_COMMAND_CHECKBOX_CLICKED
));
43292 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICE_SELECTED", PyInt_FromLong(wxEVT_COMMAND_CHOICE_SELECTED
));
43293 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_SELECTED
));
43294 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_DOUBLECLICKED
));
43295 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKLISTBOX_TOGGLED", PyInt_FromLong(wxEVT_COMMAND_CHECKLISTBOX_TOGGLED
));
43296 PyDict_SetItemString(d
, "wxEVT_COMMAND_MENU_SELECTED", PyInt_FromLong(wxEVT_COMMAND_MENU_SELECTED
));
43297 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_CLICKED
));
43298 PyDict_SetItemString(d
, "wxEVT_COMMAND_SLIDER_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SLIDER_UPDATED
));
43299 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBOX_SELECTED
));
43300 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBUTTON_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBUTTON_SELECTED
));
43301 PyDict_SetItemString(d
, "wxEVT_COMMAND_SCROLLBAR_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SCROLLBAR_UPDATED
));
43302 PyDict_SetItemString(d
, "wxEVT_COMMAND_VLBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_VLBOX_SELECTED
));
43303 PyDict_SetItemString(d
, "wxEVT_COMMAND_COMBOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_COMBOBOX_SELECTED
));
43304 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_RCLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_RCLICKED
));
43305 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_ENTER", PyInt_FromLong(wxEVT_COMMAND_TOOL_ENTER
));
43306 PyDict_SetItemString(d
, "wxEVT_LEFT_DOWN", PyInt_FromLong(wxEVT_LEFT_DOWN
));
43307 PyDict_SetItemString(d
, "wxEVT_LEFT_UP", PyInt_FromLong(wxEVT_LEFT_UP
));
43308 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DOWN", PyInt_FromLong(wxEVT_MIDDLE_DOWN
));
43309 PyDict_SetItemString(d
, "wxEVT_MIDDLE_UP", PyInt_FromLong(wxEVT_MIDDLE_UP
));
43310 PyDict_SetItemString(d
, "wxEVT_RIGHT_DOWN", PyInt_FromLong(wxEVT_RIGHT_DOWN
));
43311 PyDict_SetItemString(d
, "wxEVT_RIGHT_UP", PyInt_FromLong(wxEVT_RIGHT_UP
));
43312 PyDict_SetItemString(d
, "wxEVT_MOTION", PyInt_FromLong(wxEVT_MOTION
));
43313 PyDict_SetItemString(d
, "wxEVT_ENTER_WINDOW", PyInt_FromLong(wxEVT_ENTER_WINDOW
));
43314 PyDict_SetItemString(d
, "wxEVT_LEAVE_WINDOW", PyInt_FromLong(wxEVT_LEAVE_WINDOW
));
43315 PyDict_SetItemString(d
, "wxEVT_LEFT_DCLICK", PyInt_FromLong(wxEVT_LEFT_DCLICK
));
43316 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_MIDDLE_DCLICK
));
43317 PyDict_SetItemString(d
, "wxEVT_RIGHT_DCLICK", PyInt_FromLong(wxEVT_RIGHT_DCLICK
));
43318 PyDict_SetItemString(d
, "wxEVT_SET_FOCUS", PyInt_FromLong(wxEVT_SET_FOCUS
));
43319 PyDict_SetItemString(d
, "wxEVT_KILL_FOCUS", PyInt_FromLong(wxEVT_KILL_FOCUS
));
43320 PyDict_SetItemString(d
, "wxEVT_CHILD_FOCUS", PyInt_FromLong(wxEVT_CHILD_FOCUS
));
43321 PyDict_SetItemString(d
, "wxEVT_MOUSEWHEEL", PyInt_FromLong(wxEVT_MOUSEWHEEL
));
43322 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DOWN", PyInt_FromLong(wxEVT_NC_LEFT_DOWN
));
43323 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_UP", PyInt_FromLong(wxEVT_NC_LEFT_UP
));
43324 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DOWN", PyInt_FromLong(wxEVT_NC_MIDDLE_DOWN
));
43325 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_UP", PyInt_FromLong(wxEVT_NC_MIDDLE_UP
));
43326 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DOWN", PyInt_FromLong(wxEVT_NC_RIGHT_DOWN
));
43327 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_UP", PyInt_FromLong(wxEVT_NC_RIGHT_UP
));
43328 PyDict_SetItemString(d
, "wxEVT_NC_MOTION", PyInt_FromLong(wxEVT_NC_MOTION
));
43329 PyDict_SetItemString(d
, "wxEVT_NC_ENTER_WINDOW", PyInt_FromLong(wxEVT_NC_ENTER_WINDOW
));
43330 PyDict_SetItemString(d
, "wxEVT_NC_LEAVE_WINDOW", PyInt_FromLong(wxEVT_NC_LEAVE_WINDOW
));
43331 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DCLICK", PyInt_FromLong(wxEVT_NC_LEFT_DCLICK
));
43332 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_NC_MIDDLE_DCLICK
));
43333 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DCLICK", PyInt_FromLong(wxEVT_NC_RIGHT_DCLICK
));
43334 PyDict_SetItemString(d
, "wxEVT_CHAR", PyInt_FromLong(wxEVT_CHAR
));
43335 PyDict_SetItemString(d
, "wxEVT_CHAR_HOOK", PyInt_FromLong(wxEVT_CHAR_HOOK
));
43336 PyDict_SetItemString(d
, "wxEVT_NAVIGATION_KEY", PyInt_FromLong(wxEVT_NAVIGATION_KEY
));
43337 PyDict_SetItemString(d
, "wxEVT_KEY_DOWN", PyInt_FromLong(wxEVT_KEY_DOWN
));
43338 PyDict_SetItemString(d
, "wxEVT_KEY_UP", PyInt_FromLong(wxEVT_KEY_UP
));
43339 PyDict_SetItemString(d
, "wxEVT_HOTKEY", PyInt_FromLong(wxEVT_HOTKEY
));
43340 PyDict_SetItemString(d
, "wxEVT_SET_CURSOR", PyInt_FromLong(wxEVT_SET_CURSOR
));
43341 PyDict_SetItemString(d
, "wxEVT_SCROLL_TOP", PyInt_FromLong(wxEVT_SCROLL_TOP
));
43342 PyDict_SetItemString(d
, "wxEVT_SCROLL_BOTTOM", PyInt_FromLong(wxEVT_SCROLL_BOTTOM
));
43343 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEUP", PyInt_FromLong(wxEVT_SCROLL_LINEUP
));
43344 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEDOWN", PyInt_FromLong(wxEVT_SCROLL_LINEDOWN
));
43345 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEUP", PyInt_FromLong(wxEVT_SCROLL_PAGEUP
));
43346 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLL_PAGEDOWN
));
43347 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLL_THUMBTRACK
));
43348 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLL_THUMBRELEASE
));
43349 PyDict_SetItemString(d
, "wxEVT_SCROLL_ENDSCROLL", PyInt_FromLong(wxEVT_SCROLL_ENDSCROLL
));
43350 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_TOP", PyInt_FromLong(wxEVT_SCROLLWIN_TOP
));
43351 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_BOTTOM", PyInt_FromLong(wxEVT_SCROLLWIN_BOTTOM
));
43352 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEUP", PyInt_FromLong(wxEVT_SCROLLWIN_LINEUP
));
43353 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_LINEDOWN
));
43354 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEUP", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEUP
));
43355 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEDOWN
));
43356 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBTRACK
));
43357 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBRELEASE
));
43358 PyDict_SetItemString(d
, "wxEVT_SIZE", PyInt_FromLong(wxEVT_SIZE
));
43359 PyDict_SetItemString(d
, "wxEVT_MOVE", PyInt_FromLong(wxEVT_MOVE
));
43360 PyDict_SetItemString(d
, "wxEVT_CLOSE_WINDOW", PyInt_FromLong(wxEVT_CLOSE_WINDOW
));
43361 PyDict_SetItemString(d
, "wxEVT_END_SESSION", PyInt_FromLong(wxEVT_END_SESSION
));
43362 PyDict_SetItemString(d
, "wxEVT_QUERY_END_SESSION", PyInt_FromLong(wxEVT_QUERY_END_SESSION
));
43363 PyDict_SetItemString(d
, "wxEVT_ACTIVATE_APP", PyInt_FromLong(wxEVT_ACTIVATE_APP
));
43364 PyDict_SetItemString(d
, "wxEVT_POWER", PyInt_FromLong(wxEVT_POWER
));
43365 PyDict_SetItemString(d
, "wxEVT_ACTIVATE", PyInt_FromLong(wxEVT_ACTIVATE
));
43366 PyDict_SetItemString(d
, "wxEVT_CREATE", PyInt_FromLong(wxEVT_CREATE
));
43367 PyDict_SetItemString(d
, "wxEVT_DESTROY", PyInt_FromLong(wxEVT_DESTROY
));
43368 PyDict_SetItemString(d
, "wxEVT_SHOW", PyInt_FromLong(wxEVT_SHOW
));
43369 PyDict_SetItemString(d
, "wxEVT_ICONIZE", PyInt_FromLong(wxEVT_ICONIZE
));
43370 PyDict_SetItemString(d
, "wxEVT_MAXIMIZE", PyInt_FromLong(wxEVT_MAXIMIZE
));
43371 PyDict_SetItemString(d
, "wxEVT_MOUSE_CAPTURE_CHANGED", PyInt_FromLong(wxEVT_MOUSE_CAPTURE_CHANGED
));
43372 PyDict_SetItemString(d
, "wxEVT_PAINT", PyInt_FromLong(wxEVT_PAINT
));
43373 PyDict_SetItemString(d
, "wxEVT_ERASE_BACKGROUND", PyInt_FromLong(wxEVT_ERASE_BACKGROUND
));
43374 PyDict_SetItemString(d
, "wxEVT_NC_PAINT", PyInt_FromLong(wxEVT_NC_PAINT
));
43375 PyDict_SetItemString(d
, "wxEVT_PAINT_ICON", PyInt_FromLong(wxEVT_PAINT_ICON
));
43376 PyDict_SetItemString(d
, "wxEVT_MENU_OPEN", PyInt_FromLong(wxEVT_MENU_OPEN
));
43377 PyDict_SetItemString(d
, "wxEVT_MENU_CLOSE", PyInt_FromLong(wxEVT_MENU_CLOSE
));
43378 PyDict_SetItemString(d
, "wxEVT_MENU_HIGHLIGHT", PyInt_FromLong(wxEVT_MENU_HIGHLIGHT
));
43379 PyDict_SetItemString(d
, "wxEVT_CONTEXT_MENU", PyInt_FromLong(wxEVT_CONTEXT_MENU
));
43380 PyDict_SetItemString(d
, "wxEVT_SYS_COLOUR_CHANGED", PyInt_FromLong(wxEVT_SYS_COLOUR_CHANGED
));
43381 PyDict_SetItemString(d
, "wxEVT_DISPLAY_CHANGED", PyInt_FromLong(wxEVT_DISPLAY_CHANGED
));
43382 PyDict_SetItemString(d
, "wxEVT_SETTING_CHANGED", PyInt_FromLong(wxEVT_SETTING_CHANGED
));
43383 PyDict_SetItemString(d
, "wxEVT_QUERY_NEW_PALETTE", PyInt_FromLong(wxEVT_QUERY_NEW_PALETTE
));
43384 PyDict_SetItemString(d
, "wxEVT_PALETTE_CHANGED", PyInt_FromLong(wxEVT_PALETTE_CHANGED
));
43385 PyDict_SetItemString(d
, "wxEVT_DROP_FILES", PyInt_FromLong(wxEVT_DROP_FILES
));
43386 PyDict_SetItemString(d
, "wxEVT_DRAW_ITEM", PyInt_FromLong(wxEVT_DRAW_ITEM
));
43387 PyDict_SetItemString(d
, "wxEVT_MEASURE_ITEM", PyInt_FromLong(wxEVT_MEASURE_ITEM
));
43388 PyDict_SetItemString(d
, "wxEVT_COMPARE_ITEM", PyInt_FromLong(wxEVT_COMPARE_ITEM
));
43389 PyDict_SetItemString(d
, "wxEVT_INIT_DIALOG", PyInt_FromLong(wxEVT_INIT_DIALOG
));
43390 PyDict_SetItemString(d
, "wxEVT_IDLE", PyInt_FromLong(wxEVT_IDLE
));
43391 PyDict_SetItemString(d
, "wxEVT_UPDATE_UI", PyInt_FromLong(wxEVT_UPDATE_UI
));
43392 PyDict_SetItemString(d
, "wxEVT_SIZING", PyInt_FromLong(wxEVT_SIZING
));
43393 PyDict_SetItemString(d
, "wxEVT_MOVING", PyInt_FromLong(wxEVT_MOVING
));
43394 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_CLICK
));
43395 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_DCLICK
));
43396 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_CLICK
));
43397 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_DCLICK
));
43398 PyDict_SetItemString(d
, "wxEVT_COMMAND_SET_FOCUS", PyInt_FromLong(wxEVT_COMMAND_SET_FOCUS
));
43399 PyDict_SetItemString(d
, "wxEVT_COMMAND_KILL_FOCUS", PyInt_FromLong(wxEVT_COMMAND_KILL_FOCUS
));
43400 PyDict_SetItemString(d
, "wxEVT_COMMAND_ENTER", PyInt_FromLong(wxEVT_COMMAND_ENTER
));
43401 PyDict_SetItemString(d
,"MOUSE_BTN_ANY", SWIG_FromInt((int)wxMOUSE_BTN_ANY
));
43402 PyDict_SetItemString(d
,"MOUSE_BTN_NONE", SWIG_FromInt((int)wxMOUSE_BTN_NONE
));
43403 PyDict_SetItemString(d
,"MOUSE_BTN_LEFT", SWIG_FromInt((int)wxMOUSE_BTN_LEFT
));
43404 PyDict_SetItemString(d
,"MOUSE_BTN_MIDDLE", SWIG_FromInt((int)wxMOUSE_BTN_MIDDLE
));
43405 PyDict_SetItemString(d
,"MOUSE_BTN_RIGHT", SWIG_FromInt((int)wxMOUSE_BTN_RIGHT
));
43406 PyDict_SetItemString(d
,"UPDATE_UI_PROCESS_ALL", SWIG_FromInt((int)wxUPDATE_UI_PROCESS_ALL
));
43407 PyDict_SetItemString(d
,"UPDATE_UI_PROCESS_SPECIFIED", SWIG_FromInt((int)wxUPDATE_UI_PROCESS_SPECIFIED
));
43408 PyDict_SetItemString(d
,"IDLE_PROCESS_ALL", SWIG_FromInt((int)wxIDLE_PROCESS_ALL
));
43409 PyDict_SetItemString(d
,"IDLE_PROCESS_SPECIFIED", SWIG_FromInt((int)wxIDLE_PROCESS_SPECIFIED
));
43410 PyDict_SetItemString(d
,"PYAPP_ASSERT_SUPPRESS", SWIG_FromInt((int)wxPYAPP_ASSERT_SUPPRESS
));
43411 PyDict_SetItemString(d
,"PYAPP_ASSERT_EXCEPTION", SWIG_FromInt((int)wxPYAPP_ASSERT_EXCEPTION
));
43412 PyDict_SetItemString(d
,"PYAPP_ASSERT_DIALOG", SWIG_FromInt((int)wxPYAPP_ASSERT_DIALOG
));
43413 PyDict_SetItemString(d
,"PYAPP_ASSERT_LOG", SWIG_FromInt((int)wxPYAPP_ASSERT_LOG
));
43414 PyDict_SetItemString(d
,"PRINT_WINDOWS", SWIG_FromInt((int)wxPRINT_WINDOWS
));
43415 PyDict_SetItemString(d
,"PRINT_POSTSCRIPT", SWIG_FromInt((int)wxPRINT_POSTSCRIPT
));
43416 SWIG_addvarlink(SWIG_globals
,(char*)"NullAcceleratorTable",_wrap_NullAcceleratorTable_get
, _wrap_NullAcceleratorTable_set
);
43417 SWIG_addvarlink(SWIG_globals
,(char*)"PanelNameStr",_wrap_PanelNameStr_get
, _wrap_PanelNameStr_set
);
43418 PyDict_SetItemString(d
,"WINDOW_VARIANT_NORMAL", SWIG_FromInt((int)wxWINDOW_VARIANT_NORMAL
));
43419 PyDict_SetItemString(d
,"WINDOW_VARIANT_SMALL", SWIG_FromInt((int)wxWINDOW_VARIANT_SMALL
));
43420 PyDict_SetItemString(d
,"WINDOW_VARIANT_MINI", SWIG_FromInt((int)wxWINDOW_VARIANT_MINI
));
43421 PyDict_SetItemString(d
,"WINDOW_VARIANT_LARGE", SWIG_FromInt((int)wxWINDOW_VARIANT_LARGE
));
43422 PyDict_SetItemString(d
,"WINDOW_VARIANT_MAX", SWIG_FromInt((int)wxWINDOW_VARIANT_MAX
));
43423 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultValidator",_wrap_DefaultValidator_get
, _wrap_DefaultValidator_set
);
43424 SWIG_addvarlink(SWIG_globals
,(char*)"ControlNameStr",_wrap_ControlNameStr_get
, _wrap_ControlNameStr_set
);
43425 PyDict_SetItemString(d
,"FLEX_GROWMODE_NONE", SWIG_FromInt((int)wxFLEX_GROWMODE_NONE
));
43426 PyDict_SetItemString(d
,"FLEX_GROWMODE_SPECIFIED", SWIG_FromInt((int)wxFLEX_GROWMODE_SPECIFIED
));
43427 PyDict_SetItemString(d
,"FLEX_GROWMODE_ALL", SWIG_FromInt((int)wxFLEX_GROWMODE_ALL
));
43428 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultSpan",_wrap_DefaultSpan_get
, _wrap_DefaultSpan_set
);
43429 PyDict_SetItemString(d
,"Left", SWIG_FromInt((int)wxLeft
));
43430 PyDict_SetItemString(d
,"Top", SWIG_FromInt((int)wxTop
));
43431 PyDict_SetItemString(d
,"Right", SWIG_FromInt((int)wxRight
));
43432 PyDict_SetItemString(d
,"Bottom", SWIG_FromInt((int)wxBottom
));
43433 PyDict_SetItemString(d
,"Width", SWIG_FromInt((int)wxWidth
));
43434 PyDict_SetItemString(d
,"Height", SWIG_FromInt((int)wxHeight
));
43435 PyDict_SetItemString(d
,"Centre", SWIG_FromInt((int)wxCentre
));
43436 PyDict_SetItemString(d
,"Center", SWIG_FromInt((int)wxCenter
));
43437 PyDict_SetItemString(d
,"CentreX", SWIG_FromInt((int)wxCentreX
));
43438 PyDict_SetItemString(d
,"CentreY", SWIG_FromInt((int)wxCentreY
));
43439 PyDict_SetItemString(d
,"Unconstrained", SWIG_FromInt((int)wxUnconstrained
));
43440 PyDict_SetItemString(d
,"AsIs", SWIG_FromInt((int)wxAsIs
));
43441 PyDict_SetItemString(d
,"PercentOf", SWIG_FromInt((int)wxPercentOf
));
43442 PyDict_SetItemString(d
,"Above", SWIG_FromInt((int)wxAbove
));
43443 PyDict_SetItemString(d
,"Below", SWIG_FromInt((int)wxBelow
));
43444 PyDict_SetItemString(d
,"LeftOf", SWIG_FromInt((int)wxLeftOf
));
43445 PyDict_SetItemString(d
,"RightOf", SWIG_FromInt((int)wxRightOf
));
43446 PyDict_SetItemString(d
,"SameAs", SWIG_FromInt((int)wxSameAs
));
43447 PyDict_SetItemString(d
,"Absolute", SWIG_FromInt((int)wxAbsolute
));
43449 // Initialize threading, some globals and such
43453 // Although these are defined in __version__ they need to be here too so
43454 // that an assert can be done to ensure that the wxPython and the wxWindows
43456 PyDict_SetItemString(d
,"MAJOR_VERSION", PyInt_FromLong((long)wxMAJOR_VERSION
));
43457 PyDict_SetItemString(d
,"MINOR_VERSION", PyInt_FromLong((long)wxMINOR_VERSION
));
43458 PyDict_SetItemString(d
,"RELEASE_VERSION", PyInt_FromLong((long)wxRELEASE_NUMBER
));