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
* wxPyGetApp() { return (wxPyApp
*)wxTheApp
; }
1348 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
1349 wxVisualAttributes
*new_wxVisualAttributes(){ return new wxVisualAttributes
; }
1350 void delete_wxVisualAttributes(wxVisualAttributes
*self
){ delete self
; }
1351 PyObject
*wxWindow_GetChildren(wxWindow
*self
){
1352 wxWindowList
& list
= self
->GetChildren();
1353 return wxPy_ConvertList(&list
);
1355 bool wxWindow_RegisterHotKey(wxWindow
*self
,int hotkeyId
,int modifiers
,int keycode
){
1357 return self
->RegisterHotKey(hotkeyId
, modifiers
, keycode
);
1362 bool wxWindow_UnregisterHotKey(wxWindow
*self
,int hotkeyId
){
1369 long wxWindow_GetHandle(wxWindow
*self
){
1370 return wxPyGetWinHandle(self
);
1373 wxWindow
* wxFindWindowById( long id
, const wxWindow
*parent
= NULL
) {
1374 return wxWindow::FindWindowById(id
, parent
);
1377 wxWindow
* wxFindWindowByName( const wxString
& name
,
1378 const wxWindow
*parent
= NULL
) {
1379 return wxWindow::FindWindowByName(name
, parent
);
1382 wxWindow
* wxFindWindowByLabel( const wxString
& label
,
1383 const wxWindow
*parent
= NULL
) {
1384 return wxWindow::FindWindowByLabel(label
, parent
);
1389 #include <wx/msw/private.h> // to get wxGetWindowId
1393 wxWindow
* wxWindow_FromHWND(wxWindow
* parent
, unsigned long _hWnd
) {
1395 WXHWND hWnd
= (WXHWND
)_hWnd
;
1396 long id
= wxGetWindowId(hWnd
);
1397 wxWindow
* win
= new wxWindow
;
1398 parent
->AddChild(win
);
1399 win
->SetEventHandler(win
);
1402 win
->SubclassWin(hWnd
);
1403 win
->AdoptAttributesFromHWND();
1404 win
->SetupColours();
1407 wxPyRaiseNotImplemented();
1413 IMP_PYCALLBACK_BOOL_WXWIN(wxPyValidator
, wxValidator
, Validate
);
1414 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferToWindow
);
1415 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferFromWindow
);
1417 IMPLEMENT_DYNAMIC_CLASS(wxPyValidator
, wxValidator
);
1419 void wxMenu_Destroy(wxMenu
*self
){ delete self
; }
1420 PyObject
*wxMenu_GetMenuItems(wxMenu
*self
){
1421 wxMenuItemList
& list
= self
->GetMenuItems();
1422 return wxPy_ConvertList(&list
);
1424 static const wxString
wxPyControlNameStr(wxControlNameStr
);
1425 int wxItemContainer_Append(wxItemContainer
*self
,wxString
const &item
,PyObject
*clientData
){
1427 wxPyClientData
* data
= new wxPyClientData(clientData
);
1428 return self
->Append(item
, data
);
1430 return self
->Append(item
);
1432 int wxItemContainer_Insert(wxItemContainer
*self
,wxString
const &item
,int pos
,PyObject
*clientData
){
1434 wxPyClientData
* data
= new wxPyClientData(clientData
);
1435 return self
->Insert(item
, pos
, data
);
1437 return self
->Insert(item
, pos
);
1439 PyObject
*wxItemContainer_GetClientData(wxItemContainer
*self
,int n
){
1440 wxPyClientData
* data
= (wxPyClientData
*)self
->GetClientObject(n
);
1442 Py_INCREF(data
->m_obj
);
1449 void wxItemContainer_SetClientData(wxItemContainer
*self
,int n
,PyObject
*clientData
){
1450 wxPyClientData
* data
= new wxPyClientData(clientData
);
1451 self
->SetClientObject(n
, data
);
1459 SWIG_FloatCast(double value
)
1462 if (!PyErr_Occurred()) {
1463 if (value
< FLT_MIN
) {
1465 PyString_FromFormat("value %g is less than float minimum %g",
1467 PyErr_SetObject(PyExc_OverflowError
, err
);
1469 } else if (value
> FLT_MAX
) {
1471 PyString_FromFormat("value %g is greater than float maximum %g",
1473 PyErr_SetObject(PyExc_OverflowError
, err
);
1476 f
= swig_numeric_cast(float, value
);
1483 SWIGSTATICINLINE(float)
1484 SWIG_AsFloat(PyObject
*obj
)
1486 return SWIG_FloatCast(SWIG_AsDouble(obj
));
1490 SWIGSTATICINLINE(int)
1491 SWIG_CheckFloat(PyObject
* obj
)
1494 if (PyErr_Occurred()) {
1502 PyObject
*wxSizerItem_GetUserData(wxSizerItem
*self
){
1503 wxPyUserData
* data
= (wxPyUserData
*)self
->GetUserData();
1505 Py_INCREF(data
->m_obj
);
1513 // Figure out the type of the sizer item
1515 struct wxPySizerItemInfo
{
1517 : window(NULL
), sizer(NULL
), gotSize(False
),
1518 size(wxDefaultSize
), gotPos(False
), pos(-1)
1529 static wxPySizerItemInfo
wxPySizerItemTypeHelper(PyObject
* item
, bool checkSize
, bool checkIdx
) {
1531 wxPySizerItemInfo info
;
1533 wxSize
* sizePtr
= &size
;
1535 // Find out what the type of the item is
1537 if ( ! wxPyConvertSwigPtr(item
, (void**)&info
.window
, wxT("wxWindow")) ) {
1542 if ( ! wxPyConvertSwigPtr(item
, (void**)&info
.sizer
, wxT("wxSizer")) ) {
1546 // try wxSize or (w,h)
1547 if ( checkSize
&& wxSize_helper(item
, &sizePtr
)) {
1548 info
.size
= *sizePtr
;
1549 info
.gotSize
= True
;
1553 if (checkIdx
&& PyInt_Check(item
)) {
1554 info
.pos
= PyInt_AsLong(item
);
1560 if ( !(info
.window
|| info
.sizer
|| (checkSize
&& info
.gotSize
) || (checkIdx
&& info
.gotPos
)) ) {
1561 // no expected type, figure out what kind of error message to generate
1562 if ( !checkSize
&& !checkIdx
)
1563 PyErr_SetString(PyExc_TypeError
, "wxWindow or wxSizer expected for item");
1564 else if ( checkSize
&& !checkIdx
)
1565 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer, wxSize, or (w,h) expected for item");
1566 else if ( !checkSize
&& checkIdx
)
1567 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer or int (position) expected for item");
1569 // can this one happen?
1570 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer, wxSize, or (w,h) or int (position) expected for item");
1576 void wxSizer__setOORInfo(wxSizer
*self
,PyObject
*_self
){
1577 self
->SetClientObject(new wxPyOORClientData(_self
));
1579 void wxSizer_Add(wxSizer
*self
,PyObject
*item
,int proportion
,int flag
,int border
,PyObject
*userData
){
1581 wxPyUserData
* data
= NULL
;
1582 bool blocked
= wxPyBeginBlockThreads();
1583 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, True
, False
);
1584 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1585 data
= new wxPyUserData(userData
);
1586 wxPyEndBlockThreads(blocked
);
1588 // Now call the real Add method if a valid item type was found
1590 self
->Add(info
.window
, proportion
, flag
, border
, data
);
1591 else if ( info
.sizer
)
1592 self
->Add(info
.sizer
, proportion
, flag
, border
, data
);
1593 else if (info
.gotSize
)
1594 self
->Add(info
.size
.GetWidth(), info
.size
.GetHeight(),
1595 proportion
, flag
, border
, data
);
1597 void wxSizer_Insert(wxSizer
*self
,int before
,PyObject
*item
,int proportion
,int flag
,int border
,PyObject
*userData
){
1599 wxPyUserData
* data
= NULL
;
1600 bool blocked
= wxPyBeginBlockThreads();
1601 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, True
, False
);
1602 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1603 data
= new wxPyUserData(userData
);
1604 wxPyEndBlockThreads(blocked
);
1606 // Now call the real Insert method if a valid item type was found
1608 self
->Insert(before
, info
.window
, proportion
, flag
, border
, data
);
1609 else if ( info
.sizer
)
1610 self
->Insert(before
, info
.sizer
, proportion
, flag
, border
, data
);
1611 else if (info
.gotSize
)
1612 self
->Insert(before
, info
.size
.GetWidth(), info
.size
.GetHeight(),
1613 proportion
, flag
, border
, data
);
1615 void wxSizer_Prepend(wxSizer
*self
,PyObject
*item
,int proportion
,int flag
,int border
,PyObject
*userData
){
1617 wxPyUserData
* data
= NULL
;
1618 bool blocked
= wxPyBeginBlockThreads();
1619 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, True
, False
);
1620 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1621 data
= new wxPyUserData(userData
);
1622 wxPyEndBlockThreads(blocked
);
1624 // Now call the real Prepend method if a valid item type was found
1626 self
->Prepend(info
.window
, proportion
, flag
, border
, data
);
1627 else if ( info
.sizer
)
1628 self
->Prepend(info
.sizer
, proportion
, flag
, border
, data
);
1629 else if (info
.gotSize
)
1630 self
->Prepend(info
.size
.GetWidth(), info
.size
.GetHeight(),
1631 proportion
, flag
, border
, data
);
1633 bool wxSizer_Remove(wxSizer
*self
,PyObject
*item
){
1634 bool blocked
= wxPyBeginBlockThreads();
1635 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, True
);
1636 wxPyEndBlockThreads(blocked
);
1638 return self
->Remove(info
.window
);
1639 else if ( info
.sizer
)
1640 return self
->Remove(info
.sizer
);
1641 else if ( info
.gotPos
)
1642 return self
->Remove(info
.pos
);
1646 bool wxSizer_Detach(wxSizer
*self
,PyObject
*item
){
1647 bool blocked
= wxPyBeginBlockThreads();
1648 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, True
);
1649 wxPyEndBlockThreads(blocked
);
1651 return self
->Detach(info
.window
);
1652 else if ( info
.sizer
)
1653 return self
->Detach(info
.sizer
);
1654 else if ( info
.gotPos
)
1655 return self
->Detach(info
.pos
);
1659 void wxSizer__SetItemMinSize(wxSizer
*self
,PyObject
*item
,wxSize
const &size
){
1660 bool blocked
= wxPyBeginBlockThreads();
1661 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, True
);
1662 wxPyEndBlockThreads(blocked
);
1664 self
->SetItemMinSize(info
.window
, size
);
1665 else if ( info
.sizer
)
1666 self
->SetItemMinSize(info
.sizer
, size
);
1667 else if ( info
.gotPos
)
1668 self
->SetItemMinSize(info
.pos
, size
);
1670 PyObject
*wxSizer_GetChildren(wxSizer
*self
){
1671 wxSizerItemList
& list
= self
->GetChildren();
1672 return wxPy_ConvertList(&list
);
1674 void wxSizer_Show(wxSizer
*self
,PyObject
*item
,bool show
){
1675 bool blocked
= wxPyBeginBlockThreads();
1676 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, False
);
1677 wxPyEndBlockThreads(blocked
);
1679 self
->Show(info
.window
, show
);
1680 else if ( info
.sizer
)
1681 self
->Show(info
.sizer
, show
);
1683 void wxSizer_Hide(wxSizer
*self
,PyObject
*item
){
1684 bool blocked
= wxPyBeginBlockThreads();
1685 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, False
);
1686 wxPyEndBlockThreads(blocked
);
1688 self
->Hide(info
.window
);
1689 else if ( info
.sizer
)
1690 self
->Hide(info
.sizer
);
1692 bool wxSizer_IsShown(wxSizer
*self
,PyObject
*item
){
1693 bool blocked
= wxPyBeginBlockThreads();
1694 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, False
);
1695 wxPyEndBlockThreads(blocked
);
1697 return self
->IsShown(info
.window
);
1698 else if ( info
.sizer
)
1699 return self
->IsShown(info
.sizer
);
1705 IMP_PYCALLBACK___pure(wxPySizer
, wxSizer
, RecalcSizes
);
1706 IMP_PYCALLBACK_wxSize__pure(wxPySizer
, wxSizer
, CalcMin
);
1707 IMPLEMENT_DYNAMIC_CLASS(wxPySizer
, wxSizer
);
1712 bool wxGBPosition_helper(PyObject
* source
, wxGBPosition
** obj
)
1714 if (source
== Py_None
) {
1715 **obj
= wxGBPosition(-1,-1);
1718 return wxPyTwoIntItem_helper(source
, obj
, wxT("wxGBPosition"));
1721 bool wxGBSpan_helper(PyObject
* source
, wxGBSpan
** obj
)
1723 if (source
== Py_None
) {
1724 **obj
= wxGBSpan(-1,-1);
1727 return wxPyTwoIntItem_helper(source
, obj
, wxT("wxGBSpan"));
1731 void wxGBPosition_Set(wxGBPosition
*self
,int row
,int col
){
1735 PyObject
*wxGBPosition_Get(wxGBPosition
*self
){
1736 bool blocked
= wxPyBeginBlockThreads();
1737 PyObject
* tup
= PyTuple_New(2);
1738 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRow()));
1739 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetCol()));
1740 wxPyEndBlockThreads(blocked
);
1743 void wxGBSpan_Set(wxGBSpan
*self
,int rowspan
,int colspan
){
1744 self
->SetRowspan(rowspan
);
1745 self
->SetColspan(colspan
);
1747 PyObject
*wxGBSpan_Get(wxGBSpan
*self
){
1748 bool blocked
= wxPyBeginBlockThreads();
1749 PyObject
* tup
= PyTuple_New(2);
1750 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRowspan()));
1751 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetColspan()));
1752 wxPyEndBlockThreads(blocked
);
1755 bool wxGridBagSizer_Add(wxGridBagSizer
*self
,PyObject
*item
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
){
1757 wxPyUserData
* data
= NULL
;
1758 bool blocked
= wxPyBeginBlockThreads();
1759 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, True
, False
);
1760 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1761 data
= new wxPyUserData(userData
);
1762 wxPyEndBlockThreads(blocked
);
1764 // Now call the real Add method if a valid item type was found
1766 return self
->Add(info
.window
, pos
, span
, flag
, border
, data
);
1767 else if ( info
.sizer
)
1768 return self
->Add(info
.sizer
, pos
, span
, flag
, border
, data
);
1769 else if (info
.gotSize
)
1770 return self
->Add(info
.size
.GetWidth(), info
.size
.GetHeight(),
1771 pos
, span
, flag
, border
, data
);
1779 static int _wrap_EmptyString_set(PyObject
*_val
) {
1780 PyErr_SetString(PyExc_TypeError
,"Variable EmptyString is read-only.");
1785 static PyObject
*_wrap_EmptyString_get() {
1790 pyobj
= PyUnicode_FromWideChar((&wxPyEmptyString
)->c_str(), (&wxPyEmptyString
)->Len());
1792 pyobj
= PyString_FromStringAndSize((&wxPyEmptyString
)->c_str(), (&wxPyEmptyString
)->Len());
1799 static PyObject
*_wrap_Object_GetClassName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1800 PyObject
*resultobj
;
1801 wxObject
*arg1
= (wxObject
*) 0 ;
1803 PyObject
* obj0
= 0 ;
1805 (char *) "self", NULL
1808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Object_GetClassName",kwnames
,&obj0
)) goto fail
;
1809 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxObject
,
1810 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1813 result
= wxObject_GetClassName(arg1
);
1815 wxPyEndAllowThreads(__tstate
);
1816 if (PyErr_Occurred()) SWIG_fail
;
1820 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
1822 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
1831 static PyObject
*_wrap_Object_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1832 PyObject
*resultobj
;
1833 wxObject
*arg1
= (wxObject
*) 0 ;
1834 PyObject
* obj0
= 0 ;
1836 (char *) "self", NULL
1839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Object_Destroy",kwnames
,&obj0
)) goto fail
;
1840 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxObject
,
1841 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1844 wxObject_Destroy(arg1
);
1846 wxPyEndAllowThreads(__tstate
);
1847 if (PyErr_Occurred()) SWIG_fail
;
1849 Py_INCREF(Py_None
); resultobj
= Py_None
;
1856 static PyObject
* Object_swigregister(PyObject
*self
, PyObject
*args
) {
1858 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1859 SWIG_TypeClientData(SWIGTYPE_p_wxObject
, obj
);
1861 return Py_BuildValue((char *)"");
1863 static PyObject
*_wrap_Size_width_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1864 PyObject
*resultobj
;
1865 wxSize
*arg1
= (wxSize
*) 0 ;
1867 PyObject
* obj0
= 0 ;
1868 PyObject
* obj1
= 0 ;
1870 (char *) "self",(char *) "x", NULL
1873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
1874 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
1875 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1876 arg2
= (int) SWIG_AsInt(obj1
);
1877 if (PyErr_Occurred()) SWIG_fail
;
1878 if (arg1
) (arg1
)->x
= arg2
;
1880 Py_INCREF(Py_None
); resultobj
= Py_None
;
1887 static PyObject
*_wrap_Size_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1888 PyObject
*resultobj
;
1889 wxSize
*arg1
= (wxSize
*) 0 ;
1891 PyObject
* obj0
= 0 ;
1893 (char *) "self", NULL
1896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_width_get",kwnames
,&obj0
)) goto fail
;
1897 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
1898 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1899 result
= (int) ((arg1
)->x
);
1901 resultobj
= SWIG_FromInt((int)result
);
1908 static PyObject
*_wrap_Size_height_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1909 PyObject
*resultobj
;
1910 wxSize
*arg1
= (wxSize
*) 0 ;
1912 PyObject
* obj0
= 0 ;
1913 PyObject
* obj1
= 0 ;
1915 (char *) "self",(char *) "y", NULL
1918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_height_set",kwnames
,&obj0
,&obj1
)) goto fail
;
1919 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
1920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1921 arg2
= (int) SWIG_AsInt(obj1
);
1922 if (PyErr_Occurred()) SWIG_fail
;
1923 if (arg1
) (arg1
)->y
= arg2
;
1925 Py_INCREF(Py_None
); resultobj
= Py_None
;
1932 static PyObject
*_wrap_Size_height_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1933 PyObject
*resultobj
;
1934 wxSize
*arg1
= (wxSize
*) 0 ;
1936 PyObject
* obj0
= 0 ;
1938 (char *) "self", NULL
1941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_height_get",kwnames
,&obj0
)) goto fail
;
1942 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
1943 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1944 result
= (int) ((arg1
)->y
);
1946 resultobj
= SWIG_FromInt((int)result
);
1953 static PyObject
*_wrap_new_Size(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1954 PyObject
*resultobj
;
1955 int arg1
= (int) 0 ;
1956 int arg2
= (int) 0 ;
1958 PyObject
* obj0
= 0 ;
1959 PyObject
* obj1
= 0 ;
1961 (char *) "w",(char *) "h", NULL
1964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Size",kwnames
,&obj0
,&obj1
)) goto fail
;
1966 arg1
= (int) SWIG_AsInt(obj0
);
1967 if (PyErr_Occurred()) SWIG_fail
;
1970 arg2
= (int) SWIG_AsInt(obj1
);
1971 if (PyErr_Occurred()) SWIG_fail
;
1974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1975 result
= (wxSize
*)new wxSize(arg1
,arg2
);
1977 wxPyEndAllowThreads(__tstate
);
1978 if (PyErr_Occurred()) SWIG_fail
;
1980 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 1);
1987 static PyObject
*_wrap_delete_Size(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1988 PyObject
*resultobj
;
1989 wxSize
*arg1
= (wxSize
*) 0 ;
1990 PyObject
* obj0
= 0 ;
1992 (char *) "self", NULL
1995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Size",kwnames
,&obj0
)) goto fail
;
1996 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
1997 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2002 wxPyEndAllowThreads(__tstate
);
2003 if (PyErr_Occurred()) SWIG_fail
;
2005 Py_INCREF(Py_None
); resultobj
= Py_None
;
2012 static PyObject
*_wrap_Size___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2013 PyObject
*resultobj
;
2014 wxSize
*arg1
= (wxSize
*) 0 ;
2018 PyObject
* obj0
= 0 ;
2019 PyObject
* obj1
= 0 ;
2021 (char *) "self",(char *) "sz", NULL
2024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
2025 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2026 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2029 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2033 result
= (bool)(arg1
)->operator ==((wxSize
const &)*arg2
);
2035 wxPyEndAllowThreads(__tstate
);
2036 if (PyErr_Occurred()) SWIG_fail
;
2039 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2047 static PyObject
*_wrap_Size___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2048 PyObject
*resultobj
;
2049 wxSize
*arg1
= (wxSize
*) 0 ;
2053 PyObject
* obj0
= 0 ;
2054 PyObject
* obj1
= 0 ;
2056 (char *) "self",(char *) "sz", NULL
2059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
2060 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2061 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2064 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2068 result
= (bool)(arg1
)->operator !=((wxSize
const &)*arg2
);
2070 wxPyEndAllowThreads(__tstate
);
2071 if (PyErr_Occurred()) SWIG_fail
;
2074 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2082 static PyObject
*_wrap_Size___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2083 PyObject
*resultobj
;
2084 wxSize
*arg1
= (wxSize
*) 0 ;
2088 PyObject
* obj0
= 0 ;
2089 PyObject
* obj1
= 0 ;
2091 (char *) "self",(char *) "sz", NULL
2094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
2095 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2096 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2099 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2103 result
= (arg1
)->operator +((wxSize
const &)*arg2
);
2105 wxPyEndAllowThreads(__tstate
);
2106 if (PyErr_Occurred()) SWIG_fail
;
2110 resultptr
= new wxSize((wxSize
&) result
);
2111 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
2119 static PyObject
*_wrap_Size___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2120 PyObject
*resultobj
;
2121 wxSize
*arg1
= (wxSize
*) 0 ;
2125 PyObject
* obj0
= 0 ;
2126 PyObject
* obj1
= 0 ;
2128 (char *) "self",(char *) "sz", NULL
2131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
2132 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2133 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2136 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2140 result
= (arg1
)->operator -((wxSize
const &)*arg2
);
2142 wxPyEndAllowThreads(__tstate
);
2143 if (PyErr_Occurred()) SWIG_fail
;
2147 resultptr
= new wxSize((wxSize
&) result
);
2148 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
2156 static PyObject
*_wrap_Size_IncTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2157 PyObject
*resultobj
;
2158 wxSize
*arg1
= (wxSize
*) 0 ;
2161 PyObject
* obj0
= 0 ;
2162 PyObject
* obj1
= 0 ;
2164 (char *) "self",(char *) "sz", NULL
2167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_IncTo",kwnames
,&obj0
,&obj1
)) goto fail
;
2168 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2169 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2172 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2176 (arg1
)->IncTo((wxSize
const &)*arg2
);
2178 wxPyEndAllowThreads(__tstate
);
2179 if (PyErr_Occurred()) SWIG_fail
;
2181 Py_INCREF(Py_None
); resultobj
= Py_None
;
2188 static PyObject
*_wrap_Size_DecTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2189 PyObject
*resultobj
;
2190 wxSize
*arg1
= (wxSize
*) 0 ;
2193 PyObject
* obj0
= 0 ;
2194 PyObject
* obj1
= 0 ;
2196 (char *) "self",(char *) "sz", NULL
2199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_DecTo",kwnames
,&obj0
,&obj1
)) goto fail
;
2200 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2201 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2204 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2208 (arg1
)->DecTo((wxSize
const &)*arg2
);
2210 wxPyEndAllowThreads(__tstate
);
2211 if (PyErr_Occurred()) SWIG_fail
;
2213 Py_INCREF(Py_None
); resultobj
= Py_None
;
2220 static PyObject
*_wrap_Size_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2221 PyObject
*resultobj
;
2222 wxSize
*arg1
= (wxSize
*) 0 ;
2225 PyObject
* obj0
= 0 ;
2226 PyObject
* obj1
= 0 ;
2227 PyObject
* obj2
= 0 ;
2229 (char *) "self",(char *) "w",(char *) "h", NULL
2232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Size_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2233 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2234 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2235 arg2
= (int) SWIG_AsInt(obj1
);
2236 if (PyErr_Occurred()) SWIG_fail
;
2237 arg3
= (int) SWIG_AsInt(obj2
);
2238 if (PyErr_Occurred()) SWIG_fail
;
2240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2241 (arg1
)->Set(arg2
,arg3
);
2243 wxPyEndAllowThreads(__tstate
);
2244 if (PyErr_Occurred()) SWIG_fail
;
2246 Py_INCREF(Py_None
); resultobj
= Py_None
;
2253 static PyObject
*_wrap_Size_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2254 PyObject
*resultobj
;
2255 wxSize
*arg1
= (wxSize
*) 0 ;
2257 PyObject
* obj0
= 0 ;
2258 PyObject
* obj1
= 0 ;
2260 (char *) "self",(char *) "w", NULL
2263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
2264 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2266 arg2
= (int) SWIG_AsInt(obj1
);
2267 if (PyErr_Occurred()) SWIG_fail
;
2269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2270 (arg1
)->SetWidth(arg2
);
2272 wxPyEndAllowThreads(__tstate
);
2273 if (PyErr_Occurred()) SWIG_fail
;
2275 Py_INCREF(Py_None
); resultobj
= Py_None
;
2282 static PyObject
*_wrap_Size_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2283 PyObject
*resultobj
;
2284 wxSize
*arg1
= (wxSize
*) 0 ;
2286 PyObject
* obj0
= 0 ;
2287 PyObject
* obj1
= 0 ;
2289 (char *) "self",(char *) "h", NULL
2292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
2293 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2294 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2295 arg2
= (int) SWIG_AsInt(obj1
);
2296 if (PyErr_Occurred()) SWIG_fail
;
2298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2299 (arg1
)->SetHeight(arg2
);
2301 wxPyEndAllowThreads(__tstate
);
2302 if (PyErr_Occurred()) SWIG_fail
;
2304 Py_INCREF(Py_None
); resultobj
= Py_None
;
2311 static PyObject
*_wrap_Size_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2312 PyObject
*resultobj
;
2313 wxSize
*arg1
= (wxSize
*) 0 ;
2315 PyObject
* obj0
= 0 ;
2317 (char *) "self", NULL
2320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_GetWidth",kwnames
,&obj0
)) goto fail
;
2321 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2322 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2325 result
= (int)((wxSize
const *)arg1
)->GetWidth();
2327 wxPyEndAllowThreads(__tstate
);
2328 if (PyErr_Occurred()) SWIG_fail
;
2330 resultobj
= SWIG_FromInt((int)result
);
2337 static PyObject
*_wrap_Size_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2338 PyObject
*resultobj
;
2339 wxSize
*arg1
= (wxSize
*) 0 ;
2341 PyObject
* obj0
= 0 ;
2343 (char *) "self", NULL
2346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_GetHeight",kwnames
,&obj0
)) goto fail
;
2347 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2348 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2351 result
= (int)((wxSize
const *)arg1
)->GetHeight();
2353 wxPyEndAllowThreads(__tstate
);
2354 if (PyErr_Occurred()) SWIG_fail
;
2356 resultobj
= SWIG_FromInt((int)result
);
2363 static PyObject
*_wrap_Size_IsFullySpecified(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2364 PyObject
*resultobj
;
2365 wxSize
*arg1
= (wxSize
*) 0 ;
2367 PyObject
* obj0
= 0 ;
2369 (char *) "self", NULL
2372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_IsFullySpecified",kwnames
,&obj0
)) goto fail
;
2373 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2374 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2377 result
= (bool)((wxSize
const *)arg1
)->IsFullySpecified();
2379 wxPyEndAllowThreads(__tstate
);
2380 if (PyErr_Occurred()) SWIG_fail
;
2383 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2391 static PyObject
*_wrap_Size_SetDefaults(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2392 PyObject
*resultobj
;
2393 wxSize
*arg1
= (wxSize
*) 0 ;
2396 PyObject
* obj0
= 0 ;
2397 PyObject
* obj1
= 0 ;
2399 (char *) "self",(char *) "size", NULL
2402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetDefaults",kwnames
,&obj0
,&obj1
)) goto fail
;
2403 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2404 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2407 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2411 (arg1
)->SetDefaults((wxSize
const &)*arg2
);
2413 wxPyEndAllowThreads(__tstate
);
2414 if (PyErr_Occurred()) SWIG_fail
;
2416 Py_INCREF(Py_None
); resultobj
= Py_None
;
2423 static PyObject
*_wrap_Size_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2424 PyObject
*resultobj
;
2425 wxSize
*arg1
= (wxSize
*) 0 ;
2427 PyObject
* obj0
= 0 ;
2429 (char *) "self", NULL
2432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_Get",kwnames
,&obj0
)) goto fail
;
2433 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2434 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2437 result
= (PyObject
*)wxSize_Get(arg1
);
2439 wxPyEndAllowThreads(__tstate
);
2440 if (PyErr_Occurred()) SWIG_fail
;
2449 static PyObject
* Size_swigregister(PyObject
*self
, PyObject
*args
) {
2451 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2452 SWIG_TypeClientData(SWIGTYPE_p_wxSize
, obj
);
2454 return Py_BuildValue((char *)"");
2456 static PyObject
*_wrap_RealPoint_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2457 PyObject
*resultobj
;
2458 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2460 PyObject
* obj0
= 0 ;
2461 PyObject
* obj1
= 0 ;
2463 (char *) "self",(char *) "x", NULL
2466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
2467 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2468 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2469 arg2
= (double) SWIG_AsDouble(obj1
);
2470 if (PyErr_Occurred()) SWIG_fail
;
2471 if (arg1
) (arg1
)->x
= arg2
;
2473 Py_INCREF(Py_None
); resultobj
= Py_None
;
2480 static PyObject
*_wrap_RealPoint_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2481 PyObject
*resultobj
;
2482 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2484 PyObject
* obj0
= 0 ;
2486 (char *) "self", NULL
2489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_x_get",kwnames
,&obj0
)) goto fail
;
2490 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2491 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2492 result
= (double) ((arg1
)->x
);
2494 resultobj
= SWIG_FromDouble((double)result
);
2501 static PyObject
*_wrap_RealPoint_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2502 PyObject
*resultobj
;
2503 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2505 PyObject
* obj0
= 0 ;
2506 PyObject
* obj1
= 0 ;
2508 (char *) "self",(char *) "y", NULL
2511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
2512 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2513 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2514 arg2
= (double) SWIG_AsDouble(obj1
);
2515 if (PyErr_Occurred()) SWIG_fail
;
2516 if (arg1
) (arg1
)->y
= arg2
;
2518 Py_INCREF(Py_None
); resultobj
= Py_None
;
2525 static PyObject
*_wrap_RealPoint_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2526 PyObject
*resultobj
;
2527 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2529 PyObject
* obj0
= 0 ;
2531 (char *) "self", NULL
2534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_y_get",kwnames
,&obj0
)) goto fail
;
2535 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2536 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2537 result
= (double) ((arg1
)->y
);
2539 resultobj
= SWIG_FromDouble((double)result
);
2546 static PyObject
*_wrap_new_RealPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2547 PyObject
*resultobj
;
2548 double arg1
= (double) 0.0 ;
2549 double arg2
= (double) 0.0 ;
2550 wxRealPoint
*result
;
2551 PyObject
* obj0
= 0 ;
2552 PyObject
* obj1
= 0 ;
2554 (char *) "x",(char *) "y", NULL
2557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_RealPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
2559 arg1
= (double) SWIG_AsDouble(obj0
);
2560 if (PyErr_Occurred()) SWIG_fail
;
2563 arg2
= (double) SWIG_AsDouble(obj1
);
2564 if (PyErr_Occurred()) SWIG_fail
;
2567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2568 result
= (wxRealPoint
*)new wxRealPoint(arg1
,arg2
);
2570 wxPyEndAllowThreads(__tstate
);
2571 if (PyErr_Occurred()) SWIG_fail
;
2573 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRealPoint
, 1);
2580 static PyObject
*_wrap_delete_RealPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2581 PyObject
*resultobj
;
2582 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2583 PyObject
* obj0
= 0 ;
2585 (char *) "self", NULL
2588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_RealPoint",kwnames
,&obj0
)) goto fail
;
2589 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2590 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2595 wxPyEndAllowThreads(__tstate
);
2596 if (PyErr_Occurred()) SWIG_fail
;
2598 Py_INCREF(Py_None
); resultobj
= Py_None
;
2605 static PyObject
*_wrap_RealPoint___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2606 PyObject
*resultobj
;
2607 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2608 wxRealPoint
*arg2
= 0 ;
2611 PyObject
* obj0
= 0 ;
2612 PyObject
* obj1
= 0 ;
2614 (char *) "self",(char *) "pt", NULL
2617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
2618 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2619 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2622 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2626 result
= (bool)(arg1
)->operator ==((wxRealPoint
const &)*arg2
);
2628 wxPyEndAllowThreads(__tstate
);
2629 if (PyErr_Occurred()) SWIG_fail
;
2632 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2640 static PyObject
*_wrap_RealPoint___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2641 PyObject
*resultobj
;
2642 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2643 wxRealPoint
*arg2
= 0 ;
2646 PyObject
* obj0
= 0 ;
2647 PyObject
* obj1
= 0 ;
2649 (char *) "self",(char *) "pt", NULL
2652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
2653 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2654 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2657 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2661 result
= (bool)(arg1
)->operator !=((wxRealPoint
const &)*arg2
);
2663 wxPyEndAllowThreads(__tstate
);
2664 if (PyErr_Occurred()) SWIG_fail
;
2667 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2675 static PyObject
*_wrap_RealPoint___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2676 PyObject
*resultobj
;
2677 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2678 wxRealPoint
*arg2
= 0 ;
2681 PyObject
* obj0
= 0 ;
2682 PyObject
* obj1
= 0 ;
2684 (char *) "self",(char *) "pt", NULL
2687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
2688 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2689 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2692 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2696 result
= (arg1
)->operator +((wxRealPoint
const &)*arg2
);
2698 wxPyEndAllowThreads(__tstate
);
2699 if (PyErr_Occurred()) SWIG_fail
;
2702 wxRealPoint
* resultptr
;
2703 resultptr
= new wxRealPoint((wxRealPoint
&) result
);
2704 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRealPoint
, 1);
2712 static PyObject
*_wrap_RealPoint___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2713 PyObject
*resultobj
;
2714 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2715 wxRealPoint
*arg2
= 0 ;
2718 PyObject
* obj0
= 0 ;
2719 PyObject
* obj1
= 0 ;
2721 (char *) "self",(char *) "pt", NULL
2724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
2725 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2726 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2729 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2733 result
= (arg1
)->operator -((wxRealPoint
const &)*arg2
);
2735 wxPyEndAllowThreads(__tstate
);
2736 if (PyErr_Occurred()) SWIG_fail
;
2739 wxRealPoint
* resultptr
;
2740 resultptr
= new wxRealPoint((wxRealPoint
&) result
);
2741 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRealPoint
, 1);
2749 static PyObject
*_wrap_RealPoint_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2750 PyObject
*resultobj
;
2751 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2754 PyObject
* obj0
= 0 ;
2755 PyObject
* obj1
= 0 ;
2756 PyObject
* obj2
= 0 ;
2758 (char *) "self",(char *) "x",(char *) "y", NULL
2761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RealPoint_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2762 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2763 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2764 arg2
= (double) SWIG_AsDouble(obj1
);
2765 if (PyErr_Occurred()) SWIG_fail
;
2766 arg3
= (double) SWIG_AsDouble(obj2
);
2767 if (PyErr_Occurred()) SWIG_fail
;
2769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2770 wxRealPoint_Set(arg1
,arg2
,arg3
);
2772 wxPyEndAllowThreads(__tstate
);
2773 if (PyErr_Occurred()) SWIG_fail
;
2775 Py_INCREF(Py_None
); resultobj
= Py_None
;
2782 static PyObject
*_wrap_RealPoint_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2783 PyObject
*resultobj
;
2784 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2786 PyObject
* obj0
= 0 ;
2788 (char *) "self", NULL
2791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_Get",kwnames
,&obj0
)) goto fail
;
2792 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2793 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2796 result
= (PyObject
*)wxRealPoint_Get(arg1
);
2798 wxPyEndAllowThreads(__tstate
);
2799 if (PyErr_Occurred()) SWIG_fail
;
2808 static PyObject
* RealPoint_swigregister(PyObject
*self
, PyObject
*args
) {
2810 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2811 SWIG_TypeClientData(SWIGTYPE_p_wxRealPoint
, obj
);
2813 return Py_BuildValue((char *)"");
2815 static PyObject
*_wrap_Point_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2816 PyObject
*resultobj
;
2817 wxPoint
*arg1
= (wxPoint
*) 0 ;
2819 PyObject
* obj0
= 0 ;
2820 PyObject
* obj1
= 0 ;
2822 (char *) "self",(char *) "x", NULL
2825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
2826 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
2827 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2828 arg2
= (int) SWIG_AsInt(obj1
);
2829 if (PyErr_Occurred()) SWIG_fail
;
2830 if (arg1
) (arg1
)->x
= arg2
;
2832 Py_INCREF(Py_None
); resultobj
= Py_None
;
2839 static PyObject
*_wrap_Point_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2840 PyObject
*resultobj
;
2841 wxPoint
*arg1
= (wxPoint
*) 0 ;
2843 PyObject
* obj0
= 0 ;
2845 (char *) "self", NULL
2848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_x_get",kwnames
,&obj0
)) goto fail
;
2849 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
2850 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2851 result
= (int) ((arg1
)->x
);
2853 resultobj
= SWIG_FromInt((int)result
);
2860 static PyObject
*_wrap_Point_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2861 PyObject
*resultobj
;
2862 wxPoint
*arg1
= (wxPoint
*) 0 ;
2864 PyObject
* obj0
= 0 ;
2865 PyObject
* obj1
= 0 ;
2867 (char *) "self",(char *) "y", NULL
2870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
2871 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
2872 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2873 arg2
= (int) SWIG_AsInt(obj1
);
2874 if (PyErr_Occurred()) SWIG_fail
;
2875 if (arg1
) (arg1
)->y
= arg2
;
2877 Py_INCREF(Py_None
); resultobj
= Py_None
;
2884 static PyObject
*_wrap_Point_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2885 PyObject
*resultobj
;
2886 wxPoint
*arg1
= (wxPoint
*) 0 ;
2888 PyObject
* obj0
= 0 ;
2890 (char *) "self", NULL
2893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_y_get",kwnames
,&obj0
)) goto fail
;
2894 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
2895 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2896 result
= (int) ((arg1
)->y
);
2898 resultobj
= SWIG_FromInt((int)result
);
2905 static PyObject
*_wrap_new_Point(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2906 PyObject
*resultobj
;
2907 int arg1
= (int) 0 ;
2908 int arg2
= (int) 0 ;
2910 PyObject
* obj0
= 0 ;
2911 PyObject
* obj1
= 0 ;
2913 (char *) "x",(char *) "y", NULL
2916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Point",kwnames
,&obj0
,&obj1
)) goto fail
;
2918 arg1
= (int) SWIG_AsInt(obj0
);
2919 if (PyErr_Occurred()) SWIG_fail
;
2922 arg2
= (int) SWIG_AsInt(obj1
);
2923 if (PyErr_Occurred()) SWIG_fail
;
2926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2927 result
= (wxPoint
*)new wxPoint(arg1
,arg2
);
2929 wxPyEndAllowThreads(__tstate
);
2930 if (PyErr_Occurred()) SWIG_fail
;
2932 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 1);
2939 static PyObject
*_wrap_delete_Point(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2940 PyObject
*resultobj
;
2941 wxPoint
*arg1
= (wxPoint
*) 0 ;
2942 PyObject
* obj0
= 0 ;
2944 (char *) "self", NULL
2947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Point",kwnames
,&obj0
)) goto fail
;
2948 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
2949 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2954 wxPyEndAllowThreads(__tstate
);
2955 if (PyErr_Occurred()) SWIG_fail
;
2957 Py_INCREF(Py_None
); resultobj
= Py_None
;
2964 static PyObject
*_wrap_Point___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2965 PyObject
*resultobj
;
2966 wxPoint
*arg1
= (wxPoint
*) 0 ;
2970 PyObject
* obj0
= 0 ;
2971 PyObject
* obj1
= 0 ;
2973 (char *) "self",(char *) "pt", NULL
2976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
2977 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
2978 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2981 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2985 result
= (bool)(arg1
)->operator ==((wxPoint
const &)*arg2
);
2987 wxPyEndAllowThreads(__tstate
);
2988 if (PyErr_Occurred()) SWIG_fail
;
2991 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2999 static PyObject
*_wrap_Point___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3000 PyObject
*resultobj
;
3001 wxPoint
*arg1
= (wxPoint
*) 0 ;
3005 PyObject
* obj0
= 0 ;
3006 PyObject
* obj1
= 0 ;
3008 (char *) "self",(char *) "pt", NULL
3011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
3012 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3013 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3016 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3020 result
= (bool)(arg1
)->operator !=((wxPoint
const &)*arg2
);
3022 wxPyEndAllowThreads(__tstate
);
3023 if (PyErr_Occurred()) SWIG_fail
;
3026 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3034 static PyObject
*_wrap_Point___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3035 PyObject
*resultobj
;
3036 wxPoint
*arg1
= (wxPoint
*) 0 ;
3040 PyObject
* obj0
= 0 ;
3041 PyObject
* obj1
= 0 ;
3043 (char *) "self",(char *) "pt", NULL
3046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
3047 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3048 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3051 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3055 result
= (arg1
)->operator +((wxPoint
const &)*arg2
);
3057 wxPyEndAllowThreads(__tstate
);
3058 if (PyErr_Occurred()) SWIG_fail
;
3061 wxPoint
* resultptr
;
3062 resultptr
= new wxPoint((wxPoint
&) result
);
3063 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3071 static PyObject
*_wrap_Point___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3072 PyObject
*resultobj
;
3073 wxPoint
*arg1
= (wxPoint
*) 0 ;
3077 PyObject
* obj0
= 0 ;
3078 PyObject
* obj1
= 0 ;
3080 (char *) "self",(char *) "pt", NULL
3083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
3084 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3085 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3088 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3092 result
= (arg1
)->operator -((wxPoint
const &)*arg2
);
3094 wxPyEndAllowThreads(__tstate
);
3095 if (PyErr_Occurred()) SWIG_fail
;
3098 wxPoint
* resultptr
;
3099 resultptr
= new wxPoint((wxPoint
&) result
);
3100 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3108 static PyObject
*_wrap_Point___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3109 PyObject
*resultobj
;
3110 wxPoint
*arg1
= (wxPoint
*) 0 ;
3114 PyObject
* obj0
= 0 ;
3115 PyObject
* obj1
= 0 ;
3117 (char *) "self",(char *) "pt", NULL
3120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
3121 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3122 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3125 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3130 wxPoint
&_result_ref
= (arg1
)->operator +=((wxPoint
const &)*arg2
);
3131 result
= (wxPoint
*) &_result_ref
;
3134 wxPyEndAllowThreads(__tstate
);
3135 if (PyErr_Occurred()) SWIG_fail
;
3137 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
3144 static PyObject
*_wrap_Point___isub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3145 PyObject
*resultobj
;
3146 wxPoint
*arg1
= (wxPoint
*) 0 ;
3150 PyObject
* obj0
= 0 ;
3151 PyObject
* obj1
= 0 ;
3153 (char *) "self",(char *) "pt", NULL
3156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
3157 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3158 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3161 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3166 wxPoint
&_result_ref
= (arg1
)->operator -=((wxPoint
const &)*arg2
);
3167 result
= (wxPoint
*) &_result_ref
;
3170 wxPyEndAllowThreads(__tstate
);
3171 if (PyErr_Occurred()) SWIG_fail
;
3173 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
3180 static PyObject
*_wrap_Point_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3181 PyObject
*resultobj
;
3182 wxPoint
*arg1
= (wxPoint
*) 0 ;
3185 PyObject
* obj0
= 0 ;
3186 PyObject
* obj1
= 0 ;
3187 PyObject
* obj2
= 0 ;
3189 (char *) "self",(char *) "x",(char *) "y", NULL
3192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Point_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3193 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3194 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3195 arg2
= (long) SWIG_AsLong(obj1
);
3196 if (PyErr_Occurred()) SWIG_fail
;
3197 arg3
= (long) SWIG_AsLong(obj2
);
3198 if (PyErr_Occurred()) SWIG_fail
;
3200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3201 wxPoint_Set(arg1
,arg2
,arg3
);
3203 wxPyEndAllowThreads(__tstate
);
3204 if (PyErr_Occurred()) SWIG_fail
;
3206 Py_INCREF(Py_None
); resultobj
= Py_None
;
3213 static PyObject
*_wrap_Point_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3214 PyObject
*resultobj
;
3215 wxPoint
*arg1
= (wxPoint
*) 0 ;
3217 PyObject
* obj0
= 0 ;
3219 (char *) "self", NULL
3222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_Get",kwnames
,&obj0
)) goto fail
;
3223 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3224 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3227 result
= (PyObject
*)wxPoint_Get(arg1
);
3229 wxPyEndAllowThreads(__tstate
);
3230 if (PyErr_Occurred()) SWIG_fail
;
3239 static PyObject
* Point_swigregister(PyObject
*self
, PyObject
*args
) {
3241 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3242 SWIG_TypeClientData(SWIGTYPE_p_wxPoint
, obj
);
3244 return Py_BuildValue((char *)"");
3246 static PyObject
*_wrap_new_Rect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3247 PyObject
*resultobj
;
3248 int arg1
= (int) 0 ;
3249 int arg2
= (int) 0 ;
3250 int arg3
= (int) 0 ;
3251 int arg4
= (int) 0 ;
3253 PyObject
* obj0
= 0 ;
3254 PyObject
* obj1
= 0 ;
3255 PyObject
* obj2
= 0 ;
3256 PyObject
* obj3
= 0 ;
3258 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
3261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Rect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3263 arg1
= (int) SWIG_AsInt(obj0
);
3264 if (PyErr_Occurred()) SWIG_fail
;
3267 arg2
= (int) SWIG_AsInt(obj1
);
3268 if (PyErr_Occurred()) SWIG_fail
;
3271 arg3
= (int) SWIG_AsInt(obj2
);
3272 if (PyErr_Occurred()) SWIG_fail
;
3275 arg4
= (int) SWIG_AsInt(obj3
);
3276 if (PyErr_Occurred()) SWIG_fail
;
3279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3280 result
= (wxRect
*)new wxRect(arg1
,arg2
,arg3
,arg4
);
3282 wxPyEndAllowThreads(__tstate
);
3283 if (PyErr_Occurred()) SWIG_fail
;
3285 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
3292 static PyObject
*_wrap_new_RectPP(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3293 PyObject
*resultobj
;
3299 PyObject
* obj0
= 0 ;
3300 PyObject
* obj1
= 0 ;
3302 (char *) "topLeft",(char *) "bottomRight", NULL
3305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RectPP",kwnames
,&obj0
,&obj1
)) goto fail
;
3308 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
3312 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3316 result
= (wxRect
*)new wxRect((wxPoint
const &)*arg1
,(wxPoint
const &)*arg2
);
3318 wxPyEndAllowThreads(__tstate
);
3319 if (PyErr_Occurred()) SWIG_fail
;
3321 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
3328 static PyObject
*_wrap_new_RectPS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3329 PyObject
*resultobj
;
3335 PyObject
* obj0
= 0 ;
3336 PyObject
* obj1
= 0 ;
3338 (char *) "pos",(char *) "size", NULL
3341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RectPS",kwnames
,&obj0
,&obj1
)) goto fail
;
3344 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
3348 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3352 result
= (wxRect
*)new wxRect((wxPoint
const &)*arg1
,(wxSize
const &)*arg2
);
3354 wxPyEndAllowThreads(__tstate
);
3355 if (PyErr_Occurred()) SWIG_fail
;
3357 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
3364 static PyObject
*_wrap_delete_Rect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3365 PyObject
*resultobj
;
3366 wxRect
*arg1
= (wxRect
*) 0 ;
3367 PyObject
* obj0
= 0 ;
3369 (char *) "self", NULL
3372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Rect",kwnames
,&obj0
)) goto fail
;
3373 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3374 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3379 wxPyEndAllowThreads(__tstate
);
3380 if (PyErr_Occurred()) SWIG_fail
;
3382 Py_INCREF(Py_None
); resultobj
= Py_None
;
3389 static PyObject
*_wrap_Rect_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3390 PyObject
*resultobj
;
3391 wxRect
*arg1
= (wxRect
*) 0 ;
3393 PyObject
* obj0
= 0 ;
3395 (char *) "self", NULL
3398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetX",kwnames
,&obj0
)) goto fail
;
3399 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3400 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3403 result
= (int)((wxRect
const *)arg1
)->GetX();
3405 wxPyEndAllowThreads(__tstate
);
3406 if (PyErr_Occurred()) SWIG_fail
;
3408 resultobj
= SWIG_FromInt((int)result
);
3415 static PyObject
*_wrap_Rect_SetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3416 PyObject
*resultobj
;
3417 wxRect
*arg1
= (wxRect
*) 0 ;
3419 PyObject
* obj0
= 0 ;
3420 PyObject
* obj1
= 0 ;
3422 (char *) "self",(char *) "x", NULL
3425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetX",kwnames
,&obj0
,&obj1
)) goto fail
;
3426 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3427 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3428 arg2
= (int) SWIG_AsInt(obj1
);
3429 if (PyErr_Occurred()) SWIG_fail
;
3431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3434 wxPyEndAllowThreads(__tstate
);
3435 if (PyErr_Occurred()) SWIG_fail
;
3437 Py_INCREF(Py_None
); resultobj
= Py_None
;
3444 static PyObject
*_wrap_Rect_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3445 PyObject
*resultobj
;
3446 wxRect
*arg1
= (wxRect
*) 0 ;
3448 PyObject
* obj0
= 0 ;
3450 (char *) "self", NULL
3453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetY",kwnames
,&obj0
)) goto fail
;
3454 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3455 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3458 result
= (int)(arg1
)->GetY();
3460 wxPyEndAllowThreads(__tstate
);
3461 if (PyErr_Occurred()) SWIG_fail
;
3463 resultobj
= SWIG_FromInt((int)result
);
3470 static PyObject
*_wrap_Rect_SetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3471 PyObject
*resultobj
;
3472 wxRect
*arg1
= (wxRect
*) 0 ;
3474 PyObject
* obj0
= 0 ;
3475 PyObject
* obj1
= 0 ;
3477 (char *) "self",(char *) "y", NULL
3480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetY",kwnames
,&obj0
,&obj1
)) goto fail
;
3481 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3482 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3483 arg2
= (int) SWIG_AsInt(obj1
);
3484 if (PyErr_Occurred()) SWIG_fail
;
3486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3489 wxPyEndAllowThreads(__tstate
);
3490 if (PyErr_Occurred()) SWIG_fail
;
3492 Py_INCREF(Py_None
); resultobj
= Py_None
;
3499 static PyObject
*_wrap_Rect_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3500 PyObject
*resultobj
;
3501 wxRect
*arg1
= (wxRect
*) 0 ;
3503 PyObject
* obj0
= 0 ;
3505 (char *) "self", NULL
3508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetWidth",kwnames
,&obj0
)) goto fail
;
3509 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3510 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3513 result
= (int)((wxRect
const *)arg1
)->GetWidth();
3515 wxPyEndAllowThreads(__tstate
);
3516 if (PyErr_Occurred()) SWIG_fail
;
3518 resultobj
= SWIG_FromInt((int)result
);
3525 static PyObject
*_wrap_Rect_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3526 PyObject
*resultobj
;
3527 wxRect
*arg1
= (wxRect
*) 0 ;
3529 PyObject
* obj0
= 0 ;
3530 PyObject
* obj1
= 0 ;
3532 (char *) "self",(char *) "w", NULL
3535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
3536 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3537 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3538 arg2
= (int) SWIG_AsInt(obj1
);
3539 if (PyErr_Occurred()) SWIG_fail
;
3541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3542 (arg1
)->SetWidth(arg2
);
3544 wxPyEndAllowThreads(__tstate
);
3545 if (PyErr_Occurred()) SWIG_fail
;
3547 Py_INCREF(Py_None
); resultobj
= Py_None
;
3554 static PyObject
*_wrap_Rect_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3555 PyObject
*resultobj
;
3556 wxRect
*arg1
= (wxRect
*) 0 ;
3558 PyObject
* obj0
= 0 ;
3560 (char *) "self", NULL
3563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetHeight",kwnames
,&obj0
)) goto fail
;
3564 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3565 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3568 result
= (int)((wxRect
const *)arg1
)->GetHeight();
3570 wxPyEndAllowThreads(__tstate
);
3571 if (PyErr_Occurred()) SWIG_fail
;
3573 resultobj
= SWIG_FromInt((int)result
);
3580 static PyObject
*_wrap_Rect_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3581 PyObject
*resultobj
;
3582 wxRect
*arg1
= (wxRect
*) 0 ;
3584 PyObject
* obj0
= 0 ;
3585 PyObject
* obj1
= 0 ;
3587 (char *) "self",(char *) "h", NULL
3590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
3591 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3592 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3593 arg2
= (int) SWIG_AsInt(obj1
);
3594 if (PyErr_Occurred()) SWIG_fail
;
3596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3597 (arg1
)->SetHeight(arg2
);
3599 wxPyEndAllowThreads(__tstate
);
3600 if (PyErr_Occurred()) SWIG_fail
;
3602 Py_INCREF(Py_None
); resultobj
= Py_None
;
3609 static PyObject
*_wrap_Rect_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3610 PyObject
*resultobj
;
3611 wxRect
*arg1
= (wxRect
*) 0 ;
3613 PyObject
* obj0
= 0 ;
3615 (char *) "self", NULL
3618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetPosition",kwnames
,&obj0
)) goto fail
;
3619 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3620 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3623 result
= ((wxRect
const *)arg1
)->GetPosition();
3625 wxPyEndAllowThreads(__tstate
);
3626 if (PyErr_Occurred()) SWIG_fail
;
3629 wxPoint
* resultptr
;
3630 resultptr
= new wxPoint((wxPoint
&) result
);
3631 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3639 static PyObject
*_wrap_Rect_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3640 PyObject
*resultobj
;
3641 wxRect
*arg1
= (wxRect
*) 0 ;
3644 PyObject
* obj0
= 0 ;
3645 PyObject
* obj1
= 0 ;
3647 (char *) "self",(char *) "p", NULL
3650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
3651 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3652 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3655 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3659 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
3661 wxPyEndAllowThreads(__tstate
);
3662 if (PyErr_Occurred()) SWIG_fail
;
3664 Py_INCREF(Py_None
); resultobj
= Py_None
;
3671 static PyObject
*_wrap_Rect_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3672 PyObject
*resultobj
;
3673 wxRect
*arg1
= (wxRect
*) 0 ;
3675 PyObject
* obj0
= 0 ;
3677 (char *) "self", NULL
3680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetSize",kwnames
,&obj0
)) goto fail
;
3681 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3682 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3685 result
= ((wxRect
const *)arg1
)->GetSize();
3687 wxPyEndAllowThreads(__tstate
);
3688 if (PyErr_Occurred()) SWIG_fail
;
3692 resultptr
= new wxSize((wxSize
&) result
);
3693 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
3701 static PyObject
*_wrap_Rect_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3702 PyObject
*resultobj
;
3703 wxRect
*arg1
= (wxRect
*) 0 ;
3706 PyObject
* obj0
= 0 ;
3707 PyObject
* obj1
= 0 ;
3709 (char *) "self",(char *) "s", NULL
3712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
3713 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3714 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3717 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3721 (arg1
)->SetSize((wxSize
const &)*arg2
);
3723 wxPyEndAllowThreads(__tstate
);
3724 if (PyErr_Occurred()) SWIG_fail
;
3726 Py_INCREF(Py_None
); resultobj
= Py_None
;
3733 static PyObject
*_wrap_Rect_GetTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3734 PyObject
*resultobj
;
3735 wxRect
*arg1
= (wxRect
*) 0 ;
3737 PyObject
* obj0
= 0 ;
3739 (char *) "self", NULL
3742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetTopLeft",kwnames
,&obj0
)) goto fail
;
3743 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3744 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3747 result
= ((wxRect
const *)arg1
)->GetTopLeft();
3749 wxPyEndAllowThreads(__tstate
);
3750 if (PyErr_Occurred()) SWIG_fail
;
3753 wxPoint
* resultptr
;
3754 resultptr
= new wxPoint((wxPoint
&) result
);
3755 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3763 static PyObject
*_wrap_Rect_SetTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3764 PyObject
*resultobj
;
3765 wxRect
*arg1
= (wxRect
*) 0 ;
3768 PyObject
* obj0
= 0 ;
3769 PyObject
* obj1
= 0 ;
3771 (char *) "self",(char *) "p", NULL
3774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
3775 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3776 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3779 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3783 (arg1
)->SetTopLeft((wxPoint
const &)*arg2
);
3785 wxPyEndAllowThreads(__tstate
);
3786 if (PyErr_Occurred()) SWIG_fail
;
3788 Py_INCREF(Py_None
); resultobj
= Py_None
;
3795 static PyObject
*_wrap_Rect_GetBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3796 PyObject
*resultobj
;
3797 wxRect
*arg1
= (wxRect
*) 0 ;
3799 PyObject
* obj0
= 0 ;
3801 (char *) "self", NULL
3804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetBottomRight",kwnames
,&obj0
)) goto fail
;
3805 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3806 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3809 result
= ((wxRect
const *)arg1
)->GetBottomRight();
3811 wxPyEndAllowThreads(__tstate
);
3812 if (PyErr_Occurred()) SWIG_fail
;
3815 wxPoint
* resultptr
;
3816 resultptr
= new wxPoint((wxPoint
&) result
);
3817 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3825 static PyObject
*_wrap_Rect_SetBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3826 PyObject
*resultobj
;
3827 wxRect
*arg1
= (wxRect
*) 0 ;
3830 PyObject
* obj0
= 0 ;
3831 PyObject
* obj1
= 0 ;
3833 (char *) "self",(char *) "p", NULL
3836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
3837 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3838 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3841 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3845 (arg1
)->SetBottomRight((wxPoint
const &)*arg2
);
3847 wxPyEndAllowThreads(__tstate
);
3848 if (PyErr_Occurred()) SWIG_fail
;
3850 Py_INCREF(Py_None
); resultobj
= Py_None
;
3857 static PyObject
*_wrap_Rect_GetLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3858 PyObject
*resultobj
;
3859 wxRect
*arg1
= (wxRect
*) 0 ;
3861 PyObject
* obj0
= 0 ;
3863 (char *) "self", NULL
3866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetLeft",kwnames
,&obj0
)) goto fail
;
3867 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3868 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3871 result
= (int)((wxRect
const *)arg1
)->GetLeft();
3873 wxPyEndAllowThreads(__tstate
);
3874 if (PyErr_Occurred()) SWIG_fail
;
3876 resultobj
= SWIG_FromInt((int)result
);
3883 static PyObject
*_wrap_Rect_GetTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3884 PyObject
*resultobj
;
3885 wxRect
*arg1
= (wxRect
*) 0 ;
3887 PyObject
* obj0
= 0 ;
3889 (char *) "self", NULL
3892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetTop",kwnames
,&obj0
)) goto fail
;
3893 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3894 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3897 result
= (int)((wxRect
const *)arg1
)->GetTop();
3899 wxPyEndAllowThreads(__tstate
);
3900 if (PyErr_Occurred()) SWIG_fail
;
3902 resultobj
= SWIG_FromInt((int)result
);
3909 static PyObject
*_wrap_Rect_GetBottom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3910 PyObject
*resultobj
;
3911 wxRect
*arg1
= (wxRect
*) 0 ;
3913 PyObject
* obj0
= 0 ;
3915 (char *) "self", NULL
3918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetBottom",kwnames
,&obj0
)) goto fail
;
3919 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3923 result
= (int)((wxRect
const *)arg1
)->GetBottom();
3925 wxPyEndAllowThreads(__tstate
);
3926 if (PyErr_Occurred()) SWIG_fail
;
3928 resultobj
= SWIG_FromInt((int)result
);
3935 static PyObject
*_wrap_Rect_GetRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3936 PyObject
*resultobj
;
3937 wxRect
*arg1
= (wxRect
*) 0 ;
3939 PyObject
* obj0
= 0 ;
3941 (char *) "self", NULL
3944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetRight",kwnames
,&obj0
)) goto fail
;
3945 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3946 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3949 result
= (int)((wxRect
const *)arg1
)->GetRight();
3951 wxPyEndAllowThreads(__tstate
);
3952 if (PyErr_Occurred()) SWIG_fail
;
3954 resultobj
= SWIG_FromInt((int)result
);
3961 static PyObject
*_wrap_Rect_SetLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3962 PyObject
*resultobj
;
3963 wxRect
*arg1
= (wxRect
*) 0 ;
3965 PyObject
* obj0
= 0 ;
3966 PyObject
* obj1
= 0 ;
3968 (char *) "self",(char *) "left", NULL
3971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
3972 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3973 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3974 arg2
= (int) SWIG_AsInt(obj1
);
3975 if (PyErr_Occurred()) SWIG_fail
;
3977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3978 (arg1
)->SetLeft(arg2
);
3980 wxPyEndAllowThreads(__tstate
);
3981 if (PyErr_Occurred()) SWIG_fail
;
3983 Py_INCREF(Py_None
); resultobj
= Py_None
;
3990 static PyObject
*_wrap_Rect_SetRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3991 PyObject
*resultobj
;
3992 wxRect
*arg1
= (wxRect
*) 0 ;
3994 PyObject
* obj0
= 0 ;
3995 PyObject
* obj1
= 0 ;
3997 (char *) "self",(char *) "right", NULL
4000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetRight",kwnames
,&obj0
,&obj1
)) goto fail
;
4001 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4002 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4003 arg2
= (int) SWIG_AsInt(obj1
);
4004 if (PyErr_Occurred()) SWIG_fail
;
4006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4007 (arg1
)->SetRight(arg2
);
4009 wxPyEndAllowThreads(__tstate
);
4010 if (PyErr_Occurred()) SWIG_fail
;
4012 Py_INCREF(Py_None
); resultobj
= Py_None
;
4019 static PyObject
*_wrap_Rect_SetTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4020 PyObject
*resultobj
;
4021 wxRect
*arg1
= (wxRect
*) 0 ;
4023 PyObject
* obj0
= 0 ;
4024 PyObject
* obj1
= 0 ;
4026 (char *) "self",(char *) "top", NULL
4029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetTop",kwnames
,&obj0
,&obj1
)) goto fail
;
4030 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4031 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4032 arg2
= (int) SWIG_AsInt(obj1
);
4033 if (PyErr_Occurred()) SWIG_fail
;
4035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4036 (arg1
)->SetTop(arg2
);
4038 wxPyEndAllowThreads(__tstate
);
4039 if (PyErr_Occurred()) SWIG_fail
;
4041 Py_INCREF(Py_None
); resultobj
= Py_None
;
4048 static PyObject
*_wrap_Rect_SetBottom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4049 PyObject
*resultobj
;
4050 wxRect
*arg1
= (wxRect
*) 0 ;
4052 PyObject
* obj0
= 0 ;
4053 PyObject
* obj1
= 0 ;
4055 (char *) "self",(char *) "bottom", NULL
4058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetBottom",kwnames
,&obj0
,&obj1
)) goto fail
;
4059 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4060 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4061 arg2
= (int) SWIG_AsInt(obj1
);
4062 if (PyErr_Occurred()) SWIG_fail
;
4064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4065 (arg1
)->SetBottom(arg2
);
4067 wxPyEndAllowThreads(__tstate
);
4068 if (PyErr_Occurred()) SWIG_fail
;
4070 Py_INCREF(Py_None
); resultobj
= Py_None
;
4077 static PyObject
*_wrap_Rect_Inflate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4078 PyObject
*resultobj
;
4079 wxRect
*arg1
= (wxRect
*) 0 ;
4083 PyObject
* obj0
= 0 ;
4084 PyObject
* obj1
= 0 ;
4085 PyObject
* obj2
= 0 ;
4087 (char *) "self",(char *) "dx",(char *) "dy", NULL
4090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_Inflate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4091 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4092 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4093 arg2
= (int) SWIG_AsInt(obj1
);
4094 if (PyErr_Occurred()) SWIG_fail
;
4095 arg3
= (int) SWIG_AsInt(obj2
);
4096 if (PyErr_Occurred()) SWIG_fail
;
4098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4100 wxRect
&_result_ref
= (arg1
)->Inflate(arg2
,arg3
);
4101 result
= (wxRect
*) &_result_ref
;
4104 wxPyEndAllowThreads(__tstate
);
4105 if (PyErr_Occurred()) SWIG_fail
;
4107 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
4114 static PyObject
*_wrap_Rect_Deflate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4115 PyObject
*resultobj
;
4116 wxRect
*arg1
= (wxRect
*) 0 ;
4120 PyObject
* obj0
= 0 ;
4121 PyObject
* obj1
= 0 ;
4122 PyObject
* obj2
= 0 ;
4124 (char *) "self",(char *) "dx",(char *) "dy", NULL
4127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_Deflate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4128 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4129 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4130 arg2
= (int) SWIG_AsInt(obj1
);
4131 if (PyErr_Occurred()) SWIG_fail
;
4132 arg3
= (int) SWIG_AsInt(obj2
);
4133 if (PyErr_Occurred()) SWIG_fail
;
4135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4137 wxRect
&_result_ref
= (arg1
)->Deflate(arg2
,arg3
);
4138 result
= (wxRect
*) &_result_ref
;
4141 wxPyEndAllowThreads(__tstate
);
4142 if (PyErr_Occurred()) SWIG_fail
;
4144 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
4151 static PyObject
*_wrap_Rect_OffsetXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4152 PyObject
*resultobj
;
4153 wxRect
*arg1
= (wxRect
*) 0 ;
4156 PyObject
* obj0
= 0 ;
4157 PyObject
* obj1
= 0 ;
4158 PyObject
* obj2
= 0 ;
4160 (char *) "self",(char *) "dx",(char *) "dy", NULL
4163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_OffsetXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4164 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4165 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4166 arg2
= (int) SWIG_AsInt(obj1
);
4167 if (PyErr_Occurred()) SWIG_fail
;
4168 arg3
= (int) SWIG_AsInt(obj2
);
4169 if (PyErr_Occurred()) SWIG_fail
;
4171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4172 (arg1
)->Offset(arg2
,arg3
);
4174 wxPyEndAllowThreads(__tstate
);
4175 if (PyErr_Occurred()) SWIG_fail
;
4177 Py_INCREF(Py_None
); resultobj
= Py_None
;
4184 static PyObject
*_wrap_Rect_Offset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4185 PyObject
*resultobj
;
4186 wxRect
*arg1
= (wxRect
*) 0 ;
4189 PyObject
* obj0
= 0 ;
4190 PyObject
* obj1
= 0 ;
4192 (char *) "self",(char *) "pt", NULL
4195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Offset",kwnames
,&obj0
,&obj1
)) goto fail
;
4196 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4197 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4200 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4204 (arg1
)->Offset((wxPoint
const &)*arg2
);
4206 wxPyEndAllowThreads(__tstate
);
4207 if (PyErr_Occurred()) SWIG_fail
;
4209 Py_INCREF(Py_None
); resultobj
= Py_None
;
4216 static PyObject
*_wrap_Rect_Intersect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4217 PyObject
*resultobj
;
4218 wxRect
*arg1
= (wxRect
*) 0 ;
4222 PyObject
* obj0
= 0 ;
4223 PyObject
* obj1
= 0 ;
4225 (char *) "self",(char *) "rect", NULL
4228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Intersect",kwnames
,&obj0
,&obj1
)) goto fail
;
4229 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4230 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4233 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4238 wxRect
&_result_ref
= (arg1
)->Intersect((wxRect
const &)*arg2
);
4239 result
= (wxRect
*) &_result_ref
;
4242 wxPyEndAllowThreads(__tstate
);
4243 if (PyErr_Occurred()) SWIG_fail
;
4245 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
4252 static PyObject
*_wrap_Rect___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4253 PyObject
*resultobj
;
4254 wxRect
*arg1
= (wxRect
*) 0 ;
4258 PyObject
* obj0
= 0 ;
4259 PyObject
* obj1
= 0 ;
4261 (char *) "self",(char *) "rect", NULL
4264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
4265 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4266 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4269 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4273 result
= ((wxRect
const *)arg1
)->operator +((wxRect
const &)*arg2
);
4275 wxPyEndAllowThreads(__tstate
);
4276 if (PyErr_Occurred()) SWIG_fail
;
4280 resultptr
= new wxRect((wxRect
&) result
);
4281 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
4289 static PyObject
*_wrap_Rect___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4290 PyObject
*resultobj
;
4291 wxRect
*arg1
= (wxRect
*) 0 ;
4295 PyObject
* obj0
= 0 ;
4296 PyObject
* obj1
= 0 ;
4298 (char *) "self",(char *) "rect", NULL
4301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
4302 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4303 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4306 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4311 wxRect
&_result_ref
= (arg1
)->operator +=((wxRect
const &)*arg2
);
4312 result
= (wxRect
*) &_result_ref
;
4315 wxPyEndAllowThreads(__tstate
);
4316 if (PyErr_Occurred()) SWIG_fail
;
4318 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
4325 static PyObject
*_wrap_Rect___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4326 PyObject
*resultobj
;
4327 wxRect
*arg1
= (wxRect
*) 0 ;
4331 PyObject
* obj0
= 0 ;
4332 PyObject
* obj1
= 0 ;
4334 (char *) "self",(char *) "rect", NULL
4337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
4338 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4339 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4342 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4346 result
= (bool)((wxRect
const *)arg1
)->operator ==((wxRect
const &)*arg2
);
4348 wxPyEndAllowThreads(__tstate
);
4349 if (PyErr_Occurred()) SWIG_fail
;
4352 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4360 static PyObject
*_wrap_Rect___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4361 PyObject
*resultobj
;
4362 wxRect
*arg1
= (wxRect
*) 0 ;
4366 PyObject
* obj0
= 0 ;
4367 PyObject
* obj1
= 0 ;
4369 (char *) "self",(char *) "rect", NULL
4372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
4373 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4374 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4377 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4381 result
= (bool)((wxRect
const *)arg1
)->operator !=((wxRect
const &)*arg2
);
4383 wxPyEndAllowThreads(__tstate
);
4384 if (PyErr_Occurred()) SWIG_fail
;
4387 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4395 static PyObject
*_wrap_Rect_InsideXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4396 PyObject
*resultobj
;
4397 wxRect
*arg1
= (wxRect
*) 0 ;
4401 PyObject
* obj0
= 0 ;
4402 PyObject
* obj1
= 0 ;
4403 PyObject
* obj2
= 0 ;
4405 (char *) "self",(char *) "x",(char *) "y", NULL
4408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_InsideXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4409 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4410 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4411 arg2
= (int) SWIG_AsInt(obj1
);
4412 if (PyErr_Occurred()) SWIG_fail
;
4413 arg3
= (int) SWIG_AsInt(obj2
);
4414 if (PyErr_Occurred()) SWIG_fail
;
4416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4417 result
= (bool)((wxRect
const *)arg1
)->Inside(arg2
,arg3
);
4419 wxPyEndAllowThreads(__tstate
);
4420 if (PyErr_Occurred()) SWIG_fail
;
4423 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4431 static PyObject
*_wrap_Rect_Inside(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4432 PyObject
*resultobj
;
4433 wxRect
*arg1
= (wxRect
*) 0 ;
4437 PyObject
* obj0
= 0 ;
4438 PyObject
* obj1
= 0 ;
4440 (char *) "self",(char *) "pt", NULL
4443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Inside",kwnames
,&obj0
,&obj1
)) goto fail
;
4444 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4445 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4448 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4452 result
= (bool)((wxRect
const *)arg1
)->Inside((wxPoint
const &)*arg2
);
4454 wxPyEndAllowThreads(__tstate
);
4455 if (PyErr_Occurred()) SWIG_fail
;
4458 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4466 static PyObject
*_wrap_Rect_Intersects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4467 PyObject
*resultobj
;
4468 wxRect
*arg1
= (wxRect
*) 0 ;
4472 PyObject
* obj0
= 0 ;
4473 PyObject
* obj1
= 0 ;
4475 (char *) "self",(char *) "rect", NULL
4478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Intersects",kwnames
,&obj0
,&obj1
)) goto fail
;
4479 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4480 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4483 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4487 result
= (bool)((wxRect
const *)arg1
)->Intersects((wxRect
const &)*arg2
);
4489 wxPyEndAllowThreads(__tstate
);
4490 if (PyErr_Occurred()) SWIG_fail
;
4493 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4501 static PyObject
*_wrap_Rect_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4502 PyObject
*resultobj
;
4503 wxRect
*arg1
= (wxRect
*) 0 ;
4505 PyObject
* obj0
= 0 ;
4506 PyObject
* obj1
= 0 ;
4508 (char *) "self",(char *) "x", NULL
4511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4512 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4513 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4514 arg2
= (int) SWIG_AsInt(obj1
);
4515 if (PyErr_Occurred()) SWIG_fail
;
4516 if (arg1
) (arg1
)->x
= arg2
;
4518 Py_INCREF(Py_None
); resultobj
= Py_None
;
4525 static PyObject
*_wrap_Rect_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4526 PyObject
*resultobj
;
4527 wxRect
*arg1
= (wxRect
*) 0 ;
4529 PyObject
* obj0
= 0 ;
4531 (char *) "self", NULL
4534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_x_get",kwnames
,&obj0
)) goto fail
;
4535 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4536 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4537 result
= (int) ((arg1
)->x
);
4539 resultobj
= SWIG_FromInt((int)result
);
4546 static PyObject
*_wrap_Rect_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4547 PyObject
*resultobj
;
4548 wxRect
*arg1
= (wxRect
*) 0 ;
4550 PyObject
* obj0
= 0 ;
4551 PyObject
* obj1
= 0 ;
4553 (char *) "self",(char *) "y", NULL
4556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4557 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4558 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4559 arg2
= (int) SWIG_AsInt(obj1
);
4560 if (PyErr_Occurred()) SWIG_fail
;
4561 if (arg1
) (arg1
)->y
= arg2
;
4563 Py_INCREF(Py_None
); resultobj
= Py_None
;
4570 static PyObject
*_wrap_Rect_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4571 PyObject
*resultobj
;
4572 wxRect
*arg1
= (wxRect
*) 0 ;
4574 PyObject
* obj0
= 0 ;
4576 (char *) "self", NULL
4579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_y_get",kwnames
,&obj0
)) goto fail
;
4580 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4581 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4582 result
= (int) ((arg1
)->y
);
4584 resultobj
= SWIG_FromInt((int)result
);
4591 static PyObject
*_wrap_Rect_width_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4592 PyObject
*resultobj
;
4593 wxRect
*arg1
= (wxRect
*) 0 ;
4595 PyObject
* obj0
= 0 ;
4596 PyObject
* obj1
= 0 ;
4598 (char *) "self",(char *) "width", NULL
4601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4602 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4603 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4604 arg2
= (int) SWIG_AsInt(obj1
);
4605 if (PyErr_Occurred()) SWIG_fail
;
4606 if (arg1
) (arg1
)->width
= arg2
;
4608 Py_INCREF(Py_None
); resultobj
= Py_None
;
4615 static PyObject
*_wrap_Rect_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4616 PyObject
*resultobj
;
4617 wxRect
*arg1
= (wxRect
*) 0 ;
4619 PyObject
* obj0
= 0 ;
4621 (char *) "self", NULL
4624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_width_get",kwnames
,&obj0
)) goto fail
;
4625 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4626 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4627 result
= (int) ((arg1
)->width
);
4629 resultobj
= SWIG_FromInt((int)result
);
4636 static PyObject
*_wrap_Rect_height_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4637 PyObject
*resultobj
;
4638 wxRect
*arg1
= (wxRect
*) 0 ;
4640 PyObject
* obj0
= 0 ;
4641 PyObject
* obj1
= 0 ;
4643 (char *) "self",(char *) "height", NULL
4646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_height_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4647 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4648 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4649 arg2
= (int) SWIG_AsInt(obj1
);
4650 if (PyErr_Occurred()) SWIG_fail
;
4651 if (arg1
) (arg1
)->height
= arg2
;
4653 Py_INCREF(Py_None
); resultobj
= Py_None
;
4660 static PyObject
*_wrap_Rect_height_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4661 PyObject
*resultobj
;
4662 wxRect
*arg1
= (wxRect
*) 0 ;
4664 PyObject
* obj0
= 0 ;
4666 (char *) "self", NULL
4669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_height_get",kwnames
,&obj0
)) goto fail
;
4670 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4671 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4672 result
= (int) ((arg1
)->height
);
4674 resultobj
= SWIG_FromInt((int)result
);
4681 static PyObject
*_wrap_Rect_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4682 PyObject
*resultobj
;
4683 wxRect
*arg1
= (wxRect
*) 0 ;
4684 int arg2
= (int) 0 ;
4685 int arg3
= (int) 0 ;
4686 int arg4
= (int) 0 ;
4687 int arg5
= (int) 0 ;
4688 PyObject
* obj0
= 0 ;
4689 PyObject
* obj1
= 0 ;
4690 PyObject
* obj2
= 0 ;
4691 PyObject
* obj3
= 0 ;
4692 PyObject
* obj4
= 0 ;
4694 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
4697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Rect_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
4698 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4699 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4701 arg2
= (int) SWIG_AsInt(obj1
);
4702 if (PyErr_Occurred()) SWIG_fail
;
4705 arg3
= (int) SWIG_AsInt(obj2
);
4706 if (PyErr_Occurred()) SWIG_fail
;
4709 arg4
= (int) SWIG_AsInt(obj3
);
4710 if (PyErr_Occurred()) SWIG_fail
;
4713 arg5
= (int) SWIG_AsInt(obj4
);
4714 if (PyErr_Occurred()) SWIG_fail
;
4717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4718 wxRect_Set(arg1
,arg2
,arg3
,arg4
,arg5
);
4720 wxPyEndAllowThreads(__tstate
);
4721 if (PyErr_Occurred()) SWIG_fail
;
4723 Py_INCREF(Py_None
); resultobj
= Py_None
;
4730 static PyObject
*_wrap_Rect_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4731 PyObject
*resultobj
;
4732 wxRect
*arg1
= (wxRect
*) 0 ;
4734 PyObject
* obj0
= 0 ;
4736 (char *) "self", NULL
4739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_Get",kwnames
,&obj0
)) goto fail
;
4740 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4741 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4744 result
= (PyObject
*)wxRect_Get(arg1
);
4746 wxPyEndAllowThreads(__tstate
);
4747 if (PyErr_Occurred()) SWIG_fail
;
4756 static PyObject
* Rect_swigregister(PyObject
*self
, PyObject
*args
) {
4758 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4759 SWIG_TypeClientData(SWIGTYPE_p_wxRect
, obj
);
4761 return Py_BuildValue((char *)"");
4763 static PyObject
*_wrap_IntersectRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4764 PyObject
*resultobj
;
4765 wxRect
*arg1
= (wxRect
*) 0 ;
4766 wxRect
*arg2
= (wxRect
*) 0 ;
4768 PyObject
* obj0
= 0 ;
4769 PyObject
* obj1
= 0 ;
4771 (char *) "r1",(char *) "r2", NULL
4774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IntersectRect",kwnames
,&obj0
,&obj1
)) goto fail
;
4775 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4776 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4777 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRect
,
4778 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4781 result
= (PyObject
*)wxIntersectRect(arg1
,arg2
);
4783 wxPyEndAllowThreads(__tstate
);
4784 if (PyErr_Occurred()) SWIG_fail
;
4793 static PyObject
*_wrap_new_Point2D(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4794 PyObject
*resultobj
;
4795 double arg1
= (double) 0.0 ;
4796 double arg2
= (double) 0.0 ;
4798 PyObject
* obj0
= 0 ;
4799 PyObject
* obj1
= 0 ;
4801 (char *) "x",(char *) "y", NULL
4804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Point2D",kwnames
,&obj0
,&obj1
)) goto fail
;
4806 arg1
= (double) SWIG_AsDouble(obj0
);
4807 if (PyErr_Occurred()) SWIG_fail
;
4810 arg2
= (double) SWIG_AsDouble(obj1
);
4811 if (PyErr_Occurred()) SWIG_fail
;
4814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4815 result
= (wxPoint2D
*)new wxPoint2D(arg1
,arg2
);
4817 wxPyEndAllowThreads(__tstate
);
4818 if (PyErr_Occurred()) SWIG_fail
;
4820 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
4827 static PyObject
*_wrap_new_Point2DCopy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4828 PyObject
*resultobj
;
4829 wxPoint2D
*arg1
= 0 ;
4832 PyObject
* obj0
= 0 ;
4837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Point2DCopy",kwnames
,&obj0
)) goto fail
;
4840 if ( ! wxPoint2D_helper(obj0
, &arg1
)) SWIG_fail
;
4843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4844 result
= (wxPoint2D
*)new wxPoint2D((wxPoint2D
const &)*arg1
);
4846 wxPyEndAllowThreads(__tstate
);
4847 if (PyErr_Occurred()) SWIG_fail
;
4849 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
4856 static PyObject
*_wrap_new_Point2DFromPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4857 PyObject
*resultobj
;
4861 PyObject
* obj0
= 0 ;
4866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Point2DFromPoint",kwnames
,&obj0
)) goto fail
;
4869 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
4872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4873 result
= (wxPoint2D
*)new wxPoint2D((wxPoint
const &)*arg1
);
4875 wxPyEndAllowThreads(__tstate
);
4876 if (PyErr_Occurred()) SWIG_fail
;
4878 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
4885 static PyObject
*_wrap_Point2D_GetFloor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4886 PyObject
*resultobj
;
4887 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4888 int *arg2
= (int *) 0 ;
4889 int *arg3
= (int *) 0 ;
4892 PyObject
* obj0
= 0 ;
4894 (char *) "self", NULL
4899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetFloor",kwnames
,&obj0
)) goto fail
;
4900 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
4901 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4904 ((wxPoint2D
const *)arg1
)->GetFloor(arg2
,arg3
);
4906 wxPyEndAllowThreads(__tstate
);
4907 if (PyErr_Occurred()) SWIG_fail
;
4909 Py_INCREF(Py_None
); resultobj
= Py_None
;
4911 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4912 resultobj
= t_output_helper(resultobj
,o
);
4915 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
4916 resultobj
= t_output_helper(resultobj
,o
);
4924 static PyObject
*_wrap_Point2D_GetRounded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4925 PyObject
*resultobj
;
4926 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4927 int *arg2
= (int *) 0 ;
4928 int *arg3
= (int *) 0 ;
4931 PyObject
* obj0
= 0 ;
4933 (char *) "self", NULL
4938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetRounded",kwnames
,&obj0
)) goto fail
;
4939 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
4940 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4943 ((wxPoint2D
const *)arg1
)->GetRounded(arg2
,arg3
);
4945 wxPyEndAllowThreads(__tstate
);
4946 if (PyErr_Occurred()) SWIG_fail
;
4948 Py_INCREF(Py_None
); resultobj
= Py_None
;
4950 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4951 resultobj
= t_output_helper(resultobj
,o
);
4954 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
4955 resultobj
= t_output_helper(resultobj
,o
);
4963 static PyObject
*_wrap_Point2D_GetVectorLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4964 PyObject
*resultobj
;
4965 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4967 PyObject
* obj0
= 0 ;
4969 (char *) "self", NULL
4972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetVectorLength",kwnames
,&obj0
)) goto fail
;
4973 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
4974 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4977 result
= (double)((wxPoint2D
const *)arg1
)->GetVectorLength();
4979 wxPyEndAllowThreads(__tstate
);
4980 if (PyErr_Occurred()) SWIG_fail
;
4982 resultobj
= SWIG_FromDouble((double)result
);
4989 static PyObject
*_wrap_Point2D_GetVectorAngle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4990 PyObject
*resultobj
;
4991 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4993 PyObject
* obj0
= 0 ;
4995 (char *) "self", NULL
4998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetVectorAngle",kwnames
,&obj0
)) goto fail
;
4999 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5000 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5003 result
= (double)((wxPoint2D
const *)arg1
)->GetVectorAngle();
5005 wxPyEndAllowThreads(__tstate
);
5006 if (PyErr_Occurred()) SWIG_fail
;
5008 resultobj
= SWIG_FromDouble((double)result
);
5015 static PyObject
*_wrap_Point2D_SetVectorLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5016 PyObject
*resultobj
;
5017 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5019 PyObject
* obj0
= 0 ;
5020 PyObject
* obj1
= 0 ;
5022 (char *) "self",(char *) "length", NULL
5025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_SetVectorLength",kwnames
,&obj0
,&obj1
)) goto fail
;
5026 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5027 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5028 arg2
= (double) SWIG_AsDouble(obj1
);
5029 if (PyErr_Occurred()) SWIG_fail
;
5031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5032 (arg1
)->SetVectorLength(arg2
);
5034 wxPyEndAllowThreads(__tstate
);
5035 if (PyErr_Occurred()) SWIG_fail
;
5037 Py_INCREF(Py_None
); resultobj
= Py_None
;
5044 static PyObject
*_wrap_Point2D_SetVectorAngle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5045 PyObject
*resultobj
;
5046 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5048 PyObject
* obj0
= 0 ;
5049 PyObject
* obj1
= 0 ;
5051 (char *) "self",(char *) "degrees", NULL
5054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_SetVectorAngle",kwnames
,&obj0
,&obj1
)) goto fail
;
5055 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5056 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5057 arg2
= (double) SWIG_AsDouble(obj1
);
5058 if (PyErr_Occurred()) SWIG_fail
;
5060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5061 (arg1
)->SetVectorAngle(arg2
);
5063 wxPyEndAllowThreads(__tstate
);
5064 if (PyErr_Occurred()) SWIG_fail
;
5066 Py_INCREF(Py_None
); resultobj
= Py_None
;
5073 static PyObject
*_wrap_Point2D_GetDistance(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5074 PyObject
*resultobj
;
5075 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5076 wxPoint2D
*arg2
= 0 ;
5079 PyObject
* obj0
= 0 ;
5080 PyObject
* obj1
= 0 ;
5082 (char *) "self",(char *) "pt", NULL
5085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDistance",kwnames
,&obj0
,&obj1
)) goto fail
;
5086 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5087 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5090 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5094 result
= (double)((wxPoint2D
const *)arg1
)->GetDistance((wxPoint2D
const &)*arg2
);
5096 wxPyEndAllowThreads(__tstate
);
5097 if (PyErr_Occurred()) SWIG_fail
;
5099 resultobj
= SWIG_FromDouble((double)result
);
5106 static PyObject
*_wrap_Point2D_GetDistanceSquare(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5107 PyObject
*resultobj
;
5108 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5109 wxPoint2D
*arg2
= 0 ;
5112 PyObject
* obj0
= 0 ;
5113 PyObject
* obj1
= 0 ;
5115 (char *) "self",(char *) "pt", NULL
5118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDistanceSquare",kwnames
,&obj0
,&obj1
)) goto fail
;
5119 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5120 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5123 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5127 result
= (double)((wxPoint2D
const *)arg1
)->GetDistanceSquare((wxPoint2D
const &)*arg2
);
5129 wxPyEndAllowThreads(__tstate
);
5130 if (PyErr_Occurred()) SWIG_fail
;
5132 resultobj
= SWIG_FromDouble((double)result
);
5139 static PyObject
*_wrap_Point2D_GetDotProduct(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5140 PyObject
*resultobj
;
5141 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5142 wxPoint2D
*arg2
= 0 ;
5145 PyObject
* obj0
= 0 ;
5146 PyObject
* obj1
= 0 ;
5148 (char *) "self",(char *) "vec", NULL
5151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDotProduct",kwnames
,&obj0
,&obj1
)) goto fail
;
5152 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5153 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5156 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5160 result
= (double)((wxPoint2D
const *)arg1
)->GetDotProduct((wxPoint2D
const &)*arg2
);
5162 wxPyEndAllowThreads(__tstate
);
5163 if (PyErr_Occurred()) SWIG_fail
;
5165 resultobj
= SWIG_FromDouble((double)result
);
5172 static PyObject
*_wrap_Point2D_GetCrossProduct(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5173 PyObject
*resultobj
;
5174 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5175 wxPoint2D
*arg2
= 0 ;
5178 PyObject
* obj0
= 0 ;
5179 PyObject
* obj1
= 0 ;
5181 (char *) "self",(char *) "vec", NULL
5184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetCrossProduct",kwnames
,&obj0
,&obj1
)) goto fail
;
5185 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5186 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5189 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5193 result
= (double)((wxPoint2D
const *)arg1
)->GetCrossProduct((wxPoint2D
const &)*arg2
);
5195 wxPyEndAllowThreads(__tstate
);
5196 if (PyErr_Occurred()) SWIG_fail
;
5198 resultobj
= SWIG_FromDouble((double)result
);
5205 static PyObject
*_wrap_Point2D___neg__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5206 PyObject
*resultobj
;
5207 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5209 PyObject
* obj0
= 0 ;
5211 (char *) "self", NULL
5214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D___neg__",kwnames
,&obj0
)) goto fail
;
5215 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5216 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5219 result
= (arg1
)->operator -();
5221 wxPyEndAllowThreads(__tstate
);
5222 if (PyErr_Occurred()) SWIG_fail
;
5225 wxPoint2D
* resultptr
;
5226 resultptr
= new wxPoint2D((wxPoint2D
&) result
);
5227 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint2D
, 1);
5235 static PyObject
*_wrap_Point2D___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5236 PyObject
*resultobj
;
5237 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5238 wxPoint2D
*arg2
= 0 ;
5241 PyObject
* obj0
= 0 ;
5242 PyObject
* obj1
= 0 ;
5244 (char *) "self",(char *) "pt", NULL
5247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
5248 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5249 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5252 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5257 wxPoint2D
&_result_ref
= (arg1
)->operator +=((wxPoint2D
const &)*arg2
);
5258 result
= (wxPoint2D
*) &_result_ref
;
5261 wxPyEndAllowThreads(__tstate
);
5262 if (PyErr_Occurred()) SWIG_fail
;
5264 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 0);
5271 static PyObject
*_wrap_Point2D___isub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5272 PyObject
*resultobj
;
5273 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5274 wxPoint2D
*arg2
= 0 ;
5277 PyObject
* obj0
= 0 ;
5278 PyObject
* obj1
= 0 ;
5280 (char *) "self",(char *) "pt", NULL
5283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
5284 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5285 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5288 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5293 wxPoint2D
&_result_ref
= (arg1
)->operator -=((wxPoint2D
const &)*arg2
);
5294 result
= (wxPoint2D
*) &_result_ref
;
5297 wxPyEndAllowThreads(__tstate
);
5298 if (PyErr_Occurred()) SWIG_fail
;
5300 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 0);
5307 static PyObject
*_wrap_Point2D___imul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5308 PyObject
*resultobj
;
5309 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5310 wxPoint2D
*arg2
= 0 ;
5313 PyObject
* obj0
= 0 ;
5314 PyObject
* obj1
= 0 ;
5316 (char *) "self",(char *) "pt", NULL
5319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
5320 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5321 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5324 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5329 wxPoint2D
&_result_ref
= (arg1
)->operator *=((wxPoint2D
const &)*arg2
);
5330 result
= (wxPoint2D
*) &_result_ref
;
5333 wxPyEndAllowThreads(__tstate
);
5334 if (PyErr_Occurred()) SWIG_fail
;
5336 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 0);
5343 static PyObject
*_wrap_Point2D___idiv__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5344 PyObject
*resultobj
;
5345 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5346 wxPoint2D
*arg2
= 0 ;
5349 PyObject
* obj0
= 0 ;
5350 PyObject
* obj1
= 0 ;
5352 (char *) "self",(char *) "pt", NULL
5355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___idiv__",kwnames
,&obj0
,&obj1
)) goto fail
;
5356 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5357 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5360 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5365 wxPoint2D
&_result_ref
= (arg1
)->operator /=((wxPoint2D
const &)*arg2
);
5366 result
= (wxPoint2D
*) &_result_ref
;
5369 wxPyEndAllowThreads(__tstate
);
5370 if (PyErr_Occurred()) SWIG_fail
;
5372 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 0);
5379 static PyObject
*_wrap_Point2D___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5380 PyObject
*resultobj
;
5381 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5382 wxPoint2D
*arg2
= 0 ;
5385 PyObject
* obj0
= 0 ;
5386 PyObject
* obj1
= 0 ;
5388 (char *) "self",(char *) "pt", NULL
5391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
5392 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5393 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5396 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5400 result
= (bool)((wxPoint2D
const *)arg1
)->operator ==((wxPoint2D
const &)*arg2
);
5402 wxPyEndAllowThreads(__tstate
);
5403 if (PyErr_Occurred()) SWIG_fail
;
5406 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5414 static PyObject
*_wrap_Point2D___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5415 PyObject
*resultobj
;
5416 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5417 wxPoint2D
*arg2
= 0 ;
5420 PyObject
* obj0
= 0 ;
5421 PyObject
* obj1
= 0 ;
5423 (char *) "self",(char *) "pt", NULL
5426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
5427 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5428 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5431 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5435 result
= (bool)((wxPoint2D
const *)arg1
)->operator !=((wxPoint2D
const &)*arg2
);
5437 wxPyEndAllowThreads(__tstate
);
5438 if (PyErr_Occurred()) SWIG_fail
;
5441 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5449 static PyObject
*_wrap_Point2D_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5450 PyObject
*resultobj
;
5451 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5453 PyObject
* obj0
= 0 ;
5454 PyObject
* obj1
= 0 ;
5456 (char *) "self",(char *) "m_x", NULL
5459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
5460 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5461 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5462 arg2
= (double) SWIG_AsDouble(obj1
);
5463 if (PyErr_Occurred()) SWIG_fail
;
5464 if (arg1
) (arg1
)->m_x
= arg2
;
5466 Py_INCREF(Py_None
); resultobj
= Py_None
;
5473 static PyObject
*_wrap_Point2D_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5474 PyObject
*resultobj
;
5475 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5477 PyObject
* obj0
= 0 ;
5479 (char *) "self", NULL
5482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_x_get",kwnames
,&obj0
)) goto fail
;
5483 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5484 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5485 result
= (double) ((arg1
)->m_x
);
5487 resultobj
= SWIG_FromDouble((double)result
);
5494 static PyObject
*_wrap_Point2D_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5495 PyObject
*resultobj
;
5496 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5498 PyObject
* obj0
= 0 ;
5499 PyObject
* obj1
= 0 ;
5501 (char *) "self",(char *) "m_y", NULL
5504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
5505 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5506 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5507 arg2
= (double) SWIG_AsDouble(obj1
);
5508 if (PyErr_Occurred()) SWIG_fail
;
5509 if (arg1
) (arg1
)->m_y
= arg2
;
5511 Py_INCREF(Py_None
); resultobj
= Py_None
;
5518 static PyObject
*_wrap_Point2D_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5519 PyObject
*resultobj
;
5520 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5522 PyObject
* obj0
= 0 ;
5524 (char *) "self", NULL
5527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_y_get",kwnames
,&obj0
)) goto fail
;
5528 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5529 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5530 result
= (double) ((arg1
)->m_y
);
5532 resultobj
= SWIG_FromDouble((double)result
);
5539 static PyObject
*_wrap_Point2D_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5540 PyObject
*resultobj
;
5541 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5542 double arg2
= (double) 0 ;
5543 double arg3
= (double) 0 ;
5544 PyObject
* obj0
= 0 ;
5545 PyObject
* obj1
= 0 ;
5546 PyObject
* obj2
= 0 ;
5548 (char *) "self",(char *) "x",(char *) "y", NULL
5551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Point2D_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5552 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5553 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5555 arg2
= (double) SWIG_AsDouble(obj1
);
5556 if (PyErr_Occurred()) SWIG_fail
;
5559 arg3
= (double) SWIG_AsDouble(obj2
);
5560 if (PyErr_Occurred()) SWIG_fail
;
5563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5564 wxPoint2D_Set(arg1
,arg2
,arg3
);
5566 wxPyEndAllowThreads(__tstate
);
5567 if (PyErr_Occurred()) SWIG_fail
;
5569 Py_INCREF(Py_None
); resultobj
= Py_None
;
5576 static PyObject
*_wrap_Point2D_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5577 PyObject
*resultobj
;
5578 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5580 PyObject
* obj0
= 0 ;
5582 (char *) "self", NULL
5585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_Get",kwnames
,&obj0
)) goto fail
;
5586 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5587 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5590 result
= (PyObject
*)wxPoint2D_Get(arg1
);
5592 wxPyEndAllowThreads(__tstate
);
5593 if (PyErr_Occurred()) SWIG_fail
;
5602 static PyObject
* Point2D_swigregister(PyObject
*self
, PyObject
*args
) {
5604 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5605 SWIG_TypeClientData(SWIGTYPE_p_wxPoint2D
, obj
);
5607 return Py_BuildValue((char *)"");
5609 static int _wrap_DefaultPosition_set(PyObject
*_val
) {
5610 PyErr_SetString(PyExc_TypeError
,"Variable DefaultPosition is read-only.");
5615 static PyObject
*_wrap_DefaultPosition_get() {
5618 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultPosition
), SWIGTYPE_p_wxPoint
, 0);
5623 static int _wrap_DefaultSize_set(PyObject
*_val
) {
5624 PyErr_SetString(PyExc_TypeError
,"Variable DefaultSize is read-only.");
5629 static PyObject
*_wrap_DefaultSize_get() {
5632 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultSize
), SWIGTYPE_p_wxSize
, 0);
5637 static PyObject
*_wrap_new_InputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5638 PyObject
*resultobj
;
5639 PyObject
*arg1
= (PyObject
*) 0 ;
5640 wxPyInputStream
*result
;
5641 PyObject
* obj0
= 0 ;
5646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_InputStream",kwnames
,&obj0
)) goto fail
;
5649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5650 result
= (wxPyInputStream
*)new_wxPyInputStream(arg1
);
5652 wxPyEndAllowThreads(__tstate
);
5653 if (PyErr_Occurred()) SWIG_fail
;
5655 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyInputStream
, 1);
5662 static PyObject
*_wrap_InputStream_close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5663 PyObject
*resultobj
;
5664 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5665 PyObject
* obj0
= 0 ;
5667 (char *) "self", NULL
5670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_close",kwnames
,&obj0
)) goto fail
;
5671 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5672 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5677 wxPyEndAllowThreads(__tstate
);
5678 if (PyErr_Occurred()) SWIG_fail
;
5680 Py_INCREF(Py_None
); resultobj
= Py_None
;
5687 static PyObject
*_wrap_InputStream_flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5688 PyObject
*resultobj
;
5689 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5690 PyObject
* obj0
= 0 ;
5692 (char *) "self", NULL
5695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_flush",kwnames
,&obj0
)) goto fail
;
5696 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5697 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5702 wxPyEndAllowThreads(__tstate
);
5703 if (PyErr_Occurred()) SWIG_fail
;
5705 Py_INCREF(Py_None
); resultobj
= Py_None
;
5712 static PyObject
*_wrap_InputStream_eof(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5713 PyObject
*resultobj
;
5714 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5716 PyObject
* obj0
= 0 ;
5718 (char *) "self", NULL
5721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_eof",kwnames
,&obj0
)) goto fail
;
5722 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5723 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5726 result
= (bool)(arg1
)->eof();
5728 wxPyEndAllowThreads(__tstate
);
5729 if (PyErr_Occurred()) SWIG_fail
;
5732 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5740 static PyObject
*_wrap_InputStream_read(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5741 PyObject
*resultobj
;
5742 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5743 int arg2
= (int) -1 ;
5745 PyObject
* obj0
= 0 ;
5746 PyObject
* obj1
= 0 ;
5748 (char *) "self",(char *) "size", NULL
5751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_read",kwnames
,&obj0
,&obj1
)) goto fail
;
5752 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5753 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5755 arg2
= (int) SWIG_AsInt(obj1
);
5756 if (PyErr_Occurred()) SWIG_fail
;
5759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5760 result
= (PyObject
*)(arg1
)->read(arg2
);
5762 wxPyEndAllowThreads(__tstate
);
5763 if (PyErr_Occurred()) SWIG_fail
;
5772 static PyObject
*_wrap_InputStream_readline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5773 PyObject
*resultobj
;
5774 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5775 int arg2
= (int) -1 ;
5777 PyObject
* obj0
= 0 ;
5778 PyObject
* obj1
= 0 ;
5780 (char *) "self",(char *) "size", NULL
5783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_readline",kwnames
,&obj0
,&obj1
)) goto fail
;
5784 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5785 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5787 arg2
= (int) SWIG_AsInt(obj1
);
5788 if (PyErr_Occurred()) SWIG_fail
;
5791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5792 result
= (PyObject
*)(arg1
)->readline(arg2
);
5794 wxPyEndAllowThreads(__tstate
);
5795 if (PyErr_Occurred()) SWIG_fail
;
5804 static PyObject
*_wrap_InputStream_readlines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5805 PyObject
*resultobj
;
5806 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5807 int arg2
= (int) -1 ;
5809 PyObject
* obj0
= 0 ;
5810 PyObject
* obj1
= 0 ;
5812 (char *) "self",(char *) "sizehint", NULL
5815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_readlines",kwnames
,&obj0
,&obj1
)) goto fail
;
5816 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5817 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5819 arg2
= (int) SWIG_AsInt(obj1
);
5820 if (PyErr_Occurred()) SWIG_fail
;
5823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5824 result
= (PyObject
*)(arg1
)->readlines(arg2
);
5826 wxPyEndAllowThreads(__tstate
);
5827 if (PyErr_Occurred()) SWIG_fail
;
5836 static PyObject
*_wrap_InputStream_seek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5837 PyObject
*resultobj
;
5838 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5840 int arg3
= (int) 0 ;
5841 PyObject
* obj0
= 0 ;
5842 PyObject
* obj1
= 0 ;
5843 PyObject
* obj2
= 0 ;
5845 (char *) "self",(char *) "offset",(char *) "whence", NULL
5848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:InputStream_seek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5849 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5850 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5851 arg2
= (int) SWIG_AsInt(obj1
);
5852 if (PyErr_Occurred()) SWIG_fail
;
5854 arg3
= (int) SWIG_AsInt(obj2
);
5855 if (PyErr_Occurred()) SWIG_fail
;
5858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5859 (arg1
)->seek(arg2
,arg3
);
5861 wxPyEndAllowThreads(__tstate
);
5862 if (PyErr_Occurred()) SWIG_fail
;
5864 Py_INCREF(Py_None
); resultobj
= Py_None
;
5871 static PyObject
*_wrap_InputStream_tell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5872 PyObject
*resultobj
;
5873 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5875 PyObject
* obj0
= 0 ;
5877 (char *) "self", NULL
5880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_tell",kwnames
,&obj0
)) goto fail
;
5881 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5882 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5885 result
= (int)(arg1
)->tell();
5887 wxPyEndAllowThreads(__tstate
);
5888 if (PyErr_Occurred()) SWIG_fail
;
5890 resultobj
= SWIG_FromInt((int)result
);
5897 static PyObject
*_wrap_InputStream_Peek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5898 PyObject
*resultobj
;
5899 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5901 PyObject
* obj0
= 0 ;
5903 (char *) "self", NULL
5906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_Peek",kwnames
,&obj0
)) goto fail
;
5907 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5908 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5911 result
= (char)(arg1
)->Peek();
5913 wxPyEndAllowThreads(__tstate
);
5914 if (PyErr_Occurred()) SWIG_fail
;
5916 resultobj
= SWIG_FromChar((char)result
);
5923 static PyObject
*_wrap_InputStream_GetC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5924 PyObject
*resultobj
;
5925 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5927 PyObject
* obj0
= 0 ;
5929 (char *) "self", NULL
5932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_GetC",kwnames
,&obj0
)) goto fail
;
5933 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5934 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5937 result
= (char)(arg1
)->GetC();
5939 wxPyEndAllowThreads(__tstate
);
5940 if (PyErr_Occurred()) SWIG_fail
;
5942 resultobj
= SWIG_FromChar((char)result
);
5949 static PyObject
*_wrap_InputStream_LastRead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5950 PyObject
*resultobj
;
5951 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5953 PyObject
* obj0
= 0 ;
5955 (char *) "self", NULL
5958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_LastRead",kwnames
,&obj0
)) goto fail
;
5959 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5960 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5963 result
= (size_t)(arg1
)->LastRead();
5965 wxPyEndAllowThreads(__tstate
);
5966 if (PyErr_Occurred()) SWIG_fail
;
5968 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
5975 static PyObject
*_wrap_InputStream_CanRead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5976 PyObject
*resultobj
;
5977 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5979 PyObject
* obj0
= 0 ;
5981 (char *) "self", NULL
5984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_CanRead",kwnames
,&obj0
)) goto fail
;
5985 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5986 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5989 result
= (bool)(arg1
)->CanRead();
5991 wxPyEndAllowThreads(__tstate
);
5992 if (PyErr_Occurred()) SWIG_fail
;
5995 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6003 static PyObject
*_wrap_InputStream_Eof(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6004 PyObject
*resultobj
;
6005 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6007 PyObject
* obj0
= 0 ;
6009 (char *) "self", NULL
6012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_Eof",kwnames
,&obj0
)) goto fail
;
6013 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6014 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6017 result
= (bool)(arg1
)->Eof();
6019 wxPyEndAllowThreads(__tstate
);
6020 if (PyErr_Occurred()) SWIG_fail
;
6023 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6031 static PyObject
*_wrap_InputStream_Ungetch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6032 PyObject
*resultobj
;
6033 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6036 PyObject
* obj0
= 0 ;
6037 PyObject
* obj1
= 0 ;
6039 (char *) "self",(char *) "c", NULL
6042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:InputStream_Ungetch",kwnames
,&obj0
,&obj1
)) goto fail
;
6043 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6044 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6045 arg2
= (char) SWIG_AsChar(obj1
);
6046 if (PyErr_Occurred()) SWIG_fail
;
6048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6049 result
= (bool)(arg1
)->Ungetch(arg2
);
6051 wxPyEndAllowThreads(__tstate
);
6052 if (PyErr_Occurred()) SWIG_fail
;
6055 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6063 static PyObject
*_wrap_InputStream_SeekI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6064 PyObject
*resultobj
;
6065 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6067 int arg3
= (int) wxFromStart
;
6069 PyObject
* obj0
= 0 ;
6070 PyObject
* obj1
= 0 ;
6071 PyObject
* obj2
= 0 ;
6073 (char *) "self",(char *) "pos",(char *) "mode", NULL
6076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:InputStream_SeekI",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6077 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6078 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6079 arg2
= (long) SWIG_AsLong(obj1
);
6080 if (PyErr_Occurred()) SWIG_fail
;
6082 arg3
= (wxSeekMode
) SWIG_AsInt(obj2
);
6083 if (PyErr_Occurred()) SWIG_fail
;
6086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6087 result
= (long)(arg1
)->SeekI(arg2
,(wxSeekMode
)arg3
);
6089 wxPyEndAllowThreads(__tstate
);
6090 if (PyErr_Occurred()) SWIG_fail
;
6092 resultobj
= SWIG_FromLong((long)result
);
6099 static PyObject
*_wrap_InputStream_TellI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6100 PyObject
*resultobj
;
6101 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6103 PyObject
* obj0
= 0 ;
6105 (char *) "self", NULL
6108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_TellI",kwnames
,&obj0
)) goto fail
;
6109 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6110 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6113 result
= (long)(arg1
)->TellI();
6115 wxPyEndAllowThreads(__tstate
);
6116 if (PyErr_Occurred()) SWIG_fail
;
6118 resultobj
= SWIG_FromLong((long)result
);
6125 static PyObject
* InputStream_swigregister(PyObject
*self
, PyObject
*args
) {
6127 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6128 SWIG_TypeClientData(SWIGTYPE_p_wxPyInputStream
, obj
);
6130 return Py_BuildValue((char *)"");
6132 static PyObject
*_wrap_OutputStream_write(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6133 PyObject
*resultobj
;
6134 wxOutputStream
*arg1
= (wxOutputStream
*) 0 ;
6135 PyObject
*arg2
= (PyObject
*) 0 ;
6136 PyObject
* obj0
= 0 ;
6137 PyObject
* obj1
= 0 ;
6139 (char *) "self",(char *) "obj", NULL
6142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:OutputStream_write",kwnames
,&obj0
,&obj1
)) goto fail
;
6143 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxOutputStream
,
6144 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6148 wxOutputStream_write(arg1
,arg2
);
6150 wxPyEndAllowThreads(__tstate
);
6151 if (PyErr_Occurred()) SWIG_fail
;
6153 Py_INCREF(Py_None
); resultobj
= Py_None
;
6160 static PyObject
* OutputStream_swigregister(PyObject
*self
, PyObject
*args
) {
6162 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6163 SWIG_TypeClientData(SWIGTYPE_p_wxOutputStream
, obj
);
6165 return Py_BuildValue((char *)"");
6167 static PyObject
*_wrap_new_FSFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6168 PyObject
*resultobj
;
6169 wxInputStream
*arg1
= (wxInputStream
*) 0 ;
6170 wxString
*arg2
= 0 ;
6171 wxString
*arg3
= 0 ;
6172 wxString
*arg4
= 0 ;
6175 wxPyInputStream
*temp1
;
6177 bool temp2
= False
;
6178 bool temp3
= False
;
6179 bool temp4
= False
;
6181 PyObject
* obj0
= 0 ;
6182 PyObject
* obj1
= 0 ;
6183 PyObject
* obj2
= 0 ;
6184 PyObject
* obj3
= 0 ;
6185 PyObject
* obj4
= 0 ;
6187 (char *) "stream",(char *) "loc",(char *) "mimetype",(char *) "anchor",(char *) "modif", NULL
6190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:new_FSFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
6192 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
6193 arg1
= temp1
->m_wxis
;
6196 PyErr_Clear(); // clear the failure of the wxPyConvert above
6197 arg1
= wxPyCBInputStream_create(obj0
, False
);
6199 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
6206 arg2
= wxString_in_helper(obj1
);
6207 if (arg2
== NULL
) SWIG_fail
;
6211 arg3
= wxString_in_helper(obj2
);
6212 if (arg3
== NULL
) SWIG_fail
;
6216 arg4
= wxString_in_helper(obj3
);
6217 if (arg4
== NULL
) SWIG_fail
;
6220 if ((SWIG_ConvertPtr(obj4
,(void **)(&argp5
),SWIGTYPE_p_wxDateTime
,
6221 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
6224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6225 result
= (wxFSFile
*)new wxFSFile(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
6227 wxPyEndAllowThreads(__tstate
);
6228 if (PyErr_Occurred()) SWIG_fail
;
6231 resultobj
= wxPyMake_wxObject(result
);
6271 static PyObject
*_wrap_delete_FSFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6272 PyObject
*resultobj
;
6273 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6274 PyObject
* obj0
= 0 ;
6276 (char *) "self", NULL
6279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FSFile",kwnames
,&obj0
)) goto fail
;
6280 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6281 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6286 wxPyEndAllowThreads(__tstate
);
6287 if (PyErr_Occurred()) SWIG_fail
;
6289 Py_INCREF(Py_None
); resultobj
= Py_None
;
6296 static PyObject
*_wrap_FSFile_GetStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6297 PyObject
*resultobj
;
6298 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6299 wxInputStream
*result
;
6300 PyObject
* obj0
= 0 ;
6302 (char *) "self", NULL
6305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetStream",kwnames
,&obj0
)) goto fail
;
6306 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6307 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6310 result
= (wxInputStream
*)(arg1
)->GetStream();
6312 wxPyEndAllowThreads(__tstate
);
6313 if (PyErr_Occurred()) SWIG_fail
;
6316 wxPyInputStream
* _ptr
= NULL
;
6319 _ptr
= new wxPyInputStream(result
);
6321 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), True
);
6329 static PyObject
*_wrap_FSFile_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6330 PyObject
*resultobj
;
6331 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6333 PyObject
* obj0
= 0 ;
6335 (char *) "self", NULL
6338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetMimeType",kwnames
,&obj0
)) goto fail
;
6339 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6340 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6344 wxString
const &_result_ref
= (arg1
)->GetMimeType();
6345 result
= (wxString
*) &_result_ref
;
6348 wxPyEndAllowThreads(__tstate
);
6349 if (PyErr_Occurred()) SWIG_fail
;
6353 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
6355 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
6364 static PyObject
*_wrap_FSFile_GetLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6365 PyObject
*resultobj
;
6366 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6368 PyObject
* obj0
= 0 ;
6370 (char *) "self", NULL
6373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetLocation",kwnames
,&obj0
)) goto fail
;
6374 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6375 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6379 wxString
const &_result_ref
= (arg1
)->GetLocation();
6380 result
= (wxString
*) &_result_ref
;
6383 wxPyEndAllowThreads(__tstate
);
6384 if (PyErr_Occurred()) SWIG_fail
;
6388 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
6390 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
6399 static PyObject
*_wrap_FSFile_GetAnchor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6400 PyObject
*resultobj
;
6401 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6403 PyObject
* obj0
= 0 ;
6405 (char *) "self", NULL
6408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetAnchor",kwnames
,&obj0
)) goto fail
;
6409 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6410 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6414 wxString
const &_result_ref
= (arg1
)->GetAnchor();
6415 result
= (wxString
*) &_result_ref
;
6418 wxPyEndAllowThreads(__tstate
);
6419 if (PyErr_Occurred()) SWIG_fail
;
6423 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
6425 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
6434 static PyObject
*_wrap_FSFile_GetModificationTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6435 PyObject
*resultobj
;
6436 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6438 PyObject
* obj0
= 0 ;
6440 (char *) "self", NULL
6443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetModificationTime",kwnames
,&obj0
)) goto fail
;
6444 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6445 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6448 result
= (arg1
)->GetModificationTime();
6450 wxPyEndAllowThreads(__tstate
);
6451 if (PyErr_Occurred()) SWIG_fail
;
6454 wxDateTime
* resultptr
;
6455 resultptr
= new wxDateTime((wxDateTime
&) result
);
6456 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
6464 static PyObject
* FSFile_swigregister(PyObject
*self
, PyObject
*args
) {
6466 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6467 SWIG_TypeClientData(SWIGTYPE_p_wxFSFile
, obj
);
6469 return Py_BuildValue((char *)"");
6471 static PyObject
* CPPFileSystemHandler_swigregister(PyObject
*self
, PyObject
*args
) {
6473 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6474 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystemHandler
, obj
);
6476 return Py_BuildValue((char *)"");
6478 static PyObject
*_wrap_new_FileSystemHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6479 PyObject
*resultobj
;
6480 wxPyFileSystemHandler
*result
;
6485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileSystemHandler",kwnames
)) goto fail
;
6487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6488 result
= (wxPyFileSystemHandler
*)new wxPyFileSystemHandler();
6490 wxPyEndAllowThreads(__tstate
);
6491 if (PyErr_Occurred()) SWIG_fail
;
6493 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFileSystemHandler
, 1);
6500 static PyObject
*_wrap_FileSystemHandler__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6501 PyObject
*resultobj
;
6502 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6503 PyObject
*arg2
= (PyObject
*) 0 ;
6504 PyObject
*arg3
= (PyObject
*) 0 ;
6505 PyObject
* obj0
= 0 ;
6506 PyObject
* obj1
= 0 ;
6507 PyObject
* obj2
= 0 ;
6509 (char *) "self",(char *) "self",(char *) "_class", NULL
6512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileSystemHandler__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6513 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6514 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6519 (arg1
)->_setCallbackInfo(arg2
,arg3
);
6521 wxPyEndAllowThreads(__tstate
);
6522 if (PyErr_Occurred()) SWIG_fail
;
6524 Py_INCREF(Py_None
); resultobj
= Py_None
;
6531 static PyObject
*_wrap_FileSystemHandler_CanOpen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6532 PyObject
*resultobj
;
6533 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6534 wxString
*arg2
= 0 ;
6536 bool temp2
= False
;
6537 PyObject
* obj0
= 0 ;
6538 PyObject
* obj1
= 0 ;
6540 (char *) "self",(char *) "location", NULL
6543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
6544 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6545 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6547 arg2
= wxString_in_helper(obj1
);
6548 if (arg2
== NULL
) SWIG_fail
;
6552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6553 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
6555 wxPyEndAllowThreads(__tstate
);
6556 if (PyErr_Occurred()) SWIG_fail
;
6559 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6575 static PyObject
*_wrap_FileSystemHandler_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6576 PyObject
*resultobj
;
6577 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6578 wxFileSystem
*arg2
= 0 ;
6579 wxString
*arg3
= 0 ;
6581 bool temp3
= False
;
6582 PyObject
* obj0
= 0 ;
6583 PyObject
* obj1
= 0 ;
6584 PyObject
* obj2
= 0 ;
6586 (char *) "self",(char *) "fs",(char *) "location", NULL
6589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileSystemHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6590 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6591 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6592 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileSystem
,
6593 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6596 PyErr_SetString(PyExc_TypeError
,"null reference");
6600 arg3
= wxString_in_helper(obj2
);
6601 if (arg3
== NULL
) SWIG_fail
;
6605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6606 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
6608 wxPyEndAllowThreads(__tstate
);
6609 if (PyErr_Occurred()) SWIG_fail
;
6612 resultobj
= wxPyMake_wxObject(result
);
6628 static PyObject
*_wrap_FileSystemHandler_FindFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6629 PyObject
*resultobj
;
6630 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6631 wxString
*arg2
= 0 ;
6632 int arg3
= (int) 0 ;
6634 bool temp2
= False
;
6635 PyObject
* obj0
= 0 ;
6636 PyObject
* obj1
= 0 ;
6637 PyObject
* obj2
= 0 ;
6639 (char *) "self",(char *) "spec",(char *) "flags", NULL
6642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystemHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6643 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6644 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6646 arg2
= wxString_in_helper(obj1
);
6647 if (arg2
== NULL
) SWIG_fail
;
6651 arg3
= (int) SWIG_AsInt(obj2
);
6652 if (PyErr_Occurred()) SWIG_fail
;
6655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6656 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
6658 wxPyEndAllowThreads(__tstate
);
6659 if (PyErr_Occurred()) SWIG_fail
;
6663 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6665 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6682 static PyObject
*_wrap_FileSystemHandler_FindNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6683 PyObject
*resultobj
;
6684 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6686 PyObject
* obj0
= 0 ;
6688 (char *) "self", NULL
6691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystemHandler_FindNext",kwnames
,&obj0
)) goto fail
;
6692 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6693 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6696 result
= (arg1
)->FindNext();
6698 wxPyEndAllowThreads(__tstate
);
6699 if (PyErr_Occurred()) SWIG_fail
;
6703 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6705 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6714 static PyObject
*_wrap_FileSystemHandler_GetProtocol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6715 PyObject
*resultobj
;
6716 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6717 wxString
*arg2
= 0 ;
6719 bool temp2
= False
;
6720 PyObject
* obj0
= 0 ;
6721 PyObject
* obj1
= 0 ;
6723 (char *) "self",(char *) "location", NULL
6726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetProtocol",kwnames
,&obj0
,&obj1
)) goto fail
;
6727 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6728 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6730 arg2
= wxString_in_helper(obj1
);
6731 if (arg2
== NULL
) SWIG_fail
;
6735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6736 result
= (arg1
)->GetProtocol((wxString
const &)*arg2
);
6738 wxPyEndAllowThreads(__tstate
);
6739 if (PyErr_Occurred()) SWIG_fail
;
6743 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6745 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6762 static PyObject
*_wrap_FileSystemHandler_GetLeftLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6763 PyObject
*resultobj
;
6764 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6765 wxString
*arg2
= 0 ;
6767 bool temp2
= False
;
6768 PyObject
* obj0
= 0 ;
6769 PyObject
* obj1
= 0 ;
6771 (char *) "self",(char *) "location", NULL
6774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetLeftLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
6775 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6776 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6778 arg2
= wxString_in_helper(obj1
);
6779 if (arg2
== NULL
) SWIG_fail
;
6783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6784 result
= (arg1
)->GetLeftLocation((wxString
const &)*arg2
);
6786 wxPyEndAllowThreads(__tstate
);
6787 if (PyErr_Occurred()) SWIG_fail
;
6791 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6793 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6810 static PyObject
*_wrap_FileSystemHandler_GetAnchor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6811 PyObject
*resultobj
;
6812 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6813 wxString
*arg2
= 0 ;
6815 bool temp2
= False
;
6816 PyObject
* obj0
= 0 ;
6817 PyObject
* obj1
= 0 ;
6819 (char *) "self",(char *) "location", NULL
6822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetAnchor",kwnames
,&obj0
,&obj1
)) goto fail
;
6823 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6824 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6826 arg2
= wxString_in_helper(obj1
);
6827 if (arg2
== NULL
) SWIG_fail
;
6831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6832 result
= (arg1
)->GetAnchor((wxString
const &)*arg2
);
6834 wxPyEndAllowThreads(__tstate
);
6835 if (PyErr_Occurred()) SWIG_fail
;
6839 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6841 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6858 static PyObject
*_wrap_FileSystemHandler_GetRightLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6859 PyObject
*resultobj
;
6860 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6861 wxString
*arg2
= 0 ;
6863 bool temp2
= False
;
6864 PyObject
* obj0
= 0 ;
6865 PyObject
* obj1
= 0 ;
6867 (char *) "self",(char *) "location", NULL
6870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetRightLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
6871 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6872 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6874 arg2
= wxString_in_helper(obj1
);
6875 if (arg2
== NULL
) SWIG_fail
;
6879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6880 result
= (arg1
)->GetRightLocation((wxString
const &)*arg2
);
6882 wxPyEndAllowThreads(__tstate
);
6883 if (PyErr_Occurred()) SWIG_fail
;
6887 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6889 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6906 static PyObject
*_wrap_FileSystemHandler_GetMimeTypeFromExt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6907 PyObject
*resultobj
;
6908 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6909 wxString
*arg2
= 0 ;
6911 bool temp2
= False
;
6912 PyObject
* obj0
= 0 ;
6913 PyObject
* obj1
= 0 ;
6915 (char *) "self",(char *) "location", NULL
6918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetMimeTypeFromExt",kwnames
,&obj0
,&obj1
)) goto fail
;
6919 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6922 arg2
= wxString_in_helper(obj1
);
6923 if (arg2
== NULL
) SWIG_fail
;
6927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6928 result
= (arg1
)->GetMimeTypeFromExt((wxString
const &)*arg2
);
6930 wxPyEndAllowThreads(__tstate
);
6931 if (PyErr_Occurred()) SWIG_fail
;
6935 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6937 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6954 static PyObject
* FileSystemHandler_swigregister(PyObject
*self
, PyObject
*args
) {
6956 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6957 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileSystemHandler
, obj
);
6959 return Py_BuildValue((char *)"");
6961 static PyObject
*_wrap_new_FileSystem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6962 PyObject
*resultobj
;
6963 wxFileSystem
*result
;
6968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileSystem",kwnames
)) goto fail
;
6970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6971 result
= (wxFileSystem
*)new wxFileSystem();
6973 wxPyEndAllowThreads(__tstate
);
6974 if (PyErr_Occurred()) SWIG_fail
;
6977 resultobj
= wxPyMake_wxObject(result
);
6985 static PyObject
*_wrap_delete_FileSystem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6986 PyObject
*resultobj
;
6987 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
6988 PyObject
* obj0
= 0 ;
6990 (char *) "self", NULL
6993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileSystem",kwnames
,&obj0
)) goto fail
;
6994 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
6995 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7000 wxPyEndAllowThreads(__tstate
);
7001 if (PyErr_Occurred()) SWIG_fail
;
7003 Py_INCREF(Py_None
); resultobj
= Py_None
;
7010 static PyObject
*_wrap_FileSystem_ChangePathTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7011 PyObject
*resultobj
;
7012 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7013 wxString
*arg2
= 0 ;
7014 bool arg3
= (bool) False
;
7015 bool temp2
= False
;
7016 PyObject
* obj0
= 0 ;
7017 PyObject
* obj1
= 0 ;
7018 PyObject
* obj2
= 0 ;
7020 (char *) "self",(char *) "location",(char *) "is_dir", NULL
7023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystem_ChangePathTo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7024 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7025 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7027 arg2
= wxString_in_helper(obj1
);
7028 if (arg2
== NULL
) SWIG_fail
;
7032 arg3
= (bool) SWIG_AsBool(obj2
);
7033 if (PyErr_Occurred()) SWIG_fail
;
7036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7037 (arg1
)->ChangePathTo((wxString
const &)*arg2
,arg3
);
7039 wxPyEndAllowThreads(__tstate
);
7040 if (PyErr_Occurred()) SWIG_fail
;
7042 Py_INCREF(Py_None
); resultobj
= Py_None
;
7057 static PyObject
*_wrap_FileSystem_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7058 PyObject
*resultobj
;
7059 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7061 PyObject
* obj0
= 0 ;
7063 (char *) "self", NULL
7066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_GetPath",kwnames
,&obj0
)) goto fail
;
7067 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7068 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7071 result
= (arg1
)->GetPath();
7073 wxPyEndAllowThreads(__tstate
);
7074 if (PyErr_Occurred()) SWIG_fail
;
7078 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7080 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7089 static PyObject
*_wrap_FileSystem_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7090 PyObject
*resultobj
;
7091 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7092 wxString
*arg2
= 0 ;
7094 bool temp2
= False
;
7095 PyObject
* obj0
= 0 ;
7096 PyObject
* obj1
= 0 ;
7098 (char *) "self",(char *) "location", NULL
7101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystem_OpenFile",kwnames
,&obj0
,&obj1
)) goto fail
;
7102 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7103 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7105 arg2
= wxString_in_helper(obj1
);
7106 if (arg2
== NULL
) SWIG_fail
;
7110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7111 result
= (wxFSFile
*)(arg1
)->OpenFile((wxString
const &)*arg2
);
7113 wxPyEndAllowThreads(__tstate
);
7114 if (PyErr_Occurred()) SWIG_fail
;
7117 resultobj
= wxPyMake_wxObject(result
);
7133 static PyObject
*_wrap_FileSystem_FindFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7134 PyObject
*resultobj
;
7135 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7136 wxString
*arg2
= 0 ;
7137 int arg3
= (int) 0 ;
7139 bool temp2
= False
;
7140 PyObject
* obj0
= 0 ;
7141 PyObject
* obj1
= 0 ;
7142 PyObject
* obj2
= 0 ;
7144 (char *) "self",(char *) "spec",(char *) "flags", NULL
7147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystem_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7148 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7149 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7151 arg2
= wxString_in_helper(obj1
);
7152 if (arg2
== NULL
) SWIG_fail
;
7156 arg3
= (int) SWIG_AsInt(obj2
);
7157 if (PyErr_Occurred()) SWIG_fail
;
7160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7161 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
7163 wxPyEndAllowThreads(__tstate
);
7164 if (PyErr_Occurred()) SWIG_fail
;
7168 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7170 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7187 static PyObject
*_wrap_FileSystem_FindNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7188 PyObject
*resultobj
;
7189 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7191 PyObject
* obj0
= 0 ;
7193 (char *) "self", NULL
7196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_FindNext",kwnames
,&obj0
)) goto fail
;
7197 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7198 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7201 result
= (arg1
)->FindNext();
7203 wxPyEndAllowThreads(__tstate
);
7204 if (PyErr_Occurred()) SWIG_fail
;
7208 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7210 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7219 static PyObject
*_wrap_FileSystem_AddHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7220 PyObject
*resultobj
;
7221 wxFileSystemHandler
*arg1
= (wxFileSystemHandler
*) 0 ;
7222 PyObject
* obj0
= 0 ;
7224 (char *) "handler", NULL
7227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_AddHandler",kwnames
,&obj0
)) goto fail
;
7228 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystemHandler
,
7229 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7232 wxFileSystem::AddHandler(arg1
);
7234 wxPyEndAllowThreads(__tstate
);
7235 if (PyErr_Occurred()) SWIG_fail
;
7237 Py_INCREF(Py_None
); resultobj
= Py_None
;
7244 static PyObject
*_wrap_FileSystem_CleanUpHandlers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7245 PyObject
*resultobj
;
7250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FileSystem_CleanUpHandlers",kwnames
)) goto fail
;
7252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7253 wxFileSystem::CleanUpHandlers();
7255 wxPyEndAllowThreads(__tstate
);
7256 if (PyErr_Occurred()) SWIG_fail
;
7258 Py_INCREF(Py_None
); resultobj
= Py_None
;
7265 static PyObject
*_wrap_FileSystem_FileNameToURL(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7266 PyObject
*resultobj
;
7267 wxString
*arg1
= 0 ;
7269 bool temp1
= False
;
7270 PyObject
* obj0
= 0 ;
7272 (char *) "filename", NULL
7275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_FileNameToURL",kwnames
,&obj0
)) goto fail
;
7277 arg1
= wxString_in_helper(obj0
);
7278 if (arg1
== NULL
) SWIG_fail
;
7282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7283 result
= wxFileSystem::FileNameToURL((wxString
const &)*arg1
);
7285 wxPyEndAllowThreads(__tstate
);
7286 if (PyErr_Occurred()) SWIG_fail
;
7290 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7292 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7309 static PyObject
* FileSystem_swigregister(PyObject
*self
, PyObject
*args
) {
7311 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7312 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystem
, obj
);
7314 return Py_BuildValue((char *)"");
7316 static PyObject
*_wrap_FileSystem_URLToFileName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7317 PyObject
*resultobj
;
7318 wxString
*arg1
= 0 ;
7320 bool temp1
= False
;
7321 PyObject
* obj0
= 0 ;
7323 (char *) "url", NULL
7326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_URLToFileName",kwnames
,&obj0
)) goto fail
;
7328 arg1
= wxString_in_helper(obj0
);
7329 if (arg1
== NULL
) SWIG_fail
;
7333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7334 result
= wxFileSystem_URLToFileName((wxString
const &)*arg1
);
7336 wxPyEndAllowThreads(__tstate
);
7337 if (PyErr_Occurred()) SWIG_fail
;
7341 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7343 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7360 static PyObject
*_wrap_new_InternetFSHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7361 PyObject
*resultobj
;
7362 wxInternetFSHandler
*result
;
7367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_InternetFSHandler",kwnames
)) goto fail
;
7369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7370 result
= (wxInternetFSHandler
*)new wxInternetFSHandler();
7372 wxPyEndAllowThreads(__tstate
);
7373 if (PyErr_Occurred()) SWIG_fail
;
7375 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxInternetFSHandler
, 1);
7382 static PyObject
*_wrap_InternetFSHandler_CanOpen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7383 PyObject
*resultobj
;
7384 wxInternetFSHandler
*arg1
= (wxInternetFSHandler
*) 0 ;
7385 wxString
*arg2
= 0 ;
7387 bool temp2
= False
;
7388 PyObject
* obj0
= 0 ;
7389 PyObject
* obj1
= 0 ;
7391 (char *) "self",(char *) "location", NULL
7394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:InternetFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
7395 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxInternetFSHandler
,
7396 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7398 arg2
= wxString_in_helper(obj1
);
7399 if (arg2
== NULL
) SWIG_fail
;
7403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7404 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
7406 wxPyEndAllowThreads(__tstate
);
7407 if (PyErr_Occurred()) SWIG_fail
;
7410 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7426 static PyObject
*_wrap_InternetFSHandler_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7427 PyObject
*resultobj
;
7428 wxInternetFSHandler
*arg1
= (wxInternetFSHandler
*) 0 ;
7429 wxFileSystem
*arg2
= 0 ;
7430 wxString
*arg3
= 0 ;
7432 bool temp3
= False
;
7433 PyObject
* obj0
= 0 ;
7434 PyObject
* obj1
= 0 ;
7435 PyObject
* obj2
= 0 ;
7437 (char *) "self",(char *) "fs",(char *) "location", NULL
7440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:InternetFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7441 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxInternetFSHandler
,
7442 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7443 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileSystem
,
7444 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7447 PyErr_SetString(PyExc_TypeError
,"null reference");
7451 arg3
= wxString_in_helper(obj2
);
7452 if (arg3
== NULL
) SWIG_fail
;
7456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7457 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
7459 wxPyEndAllowThreads(__tstate
);
7460 if (PyErr_Occurred()) SWIG_fail
;
7463 resultobj
= wxPyMake_wxObject(result
);
7479 static PyObject
* InternetFSHandler_swigregister(PyObject
*self
, PyObject
*args
) {
7481 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7482 SWIG_TypeClientData(SWIGTYPE_p_wxInternetFSHandler
, obj
);
7484 return Py_BuildValue((char *)"");
7486 static PyObject
*_wrap_new_ZipFSHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7487 PyObject
*resultobj
;
7488 wxZipFSHandler
*result
;
7493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ZipFSHandler",kwnames
)) goto fail
;
7495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7496 result
= (wxZipFSHandler
*)new wxZipFSHandler();
7498 wxPyEndAllowThreads(__tstate
);
7499 if (PyErr_Occurred()) SWIG_fail
;
7501 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxZipFSHandler
, 1);
7508 static PyObject
*_wrap_ZipFSHandler_CanOpen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7509 PyObject
*resultobj
;
7510 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
7511 wxString
*arg2
= 0 ;
7513 bool temp2
= False
;
7514 PyObject
* obj0
= 0 ;
7515 PyObject
* obj1
= 0 ;
7517 (char *) "self",(char *) "location", NULL
7520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ZipFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
7521 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxZipFSHandler
,
7522 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7524 arg2
= wxString_in_helper(obj1
);
7525 if (arg2
== NULL
) SWIG_fail
;
7529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7530 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
7532 wxPyEndAllowThreads(__tstate
);
7533 if (PyErr_Occurred()) SWIG_fail
;
7536 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7552 static PyObject
*_wrap_ZipFSHandler_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7553 PyObject
*resultobj
;
7554 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
7555 wxFileSystem
*arg2
= 0 ;
7556 wxString
*arg3
= 0 ;
7558 bool temp3
= False
;
7559 PyObject
* obj0
= 0 ;
7560 PyObject
* obj1
= 0 ;
7561 PyObject
* obj2
= 0 ;
7563 (char *) "self",(char *) "fs",(char *) "location", NULL
7566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ZipFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7567 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxZipFSHandler
,
7568 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7569 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileSystem
,
7570 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7573 PyErr_SetString(PyExc_TypeError
,"null reference");
7577 arg3
= wxString_in_helper(obj2
);
7578 if (arg3
== NULL
) SWIG_fail
;
7582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7583 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
7585 wxPyEndAllowThreads(__tstate
);
7586 if (PyErr_Occurred()) SWIG_fail
;
7589 resultobj
= wxPyMake_wxObject(result
);
7605 static PyObject
*_wrap_ZipFSHandler_FindFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7606 PyObject
*resultobj
;
7607 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
7608 wxString
*arg2
= 0 ;
7609 int arg3
= (int) 0 ;
7611 bool temp2
= False
;
7612 PyObject
* obj0
= 0 ;
7613 PyObject
* obj1
= 0 ;
7614 PyObject
* obj2
= 0 ;
7616 (char *) "self",(char *) "spec",(char *) "flags", NULL
7619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ZipFSHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7620 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxZipFSHandler
,
7621 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7623 arg2
= wxString_in_helper(obj1
);
7624 if (arg2
== NULL
) SWIG_fail
;
7628 arg3
= (int) SWIG_AsInt(obj2
);
7629 if (PyErr_Occurred()) SWIG_fail
;
7632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7633 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
7635 wxPyEndAllowThreads(__tstate
);
7636 if (PyErr_Occurred()) SWIG_fail
;
7640 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7642 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7659 static PyObject
*_wrap_ZipFSHandler_FindNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7660 PyObject
*resultobj
;
7661 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
7663 PyObject
* obj0
= 0 ;
7665 (char *) "self", NULL
7668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ZipFSHandler_FindNext",kwnames
,&obj0
)) goto fail
;
7669 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxZipFSHandler
,
7670 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7673 result
= (arg1
)->FindNext();
7675 wxPyEndAllowThreads(__tstate
);
7676 if (PyErr_Occurred()) SWIG_fail
;
7680 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7682 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7691 static PyObject
* ZipFSHandler_swigregister(PyObject
*self
, PyObject
*args
) {
7693 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7694 SWIG_TypeClientData(SWIGTYPE_p_wxZipFSHandler
, obj
);
7696 return Py_BuildValue((char *)"");
7698 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7699 PyObject
*resultobj
;
7700 wxString
*arg1
= 0 ;
7703 bool temp1
= False
;
7704 PyObject
* obj0
= 0 ;
7705 PyObject
* obj1
= 0 ;
7706 PyObject
* obj2
= 0 ;
7708 (char *) "filename",(char *) "image",(char *) "type", NULL
7711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7713 arg1
= wxString_in_helper(obj0
);
7714 if (arg1
== NULL
) SWIG_fail
;
7717 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImage
,
7718 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7721 PyErr_SetString(PyExc_TypeError
,"null reference");
7724 arg3
= (long) SWIG_AsLong(obj2
);
7725 if (PyErr_Occurred()) SWIG_fail
;
7727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7728 __wxMemoryFSHandler_AddFile_wxImage((wxString
const &)*arg1
,*arg2
,arg3
);
7730 wxPyEndAllowThreads(__tstate
);
7731 if (PyErr_Occurred()) SWIG_fail
;
7733 Py_INCREF(Py_None
); resultobj
= Py_None
;
7748 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7749 PyObject
*resultobj
;
7750 wxString
*arg1
= 0 ;
7751 wxBitmap
*arg2
= 0 ;
7753 bool temp1
= False
;
7754 PyObject
* obj0
= 0 ;
7755 PyObject
* obj1
= 0 ;
7756 PyObject
* obj2
= 0 ;
7758 (char *) "filename",(char *) "bitmap",(char *) "type", NULL
7761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7763 arg1
= wxString_in_helper(obj0
);
7764 if (arg1
== NULL
) SWIG_fail
;
7767 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
7768 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7771 PyErr_SetString(PyExc_TypeError
,"null reference");
7774 arg3
= (long) SWIG_AsLong(obj2
);
7775 if (PyErr_Occurred()) SWIG_fail
;
7777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7778 __wxMemoryFSHandler_AddFile_wxBitmap((wxString
const &)*arg1
,(wxBitmap
const &)*arg2
,arg3
);
7780 wxPyEndAllowThreads(__tstate
);
7781 if (PyErr_Occurred()) SWIG_fail
;
7783 Py_INCREF(Py_None
); resultobj
= Py_None
;
7798 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_Data(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7799 PyObject
*resultobj
;
7800 wxString
*arg1
= 0 ;
7801 PyObject
*arg2
= (PyObject
*) 0 ;
7802 bool temp1
= False
;
7803 PyObject
* obj0
= 0 ;
7804 PyObject
* obj1
= 0 ;
7806 (char *) "filename",(char *) "data", NULL
7809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:__wxMemoryFSHandler_AddFile_Data",kwnames
,&obj0
,&obj1
)) goto fail
;
7811 arg1
= wxString_in_helper(obj0
);
7812 if (arg1
== NULL
) SWIG_fail
;
7817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7818 __wxMemoryFSHandler_AddFile_Data((wxString
const &)*arg1
,arg2
);
7820 wxPyEndAllowThreads(__tstate
);
7821 if (PyErr_Occurred()) SWIG_fail
;
7823 Py_INCREF(Py_None
); resultobj
= Py_None
;
7838 static PyObject
*_wrap_new_MemoryFSHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7839 PyObject
*resultobj
;
7840 wxMemoryFSHandler
*result
;
7845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MemoryFSHandler",kwnames
)) goto fail
;
7847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7848 result
= (wxMemoryFSHandler
*)new wxMemoryFSHandler();
7850 wxPyEndAllowThreads(__tstate
);
7851 if (PyErr_Occurred()) SWIG_fail
;
7853 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMemoryFSHandler
, 1);
7860 static PyObject
*_wrap_MemoryFSHandler_RemoveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7861 PyObject
*resultobj
;
7862 wxString
*arg1
= 0 ;
7863 bool temp1
= False
;
7864 PyObject
* obj0
= 0 ;
7866 (char *) "filename", NULL
7869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MemoryFSHandler_RemoveFile",kwnames
,&obj0
)) goto fail
;
7871 arg1
= wxString_in_helper(obj0
);
7872 if (arg1
== NULL
) SWIG_fail
;
7876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7877 wxMemoryFSHandler::RemoveFile((wxString
const &)*arg1
);
7879 wxPyEndAllowThreads(__tstate
);
7880 if (PyErr_Occurred()) SWIG_fail
;
7882 Py_INCREF(Py_None
); resultobj
= Py_None
;
7897 static PyObject
*_wrap_MemoryFSHandler_CanOpen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7898 PyObject
*resultobj
;
7899 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
7900 wxString
*arg2
= 0 ;
7902 bool temp2
= False
;
7903 PyObject
* obj0
= 0 ;
7904 PyObject
* obj1
= 0 ;
7906 (char *) "self",(char *) "location", NULL
7909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
7910 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryFSHandler
,
7911 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7913 arg2
= wxString_in_helper(obj1
);
7914 if (arg2
== NULL
) SWIG_fail
;
7918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7919 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
7921 wxPyEndAllowThreads(__tstate
);
7922 if (PyErr_Occurred()) SWIG_fail
;
7925 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7941 static PyObject
*_wrap_MemoryFSHandler_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7942 PyObject
*resultobj
;
7943 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
7944 wxFileSystem
*arg2
= 0 ;
7945 wxString
*arg3
= 0 ;
7947 bool temp3
= False
;
7948 PyObject
* obj0
= 0 ;
7949 PyObject
* obj1
= 0 ;
7950 PyObject
* obj2
= 0 ;
7952 (char *) "self",(char *) "fs",(char *) "location", NULL
7955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MemoryFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7956 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryFSHandler
,
7957 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7958 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileSystem
,
7959 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7962 PyErr_SetString(PyExc_TypeError
,"null reference");
7966 arg3
= wxString_in_helper(obj2
);
7967 if (arg3
== NULL
) SWIG_fail
;
7971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7972 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
7974 wxPyEndAllowThreads(__tstate
);
7975 if (PyErr_Occurred()) SWIG_fail
;
7978 resultobj
= wxPyMake_wxObject(result
);
7994 static PyObject
*_wrap_MemoryFSHandler_FindFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7995 PyObject
*resultobj
;
7996 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
7997 wxString
*arg2
= 0 ;
7998 int arg3
= (int) 0 ;
8000 bool temp2
= False
;
8001 PyObject
* obj0
= 0 ;
8002 PyObject
* obj1
= 0 ;
8003 PyObject
* obj2
= 0 ;
8005 (char *) "self",(char *) "spec",(char *) "flags", NULL
8008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MemoryFSHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8009 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryFSHandler
,
8010 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8012 arg2
= wxString_in_helper(obj1
);
8013 if (arg2
== NULL
) SWIG_fail
;
8017 arg3
= (int) SWIG_AsInt(obj2
);
8018 if (PyErr_Occurred()) SWIG_fail
;
8021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8022 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
8024 wxPyEndAllowThreads(__tstate
);
8025 if (PyErr_Occurred()) SWIG_fail
;
8029 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8031 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8048 static PyObject
*_wrap_MemoryFSHandler_FindNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8049 PyObject
*resultobj
;
8050 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
8052 PyObject
* obj0
= 0 ;
8054 (char *) "self", NULL
8057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MemoryFSHandler_FindNext",kwnames
,&obj0
)) goto fail
;
8058 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryFSHandler
,
8059 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8062 result
= (arg1
)->FindNext();
8064 wxPyEndAllowThreads(__tstate
);
8065 if (PyErr_Occurred()) SWIG_fail
;
8069 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8071 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8080 static PyObject
* MemoryFSHandler_swigregister(PyObject
*self
, PyObject
*args
) {
8082 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8083 SWIG_TypeClientData(SWIGTYPE_p_wxMemoryFSHandler
, obj
);
8085 return Py_BuildValue((char *)"");
8087 static PyObject
*_wrap_ImageHandler_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8088 PyObject
*resultobj
;
8089 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8091 PyObject
* obj0
= 0 ;
8093 (char *) "self", NULL
8096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetName",kwnames
,&obj0
)) goto fail
;
8097 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8098 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8101 result
= (arg1
)->GetName();
8103 wxPyEndAllowThreads(__tstate
);
8104 if (PyErr_Occurred()) SWIG_fail
;
8108 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8110 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8119 static PyObject
*_wrap_ImageHandler_GetExtension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8120 PyObject
*resultobj
;
8121 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8123 PyObject
* obj0
= 0 ;
8125 (char *) "self", NULL
8128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetExtension",kwnames
,&obj0
)) goto fail
;
8129 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8130 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8133 result
= (arg1
)->GetExtension();
8135 wxPyEndAllowThreads(__tstate
);
8136 if (PyErr_Occurred()) SWIG_fail
;
8140 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8142 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8151 static PyObject
*_wrap_ImageHandler_GetType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8152 PyObject
*resultobj
;
8153 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8155 PyObject
* obj0
= 0 ;
8157 (char *) "self", NULL
8160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetType",kwnames
,&obj0
)) goto fail
;
8161 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8162 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8165 result
= (long)(arg1
)->GetType();
8167 wxPyEndAllowThreads(__tstate
);
8168 if (PyErr_Occurred()) SWIG_fail
;
8170 resultobj
= SWIG_FromLong((long)result
);
8177 static PyObject
*_wrap_ImageHandler_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8178 PyObject
*resultobj
;
8179 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8181 PyObject
* obj0
= 0 ;
8183 (char *) "self", NULL
8186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetMimeType",kwnames
,&obj0
)) goto fail
;
8187 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8188 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8191 result
= (arg1
)->GetMimeType();
8193 wxPyEndAllowThreads(__tstate
);
8194 if (PyErr_Occurred()) SWIG_fail
;
8198 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8200 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8209 static PyObject
*_wrap_ImageHandler_CanRead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8210 PyObject
*resultobj
;
8211 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8212 wxString
*arg2
= 0 ;
8214 bool temp2
= False
;
8215 PyObject
* obj0
= 0 ;
8216 PyObject
* obj1
= 0 ;
8218 (char *) "self",(char *) "name", NULL
8221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_CanRead",kwnames
,&obj0
,&obj1
)) goto fail
;
8222 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8223 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8225 arg2
= wxString_in_helper(obj1
);
8226 if (arg2
== NULL
) SWIG_fail
;
8230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8231 result
= (bool)(arg1
)->CanRead((wxString
const &)*arg2
);
8233 wxPyEndAllowThreads(__tstate
);
8234 if (PyErr_Occurred()) SWIG_fail
;
8237 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8253 static PyObject
*_wrap_ImageHandler_SetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8254 PyObject
*resultobj
;
8255 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8256 wxString
*arg2
= 0 ;
8257 bool temp2
= False
;
8258 PyObject
* obj0
= 0 ;
8259 PyObject
* obj1
= 0 ;
8261 (char *) "self",(char *) "name", NULL
8264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetName",kwnames
,&obj0
,&obj1
)) goto fail
;
8265 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8266 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8268 arg2
= wxString_in_helper(obj1
);
8269 if (arg2
== NULL
) SWIG_fail
;
8273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8274 (arg1
)->SetName((wxString
const &)*arg2
);
8276 wxPyEndAllowThreads(__tstate
);
8277 if (PyErr_Occurred()) SWIG_fail
;
8279 Py_INCREF(Py_None
); resultobj
= Py_None
;
8294 static PyObject
*_wrap_ImageHandler_SetExtension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8295 PyObject
*resultobj
;
8296 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8297 wxString
*arg2
= 0 ;
8298 bool temp2
= False
;
8299 PyObject
* obj0
= 0 ;
8300 PyObject
* obj1
= 0 ;
8302 (char *) "self",(char *) "extension", NULL
8305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetExtension",kwnames
,&obj0
,&obj1
)) goto fail
;
8306 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8307 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8309 arg2
= wxString_in_helper(obj1
);
8310 if (arg2
== NULL
) SWIG_fail
;
8314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8315 (arg1
)->SetExtension((wxString
const &)*arg2
);
8317 wxPyEndAllowThreads(__tstate
);
8318 if (PyErr_Occurred()) SWIG_fail
;
8320 Py_INCREF(Py_None
); resultobj
= Py_None
;
8335 static PyObject
*_wrap_ImageHandler_SetType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8336 PyObject
*resultobj
;
8337 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8339 PyObject
* obj0
= 0 ;
8340 PyObject
* obj1
= 0 ;
8342 (char *) "self",(char *) "type", NULL
8345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetType",kwnames
,&obj0
,&obj1
)) goto fail
;
8346 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8347 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8348 arg2
= (long) SWIG_AsLong(obj1
);
8349 if (PyErr_Occurred()) SWIG_fail
;
8351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8352 (arg1
)->SetType(arg2
);
8354 wxPyEndAllowThreads(__tstate
);
8355 if (PyErr_Occurred()) SWIG_fail
;
8357 Py_INCREF(Py_None
); resultobj
= Py_None
;
8364 static PyObject
*_wrap_ImageHandler_SetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8365 PyObject
*resultobj
;
8366 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8367 wxString
*arg2
= 0 ;
8368 bool temp2
= False
;
8369 PyObject
* obj0
= 0 ;
8370 PyObject
* obj1
= 0 ;
8372 (char *) "self",(char *) "mimetype", NULL
8375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetMimeType",kwnames
,&obj0
,&obj1
)) goto fail
;
8376 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8377 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8379 arg2
= wxString_in_helper(obj1
);
8380 if (arg2
== NULL
) SWIG_fail
;
8384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8385 (arg1
)->SetMimeType((wxString
const &)*arg2
);
8387 wxPyEndAllowThreads(__tstate
);
8388 if (PyErr_Occurred()) SWIG_fail
;
8390 Py_INCREF(Py_None
); resultobj
= Py_None
;
8405 static PyObject
* ImageHandler_swigregister(PyObject
*self
, PyObject
*args
) {
8407 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8408 SWIG_TypeClientData(SWIGTYPE_p_wxImageHandler
, obj
);
8410 return Py_BuildValue((char *)"");
8412 static PyObject
*_wrap_new_ImageHistogram(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8413 PyObject
*resultobj
;
8414 wxImageHistogram
*result
;
8419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ImageHistogram",kwnames
)) goto fail
;
8421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8422 result
= (wxImageHistogram
*)new wxImageHistogram();
8424 wxPyEndAllowThreads(__tstate
);
8425 if (PyErr_Occurred()) SWIG_fail
;
8427 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImageHistogram
, 1);
8434 static PyObject
*_wrap_ImageHistogram_MakeKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8435 PyObject
*resultobj
;
8436 unsigned char arg1
;
8437 unsigned char arg2
;
8438 unsigned char arg3
;
8439 unsigned long result
;
8440 PyObject
* obj0
= 0 ;
8441 PyObject
* obj1
= 0 ;
8442 PyObject
* obj2
= 0 ;
8444 (char *) "r",(char *) "g",(char *) "b", NULL
8447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageHistogram_MakeKey",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8448 arg1
= (unsigned char) SWIG_AsUnsignedChar(obj0
);
8449 if (PyErr_Occurred()) SWIG_fail
;
8450 arg2
= (unsigned char) SWIG_AsUnsignedChar(obj1
);
8451 if (PyErr_Occurred()) SWIG_fail
;
8452 arg3
= (unsigned char) SWIG_AsUnsignedChar(obj2
);
8453 if (PyErr_Occurred()) SWIG_fail
;
8455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8456 result
= (unsigned long)wxImageHistogram::MakeKey(arg1
,arg2
,arg3
);
8458 wxPyEndAllowThreads(__tstate
);
8459 if (PyErr_Occurred()) SWIG_fail
;
8461 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
8468 static PyObject
*_wrap_ImageHistogram_FindFirstUnusedColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8469 PyObject
*resultobj
;
8470 wxImageHistogram
*arg1
= (wxImageHistogram
*) 0 ;
8471 unsigned char *arg2
= (unsigned char *) 0 ;
8472 unsigned char *arg3
= (unsigned char *) 0 ;
8473 unsigned char *arg4
= (unsigned char *) 0 ;
8474 unsigned char arg5
= (unsigned char) 1 ;
8475 unsigned char arg6
= (unsigned char) 0 ;
8476 unsigned char arg7
= (unsigned char) 0 ;
8478 unsigned char temp2
;
8479 unsigned char temp3
;
8480 unsigned char temp4
;
8481 PyObject
* obj0
= 0 ;
8482 PyObject
* obj1
= 0 ;
8483 PyObject
* obj2
= 0 ;
8484 PyObject
* obj3
= 0 ;
8486 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
8492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:ImageHistogram_FindFirstUnusedColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8493 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHistogram
,
8494 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8496 arg5
= (unsigned char) SWIG_AsUnsignedChar(obj1
);
8497 if (PyErr_Occurred()) SWIG_fail
;
8500 arg6
= (unsigned char) SWIG_AsUnsignedChar(obj2
);
8501 if (PyErr_Occurred()) SWIG_fail
;
8504 arg7
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
8505 if (PyErr_Occurred()) SWIG_fail
;
8508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8509 result
= (bool)((wxImageHistogram
const *)arg1
)->FindFirstUnusedColour(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
8511 wxPyEndAllowThreads(__tstate
);
8512 if (PyErr_Occurred()) SWIG_fail
;
8515 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8518 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
8519 resultobj
= t_output_helper(resultobj
,o
);
8522 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
8523 resultobj
= t_output_helper(resultobj
,o
);
8526 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
8527 resultobj
= t_output_helper(resultobj
,o
);
8535 static PyObject
* ImageHistogram_swigregister(PyObject
*self
, PyObject
*args
) {
8537 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8538 SWIG_TypeClientData(SWIGTYPE_p_wxImageHistogram
, obj
);
8540 return Py_BuildValue((char *)"");
8542 static PyObject
*_wrap_new_Image(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8543 PyObject
*resultobj
;
8544 wxString
*arg1
= 0 ;
8545 long arg2
= (long) wxBITMAP_TYPE_ANY
;
8546 int arg3
= (int) -1 ;
8548 bool temp1
= False
;
8549 PyObject
* obj0
= 0 ;
8550 PyObject
* obj1
= 0 ;
8551 PyObject
* obj2
= 0 ;
8553 (char *) "name",(char *) "type",(char *) "index", NULL
8556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Image",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8558 arg1
= wxString_in_helper(obj0
);
8559 if (arg1
== NULL
) SWIG_fail
;
8563 arg2
= (long) SWIG_AsLong(obj1
);
8564 if (PyErr_Occurred()) SWIG_fail
;
8567 arg3
= (int) SWIG_AsInt(obj2
);
8568 if (PyErr_Occurred()) SWIG_fail
;
8571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8572 result
= (wxImage
*)new wxImage((wxString
const &)*arg1
,arg2
,arg3
);
8574 wxPyEndAllowThreads(__tstate
);
8575 if (PyErr_Occurred()) SWIG_fail
;
8577 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8592 static PyObject
*_wrap_delete_Image(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8593 PyObject
*resultobj
;
8594 wxImage
*arg1
= (wxImage
*) 0 ;
8595 PyObject
* obj0
= 0 ;
8597 (char *) "self", NULL
8600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Image",kwnames
,&obj0
)) goto fail
;
8601 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
8602 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8607 wxPyEndAllowThreads(__tstate
);
8608 if (PyErr_Occurred()) SWIG_fail
;
8610 Py_INCREF(Py_None
); resultobj
= Py_None
;
8617 static PyObject
*_wrap_new_ImageFromMime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8618 PyObject
*resultobj
;
8619 wxString
*arg1
= 0 ;
8620 wxString
*arg2
= 0 ;
8621 int arg3
= (int) -1 ;
8623 bool temp1
= False
;
8624 bool temp2
= False
;
8625 PyObject
* obj0
= 0 ;
8626 PyObject
* obj1
= 0 ;
8627 PyObject
* obj2
= 0 ;
8629 (char *) "name",(char *) "mimetype",(char *) "index", NULL
8632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_ImageFromMime",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8634 arg1
= wxString_in_helper(obj0
);
8635 if (arg1
== NULL
) SWIG_fail
;
8639 arg2
= wxString_in_helper(obj1
);
8640 if (arg2
== NULL
) SWIG_fail
;
8644 arg3
= (int) SWIG_AsInt(obj2
);
8645 if (PyErr_Occurred()) SWIG_fail
;
8648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8649 result
= (wxImage
*)new wxImage((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
8651 wxPyEndAllowThreads(__tstate
);
8652 if (PyErr_Occurred()) SWIG_fail
;
8654 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8677 static PyObject
*_wrap_new_ImageFromStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8678 PyObject
*resultobj
;
8679 wxInputStream
*arg1
= 0 ;
8680 long arg2
= (long) wxBITMAP_TYPE_ANY
;
8681 int arg3
= (int) -1 ;
8683 wxPyInputStream
*temp1
;
8685 PyObject
* obj0
= 0 ;
8686 PyObject
* obj1
= 0 ;
8687 PyObject
* obj2
= 0 ;
8689 (char *) "stream",(char *) "type",(char *) "index", NULL
8692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_ImageFromStream",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8694 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
8695 arg1
= temp1
->m_wxis
;
8698 PyErr_Clear(); // clear the failure of the wxPyConvert above
8699 arg1
= wxPyCBInputStream_create(obj0
, False
);
8701 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
8708 arg2
= (long) SWIG_AsLong(obj1
);
8709 if (PyErr_Occurred()) SWIG_fail
;
8712 arg3
= (int) SWIG_AsInt(obj2
);
8713 if (PyErr_Occurred()) SWIG_fail
;
8716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8717 result
= (wxImage
*)new wxImage(*arg1
,arg2
,arg3
);
8719 wxPyEndAllowThreads(__tstate
);
8720 if (PyErr_Occurred()) SWIG_fail
;
8722 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8737 static PyObject
*_wrap_new_ImageFromStreamMime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8738 PyObject
*resultobj
;
8739 wxInputStream
*arg1
= 0 ;
8740 wxString
*arg2
= 0 ;
8741 int arg3
= (int) -1 ;
8743 wxPyInputStream
*temp1
;
8745 bool temp2
= False
;
8746 PyObject
* obj0
= 0 ;
8747 PyObject
* obj1
= 0 ;
8748 PyObject
* obj2
= 0 ;
8750 (char *) "stream",(char *) "mimetype",(char *) "index", NULL
8753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_ImageFromStreamMime",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8755 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
8756 arg1
= temp1
->m_wxis
;
8759 PyErr_Clear(); // clear the failure of the wxPyConvert above
8760 arg1
= wxPyCBInputStream_create(obj0
, False
);
8762 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
8769 arg2
= wxString_in_helper(obj1
);
8770 if (arg2
== NULL
) SWIG_fail
;
8774 arg3
= (int) SWIG_AsInt(obj2
);
8775 if (PyErr_Occurred()) SWIG_fail
;
8778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8779 result
= (wxImage
*)new wxImage(*arg1
,(wxString
const &)*arg2
,arg3
);
8781 wxPyEndAllowThreads(__tstate
);
8782 if (PyErr_Occurred()) SWIG_fail
;
8784 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8807 static PyObject
*_wrap_new_EmptyImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8808 PyObject
*resultobj
;
8809 int arg1
= (int) 0 ;
8810 int arg2
= (int) 0 ;
8811 bool arg3
= (bool) True
;
8813 PyObject
* obj0
= 0 ;
8814 PyObject
* obj1
= 0 ;
8815 PyObject
* obj2
= 0 ;
8817 (char *) "width",(char *) "height",(char *) "clear", NULL
8820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_EmptyImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8822 arg1
= (int) SWIG_AsInt(obj0
);
8823 if (PyErr_Occurred()) SWIG_fail
;
8826 arg2
= (int) SWIG_AsInt(obj1
);
8827 if (PyErr_Occurred()) SWIG_fail
;
8830 arg3
= (bool) SWIG_AsBool(obj2
);
8831 if (PyErr_Occurred()) SWIG_fail
;
8834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8835 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
);
8837 wxPyEndAllowThreads(__tstate
);
8838 if (PyErr_Occurred()) SWIG_fail
;
8840 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8847 static PyObject
*_wrap_new_ImageFromBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8848 PyObject
*resultobj
;
8849 wxBitmap
*arg1
= 0 ;
8851 PyObject
* obj0
= 0 ;
8853 (char *) "bitmap", NULL
8856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ImageFromBitmap",kwnames
,&obj0
)) goto fail
;
8857 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
8858 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8861 PyErr_SetString(PyExc_TypeError
,"null reference");
8865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8866 result
= (wxImage
*)new_wxImage((wxBitmap
const &)*arg1
);
8868 wxPyEndAllowThreads(__tstate
);
8869 if (PyErr_Occurred()) SWIG_fail
;
8871 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8878 static PyObject
*_wrap_new_ImageFromData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8879 PyObject
*resultobj
;
8882 unsigned char *arg3
= (unsigned char *) 0 ;
8884 PyObject
* obj0
= 0 ;
8885 PyObject
* obj1
= 0 ;
8886 PyObject
* obj2
= 0 ;
8888 (char *) "width",(char *) "height",(char *) "data", NULL
8891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_ImageFromData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8892 arg1
= (int) SWIG_AsInt(obj0
);
8893 if (PyErr_Occurred()) SWIG_fail
;
8894 arg2
= (int) SWIG_AsInt(obj1
);
8895 if (PyErr_Occurred()) SWIG_fail
;
8896 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_unsigned_char
,
8897 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8900 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
);
8902 wxPyEndAllowThreads(__tstate
);
8903 if (PyErr_Occurred()) SWIG_fail
;
8905 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8912 static PyObject
*_wrap_Image_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8913 PyObject
*resultobj
;
8914 wxImage
*arg1
= (wxImage
*) 0 ;
8917 PyObject
* obj0
= 0 ;
8918 PyObject
* obj1
= 0 ;
8919 PyObject
* obj2
= 0 ;
8921 (char *) "self",(char *) "width",(char *) "height", NULL
8924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8925 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
8926 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8927 arg2
= (int) SWIG_AsInt(obj1
);
8928 if (PyErr_Occurred()) SWIG_fail
;
8929 arg3
= (int) SWIG_AsInt(obj2
);
8930 if (PyErr_Occurred()) SWIG_fail
;
8932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8933 (arg1
)->Create(arg2
,arg3
);
8935 wxPyEndAllowThreads(__tstate
);
8936 if (PyErr_Occurred()) SWIG_fail
;
8938 Py_INCREF(Py_None
); resultobj
= Py_None
;
8945 static PyObject
*_wrap_Image_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8946 PyObject
*resultobj
;
8947 wxImage
*arg1
= (wxImage
*) 0 ;
8948 PyObject
* obj0
= 0 ;
8950 (char *) "self", NULL
8953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Destroy",kwnames
,&obj0
)) goto fail
;
8954 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
8955 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8960 wxPyEndAllowThreads(__tstate
);
8961 if (PyErr_Occurred()) SWIG_fail
;
8963 Py_INCREF(Py_None
); resultobj
= Py_None
;
8970 static PyObject
*_wrap_Image_Scale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8971 PyObject
*resultobj
;
8972 wxImage
*arg1
= (wxImage
*) 0 ;
8975 SwigValueWrapper
< wxImage
> result
;
8976 PyObject
* obj0
= 0 ;
8977 PyObject
* obj1
= 0 ;
8978 PyObject
* obj2
= 0 ;
8980 (char *) "self",(char *) "width",(char *) "height", NULL
8983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8984 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
8985 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8986 arg2
= (int) SWIG_AsInt(obj1
);
8987 if (PyErr_Occurred()) SWIG_fail
;
8988 arg3
= (int) SWIG_AsInt(obj2
);
8989 if (PyErr_Occurred()) SWIG_fail
;
8991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8992 result
= (arg1
)->Scale(arg2
,arg3
);
8994 wxPyEndAllowThreads(__tstate
);
8995 if (PyErr_Occurred()) SWIG_fail
;
8998 wxImage
* resultptr
;
8999 resultptr
= new wxImage((wxImage
&) result
);
9000 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
9008 static PyObject
*_wrap_Image_ShrinkBy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9009 PyObject
*resultobj
;
9010 wxImage
*arg1
= (wxImage
*) 0 ;
9013 SwigValueWrapper
< wxImage
> result
;
9014 PyObject
* obj0
= 0 ;
9015 PyObject
* obj1
= 0 ;
9016 PyObject
* obj2
= 0 ;
9018 (char *) "self",(char *) "xFactor",(char *) "yFactor", NULL
9021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_ShrinkBy",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9022 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9023 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9024 arg2
= (int) SWIG_AsInt(obj1
);
9025 if (PyErr_Occurred()) SWIG_fail
;
9026 arg3
= (int) SWIG_AsInt(obj2
);
9027 if (PyErr_Occurred()) SWIG_fail
;
9029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9030 result
= ((wxImage
const *)arg1
)->ShrinkBy(arg2
,arg3
);
9032 wxPyEndAllowThreads(__tstate
);
9033 if (PyErr_Occurred()) SWIG_fail
;
9036 wxImage
* resultptr
;
9037 resultptr
= new wxImage((wxImage
&) result
);
9038 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
9046 static PyObject
*_wrap_Image_Rescale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9047 PyObject
*resultobj
;
9048 wxImage
*arg1
= (wxImage
*) 0 ;
9052 PyObject
* obj0
= 0 ;
9053 PyObject
* obj1
= 0 ;
9054 PyObject
* obj2
= 0 ;
9056 (char *) "self",(char *) "width",(char *) "height", NULL
9059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Rescale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9060 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9061 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9062 arg2
= (int) SWIG_AsInt(obj1
);
9063 if (PyErr_Occurred()) SWIG_fail
;
9064 arg3
= (int) SWIG_AsInt(obj2
);
9065 if (PyErr_Occurred()) SWIG_fail
;
9067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9069 wxImage
&_result_ref
= (arg1
)->Rescale(arg2
,arg3
);
9070 result
= (wxImage
*) &_result_ref
;
9073 wxPyEndAllowThreads(__tstate
);
9074 if (PyErr_Occurred()) SWIG_fail
;
9076 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 0);
9083 static PyObject
*_wrap_Image_SetRGB(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9084 PyObject
*resultobj
;
9085 wxImage
*arg1
= (wxImage
*) 0 ;
9088 unsigned char arg4
;
9089 unsigned char arg5
;
9090 unsigned char arg6
;
9091 PyObject
* obj0
= 0 ;
9092 PyObject
* obj1
= 0 ;
9093 PyObject
* obj2
= 0 ;
9094 PyObject
* obj3
= 0 ;
9095 PyObject
* obj4
= 0 ;
9096 PyObject
* obj5
= 0 ;
9098 (char *) "self",(char *) "x",(char *) "y",(char *) "r",(char *) "g",(char *) "b", NULL
9101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Image_SetRGB",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9102 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9103 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9104 arg2
= (int) SWIG_AsInt(obj1
);
9105 if (PyErr_Occurred()) SWIG_fail
;
9106 arg3
= (int) SWIG_AsInt(obj2
);
9107 if (PyErr_Occurred()) SWIG_fail
;
9108 arg4
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
9109 if (PyErr_Occurred()) SWIG_fail
;
9110 arg5
= (unsigned char) SWIG_AsUnsignedChar(obj4
);
9111 if (PyErr_Occurred()) SWIG_fail
;
9112 arg6
= (unsigned char) SWIG_AsUnsignedChar(obj5
);
9113 if (PyErr_Occurred()) SWIG_fail
;
9115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9116 (arg1
)->SetRGB(arg2
,arg3
,arg4
,arg5
,arg6
);
9118 wxPyEndAllowThreads(__tstate
);
9119 if (PyErr_Occurred()) SWIG_fail
;
9121 Py_INCREF(Py_None
); resultobj
= Py_None
;
9128 static PyObject
*_wrap_Image_GetRed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9129 PyObject
*resultobj
;
9130 wxImage
*arg1
= (wxImage
*) 0 ;
9133 unsigned char result
;
9134 PyObject
* obj0
= 0 ;
9135 PyObject
* obj1
= 0 ;
9136 PyObject
* obj2
= 0 ;
9138 (char *) "self",(char *) "x",(char *) "y", NULL
9141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetRed",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9142 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9143 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9144 arg2
= (int) SWIG_AsInt(obj1
);
9145 if (PyErr_Occurred()) SWIG_fail
;
9146 arg3
= (int) SWIG_AsInt(obj2
);
9147 if (PyErr_Occurred()) SWIG_fail
;
9149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9150 result
= (unsigned char)(arg1
)->GetRed(arg2
,arg3
);
9152 wxPyEndAllowThreads(__tstate
);
9153 if (PyErr_Occurred()) SWIG_fail
;
9155 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
9162 static PyObject
*_wrap_Image_GetGreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9163 PyObject
*resultobj
;
9164 wxImage
*arg1
= (wxImage
*) 0 ;
9167 unsigned char result
;
9168 PyObject
* obj0
= 0 ;
9169 PyObject
* obj1
= 0 ;
9170 PyObject
* obj2
= 0 ;
9172 (char *) "self",(char *) "x",(char *) "y", NULL
9175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetGreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9176 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9177 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9178 arg2
= (int) SWIG_AsInt(obj1
);
9179 if (PyErr_Occurred()) SWIG_fail
;
9180 arg3
= (int) SWIG_AsInt(obj2
);
9181 if (PyErr_Occurred()) SWIG_fail
;
9183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9184 result
= (unsigned char)(arg1
)->GetGreen(arg2
,arg3
);
9186 wxPyEndAllowThreads(__tstate
);
9187 if (PyErr_Occurred()) SWIG_fail
;
9189 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
9196 static PyObject
*_wrap_Image_GetBlue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9197 PyObject
*resultobj
;
9198 wxImage
*arg1
= (wxImage
*) 0 ;
9201 unsigned char result
;
9202 PyObject
* obj0
= 0 ;
9203 PyObject
* obj1
= 0 ;
9204 PyObject
* obj2
= 0 ;
9206 (char *) "self",(char *) "x",(char *) "y", NULL
9209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetBlue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9210 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9211 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9212 arg2
= (int) SWIG_AsInt(obj1
);
9213 if (PyErr_Occurred()) SWIG_fail
;
9214 arg3
= (int) SWIG_AsInt(obj2
);
9215 if (PyErr_Occurred()) SWIG_fail
;
9217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9218 result
= (unsigned char)(arg1
)->GetBlue(arg2
,arg3
);
9220 wxPyEndAllowThreads(__tstate
);
9221 if (PyErr_Occurred()) SWIG_fail
;
9223 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
9230 static PyObject
*_wrap_Image_SetAlpha(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9231 PyObject
*resultobj
;
9232 wxImage
*arg1
= (wxImage
*) 0 ;
9235 unsigned char arg4
;
9236 PyObject
* obj0
= 0 ;
9237 PyObject
* obj1
= 0 ;
9238 PyObject
* obj2
= 0 ;
9239 PyObject
* obj3
= 0 ;
9241 (char *) "self",(char *) "x",(char *) "y",(char *) "alpha", NULL
9244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_SetAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9245 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9246 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9247 arg2
= (int) SWIG_AsInt(obj1
);
9248 if (PyErr_Occurred()) SWIG_fail
;
9249 arg3
= (int) SWIG_AsInt(obj2
);
9250 if (PyErr_Occurred()) SWIG_fail
;
9251 arg4
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
9252 if (PyErr_Occurred()) SWIG_fail
;
9254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9255 (arg1
)->SetAlpha(arg2
,arg3
,arg4
);
9257 wxPyEndAllowThreads(__tstate
);
9258 if (PyErr_Occurred()) SWIG_fail
;
9260 Py_INCREF(Py_None
); resultobj
= Py_None
;
9267 static PyObject
*_wrap_Image_GetAlpha(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9268 PyObject
*resultobj
;
9269 wxImage
*arg1
= (wxImage
*) 0 ;
9272 unsigned char result
;
9273 PyObject
* obj0
= 0 ;
9274 PyObject
* obj1
= 0 ;
9275 PyObject
* obj2
= 0 ;
9277 (char *) "self",(char *) "x",(char *) "y", NULL
9280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetAlpha",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9281 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9282 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9283 arg2
= (int) SWIG_AsInt(obj1
);
9284 if (PyErr_Occurred()) SWIG_fail
;
9285 arg3
= (int) SWIG_AsInt(obj2
);
9286 if (PyErr_Occurred()) SWIG_fail
;
9288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9289 result
= (unsigned char)(arg1
)->GetAlpha(arg2
,arg3
);
9291 wxPyEndAllowThreads(__tstate
);
9292 if (PyErr_Occurred()) SWIG_fail
;
9294 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
9301 static PyObject
*_wrap_Image_HasAlpha(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9302 PyObject
*resultobj
;
9303 wxImage
*arg1
= (wxImage
*) 0 ;
9305 PyObject
* obj0
= 0 ;
9307 (char *) "self", NULL
9310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HasAlpha",kwnames
,&obj0
)) goto fail
;
9311 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9312 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9315 result
= (bool)(arg1
)->HasAlpha();
9317 wxPyEndAllowThreads(__tstate
);
9318 if (PyErr_Occurred()) SWIG_fail
;
9321 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9329 static PyObject
*_wrap_Image_FindFirstUnusedColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9330 PyObject
*resultobj
;
9331 wxImage
*arg1
= (wxImage
*) 0 ;
9332 byte
*arg2
= (byte
*) 0 ;
9333 byte
*arg3
= (byte
*) 0 ;
9334 byte
*arg4
= (byte
*) 0 ;
9335 byte arg5
= (byte
) 0 ;
9336 byte arg6
= (byte
) 0 ;
9337 byte arg7
= (byte
) 0 ;
9342 PyObject
* obj0
= 0 ;
9343 PyObject
* obj1
= 0 ;
9344 PyObject
* obj2
= 0 ;
9345 PyObject
* obj3
= 0 ;
9347 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
9353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Image_FindFirstUnusedColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9354 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9355 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9357 arg5
= (byte
) SWIG_AsUnsignedChar(obj1
);
9358 if (PyErr_Occurred()) SWIG_fail
;
9361 arg6
= (byte
) SWIG_AsUnsignedChar(obj2
);
9362 if (PyErr_Occurred()) SWIG_fail
;
9365 arg7
= (byte
) SWIG_AsUnsignedChar(obj3
);
9366 if (PyErr_Occurred()) SWIG_fail
;
9369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9370 result
= (bool)((wxImage
const *)arg1
)->FindFirstUnusedColour(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
9372 wxPyEndAllowThreads(__tstate
);
9373 if (PyErr_Occurred()) SWIG_fail
;
9376 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9379 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
9380 resultobj
= t_output_helper(resultobj
,o
);
9383 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
9384 resultobj
= t_output_helper(resultobj
,o
);
9387 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
9388 resultobj
= t_output_helper(resultobj
,o
);
9396 static PyObject
*_wrap_Image_SetMaskFromImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9397 PyObject
*resultobj
;
9398 wxImage
*arg1
= (wxImage
*) 0 ;
9404 PyObject
* obj0
= 0 ;
9405 PyObject
* obj1
= 0 ;
9406 PyObject
* obj2
= 0 ;
9407 PyObject
* obj3
= 0 ;
9408 PyObject
* obj4
= 0 ;
9410 (char *) "self",(char *) "mask",(char *) "mr",(char *) "mg",(char *) "mb", NULL
9413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Image_SetMaskFromImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
9414 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9415 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9416 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImage
,
9417 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9420 PyErr_SetString(PyExc_TypeError
,"null reference");
9423 arg3
= (byte
) SWIG_AsUnsignedChar(obj2
);
9424 if (PyErr_Occurred()) SWIG_fail
;
9425 arg4
= (byte
) SWIG_AsUnsignedChar(obj3
);
9426 if (PyErr_Occurred()) SWIG_fail
;
9427 arg5
= (byte
) SWIG_AsUnsignedChar(obj4
);
9428 if (PyErr_Occurred()) SWIG_fail
;
9430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9431 result
= (bool)(arg1
)->SetMaskFromImage((wxImage
const &)*arg2
,arg3
,arg4
,arg5
);
9433 wxPyEndAllowThreads(__tstate
);
9434 if (PyErr_Occurred()) SWIG_fail
;
9437 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9445 static PyObject
*_wrap_Image_CanRead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9446 PyObject
*resultobj
;
9447 wxString
*arg1
= 0 ;
9449 bool temp1
= False
;
9450 PyObject
* obj0
= 0 ;
9452 (char *) "name", NULL
9455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_CanRead",kwnames
,&obj0
)) goto fail
;
9457 arg1
= wxString_in_helper(obj0
);
9458 if (arg1
== NULL
) SWIG_fail
;
9462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9463 result
= (bool)wxImage::CanRead((wxString
const &)*arg1
);
9465 wxPyEndAllowThreads(__tstate
);
9466 if (PyErr_Occurred()) SWIG_fail
;
9469 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9485 static PyObject
*_wrap_Image_GetImageCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9486 PyObject
*resultobj
;
9487 wxString
*arg1
= 0 ;
9488 long arg2
= (long) wxBITMAP_TYPE_ANY
;
9490 bool temp1
= False
;
9491 PyObject
* obj0
= 0 ;
9492 PyObject
* obj1
= 0 ;
9494 (char *) "name",(char *) "type", NULL
9497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_GetImageCount",kwnames
,&obj0
,&obj1
)) goto fail
;
9499 arg1
= wxString_in_helper(obj0
);
9500 if (arg1
== NULL
) SWIG_fail
;
9504 arg2
= (long) SWIG_AsLong(obj1
);
9505 if (PyErr_Occurred()) SWIG_fail
;
9508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9509 result
= (int)wxImage::GetImageCount((wxString
const &)*arg1
,arg2
);
9511 wxPyEndAllowThreads(__tstate
);
9512 if (PyErr_Occurred()) SWIG_fail
;
9514 resultobj
= SWIG_FromInt((int)result
);
9529 static PyObject
*_wrap_Image_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9530 PyObject
*resultobj
;
9531 wxImage
*arg1
= (wxImage
*) 0 ;
9532 wxString
*arg2
= 0 ;
9533 long arg3
= (long) wxBITMAP_TYPE_ANY
;
9534 int arg4
= (int) -1 ;
9536 bool temp2
= False
;
9537 PyObject
* obj0
= 0 ;
9538 PyObject
* obj1
= 0 ;
9539 PyObject
* obj2
= 0 ;
9540 PyObject
* obj3
= 0 ;
9542 (char *) "self",(char *) "name",(char *) "type",(char *) "index", NULL
9545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Image_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9546 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9547 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9549 arg2
= wxString_in_helper(obj1
);
9550 if (arg2
== NULL
) SWIG_fail
;
9554 arg3
= (long) SWIG_AsLong(obj2
);
9555 if (PyErr_Occurred()) SWIG_fail
;
9558 arg4
= (int) SWIG_AsInt(obj3
);
9559 if (PyErr_Occurred()) SWIG_fail
;
9562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9563 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
,arg4
);
9565 wxPyEndAllowThreads(__tstate
);
9566 if (PyErr_Occurred()) SWIG_fail
;
9569 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9585 static PyObject
*_wrap_Image_LoadMimeFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9586 PyObject
*resultobj
;
9587 wxImage
*arg1
= (wxImage
*) 0 ;
9588 wxString
*arg2
= 0 ;
9589 wxString
*arg3
= 0 ;
9590 int arg4
= (int) -1 ;
9592 bool temp2
= False
;
9593 bool temp3
= False
;
9594 PyObject
* obj0
= 0 ;
9595 PyObject
* obj1
= 0 ;
9596 PyObject
* obj2
= 0 ;
9597 PyObject
* obj3
= 0 ;
9599 (char *) "self",(char *) "name",(char *) "mimetype",(char *) "index", NULL
9602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_LoadMimeFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9603 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9604 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9606 arg2
= wxString_in_helper(obj1
);
9607 if (arg2
== NULL
) SWIG_fail
;
9611 arg3
= wxString_in_helper(obj2
);
9612 if (arg3
== NULL
) SWIG_fail
;
9616 arg4
= (int) SWIG_AsInt(obj3
);
9617 if (PyErr_Occurred()) SWIG_fail
;
9620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9621 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
9623 wxPyEndAllowThreads(__tstate
);
9624 if (PyErr_Occurred()) SWIG_fail
;
9627 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9651 static PyObject
*_wrap_Image_SaveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9652 PyObject
*resultobj
;
9653 wxImage
*arg1
= (wxImage
*) 0 ;
9654 wxString
*arg2
= 0 ;
9657 bool temp2
= False
;
9658 PyObject
* obj0
= 0 ;
9659 PyObject
* obj1
= 0 ;
9660 PyObject
* obj2
= 0 ;
9662 (char *) "self",(char *) "name",(char *) "type", NULL
9665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9666 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9667 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9669 arg2
= wxString_in_helper(obj1
);
9670 if (arg2
== NULL
) SWIG_fail
;
9673 arg3
= (int) SWIG_AsInt(obj2
);
9674 if (PyErr_Occurred()) SWIG_fail
;
9676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9677 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
);
9679 wxPyEndAllowThreads(__tstate
);
9680 if (PyErr_Occurred()) SWIG_fail
;
9683 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9699 static PyObject
*_wrap_Image_SaveMimeFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9700 PyObject
*resultobj
;
9701 wxImage
*arg1
= (wxImage
*) 0 ;
9702 wxString
*arg2
= 0 ;
9703 wxString
*arg3
= 0 ;
9705 bool temp2
= False
;
9706 bool temp3
= False
;
9707 PyObject
* obj0
= 0 ;
9708 PyObject
* obj1
= 0 ;
9709 PyObject
* obj2
= 0 ;
9711 (char *) "self",(char *) "name",(char *) "mimetype", NULL
9714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SaveMimeFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9715 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9716 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9718 arg2
= wxString_in_helper(obj1
);
9719 if (arg2
== NULL
) SWIG_fail
;
9723 arg3
= wxString_in_helper(obj2
);
9724 if (arg3
== NULL
) SWIG_fail
;
9728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9729 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,(wxString
const &)*arg3
);
9731 wxPyEndAllowThreads(__tstate
);
9732 if (PyErr_Occurred()) SWIG_fail
;
9735 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9759 static PyObject
*_wrap_Image_CanReadStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9760 PyObject
*resultobj
;
9761 wxInputStream
*arg1
= 0 ;
9763 wxPyInputStream
*temp1
;
9765 PyObject
* obj0
= 0 ;
9767 (char *) "stream", NULL
9770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_CanReadStream",kwnames
,&obj0
)) goto fail
;
9772 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
9773 arg1
= temp1
->m_wxis
;
9776 PyErr_Clear(); // clear the failure of the wxPyConvert above
9777 arg1
= wxPyCBInputStream_create(obj0
, False
);
9779 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
9786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9787 result
= (bool)wxImage::CanRead(*arg1
);
9789 wxPyEndAllowThreads(__tstate
);
9790 if (PyErr_Occurred()) SWIG_fail
;
9793 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9809 static PyObject
*_wrap_Image_LoadStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9810 PyObject
*resultobj
;
9811 wxImage
*arg1
= (wxImage
*) 0 ;
9812 wxInputStream
*arg2
= 0 ;
9813 long arg3
= (long) wxBITMAP_TYPE_ANY
;
9814 int arg4
= (int) -1 ;
9816 wxPyInputStream
*temp2
;
9818 PyObject
* obj0
= 0 ;
9819 PyObject
* obj1
= 0 ;
9820 PyObject
* obj2
= 0 ;
9821 PyObject
* obj3
= 0 ;
9823 (char *) "self",(char *) "stream",(char *) "type",(char *) "index", NULL
9826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Image_LoadStream",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9827 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9828 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9830 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
9831 arg2
= temp2
->m_wxis
;
9834 PyErr_Clear(); // clear the failure of the wxPyConvert above
9835 arg2
= wxPyCBInputStream_create(obj1
, False
);
9837 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
9844 arg3
= (long) SWIG_AsLong(obj2
);
9845 if (PyErr_Occurred()) SWIG_fail
;
9848 arg4
= (int) SWIG_AsInt(obj3
);
9849 if (PyErr_Occurred()) SWIG_fail
;
9852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9853 result
= (bool)(arg1
)->LoadFile(*arg2
,arg3
,arg4
);
9855 wxPyEndAllowThreads(__tstate
);
9856 if (PyErr_Occurred()) SWIG_fail
;
9859 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9875 static PyObject
*_wrap_Image_LoadMimeStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9876 PyObject
*resultobj
;
9877 wxImage
*arg1
= (wxImage
*) 0 ;
9878 wxInputStream
*arg2
= 0 ;
9879 wxString
*arg3
= 0 ;
9880 int arg4
= (int) -1 ;
9882 wxPyInputStream
*temp2
;
9884 bool temp3
= False
;
9885 PyObject
* obj0
= 0 ;
9886 PyObject
* obj1
= 0 ;
9887 PyObject
* obj2
= 0 ;
9888 PyObject
* obj3
= 0 ;
9890 (char *) "self",(char *) "stream",(char *) "mimetype",(char *) "index", NULL
9893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_LoadMimeStream",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9894 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9895 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9897 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
9898 arg2
= temp2
->m_wxis
;
9901 PyErr_Clear(); // clear the failure of the wxPyConvert above
9902 arg2
= wxPyCBInputStream_create(obj1
, False
);
9904 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
9911 arg3
= wxString_in_helper(obj2
);
9912 if (arg3
== NULL
) SWIG_fail
;
9916 arg4
= (int) SWIG_AsInt(obj3
);
9917 if (PyErr_Occurred()) SWIG_fail
;
9920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9921 result
= (bool)(arg1
)->LoadFile(*arg2
,(wxString
const &)*arg3
,arg4
);
9923 wxPyEndAllowThreads(__tstate
);
9924 if (PyErr_Occurred()) SWIG_fail
;
9927 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9951 static PyObject
*_wrap_Image_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9952 PyObject
*resultobj
;
9953 wxImage
*arg1
= (wxImage
*) 0 ;
9955 PyObject
* obj0
= 0 ;
9957 (char *) "self", NULL
9960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Ok",kwnames
,&obj0
)) goto fail
;
9961 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9962 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9965 result
= (bool)(arg1
)->Ok();
9967 wxPyEndAllowThreads(__tstate
);
9968 if (PyErr_Occurred()) SWIG_fail
;
9971 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9979 static PyObject
*_wrap_Image_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9980 PyObject
*resultobj
;
9981 wxImage
*arg1
= (wxImage
*) 0 ;
9983 PyObject
* obj0
= 0 ;
9985 (char *) "self", NULL
9988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetWidth",kwnames
,&obj0
)) goto fail
;
9989 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9990 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9993 result
= (int)(arg1
)->GetWidth();
9995 wxPyEndAllowThreads(__tstate
);
9996 if (PyErr_Occurred()) SWIG_fail
;
9998 resultobj
= SWIG_FromInt((int)result
);
10005 static PyObject
*_wrap_Image_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10006 PyObject
*resultobj
;
10007 wxImage
*arg1
= (wxImage
*) 0 ;
10009 PyObject
* obj0
= 0 ;
10010 char *kwnames
[] = {
10011 (char *) "self", NULL
10014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetHeight",kwnames
,&obj0
)) goto fail
;
10015 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10016 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10019 result
= (int)(arg1
)->GetHeight();
10021 wxPyEndAllowThreads(__tstate
);
10022 if (PyErr_Occurred()) SWIG_fail
;
10024 resultobj
= SWIG_FromInt((int)result
);
10031 static PyObject
*_wrap_Image_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10032 PyObject
*resultobj
;
10033 wxImage
*arg1
= (wxImage
*) 0 ;
10035 PyObject
* obj0
= 0 ;
10036 char *kwnames
[] = {
10037 (char *) "self", NULL
10040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetSize",kwnames
,&obj0
)) goto fail
;
10041 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10042 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10045 result
= wxImage_GetSize(arg1
);
10047 wxPyEndAllowThreads(__tstate
);
10048 if (PyErr_Occurred()) SWIG_fail
;
10051 wxSize
* resultptr
;
10052 resultptr
= new wxSize((wxSize
&) result
);
10053 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
10061 static PyObject
*_wrap_Image_GetSubImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10062 PyObject
*resultobj
;
10063 wxImage
*arg1
= (wxImage
*) 0 ;
10065 SwigValueWrapper
< wxImage
> result
;
10067 PyObject
* obj0
= 0 ;
10068 PyObject
* obj1
= 0 ;
10069 char *kwnames
[] = {
10070 (char *) "self",(char *) "rect", NULL
10073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetSubImage",kwnames
,&obj0
,&obj1
)) goto fail
;
10074 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10075 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10078 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10082 result
= (arg1
)->GetSubImage((wxRect
const &)*arg2
);
10084 wxPyEndAllowThreads(__tstate
);
10085 if (PyErr_Occurred()) SWIG_fail
;
10088 wxImage
* resultptr
;
10089 resultptr
= new wxImage((wxImage
&) result
);
10090 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10098 static PyObject
*_wrap_Image_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10099 PyObject
*resultobj
;
10100 wxImage
*arg1
= (wxImage
*) 0 ;
10101 SwigValueWrapper
< wxImage
> result
;
10102 PyObject
* obj0
= 0 ;
10103 char *kwnames
[] = {
10104 (char *) "self", NULL
10107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Copy",kwnames
,&obj0
)) goto fail
;
10108 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10109 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10112 result
= (arg1
)->Copy();
10114 wxPyEndAllowThreads(__tstate
);
10115 if (PyErr_Occurred()) SWIG_fail
;
10118 wxImage
* resultptr
;
10119 resultptr
= new wxImage((wxImage
&) result
);
10120 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10128 static PyObject
*_wrap_Image_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10129 PyObject
*resultobj
;
10130 wxImage
*arg1
= (wxImage
*) 0 ;
10131 wxImage
*arg2
= 0 ;
10134 PyObject
* obj0
= 0 ;
10135 PyObject
* obj1
= 0 ;
10136 PyObject
* obj2
= 0 ;
10137 PyObject
* obj3
= 0 ;
10138 char *kwnames
[] = {
10139 (char *) "self",(char *) "image",(char *) "x",(char *) "y", NULL
10142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_Paste",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10143 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10144 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10145 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImage
,
10146 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10148 if (arg2
== NULL
) {
10149 PyErr_SetString(PyExc_TypeError
,"null reference");
10152 arg3
= (int) SWIG_AsInt(obj2
);
10153 if (PyErr_Occurred()) SWIG_fail
;
10154 arg4
= (int) SWIG_AsInt(obj3
);
10155 if (PyErr_Occurred()) SWIG_fail
;
10157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10158 (arg1
)->Paste((wxImage
const &)*arg2
,arg3
,arg4
);
10160 wxPyEndAllowThreads(__tstate
);
10161 if (PyErr_Occurred()) SWIG_fail
;
10163 Py_INCREF(Py_None
); resultobj
= Py_None
;
10170 static PyObject
*_wrap_Image_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10171 PyObject
*resultobj
;
10172 wxImage
*arg1
= (wxImage
*) 0 ;
10174 PyObject
* obj0
= 0 ;
10175 char *kwnames
[] = {
10176 (char *) "self", NULL
10179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetData",kwnames
,&obj0
)) goto fail
;
10180 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10181 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10184 result
= (PyObject
*)wxImage_GetData(arg1
);
10186 wxPyEndAllowThreads(__tstate
);
10187 if (PyErr_Occurred()) SWIG_fail
;
10189 resultobj
= result
;
10196 static PyObject
*_wrap_Image_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10197 PyObject
*resultobj
;
10198 wxImage
*arg1
= (wxImage
*) 0 ;
10199 PyObject
*arg2
= (PyObject
*) 0 ;
10200 PyObject
* obj0
= 0 ;
10201 PyObject
* obj1
= 0 ;
10202 char *kwnames
[] = {
10203 (char *) "self",(char *) "data", NULL
10206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
10207 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10208 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10212 wxImage_SetData(arg1
,arg2
);
10214 wxPyEndAllowThreads(__tstate
);
10215 if (PyErr_Occurred()) SWIG_fail
;
10217 Py_INCREF(Py_None
); resultobj
= Py_None
;
10224 static PyObject
*_wrap_Image_GetDataBuffer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10225 PyObject
*resultobj
;
10226 wxImage
*arg1
= (wxImage
*) 0 ;
10228 PyObject
* obj0
= 0 ;
10229 char *kwnames
[] = {
10230 (char *) "self", NULL
10233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetDataBuffer",kwnames
,&obj0
)) goto fail
;
10234 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10235 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10238 result
= (PyObject
*)wxImage_GetDataBuffer(arg1
);
10240 wxPyEndAllowThreads(__tstate
);
10241 if (PyErr_Occurred()) SWIG_fail
;
10243 resultobj
= result
;
10250 static PyObject
*_wrap_Image_SetDataBuffer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10251 PyObject
*resultobj
;
10252 wxImage
*arg1
= (wxImage
*) 0 ;
10253 PyObject
*arg2
= (PyObject
*) 0 ;
10254 PyObject
* obj0
= 0 ;
10255 PyObject
* obj1
= 0 ;
10256 char *kwnames
[] = {
10257 (char *) "self",(char *) "data", NULL
10260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetDataBuffer",kwnames
,&obj0
,&obj1
)) goto fail
;
10261 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10262 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10266 wxImage_SetDataBuffer(arg1
,arg2
);
10268 wxPyEndAllowThreads(__tstate
);
10269 if (PyErr_Occurred()) SWIG_fail
;
10271 Py_INCREF(Py_None
); resultobj
= Py_None
;
10278 static PyObject
*_wrap_Image_GetAlphaData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10279 PyObject
*resultobj
;
10280 wxImage
*arg1
= (wxImage
*) 0 ;
10282 PyObject
* obj0
= 0 ;
10283 char *kwnames
[] = {
10284 (char *) "self", NULL
10287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetAlphaData",kwnames
,&obj0
)) goto fail
;
10288 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10289 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10292 result
= (PyObject
*)wxImage_GetAlphaData(arg1
);
10294 wxPyEndAllowThreads(__tstate
);
10295 if (PyErr_Occurred()) SWIG_fail
;
10297 resultobj
= result
;
10304 static PyObject
*_wrap_Image_SetAlphaData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10305 PyObject
*resultobj
;
10306 wxImage
*arg1
= (wxImage
*) 0 ;
10307 PyObject
*arg2
= (PyObject
*) 0 ;
10308 PyObject
* obj0
= 0 ;
10309 PyObject
* obj1
= 0 ;
10310 char *kwnames
[] = {
10311 (char *) "self",(char *) "data", NULL
10314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetAlphaData",kwnames
,&obj0
,&obj1
)) goto fail
;
10315 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10316 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10320 wxImage_SetAlphaData(arg1
,arg2
);
10322 wxPyEndAllowThreads(__tstate
);
10323 if (PyErr_Occurred()) SWIG_fail
;
10325 Py_INCREF(Py_None
); resultobj
= Py_None
;
10332 static PyObject
*_wrap_Image_GetAlphaBuffer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10333 PyObject
*resultobj
;
10334 wxImage
*arg1
= (wxImage
*) 0 ;
10336 PyObject
* obj0
= 0 ;
10337 char *kwnames
[] = {
10338 (char *) "self", NULL
10341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetAlphaBuffer",kwnames
,&obj0
)) goto fail
;
10342 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10343 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10346 result
= (PyObject
*)wxImage_GetAlphaBuffer(arg1
);
10348 wxPyEndAllowThreads(__tstate
);
10349 if (PyErr_Occurred()) SWIG_fail
;
10351 resultobj
= result
;
10358 static PyObject
*_wrap_Image_SetAlphaBuffer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10359 PyObject
*resultobj
;
10360 wxImage
*arg1
= (wxImage
*) 0 ;
10361 PyObject
*arg2
= (PyObject
*) 0 ;
10362 PyObject
* obj0
= 0 ;
10363 PyObject
* obj1
= 0 ;
10364 char *kwnames
[] = {
10365 (char *) "self",(char *) "data", NULL
10368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetAlphaBuffer",kwnames
,&obj0
,&obj1
)) goto fail
;
10369 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10370 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10374 wxImage_SetAlphaBuffer(arg1
,arg2
);
10376 wxPyEndAllowThreads(__tstate
);
10377 if (PyErr_Occurred()) SWIG_fail
;
10379 Py_INCREF(Py_None
); resultobj
= Py_None
;
10386 static PyObject
*_wrap_Image_SetMaskColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10387 PyObject
*resultobj
;
10388 wxImage
*arg1
= (wxImage
*) 0 ;
10389 unsigned char arg2
;
10390 unsigned char arg3
;
10391 unsigned char arg4
;
10392 PyObject
* obj0
= 0 ;
10393 PyObject
* obj1
= 0 ;
10394 PyObject
* obj2
= 0 ;
10395 PyObject
* obj3
= 0 ;
10396 char *kwnames
[] = {
10397 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
10400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_SetMaskColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10401 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10402 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10403 arg2
= (unsigned char) SWIG_AsUnsignedChar(obj1
);
10404 if (PyErr_Occurred()) SWIG_fail
;
10405 arg3
= (unsigned char) SWIG_AsUnsignedChar(obj2
);
10406 if (PyErr_Occurred()) SWIG_fail
;
10407 arg4
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
10408 if (PyErr_Occurred()) SWIG_fail
;
10410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10411 (arg1
)->SetMaskColour(arg2
,arg3
,arg4
);
10413 wxPyEndAllowThreads(__tstate
);
10414 if (PyErr_Occurred()) SWIG_fail
;
10416 Py_INCREF(Py_None
); resultobj
= Py_None
;
10423 static PyObject
*_wrap_Image_GetMaskRed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10424 PyObject
*resultobj
;
10425 wxImage
*arg1
= (wxImage
*) 0 ;
10426 unsigned char result
;
10427 PyObject
* obj0
= 0 ;
10428 char *kwnames
[] = {
10429 (char *) "self", NULL
10432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskRed",kwnames
,&obj0
)) goto fail
;
10433 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10434 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10437 result
= (unsigned char)(arg1
)->GetMaskRed();
10439 wxPyEndAllowThreads(__tstate
);
10440 if (PyErr_Occurred()) SWIG_fail
;
10442 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
10449 static PyObject
*_wrap_Image_GetMaskGreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10450 PyObject
*resultobj
;
10451 wxImage
*arg1
= (wxImage
*) 0 ;
10452 unsigned char result
;
10453 PyObject
* obj0
= 0 ;
10454 char *kwnames
[] = {
10455 (char *) "self", NULL
10458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskGreen",kwnames
,&obj0
)) goto fail
;
10459 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10460 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10463 result
= (unsigned char)(arg1
)->GetMaskGreen();
10465 wxPyEndAllowThreads(__tstate
);
10466 if (PyErr_Occurred()) SWIG_fail
;
10468 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
10475 static PyObject
*_wrap_Image_GetMaskBlue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10476 PyObject
*resultobj
;
10477 wxImage
*arg1
= (wxImage
*) 0 ;
10478 unsigned char result
;
10479 PyObject
* obj0
= 0 ;
10480 char *kwnames
[] = {
10481 (char *) "self", NULL
10484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskBlue",kwnames
,&obj0
)) goto fail
;
10485 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10486 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10489 result
= (unsigned char)(arg1
)->GetMaskBlue();
10491 wxPyEndAllowThreads(__tstate
);
10492 if (PyErr_Occurred()) SWIG_fail
;
10494 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
10501 static PyObject
*_wrap_Image_SetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10502 PyObject
*resultobj
;
10503 wxImage
*arg1
= (wxImage
*) 0 ;
10504 bool arg2
= (bool) True
;
10505 PyObject
* obj0
= 0 ;
10506 PyObject
* obj1
= 0 ;
10507 char *kwnames
[] = {
10508 (char *) "self",(char *) "mask", NULL
10511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
10512 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10513 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10515 arg2
= (bool) SWIG_AsBool(obj1
);
10516 if (PyErr_Occurred()) SWIG_fail
;
10519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10520 (arg1
)->SetMask(arg2
);
10522 wxPyEndAllowThreads(__tstate
);
10523 if (PyErr_Occurred()) SWIG_fail
;
10525 Py_INCREF(Py_None
); resultobj
= Py_None
;
10532 static PyObject
*_wrap_Image_HasMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10533 PyObject
*resultobj
;
10534 wxImage
*arg1
= (wxImage
*) 0 ;
10536 PyObject
* obj0
= 0 ;
10537 char *kwnames
[] = {
10538 (char *) "self", NULL
10541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HasMask",kwnames
,&obj0
)) goto fail
;
10542 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10543 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10546 result
= (bool)(arg1
)->HasMask();
10548 wxPyEndAllowThreads(__tstate
);
10549 if (PyErr_Occurred()) SWIG_fail
;
10552 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10560 static PyObject
*_wrap_Image_Rotate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10561 PyObject
*resultobj
;
10562 wxImage
*arg1
= (wxImage
*) 0 ;
10564 wxPoint
*arg3
= 0 ;
10565 bool arg4
= (bool) True
;
10566 wxPoint
*arg5
= (wxPoint
*) NULL
;
10567 SwigValueWrapper
< wxImage
> result
;
10569 PyObject
* obj0
= 0 ;
10570 PyObject
* obj1
= 0 ;
10571 PyObject
* obj2
= 0 ;
10572 PyObject
* obj3
= 0 ;
10573 PyObject
* obj4
= 0 ;
10574 char *kwnames
[] = {
10575 (char *) "self",(char *) "angle",(char *) "centre_of_rotation",(char *) "interpolating",(char *) "offset_after_rotation", NULL
10578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Image_Rotate",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
10579 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10580 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10581 arg2
= (double) SWIG_AsDouble(obj1
);
10582 if (PyErr_Occurred()) SWIG_fail
;
10585 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10588 arg4
= (bool) SWIG_AsBool(obj3
);
10589 if (PyErr_Occurred()) SWIG_fail
;
10592 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxPoint
,
10593 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10597 result
= ((wxImage
const *)arg1
)->Rotate(arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
10599 wxPyEndAllowThreads(__tstate
);
10600 if (PyErr_Occurred()) SWIG_fail
;
10603 wxImage
* resultptr
;
10604 resultptr
= new wxImage((wxImage
&) result
);
10605 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10613 static PyObject
*_wrap_Image_Rotate90(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10614 PyObject
*resultobj
;
10615 wxImage
*arg1
= (wxImage
*) 0 ;
10616 bool arg2
= (bool) True
;
10617 SwigValueWrapper
< wxImage
> result
;
10618 PyObject
* obj0
= 0 ;
10619 PyObject
* obj1
= 0 ;
10620 char *kwnames
[] = {
10621 (char *) "self",(char *) "clockwise", NULL
10624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_Rotate90",kwnames
,&obj0
,&obj1
)) goto fail
;
10625 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10626 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10628 arg2
= (bool) SWIG_AsBool(obj1
);
10629 if (PyErr_Occurred()) SWIG_fail
;
10632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10633 result
= (arg1
)->Rotate90(arg2
);
10635 wxPyEndAllowThreads(__tstate
);
10636 if (PyErr_Occurred()) SWIG_fail
;
10639 wxImage
* resultptr
;
10640 resultptr
= new wxImage((wxImage
&) result
);
10641 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10649 static PyObject
*_wrap_Image_Mirror(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10650 PyObject
*resultobj
;
10651 wxImage
*arg1
= (wxImage
*) 0 ;
10652 bool arg2
= (bool) True
;
10653 SwigValueWrapper
< wxImage
> result
;
10654 PyObject
* obj0
= 0 ;
10655 PyObject
* obj1
= 0 ;
10656 char *kwnames
[] = {
10657 (char *) "self",(char *) "horizontally", NULL
10660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_Mirror",kwnames
,&obj0
,&obj1
)) goto fail
;
10661 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10662 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10664 arg2
= (bool) SWIG_AsBool(obj1
);
10665 if (PyErr_Occurred()) SWIG_fail
;
10668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10669 result
= (arg1
)->Mirror(arg2
);
10671 wxPyEndAllowThreads(__tstate
);
10672 if (PyErr_Occurred()) SWIG_fail
;
10675 wxImage
* resultptr
;
10676 resultptr
= new wxImage((wxImage
&) result
);
10677 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10685 static PyObject
*_wrap_Image_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10686 PyObject
*resultobj
;
10687 wxImage
*arg1
= (wxImage
*) 0 ;
10688 unsigned char arg2
;
10689 unsigned char arg3
;
10690 unsigned char arg4
;
10691 unsigned char arg5
;
10692 unsigned char arg6
;
10693 unsigned char arg7
;
10694 PyObject
* obj0
= 0 ;
10695 PyObject
* obj1
= 0 ;
10696 PyObject
* obj2
= 0 ;
10697 PyObject
* obj3
= 0 ;
10698 PyObject
* obj4
= 0 ;
10699 PyObject
* obj5
= 0 ;
10700 PyObject
* obj6
= 0 ;
10701 char *kwnames
[] = {
10702 (char *) "self",(char *) "r1",(char *) "g1",(char *) "b1",(char *) "r2",(char *) "g2",(char *) "b2", NULL
10705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:Image_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10706 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10707 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10708 arg2
= (unsigned char) SWIG_AsUnsignedChar(obj1
);
10709 if (PyErr_Occurred()) SWIG_fail
;
10710 arg3
= (unsigned char) SWIG_AsUnsignedChar(obj2
);
10711 if (PyErr_Occurred()) SWIG_fail
;
10712 arg4
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
10713 if (PyErr_Occurred()) SWIG_fail
;
10714 arg5
= (unsigned char) SWIG_AsUnsignedChar(obj4
);
10715 if (PyErr_Occurred()) SWIG_fail
;
10716 arg6
= (unsigned char) SWIG_AsUnsignedChar(obj5
);
10717 if (PyErr_Occurred()) SWIG_fail
;
10718 arg7
= (unsigned char) SWIG_AsUnsignedChar(obj6
);
10719 if (PyErr_Occurred()) SWIG_fail
;
10721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10722 (arg1
)->Replace(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
10724 wxPyEndAllowThreads(__tstate
);
10725 if (PyErr_Occurred()) SWIG_fail
;
10727 Py_INCREF(Py_None
); resultobj
= Py_None
;
10734 static PyObject
*_wrap_Image_ConvertToMono(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10735 PyObject
*resultobj
;
10736 wxImage
*arg1
= (wxImage
*) 0 ;
10737 unsigned char arg2
;
10738 unsigned char arg3
;
10739 unsigned char arg4
;
10740 SwigValueWrapper
< wxImage
> result
;
10741 PyObject
* obj0
= 0 ;
10742 PyObject
* obj1
= 0 ;
10743 PyObject
* obj2
= 0 ;
10744 PyObject
* obj3
= 0 ;
10745 char *kwnames
[] = {
10746 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
10749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertToMono",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10750 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10751 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10752 arg2
= (unsigned char) SWIG_AsUnsignedChar(obj1
);
10753 if (PyErr_Occurred()) SWIG_fail
;
10754 arg3
= (unsigned char) SWIG_AsUnsignedChar(obj2
);
10755 if (PyErr_Occurred()) SWIG_fail
;
10756 arg4
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
10757 if (PyErr_Occurred()) SWIG_fail
;
10759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10760 result
= ((wxImage
const *)arg1
)->ConvertToMono(arg2
,arg3
,arg4
);
10762 wxPyEndAllowThreads(__tstate
);
10763 if (PyErr_Occurred()) SWIG_fail
;
10766 wxImage
* resultptr
;
10767 resultptr
= new wxImage((wxImage
&) result
);
10768 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10776 static PyObject
*_wrap_Image_SetOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10777 PyObject
*resultobj
;
10778 wxImage
*arg1
= (wxImage
*) 0 ;
10779 wxString
*arg2
= 0 ;
10780 wxString
*arg3
= 0 ;
10781 bool temp2
= False
;
10782 bool temp3
= False
;
10783 PyObject
* obj0
= 0 ;
10784 PyObject
* obj1
= 0 ;
10785 PyObject
* obj2
= 0 ;
10786 char *kwnames
[] = {
10787 (char *) "self",(char *) "name",(char *) "value", NULL
10790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SetOption",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10791 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10792 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10794 arg2
= wxString_in_helper(obj1
);
10795 if (arg2
== NULL
) SWIG_fail
;
10799 arg3
= wxString_in_helper(obj2
);
10800 if (arg3
== NULL
) SWIG_fail
;
10804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10805 (arg1
)->SetOption((wxString
const &)*arg2
,(wxString
const &)*arg3
);
10807 wxPyEndAllowThreads(__tstate
);
10808 if (PyErr_Occurred()) SWIG_fail
;
10810 Py_INCREF(Py_None
); resultobj
= Py_None
;
10833 static PyObject
*_wrap_Image_SetOptionInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10834 PyObject
*resultobj
;
10835 wxImage
*arg1
= (wxImage
*) 0 ;
10836 wxString
*arg2
= 0 ;
10838 bool temp2
= False
;
10839 PyObject
* obj0
= 0 ;
10840 PyObject
* obj1
= 0 ;
10841 PyObject
* obj2
= 0 ;
10842 char *kwnames
[] = {
10843 (char *) "self",(char *) "name",(char *) "value", NULL
10846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SetOptionInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10847 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10848 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10850 arg2
= wxString_in_helper(obj1
);
10851 if (arg2
== NULL
) SWIG_fail
;
10854 arg3
= (int) SWIG_AsInt(obj2
);
10855 if (PyErr_Occurred()) SWIG_fail
;
10857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10858 (arg1
)->SetOption((wxString
const &)*arg2
,arg3
);
10860 wxPyEndAllowThreads(__tstate
);
10861 if (PyErr_Occurred()) SWIG_fail
;
10863 Py_INCREF(Py_None
); resultobj
= Py_None
;
10878 static PyObject
*_wrap_Image_GetOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10879 PyObject
*resultobj
;
10880 wxImage
*arg1
= (wxImage
*) 0 ;
10881 wxString
*arg2
= 0 ;
10883 bool temp2
= False
;
10884 PyObject
* obj0
= 0 ;
10885 PyObject
* obj1
= 0 ;
10886 char *kwnames
[] = {
10887 (char *) "self",(char *) "name", NULL
10890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetOption",kwnames
,&obj0
,&obj1
)) goto fail
;
10891 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10892 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10894 arg2
= wxString_in_helper(obj1
);
10895 if (arg2
== NULL
) SWIG_fail
;
10899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10900 result
= ((wxImage
const *)arg1
)->GetOption((wxString
const &)*arg2
);
10902 wxPyEndAllowThreads(__tstate
);
10903 if (PyErr_Occurred()) SWIG_fail
;
10907 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10909 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10926 static PyObject
*_wrap_Image_GetOptionInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10927 PyObject
*resultobj
;
10928 wxImage
*arg1
= (wxImage
*) 0 ;
10929 wxString
*arg2
= 0 ;
10931 bool temp2
= False
;
10932 PyObject
* obj0
= 0 ;
10933 PyObject
* obj1
= 0 ;
10934 char *kwnames
[] = {
10935 (char *) "self",(char *) "name", NULL
10938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetOptionInt",kwnames
,&obj0
,&obj1
)) goto fail
;
10939 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10940 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10942 arg2
= wxString_in_helper(obj1
);
10943 if (arg2
== NULL
) SWIG_fail
;
10947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10948 result
= (int)((wxImage
const *)arg1
)->GetOptionInt((wxString
const &)*arg2
);
10950 wxPyEndAllowThreads(__tstate
);
10951 if (PyErr_Occurred()) SWIG_fail
;
10953 resultobj
= SWIG_FromInt((int)result
);
10968 static PyObject
*_wrap_Image_HasOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10969 PyObject
*resultobj
;
10970 wxImage
*arg1
= (wxImage
*) 0 ;
10971 wxString
*arg2
= 0 ;
10973 bool temp2
= False
;
10974 PyObject
* obj0
= 0 ;
10975 PyObject
* obj1
= 0 ;
10976 char *kwnames
[] = {
10977 (char *) "self",(char *) "name", NULL
10980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_HasOption",kwnames
,&obj0
,&obj1
)) goto fail
;
10981 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10982 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10984 arg2
= wxString_in_helper(obj1
);
10985 if (arg2
== NULL
) SWIG_fail
;
10989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10990 result
= (bool)((wxImage
const *)arg1
)->HasOption((wxString
const &)*arg2
);
10992 wxPyEndAllowThreads(__tstate
);
10993 if (PyErr_Occurred()) SWIG_fail
;
10996 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11012 static PyObject
*_wrap_Image_CountColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11013 PyObject
*resultobj
;
11014 wxImage
*arg1
= (wxImage
*) 0 ;
11015 unsigned long arg2
= (unsigned long) (unsigned long) -1 ;
11016 unsigned long result
;
11017 PyObject
* obj0
= 0 ;
11018 PyObject
* obj1
= 0 ;
11019 char *kwnames
[] = {
11020 (char *) "self",(char *) "stopafter", NULL
11023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_CountColours",kwnames
,&obj0
,&obj1
)) goto fail
;
11024 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11025 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11027 arg2
= (unsigned long) SWIG_AsUnsignedLong(obj1
);
11028 if (PyErr_Occurred()) SWIG_fail
;
11031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11032 result
= (unsigned long)(arg1
)->CountColours(arg2
);
11034 wxPyEndAllowThreads(__tstate
);
11035 if (PyErr_Occurred()) SWIG_fail
;
11037 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
11044 static PyObject
*_wrap_Image_ComputeHistogram(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11045 PyObject
*resultobj
;
11046 wxImage
*arg1
= (wxImage
*) 0 ;
11047 wxImageHistogram
*arg2
= 0 ;
11048 unsigned long result
;
11049 PyObject
* obj0
= 0 ;
11050 PyObject
* obj1
= 0 ;
11051 char *kwnames
[] = {
11052 (char *) "self",(char *) "h", NULL
11055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_ComputeHistogram",kwnames
,&obj0
,&obj1
)) goto fail
;
11056 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11057 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11058 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageHistogram
,
11059 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11061 if (arg2
== NULL
) {
11062 PyErr_SetString(PyExc_TypeError
,"null reference");
11066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11067 result
= (unsigned long)(arg1
)->ComputeHistogram(*arg2
);
11069 wxPyEndAllowThreads(__tstate
);
11070 if (PyErr_Occurred()) SWIG_fail
;
11072 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
11079 static PyObject
*_wrap_Image_AddHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11080 PyObject
*resultobj
;
11081 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
11082 PyObject
* obj0
= 0 ;
11083 char *kwnames
[] = {
11084 (char *) "handler", NULL
11087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_AddHandler",kwnames
,&obj0
)) goto fail
;
11088 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
11089 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11092 wxImage::AddHandler(arg1
);
11094 wxPyEndAllowThreads(__tstate
);
11095 if (PyErr_Occurred()) SWIG_fail
;
11097 Py_INCREF(Py_None
); resultobj
= Py_None
;
11104 static PyObject
*_wrap_Image_InsertHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11105 PyObject
*resultobj
;
11106 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
11107 PyObject
* obj0
= 0 ;
11108 char *kwnames
[] = {
11109 (char *) "handler", NULL
11112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_InsertHandler",kwnames
,&obj0
)) goto fail
;
11113 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
11114 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11117 wxImage::InsertHandler(arg1
);
11119 wxPyEndAllowThreads(__tstate
);
11120 if (PyErr_Occurred()) SWIG_fail
;
11122 Py_INCREF(Py_None
); resultobj
= Py_None
;
11129 static PyObject
*_wrap_Image_RemoveHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11130 PyObject
*resultobj
;
11131 wxString
*arg1
= 0 ;
11133 bool temp1
= False
;
11134 PyObject
* obj0
= 0 ;
11135 char *kwnames
[] = {
11136 (char *) "name", NULL
11139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_RemoveHandler",kwnames
,&obj0
)) goto fail
;
11141 arg1
= wxString_in_helper(obj0
);
11142 if (arg1
== NULL
) SWIG_fail
;
11146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11147 result
= (bool)wxImage::RemoveHandler((wxString
const &)*arg1
);
11149 wxPyEndAllowThreads(__tstate
);
11150 if (PyErr_Occurred()) SWIG_fail
;
11153 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11169 static PyObject
*_wrap_Image_GetImageExtWildcard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11170 PyObject
*resultobj
;
11172 char *kwnames
[] = {
11176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Image_GetImageExtWildcard",kwnames
)) goto fail
;
11178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11179 result
= wxImage::GetImageExtWildcard();
11181 wxPyEndAllowThreads(__tstate
);
11182 if (PyErr_Occurred()) SWIG_fail
;
11186 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11188 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11197 static PyObject
*_wrap_Image_ConvertToBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11198 PyObject
*resultobj
;
11199 wxImage
*arg1
= (wxImage
*) 0 ;
11201 PyObject
* obj0
= 0 ;
11202 char *kwnames
[] = {
11203 (char *) "self", NULL
11206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_ConvertToBitmap",kwnames
,&obj0
)) goto fail
;
11207 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11208 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11211 result
= wxImage_ConvertToBitmap(arg1
);
11213 wxPyEndAllowThreads(__tstate
);
11214 if (PyErr_Occurred()) SWIG_fail
;
11217 wxBitmap
* resultptr
;
11218 resultptr
= new wxBitmap((wxBitmap
&) result
);
11219 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
11227 static PyObject
*_wrap_Image_ConvertToMonoBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11228 PyObject
*resultobj
;
11229 wxImage
*arg1
= (wxImage
*) 0 ;
11230 unsigned char arg2
;
11231 unsigned char arg3
;
11232 unsigned char arg4
;
11234 PyObject
* obj0
= 0 ;
11235 PyObject
* obj1
= 0 ;
11236 PyObject
* obj2
= 0 ;
11237 PyObject
* obj3
= 0 ;
11238 char *kwnames
[] = {
11239 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
11242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertToMonoBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11243 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11244 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11245 arg2
= (unsigned char) SWIG_AsUnsignedChar(obj1
);
11246 if (PyErr_Occurred()) SWIG_fail
;
11247 arg3
= (unsigned char) SWIG_AsUnsignedChar(obj2
);
11248 if (PyErr_Occurred()) SWIG_fail
;
11249 arg4
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
11250 if (PyErr_Occurred()) SWIG_fail
;
11252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11253 result
= wxImage_ConvertToMonoBitmap(arg1
,arg2
,arg3
,arg4
);
11255 wxPyEndAllowThreads(__tstate
);
11256 if (PyErr_Occurred()) SWIG_fail
;
11259 wxBitmap
* resultptr
;
11260 resultptr
= new wxBitmap((wxBitmap
&) result
);
11261 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
11269 static PyObject
* Image_swigregister(PyObject
*self
, PyObject
*args
) {
11271 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11272 SWIG_TypeClientData(SWIGTYPE_p_wxImage
, obj
);
11274 return Py_BuildValue((char *)"");
11276 static PyObject
*_wrap_InitAllImageHandlers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11277 PyObject
*resultobj
;
11278 char *kwnames
[] = {
11282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":InitAllImageHandlers",kwnames
)) goto fail
;
11284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11285 wxInitAllImageHandlers();
11287 wxPyEndAllowThreads(__tstate
);
11288 if (PyErr_Occurred()) SWIG_fail
;
11290 Py_INCREF(Py_None
); resultobj
= Py_None
;
11297 static int _wrap_NullImage_set(PyObject
*_val
) {
11298 PyErr_SetString(PyExc_TypeError
,"Variable NullImage is read-only.");
11303 static PyObject
*_wrap_NullImage_get() {
11306 pyobj
= SWIG_NewPointerObj((void *)(&wxNullImage
), SWIGTYPE_p_wxImage
, 0);
11311 static int _wrap_IMAGE_OPTION_BMP_FORMAT_set(PyObject
*_val
) {
11312 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_BMP_FORMAT is read-only.");
11317 static PyObject
*_wrap_IMAGE_OPTION_BMP_FORMAT_get() {
11322 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
11324 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
11331 static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set(PyObject
*_val
) {
11332 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_X is read-only.");
11337 static PyObject
*_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get() {
11342 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
11344 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
11351 static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set(PyObject
*_val
) {
11352 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_Y is read-only.");
11357 static PyObject
*_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get() {
11362 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
11364 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
11371 static int _wrap_IMAGE_OPTION_RESOLUTION_set(PyObject
*_val
) {
11372 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTION is read-only.");
11377 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTION_get() {
11382 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
11384 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
11391 static int _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set(PyObject
*_val
) {
11392 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTIONUNIT is read-only.");
11397 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get() {
11402 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
11404 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
11411 static PyObject
*_wrap_new_BMPHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11412 PyObject
*resultobj
;
11413 wxBMPHandler
*result
;
11414 char *kwnames
[] = {
11418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_BMPHandler",kwnames
)) goto fail
;
11420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11421 result
= (wxBMPHandler
*)new wxBMPHandler();
11423 wxPyEndAllowThreads(__tstate
);
11424 if (PyErr_Occurred()) SWIG_fail
;
11426 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBMPHandler
, 1);
11433 static PyObject
* BMPHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11435 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11436 SWIG_TypeClientData(SWIGTYPE_p_wxBMPHandler
, obj
);
11438 return Py_BuildValue((char *)"");
11440 static PyObject
*_wrap_new_ICOHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11441 PyObject
*resultobj
;
11442 wxICOHandler
*result
;
11443 char *kwnames
[] = {
11447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ICOHandler",kwnames
)) goto fail
;
11449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11450 result
= (wxICOHandler
*)new wxICOHandler();
11452 wxPyEndAllowThreads(__tstate
);
11453 if (PyErr_Occurred()) SWIG_fail
;
11455 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxICOHandler
, 1);
11462 static PyObject
* ICOHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11464 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11465 SWIG_TypeClientData(SWIGTYPE_p_wxICOHandler
, obj
);
11467 return Py_BuildValue((char *)"");
11469 static PyObject
*_wrap_new_CURHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11470 PyObject
*resultobj
;
11471 wxCURHandler
*result
;
11472 char *kwnames
[] = {
11476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_CURHandler",kwnames
)) goto fail
;
11478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11479 result
= (wxCURHandler
*)new wxCURHandler();
11481 wxPyEndAllowThreads(__tstate
);
11482 if (PyErr_Occurred()) SWIG_fail
;
11484 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCURHandler
, 1);
11491 static PyObject
* CURHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11493 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11494 SWIG_TypeClientData(SWIGTYPE_p_wxCURHandler
, obj
);
11496 return Py_BuildValue((char *)"");
11498 static PyObject
*_wrap_new_ANIHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11499 PyObject
*resultobj
;
11500 wxANIHandler
*result
;
11501 char *kwnames
[] = {
11505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ANIHandler",kwnames
)) goto fail
;
11507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11508 result
= (wxANIHandler
*)new wxANIHandler();
11510 wxPyEndAllowThreads(__tstate
);
11511 if (PyErr_Occurred()) SWIG_fail
;
11513 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxANIHandler
, 1);
11520 static PyObject
* ANIHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11522 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11523 SWIG_TypeClientData(SWIGTYPE_p_wxANIHandler
, obj
);
11525 return Py_BuildValue((char *)"");
11527 static PyObject
*_wrap_new_PNGHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11528 PyObject
*resultobj
;
11529 wxPNGHandler
*result
;
11530 char *kwnames
[] = {
11534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PNGHandler",kwnames
)) goto fail
;
11536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11537 result
= (wxPNGHandler
*)new wxPNGHandler();
11539 wxPyEndAllowThreads(__tstate
);
11540 if (PyErr_Occurred()) SWIG_fail
;
11542 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPNGHandler
, 1);
11549 static PyObject
* PNGHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11551 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11552 SWIG_TypeClientData(SWIGTYPE_p_wxPNGHandler
, obj
);
11554 return Py_BuildValue((char *)"");
11556 static PyObject
*_wrap_new_GIFHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11557 PyObject
*resultobj
;
11558 wxGIFHandler
*result
;
11559 char *kwnames
[] = {
11563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GIFHandler",kwnames
)) goto fail
;
11565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11566 result
= (wxGIFHandler
*)new wxGIFHandler();
11568 wxPyEndAllowThreads(__tstate
);
11569 if (PyErr_Occurred()) SWIG_fail
;
11571 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGIFHandler
, 1);
11578 static PyObject
* GIFHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11580 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11581 SWIG_TypeClientData(SWIGTYPE_p_wxGIFHandler
, obj
);
11583 return Py_BuildValue((char *)"");
11585 static PyObject
*_wrap_new_PCXHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11586 PyObject
*resultobj
;
11587 wxPCXHandler
*result
;
11588 char *kwnames
[] = {
11592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PCXHandler",kwnames
)) goto fail
;
11594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11595 result
= (wxPCXHandler
*)new wxPCXHandler();
11597 wxPyEndAllowThreads(__tstate
);
11598 if (PyErr_Occurred()) SWIG_fail
;
11600 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPCXHandler
, 1);
11607 static PyObject
* PCXHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11609 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11610 SWIG_TypeClientData(SWIGTYPE_p_wxPCXHandler
, obj
);
11612 return Py_BuildValue((char *)"");
11614 static PyObject
*_wrap_new_JPEGHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11615 PyObject
*resultobj
;
11616 wxJPEGHandler
*result
;
11617 char *kwnames
[] = {
11621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_JPEGHandler",kwnames
)) goto fail
;
11623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11624 result
= (wxJPEGHandler
*)new wxJPEGHandler();
11626 wxPyEndAllowThreads(__tstate
);
11627 if (PyErr_Occurred()) SWIG_fail
;
11629 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJPEGHandler
, 1);
11636 static PyObject
* JPEGHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11638 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11639 SWIG_TypeClientData(SWIGTYPE_p_wxJPEGHandler
, obj
);
11641 return Py_BuildValue((char *)"");
11643 static PyObject
*_wrap_new_PNMHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11644 PyObject
*resultobj
;
11645 wxPNMHandler
*result
;
11646 char *kwnames
[] = {
11650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PNMHandler",kwnames
)) goto fail
;
11652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11653 result
= (wxPNMHandler
*)new wxPNMHandler();
11655 wxPyEndAllowThreads(__tstate
);
11656 if (PyErr_Occurred()) SWIG_fail
;
11658 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPNMHandler
, 1);
11665 static PyObject
* PNMHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11667 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11668 SWIG_TypeClientData(SWIGTYPE_p_wxPNMHandler
, obj
);
11670 return Py_BuildValue((char *)"");
11672 static PyObject
*_wrap_new_XPMHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11673 PyObject
*resultobj
;
11674 wxXPMHandler
*result
;
11675 char *kwnames
[] = {
11679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_XPMHandler",kwnames
)) goto fail
;
11681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11682 result
= (wxXPMHandler
*)new wxXPMHandler();
11684 wxPyEndAllowThreads(__tstate
);
11685 if (PyErr_Occurred()) SWIG_fail
;
11687 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxXPMHandler
, 1);
11694 static PyObject
* XPMHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11696 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11697 SWIG_TypeClientData(SWIGTYPE_p_wxXPMHandler
, obj
);
11699 return Py_BuildValue((char *)"");
11701 static PyObject
*_wrap_new_TIFFHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11702 PyObject
*resultobj
;
11703 wxTIFFHandler
*result
;
11704 char *kwnames
[] = {
11708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TIFFHandler",kwnames
)) goto fail
;
11710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11711 result
= (wxTIFFHandler
*)new wxTIFFHandler();
11713 wxPyEndAllowThreads(__tstate
);
11714 if (PyErr_Occurred()) SWIG_fail
;
11716 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTIFFHandler
, 1);
11723 static PyObject
* TIFFHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11725 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11726 SWIG_TypeClientData(SWIGTYPE_p_wxTIFFHandler
, obj
);
11728 return Py_BuildValue((char *)"");
11730 static PyObject
*_wrap_new_EvtHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11731 PyObject
*resultobj
;
11732 wxEvtHandler
*result
;
11733 char *kwnames
[] = {
11737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EvtHandler",kwnames
)) goto fail
;
11739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11740 result
= (wxEvtHandler
*)new wxEvtHandler();
11742 wxPyEndAllowThreads(__tstate
);
11743 if (PyErr_Occurred()) SWIG_fail
;
11746 resultobj
= wxPyMake_wxObject(result
);
11754 static PyObject
*_wrap_EvtHandler_GetNextHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11755 PyObject
*resultobj
;
11756 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11757 wxEvtHandler
*result
;
11758 PyObject
* obj0
= 0 ;
11759 char *kwnames
[] = {
11760 (char *) "self", NULL
11763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetNextHandler",kwnames
,&obj0
)) goto fail
;
11764 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11765 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11768 result
= (wxEvtHandler
*)(arg1
)->GetNextHandler();
11770 wxPyEndAllowThreads(__tstate
);
11771 if (PyErr_Occurred()) SWIG_fail
;
11774 resultobj
= wxPyMake_wxObject(result
);
11782 static PyObject
*_wrap_EvtHandler_GetPreviousHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11783 PyObject
*resultobj
;
11784 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11785 wxEvtHandler
*result
;
11786 PyObject
* obj0
= 0 ;
11787 char *kwnames
[] = {
11788 (char *) "self", NULL
11791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetPreviousHandler",kwnames
,&obj0
)) goto fail
;
11792 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11793 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11796 result
= (wxEvtHandler
*)(arg1
)->GetPreviousHandler();
11798 wxPyEndAllowThreads(__tstate
);
11799 if (PyErr_Occurred()) SWIG_fail
;
11802 resultobj
= wxPyMake_wxObject(result
);
11810 static PyObject
*_wrap_EvtHandler_SetNextHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11811 PyObject
*resultobj
;
11812 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11813 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
11814 PyObject
* obj0
= 0 ;
11815 PyObject
* obj1
= 0 ;
11816 char *kwnames
[] = {
11817 (char *) "self",(char *) "handler", NULL
11820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetNextHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
11821 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11822 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11823 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
11824 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11827 (arg1
)->SetNextHandler(arg2
);
11829 wxPyEndAllowThreads(__tstate
);
11830 if (PyErr_Occurred()) SWIG_fail
;
11832 Py_INCREF(Py_None
); resultobj
= Py_None
;
11839 static PyObject
*_wrap_EvtHandler_SetPreviousHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11840 PyObject
*resultobj
;
11841 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11842 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
11843 PyObject
* obj0
= 0 ;
11844 PyObject
* obj1
= 0 ;
11845 char *kwnames
[] = {
11846 (char *) "self",(char *) "handler", NULL
11849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetPreviousHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
11850 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11851 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11852 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
11853 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11856 (arg1
)->SetPreviousHandler(arg2
);
11858 wxPyEndAllowThreads(__tstate
);
11859 if (PyErr_Occurred()) SWIG_fail
;
11861 Py_INCREF(Py_None
); resultobj
= Py_None
;
11868 static PyObject
*_wrap_EvtHandler_GetEvtHandlerEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11869 PyObject
*resultobj
;
11870 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11872 PyObject
* obj0
= 0 ;
11873 char *kwnames
[] = {
11874 (char *) "self", NULL
11877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetEvtHandlerEnabled",kwnames
,&obj0
)) goto fail
;
11878 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11879 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11882 result
= (bool)(arg1
)->GetEvtHandlerEnabled();
11884 wxPyEndAllowThreads(__tstate
);
11885 if (PyErr_Occurred()) SWIG_fail
;
11888 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11896 static PyObject
*_wrap_EvtHandler_SetEvtHandlerEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11897 PyObject
*resultobj
;
11898 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11900 PyObject
* obj0
= 0 ;
11901 PyObject
* obj1
= 0 ;
11902 char *kwnames
[] = {
11903 (char *) "self",(char *) "enabled", NULL
11906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetEvtHandlerEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
11907 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11908 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11909 arg2
= (bool) SWIG_AsBool(obj1
);
11910 if (PyErr_Occurred()) SWIG_fail
;
11912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11913 (arg1
)->SetEvtHandlerEnabled(arg2
);
11915 wxPyEndAllowThreads(__tstate
);
11916 if (PyErr_Occurred()) SWIG_fail
;
11918 Py_INCREF(Py_None
); resultobj
= Py_None
;
11925 static PyObject
*_wrap_EvtHandler_ProcessEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11926 PyObject
*resultobj
;
11927 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11928 wxEvent
*arg2
= 0 ;
11930 PyObject
* obj0
= 0 ;
11931 PyObject
* obj1
= 0 ;
11932 char *kwnames
[] = {
11933 (char *) "self",(char *) "event", NULL
11936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_ProcessEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
11937 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11938 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11939 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvent
,
11940 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11942 if (arg2
== NULL
) {
11943 PyErr_SetString(PyExc_TypeError
,"null reference");
11947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11948 result
= (bool)(arg1
)->ProcessEvent(*arg2
);
11950 wxPyEndAllowThreads(__tstate
);
11951 if (PyErr_Occurred()) SWIG_fail
;
11954 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11962 static PyObject
*_wrap_EvtHandler_AddPendingEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11963 PyObject
*resultobj
;
11964 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11965 wxEvent
*arg2
= 0 ;
11966 PyObject
* obj0
= 0 ;
11967 PyObject
* obj1
= 0 ;
11968 char *kwnames
[] = {
11969 (char *) "self",(char *) "event", NULL
11972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_AddPendingEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
11973 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11974 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11975 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvent
,
11976 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11978 if (arg2
== NULL
) {
11979 PyErr_SetString(PyExc_TypeError
,"null reference");
11983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11984 (arg1
)->AddPendingEvent(*arg2
);
11986 wxPyEndAllowThreads(__tstate
);
11987 if (PyErr_Occurred()) SWIG_fail
;
11989 Py_INCREF(Py_None
); resultobj
= Py_None
;
11996 static PyObject
*_wrap_EvtHandler_ProcessPendingEvents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11997 PyObject
*resultobj
;
11998 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11999 PyObject
* obj0
= 0 ;
12000 char *kwnames
[] = {
12001 (char *) "self", NULL
12004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_ProcessPendingEvents",kwnames
,&obj0
)) goto fail
;
12005 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12006 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12009 (arg1
)->ProcessPendingEvents();
12011 wxPyEndAllowThreads(__tstate
);
12012 if (PyErr_Occurred()) SWIG_fail
;
12014 Py_INCREF(Py_None
); resultobj
= Py_None
;
12021 static PyObject
*_wrap_EvtHandler_Connect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12022 PyObject
*resultobj
;
12023 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12027 PyObject
*arg5
= (PyObject
*) 0 ;
12028 PyObject
* obj0
= 0 ;
12029 PyObject
* obj1
= 0 ;
12030 PyObject
* obj2
= 0 ;
12031 PyObject
* obj3
= 0 ;
12032 PyObject
* obj4
= 0 ;
12033 char *kwnames
[] = {
12034 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType",(char *) "func", NULL
12037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:EvtHandler_Connect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12038 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12039 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12040 arg2
= (int) SWIG_AsInt(obj1
);
12041 if (PyErr_Occurred()) SWIG_fail
;
12042 arg3
= (int) SWIG_AsInt(obj2
);
12043 if (PyErr_Occurred()) SWIG_fail
;
12044 arg4
= (int) SWIG_AsInt(obj3
);
12045 if (PyErr_Occurred()) SWIG_fail
;
12048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12049 wxEvtHandler_Connect(arg1
,arg2
,arg3
,arg4
,arg5
);
12051 wxPyEndAllowThreads(__tstate
);
12052 if (PyErr_Occurred()) SWIG_fail
;
12054 Py_INCREF(Py_None
); resultobj
= Py_None
;
12061 static PyObject
*_wrap_EvtHandler_Disconnect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12062 PyObject
*resultobj
;
12063 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12065 int arg3
= (int) -1 ;
12066 wxEventType arg4
= (wxEventType
) wxEVT_NULL
;
12068 PyObject
* obj0
= 0 ;
12069 PyObject
* obj1
= 0 ;
12070 PyObject
* obj2
= 0 ;
12071 PyObject
* obj3
= 0 ;
12072 char *kwnames
[] = {
12073 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType", NULL
12076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:EvtHandler_Disconnect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12077 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12078 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12079 arg2
= (int) SWIG_AsInt(obj1
);
12080 if (PyErr_Occurred()) SWIG_fail
;
12082 arg3
= (int) SWIG_AsInt(obj2
);
12083 if (PyErr_Occurred()) SWIG_fail
;
12086 arg4
= (wxEventType
) SWIG_AsInt(obj3
);
12087 if (PyErr_Occurred()) SWIG_fail
;
12090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12091 result
= (bool)wxEvtHandler_Disconnect(arg1
,arg2
,arg3
,arg4
);
12093 wxPyEndAllowThreads(__tstate
);
12094 if (PyErr_Occurred()) SWIG_fail
;
12097 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12105 static PyObject
*_wrap_EvtHandler__setOORInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12106 PyObject
*resultobj
;
12107 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12108 PyObject
*arg2
= (PyObject
*) 0 ;
12109 PyObject
* obj0
= 0 ;
12110 PyObject
* obj1
= 0 ;
12111 char *kwnames
[] = {
12112 (char *) "self",(char *) "_self", NULL
12115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
12116 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12117 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12121 wxEvtHandler__setOORInfo(arg1
,arg2
);
12123 wxPyEndAllowThreads(__tstate
);
12124 if (PyErr_Occurred()) SWIG_fail
;
12126 Py_INCREF(Py_None
); resultobj
= Py_None
;
12133 static PyObject
* EvtHandler_swigregister(PyObject
*self
, PyObject
*args
) {
12135 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12136 SWIG_TypeClientData(SWIGTYPE_p_wxEvtHandler
, obj
);
12138 return Py_BuildValue((char *)"");
12140 static PyObject
*_wrap_NewEventType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12141 PyObject
*resultobj
;
12142 wxEventType result
;
12143 char *kwnames
[] = {
12147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":NewEventType",kwnames
)) goto fail
;
12149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12150 result
= (wxEventType
)wxNewEventType();
12152 wxPyEndAllowThreads(__tstate
);
12153 if (PyErr_Occurred()) SWIG_fail
;
12155 resultobj
= SWIG_FromInt((int)result
);
12162 static PyObject
*_wrap_delete_Event(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12163 PyObject
*resultobj
;
12164 wxEvent
*arg1
= (wxEvent
*) 0 ;
12165 PyObject
* obj0
= 0 ;
12166 char *kwnames
[] = {
12167 (char *) "self", NULL
12170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Event",kwnames
,&obj0
)) goto fail
;
12171 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12172 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12177 wxPyEndAllowThreads(__tstate
);
12178 if (PyErr_Occurred()) SWIG_fail
;
12180 Py_INCREF(Py_None
); resultobj
= Py_None
;
12187 static PyObject
*_wrap_Event_SetEventType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12188 PyObject
*resultobj
;
12189 wxEvent
*arg1
= (wxEvent
*) 0 ;
12191 PyObject
* obj0
= 0 ;
12192 PyObject
* obj1
= 0 ;
12193 char *kwnames
[] = {
12194 (char *) "self",(char *) "typ", NULL
12197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetEventType",kwnames
,&obj0
,&obj1
)) goto fail
;
12198 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12199 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12200 arg2
= (wxEventType
) SWIG_AsInt(obj1
);
12201 if (PyErr_Occurred()) SWIG_fail
;
12203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12204 (arg1
)->SetEventType(arg2
);
12206 wxPyEndAllowThreads(__tstate
);
12207 if (PyErr_Occurred()) SWIG_fail
;
12209 Py_INCREF(Py_None
); resultobj
= Py_None
;
12216 static PyObject
*_wrap_Event_GetEventType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12217 PyObject
*resultobj
;
12218 wxEvent
*arg1
= (wxEvent
*) 0 ;
12219 wxEventType result
;
12220 PyObject
* obj0
= 0 ;
12221 char *kwnames
[] = {
12222 (char *) "self", NULL
12225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetEventType",kwnames
,&obj0
)) goto fail
;
12226 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12227 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12230 result
= (wxEventType
)((wxEvent
const *)arg1
)->GetEventType();
12232 wxPyEndAllowThreads(__tstate
);
12233 if (PyErr_Occurred()) SWIG_fail
;
12235 resultobj
= SWIG_FromInt((int)result
);
12242 static PyObject
*_wrap_Event_GetEventObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12243 PyObject
*resultobj
;
12244 wxEvent
*arg1
= (wxEvent
*) 0 ;
12246 PyObject
* obj0
= 0 ;
12247 char *kwnames
[] = {
12248 (char *) "self", NULL
12251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetEventObject",kwnames
,&obj0
)) goto fail
;
12252 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12253 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12256 result
= (wxObject
*)((wxEvent
const *)arg1
)->GetEventObject();
12258 wxPyEndAllowThreads(__tstate
);
12259 if (PyErr_Occurred()) SWIG_fail
;
12262 resultobj
= wxPyMake_wxObject(result
);
12270 static PyObject
*_wrap_Event_SetEventObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12271 PyObject
*resultobj
;
12272 wxEvent
*arg1
= (wxEvent
*) 0 ;
12273 wxObject
*arg2
= (wxObject
*) 0 ;
12274 PyObject
* obj0
= 0 ;
12275 PyObject
* obj1
= 0 ;
12276 char *kwnames
[] = {
12277 (char *) "self",(char *) "obj", NULL
12280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetEventObject",kwnames
,&obj0
,&obj1
)) goto fail
;
12281 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12282 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12283 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxObject
,
12284 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12287 (arg1
)->SetEventObject(arg2
);
12289 wxPyEndAllowThreads(__tstate
);
12290 if (PyErr_Occurred()) SWIG_fail
;
12292 Py_INCREF(Py_None
); resultobj
= Py_None
;
12299 static PyObject
*_wrap_Event_GetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12300 PyObject
*resultobj
;
12301 wxEvent
*arg1
= (wxEvent
*) 0 ;
12303 PyObject
* obj0
= 0 ;
12304 char *kwnames
[] = {
12305 (char *) "self", NULL
12308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetTimestamp",kwnames
,&obj0
)) goto fail
;
12309 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12310 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12313 result
= (long)((wxEvent
const *)arg1
)->GetTimestamp();
12315 wxPyEndAllowThreads(__tstate
);
12316 if (PyErr_Occurred()) SWIG_fail
;
12318 resultobj
= SWIG_FromLong((long)result
);
12325 static PyObject
*_wrap_Event_SetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12326 PyObject
*resultobj
;
12327 wxEvent
*arg1
= (wxEvent
*) 0 ;
12328 long arg2
= (long) 0 ;
12329 PyObject
* obj0
= 0 ;
12330 PyObject
* obj1
= 0 ;
12331 char *kwnames
[] = {
12332 (char *) "self",(char *) "ts", NULL
12335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Event_SetTimestamp",kwnames
,&obj0
,&obj1
)) goto fail
;
12336 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12337 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12339 arg2
= (long) SWIG_AsLong(obj1
);
12340 if (PyErr_Occurred()) SWIG_fail
;
12343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12344 (arg1
)->SetTimestamp(arg2
);
12346 wxPyEndAllowThreads(__tstate
);
12347 if (PyErr_Occurred()) SWIG_fail
;
12349 Py_INCREF(Py_None
); resultobj
= Py_None
;
12356 static PyObject
*_wrap_Event_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12357 PyObject
*resultobj
;
12358 wxEvent
*arg1
= (wxEvent
*) 0 ;
12360 PyObject
* obj0
= 0 ;
12361 char *kwnames
[] = {
12362 (char *) "self", NULL
12365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetId",kwnames
,&obj0
)) goto fail
;
12366 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12367 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12370 result
= (int)((wxEvent
const *)arg1
)->GetId();
12372 wxPyEndAllowThreads(__tstate
);
12373 if (PyErr_Occurred()) SWIG_fail
;
12375 resultobj
= SWIG_FromInt((int)result
);
12382 static PyObject
*_wrap_Event_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12383 PyObject
*resultobj
;
12384 wxEvent
*arg1
= (wxEvent
*) 0 ;
12386 PyObject
* obj0
= 0 ;
12387 PyObject
* obj1
= 0 ;
12388 char *kwnames
[] = {
12389 (char *) "self",(char *) "Id", NULL
12392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
12393 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12394 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12395 arg2
= (int) SWIG_AsInt(obj1
);
12396 if (PyErr_Occurred()) SWIG_fail
;
12398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12399 (arg1
)->SetId(arg2
);
12401 wxPyEndAllowThreads(__tstate
);
12402 if (PyErr_Occurred()) SWIG_fail
;
12404 Py_INCREF(Py_None
); resultobj
= Py_None
;
12411 static PyObject
*_wrap_Event_IsCommandEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12412 PyObject
*resultobj
;
12413 wxEvent
*arg1
= (wxEvent
*) 0 ;
12415 PyObject
* obj0
= 0 ;
12416 char *kwnames
[] = {
12417 (char *) "self", NULL
12420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_IsCommandEvent",kwnames
,&obj0
)) goto fail
;
12421 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12422 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12425 result
= (bool)((wxEvent
const *)arg1
)->IsCommandEvent();
12427 wxPyEndAllowThreads(__tstate
);
12428 if (PyErr_Occurred()) SWIG_fail
;
12431 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12439 static PyObject
*_wrap_Event_Skip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12440 PyObject
*resultobj
;
12441 wxEvent
*arg1
= (wxEvent
*) 0 ;
12442 bool arg2
= (bool) True
;
12443 PyObject
* obj0
= 0 ;
12444 PyObject
* obj1
= 0 ;
12445 char *kwnames
[] = {
12446 (char *) "self",(char *) "skip", NULL
12449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Event_Skip",kwnames
,&obj0
,&obj1
)) goto fail
;
12450 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12451 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12453 arg2
= (bool) SWIG_AsBool(obj1
);
12454 if (PyErr_Occurred()) SWIG_fail
;
12457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12458 (arg1
)->Skip(arg2
);
12460 wxPyEndAllowThreads(__tstate
);
12461 if (PyErr_Occurred()) SWIG_fail
;
12463 Py_INCREF(Py_None
); resultobj
= Py_None
;
12470 static PyObject
*_wrap_Event_GetSkipped(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12471 PyObject
*resultobj
;
12472 wxEvent
*arg1
= (wxEvent
*) 0 ;
12474 PyObject
* obj0
= 0 ;
12475 char *kwnames
[] = {
12476 (char *) "self", NULL
12479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetSkipped",kwnames
,&obj0
)) goto fail
;
12480 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12481 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12484 result
= (bool)((wxEvent
const *)arg1
)->GetSkipped();
12486 wxPyEndAllowThreads(__tstate
);
12487 if (PyErr_Occurred()) SWIG_fail
;
12490 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12498 static PyObject
*_wrap_Event_ShouldPropagate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12499 PyObject
*resultobj
;
12500 wxEvent
*arg1
= (wxEvent
*) 0 ;
12502 PyObject
* obj0
= 0 ;
12503 char *kwnames
[] = {
12504 (char *) "self", NULL
12507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_ShouldPropagate",kwnames
,&obj0
)) goto fail
;
12508 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12509 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12512 result
= (bool)((wxEvent
const *)arg1
)->ShouldPropagate();
12514 wxPyEndAllowThreads(__tstate
);
12515 if (PyErr_Occurred()) SWIG_fail
;
12518 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12526 static PyObject
*_wrap_Event_StopPropagation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12527 PyObject
*resultobj
;
12528 wxEvent
*arg1
= (wxEvent
*) 0 ;
12530 PyObject
* obj0
= 0 ;
12531 char *kwnames
[] = {
12532 (char *) "self", NULL
12535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_StopPropagation",kwnames
,&obj0
)) goto fail
;
12536 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12537 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12540 result
= (int)(arg1
)->StopPropagation();
12542 wxPyEndAllowThreads(__tstate
);
12543 if (PyErr_Occurred()) SWIG_fail
;
12545 resultobj
= SWIG_FromInt((int)result
);
12552 static PyObject
*_wrap_Event_ResumePropagation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12553 PyObject
*resultobj
;
12554 wxEvent
*arg1
= (wxEvent
*) 0 ;
12556 PyObject
* obj0
= 0 ;
12557 PyObject
* obj1
= 0 ;
12558 char *kwnames
[] = {
12559 (char *) "self",(char *) "propagationLevel", NULL
12562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_ResumePropagation",kwnames
,&obj0
,&obj1
)) goto fail
;
12563 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12564 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12565 arg2
= (int) SWIG_AsInt(obj1
);
12566 if (PyErr_Occurred()) SWIG_fail
;
12568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12569 (arg1
)->ResumePropagation(arg2
);
12571 wxPyEndAllowThreads(__tstate
);
12572 if (PyErr_Occurred()) SWIG_fail
;
12574 Py_INCREF(Py_None
); resultobj
= Py_None
;
12581 static PyObject
*_wrap_Event_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12582 PyObject
*resultobj
;
12583 wxEvent
*arg1
= (wxEvent
*) 0 ;
12585 PyObject
* obj0
= 0 ;
12586 char *kwnames
[] = {
12587 (char *) "self", NULL
12590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_Clone",kwnames
,&obj0
)) goto fail
;
12591 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12592 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12595 result
= (wxEvent
*)(arg1
)->Clone();
12597 wxPyEndAllowThreads(__tstate
);
12598 if (PyErr_Occurred()) SWIG_fail
;
12600 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvent
, 0);
12607 static PyObject
* Event_swigregister(PyObject
*self
, PyObject
*args
) {
12609 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12610 SWIG_TypeClientData(SWIGTYPE_p_wxEvent
, obj
);
12612 return Py_BuildValue((char *)"");
12614 static PyObject
*_wrap_new_PropagationDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12615 PyObject
*resultobj
;
12616 wxEvent
*arg1
= 0 ;
12617 wxPropagationDisabler
*result
;
12618 PyObject
* obj0
= 0 ;
12619 char *kwnames
[] = {
12620 (char *) "event", NULL
12623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagationDisabler",kwnames
,&obj0
)) goto fail
;
12624 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12625 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12627 if (arg1
== NULL
) {
12628 PyErr_SetString(PyExc_TypeError
,"null reference");
12632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12633 result
= (wxPropagationDisabler
*)new wxPropagationDisabler(*arg1
);
12635 wxPyEndAllowThreads(__tstate
);
12636 if (PyErr_Occurred()) SWIG_fail
;
12638 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPropagationDisabler
, 1);
12645 static PyObject
*_wrap_delete_PropagationDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12646 PyObject
*resultobj
;
12647 wxPropagationDisabler
*arg1
= (wxPropagationDisabler
*) 0 ;
12648 PyObject
* obj0
= 0 ;
12649 char *kwnames
[] = {
12650 (char *) "self", NULL
12653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PropagationDisabler",kwnames
,&obj0
)) goto fail
;
12654 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPropagationDisabler
,
12655 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12660 wxPyEndAllowThreads(__tstate
);
12661 if (PyErr_Occurred()) SWIG_fail
;
12663 Py_INCREF(Py_None
); resultobj
= Py_None
;
12670 static PyObject
* PropagationDisabler_swigregister(PyObject
*self
, PyObject
*args
) {
12672 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12673 SWIG_TypeClientData(SWIGTYPE_p_wxPropagationDisabler
, obj
);
12675 return Py_BuildValue((char *)"");
12677 static PyObject
*_wrap_new_PropagateOnce(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12678 PyObject
*resultobj
;
12679 wxEvent
*arg1
= 0 ;
12680 wxPropagateOnce
*result
;
12681 PyObject
* obj0
= 0 ;
12682 char *kwnames
[] = {
12683 (char *) "event", NULL
12686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagateOnce",kwnames
,&obj0
)) goto fail
;
12687 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12688 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12690 if (arg1
== NULL
) {
12691 PyErr_SetString(PyExc_TypeError
,"null reference");
12695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12696 result
= (wxPropagateOnce
*)new wxPropagateOnce(*arg1
);
12698 wxPyEndAllowThreads(__tstate
);
12699 if (PyErr_Occurred()) SWIG_fail
;
12701 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPropagateOnce
, 1);
12708 static PyObject
*_wrap_delete_PropagateOnce(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12709 PyObject
*resultobj
;
12710 wxPropagateOnce
*arg1
= (wxPropagateOnce
*) 0 ;
12711 PyObject
* obj0
= 0 ;
12712 char *kwnames
[] = {
12713 (char *) "self", NULL
12716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PropagateOnce",kwnames
,&obj0
)) goto fail
;
12717 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPropagateOnce
,
12718 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12723 wxPyEndAllowThreads(__tstate
);
12724 if (PyErr_Occurred()) SWIG_fail
;
12726 Py_INCREF(Py_None
); resultobj
= Py_None
;
12733 static PyObject
* PropagateOnce_swigregister(PyObject
*self
, PyObject
*args
) {
12735 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12736 SWIG_TypeClientData(SWIGTYPE_p_wxPropagateOnce
, obj
);
12738 return Py_BuildValue((char *)"");
12740 static PyObject
*_wrap_new_CommandEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12741 PyObject
*resultobj
;
12742 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
12743 int arg2
= (int) 0 ;
12744 wxCommandEvent
*result
;
12745 PyObject
* obj0
= 0 ;
12746 PyObject
* obj1
= 0 ;
12747 char *kwnames
[] = {
12748 (char *) "commandType",(char *) "winid", NULL
12751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_CommandEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
12753 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
12754 if (PyErr_Occurred()) SWIG_fail
;
12757 arg2
= (int) SWIG_AsInt(obj1
);
12758 if (PyErr_Occurred()) SWIG_fail
;
12761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12762 result
= (wxCommandEvent
*)new wxCommandEvent(arg1
,arg2
);
12764 wxPyEndAllowThreads(__tstate
);
12765 if (PyErr_Occurred()) SWIG_fail
;
12767 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCommandEvent
, 1);
12774 static PyObject
*_wrap_CommandEvent_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12775 PyObject
*resultobj
;
12776 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12778 PyObject
* obj0
= 0 ;
12779 char *kwnames
[] = {
12780 (char *) "self", NULL
12783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetSelection",kwnames
,&obj0
)) goto fail
;
12784 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12785 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12788 result
= (int)((wxCommandEvent
const *)arg1
)->GetSelection();
12790 wxPyEndAllowThreads(__tstate
);
12791 if (PyErr_Occurred()) SWIG_fail
;
12793 resultobj
= SWIG_FromInt((int)result
);
12800 static PyObject
*_wrap_CommandEvent_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12801 PyObject
*resultobj
;
12802 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12803 wxString
*arg2
= 0 ;
12804 bool temp2
= False
;
12805 PyObject
* obj0
= 0 ;
12806 PyObject
* obj1
= 0 ;
12807 char *kwnames
[] = {
12808 (char *) "self",(char *) "s", NULL
12811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetString",kwnames
,&obj0
,&obj1
)) goto fail
;
12812 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12813 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12815 arg2
= wxString_in_helper(obj1
);
12816 if (arg2
== NULL
) SWIG_fail
;
12820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12821 (arg1
)->SetString((wxString
const &)*arg2
);
12823 wxPyEndAllowThreads(__tstate
);
12824 if (PyErr_Occurred()) SWIG_fail
;
12826 Py_INCREF(Py_None
); resultobj
= Py_None
;
12841 static PyObject
*_wrap_CommandEvent_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12842 PyObject
*resultobj
;
12843 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12845 PyObject
* obj0
= 0 ;
12846 char *kwnames
[] = {
12847 (char *) "self", NULL
12850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetString",kwnames
,&obj0
)) goto fail
;
12851 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12852 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12855 result
= ((wxCommandEvent
const *)arg1
)->GetString();
12857 wxPyEndAllowThreads(__tstate
);
12858 if (PyErr_Occurred()) SWIG_fail
;
12862 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12864 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12873 static PyObject
*_wrap_CommandEvent_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12874 PyObject
*resultobj
;
12875 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12877 PyObject
* obj0
= 0 ;
12878 char *kwnames
[] = {
12879 (char *) "self", NULL
12882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_IsChecked",kwnames
,&obj0
)) goto fail
;
12883 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12884 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12887 result
= (bool)((wxCommandEvent
const *)arg1
)->IsChecked();
12889 wxPyEndAllowThreads(__tstate
);
12890 if (PyErr_Occurred()) SWIG_fail
;
12893 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12901 static PyObject
*_wrap_CommandEvent_IsSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12902 PyObject
*resultobj
;
12903 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12905 PyObject
* obj0
= 0 ;
12906 char *kwnames
[] = {
12907 (char *) "self", NULL
12910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_IsSelection",kwnames
,&obj0
)) goto fail
;
12911 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12912 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12915 result
= (bool)((wxCommandEvent
const *)arg1
)->IsSelection();
12917 wxPyEndAllowThreads(__tstate
);
12918 if (PyErr_Occurred()) SWIG_fail
;
12921 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12929 static PyObject
*_wrap_CommandEvent_SetExtraLong(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12930 PyObject
*resultobj
;
12931 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12933 PyObject
* obj0
= 0 ;
12934 PyObject
* obj1
= 0 ;
12935 char *kwnames
[] = {
12936 (char *) "self",(char *) "extraLong", NULL
12939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetExtraLong",kwnames
,&obj0
,&obj1
)) goto fail
;
12940 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12941 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12942 arg2
= (long) SWIG_AsLong(obj1
);
12943 if (PyErr_Occurred()) SWIG_fail
;
12945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12946 (arg1
)->SetExtraLong(arg2
);
12948 wxPyEndAllowThreads(__tstate
);
12949 if (PyErr_Occurred()) SWIG_fail
;
12951 Py_INCREF(Py_None
); resultobj
= Py_None
;
12958 static PyObject
*_wrap_CommandEvent_GetExtraLong(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12959 PyObject
*resultobj
;
12960 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12962 PyObject
* obj0
= 0 ;
12963 char *kwnames
[] = {
12964 (char *) "self", NULL
12967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetExtraLong",kwnames
,&obj0
)) goto fail
;
12968 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12969 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12972 result
= (long)((wxCommandEvent
const *)arg1
)->GetExtraLong();
12974 wxPyEndAllowThreads(__tstate
);
12975 if (PyErr_Occurred()) SWIG_fail
;
12977 resultobj
= SWIG_FromLong((long)result
);
12984 static PyObject
*_wrap_CommandEvent_SetInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12985 PyObject
*resultobj
;
12986 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12988 PyObject
* obj0
= 0 ;
12989 PyObject
* obj1
= 0 ;
12990 char *kwnames
[] = {
12991 (char *) "self",(char *) "i", NULL
12994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetInt",kwnames
,&obj0
,&obj1
)) goto fail
;
12995 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12996 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12997 arg2
= (int) SWIG_AsInt(obj1
);
12998 if (PyErr_Occurred()) SWIG_fail
;
13000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13001 (arg1
)->SetInt(arg2
);
13003 wxPyEndAllowThreads(__tstate
);
13004 if (PyErr_Occurred()) SWIG_fail
;
13006 Py_INCREF(Py_None
); resultobj
= Py_None
;
13013 static PyObject
*_wrap_CommandEvent_GetInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13014 PyObject
*resultobj
;
13015 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13017 PyObject
* obj0
= 0 ;
13018 char *kwnames
[] = {
13019 (char *) "self", NULL
13022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetInt",kwnames
,&obj0
)) goto fail
;
13023 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13024 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13027 result
= (long)((wxCommandEvent
const *)arg1
)->GetInt();
13029 wxPyEndAllowThreads(__tstate
);
13030 if (PyErr_Occurred()) SWIG_fail
;
13032 resultobj
= SWIG_FromLong((long)result
);
13039 static PyObject
*_wrap_CommandEvent_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13040 PyObject
*resultobj
;
13041 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13043 PyObject
* obj0
= 0 ;
13044 char *kwnames
[] = {
13045 (char *) "self", NULL
13048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_Clone",kwnames
,&obj0
)) goto fail
;
13049 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13050 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13053 result
= (wxEvent
*)((wxCommandEvent
const *)arg1
)->Clone();
13055 wxPyEndAllowThreads(__tstate
);
13056 if (PyErr_Occurred()) SWIG_fail
;
13058 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvent
, 0);
13065 static PyObject
* CommandEvent_swigregister(PyObject
*self
, PyObject
*args
) {
13067 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13068 SWIG_TypeClientData(SWIGTYPE_p_wxCommandEvent
, obj
);
13070 return Py_BuildValue((char *)"");
13072 static PyObject
*_wrap_new_NotifyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13073 PyObject
*resultobj
;
13074 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13075 int arg2
= (int) 0 ;
13076 wxNotifyEvent
*result
;
13077 PyObject
* obj0
= 0 ;
13078 PyObject
* obj1
= 0 ;
13079 char *kwnames
[] = {
13080 (char *) "commandType",(char *) "winid", NULL
13083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_NotifyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
13085 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
13086 if (PyErr_Occurred()) SWIG_fail
;
13089 arg2
= (int) SWIG_AsInt(obj1
);
13090 if (PyErr_Occurred()) SWIG_fail
;
13093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13094 result
= (wxNotifyEvent
*)new wxNotifyEvent(arg1
,arg2
);
13096 wxPyEndAllowThreads(__tstate
);
13097 if (PyErr_Occurred()) SWIG_fail
;
13099 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotifyEvent
, 1);
13106 static PyObject
*_wrap_NotifyEvent_Veto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13107 PyObject
*resultobj
;
13108 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
13109 PyObject
* obj0
= 0 ;
13110 char *kwnames
[] = {
13111 (char *) "self", NULL
13114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_Veto",kwnames
,&obj0
)) goto fail
;
13115 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotifyEvent
,
13116 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13121 wxPyEndAllowThreads(__tstate
);
13122 if (PyErr_Occurred()) SWIG_fail
;
13124 Py_INCREF(Py_None
); resultobj
= Py_None
;
13131 static PyObject
*_wrap_NotifyEvent_Allow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13132 PyObject
*resultobj
;
13133 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
13134 PyObject
* obj0
= 0 ;
13135 char *kwnames
[] = {
13136 (char *) "self", NULL
13139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_Allow",kwnames
,&obj0
)) goto fail
;
13140 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotifyEvent
,
13141 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13146 wxPyEndAllowThreads(__tstate
);
13147 if (PyErr_Occurred()) SWIG_fail
;
13149 Py_INCREF(Py_None
); resultobj
= Py_None
;
13156 static PyObject
*_wrap_NotifyEvent_IsAllowed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13157 PyObject
*resultobj
;
13158 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
13160 PyObject
* obj0
= 0 ;
13161 char *kwnames
[] = {
13162 (char *) "self", NULL
13165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_IsAllowed",kwnames
,&obj0
)) goto fail
;
13166 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotifyEvent
,
13167 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13170 result
= (bool)(arg1
)->IsAllowed();
13172 wxPyEndAllowThreads(__tstate
);
13173 if (PyErr_Occurred()) SWIG_fail
;
13176 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13184 static PyObject
* NotifyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
13186 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13187 SWIG_TypeClientData(SWIGTYPE_p_wxNotifyEvent
, obj
);
13189 return Py_BuildValue((char *)"");
13191 static PyObject
*_wrap_new_ScrollEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13192 PyObject
*resultobj
;
13193 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13194 int arg2
= (int) 0 ;
13195 int arg3
= (int) 0 ;
13196 int arg4
= (int) 0 ;
13197 wxScrollEvent
*result
;
13198 PyObject
* obj0
= 0 ;
13199 PyObject
* obj1
= 0 ;
13200 PyObject
* obj2
= 0 ;
13201 PyObject
* obj3
= 0 ;
13202 char *kwnames
[] = {
13203 (char *) "commandType",(char *) "winid",(char *) "pos",(char *) "orient", NULL
13206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ScrollEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13208 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
13209 if (PyErr_Occurred()) SWIG_fail
;
13212 arg2
= (int) SWIG_AsInt(obj1
);
13213 if (PyErr_Occurred()) SWIG_fail
;
13216 arg3
= (int) SWIG_AsInt(obj2
);
13217 if (PyErr_Occurred()) SWIG_fail
;
13220 arg4
= (int) SWIG_AsInt(obj3
);
13221 if (PyErr_Occurred()) SWIG_fail
;
13224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13225 result
= (wxScrollEvent
*)new wxScrollEvent(arg1
,arg2
,arg3
,arg4
);
13227 wxPyEndAllowThreads(__tstate
);
13228 if (PyErr_Occurred()) SWIG_fail
;
13230 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollEvent
, 1);
13237 static PyObject
*_wrap_ScrollEvent_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13238 PyObject
*resultobj
;
13239 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
13241 PyObject
* obj0
= 0 ;
13242 char *kwnames
[] = {
13243 (char *) "self", NULL
13246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
13247 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollEvent
,
13248 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13251 result
= (int)((wxScrollEvent
const *)arg1
)->GetOrientation();
13253 wxPyEndAllowThreads(__tstate
);
13254 if (PyErr_Occurred()) SWIG_fail
;
13256 resultobj
= SWIG_FromInt((int)result
);
13263 static PyObject
*_wrap_ScrollEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13264 PyObject
*resultobj
;
13265 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
13267 PyObject
* obj0
= 0 ;
13268 char *kwnames
[] = {
13269 (char *) "self", NULL
13272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
13273 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollEvent
,
13274 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13277 result
= (int)((wxScrollEvent
const *)arg1
)->GetPosition();
13279 wxPyEndAllowThreads(__tstate
);
13280 if (PyErr_Occurred()) SWIG_fail
;
13282 resultobj
= SWIG_FromInt((int)result
);
13289 static PyObject
*_wrap_ScrollEvent_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13290 PyObject
*resultobj
;
13291 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
13293 PyObject
* obj0
= 0 ;
13294 PyObject
* obj1
= 0 ;
13295 char *kwnames
[] = {
13296 (char *) "self",(char *) "orient", NULL
13299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
13300 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollEvent
,
13301 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13302 arg2
= (int) SWIG_AsInt(obj1
);
13303 if (PyErr_Occurred()) SWIG_fail
;
13305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13306 (arg1
)->SetOrientation(arg2
);
13308 wxPyEndAllowThreads(__tstate
);
13309 if (PyErr_Occurred()) SWIG_fail
;
13311 Py_INCREF(Py_None
); resultobj
= Py_None
;
13318 static PyObject
*_wrap_ScrollEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13319 PyObject
*resultobj
;
13320 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
13322 PyObject
* obj0
= 0 ;
13323 PyObject
* obj1
= 0 ;
13324 char *kwnames
[] = {
13325 (char *) "self",(char *) "pos", NULL
13328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
13329 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollEvent
,
13330 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13331 arg2
= (int) SWIG_AsInt(obj1
);
13332 if (PyErr_Occurred()) SWIG_fail
;
13334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13335 (arg1
)->SetPosition(arg2
);
13337 wxPyEndAllowThreads(__tstate
);
13338 if (PyErr_Occurred()) SWIG_fail
;
13340 Py_INCREF(Py_None
); resultobj
= Py_None
;
13347 static PyObject
* ScrollEvent_swigregister(PyObject
*self
, PyObject
*args
) {
13349 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13350 SWIG_TypeClientData(SWIGTYPE_p_wxScrollEvent
, obj
);
13352 return Py_BuildValue((char *)"");
13354 static PyObject
*_wrap_new_ScrollWinEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13355 PyObject
*resultobj
;
13356 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13357 int arg2
= (int) 0 ;
13358 int arg3
= (int) 0 ;
13359 wxScrollWinEvent
*result
;
13360 PyObject
* obj0
= 0 ;
13361 PyObject
* obj1
= 0 ;
13362 PyObject
* obj2
= 0 ;
13363 char *kwnames
[] = {
13364 (char *) "commandType",(char *) "pos",(char *) "orient", NULL
13367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ScrollWinEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13369 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
13370 if (PyErr_Occurred()) SWIG_fail
;
13373 arg2
= (int) SWIG_AsInt(obj1
);
13374 if (PyErr_Occurred()) SWIG_fail
;
13377 arg3
= (int) SWIG_AsInt(obj2
);
13378 if (PyErr_Occurred()) SWIG_fail
;
13381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13382 result
= (wxScrollWinEvent
*)new wxScrollWinEvent(arg1
,arg2
,arg3
);
13384 wxPyEndAllowThreads(__tstate
);
13385 if (PyErr_Occurred()) SWIG_fail
;
13387 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollWinEvent
, 1);
13394 static PyObject
*_wrap_ScrollWinEvent_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13395 PyObject
*resultobj
;
13396 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
13398 PyObject
* obj0
= 0 ;
13399 char *kwnames
[] = {
13400 (char *) "self", NULL
13403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollWinEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
13404 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollWinEvent
,
13405 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13408 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetOrientation();
13410 wxPyEndAllowThreads(__tstate
);
13411 if (PyErr_Occurred()) SWIG_fail
;
13413 resultobj
= SWIG_FromInt((int)result
);
13420 static PyObject
*_wrap_ScrollWinEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13421 PyObject
*resultobj
;
13422 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
13424 PyObject
* obj0
= 0 ;
13425 char *kwnames
[] = {
13426 (char *) "self", NULL
13429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollWinEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
13430 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollWinEvent
,
13431 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13434 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetPosition();
13436 wxPyEndAllowThreads(__tstate
);
13437 if (PyErr_Occurred()) SWIG_fail
;
13439 resultobj
= SWIG_FromInt((int)result
);
13446 static PyObject
*_wrap_ScrollWinEvent_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13447 PyObject
*resultobj
;
13448 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
13450 PyObject
* obj0
= 0 ;
13451 PyObject
* obj1
= 0 ;
13452 char *kwnames
[] = {
13453 (char *) "self",(char *) "orient", NULL
13456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollWinEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
13457 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollWinEvent
,
13458 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13459 arg2
= (int) SWIG_AsInt(obj1
);
13460 if (PyErr_Occurred()) SWIG_fail
;
13462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13463 (arg1
)->SetOrientation(arg2
);
13465 wxPyEndAllowThreads(__tstate
);
13466 if (PyErr_Occurred()) SWIG_fail
;
13468 Py_INCREF(Py_None
); resultobj
= Py_None
;
13475 static PyObject
*_wrap_ScrollWinEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13476 PyObject
*resultobj
;
13477 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
13479 PyObject
* obj0
= 0 ;
13480 PyObject
* obj1
= 0 ;
13481 char *kwnames
[] = {
13482 (char *) "self",(char *) "pos", NULL
13485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollWinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
13486 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollWinEvent
,
13487 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13488 arg2
= (int) SWIG_AsInt(obj1
);
13489 if (PyErr_Occurred()) SWIG_fail
;
13491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13492 (arg1
)->SetPosition(arg2
);
13494 wxPyEndAllowThreads(__tstate
);
13495 if (PyErr_Occurred()) SWIG_fail
;
13497 Py_INCREF(Py_None
); resultobj
= Py_None
;
13504 static PyObject
* ScrollWinEvent_swigregister(PyObject
*self
, PyObject
*args
) {
13506 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13507 SWIG_TypeClientData(SWIGTYPE_p_wxScrollWinEvent
, obj
);
13509 return Py_BuildValue((char *)"");
13511 static PyObject
*_wrap_new_MouseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13512 PyObject
*resultobj
;
13513 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13514 wxMouseEvent
*result
;
13515 PyObject
* obj0
= 0 ;
13516 char *kwnames
[] = {
13517 (char *) "mouseType", NULL
13520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MouseEvent",kwnames
,&obj0
)) goto fail
;
13522 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
13523 if (PyErr_Occurred()) SWIG_fail
;
13526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13527 result
= (wxMouseEvent
*)new wxMouseEvent(arg1
);
13529 wxPyEndAllowThreads(__tstate
);
13530 if (PyErr_Occurred()) SWIG_fail
;
13533 resultobj
= wxPyMake_wxObject(result
);
13541 static PyObject
*_wrap_MouseEvent_IsButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13542 PyObject
*resultobj
;
13543 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13545 PyObject
* obj0
= 0 ;
13546 char *kwnames
[] = {
13547 (char *) "self", NULL
13550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_IsButton",kwnames
,&obj0
)) goto fail
;
13551 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13552 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13555 result
= (bool)((wxMouseEvent
const *)arg1
)->IsButton();
13557 wxPyEndAllowThreads(__tstate
);
13558 if (PyErr_Occurred()) SWIG_fail
;
13561 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13569 static PyObject
*_wrap_MouseEvent_ButtonDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13570 PyObject
*resultobj
;
13571 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13572 int arg2
= (int) wxMOUSE_BTN_ANY
;
13574 PyObject
* obj0
= 0 ;
13575 PyObject
* obj1
= 0 ;
13576 char *kwnames
[] = {
13577 (char *) "self",(char *) "but", NULL
13580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonDown",kwnames
,&obj0
,&obj1
)) goto fail
;
13581 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13582 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13584 arg2
= (int) SWIG_AsInt(obj1
);
13585 if (PyErr_Occurred()) SWIG_fail
;
13588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13589 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDown(arg2
);
13591 wxPyEndAllowThreads(__tstate
);
13592 if (PyErr_Occurred()) SWIG_fail
;
13595 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13603 static PyObject
*_wrap_MouseEvent_ButtonDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13604 PyObject
*resultobj
;
13605 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13606 int arg2
= (int) wxMOUSE_BTN_ANY
;
13608 PyObject
* obj0
= 0 ;
13609 PyObject
* obj1
= 0 ;
13610 char *kwnames
[] = {
13611 (char *) "self",(char *) "but", NULL
13614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonDClick",kwnames
,&obj0
,&obj1
)) goto fail
;
13615 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13616 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13618 arg2
= (int) SWIG_AsInt(obj1
);
13619 if (PyErr_Occurred()) SWIG_fail
;
13622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13623 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDClick(arg2
);
13625 wxPyEndAllowThreads(__tstate
);
13626 if (PyErr_Occurred()) SWIG_fail
;
13629 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13637 static PyObject
*_wrap_MouseEvent_ButtonUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13638 PyObject
*resultobj
;
13639 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13640 int arg2
= (int) wxMOUSE_BTN_ANY
;
13642 PyObject
* obj0
= 0 ;
13643 PyObject
* obj1
= 0 ;
13644 char *kwnames
[] = {
13645 (char *) "self",(char *) "but", NULL
13648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonUp",kwnames
,&obj0
,&obj1
)) goto fail
;
13649 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13650 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13652 arg2
= (int) SWIG_AsInt(obj1
);
13653 if (PyErr_Occurred()) SWIG_fail
;
13656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13657 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonUp(arg2
);
13659 wxPyEndAllowThreads(__tstate
);
13660 if (PyErr_Occurred()) SWIG_fail
;
13663 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13671 static PyObject
*_wrap_MouseEvent_Button(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13672 PyObject
*resultobj
;
13673 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13676 PyObject
* obj0
= 0 ;
13677 PyObject
* obj1
= 0 ;
13678 char *kwnames
[] = {
13679 (char *) "self",(char *) "but", NULL
13682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_Button",kwnames
,&obj0
,&obj1
)) goto fail
;
13683 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13684 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13685 arg2
= (int) SWIG_AsInt(obj1
);
13686 if (PyErr_Occurred()) SWIG_fail
;
13688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13689 result
= (bool)((wxMouseEvent
const *)arg1
)->Button(arg2
);
13691 wxPyEndAllowThreads(__tstate
);
13692 if (PyErr_Occurred()) SWIG_fail
;
13695 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13703 static PyObject
*_wrap_MouseEvent_ButtonIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13704 PyObject
*resultobj
;
13705 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13708 PyObject
* obj0
= 0 ;
13709 PyObject
* obj1
= 0 ;
13710 char *kwnames
[] = {
13711 (char *) "self",(char *) "but", NULL
13714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_ButtonIsDown",kwnames
,&obj0
,&obj1
)) goto fail
;
13715 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13716 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13717 arg2
= (int) SWIG_AsInt(obj1
);
13718 if (PyErr_Occurred()) SWIG_fail
;
13720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13721 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonIsDown(arg2
);
13723 wxPyEndAllowThreads(__tstate
);
13724 if (PyErr_Occurred()) SWIG_fail
;
13727 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13735 static PyObject
*_wrap_MouseEvent_GetButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13736 PyObject
*resultobj
;
13737 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13739 PyObject
* obj0
= 0 ;
13740 char *kwnames
[] = {
13741 (char *) "self", NULL
13744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetButton",kwnames
,&obj0
)) goto fail
;
13745 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13746 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13749 result
= (int)((wxMouseEvent
const *)arg1
)->GetButton();
13751 wxPyEndAllowThreads(__tstate
);
13752 if (PyErr_Occurred()) SWIG_fail
;
13754 resultobj
= SWIG_FromInt((int)result
);
13761 static PyObject
*_wrap_MouseEvent_ControlDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13762 PyObject
*resultobj
;
13763 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13765 PyObject
* obj0
= 0 ;
13766 char *kwnames
[] = {
13767 (char *) "self", NULL
13770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
13771 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13772 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13775 result
= (bool)((wxMouseEvent
const *)arg1
)->ControlDown();
13777 wxPyEndAllowThreads(__tstate
);
13778 if (PyErr_Occurred()) SWIG_fail
;
13781 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13789 static PyObject
*_wrap_MouseEvent_MetaDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13790 PyObject
*resultobj
;
13791 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13793 PyObject
* obj0
= 0 ;
13794 char *kwnames
[] = {
13795 (char *) "self", NULL
13798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
13799 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13800 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13803 result
= (bool)((wxMouseEvent
const *)arg1
)->MetaDown();
13805 wxPyEndAllowThreads(__tstate
);
13806 if (PyErr_Occurred()) SWIG_fail
;
13809 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13817 static PyObject
*_wrap_MouseEvent_AltDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13818 PyObject
*resultobj
;
13819 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13821 PyObject
* obj0
= 0 ;
13822 char *kwnames
[] = {
13823 (char *) "self", NULL
13826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_AltDown",kwnames
,&obj0
)) goto fail
;
13827 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13828 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13831 result
= (bool)((wxMouseEvent
const *)arg1
)->AltDown();
13833 wxPyEndAllowThreads(__tstate
);
13834 if (PyErr_Occurred()) SWIG_fail
;
13837 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13845 static PyObject
*_wrap_MouseEvent_ShiftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13846 PyObject
*resultobj
;
13847 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13849 PyObject
* obj0
= 0 ;
13850 char *kwnames
[] = {
13851 (char *) "self", NULL
13854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
13855 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13856 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13859 result
= (bool)((wxMouseEvent
const *)arg1
)->ShiftDown();
13861 wxPyEndAllowThreads(__tstate
);
13862 if (PyErr_Occurred()) SWIG_fail
;
13865 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13873 static PyObject
*_wrap_MouseEvent_LeftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13874 PyObject
*resultobj
;
13875 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13877 PyObject
* obj0
= 0 ;
13878 char *kwnames
[] = {
13879 (char *) "self", NULL
13882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftDown",kwnames
,&obj0
)) goto fail
;
13883 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13884 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13887 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDown();
13889 wxPyEndAllowThreads(__tstate
);
13890 if (PyErr_Occurred()) SWIG_fail
;
13893 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13901 static PyObject
*_wrap_MouseEvent_MiddleDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13902 PyObject
*resultobj
;
13903 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13905 PyObject
* obj0
= 0 ;
13906 char *kwnames
[] = {
13907 (char *) "self", NULL
13910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleDown",kwnames
,&obj0
)) goto fail
;
13911 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13912 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13915 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDown();
13917 wxPyEndAllowThreads(__tstate
);
13918 if (PyErr_Occurred()) SWIG_fail
;
13921 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13929 static PyObject
*_wrap_MouseEvent_RightDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13930 PyObject
*resultobj
;
13931 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13933 PyObject
* obj0
= 0 ;
13934 char *kwnames
[] = {
13935 (char *) "self", NULL
13938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightDown",kwnames
,&obj0
)) goto fail
;
13939 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13940 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13943 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDown();
13945 wxPyEndAllowThreads(__tstate
);
13946 if (PyErr_Occurred()) SWIG_fail
;
13949 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13957 static PyObject
*_wrap_MouseEvent_LeftUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13958 PyObject
*resultobj
;
13959 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13961 PyObject
* obj0
= 0 ;
13962 char *kwnames
[] = {
13963 (char *) "self", NULL
13966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftUp",kwnames
,&obj0
)) goto fail
;
13967 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13968 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13971 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftUp();
13973 wxPyEndAllowThreads(__tstate
);
13974 if (PyErr_Occurred()) SWIG_fail
;
13977 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13985 static PyObject
*_wrap_MouseEvent_MiddleUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13986 PyObject
*resultobj
;
13987 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13989 PyObject
* obj0
= 0 ;
13990 char *kwnames
[] = {
13991 (char *) "self", NULL
13994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleUp",kwnames
,&obj0
)) goto fail
;
13995 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13996 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13999 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleUp();
14001 wxPyEndAllowThreads(__tstate
);
14002 if (PyErr_Occurred()) SWIG_fail
;
14005 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14013 static PyObject
*_wrap_MouseEvent_RightUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14014 PyObject
*resultobj
;
14015 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14017 PyObject
* obj0
= 0 ;
14018 char *kwnames
[] = {
14019 (char *) "self", NULL
14022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightUp",kwnames
,&obj0
)) goto fail
;
14023 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14024 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14027 result
= (bool)((wxMouseEvent
const *)arg1
)->RightUp();
14029 wxPyEndAllowThreads(__tstate
);
14030 if (PyErr_Occurred()) SWIG_fail
;
14033 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14041 static PyObject
*_wrap_MouseEvent_LeftDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14042 PyObject
*resultobj
;
14043 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14045 PyObject
* obj0
= 0 ;
14046 char *kwnames
[] = {
14047 (char *) "self", NULL
14050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftDClick",kwnames
,&obj0
)) goto fail
;
14051 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14052 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14055 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDClick();
14057 wxPyEndAllowThreads(__tstate
);
14058 if (PyErr_Occurred()) SWIG_fail
;
14061 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14069 static PyObject
*_wrap_MouseEvent_MiddleDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14070 PyObject
*resultobj
;
14071 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14073 PyObject
* obj0
= 0 ;
14074 char *kwnames
[] = {
14075 (char *) "self", NULL
14078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleDClick",kwnames
,&obj0
)) goto fail
;
14079 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14083 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDClick();
14085 wxPyEndAllowThreads(__tstate
);
14086 if (PyErr_Occurred()) SWIG_fail
;
14089 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14097 static PyObject
*_wrap_MouseEvent_RightDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14098 PyObject
*resultobj
;
14099 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14101 PyObject
* obj0
= 0 ;
14102 char *kwnames
[] = {
14103 (char *) "self", NULL
14106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightDClick",kwnames
,&obj0
)) goto fail
;
14107 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14108 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14111 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDClick();
14113 wxPyEndAllowThreads(__tstate
);
14114 if (PyErr_Occurred()) SWIG_fail
;
14117 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14125 static PyObject
*_wrap_MouseEvent_LeftIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14126 PyObject
*resultobj
;
14127 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14129 PyObject
* obj0
= 0 ;
14130 char *kwnames
[] = {
14131 (char *) "self", NULL
14134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftIsDown",kwnames
,&obj0
)) goto fail
;
14135 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14136 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14139 result
= (bool)(arg1
)->LeftIsDown();
14141 wxPyEndAllowThreads(__tstate
);
14142 if (PyErr_Occurred()) SWIG_fail
;
14145 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14153 static PyObject
*_wrap_MouseEvent_MiddleIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14154 PyObject
*resultobj
;
14155 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14157 PyObject
* obj0
= 0 ;
14158 char *kwnames
[] = {
14159 (char *) "self", NULL
14162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleIsDown",kwnames
,&obj0
)) goto fail
;
14163 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14164 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14167 result
= (bool)(arg1
)->MiddleIsDown();
14169 wxPyEndAllowThreads(__tstate
);
14170 if (PyErr_Occurred()) SWIG_fail
;
14173 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14181 static PyObject
*_wrap_MouseEvent_RightIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14182 PyObject
*resultobj
;
14183 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14185 PyObject
* obj0
= 0 ;
14186 char *kwnames
[] = {
14187 (char *) "self", NULL
14190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightIsDown",kwnames
,&obj0
)) goto fail
;
14191 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14192 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14195 result
= (bool)(arg1
)->RightIsDown();
14197 wxPyEndAllowThreads(__tstate
);
14198 if (PyErr_Occurred()) SWIG_fail
;
14201 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14209 static PyObject
*_wrap_MouseEvent_Dragging(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14210 PyObject
*resultobj
;
14211 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14213 PyObject
* obj0
= 0 ;
14214 char *kwnames
[] = {
14215 (char *) "self", NULL
14218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Dragging",kwnames
,&obj0
)) goto fail
;
14219 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14220 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14223 result
= (bool)((wxMouseEvent
const *)arg1
)->Dragging();
14225 wxPyEndAllowThreads(__tstate
);
14226 if (PyErr_Occurred()) SWIG_fail
;
14229 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14237 static PyObject
*_wrap_MouseEvent_Moving(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14238 PyObject
*resultobj
;
14239 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14241 PyObject
* obj0
= 0 ;
14242 char *kwnames
[] = {
14243 (char *) "self", NULL
14246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Moving",kwnames
,&obj0
)) goto fail
;
14247 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14248 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14251 result
= (bool)((wxMouseEvent
const *)arg1
)->Moving();
14253 wxPyEndAllowThreads(__tstate
);
14254 if (PyErr_Occurred()) SWIG_fail
;
14257 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14265 static PyObject
*_wrap_MouseEvent_Entering(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14266 PyObject
*resultobj
;
14267 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14269 PyObject
* obj0
= 0 ;
14270 char *kwnames
[] = {
14271 (char *) "self", NULL
14274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Entering",kwnames
,&obj0
)) goto fail
;
14275 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14276 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14279 result
= (bool)((wxMouseEvent
const *)arg1
)->Entering();
14281 wxPyEndAllowThreads(__tstate
);
14282 if (PyErr_Occurred()) SWIG_fail
;
14285 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14293 static PyObject
*_wrap_MouseEvent_Leaving(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14294 PyObject
*resultobj
;
14295 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14297 PyObject
* obj0
= 0 ;
14298 char *kwnames
[] = {
14299 (char *) "self", NULL
14302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Leaving",kwnames
,&obj0
)) goto fail
;
14303 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14304 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14307 result
= (bool)((wxMouseEvent
const *)arg1
)->Leaving();
14309 wxPyEndAllowThreads(__tstate
);
14310 if (PyErr_Occurred()) SWIG_fail
;
14313 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14321 static PyObject
*_wrap_MouseEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14322 PyObject
*resultobj
;
14323 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14325 PyObject
* obj0
= 0 ;
14326 char *kwnames
[] = {
14327 (char *) "self", NULL
14330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
14331 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14332 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14335 result
= (arg1
)->GetPosition();
14337 wxPyEndAllowThreads(__tstate
);
14338 if (PyErr_Occurred()) SWIG_fail
;
14341 wxPoint
* resultptr
;
14342 resultptr
= new wxPoint((wxPoint
&) result
);
14343 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
14351 static PyObject
*_wrap_MouseEvent_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14352 PyObject
*resultobj
;
14353 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14354 long *arg2
= (long *) 0 ;
14355 long *arg3
= (long *) 0 ;
14358 PyObject
* obj0
= 0 ;
14359 char *kwnames
[] = {
14360 (char *) "self", NULL
14365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
14366 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14367 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14370 (arg1
)->GetPosition(arg2
,arg3
);
14372 wxPyEndAllowThreads(__tstate
);
14373 if (PyErr_Occurred()) SWIG_fail
;
14375 Py_INCREF(Py_None
); resultobj
= Py_None
;
14377 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
14378 resultobj
= t_output_helper(resultobj
,o
);
14381 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
14382 resultobj
= t_output_helper(resultobj
,o
);
14390 static PyObject
*_wrap_MouseEvent_GetLogicalPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14391 PyObject
*resultobj
;
14392 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14395 PyObject
* obj0
= 0 ;
14396 PyObject
* obj1
= 0 ;
14397 char *kwnames
[] = {
14398 (char *) "self",(char *) "dc", NULL
14401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_GetLogicalPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
14402 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14403 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14404 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
14405 SWIG_POINTER_EXCEPTION
| 0)) == -1)
14407 if (arg2
== NULL
) {
14408 PyErr_SetString(PyExc_TypeError
,"null reference");
14412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14413 result
= ((wxMouseEvent
const *)arg1
)->GetLogicalPosition((wxDC
const &)*arg2
);
14415 wxPyEndAllowThreads(__tstate
);
14416 if (PyErr_Occurred()) SWIG_fail
;
14419 wxPoint
* resultptr
;
14420 resultptr
= new wxPoint((wxPoint
&) result
);
14421 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
14429 static PyObject
*_wrap_MouseEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14430 PyObject
*resultobj
;
14431 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14433 PyObject
* obj0
= 0 ;
14434 char *kwnames
[] = {
14435 (char *) "self", NULL
14438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetX",kwnames
,&obj0
)) goto fail
;
14439 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14440 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14443 result
= (int)((wxMouseEvent
const *)arg1
)->GetX();
14445 wxPyEndAllowThreads(__tstate
);
14446 if (PyErr_Occurred()) SWIG_fail
;
14448 resultobj
= SWIG_FromInt((int)result
);
14455 static PyObject
*_wrap_MouseEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14456 PyObject
*resultobj
;
14457 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14459 PyObject
* obj0
= 0 ;
14460 char *kwnames
[] = {
14461 (char *) "self", NULL
14464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetY",kwnames
,&obj0
)) goto fail
;
14465 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14466 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14469 result
= (int)((wxMouseEvent
const *)arg1
)->GetY();
14471 wxPyEndAllowThreads(__tstate
);
14472 if (PyErr_Occurred()) SWIG_fail
;
14474 resultobj
= SWIG_FromInt((int)result
);
14481 static PyObject
*_wrap_MouseEvent_GetWheelRotation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14482 PyObject
*resultobj
;
14483 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14485 PyObject
* obj0
= 0 ;
14486 char *kwnames
[] = {
14487 (char *) "self", NULL
14490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetWheelRotation",kwnames
,&obj0
)) goto fail
;
14491 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14492 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14495 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelRotation();
14497 wxPyEndAllowThreads(__tstate
);
14498 if (PyErr_Occurred()) SWIG_fail
;
14500 resultobj
= SWIG_FromInt((int)result
);
14507 static PyObject
*_wrap_MouseEvent_GetWheelDelta(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14508 PyObject
*resultobj
;
14509 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14511 PyObject
* obj0
= 0 ;
14512 char *kwnames
[] = {
14513 (char *) "self", NULL
14516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetWheelDelta",kwnames
,&obj0
)) goto fail
;
14517 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14518 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14521 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelDelta();
14523 wxPyEndAllowThreads(__tstate
);
14524 if (PyErr_Occurred()) SWIG_fail
;
14526 resultobj
= SWIG_FromInt((int)result
);
14533 static PyObject
*_wrap_MouseEvent_GetLinesPerAction(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14534 PyObject
*resultobj
;
14535 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14537 PyObject
* obj0
= 0 ;
14538 char *kwnames
[] = {
14539 (char *) "self", NULL
14542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetLinesPerAction",kwnames
,&obj0
)) goto fail
;
14543 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14544 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14547 result
= (int)((wxMouseEvent
const *)arg1
)->GetLinesPerAction();
14549 wxPyEndAllowThreads(__tstate
);
14550 if (PyErr_Occurred()) SWIG_fail
;
14552 resultobj
= SWIG_FromInt((int)result
);
14559 static PyObject
*_wrap_MouseEvent_IsPageScroll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14560 PyObject
*resultobj
;
14561 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14563 PyObject
* obj0
= 0 ;
14564 char *kwnames
[] = {
14565 (char *) "self", NULL
14568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_IsPageScroll",kwnames
,&obj0
)) goto fail
;
14569 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14570 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14573 result
= (bool)((wxMouseEvent
const *)arg1
)->IsPageScroll();
14575 wxPyEndAllowThreads(__tstate
);
14576 if (PyErr_Occurred()) SWIG_fail
;
14579 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14587 static PyObject
*_wrap_MouseEvent_m_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14588 PyObject
*resultobj
;
14589 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14591 PyObject
* obj0
= 0 ;
14592 PyObject
* obj1
= 0 ;
14593 char *kwnames
[] = {
14594 (char *) "self",(char *) "m_x", NULL
14597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14598 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14599 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14600 arg2
= (int) SWIG_AsInt(obj1
);
14601 if (PyErr_Occurred()) SWIG_fail
;
14602 if (arg1
) (arg1
)->m_x
= arg2
;
14604 Py_INCREF(Py_None
); resultobj
= Py_None
;
14611 static PyObject
*_wrap_MouseEvent_m_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14612 PyObject
*resultobj
;
14613 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14615 PyObject
* obj0
= 0 ;
14616 char *kwnames
[] = {
14617 (char *) "self", NULL
14620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_x_get",kwnames
,&obj0
)) goto fail
;
14621 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14622 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14623 result
= (int) ((arg1
)->m_x
);
14625 resultobj
= SWIG_FromInt((int)result
);
14632 static PyObject
*_wrap_MouseEvent_m_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14633 PyObject
*resultobj
;
14634 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14636 PyObject
* obj0
= 0 ;
14637 PyObject
* obj1
= 0 ;
14638 char *kwnames
[] = {
14639 (char *) "self",(char *) "m_y", NULL
14642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14643 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14644 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14645 arg2
= (int) SWIG_AsInt(obj1
);
14646 if (PyErr_Occurred()) SWIG_fail
;
14647 if (arg1
) (arg1
)->m_y
= arg2
;
14649 Py_INCREF(Py_None
); resultobj
= Py_None
;
14656 static PyObject
*_wrap_MouseEvent_m_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14657 PyObject
*resultobj
;
14658 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14660 PyObject
* obj0
= 0 ;
14661 char *kwnames
[] = {
14662 (char *) "self", NULL
14665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_y_get",kwnames
,&obj0
)) goto fail
;
14666 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14667 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14668 result
= (int) ((arg1
)->m_y
);
14670 resultobj
= SWIG_FromInt((int)result
);
14677 static PyObject
*_wrap_MouseEvent_m_leftDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14678 PyObject
*resultobj
;
14679 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14681 PyObject
* obj0
= 0 ;
14682 PyObject
* obj1
= 0 ;
14683 char *kwnames
[] = {
14684 (char *) "self",(char *) "m_leftDown", NULL
14687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_leftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14688 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14689 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14690 arg2
= (bool) SWIG_AsBool(obj1
);
14691 if (PyErr_Occurred()) SWIG_fail
;
14692 if (arg1
) (arg1
)->m_leftDown
= arg2
;
14694 Py_INCREF(Py_None
); resultobj
= Py_None
;
14701 static PyObject
*_wrap_MouseEvent_m_leftDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14702 PyObject
*resultobj
;
14703 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14705 PyObject
* obj0
= 0 ;
14706 char *kwnames
[] = {
14707 (char *) "self", NULL
14710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_leftDown_get",kwnames
,&obj0
)) goto fail
;
14711 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14712 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14713 result
= (bool) ((arg1
)->m_leftDown
);
14716 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14724 static PyObject
*_wrap_MouseEvent_m_middleDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14725 PyObject
*resultobj
;
14726 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14728 PyObject
* obj0
= 0 ;
14729 PyObject
* obj1
= 0 ;
14730 char *kwnames
[] = {
14731 (char *) "self",(char *) "m_middleDown", NULL
14734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_middleDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14735 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14736 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14737 arg2
= (bool) SWIG_AsBool(obj1
);
14738 if (PyErr_Occurred()) SWIG_fail
;
14739 if (arg1
) (arg1
)->m_middleDown
= arg2
;
14741 Py_INCREF(Py_None
); resultobj
= Py_None
;
14748 static PyObject
*_wrap_MouseEvent_m_middleDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14749 PyObject
*resultobj
;
14750 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14752 PyObject
* obj0
= 0 ;
14753 char *kwnames
[] = {
14754 (char *) "self", NULL
14757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_middleDown_get",kwnames
,&obj0
)) goto fail
;
14758 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14759 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14760 result
= (bool) ((arg1
)->m_middleDown
);
14763 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14771 static PyObject
*_wrap_MouseEvent_m_rightDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14772 PyObject
*resultobj
;
14773 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14775 PyObject
* obj0
= 0 ;
14776 PyObject
* obj1
= 0 ;
14777 char *kwnames
[] = {
14778 (char *) "self",(char *) "m_rightDown", NULL
14781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_rightDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14782 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14783 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14784 arg2
= (bool) SWIG_AsBool(obj1
);
14785 if (PyErr_Occurred()) SWIG_fail
;
14786 if (arg1
) (arg1
)->m_rightDown
= arg2
;
14788 Py_INCREF(Py_None
); resultobj
= Py_None
;
14795 static PyObject
*_wrap_MouseEvent_m_rightDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14796 PyObject
*resultobj
;
14797 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14799 PyObject
* obj0
= 0 ;
14800 char *kwnames
[] = {
14801 (char *) "self", NULL
14804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_rightDown_get",kwnames
,&obj0
)) goto fail
;
14805 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14806 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14807 result
= (bool) ((arg1
)->m_rightDown
);
14810 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14818 static PyObject
*_wrap_MouseEvent_m_controlDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14819 PyObject
*resultobj
;
14820 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14822 PyObject
* obj0
= 0 ;
14823 PyObject
* obj1
= 0 ;
14824 char *kwnames
[] = {
14825 (char *) "self",(char *) "m_controlDown", NULL
14828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_controlDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14829 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14830 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14831 arg2
= (bool) SWIG_AsBool(obj1
);
14832 if (PyErr_Occurred()) SWIG_fail
;
14833 if (arg1
) (arg1
)->m_controlDown
= arg2
;
14835 Py_INCREF(Py_None
); resultobj
= Py_None
;
14842 static PyObject
*_wrap_MouseEvent_m_controlDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14843 PyObject
*resultobj
;
14844 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14846 PyObject
* obj0
= 0 ;
14847 char *kwnames
[] = {
14848 (char *) "self", NULL
14851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_controlDown_get",kwnames
,&obj0
)) goto fail
;
14852 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14853 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14854 result
= (bool) ((arg1
)->m_controlDown
);
14857 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14865 static PyObject
*_wrap_MouseEvent_m_shiftDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14866 PyObject
*resultobj
;
14867 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14869 PyObject
* obj0
= 0 ;
14870 PyObject
* obj1
= 0 ;
14871 char *kwnames
[] = {
14872 (char *) "self",(char *) "m_shiftDown", NULL
14875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_shiftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14876 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14877 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14878 arg2
= (bool) SWIG_AsBool(obj1
);
14879 if (PyErr_Occurred()) SWIG_fail
;
14880 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
14882 Py_INCREF(Py_None
); resultobj
= Py_None
;
14889 static PyObject
*_wrap_MouseEvent_m_shiftDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14890 PyObject
*resultobj
;
14891 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14893 PyObject
* obj0
= 0 ;
14894 char *kwnames
[] = {
14895 (char *) "self", NULL
14898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_shiftDown_get",kwnames
,&obj0
)) goto fail
;
14899 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14900 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14901 result
= (bool) ((arg1
)->m_shiftDown
);
14904 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14912 static PyObject
*_wrap_MouseEvent_m_altDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14913 PyObject
*resultobj
;
14914 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14916 PyObject
* obj0
= 0 ;
14917 PyObject
* obj1
= 0 ;
14918 char *kwnames
[] = {
14919 (char *) "self",(char *) "m_altDown", NULL
14922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_altDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14923 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14924 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14925 arg2
= (bool) SWIG_AsBool(obj1
);
14926 if (PyErr_Occurred()) SWIG_fail
;
14927 if (arg1
) (arg1
)->m_altDown
= arg2
;
14929 Py_INCREF(Py_None
); resultobj
= Py_None
;
14936 static PyObject
*_wrap_MouseEvent_m_altDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14937 PyObject
*resultobj
;
14938 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14940 PyObject
* obj0
= 0 ;
14941 char *kwnames
[] = {
14942 (char *) "self", NULL
14945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_altDown_get",kwnames
,&obj0
)) goto fail
;
14946 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14947 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14948 result
= (bool) ((arg1
)->m_altDown
);
14951 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14959 static PyObject
*_wrap_MouseEvent_m_metaDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14960 PyObject
*resultobj
;
14961 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14963 PyObject
* obj0
= 0 ;
14964 PyObject
* obj1
= 0 ;
14965 char *kwnames
[] = {
14966 (char *) "self",(char *) "m_metaDown", NULL
14969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_metaDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14970 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14971 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14972 arg2
= (bool) SWIG_AsBool(obj1
);
14973 if (PyErr_Occurred()) SWIG_fail
;
14974 if (arg1
) (arg1
)->m_metaDown
= arg2
;
14976 Py_INCREF(Py_None
); resultobj
= Py_None
;
14983 static PyObject
*_wrap_MouseEvent_m_metaDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14984 PyObject
*resultobj
;
14985 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14987 PyObject
* obj0
= 0 ;
14988 char *kwnames
[] = {
14989 (char *) "self", NULL
14992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_metaDown_get",kwnames
,&obj0
)) goto fail
;
14993 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14994 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14995 result
= (bool) ((arg1
)->m_metaDown
);
14998 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15006 static PyObject
*_wrap_MouseEvent_m_wheelRotation_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15007 PyObject
*resultobj
;
15008 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15010 PyObject
* obj0
= 0 ;
15011 PyObject
* obj1
= 0 ;
15012 char *kwnames
[] = {
15013 (char *) "self",(char *) "m_wheelRotation", NULL
15016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_wheelRotation_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15017 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15018 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15019 arg2
= (int) SWIG_AsInt(obj1
);
15020 if (PyErr_Occurred()) SWIG_fail
;
15021 if (arg1
) (arg1
)->m_wheelRotation
= arg2
;
15023 Py_INCREF(Py_None
); resultobj
= Py_None
;
15030 static PyObject
*_wrap_MouseEvent_m_wheelRotation_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15031 PyObject
*resultobj
;
15032 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15034 PyObject
* obj0
= 0 ;
15035 char *kwnames
[] = {
15036 (char *) "self", NULL
15039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_wheelRotation_get",kwnames
,&obj0
)) goto fail
;
15040 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15041 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15042 result
= (int) ((arg1
)->m_wheelRotation
);
15044 resultobj
= SWIG_FromInt((int)result
);
15051 static PyObject
*_wrap_MouseEvent_m_wheelDelta_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15052 PyObject
*resultobj
;
15053 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15055 PyObject
* obj0
= 0 ;
15056 PyObject
* obj1
= 0 ;
15057 char *kwnames
[] = {
15058 (char *) "self",(char *) "m_wheelDelta", NULL
15061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_wheelDelta_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15062 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15063 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15064 arg2
= (int) SWIG_AsInt(obj1
);
15065 if (PyErr_Occurred()) SWIG_fail
;
15066 if (arg1
) (arg1
)->m_wheelDelta
= arg2
;
15068 Py_INCREF(Py_None
); resultobj
= Py_None
;
15075 static PyObject
*_wrap_MouseEvent_m_wheelDelta_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15076 PyObject
*resultobj
;
15077 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15079 PyObject
* obj0
= 0 ;
15080 char *kwnames
[] = {
15081 (char *) "self", NULL
15084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_wheelDelta_get",kwnames
,&obj0
)) goto fail
;
15085 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15086 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15087 result
= (int) ((arg1
)->m_wheelDelta
);
15089 resultobj
= SWIG_FromInt((int)result
);
15096 static PyObject
*_wrap_MouseEvent_m_linesPerAction_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15097 PyObject
*resultobj
;
15098 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15100 PyObject
* obj0
= 0 ;
15101 PyObject
* obj1
= 0 ;
15102 char *kwnames
[] = {
15103 (char *) "self",(char *) "m_linesPerAction", NULL
15106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_linesPerAction_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15107 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15108 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15109 arg2
= (int) SWIG_AsInt(obj1
);
15110 if (PyErr_Occurred()) SWIG_fail
;
15111 if (arg1
) (arg1
)->m_linesPerAction
= arg2
;
15113 Py_INCREF(Py_None
); resultobj
= Py_None
;
15120 static PyObject
*_wrap_MouseEvent_m_linesPerAction_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15121 PyObject
*resultobj
;
15122 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15124 PyObject
* obj0
= 0 ;
15125 char *kwnames
[] = {
15126 (char *) "self", NULL
15129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_linesPerAction_get",kwnames
,&obj0
)) goto fail
;
15130 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15131 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15132 result
= (int) ((arg1
)->m_linesPerAction
);
15134 resultobj
= SWIG_FromInt((int)result
);
15141 static PyObject
* MouseEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15143 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15144 SWIG_TypeClientData(SWIGTYPE_p_wxMouseEvent
, obj
);
15146 return Py_BuildValue((char *)"");
15148 static PyObject
*_wrap_new_SetCursorEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15149 PyObject
*resultobj
;
15150 int arg1
= (int) 0 ;
15151 int arg2
= (int) 0 ;
15152 wxSetCursorEvent
*result
;
15153 PyObject
* obj0
= 0 ;
15154 PyObject
* obj1
= 0 ;
15155 char *kwnames
[] = {
15156 (char *) "x",(char *) "y", NULL
15159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SetCursorEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
15161 arg1
= (int) SWIG_AsInt(obj0
);
15162 if (PyErr_Occurred()) SWIG_fail
;
15165 arg2
= (int) SWIG_AsInt(obj1
);
15166 if (PyErr_Occurred()) SWIG_fail
;
15169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15170 result
= (wxSetCursorEvent
*)new wxSetCursorEvent(arg1
,arg2
);
15172 wxPyEndAllowThreads(__tstate
);
15173 if (PyErr_Occurred()) SWIG_fail
;
15175 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSetCursorEvent
, 1);
15182 static PyObject
*_wrap_SetCursorEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15183 PyObject
*resultobj
;
15184 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15186 PyObject
* obj0
= 0 ;
15187 char *kwnames
[] = {
15188 (char *) "self", NULL
15191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetX",kwnames
,&obj0
)) goto fail
;
15192 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15193 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15196 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetX();
15198 wxPyEndAllowThreads(__tstate
);
15199 if (PyErr_Occurred()) SWIG_fail
;
15201 resultobj
= SWIG_FromInt((int)result
);
15208 static PyObject
*_wrap_SetCursorEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15209 PyObject
*resultobj
;
15210 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15212 PyObject
* obj0
= 0 ;
15213 char *kwnames
[] = {
15214 (char *) "self", NULL
15217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetY",kwnames
,&obj0
)) goto fail
;
15218 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15219 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15222 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetY();
15224 wxPyEndAllowThreads(__tstate
);
15225 if (PyErr_Occurred()) SWIG_fail
;
15227 resultobj
= SWIG_FromInt((int)result
);
15234 static PyObject
*_wrap_SetCursorEvent_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15235 PyObject
*resultobj
;
15236 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15237 wxCursor
*arg2
= 0 ;
15238 PyObject
* obj0
= 0 ;
15239 PyObject
* obj1
= 0 ;
15240 char *kwnames
[] = {
15241 (char *) "self",(char *) "cursor", NULL
15244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SetCursorEvent_SetCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
15245 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15246 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15247 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
15248 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15250 if (arg2
== NULL
) {
15251 PyErr_SetString(PyExc_TypeError
,"null reference");
15255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15256 (arg1
)->SetCursor((wxCursor
const &)*arg2
);
15258 wxPyEndAllowThreads(__tstate
);
15259 if (PyErr_Occurred()) SWIG_fail
;
15261 Py_INCREF(Py_None
); resultobj
= Py_None
;
15268 static PyObject
*_wrap_SetCursorEvent_GetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15269 PyObject
*resultobj
;
15270 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15272 PyObject
* obj0
= 0 ;
15273 char *kwnames
[] = {
15274 (char *) "self", NULL
15277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetCursor",kwnames
,&obj0
)) goto fail
;
15278 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15279 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15283 wxCursor
const &_result_ref
= ((wxSetCursorEvent
const *)arg1
)->GetCursor();
15284 result
= (wxCursor
*) &_result_ref
;
15287 wxPyEndAllowThreads(__tstate
);
15288 if (PyErr_Occurred()) SWIG_fail
;
15291 wxCursor
* resultptr
= new wxCursor(*result
);
15292 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxCursor
, 1);
15300 static PyObject
*_wrap_SetCursorEvent_HasCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15301 PyObject
*resultobj
;
15302 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15304 PyObject
* obj0
= 0 ;
15305 char *kwnames
[] = {
15306 (char *) "self", NULL
15309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_HasCursor",kwnames
,&obj0
)) goto fail
;
15310 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15311 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15314 result
= (bool)((wxSetCursorEvent
const *)arg1
)->HasCursor();
15316 wxPyEndAllowThreads(__tstate
);
15317 if (PyErr_Occurred()) SWIG_fail
;
15320 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15328 static PyObject
* SetCursorEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15330 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15331 SWIG_TypeClientData(SWIGTYPE_p_wxSetCursorEvent
, obj
);
15333 return Py_BuildValue((char *)"");
15335 static PyObject
*_wrap_new_KeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15336 PyObject
*resultobj
;
15337 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15338 wxKeyEvent
*result
;
15339 PyObject
* obj0
= 0 ;
15340 char *kwnames
[] = {
15341 (char *) "keyType", NULL
15344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_KeyEvent",kwnames
,&obj0
)) goto fail
;
15346 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
15347 if (PyErr_Occurred()) SWIG_fail
;
15350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15351 result
= (wxKeyEvent
*)new wxKeyEvent(arg1
);
15353 wxPyEndAllowThreads(__tstate
);
15354 if (PyErr_Occurred()) SWIG_fail
;
15356 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxKeyEvent
, 1);
15363 static PyObject
*_wrap_KeyEvent_ControlDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15364 PyObject
*resultobj
;
15365 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15367 PyObject
* obj0
= 0 ;
15368 char *kwnames
[] = {
15369 (char *) "self", NULL
15372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
15373 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15374 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15377 result
= (bool)((wxKeyEvent
const *)arg1
)->ControlDown();
15379 wxPyEndAllowThreads(__tstate
);
15380 if (PyErr_Occurred()) SWIG_fail
;
15383 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15391 static PyObject
*_wrap_KeyEvent_MetaDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15392 PyObject
*resultobj
;
15393 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15395 PyObject
* obj0
= 0 ;
15396 char *kwnames
[] = {
15397 (char *) "self", NULL
15400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
15401 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15402 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15405 result
= (bool)((wxKeyEvent
const *)arg1
)->MetaDown();
15407 wxPyEndAllowThreads(__tstate
);
15408 if (PyErr_Occurred()) SWIG_fail
;
15411 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15419 static PyObject
*_wrap_KeyEvent_AltDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15420 PyObject
*resultobj
;
15421 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15423 PyObject
* obj0
= 0 ;
15424 char *kwnames
[] = {
15425 (char *) "self", NULL
15428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_AltDown",kwnames
,&obj0
)) goto fail
;
15429 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15430 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15433 result
= (bool)((wxKeyEvent
const *)arg1
)->AltDown();
15435 wxPyEndAllowThreads(__tstate
);
15436 if (PyErr_Occurred()) SWIG_fail
;
15439 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15447 static PyObject
*_wrap_KeyEvent_ShiftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15448 PyObject
*resultobj
;
15449 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15451 PyObject
* obj0
= 0 ;
15452 char *kwnames
[] = {
15453 (char *) "self", NULL
15456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
15457 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15458 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15461 result
= (bool)((wxKeyEvent
const *)arg1
)->ShiftDown();
15463 wxPyEndAllowThreads(__tstate
);
15464 if (PyErr_Occurred()) SWIG_fail
;
15467 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15475 static PyObject
*_wrap_KeyEvent_HasModifiers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15476 PyObject
*resultobj
;
15477 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15479 PyObject
* obj0
= 0 ;
15480 char *kwnames
[] = {
15481 (char *) "self", NULL
15484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_HasModifiers",kwnames
,&obj0
)) goto fail
;
15485 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15486 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15489 result
= (bool)((wxKeyEvent
const *)arg1
)->HasModifiers();
15491 wxPyEndAllowThreads(__tstate
);
15492 if (PyErr_Occurred()) SWIG_fail
;
15495 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15503 static PyObject
*_wrap_KeyEvent_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15504 PyObject
*resultobj
;
15505 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15507 PyObject
* obj0
= 0 ;
15508 char *kwnames
[] = {
15509 (char *) "self", NULL
15512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
15513 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15514 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15517 result
= (int)((wxKeyEvent
const *)arg1
)->GetKeyCode();
15519 wxPyEndAllowThreads(__tstate
);
15520 if (PyErr_Occurred()) SWIG_fail
;
15522 resultobj
= SWIG_FromInt((int)result
);
15529 static PyObject
*_wrap_KeyEvent_GetUniChar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15530 PyObject
*resultobj
;
15531 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15533 PyObject
* obj0
= 0 ;
15534 char *kwnames
[] = {
15535 (char *) "self", NULL
15538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetUniChar",kwnames
,&obj0
)) goto fail
;
15539 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15540 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15543 result
= (int)wxKeyEvent_GetUniChar(arg1
);
15545 wxPyEndAllowThreads(__tstate
);
15546 if (PyErr_Occurred()) SWIG_fail
;
15548 resultobj
= SWIG_FromInt((int)result
);
15555 static PyObject
*_wrap_KeyEvent_GetRawKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15556 PyObject
*resultobj
;
15557 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15558 unsigned int result
;
15559 PyObject
* obj0
= 0 ;
15560 char *kwnames
[] = {
15561 (char *) "self", NULL
15564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetRawKeyCode",kwnames
,&obj0
)) goto fail
;
15565 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15566 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15569 result
= (unsigned int)((wxKeyEvent
const *)arg1
)->GetRawKeyCode();
15571 wxPyEndAllowThreads(__tstate
);
15572 if (PyErr_Occurred()) SWIG_fail
;
15574 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
15581 static PyObject
*_wrap_KeyEvent_GetRawKeyFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15582 PyObject
*resultobj
;
15583 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15584 unsigned int result
;
15585 PyObject
* obj0
= 0 ;
15586 char *kwnames
[] = {
15587 (char *) "self", NULL
15590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetRawKeyFlags",kwnames
,&obj0
)) goto fail
;
15591 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15592 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15595 result
= (unsigned int)((wxKeyEvent
const *)arg1
)->GetRawKeyFlags();
15597 wxPyEndAllowThreads(__tstate
);
15598 if (PyErr_Occurred()) SWIG_fail
;
15600 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
15607 static PyObject
*_wrap_KeyEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15608 PyObject
*resultobj
;
15609 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15611 PyObject
* obj0
= 0 ;
15612 char *kwnames
[] = {
15613 (char *) "self", NULL
15616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
15617 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15618 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15621 result
= (arg1
)->GetPosition();
15623 wxPyEndAllowThreads(__tstate
);
15624 if (PyErr_Occurred()) SWIG_fail
;
15627 wxPoint
* resultptr
;
15628 resultptr
= new wxPoint((wxPoint
&) result
);
15629 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
15637 static PyObject
*_wrap_KeyEvent_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15638 PyObject
*resultobj
;
15639 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15640 long *arg2
= (long *) 0 ;
15641 long *arg3
= (long *) 0 ;
15644 PyObject
* obj0
= 0 ;
15645 char *kwnames
[] = {
15646 (char *) "self", NULL
15651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
15652 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15653 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15656 (arg1
)->GetPosition(arg2
,arg3
);
15658 wxPyEndAllowThreads(__tstate
);
15659 if (PyErr_Occurred()) SWIG_fail
;
15661 Py_INCREF(Py_None
); resultobj
= Py_None
;
15663 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
15664 resultobj
= t_output_helper(resultobj
,o
);
15667 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15668 resultobj
= t_output_helper(resultobj
,o
);
15676 static PyObject
*_wrap_KeyEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15677 PyObject
*resultobj
;
15678 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15680 PyObject
* obj0
= 0 ;
15681 char *kwnames
[] = {
15682 (char *) "self", NULL
15685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetX",kwnames
,&obj0
)) goto fail
;
15686 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15687 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15690 result
= (int)((wxKeyEvent
const *)arg1
)->GetX();
15692 wxPyEndAllowThreads(__tstate
);
15693 if (PyErr_Occurred()) SWIG_fail
;
15695 resultobj
= SWIG_FromInt((int)result
);
15702 static PyObject
*_wrap_KeyEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15703 PyObject
*resultobj
;
15704 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15706 PyObject
* obj0
= 0 ;
15707 char *kwnames
[] = {
15708 (char *) "self", NULL
15711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetY",kwnames
,&obj0
)) goto fail
;
15712 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15713 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15716 result
= (int)((wxKeyEvent
const *)arg1
)->GetY();
15718 wxPyEndAllowThreads(__tstate
);
15719 if (PyErr_Occurred()) SWIG_fail
;
15721 resultobj
= SWIG_FromInt((int)result
);
15728 static PyObject
*_wrap_KeyEvent_m_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15729 PyObject
*resultobj
;
15730 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15732 PyObject
* obj0
= 0 ;
15733 PyObject
* obj1
= 0 ;
15734 char *kwnames
[] = {
15735 (char *) "self",(char *) "m_x", NULL
15738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15739 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15740 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15741 arg2
= (int) SWIG_AsInt(obj1
);
15742 if (PyErr_Occurred()) SWIG_fail
;
15743 if (arg1
) (arg1
)->m_x
= arg2
;
15745 Py_INCREF(Py_None
); resultobj
= Py_None
;
15752 static PyObject
*_wrap_KeyEvent_m_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15753 PyObject
*resultobj
;
15754 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15756 PyObject
* obj0
= 0 ;
15757 char *kwnames
[] = {
15758 (char *) "self", NULL
15761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_x_get",kwnames
,&obj0
)) goto fail
;
15762 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15763 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15764 result
= (int) ((arg1
)->m_x
);
15766 resultobj
= SWIG_FromInt((int)result
);
15773 static PyObject
*_wrap_KeyEvent_m_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15774 PyObject
*resultobj
;
15775 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15777 PyObject
* obj0
= 0 ;
15778 PyObject
* obj1
= 0 ;
15779 char *kwnames
[] = {
15780 (char *) "self",(char *) "m_y", NULL
15783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15784 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15785 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15786 arg2
= (int) SWIG_AsInt(obj1
);
15787 if (PyErr_Occurred()) SWIG_fail
;
15788 if (arg1
) (arg1
)->m_y
= arg2
;
15790 Py_INCREF(Py_None
); resultobj
= Py_None
;
15797 static PyObject
*_wrap_KeyEvent_m_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15798 PyObject
*resultobj
;
15799 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15801 PyObject
* obj0
= 0 ;
15802 char *kwnames
[] = {
15803 (char *) "self", NULL
15806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_y_get",kwnames
,&obj0
)) goto fail
;
15807 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15808 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15809 result
= (int) ((arg1
)->m_y
);
15811 resultobj
= SWIG_FromInt((int)result
);
15818 static PyObject
*_wrap_KeyEvent_m_keyCode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15819 PyObject
*resultobj
;
15820 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15822 PyObject
* obj0
= 0 ;
15823 PyObject
* obj1
= 0 ;
15824 char *kwnames
[] = {
15825 (char *) "self",(char *) "m_keyCode", NULL
15828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_keyCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15829 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15830 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15831 arg2
= (long) SWIG_AsLong(obj1
);
15832 if (PyErr_Occurred()) SWIG_fail
;
15833 if (arg1
) (arg1
)->m_keyCode
= arg2
;
15835 Py_INCREF(Py_None
); resultobj
= Py_None
;
15842 static PyObject
*_wrap_KeyEvent_m_keyCode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15843 PyObject
*resultobj
;
15844 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15846 PyObject
* obj0
= 0 ;
15847 char *kwnames
[] = {
15848 (char *) "self", NULL
15851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_keyCode_get",kwnames
,&obj0
)) goto fail
;
15852 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15853 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15854 result
= (long) ((arg1
)->m_keyCode
);
15856 resultobj
= SWIG_FromLong((long)result
);
15863 static PyObject
*_wrap_KeyEvent_m_controlDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15864 PyObject
*resultobj
;
15865 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15867 PyObject
* obj0
= 0 ;
15868 PyObject
* obj1
= 0 ;
15869 char *kwnames
[] = {
15870 (char *) "self",(char *) "m_controlDown", NULL
15873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_controlDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15874 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15875 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15876 arg2
= (bool) SWIG_AsBool(obj1
);
15877 if (PyErr_Occurred()) SWIG_fail
;
15878 if (arg1
) (arg1
)->m_controlDown
= arg2
;
15880 Py_INCREF(Py_None
); resultobj
= Py_None
;
15887 static PyObject
*_wrap_KeyEvent_m_controlDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15888 PyObject
*resultobj
;
15889 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15891 PyObject
* obj0
= 0 ;
15892 char *kwnames
[] = {
15893 (char *) "self", NULL
15896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_controlDown_get",kwnames
,&obj0
)) goto fail
;
15897 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15898 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15899 result
= (bool) ((arg1
)->m_controlDown
);
15902 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15910 static PyObject
*_wrap_KeyEvent_m_shiftDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15911 PyObject
*resultobj
;
15912 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15914 PyObject
* obj0
= 0 ;
15915 PyObject
* obj1
= 0 ;
15916 char *kwnames
[] = {
15917 (char *) "self",(char *) "m_shiftDown", NULL
15920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_shiftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15921 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15923 arg2
= (bool) SWIG_AsBool(obj1
);
15924 if (PyErr_Occurred()) SWIG_fail
;
15925 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
15927 Py_INCREF(Py_None
); resultobj
= Py_None
;
15934 static PyObject
*_wrap_KeyEvent_m_shiftDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15935 PyObject
*resultobj
;
15936 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15938 PyObject
* obj0
= 0 ;
15939 char *kwnames
[] = {
15940 (char *) "self", NULL
15943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_shiftDown_get",kwnames
,&obj0
)) goto fail
;
15944 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15945 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15946 result
= (bool) ((arg1
)->m_shiftDown
);
15949 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15957 static PyObject
*_wrap_KeyEvent_m_altDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15958 PyObject
*resultobj
;
15959 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15961 PyObject
* obj0
= 0 ;
15962 PyObject
* obj1
= 0 ;
15963 char *kwnames
[] = {
15964 (char *) "self",(char *) "m_altDown", NULL
15967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_altDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15968 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15969 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15970 arg2
= (bool) SWIG_AsBool(obj1
);
15971 if (PyErr_Occurred()) SWIG_fail
;
15972 if (arg1
) (arg1
)->m_altDown
= arg2
;
15974 Py_INCREF(Py_None
); resultobj
= Py_None
;
15981 static PyObject
*_wrap_KeyEvent_m_altDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15982 PyObject
*resultobj
;
15983 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15985 PyObject
* obj0
= 0 ;
15986 char *kwnames
[] = {
15987 (char *) "self", NULL
15990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_altDown_get",kwnames
,&obj0
)) goto fail
;
15991 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15992 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15993 result
= (bool) ((arg1
)->m_altDown
);
15996 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16004 static PyObject
*_wrap_KeyEvent_m_metaDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16005 PyObject
*resultobj
;
16006 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16008 PyObject
* obj0
= 0 ;
16009 PyObject
* obj1
= 0 ;
16010 char *kwnames
[] = {
16011 (char *) "self",(char *) "m_metaDown", NULL
16014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_metaDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16015 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16016 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16017 arg2
= (bool) SWIG_AsBool(obj1
);
16018 if (PyErr_Occurred()) SWIG_fail
;
16019 if (arg1
) (arg1
)->m_metaDown
= arg2
;
16021 Py_INCREF(Py_None
); resultobj
= Py_None
;
16028 static PyObject
*_wrap_KeyEvent_m_metaDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16029 PyObject
*resultobj
;
16030 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16032 PyObject
* obj0
= 0 ;
16033 char *kwnames
[] = {
16034 (char *) "self", NULL
16037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_metaDown_get",kwnames
,&obj0
)) goto fail
;
16038 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16039 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16040 result
= (bool) ((arg1
)->m_metaDown
);
16043 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16051 static PyObject
*_wrap_KeyEvent_m_scanCode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16052 PyObject
*resultobj
;
16053 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16055 PyObject
* obj0
= 0 ;
16056 PyObject
* obj1
= 0 ;
16057 char *kwnames
[] = {
16058 (char *) "self",(char *) "m_scanCode", NULL
16061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_scanCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16062 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16063 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16064 arg2
= (bool) SWIG_AsBool(obj1
);
16065 if (PyErr_Occurred()) SWIG_fail
;
16066 if (arg1
) (arg1
)->m_scanCode
= arg2
;
16068 Py_INCREF(Py_None
); resultobj
= Py_None
;
16075 static PyObject
*_wrap_KeyEvent_m_scanCode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16076 PyObject
*resultobj
;
16077 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16079 PyObject
* obj0
= 0 ;
16080 char *kwnames
[] = {
16081 (char *) "self", NULL
16084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_scanCode_get",kwnames
,&obj0
)) goto fail
;
16085 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16086 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16087 result
= (bool) ((arg1
)->m_scanCode
);
16090 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16098 static PyObject
*_wrap_KeyEvent_m_rawCode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16099 PyObject
*resultobj
;
16100 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16101 unsigned int arg2
;
16102 PyObject
* obj0
= 0 ;
16103 PyObject
* obj1
= 0 ;
16104 char *kwnames
[] = {
16105 (char *) "self",(char *) "m_rawCode", NULL
16108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_rawCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16109 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16110 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16111 arg2
= (unsigned int) SWIG_AsUnsignedInt(obj1
);
16112 if (PyErr_Occurred()) SWIG_fail
;
16113 if (arg1
) (arg1
)->m_rawCode
= arg2
;
16115 Py_INCREF(Py_None
); resultobj
= Py_None
;
16122 static PyObject
*_wrap_KeyEvent_m_rawCode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16123 PyObject
*resultobj
;
16124 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16125 unsigned int result
;
16126 PyObject
* obj0
= 0 ;
16127 char *kwnames
[] = {
16128 (char *) "self", NULL
16131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_rawCode_get",kwnames
,&obj0
)) goto fail
;
16132 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16133 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16134 result
= (unsigned int) ((arg1
)->m_rawCode
);
16136 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
16143 static PyObject
*_wrap_KeyEvent_m_rawFlags_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16144 PyObject
*resultobj
;
16145 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16146 unsigned int arg2
;
16147 PyObject
* obj0
= 0 ;
16148 PyObject
* obj1
= 0 ;
16149 char *kwnames
[] = {
16150 (char *) "self",(char *) "m_rawFlags", NULL
16153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_rawFlags_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16154 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16155 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16156 arg2
= (unsigned int) SWIG_AsUnsignedInt(obj1
);
16157 if (PyErr_Occurred()) SWIG_fail
;
16158 if (arg1
) (arg1
)->m_rawFlags
= arg2
;
16160 Py_INCREF(Py_None
); resultobj
= Py_None
;
16167 static PyObject
*_wrap_KeyEvent_m_rawFlags_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16168 PyObject
*resultobj
;
16169 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16170 unsigned int result
;
16171 PyObject
* obj0
= 0 ;
16172 char *kwnames
[] = {
16173 (char *) "self", NULL
16176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_rawFlags_get",kwnames
,&obj0
)) goto fail
;
16177 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16178 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16179 result
= (unsigned int) ((arg1
)->m_rawFlags
);
16181 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
16188 static PyObject
* KeyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16190 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16191 SWIG_TypeClientData(SWIGTYPE_p_wxKeyEvent
, obj
);
16193 return Py_BuildValue((char *)"");
16195 static PyObject
*_wrap_new_SizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16196 PyObject
*resultobj
;
16197 wxSize
const &arg1_defvalue
= wxDefaultSize
;
16198 wxSize
*arg1
= (wxSize
*) &arg1_defvalue
;
16199 int arg2
= (int) 0 ;
16200 wxSizeEvent
*result
;
16202 PyObject
* obj0
= 0 ;
16203 PyObject
* obj1
= 0 ;
16204 char *kwnames
[] = {
16205 (char *) "sz",(char *) "winid", NULL
16208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SizeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
16212 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
16216 arg2
= (int) SWIG_AsInt(obj1
);
16217 if (PyErr_Occurred()) SWIG_fail
;
16220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16221 result
= (wxSizeEvent
*)new wxSizeEvent((wxSize
const &)*arg1
,arg2
);
16223 wxPyEndAllowThreads(__tstate
);
16224 if (PyErr_Occurred()) SWIG_fail
;
16226 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizeEvent
, 1);
16233 static PyObject
*_wrap_SizeEvent_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16234 PyObject
*resultobj
;
16235 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16237 PyObject
* obj0
= 0 ;
16238 char *kwnames
[] = {
16239 (char *) "self", NULL
16242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_GetSize",kwnames
,&obj0
)) goto fail
;
16243 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16244 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16247 result
= ((wxSizeEvent
const *)arg1
)->GetSize();
16249 wxPyEndAllowThreads(__tstate
);
16250 if (PyErr_Occurred()) SWIG_fail
;
16253 wxSize
* resultptr
;
16254 resultptr
= new wxSize((wxSize
&) result
);
16255 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16263 static PyObject
*_wrap_SizeEvent_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16264 PyObject
*resultobj
;
16265 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16267 PyObject
* obj0
= 0 ;
16268 char *kwnames
[] = {
16269 (char *) "self", NULL
16272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_GetRect",kwnames
,&obj0
)) goto fail
;
16273 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16274 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16277 result
= ((wxSizeEvent
const *)arg1
)->GetRect();
16279 wxPyEndAllowThreads(__tstate
);
16280 if (PyErr_Occurred()) SWIG_fail
;
16283 wxRect
* resultptr
;
16284 resultptr
= new wxRect((wxRect
&) result
);
16285 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
16293 static PyObject
*_wrap_SizeEvent_SetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16294 PyObject
*resultobj
;
16295 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16298 PyObject
* obj0
= 0 ;
16299 PyObject
* obj1
= 0 ;
16300 char *kwnames
[] = {
16301 (char *) "self",(char *) "rect", NULL
16304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
16305 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16306 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16307 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxRect
,
16308 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
16311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16312 (arg1
)->SetRect(arg2
);
16314 wxPyEndAllowThreads(__tstate
);
16315 if (PyErr_Occurred()) SWIG_fail
;
16317 Py_INCREF(Py_None
); resultobj
= Py_None
;
16324 static PyObject
*_wrap_SizeEvent_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16325 PyObject
*resultobj
;
16326 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16329 PyObject
* obj0
= 0 ;
16330 PyObject
* obj1
= 0 ;
16331 char *kwnames
[] = {
16332 (char *) "self",(char *) "size", NULL
16335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
16336 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16337 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16338 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxSize
,
16339 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
16342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16343 wxSizeEvent_SetSize(arg1
,arg2
);
16345 wxPyEndAllowThreads(__tstate
);
16346 if (PyErr_Occurred()) SWIG_fail
;
16348 Py_INCREF(Py_None
); resultobj
= Py_None
;
16355 static PyObject
*_wrap_SizeEvent_m_size_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16356 PyObject
*resultobj
;
16357 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16358 wxSize
*arg2
= (wxSize
*) 0 ;
16359 PyObject
* obj0
= 0 ;
16360 PyObject
* obj1
= 0 ;
16361 char *kwnames
[] = {
16362 (char *) "self",(char *) "m_size", NULL
16365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_m_size_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16366 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16367 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16368 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSize
,
16369 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16370 if (arg1
) (arg1
)->m_size
= *arg2
;
16372 Py_INCREF(Py_None
); resultobj
= Py_None
;
16379 static PyObject
*_wrap_SizeEvent_m_size_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16380 PyObject
*resultobj
;
16381 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16383 PyObject
* obj0
= 0 ;
16384 char *kwnames
[] = {
16385 (char *) "self", NULL
16388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_m_size_get",kwnames
,&obj0
)) goto fail
;
16389 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16390 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16391 result
= (wxSize
*)& ((arg1
)->m_size
);
16393 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
16400 static PyObject
*_wrap_SizeEvent_m_rect_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16401 PyObject
*resultobj
;
16402 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16403 wxRect
*arg2
= (wxRect
*) 0 ;
16404 PyObject
* obj0
= 0 ;
16405 PyObject
* obj1
= 0 ;
16406 char *kwnames
[] = {
16407 (char *) "self",(char *) "m_rect", NULL
16410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_m_rect_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16411 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16412 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16413 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRect
,
16414 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16415 if (arg1
) (arg1
)->m_rect
= *arg2
;
16417 Py_INCREF(Py_None
); resultobj
= Py_None
;
16424 static PyObject
*_wrap_SizeEvent_m_rect_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16425 PyObject
*resultobj
;
16426 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16428 PyObject
* obj0
= 0 ;
16429 char *kwnames
[] = {
16430 (char *) "self", NULL
16433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_m_rect_get",kwnames
,&obj0
)) goto fail
;
16434 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16435 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16436 result
= (wxRect
*)& ((arg1
)->m_rect
);
16438 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
16445 static PyObject
* SizeEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16447 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16448 SWIG_TypeClientData(SWIGTYPE_p_wxSizeEvent
, obj
);
16450 return Py_BuildValue((char *)"");
16452 static PyObject
*_wrap_new_MoveEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16453 PyObject
*resultobj
;
16454 wxPoint
const &arg1_defvalue
= wxDefaultPosition
;
16455 wxPoint
*arg1
= (wxPoint
*) &arg1_defvalue
;
16456 int arg2
= (int) 0 ;
16457 wxMoveEvent
*result
;
16459 PyObject
* obj0
= 0 ;
16460 PyObject
* obj1
= 0 ;
16461 char *kwnames
[] = {
16462 (char *) "pos",(char *) "winid", NULL
16465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_MoveEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
16469 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
16473 arg2
= (int) SWIG_AsInt(obj1
);
16474 if (PyErr_Occurred()) SWIG_fail
;
16477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16478 result
= (wxMoveEvent
*)new wxMoveEvent((wxPoint
const &)*arg1
,arg2
);
16480 wxPyEndAllowThreads(__tstate
);
16481 if (PyErr_Occurred()) SWIG_fail
;
16483 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMoveEvent
, 1);
16490 static PyObject
*_wrap_MoveEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16491 PyObject
*resultobj
;
16492 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16494 PyObject
* obj0
= 0 ;
16495 char *kwnames
[] = {
16496 (char *) "self", NULL
16499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
16500 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16501 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16504 result
= ((wxMoveEvent
const *)arg1
)->GetPosition();
16506 wxPyEndAllowThreads(__tstate
);
16507 if (PyErr_Occurred()) SWIG_fail
;
16510 wxPoint
* resultptr
;
16511 resultptr
= new wxPoint((wxPoint
&) result
);
16512 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
16520 static PyObject
*_wrap_MoveEvent_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16521 PyObject
*resultobj
;
16522 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16524 PyObject
* obj0
= 0 ;
16525 char *kwnames
[] = {
16526 (char *) "self", NULL
16529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_GetRect",kwnames
,&obj0
)) goto fail
;
16530 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16531 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16534 result
= ((wxMoveEvent
const *)arg1
)->GetRect();
16536 wxPyEndAllowThreads(__tstate
);
16537 if (PyErr_Occurred()) SWIG_fail
;
16540 wxRect
* resultptr
;
16541 resultptr
= new wxRect((wxRect
&) result
);
16542 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
16550 static PyObject
*_wrap_MoveEvent_SetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16551 PyObject
*resultobj
;
16552 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16555 PyObject
* obj0
= 0 ;
16556 PyObject
* obj1
= 0 ;
16557 char *kwnames
[] = {
16558 (char *) "self",(char *) "rect", NULL
16561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
16562 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16563 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16564 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxRect
,
16565 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
16568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16569 (arg1
)->SetRect(arg2
);
16571 wxPyEndAllowThreads(__tstate
);
16572 if (PyErr_Occurred()) SWIG_fail
;
16574 Py_INCREF(Py_None
); resultobj
= Py_None
;
16581 static PyObject
*_wrap_MoveEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16582 PyObject
*resultobj
;
16583 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16586 PyObject
* obj0
= 0 ;
16587 PyObject
* obj1
= 0 ;
16588 char *kwnames
[] = {
16589 (char *) "self",(char *) "pos", NULL
16592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
16593 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16594 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16595 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxPoint
,
16596 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
16599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16600 wxMoveEvent_SetPosition(arg1
,arg2
);
16602 wxPyEndAllowThreads(__tstate
);
16603 if (PyErr_Occurred()) SWIG_fail
;
16605 Py_INCREF(Py_None
); resultobj
= Py_None
;
16612 static PyObject
*_wrap_MoveEvent_m_pos_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16613 PyObject
*resultobj
;
16614 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16615 wxPoint
*arg2
= (wxPoint
*) 0 ;
16616 PyObject
* obj0
= 0 ;
16617 PyObject
* obj1
= 0 ;
16618 char *kwnames
[] = {
16619 (char *) "self",(char *) "m_pos", NULL
16622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_m_pos_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16623 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16624 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16625 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPoint
,
16626 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16627 if (arg1
) (arg1
)->m_pos
= *arg2
;
16629 Py_INCREF(Py_None
); resultobj
= Py_None
;
16636 static PyObject
*_wrap_MoveEvent_m_pos_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16637 PyObject
*resultobj
;
16638 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16640 PyObject
* obj0
= 0 ;
16641 char *kwnames
[] = {
16642 (char *) "self", NULL
16645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_m_pos_get",kwnames
,&obj0
)) goto fail
;
16646 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16648 result
= (wxPoint
*)& ((arg1
)->m_pos
);
16650 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
16657 static PyObject
*_wrap_MoveEvent_m_rect_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16658 PyObject
*resultobj
;
16659 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16660 wxRect
*arg2
= (wxRect
*) 0 ;
16661 PyObject
* obj0
= 0 ;
16662 PyObject
* obj1
= 0 ;
16663 char *kwnames
[] = {
16664 (char *) "self",(char *) "m_rect", NULL
16667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_m_rect_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16668 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16669 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16670 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRect
,
16671 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16672 if (arg1
) (arg1
)->m_rect
= *arg2
;
16674 Py_INCREF(Py_None
); resultobj
= Py_None
;
16681 static PyObject
*_wrap_MoveEvent_m_rect_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16682 PyObject
*resultobj
;
16683 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16685 PyObject
* obj0
= 0 ;
16686 char *kwnames
[] = {
16687 (char *) "self", NULL
16690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_m_rect_get",kwnames
,&obj0
)) goto fail
;
16691 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16692 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16693 result
= (wxRect
*)& ((arg1
)->m_rect
);
16695 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
16702 static PyObject
* MoveEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16704 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16705 SWIG_TypeClientData(SWIGTYPE_p_wxMoveEvent
, obj
);
16707 return Py_BuildValue((char *)"");
16709 static PyObject
*_wrap_new_PaintEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16710 PyObject
*resultobj
;
16711 int arg1
= (int) 0 ;
16712 wxPaintEvent
*result
;
16713 PyObject
* obj0
= 0 ;
16714 char *kwnames
[] = {
16715 (char *) "Id", NULL
16718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PaintEvent",kwnames
,&obj0
)) goto fail
;
16720 arg1
= (int) SWIG_AsInt(obj0
);
16721 if (PyErr_Occurred()) SWIG_fail
;
16724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16725 result
= (wxPaintEvent
*)new wxPaintEvent(arg1
);
16727 wxPyEndAllowThreads(__tstate
);
16728 if (PyErr_Occurred()) SWIG_fail
;
16730 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaintEvent
, 1);
16737 static PyObject
* PaintEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16739 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16740 SWIG_TypeClientData(SWIGTYPE_p_wxPaintEvent
, obj
);
16742 return Py_BuildValue((char *)"");
16744 static PyObject
*_wrap_new_NcPaintEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16745 PyObject
*resultobj
;
16746 int arg1
= (int) 0 ;
16747 wxNcPaintEvent
*result
;
16748 PyObject
* obj0
= 0 ;
16749 char *kwnames
[] = {
16750 (char *) "winid", NULL
16753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_NcPaintEvent",kwnames
,&obj0
)) goto fail
;
16755 arg1
= (int) SWIG_AsInt(obj0
);
16756 if (PyErr_Occurred()) SWIG_fail
;
16759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16760 result
= (wxNcPaintEvent
*)new wxNcPaintEvent(arg1
);
16762 wxPyEndAllowThreads(__tstate
);
16763 if (PyErr_Occurred()) SWIG_fail
;
16765 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNcPaintEvent
, 1);
16772 static PyObject
* NcPaintEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16774 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16775 SWIG_TypeClientData(SWIGTYPE_p_wxNcPaintEvent
, obj
);
16777 return Py_BuildValue((char *)"");
16779 static PyObject
*_wrap_new_EraseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16780 PyObject
*resultobj
;
16781 int arg1
= (int) 0 ;
16782 wxDC
*arg2
= (wxDC
*) (wxDC
*) NULL
;
16783 wxEraseEvent
*result
;
16784 PyObject
* obj0
= 0 ;
16785 PyObject
* obj1
= 0 ;
16786 char *kwnames
[] = {
16787 (char *) "Id",(char *) "dc", NULL
16790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_EraseEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
16792 arg1
= (int) SWIG_AsInt(obj0
);
16793 if (PyErr_Occurred()) SWIG_fail
;
16796 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
16797 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16801 result
= (wxEraseEvent
*)new wxEraseEvent(arg1
,arg2
);
16803 wxPyEndAllowThreads(__tstate
);
16804 if (PyErr_Occurred()) SWIG_fail
;
16806 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEraseEvent
, 1);
16813 static PyObject
*_wrap_EraseEvent_GetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16814 PyObject
*resultobj
;
16815 wxEraseEvent
*arg1
= (wxEraseEvent
*) 0 ;
16817 PyObject
* obj0
= 0 ;
16818 char *kwnames
[] = {
16819 (char *) "self", NULL
16822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EraseEvent_GetDC",kwnames
,&obj0
)) goto fail
;
16823 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEraseEvent
,
16824 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16827 result
= (wxDC
*)((wxEraseEvent
const *)arg1
)->GetDC();
16829 wxPyEndAllowThreads(__tstate
);
16830 if (PyErr_Occurred()) SWIG_fail
;
16833 resultobj
= wxPyMake_wxObject(result
);
16841 static PyObject
* EraseEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16843 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16844 SWIG_TypeClientData(SWIGTYPE_p_wxEraseEvent
, obj
);
16846 return Py_BuildValue((char *)"");
16848 static PyObject
*_wrap_new_FocusEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16849 PyObject
*resultobj
;
16850 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16851 int arg2
= (int) 0 ;
16852 wxFocusEvent
*result
;
16853 PyObject
* obj0
= 0 ;
16854 PyObject
* obj1
= 0 ;
16855 char *kwnames
[] = {
16856 (char *) "type",(char *) "winid", NULL
16859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FocusEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
16861 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
16862 if (PyErr_Occurred()) SWIG_fail
;
16865 arg2
= (int) SWIG_AsInt(obj1
);
16866 if (PyErr_Occurred()) SWIG_fail
;
16869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16870 result
= (wxFocusEvent
*)new wxFocusEvent(arg1
,arg2
);
16872 wxPyEndAllowThreads(__tstate
);
16873 if (PyErr_Occurred()) SWIG_fail
;
16875 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFocusEvent
, 1);
16882 static PyObject
*_wrap_FocusEvent_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16883 PyObject
*resultobj
;
16884 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
16886 PyObject
* obj0
= 0 ;
16887 char *kwnames
[] = {
16888 (char *) "self", NULL
16891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FocusEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
16892 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFocusEvent
,
16893 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16896 result
= (wxWindow
*)((wxFocusEvent
const *)arg1
)->GetWindow();
16898 wxPyEndAllowThreads(__tstate
);
16899 if (PyErr_Occurred()) SWIG_fail
;
16902 resultobj
= wxPyMake_wxObject(result
);
16910 static PyObject
*_wrap_FocusEvent_SetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16911 PyObject
*resultobj
;
16912 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
16913 wxWindow
*arg2
= (wxWindow
*) 0 ;
16914 PyObject
* obj0
= 0 ;
16915 PyObject
* obj1
= 0 ;
16916 char *kwnames
[] = {
16917 (char *) "self",(char *) "win", NULL
16920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FocusEvent_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
16921 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFocusEvent
,
16922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16923 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
16924 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16927 (arg1
)->SetWindow(arg2
);
16929 wxPyEndAllowThreads(__tstate
);
16930 if (PyErr_Occurred()) SWIG_fail
;
16932 Py_INCREF(Py_None
); resultobj
= Py_None
;
16939 static PyObject
* FocusEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16941 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16942 SWIG_TypeClientData(SWIGTYPE_p_wxFocusEvent
, obj
);
16944 return Py_BuildValue((char *)"");
16946 static PyObject
*_wrap_new_ChildFocusEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16947 PyObject
*resultobj
;
16948 wxWindow
*arg1
= (wxWindow
*) NULL
;
16949 wxChildFocusEvent
*result
;
16950 PyObject
* obj0
= 0 ;
16951 char *kwnames
[] = {
16952 (char *) "win", NULL
16955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ChildFocusEvent",kwnames
,&obj0
)) goto fail
;
16957 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
16958 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16962 result
= (wxChildFocusEvent
*)new wxChildFocusEvent(arg1
);
16964 wxPyEndAllowThreads(__tstate
);
16965 if (PyErr_Occurred()) SWIG_fail
;
16967 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChildFocusEvent
, 1);
16974 static PyObject
*_wrap_ChildFocusEvent_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16975 PyObject
*resultobj
;
16976 wxChildFocusEvent
*arg1
= (wxChildFocusEvent
*) 0 ;
16978 PyObject
* obj0
= 0 ;
16979 char *kwnames
[] = {
16980 (char *) "self", NULL
16983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ChildFocusEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
16984 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChildFocusEvent
,
16985 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16988 result
= (wxWindow
*)((wxChildFocusEvent
const *)arg1
)->GetWindow();
16990 wxPyEndAllowThreads(__tstate
);
16991 if (PyErr_Occurred()) SWIG_fail
;
16994 resultobj
= wxPyMake_wxObject(result
);
17002 static PyObject
* ChildFocusEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17004 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17005 SWIG_TypeClientData(SWIGTYPE_p_wxChildFocusEvent
, obj
);
17007 return Py_BuildValue((char *)"");
17009 static PyObject
*_wrap_new_ActivateEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17010 PyObject
*resultobj
;
17011 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17012 bool arg2
= (bool) True
;
17013 int arg3
= (int) 0 ;
17014 wxActivateEvent
*result
;
17015 PyObject
* obj0
= 0 ;
17016 PyObject
* obj1
= 0 ;
17017 PyObject
* obj2
= 0 ;
17018 char *kwnames
[] = {
17019 (char *) "type",(char *) "active",(char *) "Id", NULL
17022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ActivateEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17024 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
17025 if (PyErr_Occurred()) SWIG_fail
;
17028 arg2
= (bool) SWIG_AsBool(obj1
);
17029 if (PyErr_Occurred()) SWIG_fail
;
17032 arg3
= (int) SWIG_AsInt(obj2
);
17033 if (PyErr_Occurred()) SWIG_fail
;
17036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17037 result
= (wxActivateEvent
*)new wxActivateEvent(arg1
,arg2
,arg3
);
17039 wxPyEndAllowThreads(__tstate
);
17040 if (PyErr_Occurred()) SWIG_fail
;
17042 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxActivateEvent
, 1);
17049 static PyObject
*_wrap_ActivateEvent_GetActive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17050 PyObject
*resultobj
;
17051 wxActivateEvent
*arg1
= (wxActivateEvent
*) 0 ;
17053 PyObject
* obj0
= 0 ;
17054 char *kwnames
[] = {
17055 (char *) "self", NULL
17058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ActivateEvent_GetActive",kwnames
,&obj0
)) goto fail
;
17059 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxActivateEvent
,
17060 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17063 result
= (bool)((wxActivateEvent
const *)arg1
)->GetActive();
17065 wxPyEndAllowThreads(__tstate
);
17066 if (PyErr_Occurred()) SWIG_fail
;
17069 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17077 static PyObject
* ActivateEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17079 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17080 SWIG_TypeClientData(SWIGTYPE_p_wxActivateEvent
, obj
);
17082 return Py_BuildValue((char *)"");
17084 static PyObject
*_wrap_new_InitDialogEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17085 PyObject
*resultobj
;
17086 int arg1
= (int) 0 ;
17087 wxInitDialogEvent
*result
;
17088 PyObject
* obj0
= 0 ;
17089 char *kwnames
[] = {
17090 (char *) "Id", NULL
17093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_InitDialogEvent",kwnames
,&obj0
)) goto fail
;
17095 arg1
= (int) SWIG_AsInt(obj0
);
17096 if (PyErr_Occurred()) SWIG_fail
;
17099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17100 result
= (wxInitDialogEvent
*)new wxInitDialogEvent(arg1
);
17102 wxPyEndAllowThreads(__tstate
);
17103 if (PyErr_Occurred()) SWIG_fail
;
17105 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxInitDialogEvent
, 1);
17112 static PyObject
* InitDialogEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17114 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17115 SWIG_TypeClientData(SWIGTYPE_p_wxInitDialogEvent
, obj
);
17117 return Py_BuildValue((char *)"");
17119 static PyObject
*_wrap_new_MenuEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17120 PyObject
*resultobj
;
17121 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17122 int arg2
= (int) 0 ;
17123 wxMenu
*arg3
= (wxMenu
*) NULL
;
17124 wxMenuEvent
*result
;
17125 PyObject
* obj0
= 0 ;
17126 PyObject
* obj1
= 0 ;
17127 PyObject
* obj2
= 0 ;
17128 char *kwnames
[] = {
17129 (char *) "type",(char *) "winid",(char *) "menu", NULL
17132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_MenuEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17134 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
17135 if (PyErr_Occurred()) SWIG_fail
;
17138 arg2
= (int) SWIG_AsInt(obj1
);
17139 if (PyErr_Occurred()) SWIG_fail
;
17142 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMenu
,
17143 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17147 result
= (wxMenuEvent
*)new wxMenuEvent(arg1
,arg2
,arg3
);
17149 wxPyEndAllowThreads(__tstate
);
17150 if (PyErr_Occurred()) SWIG_fail
;
17152 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMenuEvent
, 1);
17159 static PyObject
*_wrap_MenuEvent_GetMenuId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17160 PyObject
*resultobj
;
17161 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
17163 PyObject
* obj0
= 0 ;
17164 char *kwnames
[] = {
17165 (char *) "self", NULL
17168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_GetMenuId",kwnames
,&obj0
)) goto fail
;
17169 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuEvent
,
17170 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17173 result
= (int)((wxMenuEvent
const *)arg1
)->GetMenuId();
17175 wxPyEndAllowThreads(__tstate
);
17176 if (PyErr_Occurred()) SWIG_fail
;
17178 resultobj
= SWIG_FromInt((int)result
);
17185 static PyObject
*_wrap_MenuEvent_IsPopup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17186 PyObject
*resultobj
;
17187 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
17189 PyObject
* obj0
= 0 ;
17190 char *kwnames
[] = {
17191 (char *) "self", NULL
17194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_IsPopup",kwnames
,&obj0
)) goto fail
;
17195 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuEvent
,
17196 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17199 result
= (bool)((wxMenuEvent
const *)arg1
)->IsPopup();
17201 wxPyEndAllowThreads(__tstate
);
17202 if (PyErr_Occurred()) SWIG_fail
;
17205 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17213 static PyObject
*_wrap_MenuEvent_GetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17214 PyObject
*resultobj
;
17215 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
17217 PyObject
* obj0
= 0 ;
17218 char *kwnames
[] = {
17219 (char *) "self", NULL
17222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_GetMenu",kwnames
,&obj0
)) goto fail
;
17223 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuEvent
,
17224 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17227 result
= (wxMenu
*)((wxMenuEvent
const *)arg1
)->GetMenu();
17229 wxPyEndAllowThreads(__tstate
);
17230 if (PyErr_Occurred()) SWIG_fail
;
17233 resultobj
= wxPyMake_wxObject(result
);
17241 static PyObject
* MenuEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17243 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17244 SWIG_TypeClientData(SWIGTYPE_p_wxMenuEvent
, obj
);
17246 return Py_BuildValue((char *)"");
17248 static PyObject
*_wrap_new_CloseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17249 PyObject
*resultobj
;
17250 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17251 int arg2
= (int) 0 ;
17252 wxCloseEvent
*result
;
17253 PyObject
* obj0
= 0 ;
17254 PyObject
* obj1
= 0 ;
17255 char *kwnames
[] = {
17256 (char *) "type",(char *) "winid", NULL
17259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_CloseEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
17261 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
17262 if (PyErr_Occurred()) SWIG_fail
;
17265 arg2
= (int) SWIG_AsInt(obj1
);
17266 if (PyErr_Occurred()) SWIG_fail
;
17269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17270 result
= (wxCloseEvent
*)new wxCloseEvent(arg1
,arg2
);
17272 wxPyEndAllowThreads(__tstate
);
17273 if (PyErr_Occurred()) SWIG_fail
;
17275 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCloseEvent
, 1);
17282 static PyObject
*_wrap_CloseEvent_SetLoggingOff(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17283 PyObject
*resultobj
;
17284 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17286 PyObject
* obj0
= 0 ;
17287 PyObject
* obj1
= 0 ;
17288 char *kwnames
[] = {
17289 (char *) "self",(char *) "logOff", NULL
17292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetLoggingOff",kwnames
,&obj0
,&obj1
)) goto fail
;
17293 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17294 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17295 arg2
= (bool) SWIG_AsBool(obj1
);
17296 if (PyErr_Occurred()) SWIG_fail
;
17298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17299 (arg1
)->SetLoggingOff(arg2
);
17301 wxPyEndAllowThreads(__tstate
);
17302 if (PyErr_Occurred()) SWIG_fail
;
17304 Py_INCREF(Py_None
); resultobj
= Py_None
;
17311 static PyObject
*_wrap_CloseEvent_GetLoggingOff(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17312 PyObject
*resultobj
;
17313 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17315 PyObject
* obj0
= 0 ;
17316 char *kwnames
[] = {
17317 (char *) "self", NULL
17320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_GetLoggingOff",kwnames
,&obj0
)) goto fail
;
17321 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17322 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17325 result
= (bool)((wxCloseEvent
const *)arg1
)->GetLoggingOff();
17327 wxPyEndAllowThreads(__tstate
);
17328 if (PyErr_Occurred()) SWIG_fail
;
17331 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17339 static PyObject
*_wrap_CloseEvent_Veto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17340 PyObject
*resultobj
;
17341 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17342 bool arg2
= (bool) True
;
17343 PyObject
* obj0
= 0 ;
17344 PyObject
* obj1
= 0 ;
17345 char *kwnames
[] = {
17346 (char *) "self",(char *) "veto", NULL
17349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CloseEvent_Veto",kwnames
,&obj0
,&obj1
)) goto fail
;
17350 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17351 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17353 arg2
= (bool) SWIG_AsBool(obj1
);
17354 if (PyErr_Occurred()) SWIG_fail
;
17357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17358 (arg1
)->Veto(arg2
);
17360 wxPyEndAllowThreads(__tstate
);
17361 if (PyErr_Occurred()) SWIG_fail
;
17363 Py_INCREF(Py_None
); resultobj
= Py_None
;
17370 static PyObject
*_wrap_CloseEvent_SetCanVeto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17371 PyObject
*resultobj
;
17372 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17374 PyObject
* obj0
= 0 ;
17375 PyObject
* obj1
= 0 ;
17376 char *kwnames
[] = {
17377 (char *) "self",(char *) "canVeto", NULL
17380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetCanVeto",kwnames
,&obj0
,&obj1
)) goto fail
;
17381 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17382 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17383 arg2
= (bool) SWIG_AsBool(obj1
);
17384 if (PyErr_Occurred()) SWIG_fail
;
17386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17387 (arg1
)->SetCanVeto(arg2
);
17389 wxPyEndAllowThreads(__tstate
);
17390 if (PyErr_Occurred()) SWIG_fail
;
17392 Py_INCREF(Py_None
); resultobj
= Py_None
;
17399 static PyObject
*_wrap_CloseEvent_CanVeto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17400 PyObject
*resultobj
;
17401 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17403 PyObject
* obj0
= 0 ;
17404 char *kwnames
[] = {
17405 (char *) "self", NULL
17408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_CanVeto",kwnames
,&obj0
)) goto fail
;
17409 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17410 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17413 result
= (bool)((wxCloseEvent
const *)arg1
)->CanVeto();
17415 wxPyEndAllowThreads(__tstate
);
17416 if (PyErr_Occurred()) SWIG_fail
;
17419 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17427 static PyObject
*_wrap_CloseEvent_GetVeto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17428 PyObject
*resultobj
;
17429 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17431 PyObject
* obj0
= 0 ;
17432 char *kwnames
[] = {
17433 (char *) "self", NULL
17436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_GetVeto",kwnames
,&obj0
)) goto fail
;
17437 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17438 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17441 result
= (bool)((wxCloseEvent
const *)arg1
)->GetVeto();
17443 wxPyEndAllowThreads(__tstate
);
17444 if (PyErr_Occurred()) SWIG_fail
;
17447 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17455 static PyObject
* CloseEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17457 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17458 SWIG_TypeClientData(SWIGTYPE_p_wxCloseEvent
, obj
);
17460 return Py_BuildValue((char *)"");
17462 static PyObject
*_wrap_new_ShowEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17463 PyObject
*resultobj
;
17464 int arg1
= (int) 0 ;
17465 bool arg2
= (bool) False
;
17466 wxShowEvent
*result
;
17467 PyObject
* obj0
= 0 ;
17468 PyObject
* obj1
= 0 ;
17469 char *kwnames
[] = {
17470 (char *) "winid",(char *) "show", NULL
17473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ShowEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
17475 arg1
= (int) SWIG_AsInt(obj0
);
17476 if (PyErr_Occurred()) SWIG_fail
;
17479 arg2
= (bool) SWIG_AsBool(obj1
);
17480 if (PyErr_Occurred()) SWIG_fail
;
17483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17484 result
= (wxShowEvent
*)new wxShowEvent(arg1
,arg2
);
17486 wxPyEndAllowThreads(__tstate
);
17487 if (PyErr_Occurred()) SWIG_fail
;
17489 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxShowEvent
, 1);
17496 static PyObject
*_wrap_ShowEvent_SetShow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17497 PyObject
*resultobj
;
17498 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
17500 PyObject
* obj0
= 0 ;
17501 PyObject
* obj1
= 0 ;
17502 char *kwnames
[] = {
17503 (char *) "self",(char *) "show", NULL
17506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ShowEvent_SetShow",kwnames
,&obj0
,&obj1
)) goto fail
;
17507 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShowEvent
,
17508 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17509 arg2
= (bool) SWIG_AsBool(obj1
);
17510 if (PyErr_Occurred()) SWIG_fail
;
17512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17513 (arg1
)->SetShow(arg2
);
17515 wxPyEndAllowThreads(__tstate
);
17516 if (PyErr_Occurred()) SWIG_fail
;
17518 Py_INCREF(Py_None
); resultobj
= Py_None
;
17525 static PyObject
*_wrap_ShowEvent_GetShow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17526 PyObject
*resultobj
;
17527 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
17529 PyObject
* obj0
= 0 ;
17530 char *kwnames
[] = {
17531 (char *) "self", NULL
17534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShowEvent_GetShow",kwnames
,&obj0
)) goto fail
;
17535 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShowEvent
,
17536 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17539 result
= (bool)((wxShowEvent
const *)arg1
)->GetShow();
17541 wxPyEndAllowThreads(__tstate
);
17542 if (PyErr_Occurred()) SWIG_fail
;
17545 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17553 static PyObject
* ShowEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17555 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17556 SWIG_TypeClientData(SWIGTYPE_p_wxShowEvent
, obj
);
17558 return Py_BuildValue((char *)"");
17560 static PyObject
*_wrap_new_IconizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17561 PyObject
*resultobj
;
17562 int arg1
= (int) 0 ;
17563 bool arg2
= (bool) True
;
17564 wxIconizeEvent
*result
;
17565 PyObject
* obj0
= 0 ;
17566 PyObject
* obj1
= 0 ;
17567 char *kwnames
[] = {
17568 (char *) "id",(char *) "iconized", NULL
17571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconizeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
17573 arg1
= (int) SWIG_AsInt(obj0
);
17574 if (PyErr_Occurred()) SWIG_fail
;
17577 arg2
= (bool) SWIG_AsBool(obj1
);
17578 if (PyErr_Occurred()) SWIG_fail
;
17581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17582 result
= (wxIconizeEvent
*)new wxIconizeEvent(arg1
,arg2
);
17584 wxPyEndAllowThreads(__tstate
);
17585 if (PyErr_Occurred()) SWIG_fail
;
17587 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconizeEvent
, 1);
17594 static PyObject
*_wrap_IconizeEvent_Iconized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17595 PyObject
*resultobj
;
17596 wxIconizeEvent
*arg1
= (wxIconizeEvent
*) 0 ;
17598 PyObject
* obj0
= 0 ;
17599 char *kwnames
[] = {
17600 (char *) "self", NULL
17603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconizeEvent_Iconized",kwnames
,&obj0
)) goto fail
;
17604 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconizeEvent
,
17605 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17608 result
= (bool)(arg1
)->Iconized();
17610 wxPyEndAllowThreads(__tstate
);
17611 if (PyErr_Occurred()) SWIG_fail
;
17614 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17622 static PyObject
* IconizeEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17624 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17625 SWIG_TypeClientData(SWIGTYPE_p_wxIconizeEvent
, obj
);
17627 return Py_BuildValue((char *)"");
17629 static PyObject
*_wrap_new_MaximizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17630 PyObject
*resultobj
;
17631 int arg1
= (int) 0 ;
17632 wxMaximizeEvent
*result
;
17633 PyObject
* obj0
= 0 ;
17634 char *kwnames
[] = {
17635 (char *) "id", NULL
17638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MaximizeEvent",kwnames
,&obj0
)) goto fail
;
17640 arg1
= (int) SWIG_AsInt(obj0
);
17641 if (PyErr_Occurred()) SWIG_fail
;
17644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17645 result
= (wxMaximizeEvent
*)new wxMaximizeEvent(arg1
);
17647 wxPyEndAllowThreads(__tstate
);
17648 if (PyErr_Occurred()) SWIG_fail
;
17650 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMaximizeEvent
, 1);
17657 static PyObject
* MaximizeEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17659 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17660 SWIG_TypeClientData(SWIGTYPE_p_wxMaximizeEvent
, obj
);
17662 return Py_BuildValue((char *)"");
17664 static PyObject
*_wrap_DropFilesEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17665 PyObject
*resultobj
;
17666 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
17668 PyObject
* obj0
= 0 ;
17669 char *kwnames
[] = {
17670 (char *) "self", NULL
17673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
17674 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDropFilesEvent
,
17675 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17678 result
= (arg1
)->GetPosition();
17680 wxPyEndAllowThreads(__tstate
);
17681 if (PyErr_Occurred()) SWIG_fail
;
17684 wxPoint
* resultptr
;
17685 resultptr
= new wxPoint((wxPoint
&) result
);
17686 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
17694 static PyObject
*_wrap_DropFilesEvent_GetNumberOfFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17695 PyObject
*resultobj
;
17696 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
17698 PyObject
* obj0
= 0 ;
17699 char *kwnames
[] = {
17700 (char *) "self", NULL
17703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetNumberOfFiles",kwnames
,&obj0
)) goto fail
;
17704 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDropFilesEvent
,
17705 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17708 result
= (int)(arg1
)->GetNumberOfFiles();
17710 wxPyEndAllowThreads(__tstate
);
17711 if (PyErr_Occurred()) SWIG_fail
;
17713 resultobj
= SWIG_FromInt((int)result
);
17720 static PyObject
*_wrap_DropFilesEvent_GetFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17721 PyObject
*resultobj
;
17722 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
17724 PyObject
* obj0
= 0 ;
17725 char *kwnames
[] = {
17726 (char *) "self", NULL
17729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetFiles",kwnames
,&obj0
)) goto fail
;
17730 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDropFilesEvent
,
17731 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17734 result
= (PyObject
*)wxDropFilesEvent_GetFiles(arg1
);
17736 wxPyEndAllowThreads(__tstate
);
17737 if (PyErr_Occurred()) SWIG_fail
;
17739 resultobj
= result
;
17746 static PyObject
* DropFilesEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17748 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17749 SWIG_TypeClientData(SWIGTYPE_p_wxDropFilesEvent
, obj
);
17751 return Py_BuildValue((char *)"");
17753 static PyObject
*_wrap_new_UpdateUIEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17754 PyObject
*resultobj
;
17755 int arg1
= (int) 0 ;
17756 wxUpdateUIEvent
*result
;
17757 PyObject
* obj0
= 0 ;
17758 char *kwnames
[] = {
17759 (char *) "commandId", NULL
17762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_UpdateUIEvent",kwnames
,&obj0
)) goto fail
;
17764 arg1
= (int) SWIG_AsInt(obj0
);
17765 if (PyErr_Occurred()) SWIG_fail
;
17768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17769 result
= (wxUpdateUIEvent
*)new wxUpdateUIEvent(arg1
);
17771 wxPyEndAllowThreads(__tstate
);
17772 if (PyErr_Occurred()) SWIG_fail
;
17774 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxUpdateUIEvent
, 1);
17781 static PyObject
*_wrap_UpdateUIEvent_GetChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17782 PyObject
*resultobj
;
17783 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17785 PyObject
* obj0
= 0 ;
17786 char *kwnames
[] = {
17787 (char *) "self", NULL
17790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetChecked",kwnames
,&obj0
)) goto fail
;
17791 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
17792 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17795 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetChecked();
17797 wxPyEndAllowThreads(__tstate
);
17798 if (PyErr_Occurred()) SWIG_fail
;
17801 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17809 static PyObject
*_wrap_UpdateUIEvent_GetEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17810 PyObject
*resultobj
;
17811 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17813 PyObject
* obj0
= 0 ;
17814 char *kwnames
[] = {
17815 (char *) "self", NULL
17818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetEnabled",kwnames
,&obj0
)) goto fail
;
17819 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
17820 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17823 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetEnabled();
17825 wxPyEndAllowThreads(__tstate
);
17826 if (PyErr_Occurred()) SWIG_fail
;
17829 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17837 static PyObject
*_wrap_UpdateUIEvent_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17838 PyObject
*resultobj
;
17839 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17841 PyObject
* obj0
= 0 ;
17842 char *kwnames
[] = {
17843 (char *) "self", NULL
17846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetText",kwnames
,&obj0
)) goto fail
;
17847 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
17848 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17851 result
= ((wxUpdateUIEvent
const *)arg1
)->GetText();
17853 wxPyEndAllowThreads(__tstate
);
17854 if (PyErr_Occurred()) SWIG_fail
;
17858 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17860 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17869 static PyObject
*_wrap_UpdateUIEvent_GetSetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17870 PyObject
*resultobj
;
17871 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17873 PyObject
* obj0
= 0 ;
17874 char *kwnames
[] = {
17875 (char *) "self", NULL
17878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetText",kwnames
,&obj0
)) goto fail
;
17879 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
17880 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17883 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetText();
17885 wxPyEndAllowThreads(__tstate
);
17886 if (PyErr_Occurred()) SWIG_fail
;
17889 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17897 static PyObject
*_wrap_UpdateUIEvent_GetSetChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17898 PyObject
*resultobj
;
17899 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17901 PyObject
* obj0
= 0 ;
17902 char *kwnames
[] = {
17903 (char *) "self", NULL
17906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetChecked",kwnames
,&obj0
)) goto fail
;
17907 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
17908 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17911 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetChecked();
17913 wxPyEndAllowThreads(__tstate
);
17914 if (PyErr_Occurred()) SWIG_fail
;
17917 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17925 static PyObject
*_wrap_UpdateUIEvent_GetSetEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17926 PyObject
*resultobj
;
17927 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17929 PyObject
* obj0
= 0 ;
17930 char *kwnames
[] = {
17931 (char *) "self", NULL
17934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetEnabled",kwnames
,&obj0
)) goto fail
;
17935 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
17936 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17939 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetEnabled();
17941 wxPyEndAllowThreads(__tstate
);
17942 if (PyErr_Occurred()) SWIG_fail
;
17945 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17953 static PyObject
*_wrap_UpdateUIEvent_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17954 PyObject
*resultobj
;
17955 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17957 PyObject
* obj0
= 0 ;
17958 PyObject
* obj1
= 0 ;
17959 char *kwnames
[] = {
17960 (char *) "self",(char *) "check", NULL
17963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Check",kwnames
,&obj0
,&obj1
)) goto fail
;
17964 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
17965 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17966 arg2
= (bool) SWIG_AsBool(obj1
);
17967 if (PyErr_Occurred()) SWIG_fail
;
17969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17970 (arg1
)->Check(arg2
);
17972 wxPyEndAllowThreads(__tstate
);
17973 if (PyErr_Occurred()) SWIG_fail
;
17975 Py_INCREF(Py_None
); resultobj
= Py_None
;
17982 static PyObject
*_wrap_UpdateUIEvent_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17983 PyObject
*resultobj
;
17984 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17986 PyObject
* obj0
= 0 ;
17987 PyObject
* obj1
= 0 ;
17988 char *kwnames
[] = {
17989 (char *) "self",(char *) "enable", NULL
17992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
17993 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
17994 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17995 arg2
= (bool) SWIG_AsBool(obj1
);
17996 if (PyErr_Occurred()) SWIG_fail
;
17998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17999 (arg1
)->Enable(arg2
);
18001 wxPyEndAllowThreads(__tstate
);
18002 if (PyErr_Occurred()) SWIG_fail
;
18004 Py_INCREF(Py_None
); resultobj
= Py_None
;
18011 static PyObject
*_wrap_UpdateUIEvent_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18012 PyObject
*resultobj
;
18013 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18014 wxString
*arg2
= 0 ;
18015 bool temp2
= False
;
18016 PyObject
* obj0
= 0 ;
18017 PyObject
* obj1
= 0 ;
18018 char *kwnames
[] = {
18019 (char *) "self",(char *) "text", NULL
18022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
18023 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18024 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18026 arg2
= wxString_in_helper(obj1
);
18027 if (arg2
== NULL
) SWIG_fail
;
18031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18032 (arg1
)->SetText((wxString
const &)*arg2
);
18034 wxPyEndAllowThreads(__tstate
);
18035 if (PyErr_Occurred()) SWIG_fail
;
18037 Py_INCREF(Py_None
); resultobj
= Py_None
;
18052 static PyObject
*_wrap_UpdateUIEvent_SetUpdateInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18053 PyObject
*resultobj
;
18055 PyObject
* obj0
= 0 ;
18056 char *kwnames
[] = {
18057 (char *) "updateInterval", NULL
18060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_SetUpdateInterval",kwnames
,&obj0
)) goto fail
;
18061 arg1
= (long) SWIG_AsLong(obj0
);
18062 if (PyErr_Occurred()) SWIG_fail
;
18064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18065 wxUpdateUIEvent::SetUpdateInterval(arg1
);
18067 wxPyEndAllowThreads(__tstate
);
18068 if (PyErr_Occurred()) SWIG_fail
;
18070 Py_INCREF(Py_None
); resultobj
= Py_None
;
18077 static PyObject
*_wrap_UpdateUIEvent_GetUpdateInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18078 PyObject
*resultobj
;
18080 char *kwnames
[] = {
18084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_GetUpdateInterval",kwnames
)) goto fail
;
18086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18087 result
= (long)wxUpdateUIEvent::GetUpdateInterval();
18089 wxPyEndAllowThreads(__tstate
);
18090 if (PyErr_Occurred()) SWIG_fail
;
18092 resultobj
= SWIG_FromLong((long)result
);
18099 static PyObject
*_wrap_UpdateUIEvent_CanUpdate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18100 PyObject
*resultobj
;
18101 wxWindow
*arg1
= (wxWindow
*) 0 ;
18103 PyObject
* obj0
= 0 ;
18104 char *kwnames
[] = {
18105 (char *) "win", NULL
18108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_CanUpdate",kwnames
,&obj0
)) goto fail
;
18109 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
18110 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18113 result
= (bool)wxUpdateUIEvent::CanUpdate(arg1
);
18115 wxPyEndAllowThreads(__tstate
);
18116 if (PyErr_Occurred()) SWIG_fail
;
18119 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18127 static PyObject
*_wrap_UpdateUIEvent_ResetUpdateTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18128 PyObject
*resultobj
;
18129 char *kwnames
[] = {
18133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_ResetUpdateTime",kwnames
)) goto fail
;
18135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18136 wxUpdateUIEvent::ResetUpdateTime();
18138 wxPyEndAllowThreads(__tstate
);
18139 if (PyErr_Occurred()) SWIG_fail
;
18141 Py_INCREF(Py_None
); resultobj
= Py_None
;
18148 static PyObject
*_wrap_UpdateUIEvent_SetMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18149 PyObject
*resultobj
;
18151 PyObject
* obj0
= 0 ;
18152 char *kwnames
[] = {
18153 (char *) "mode", NULL
18156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_SetMode",kwnames
,&obj0
)) goto fail
;
18157 arg1
= (wxUpdateUIMode
) SWIG_AsInt(obj0
);
18158 if (PyErr_Occurred()) SWIG_fail
;
18160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18161 wxUpdateUIEvent::SetMode((wxUpdateUIMode
)arg1
);
18163 wxPyEndAllowThreads(__tstate
);
18164 if (PyErr_Occurred()) SWIG_fail
;
18166 Py_INCREF(Py_None
); resultobj
= Py_None
;
18173 static PyObject
*_wrap_UpdateUIEvent_GetMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18174 PyObject
*resultobj
;
18176 char *kwnames
[] = {
18180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_GetMode",kwnames
)) goto fail
;
18182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18183 result
= (int)wxUpdateUIEvent::GetMode();
18185 wxPyEndAllowThreads(__tstate
);
18186 if (PyErr_Occurred()) SWIG_fail
;
18188 resultobj
= SWIG_FromInt((int)result
);
18195 static PyObject
* UpdateUIEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18197 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18198 SWIG_TypeClientData(SWIGTYPE_p_wxUpdateUIEvent
, obj
);
18200 return Py_BuildValue((char *)"");
18202 static PyObject
*_wrap_new_SysColourChangedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18203 PyObject
*resultobj
;
18204 wxSysColourChangedEvent
*result
;
18205 char *kwnames
[] = {
18209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SysColourChangedEvent",kwnames
)) goto fail
;
18211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18212 result
= (wxSysColourChangedEvent
*)new wxSysColourChangedEvent();
18214 wxPyEndAllowThreads(__tstate
);
18215 if (PyErr_Occurred()) SWIG_fail
;
18217 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSysColourChangedEvent
, 1);
18224 static PyObject
* SysColourChangedEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18226 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18227 SWIG_TypeClientData(SWIGTYPE_p_wxSysColourChangedEvent
, obj
);
18229 return Py_BuildValue((char *)"");
18231 static PyObject
*_wrap_new_MouseCaptureChangedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18232 PyObject
*resultobj
;
18233 int arg1
= (int) 0 ;
18234 wxWindow
*arg2
= (wxWindow
*) NULL
;
18235 wxMouseCaptureChangedEvent
*result
;
18236 PyObject
* obj0
= 0 ;
18237 PyObject
* obj1
= 0 ;
18238 char *kwnames
[] = {
18239 (char *) "winid",(char *) "gainedCapture", NULL
18242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_MouseCaptureChangedEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
18244 arg1
= (int) SWIG_AsInt(obj0
);
18245 if (PyErr_Occurred()) SWIG_fail
;
18248 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
18249 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18253 result
= (wxMouseCaptureChangedEvent
*)new wxMouseCaptureChangedEvent(arg1
,arg2
);
18255 wxPyEndAllowThreads(__tstate
);
18256 if (PyErr_Occurred()) SWIG_fail
;
18258 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMouseCaptureChangedEvent
, 1);
18265 static PyObject
*_wrap_MouseCaptureChangedEvent_GetCapturedWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18266 PyObject
*resultobj
;
18267 wxMouseCaptureChangedEvent
*arg1
= (wxMouseCaptureChangedEvent
*) 0 ;
18269 PyObject
* obj0
= 0 ;
18270 char *kwnames
[] = {
18271 (char *) "self", NULL
18274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseCaptureChangedEvent_GetCapturedWindow",kwnames
,&obj0
)) goto fail
;
18275 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseCaptureChangedEvent
,
18276 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18279 result
= (wxWindow
*)((wxMouseCaptureChangedEvent
const *)arg1
)->GetCapturedWindow();
18281 wxPyEndAllowThreads(__tstate
);
18282 if (PyErr_Occurred()) SWIG_fail
;
18285 resultobj
= wxPyMake_wxObject(result
);
18293 static PyObject
* MouseCaptureChangedEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18295 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18296 SWIG_TypeClientData(SWIGTYPE_p_wxMouseCaptureChangedEvent
, obj
);
18298 return Py_BuildValue((char *)"");
18300 static PyObject
*_wrap_new_DisplayChangedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18301 PyObject
*resultobj
;
18302 wxDisplayChangedEvent
*result
;
18303 char *kwnames
[] = {
18307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DisplayChangedEvent",kwnames
)) goto fail
;
18309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18310 result
= (wxDisplayChangedEvent
*)new wxDisplayChangedEvent();
18312 wxPyEndAllowThreads(__tstate
);
18313 if (PyErr_Occurred()) SWIG_fail
;
18315 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDisplayChangedEvent
, 1);
18322 static PyObject
* DisplayChangedEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18324 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18325 SWIG_TypeClientData(SWIGTYPE_p_wxDisplayChangedEvent
, obj
);
18327 return Py_BuildValue((char *)"");
18329 static PyObject
*_wrap_new_PaletteChangedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18330 PyObject
*resultobj
;
18331 int arg1
= (int) 0 ;
18332 wxPaletteChangedEvent
*result
;
18333 PyObject
* obj0
= 0 ;
18334 char *kwnames
[] = {
18335 (char *) "id", NULL
18338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PaletteChangedEvent",kwnames
,&obj0
)) goto fail
;
18340 arg1
= (int) SWIG_AsInt(obj0
);
18341 if (PyErr_Occurred()) SWIG_fail
;
18344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18345 result
= (wxPaletteChangedEvent
*)new wxPaletteChangedEvent(arg1
);
18347 wxPyEndAllowThreads(__tstate
);
18348 if (PyErr_Occurred()) SWIG_fail
;
18350 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaletteChangedEvent
, 1);
18357 static PyObject
*_wrap_PaletteChangedEvent_SetChangedWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18358 PyObject
*resultobj
;
18359 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
18360 wxWindow
*arg2
= (wxWindow
*) 0 ;
18361 PyObject
* obj0
= 0 ;
18362 PyObject
* obj1
= 0 ;
18363 char *kwnames
[] = {
18364 (char *) "self",(char *) "win", NULL
18367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PaletteChangedEvent_SetChangedWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
18368 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPaletteChangedEvent
,
18369 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18370 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
18371 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18374 (arg1
)->SetChangedWindow(arg2
);
18376 wxPyEndAllowThreads(__tstate
);
18377 if (PyErr_Occurred()) SWIG_fail
;
18379 Py_INCREF(Py_None
); resultobj
= Py_None
;
18386 static PyObject
*_wrap_PaletteChangedEvent_GetChangedWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18387 PyObject
*resultobj
;
18388 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
18390 PyObject
* obj0
= 0 ;
18391 char *kwnames
[] = {
18392 (char *) "self", NULL
18395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PaletteChangedEvent_GetChangedWindow",kwnames
,&obj0
)) goto fail
;
18396 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPaletteChangedEvent
,
18397 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18400 result
= (wxWindow
*)(arg1
)->GetChangedWindow();
18402 wxPyEndAllowThreads(__tstate
);
18403 if (PyErr_Occurred()) SWIG_fail
;
18406 resultobj
= wxPyMake_wxObject(result
);
18414 static PyObject
* PaletteChangedEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18416 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18417 SWIG_TypeClientData(SWIGTYPE_p_wxPaletteChangedEvent
, obj
);
18419 return Py_BuildValue((char *)"");
18421 static PyObject
*_wrap_new_QueryNewPaletteEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18422 PyObject
*resultobj
;
18423 int arg1
= (int) 0 ;
18424 wxQueryNewPaletteEvent
*result
;
18425 PyObject
* obj0
= 0 ;
18426 char *kwnames
[] = {
18427 (char *) "winid", NULL
18430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryNewPaletteEvent",kwnames
,&obj0
)) goto fail
;
18432 arg1
= (int) SWIG_AsInt(obj0
);
18433 if (PyErr_Occurred()) SWIG_fail
;
18436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18437 result
= (wxQueryNewPaletteEvent
*)new wxQueryNewPaletteEvent(arg1
);
18439 wxPyEndAllowThreads(__tstate
);
18440 if (PyErr_Occurred()) SWIG_fail
;
18442 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxQueryNewPaletteEvent
, 1);
18449 static PyObject
*_wrap_QueryNewPaletteEvent_SetPaletteRealized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18450 PyObject
*resultobj
;
18451 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
18453 PyObject
* obj0
= 0 ;
18454 PyObject
* obj1
= 0 ;
18455 char *kwnames
[] = {
18456 (char *) "self",(char *) "realized", NULL
18459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryNewPaletteEvent_SetPaletteRealized",kwnames
,&obj0
,&obj1
)) goto fail
;
18460 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryNewPaletteEvent
,
18461 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18462 arg2
= (bool) SWIG_AsBool(obj1
);
18463 if (PyErr_Occurred()) SWIG_fail
;
18465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18466 (arg1
)->SetPaletteRealized(arg2
);
18468 wxPyEndAllowThreads(__tstate
);
18469 if (PyErr_Occurred()) SWIG_fail
;
18471 Py_INCREF(Py_None
); resultobj
= Py_None
;
18478 static PyObject
*_wrap_QueryNewPaletteEvent_GetPaletteRealized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18479 PyObject
*resultobj
;
18480 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
18482 PyObject
* obj0
= 0 ;
18483 char *kwnames
[] = {
18484 (char *) "self", NULL
18487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryNewPaletteEvent_GetPaletteRealized",kwnames
,&obj0
)) goto fail
;
18488 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryNewPaletteEvent
,
18489 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18492 result
= (bool)((wxQueryNewPaletteEvent
const *)arg1
)->GetPaletteRealized();
18494 wxPyEndAllowThreads(__tstate
);
18495 if (PyErr_Occurred()) SWIG_fail
;
18498 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18506 static PyObject
* QueryNewPaletteEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18508 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18509 SWIG_TypeClientData(SWIGTYPE_p_wxQueryNewPaletteEvent
, obj
);
18511 return Py_BuildValue((char *)"");
18513 static PyObject
*_wrap_new_NavigationKeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18514 PyObject
*resultobj
;
18515 wxNavigationKeyEvent
*result
;
18516 char *kwnames
[] = {
18520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NavigationKeyEvent",kwnames
)) goto fail
;
18522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18523 result
= (wxNavigationKeyEvent
*)new wxNavigationKeyEvent();
18525 wxPyEndAllowThreads(__tstate
);
18526 if (PyErr_Occurred()) SWIG_fail
;
18528 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNavigationKeyEvent
, 1);
18535 static PyObject
*_wrap_NavigationKeyEvent_GetDirection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18536 PyObject
*resultobj
;
18537 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18539 PyObject
* obj0
= 0 ;
18540 char *kwnames
[] = {
18541 (char *) "self", NULL
18544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_GetDirection",kwnames
,&obj0
)) goto fail
;
18545 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18546 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18549 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->GetDirection();
18551 wxPyEndAllowThreads(__tstate
);
18552 if (PyErr_Occurred()) SWIG_fail
;
18555 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18563 static PyObject
*_wrap_NavigationKeyEvent_SetDirection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18564 PyObject
*resultobj
;
18565 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18567 PyObject
* obj0
= 0 ;
18568 PyObject
* obj1
= 0 ;
18569 char *kwnames
[] = {
18570 (char *) "self",(char *) "bForward", NULL
18573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetDirection",kwnames
,&obj0
,&obj1
)) goto fail
;
18574 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18575 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18576 arg2
= (bool) SWIG_AsBool(obj1
);
18577 if (PyErr_Occurred()) SWIG_fail
;
18579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18580 (arg1
)->SetDirection(arg2
);
18582 wxPyEndAllowThreads(__tstate
);
18583 if (PyErr_Occurred()) SWIG_fail
;
18585 Py_INCREF(Py_None
); resultobj
= Py_None
;
18592 static PyObject
*_wrap_NavigationKeyEvent_IsWindowChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18593 PyObject
*resultobj
;
18594 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18596 PyObject
* obj0
= 0 ;
18597 char *kwnames
[] = {
18598 (char *) "self", NULL
18601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_IsWindowChange",kwnames
,&obj0
)) goto fail
;
18602 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18603 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18606 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->IsWindowChange();
18608 wxPyEndAllowThreads(__tstate
);
18609 if (PyErr_Occurred()) SWIG_fail
;
18612 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18620 static PyObject
*_wrap_NavigationKeyEvent_SetWindowChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18621 PyObject
*resultobj
;
18622 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18624 PyObject
* obj0
= 0 ;
18625 PyObject
* obj1
= 0 ;
18626 char *kwnames
[] = {
18627 (char *) "self",(char *) "bIs", NULL
18630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetWindowChange",kwnames
,&obj0
,&obj1
)) goto fail
;
18631 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18632 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18633 arg2
= (bool) SWIG_AsBool(obj1
);
18634 if (PyErr_Occurred()) SWIG_fail
;
18636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18637 (arg1
)->SetWindowChange(arg2
);
18639 wxPyEndAllowThreads(__tstate
);
18640 if (PyErr_Occurred()) SWIG_fail
;
18642 Py_INCREF(Py_None
); resultobj
= Py_None
;
18649 static PyObject
*_wrap_NavigationKeyEvent_GetCurrentFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18650 PyObject
*resultobj
;
18651 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18653 PyObject
* obj0
= 0 ;
18654 char *kwnames
[] = {
18655 (char *) "self", NULL
18658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_GetCurrentFocus",kwnames
,&obj0
)) goto fail
;
18659 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18660 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18663 result
= (wxWindow
*)((wxNavigationKeyEvent
const *)arg1
)->GetCurrentFocus();
18665 wxPyEndAllowThreads(__tstate
);
18666 if (PyErr_Occurred()) SWIG_fail
;
18669 resultobj
= wxPyMake_wxObject(result
);
18677 static PyObject
*_wrap_NavigationKeyEvent_SetCurrentFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18678 PyObject
*resultobj
;
18679 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18680 wxWindow
*arg2
= (wxWindow
*) 0 ;
18681 PyObject
* obj0
= 0 ;
18682 PyObject
* obj1
= 0 ;
18683 char *kwnames
[] = {
18684 (char *) "self",(char *) "win", NULL
18687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetCurrentFocus",kwnames
,&obj0
,&obj1
)) goto fail
;
18688 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18689 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18690 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
18691 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18694 (arg1
)->SetCurrentFocus(arg2
);
18696 wxPyEndAllowThreads(__tstate
);
18697 if (PyErr_Occurred()) SWIG_fail
;
18699 Py_INCREF(Py_None
); resultobj
= Py_None
;
18706 static PyObject
* NavigationKeyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18708 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18709 SWIG_TypeClientData(SWIGTYPE_p_wxNavigationKeyEvent
, obj
);
18711 return Py_BuildValue((char *)"");
18713 static PyObject
*_wrap_new_WindowCreateEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18714 PyObject
*resultobj
;
18715 wxWindow
*arg1
= (wxWindow
*) NULL
;
18716 wxWindowCreateEvent
*result
;
18717 PyObject
* obj0
= 0 ;
18718 char *kwnames
[] = {
18719 (char *) "win", NULL
18722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowCreateEvent",kwnames
,&obj0
)) goto fail
;
18724 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
18725 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18729 result
= (wxWindowCreateEvent
*)new wxWindowCreateEvent(arg1
);
18731 wxPyEndAllowThreads(__tstate
);
18732 if (PyErr_Occurred()) SWIG_fail
;
18734 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowCreateEvent
, 1);
18741 static PyObject
*_wrap_WindowCreateEvent_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18742 PyObject
*resultobj
;
18743 wxWindowCreateEvent
*arg1
= (wxWindowCreateEvent
*) 0 ;
18745 PyObject
* obj0
= 0 ;
18746 char *kwnames
[] = {
18747 (char *) "self", NULL
18750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WindowCreateEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
18751 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindowCreateEvent
,
18752 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18755 result
= (wxWindow
*)((wxWindowCreateEvent
const *)arg1
)->GetWindow();
18757 wxPyEndAllowThreads(__tstate
);
18758 if (PyErr_Occurred()) SWIG_fail
;
18761 resultobj
= wxPyMake_wxObject(result
);
18769 static PyObject
* WindowCreateEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18771 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18772 SWIG_TypeClientData(SWIGTYPE_p_wxWindowCreateEvent
, obj
);
18774 return Py_BuildValue((char *)"");
18776 static PyObject
*_wrap_new_WindowDestroyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18777 PyObject
*resultobj
;
18778 wxWindow
*arg1
= (wxWindow
*) NULL
;
18779 wxWindowDestroyEvent
*result
;
18780 PyObject
* obj0
= 0 ;
18781 char *kwnames
[] = {
18782 (char *) "win", NULL
18785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDestroyEvent",kwnames
,&obj0
)) goto fail
;
18787 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
18788 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18792 result
= (wxWindowDestroyEvent
*)new wxWindowDestroyEvent(arg1
);
18794 wxPyEndAllowThreads(__tstate
);
18795 if (PyErr_Occurred()) SWIG_fail
;
18797 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDestroyEvent
, 1);
18804 static PyObject
*_wrap_WindowDestroyEvent_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18805 PyObject
*resultobj
;
18806 wxWindowDestroyEvent
*arg1
= (wxWindowDestroyEvent
*) 0 ;
18808 PyObject
* obj0
= 0 ;
18809 char *kwnames
[] = {
18810 (char *) "self", NULL
18813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WindowDestroyEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
18814 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindowDestroyEvent
,
18815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18818 result
= (wxWindow
*)((wxWindowDestroyEvent
const *)arg1
)->GetWindow();
18820 wxPyEndAllowThreads(__tstate
);
18821 if (PyErr_Occurred()) SWIG_fail
;
18824 resultobj
= wxPyMake_wxObject(result
);
18832 static PyObject
* WindowDestroyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18834 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18835 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDestroyEvent
, obj
);
18837 return Py_BuildValue((char *)"");
18839 static PyObject
*_wrap_new_ContextMenuEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18840 PyObject
*resultobj
;
18841 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
18842 int arg2
= (int) 0 ;
18843 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
18844 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
18845 wxContextMenuEvent
*result
;
18847 PyObject
* obj0
= 0 ;
18848 PyObject
* obj1
= 0 ;
18849 PyObject
* obj2
= 0 ;
18850 char *kwnames
[] = {
18851 (char *) "type",(char *) "winid",(char *) "pt", NULL
18854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ContextMenuEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18856 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
18857 if (PyErr_Occurred()) SWIG_fail
;
18860 arg2
= (int) SWIG_AsInt(obj1
);
18861 if (PyErr_Occurred()) SWIG_fail
;
18866 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18871 result
= (wxContextMenuEvent
*)new wxContextMenuEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
18873 wxPyEndAllowThreads(__tstate
);
18874 if (PyErr_Occurred()) SWIG_fail
;
18876 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextMenuEvent
, 1);
18883 static PyObject
*_wrap_ContextMenuEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18884 PyObject
*resultobj
;
18885 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
18887 PyObject
* obj0
= 0 ;
18888 char *kwnames
[] = {
18889 (char *) "self", NULL
18892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ContextMenuEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
18893 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextMenuEvent
,
18894 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18898 wxPoint
const &_result_ref
= ((wxContextMenuEvent
const *)arg1
)->GetPosition();
18899 result
= (wxPoint
*) &_result_ref
;
18902 wxPyEndAllowThreads(__tstate
);
18903 if (PyErr_Occurred()) SWIG_fail
;
18905 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
18912 static PyObject
*_wrap_ContextMenuEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18913 PyObject
*resultobj
;
18914 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
18915 wxPoint
*arg2
= 0 ;
18917 PyObject
* obj0
= 0 ;
18918 PyObject
* obj1
= 0 ;
18919 char *kwnames
[] = {
18920 (char *) "self",(char *) "pos", NULL
18923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ContextMenuEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
18924 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextMenuEvent
,
18925 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18928 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18932 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
18934 wxPyEndAllowThreads(__tstate
);
18935 if (PyErr_Occurred()) SWIG_fail
;
18937 Py_INCREF(Py_None
); resultobj
= Py_None
;
18944 static PyObject
* ContextMenuEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18946 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18947 SWIG_TypeClientData(SWIGTYPE_p_wxContextMenuEvent
, obj
);
18949 return Py_BuildValue((char *)"");
18951 static PyObject
*_wrap_new_IdleEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18952 PyObject
*resultobj
;
18953 wxIdleEvent
*result
;
18954 char *kwnames
[] = {
18958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_IdleEvent",kwnames
)) goto fail
;
18960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18961 result
= (wxIdleEvent
*)new wxIdleEvent();
18963 wxPyEndAllowThreads(__tstate
);
18964 if (PyErr_Occurred()) SWIG_fail
;
18966 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIdleEvent
, 1);
18973 static PyObject
*_wrap_IdleEvent_RequestMore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18974 PyObject
*resultobj
;
18975 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
18976 bool arg2
= (bool) True
;
18977 PyObject
* obj0
= 0 ;
18978 PyObject
* obj1
= 0 ;
18979 char *kwnames
[] = {
18980 (char *) "self",(char *) "needMore", NULL
18983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:IdleEvent_RequestMore",kwnames
,&obj0
,&obj1
)) goto fail
;
18984 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIdleEvent
,
18985 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18987 arg2
= (bool) SWIG_AsBool(obj1
);
18988 if (PyErr_Occurred()) SWIG_fail
;
18991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18992 (arg1
)->RequestMore(arg2
);
18994 wxPyEndAllowThreads(__tstate
);
18995 if (PyErr_Occurred()) SWIG_fail
;
18997 Py_INCREF(Py_None
); resultobj
= Py_None
;
19004 static PyObject
*_wrap_IdleEvent_MoreRequested(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19005 PyObject
*resultobj
;
19006 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
19008 PyObject
* obj0
= 0 ;
19009 char *kwnames
[] = {
19010 (char *) "self", NULL
19013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_MoreRequested",kwnames
,&obj0
)) goto fail
;
19014 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIdleEvent
,
19015 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19018 result
= (bool)((wxIdleEvent
const *)arg1
)->MoreRequested();
19020 wxPyEndAllowThreads(__tstate
);
19021 if (PyErr_Occurred()) SWIG_fail
;
19024 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19032 static PyObject
*_wrap_IdleEvent_SetMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19033 PyObject
*resultobj
;
19035 PyObject
* obj0
= 0 ;
19036 char *kwnames
[] = {
19037 (char *) "mode", NULL
19040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_SetMode",kwnames
,&obj0
)) goto fail
;
19041 arg1
= (wxIdleMode
) SWIG_AsInt(obj0
);
19042 if (PyErr_Occurred()) SWIG_fail
;
19044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19045 wxIdleEvent::SetMode((wxIdleMode
)arg1
);
19047 wxPyEndAllowThreads(__tstate
);
19048 if (PyErr_Occurred()) SWIG_fail
;
19050 Py_INCREF(Py_None
); resultobj
= Py_None
;
19057 static PyObject
*_wrap_IdleEvent_GetMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19058 PyObject
*resultobj
;
19060 char *kwnames
[] = {
19064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":IdleEvent_GetMode",kwnames
)) goto fail
;
19066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19067 result
= (int)wxIdleEvent::GetMode();
19069 wxPyEndAllowThreads(__tstate
);
19070 if (PyErr_Occurred()) SWIG_fail
;
19072 resultobj
= SWIG_FromInt((int)result
);
19079 static PyObject
*_wrap_IdleEvent_CanSend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19080 PyObject
*resultobj
;
19081 wxWindow
*arg1
= (wxWindow
*) 0 ;
19083 PyObject
* obj0
= 0 ;
19084 char *kwnames
[] = {
19085 (char *) "win", NULL
19088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_CanSend",kwnames
,&obj0
)) goto fail
;
19089 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
19090 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19093 result
= (bool)wxIdleEvent::CanSend(arg1
);
19095 wxPyEndAllowThreads(__tstate
);
19096 if (PyErr_Occurred()) SWIG_fail
;
19099 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19107 static PyObject
* IdleEvent_swigregister(PyObject
*self
, PyObject
*args
) {
19109 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19110 SWIG_TypeClientData(SWIGTYPE_p_wxIdleEvent
, obj
);
19112 return Py_BuildValue((char *)"");
19114 static PyObject
*_wrap_new_PyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19115 PyObject
*resultobj
;
19116 int arg1
= (int) 0 ;
19117 wxEventType arg2
= (wxEventType
) wxEVT_NULL
;
19119 PyObject
* obj0
= 0 ;
19120 PyObject
* obj1
= 0 ;
19121 char *kwnames
[] = {
19122 (char *) "winid",(char *) "commandType", NULL
19125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19127 arg1
= (int) SWIG_AsInt(obj0
);
19128 if (PyErr_Occurred()) SWIG_fail
;
19131 arg2
= (wxEventType
) SWIG_AsInt(obj1
);
19132 if (PyErr_Occurred()) SWIG_fail
;
19135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19136 result
= (wxPyEvent
*)new wxPyEvent(arg1
,arg2
);
19138 wxPyEndAllowThreads(__tstate
);
19139 if (PyErr_Occurred()) SWIG_fail
;
19141 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyEvent
, 1);
19148 static PyObject
*_wrap_delete_PyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19149 PyObject
*resultobj
;
19150 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
19151 PyObject
* obj0
= 0 ;
19152 char *kwnames
[] = {
19153 (char *) "self", NULL
19156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyEvent",kwnames
,&obj0
)) goto fail
;
19157 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEvent
,
19158 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19163 wxPyEndAllowThreads(__tstate
);
19164 if (PyErr_Occurred()) SWIG_fail
;
19166 Py_INCREF(Py_None
); resultobj
= Py_None
;
19173 static PyObject
*_wrap_PyEvent_SetSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19174 PyObject
*resultobj
;
19175 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
19176 PyObject
*arg2
= (PyObject
*) 0 ;
19177 PyObject
* obj0
= 0 ;
19178 PyObject
* obj1
= 0 ;
19179 char *kwnames
[] = {
19180 (char *) "self",(char *) "self", NULL
19183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEvent_SetSelf",kwnames
,&obj0
,&obj1
)) goto fail
;
19184 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEvent
,
19185 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19189 (arg1
)->SetSelf(arg2
);
19191 wxPyEndAllowThreads(__tstate
);
19192 if (PyErr_Occurred()) SWIG_fail
;
19194 Py_INCREF(Py_None
); resultobj
= Py_None
;
19201 static PyObject
*_wrap_PyEvent_GetSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19202 PyObject
*resultobj
;
19203 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
19205 PyObject
* obj0
= 0 ;
19206 char *kwnames
[] = {
19207 (char *) "self", NULL
19210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyEvent_GetSelf",kwnames
,&obj0
)) goto fail
;
19211 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEvent
,
19212 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19215 result
= (PyObject
*)(arg1
)->GetSelf();
19217 wxPyEndAllowThreads(__tstate
);
19218 if (PyErr_Occurred()) SWIG_fail
;
19220 resultobj
= result
;
19227 static PyObject
* PyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
19229 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19230 SWIG_TypeClientData(SWIGTYPE_p_wxPyEvent
, obj
);
19232 return Py_BuildValue((char *)"");
19234 static PyObject
*_wrap_new_PyCommandEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19235 PyObject
*resultobj
;
19236 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19237 int arg2
= (int) 0 ;
19238 wxPyCommandEvent
*result
;
19239 PyObject
* obj0
= 0 ;
19240 PyObject
* obj1
= 0 ;
19241 char *kwnames
[] = {
19242 (char *) "commandType",(char *) "id", NULL
19245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyCommandEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19247 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
19248 if (PyErr_Occurred()) SWIG_fail
;
19251 arg2
= (int) SWIG_AsInt(obj1
);
19252 if (PyErr_Occurred()) SWIG_fail
;
19255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19256 result
= (wxPyCommandEvent
*)new wxPyCommandEvent(arg1
,arg2
);
19258 wxPyEndAllowThreads(__tstate
);
19259 if (PyErr_Occurred()) SWIG_fail
;
19261 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyCommandEvent
, 1);
19268 static PyObject
*_wrap_delete_PyCommandEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19269 PyObject
*resultobj
;
19270 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
19271 PyObject
* obj0
= 0 ;
19272 char *kwnames
[] = {
19273 (char *) "self", NULL
19276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyCommandEvent",kwnames
,&obj0
)) goto fail
;
19277 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCommandEvent
,
19278 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19283 wxPyEndAllowThreads(__tstate
);
19284 if (PyErr_Occurred()) SWIG_fail
;
19286 Py_INCREF(Py_None
); resultobj
= Py_None
;
19293 static PyObject
*_wrap_PyCommandEvent_SetSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19294 PyObject
*resultobj
;
19295 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
19296 PyObject
*arg2
= (PyObject
*) 0 ;
19297 PyObject
* obj0
= 0 ;
19298 PyObject
* obj1
= 0 ;
19299 char *kwnames
[] = {
19300 (char *) "self",(char *) "self", NULL
19303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCommandEvent_SetSelf",kwnames
,&obj0
,&obj1
)) goto fail
;
19304 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCommandEvent
,
19305 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19309 (arg1
)->SetSelf(arg2
);
19311 wxPyEndAllowThreads(__tstate
);
19312 if (PyErr_Occurred()) SWIG_fail
;
19314 Py_INCREF(Py_None
); resultobj
= Py_None
;
19321 static PyObject
*_wrap_PyCommandEvent_GetSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19322 PyObject
*resultobj
;
19323 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
19325 PyObject
* obj0
= 0 ;
19326 char *kwnames
[] = {
19327 (char *) "self", NULL
19330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyCommandEvent_GetSelf",kwnames
,&obj0
)) goto fail
;
19331 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCommandEvent
,
19332 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19335 result
= (PyObject
*)(arg1
)->GetSelf();
19337 wxPyEndAllowThreads(__tstate
);
19338 if (PyErr_Occurred()) SWIG_fail
;
19340 resultobj
= result
;
19347 static PyObject
* PyCommandEvent_swigregister(PyObject
*self
, PyObject
*args
) {
19349 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19350 SWIG_TypeClientData(SWIGTYPE_p_wxPyCommandEvent
, obj
);
19352 return Py_BuildValue((char *)"");
19354 static PyObject
*_wrap_new_PyApp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19355 PyObject
*resultobj
;
19357 char *kwnames
[] = {
19361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyApp",kwnames
)) goto fail
;
19363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19364 result
= (wxPyApp
*)new_wxPyApp();
19366 wxPyEndAllowThreads(__tstate
);
19367 if (PyErr_Occurred()) SWIG_fail
;
19370 resultobj
= wxPyMake_wxObject(result
);
19378 static PyObject
*_wrap_delete_PyApp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19379 PyObject
*resultobj
;
19380 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19381 PyObject
* obj0
= 0 ;
19382 char *kwnames
[] = {
19383 (char *) "self", NULL
19386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyApp",kwnames
,&obj0
)) goto fail
;
19387 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19388 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19393 wxPyEndAllowThreads(__tstate
);
19394 if (PyErr_Occurred()) SWIG_fail
;
19396 Py_INCREF(Py_None
); resultobj
= Py_None
;
19403 static PyObject
*_wrap_PyApp__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19404 PyObject
*resultobj
;
19405 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19406 PyObject
*arg2
= (PyObject
*) 0 ;
19407 PyObject
*arg3
= (PyObject
*) 0 ;
19408 PyObject
* obj0
= 0 ;
19409 PyObject
* obj1
= 0 ;
19410 PyObject
* obj2
= 0 ;
19411 char *kwnames
[] = {
19412 (char *) "self",(char *) "self",(char *) "_class", NULL
19415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyApp__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19416 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19417 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19422 (arg1
)->_setCallbackInfo(arg2
,arg3
);
19424 wxPyEndAllowThreads(__tstate
);
19425 if (PyErr_Occurred()) SWIG_fail
;
19427 Py_INCREF(Py_None
); resultobj
= Py_None
;
19434 static PyObject
*_wrap_PyApp_GetAppName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19435 PyObject
*resultobj
;
19436 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19438 PyObject
* obj0
= 0 ;
19439 char *kwnames
[] = {
19440 (char *) "self", NULL
19443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetAppName",kwnames
,&obj0
)) goto fail
;
19444 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19445 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19448 result
= ((wxPyApp
const *)arg1
)->GetAppName();
19450 wxPyEndAllowThreads(__tstate
);
19451 if (PyErr_Occurred()) SWIG_fail
;
19455 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19457 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19466 static PyObject
*_wrap_PyApp_SetAppName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19467 PyObject
*resultobj
;
19468 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19469 wxString
*arg2
= 0 ;
19470 bool temp2
= False
;
19471 PyObject
* obj0
= 0 ;
19472 PyObject
* obj1
= 0 ;
19473 char *kwnames
[] = {
19474 (char *) "self",(char *) "name", NULL
19477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetAppName",kwnames
,&obj0
,&obj1
)) goto fail
;
19478 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19479 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19481 arg2
= wxString_in_helper(obj1
);
19482 if (arg2
== NULL
) SWIG_fail
;
19486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19487 (arg1
)->SetAppName((wxString
const &)*arg2
);
19489 wxPyEndAllowThreads(__tstate
);
19490 if (PyErr_Occurred()) SWIG_fail
;
19492 Py_INCREF(Py_None
); resultobj
= Py_None
;
19507 static PyObject
*_wrap_PyApp_GetClassName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19508 PyObject
*resultobj
;
19509 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19511 PyObject
* obj0
= 0 ;
19512 char *kwnames
[] = {
19513 (char *) "self", NULL
19516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetClassName",kwnames
,&obj0
)) goto fail
;
19517 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19518 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19521 result
= ((wxPyApp
const *)arg1
)->GetClassName();
19523 wxPyEndAllowThreads(__tstate
);
19524 if (PyErr_Occurred()) SWIG_fail
;
19528 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19530 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19539 static PyObject
*_wrap_PyApp_SetClassName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19540 PyObject
*resultobj
;
19541 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19542 wxString
*arg2
= 0 ;
19543 bool temp2
= False
;
19544 PyObject
* obj0
= 0 ;
19545 PyObject
* obj1
= 0 ;
19546 char *kwnames
[] = {
19547 (char *) "self",(char *) "name", NULL
19550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetClassName",kwnames
,&obj0
,&obj1
)) goto fail
;
19551 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19552 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19554 arg2
= wxString_in_helper(obj1
);
19555 if (arg2
== NULL
) SWIG_fail
;
19559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19560 (arg1
)->SetClassName((wxString
const &)*arg2
);
19562 wxPyEndAllowThreads(__tstate
);
19563 if (PyErr_Occurred()) SWIG_fail
;
19565 Py_INCREF(Py_None
); resultobj
= Py_None
;
19580 static PyObject
*_wrap_PyApp_GetVendorName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19581 PyObject
*resultobj
;
19582 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19584 PyObject
* obj0
= 0 ;
19585 char *kwnames
[] = {
19586 (char *) "self", NULL
19589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetVendorName",kwnames
,&obj0
)) goto fail
;
19590 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19591 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19595 wxString
const &_result_ref
= ((wxPyApp
const *)arg1
)->GetVendorName();
19596 result
= (wxString
*) &_result_ref
;
19599 wxPyEndAllowThreads(__tstate
);
19600 if (PyErr_Occurred()) SWIG_fail
;
19604 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19606 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19615 static PyObject
*_wrap_PyApp_SetVendorName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19616 PyObject
*resultobj
;
19617 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19618 wxString
*arg2
= 0 ;
19619 bool temp2
= False
;
19620 PyObject
* obj0
= 0 ;
19621 PyObject
* obj1
= 0 ;
19622 char *kwnames
[] = {
19623 (char *) "self",(char *) "name", NULL
19626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetVendorName",kwnames
,&obj0
,&obj1
)) goto fail
;
19627 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19628 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19630 arg2
= wxString_in_helper(obj1
);
19631 if (arg2
== NULL
) SWIG_fail
;
19635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19636 (arg1
)->SetVendorName((wxString
const &)*arg2
);
19638 wxPyEndAllowThreads(__tstate
);
19639 if (PyErr_Occurred()) SWIG_fail
;
19641 Py_INCREF(Py_None
); resultobj
= Py_None
;
19656 static PyObject
*_wrap_PyApp_GetTraits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19657 PyObject
*resultobj
;
19658 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19659 wxAppTraits
*result
;
19660 PyObject
* obj0
= 0 ;
19661 char *kwnames
[] = {
19662 (char *) "self", NULL
19665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetTraits",kwnames
,&obj0
)) goto fail
;
19666 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19667 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19670 result
= (wxAppTraits
*)(arg1
)->GetTraits();
19672 wxPyEndAllowThreads(__tstate
);
19673 if (PyErr_Occurred()) SWIG_fail
;
19675 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAppTraits
, 0);
19682 static PyObject
*_wrap_PyApp_ProcessPendingEvents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19683 PyObject
*resultobj
;
19684 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19685 PyObject
* obj0
= 0 ;
19686 char *kwnames
[] = {
19687 (char *) "self", NULL
19690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ProcessPendingEvents",kwnames
,&obj0
)) goto fail
;
19691 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19692 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19695 (arg1
)->ProcessPendingEvents();
19697 wxPyEndAllowThreads(__tstate
);
19698 if (PyErr_Occurred()) SWIG_fail
;
19700 Py_INCREF(Py_None
); resultobj
= Py_None
;
19707 static PyObject
*_wrap_PyApp_Yield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19708 PyObject
*resultobj
;
19709 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19710 bool arg2
= (bool) False
;
19712 PyObject
* obj0
= 0 ;
19713 PyObject
* obj1
= 0 ;
19714 char *kwnames
[] = {
19715 (char *) "self",(char *) "onlyIfNeeded", NULL
19718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyApp_Yield",kwnames
,&obj0
,&obj1
)) goto fail
;
19719 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19720 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19722 arg2
= (bool) SWIG_AsBool(obj1
);
19723 if (PyErr_Occurred()) SWIG_fail
;
19726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19727 result
= (bool)(arg1
)->Yield(arg2
);
19729 wxPyEndAllowThreads(__tstate
);
19730 if (PyErr_Occurred()) SWIG_fail
;
19733 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19741 static PyObject
*_wrap_PyApp_WakeUpIdle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19742 PyObject
*resultobj
;
19743 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19744 PyObject
* obj0
= 0 ;
19745 char *kwnames
[] = {
19746 (char *) "self", NULL
19749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_WakeUpIdle",kwnames
,&obj0
)) goto fail
;
19750 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19751 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19754 (arg1
)->WakeUpIdle();
19756 wxPyEndAllowThreads(__tstate
);
19757 if (PyErr_Occurred()) SWIG_fail
;
19759 Py_INCREF(Py_None
); resultobj
= Py_None
;
19766 static PyObject
*_wrap_PyApp_MainLoop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19767 PyObject
*resultobj
;
19768 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19770 PyObject
* obj0
= 0 ;
19771 char *kwnames
[] = {
19772 (char *) "self", NULL
19775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_MainLoop",kwnames
,&obj0
)) goto fail
;
19776 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19777 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19780 result
= (int)(arg1
)->MainLoop();
19782 wxPyEndAllowThreads(__tstate
);
19783 if (PyErr_Occurred()) SWIG_fail
;
19785 resultobj
= SWIG_FromInt((int)result
);
19792 static PyObject
*_wrap_PyApp_Exit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19793 PyObject
*resultobj
;
19794 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19795 PyObject
* obj0
= 0 ;
19796 char *kwnames
[] = {
19797 (char *) "self", NULL
19800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Exit",kwnames
,&obj0
)) goto fail
;
19801 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19802 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19807 wxPyEndAllowThreads(__tstate
);
19808 if (PyErr_Occurred()) SWIG_fail
;
19810 Py_INCREF(Py_None
); resultobj
= Py_None
;
19817 static PyObject
*_wrap_PyApp_ExitMainLoop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19818 PyObject
*resultobj
;
19819 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19820 PyObject
* obj0
= 0 ;
19821 char *kwnames
[] = {
19822 (char *) "self", NULL
19825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ExitMainLoop",kwnames
,&obj0
)) goto fail
;
19826 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19827 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19830 (arg1
)->ExitMainLoop();
19832 wxPyEndAllowThreads(__tstate
);
19833 if (PyErr_Occurred()) SWIG_fail
;
19835 Py_INCREF(Py_None
); resultobj
= Py_None
;
19842 static PyObject
*_wrap_PyApp_Pending(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19843 PyObject
*resultobj
;
19844 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19846 PyObject
* obj0
= 0 ;
19847 char *kwnames
[] = {
19848 (char *) "self", NULL
19851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Pending",kwnames
,&obj0
)) goto fail
;
19852 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19853 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19856 result
= (bool)(arg1
)->Pending();
19858 wxPyEndAllowThreads(__tstate
);
19859 if (PyErr_Occurred()) SWIG_fail
;
19862 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19870 static PyObject
*_wrap_PyApp_Dispatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19871 PyObject
*resultobj
;
19872 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19874 PyObject
* obj0
= 0 ;
19875 char *kwnames
[] = {
19876 (char *) "self", NULL
19879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Dispatch",kwnames
,&obj0
)) goto fail
;
19880 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19881 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19884 result
= (bool)(arg1
)->Dispatch();
19886 wxPyEndAllowThreads(__tstate
);
19887 if (PyErr_Occurred()) SWIG_fail
;
19890 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19898 static PyObject
*_wrap_PyApp_ProcessIdle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19899 PyObject
*resultobj
;
19900 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19902 PyObject
* obj0
= 0 ;
19903 char *kwnames
[] = {
19904 (char *) "self", NULL
19907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ProcessIdle",kwnames
,&obj0
)) goto fail
;
19908 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19909 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19912 result
= (bool)(arg1
)->ProcessIdle();
19914 wxPyEndAllowThreads(__tstate
);
19915 if (PyErr_Occurred()) SWIG_fail
;
19918 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19926 static PyObject
*_wrap_PyApp_SendIdleEvents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19927 PyObject
*resultobj
;
19928 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19929 wxWindow
*arg2
= (wxWindow
*) 0 ;
19930 wxIdleEvent
*arg3
= 0 ;
19932 PyObject
* obj0
= 0 ;
19933 PyObject
* obj1
= 0 ;
19934 PyObject
* obj2
= 0 ;
19935 char *kwnames
[] = {
19936 (char *) "self",(char *) "win",(char *) "event", NULL
19939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyApp_SendIdleEvents",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19940 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19941 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19942 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
19943 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19944 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxIdleEvent
,
19945 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19947 if (arg3
== NULL
) {
19948 PyErr_SetString(PyExc_TypeError
,"null reference");
19952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19953 result
= (bool)(arg1
)->SendIdleEvents(arg2
,*arg3
);
19955 wxPyEndAllowThreads(__tstate
);
19956 if (PyErr_Occurred()) SWIG_fail
;
19959 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19967 static PyObject
*_wrap_PyApp_IsActive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19968 PyObject
*resultobj
;
19969 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19971 PyObject
* obj0
= 0 ;
19972 char *kwnames
[] = {
19973 (char *) "self", NULL
19976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_IsActive",kwnames
,&obj0
)) goto fail
;
19977 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19978 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19981 result
= (bool)((wxPyApp
const *)arg1
)->IsActive();
19983 wxPyEndAllowThreads(__tstate
);
19984 if (PyErr_Occurred()) SWIG_fail
;
19987 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19995 static PyObject
*_wrap_PyApp_SetTopWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19996 PyObject
*resultobj
;
19997 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19998 wxWindow
*arg2
= (wxWindow
*) 0 ;
19999 PyObject
* obj0
= 0 ;
20000 PyObject
* obj1
= 0 ;
20001 char *kwnames
[] = {
20002 (char *) "self",(char *) "win", NULL
20005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetTopWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
20006 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20007 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20008 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
20009 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20012 (arg1
)->SetTopWindow(arg2
);
20014 wxPyEndAllowThreads(__tstate
);
20015 if (PyErr_Occurred()) SWIG_fail
;
20017 Py_INCREF(Py_None
); resultobj
= Py_None
;
20024 static PyObject
*_wrap_PyApp_GetTopWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20025 PyObject
*resultobj
;
20026 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20028 PyObject
* obj0
= 0 ;
20029 char *kwnames
[] = {
20030 (char *) "self", NULL
20033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetTopWindow",kwnames
,&obj0
)) goto fail
;
20034 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20035 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20038 result
= (wxWindow
*)((wxPyApp
const *)arg1
)->GetTopWindow();
20040 wxPyEndAllowThreads(__tstate
);
20041 if (PyErr_Occurred()) SWIG_fail
;
20044 resultobj
= wxPyMake_wxObject(result
);
20052 static PyObject
*_wrap_PyApp_SetExitOnFrameDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20053 PyObject
*resultobj
;
20054 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20056 PyObject
* obj0
= 0 ;
20057 PyObject
* obj1
= 0 ;
20058 char *kwnames
[] = {
20059 (char *) "self",(char *) "flag", NULL
20062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetExitOnFrameDelete",kwnames
,&obj0
,&obj1
)) goto fail
;
20063 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20064 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20065 arg2
= (bool) SWIG_AsBool(obj1
);
20066 if (PyErr_Occurred()) SWIG_fail
;
20068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20069 (arg1
)->SetExitOnFrameDelete(arg2
);
20071 wxPyEndAllowThreads(__tstate
);
20072 if (PyErr_Occurred()) SWIG_fail
;
20074 Py_INCREF(Py_None
); resultobj
= Py_None
;
20081 static PyObject
*_wrap_PyApp_GetExitOnFrameDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20082 PyObject
*resultobj
;
20083 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20085 PyObject
* obj0
= 0 ;
20086 char *kwnames
[] = {
20087 (char *) "self", NULL
20090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetExitOnFrameDelete",kwnames
,&obj0
)) goto fail
;
20091 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20092 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20095 result
= (bool)((wxPyApp
const *)arg1
)->GetExitOnFrameDelete();
20097 wxPyEndAllowThreads(__tstate
);
20098 if (PyErr_Occurred()) SWIG_fail
;
20101 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20109 static PyObject
*_wrap_PyApp_SetUseBestVisual(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20110 PyObject
*resultobj
;
20111 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20113 PyObject
* obj0
= 0 ;
20114 PyObject
* obj1
= 0 ;
20115 char *kwnames
[] = {
20116 (char *) "self",(char *) "flag", NULL
20119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetUseBestVisual",kwnames
,&obj0
,&obj1
)) goto fail
;
20120 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20121 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20122 arg2
= (bool) SWIG_AsBool(obj1
);
20123 if (PyErr_Occurred()) SWIG_fail
;
20125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20126 (arg1
)->SetUseBestVisual(arg2
);
20128 wxPyEndAllowThreads(__tstate
);
20129 if (PyErr_Occurred()) SWIG_fail
;
20131 Py_INCREF(Py_None
); resultobj
= Py_None
;
20138 static PyObject
*_wrap_PyApp_GetUseBestVisual(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20139 PyObject
*resultobj
;
20140 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20142 PyObject
* obj0
= 0 ;
20143 char *kwnames
[] = {
20144 (char *) "self", NULL
20147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetUseBestVisual",kwnames
,&obj0
)) goto fail
;
20148 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20149 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20152 result
= (bool)((wxPyApp
const *)arg1
)->GetUseBestVisual();
20154 wxPyEndAllowThreads(__tstate
);
20155 if (PyErr_Occurred()) SWIG_fail
;
20158 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20166 static PyObject
*_wrap_PyApp_SetPrintMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20167 PyObject
*resultobj
;
20168 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20170 PyObject
* obj0
= 0 ;
20171 PyObject
* obj1
= 0 ;
20172 char *kwnames
[] = {
20173 (char *) "self",(char *) "mode", NULL
20176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetPrintMode",kwnames
,&obj0
,&obj1
)) goto fail
;
20177 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20178 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20179 arg2
= (int) SWIG_AsInt(obj1
);
20180 if (PyErr_Occurred()) SWIG_fail
;
20182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20183 (arg1
)->SetPrintMode(arg2
);
20185 wxPyEndAllowThreads(__tstate
);
20186 if (PyErr_Occurred()) SWIG_fail
;
20188 Py_INCREF(Py_None
); resultobj
= Py_None
;
20195 static PyObject
*_wrap_PyApp_GetPrintMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20196 PyObject
*resultobj
;
20197 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20199 PyObject
* obj0
= 0 ;
20200 char *kwnames
[] = {
20201 (char *) "self", NULL
20204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetPrintMode",kwnames
,&obj0
)) goto fail
;
20205 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20206 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20209 result
= (int)((wxPyApp
const *)arg1
)->GetPrintMode();
20211 wxPyEndAllowThreads(__tstate
);
20212 if (PyErr_Occurred()) SWIG_fail
;
20214 resultobj
= SWIG_FromInt((int)result
);
20221 static PyObject
*_wrap_PyApp_SetAssertMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20222 PyObject
*resultobj
;
20223 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20225 PyObject
* obj0
= 0 ;
20226 PyObject
* obj1
= 0 ;
20227 char *kwnames
[] = {
20228 (char *) "self",(char *) "mode", NULL
20231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetAssertMode",kwnames
,&obj0
,&obj1
)) goto fail
;
20232 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20233 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20234 arg2
= (int) SWIG_AsInt(obj1
);
20235 if (PyErr_Occurred()) SWIG_fail
;
20237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20238 (arg1
)->SetAssertMode(arg2
);
20240 wxPyEndAllowThreads(__tstate
);
20241 if (PyErr_Occurred()) SWIG_fail
;
20243 Py_INCREF(Py_None
); resultobj
= Py_None
;
20250 static PyObject
*_wrap_PyApp_GetAssertMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20251 PyObject
*resultobj
;
20252 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20254 PyObject
* obj0
= 0 ;
20255 char *kwnames
[] = {
20256 (char *) "self", NULL
20259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetAssertMode",kwnames
,&obj0
)) goto fail
;
20260 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20261 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20264 result
= (int)(arg1
)->GetAssertMode();
20266 wxPyEndAllowThreads(__tstate
);
20267 if (PyErr_Occurred()) SWIG_fail
;
20269 resultobj
= SWIG_FromInt((int)result
);
20276 static PyObject
*_wrap_PyApp_GetMacSupportPCMenuShortcuts(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20277 PyObject
*resultobj
;
20279 char *kwnames
[] = {
20283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacSupportPCMenuShortcuts",kwnames
)) goto fail
;
20285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20286 result
= (bool)wxPyApp::GetMacSupportPCMenuShortcuts();
20288 wxPyEndAllowThreads(__tstate
);
20289 if (PyErr_Occurred()) SWIG_fail
;
20292 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20300 static PyObject
*_wrap_PyApp_GetMacAboutMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20301 PyObject
*resultobj
;
20303 char *kwnames
[] = {
20307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacAboutMenuItemId",kwnames
)) goto fail
;
20309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20310 result
= (long)wxPyApp::GetMacAboutMenuItemId();
20312 wxPyEndAllowThreads(__tstate
);
20313 if (PyErr_Occurred()) SWIG_fail
;
20315 resultobj
= SWIG_FromLong((long)result
);
20322 static PyObject
*_wrap_PyApp_GetMacPreferencesMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20323 PyObject
*resultobj
;
20325 char *kwnames
[] = {
20329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacPreferencesMenuItemId",kwnames
)) goto fail
;
20331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20332 result
= (long)wxPyApp::GetMacPreferencesMenuItemId();
20334 wxPyEndAllowThreads(__tstate
);
20335 if (PyErr_Occurred()) SWIG_fail
;
20337 resultobj
= SWIG_FromLong((long)result
);
20344 static PyObject
*_wrap_PyApp_GetMacExitMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20345 PyObject
*resultobj
;
20347 char *kwnames
[] = {
20351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacExitMenuItemId",kwnames
)) goto fail
;
20353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20354 result
= (long)wxPyApp::GetMacExitMenuItemId();
20356 wxPyEndAllowThreads(__tstate
);
20357 if (PyErr_Occurred()) SWIG_fail
;
20359 resultobj
= SWIG_FromLong((long)result
);
20366 static PyObject
*_wrap_PyApp_GetMacHelpMenuTitleName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20367 PyObject
*resultobj
;
20369 char *kwnames
[] = {
20373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacHelpMenuTitleName",kwnames
)) goto fail
;
20375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20376 result
= wxPyApp::GetMacHelpMenuTitleName();
20378 wxPyEndAllowThreads(__tstate
);
20379 if (PyErr_Occurred()) SWIG_fail
;
20383 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20385 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20394 static PyObject
*_wrap_PyApp_SetMacSupportPCMenuShortcuts(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20395 PyObject
*resultobj
;
20397 PyObject
* obj0
= 0 ;
20398 char *kwnames
[] = {
20399 (char *) "val", NULL
20402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacSupportPCMenuShortcuts",kwnames
,&obj0
)) goto fail
;
20403 arg1
= (bool) SWIG_AsBool(obj0
);
20404 if (PyErr_Occurred()) SWIG_fail
;
20406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20407 wxPyApp::SetMacSupportPCMenuShortcuts(arg1
);
20409 wxPyEndAllowThreads(__tstate
);
20410 if (PyErr_Occurred()) SWIG_fail
;
20412 Py_INCREF(Py_None
); resultobj
= Py_None
;
20419 static PyObject
*_wrap_PyApp_SetMacAboutMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20420 PyObject
*resultobj
;
20422 PyObject
* obj0
= 0 ;
20423 char *kwnames
[] = {
20424 (char *) "val", NULL
20427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacAboutMenuItemId",kwnames
,&obj0
)) goto fail
;
20428 arg1
= (long) SWIG_AsLong(obj0
);
20429 if (PyErr_Occurred()) SWIG_fail
;
20431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20432 wxPyApp::SetMacAboutMenuItemId(arg1
);
20434 wxPyEndAllowThreads(__tstate
);
20435 if (PyErr_Occurred()) SWIG_fail
;
20437 Py_INCREF(Py_None
); resultobj
= Py_None
;
20444 static PyObject
*_wrap_PyApp_SetMacPreferencesMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20445 PyObject
*resultobj
;
20447 PyObject
* obj0
= 0 ;
20448 char *kwnames
[] = {
20449 (char *) "val", NULL
20452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacPreferencesMenuItemId",kwnames
,&obj0
)) goto fail
;
20453 arg1
= (long) SWIG_AsLong(obj0
);
20454 if (PyErr_Occurred()) SWIG_fail
;
20456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20457 wxPyApp::SetMacPreferencesMenuItemId(arg1
);
20459 wxPyEndAllowThreads(__tstate
);
20460 if (PyErr_Occurred()) SWIG_fail
;
20462 Py_INCREF(Py_None
); resultobj
= Py_None
;
20469 static PyObject
*_wrap_PyApp_SetMacExitMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20470 PyObject
*resultobj
;
20472 PyObject
* obj0
= 0 ;
20473 char *kwnames
[] = {
20474 (char *) "val", NULL
20477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacExitMenuItemId",kwnames
,&obj0
)) goto fail
;
20478 arg1
= (long) SWIG_AsLong(obj0
);
20479 if (PyErr_Occurred()) SWIG_fail
;
20481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20482 wxPyApp::SetMacExitMenuItemId(arg1
);
20484 wxPyEndAllowThreads(__tstate
);
20485 if (PyErr_Occurred()) SWIG_fail
;
20487 Py_INCREF(Py_None
); resultobj
= Py_None
;
20494 static PyObject
*_wrap_PyApp_SetMacHelpMenuTitleName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20495 PyObject
*resultobj
;
20496 wxString
*arg1
= 0 ;
20497 bool temp1
= False
;
20498 PyObject
* obj0
= 0 ;
20499 char *kwnames
[] = {
20500 (char *) "val", NULL
20503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacHelpMenuTitleName",kwnames
,&obj0
)) goto fail
;
20505 arg1
= wxString_in_helper(obj0
);
20506 if (arg1
== NULL
) SWIG_fail
;
20510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20511 wxPyApp::SetMacHelpMenuTitleName((wxString
const &)*arg1
);
20513 wxPyEndAllowThreads(__tstate
);
20514 if (PyErr_Occurred()) SWIG_fail
;
20516 Py_INCREF(Py_None
); resultobj
= Py_None
;
20531 static PyObject
*_wrap_PyApp__BootstrapApp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20532 PyObject
*resultobj
;
20533 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20534 PyObject
* obj0
= 0 ;
20535 char *kwnames
[] = {
20536 (char *) "self", NULL
20539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp__BootstrapApp",kwnames
,&obj0
)) goto fail
;
20540 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20541 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20544 (arg1
)->_BootstrapApp();
20546 wxPyEndAllowThreads(__tstate
);
20547 if (PyErr_Occurred()) SWIG_fail
;
20549 Py_INCREF(Py_None
); resultobj
= Py_None
;
20556 static PyObject
*_wrap_PyApp_GetComCtl32Version(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20557 PyObject
*resultobj
;
20559 char *kwnames
[] = {
20563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetComCtl32Version",kwnames
)) goto fail
;
20565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20566 result
= (int)wxPyApp::GetComCtl32Version();
20568 wxPyEndAllowThreads(__tstate
);
20569 if (PyErr_Occurred()) SWIG_fail
;
20571 resultobj
= SWIG_FromInt((int)result
);
20578 static PyObject
* PyApp_swigregister(PyObject
*self
, PyObject
*args
) {
20580 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20581 SWIG_TypeClientData(SWIGTYPE_p_wxPyApp
, obj
);
20583 return Py_BuildValue((char *)"");
20585 static PyObject
*_wrap_Exit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20586 PyObject
*resultobj
;
20587 char *kwnames
[] = {
20591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Exit",kwnames
)) goto fail
;
20593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20596 wxPyEndAllowThreads(__tstate
);
20597 if (PyErr_Occurred()) SWIG_fail
;
20599 Py_INCREF(Py_None
); resultobj
= Py_None
;
20606 static PyObject
*_wrap_Yield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20607 PyObject
*resultobj
;
20609 char *kwnames
[] = {
20613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Yield",kwnames
)) goto fail
;
20615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20616 result
= (bool)wxYield();
20618 wxPyEndAllowThreads(__tstate
);
20619 if (PyErr_Occurred()) SWIG_fail
;
20622 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20630 static PyObject
*_wrap_YieldIfNeeded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20631 PyObject
*resultobj
;
20633 char *kwnames
[] = {
20637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":YieldIfNeeded",kwnames
)) goto fail
;
20639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20640 result
= (bool)wxYieldIfNeeded();
20642 wxPyEndAllowThreads(__tstate
);
20643 if (PyErr_Occurred()) SWIG_fail
;
20646 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20654 static PyObject
*_wrap_SafeYield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20655 PyObject
*resultobj
;
20656 wxWindow
*arg1
= (wxWindow
*) NULL
;
20657 bool arg2
= (bool) False
;
20659 PyObject
* obj0
= 0 ;
20660 PyObject
* obj1
= 0 ;
20661 char *kwnames
[] = {
20662 (char *) "win",(char *) "onlyIfNeeded", NULL
20665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:SafeYield",kwnames
,&obj0
,&obj1
)) goto fail
;
20667 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
20668 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20671 arg2
= (bool) SWIG_AsBool(obj1
);
20672 if (PyErr_Occurred()) SWIG_fail
;
20675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20676 result
= (bool)wxSafeYield(arg1
,arg2
);
20678 wxPyEndAllowThreads(__tstate
);
20679 if (PyErr_Occurred()) SWIG_fail
;
20682 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20690 static PyObject
*_wrap_WakeUpIdle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20691 PyObject
*resultobj
;
20692 char *kwnames
[] = {
20696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":WakeUpIdle",kwnames
)) goto fail
;
20698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20701 wxPyEndAllowThreads(__tstate
);
20702 if (PyErr_Occurred()) SWIG_fail
;
20704 Py_INCREF(Py_None
); resultobj
= Py_None
;
20711 static PyObject
*_wrap_PostEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20712 PyObject
*resultobj
;
20713 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
20714 wxEvent
*arg2
= 0 ;
20715 PyObject
* obj0
= 0 ;
20716 PyObject
* obj1
= 0 ;
20717 char *kwnames
[] = {
20718 (char *) "dest",(char *) "event", NULL
20721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
20722 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
20723 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20724 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvent
,
20725 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20727 if (arg2
== NULL
) {
20728 PyErr_SetString(PyExc_TypeError
,"null reference");
20732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20733 wxPostEvent(arg1
,*arg2
);
20735 wxPyEndAllowThreads(__tstate
);
20736 if (PyErr_Occurred()) SWIG_fail
;
20738 Py_INCREF(Py_None
); resultobj
= Py_None
;
20745 static PyObject
*_wrap_App_CleanUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20746 PyObject
*resultobj
;
20747 char *kwnames
[] = {
20751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":App_CleanUp",kwnames
)) goto fail
;
20753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20756 wxPyEndAllowThreads(__tstate
);
20757 if (PyErr_Occurred()) SWIG_fail
;
20759 Py_INCREF(Py_None
); resultobj
= Py_None
;
20766 static PyObject
*_wrap_GetApp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20767 PyObject
*resultobj
;
20769 char *kwnames
[] = {
20773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetApp",kwnames
)) goto fail
;
20775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20776 result
= (wxPyApp
*)wxPyGetApp();
20778 wxPyEndAllowThreads(__tstate
);
20779 if (PyErr_Occurred()) SWIG_fail
;
20782 resultobj
= wxPyMake_wxObject(result
);
20790 static PyObject
*_wrap_new_AcceleratorEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20791 PyObject
*resultobj
;
20792 int arg1
= (int) 0 ;
20793 int arg2
= (int) 0 ;
20794 int arg3
= (int) 0 ;
20795 wxAcceleratorEntry
*result
;
20796 PyObject
* obj0
= 0 ;
20797 PyObject
* obj1
= 0 ;
20798 PyObject
* obj2
= 0 ;
20799 char *kwnames
[] = {
20800 (char *) "flags",(char *) "keyCode",(char *) "cmdID", NULL
20803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_AcceleratorEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20805 arg1
= (int) SWIG_AsInt(obj0
);
20806 if (PyErr_Occurred()) SWIG_fail
;
20809 arg2
= (int) SWIG_AsInt(obj1
);
20810 if (PyErr_Occurred()) SWIG_fail
;
20813 arg3
= (int) SWIG_AsInt(obj2
);
20814 if (PyErr_Occurred()) SWIG_fail
;
20817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20818 result
= (wxAcceleratorEntry
*)new wxAcceleratorEntry(arg1
,arg2
,arg3
);
20820 wxPyEndAllowThreads(__tstate
);
20821 if (PyErr_Occurred()) SWIG_fail
;
20823 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 1);
20830 static PyObject
*_wrap_delete_AcceleratorEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20831 PyObject
*resultobj
;
20832 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
20833 PyObject
* obj0
= 0 ;
20834 char *kwnames
[] = {
20835 (char *) "self", NULL
20838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_AcceleratorEntry",kwnames
,&obj0
)) goto fail
;
20839 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
20840 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20845 wxPyEndAllowThreads(__tstate
);
20846 if (PyErr_Occurred()) SWIG_fail
;
20848 Py_INCREF(Py_None
); resultobj
= Py_None
;
20855 static PyObject
*_wrap_AcceleratorEntry_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20856 PyObject
*resultobj
;
20857 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
20861 PyObject
* obj0
= 0 ;
20862 PyObject
* obj1
= 0 ;
20863 PyObject
* obj2
= 0 ;
20864 PyObject
* obj3
= 0 ;
20865 char *kwnames
[] = {
20866 (char *) "self",(char *) "flags",(char *) "keyCode",(char *) "cmd", NULL
20869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AcceleratorEntry_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20870 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
20871 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20872 arg2
= (int) SWIG_AsInt(obj1
);
20873 if (PyErr_Occurred()) SWIG_fail
;
20874 arg3
= (int) SWIG_AsInt(obj2
);
20875 if (PyErr_Occurred()) SWIG_fail
;
20876 arg4
= (int) SWIG_AsInt(obj3
);
20877 if (PyErr_Occurred()) SWIG_fail
;
20879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20880 (arg1
)->Set(arg2
,arg3
,arg4
);
20882 wxPyEndAllowThreads(__tstate
);
20883 if (PyErr_Occurred()) SWIG_fail
;
20885 Py_INCREF(Py_None
); resultobj
= Py_None
;
20892 static PyObject
*_wrap_AcceleratorEntry_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20893 PyObject
*resultobj
;
20894 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
20896 PyObject
* obj0
= 0 ;
20897 char *kwnames
[] = {
20898 (char *) "self", NULL
20901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetFlags",kwnames
,&obj0
)) goto fail
;
20902 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
20903 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20906 result
= (int)(arg1
)->GetFlags();
20908 wxPyEndAllowThreads(__tstate
);
20909 if (PyErr_Occurred()) SWIG_fail
;
20911 resultobj
= SWIG_FromInt((int)result
);
20918 static PyObject
*_wrap_AcceleratorEntry_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20919 PyObject
*resultobj
;
20920 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
20922 PyObject
* obj0
= 0 ;
20923 char *kwnames
[] = {
20924 (char *) "self", NULL
20927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetKeyCode",kwnames
,&obj0
)) goto fail
;
20928 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
20929 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20932 result
= (int)(arg1
)->GetKeyCode();
20934 wxPyEndAllowThreads(__tstate
);
20935 if (PyErr_Occurred()) SWIG_fail
;
20937 resultobj
= SWIG_FromInt((int)result
);
20944 static PyObject
*_wrap_AcceleratorEntry_GetCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20945 PyObject
*resultobj
;
20946 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
20948 PyObject
* obj0
= 0 ;
20949 char *kwnames
[] = {
20950 (char *) "self", NULL
20953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetCommand",kwnames
,&obj0
)) goto fail
;
20954 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
20955 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20958 result
= (int)(arg1
)->GetCommand();
20960 wxPyEndAllowThreads(__tstate
);
20961 if (PyErr_Occurred()) SWIG_fail
;
20963 resultobj
= SWIG_FromInt((int)result
);
20970 static PyObject
* AcceleratorEntry_swigregister(PyObject
*self
, PyObject
*args
) {
20972 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20973 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorEntry
, obj
);
20975 return Py_BuildValue((char *)"");
20977 static PyObject
*_wrap_new_AcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20978 PyObject
*resultobj
;
20980 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
20981 wxAcceleratorTable
*result
;
20982 PyObject
* obj0
= 0 ;
20983 char *kwnames
[] = {
20987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_AcceleratorTable",kwnames
,&obj0
)) goto fail
;
20989 arg2
= wxAcceleratorEntry_LIST_helper(obj0
);
20990 if (arg2
) arg1
= PyList_Size(obj0
);
20994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20995 result
= (wxAcceleratorTable
*)new wxAcceleratorTable(arg1
,(wxAcceleratorEntry
const *)arg2
);
20997 wxPyEndAllowThreads(__tstate
);
20998 if (PyErr_Occurred()) SWIG_fail
;
21000 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorTable
, 1);
21013 static PyObject
*_wrap_delete_AcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21014 PyObject
*resultobj
;
21015 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
21016 PyObject
* obj0
= 0 ;
21017 char *kwnames
[] = {
21018 (char *) "self", NULL
21021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_AcceleratorTable",kwnames
,&obj0
)) goto fail
;
21022 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorTable
,
21023 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21028 wxPyEndAllowThreads(__tstate
);
21029 if (PyErr_Occurred()) SWIG_fail
;
21031 Py_INCREF(Py_None
); resultobj
= Py_None
;
21038 static PyObject
*_wrap_AcceleratorTable_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21039 PyObject
*resultobj
;
21040 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
21042 PyObject
* obj0
= 0 ;
21043 char *kwnames
[] = {
21044 (char *) "self", NULL
21047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorTable_Ok",kwnames
,&obj0
)) goto fail
;
21048 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorTable
,
21049 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21052 result
= (bool)((wxAcceleratorTable
const *)arg1
)->Ok();
21054 wxPyEndAllowThreads(__tstate
);
21055 if (PyErr_Occurred()) SWIG_fail
;
21058 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21066 static PyObject
* AcceleratorTable_swigregister(PyObject
*self
, PyObject
*args
) {
21068 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21069 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorTable
, obj
);
21071 return Py_BuildValue((char *)"");
21073 static int _wrap_NullAcceleratorTable_set(PyObject
*_val
) {
21074 PyErr_SetString(PyExc_TypeError
,"Variable NullAcceleratorTable is read-only.");
21079 static PyObject
*_wrap_NullAcceleratorTable_get() {
21082 pyobj
= SWIG_NewPointerObj((void *)(&wxNullAcceleratorTable
), SWIGTYPE_p_wxAcceleratorTable
, 0);
21087 static PyObject
*_wrap_GetAccelFromString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21088 PyObject
*resultobj
;
21089 wxString
*arg1
= 0 ;
21090 wxAcceleratorEntry
*result
;
21091 bool temp1
= False
;
21092 PyObject
* obj0
= 0 ;
21093 char *kwnames
[] = {
21094 (char *) "label", NULL
21097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetAccelFromString",kwnames
,&obj0
)) goto fail
;
21099 arg1
= wxString_in_helper(obj0
);
21100 if (arg1
== NULL
) SWIG_fail
;
21104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21105 result
= (wxAcceleratorEntry
*)wxGetAccelFromString((wxString
const &)*arg1
);
21107 wxPyEndAllowThreads(__tstate
);
21108 if (PyErr_Occurred()) SWIG_fail
;
21110 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 0);
21125 static int _wrap_PanelNameStr_set(PyObject
*_val
) {
21126 PyErr_SetString(PyExc_TypeError
,"Variable PanelNameStr is read-only.");
21131 static PyObject
*_wrap_PanelNameStr_get() {
21136 pyobj
= PyUnicode_FromWideChar((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
21138 pyobj
= PyString_FromStringAndSize((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
21145 static PyObject
*_wrap_new_VisualAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21146 PyObject
*resultobj
;
21147 wxVisualAttributes
*result
;
21148 char *kwnames
[] = {
21152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_VisualAttributes",kwnames
)) goto fail
;
21154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21155 result
= (wxVisualAttributes
*)new_wxVisualAttributes();
21157 wxPyEndAllowThreads(__tstate
);
21158 if (PyErr_Occurred()) SWIG_fail
;
21160 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxVisualAttributes
, 1);
21167 static PyObject
*_wrap_delete_VisualAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21168 PyObject
*resultobj
;
21169 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21170 PyObject
* obj0
= 0 ;
21171 char *kwnames
[] = {
21172 (char *) "self", NULL
21175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_VisualAttributes",kwnames
,&obj0
)) goto fail
;
21176 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21177 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21180 delete_wxVisualAttributes(arg1
);
21182 wxPyEndAllowThreads(__tstate
);
21183 if (PyErr_Occurred()) SWIG_fail
;
21185 Py_INCREF(Py_None
); resultobj
= Py_None
;
21192 static PyObject
*_wrap_VisualAttributes_font_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21193 PyObject
*resultobj
;
21194 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21195 wxFont
*arg2
= (wxFont
*) 0 ;
21196 PyObject
* obj0
= 0 ;
21197 PyObject
* obj1
= 0 ;
21198 char *kwnames
[] = {
21199 (char *) "self",(char *) "font", NULL
21202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_font_set",kwnames
,&obj0
,&obj1
)) goto fail
;
21203 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21204 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21205 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
21206 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21207 if (arg1
) (arg1
)->font
= *arg2
;
21209 Py_INCREF(Py_None
); resultobj
= Py_None
;
21216 static PyObject
*_wrap_VisualAttributes_font_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21217 PyObject
*resultobj
;
21218 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21220 PyObject
* obj0
= 0 ;
21221 char *kwnames
[] = {
21222 (char *) "self", NULL
21225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_font_get",kwnames
,&obj0
)) goto fail
;
21226 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21227 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21228 result
= (wxFont
*)& ((arg1
)->font
);
21230 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 0);
21237 static PyObject
*_wrap_VisualAttributes_colFg_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21238 PyObject
*resultobj
;
21239 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21240 wxColour
*arg2
= (wxColour
*) 0 ;
21241 PyObject
* obj0
= 0 ;
21242 PyObject
* obj1
= 0 ;
21243 char *kwnames
[] = {
21244 (char *) "self",(char *) "colFg", NULL
21247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_colFg_set",kwnames
,&obj0
,&obj1
)) goto fail
;
21248 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21249 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21250 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxColour
,
21251 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21252 if (arg1
) (arg1
)->colFg
= *arg2
;
21254 Py_INCREF(Py_None
); resultobj
= Py_None
;
21261 static PyObject
*_wrap_VisualAttributes_colFg_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21262 PyObject
*resultobj
;
21263 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21265 PyObject
* obj0
= 0 ;
21266 char *kwnames
[] = {
21267 (char *) "self", NULL
21270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_colFg_get",kwnames
,&obj0
)) goto fail
;
21271 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21272 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21273 result
= (wxColour
*)& ((arg1
)->colFg
);
21275 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
21282 static PyObject
*_wrap_VisualAttributes_colBg_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21283 PyObject
*resultobj
;
21284 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21285 wxColour
*arg2
= (wxColour
*) 0 ;
21286 PyObject
* obj0
= 0 ;
21287 PyObject
* obj1
= 0 ;
21288 char *kwnames
[] = {
21289 (char *) "self",(char *) "colBg", NULL
21292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_colBg_set",kwnames
,&obj0
,&obj1
)) goto fail
;
21293 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21294 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21295 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxColour
,
21296 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21297 if (arg1
) (arg1
)->colBg
= *arg2
;
21299 Py_INCREF(Py_None
); resultobj
= Py_None
;
21306 static PyObject
*_wrap_VisualAttributes_colBg_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21307 PyObject
*resultobj
;
21308 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21310 PyObject
* obj0
= 0 ;
21311 char *kwnames
[] = {
21312 (char *) "self", NULL
21315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_colBg_get",kwnames
,&obj0
)) goto fail
;
21316 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21317 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21318 result
= (wxColour
*)& ((arg1
)->colBg
);
21320 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
21327 static PyObject
* VisualAttributes_swigregister(PyObject
*self
, PyObject
*args
) {
21329 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21330 SWIG_TypeClientData(SWIGTYPE_p_wxVisualAttributes
, obj
);
21332 return Py_BuildValue((char *)"");
21334 static PyObject
*_wrap_new_Window(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21335 PyObject
*resultobj
;
21336 wxWindow
*arg1
= (wxWindow
*) 0 ;
21337 int arg2
= (int) (int)-1 ;
21338 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21339 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21340 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21341 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21342 long arg5
= (long) 0 ;
21343 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
21344 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21348 bool temp6
= False
;
21349 PyObject
* obj0
= 0 ;
21350 PyObject
* obj1
= 0 ;
21351 PyObject
* obj2
= 0 ;
21352 PyObject
* obj3
= 0 ;
21353 PyObject
* obj4
= 0 ;
21354 PyObject
* obj5
= 0 ;
21355 char *kwnames
[] = {
21356 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Window",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
21360 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21361 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21363 arg2
= (int const) SWIG_AsInt(obj1
);
21364 if (PyErr_Occurred()) SWIG_fail
;
21369 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21375 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21379 arg5
= (long) SWIG_AsLong(obj4
);
21380 if (PyErr_Occurred()) SWIG_fail
;
21384 arg6
= wxString_in_helper(obj5
);
21385 if (arg6
== NULL
) SWIG_fail
;
21390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21391 result
= (wxWindow
*)new wxWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21393 wxPyEndAllowThreads(__tstate
);
21394 if (PyErr_Occurred()) SWIG_fail
;
21397 resultobj
= wxPyMake_wxObject(result
);
21413 static PyObject
*_wrap_new_PreWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21414 PyObject
*resultobj
;
21416 char *kwnames
[] = {
21420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreWindow",kwnames
)) goto fail
;
21422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21423 result
= (wxWindow
*)new wxWindow();
21425 wxPyEndAllowThreads(__tstate
);
21426 if (PyErr_Occurred()) SWIG_fail
;
21429 resultobj
= wxPyMake_wxObject(result
);
21437 static PyObject
*_wrap_Window_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21438 PyObject
*resultobj
;
21439 wxWindow
*arg1
= (wxWindow
*) 0 ;
21440 wxWindow
*arg2
= (wxWindow
*) 0 ;
21441 int arg3
= (int) (int)-1 ;
21442 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21443 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21444 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21445 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21446 long arg6
= (long) 0 ;
21447 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
21448 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21452 bool temp7
= False
;
21453 PyObject
* obj0
= 0 ;
21454 PyObject
* obj1
= 0 ;
21455 PyObject
* obj2
= 0 ;
21456 PyObject
* obj3
= 0 ;
21457 PyObject
* obj4
= 0 ;
21458 PyObject
* obj5
= 0 ;
21459 PyObject
* obj6
= 0 ;
21460 char *kwnames
[] = {
21461 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Window_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
21465 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21466 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21467 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
21468 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21470 arg3
= (int const) SWIG_AsInt(obj2
);
21471 if (PyErr_Occurred()) SWIG_fail
;
21476 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21482 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21486 arg6
= (long) SWIG_AsLong(obj5
);
21487 if (PyErr_Occurred()) SWIG_fail
;
21491 arg7
= wxString_in_helper(obj6
);
21492 if (arg7
== NULL
) SWIG_fail
;
21497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21498 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21500 wxPyEndAllowThreads(__tstate
);
21501 if (PyErr_Occurred()) SWIG_fail
;
21504 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21520 static PyObject
*_wrap_Window_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21521 PyObject
*resultobj
;
21522 wxWindow
*arg1
= (wxWindow
*) 0 ;
21523 bool arg2
= (bool) False
;
21525 PyObject
* obj0
= 0 ;
21526 PyObject
* obj1
= 0 ;
21527 char *kwnames
[] = {
21528 (char *) "self",(char *) "force", NULL
21531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Close",kwnames
,&obj0
,&obj1
)) goto fail
;
21532 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21533 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21535 arg2
= (bool) SWIG_AsBool(obj1
);
21536 if (PyErr_Occurred()) SWIG_fail
;
21539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21540 result
= (bool)(arg1
)->Close(arg2
);
21542 wxPyEndAllowThreads(__tstate
);
21543 if (PyErr_Occurred()) SWIG_fail
;
21546 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21554 static PyObject
*_wrap_Window_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21555 PyObject
*resultobj
;
21556 wxWindow
*arg1
= (wxWindow
*) 0 ;
21558 PyObject
* obj0
= 0 ;
21559 char *kwnames
[] = {
21560 (char *) "self", NULL
21563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Destroy",kwnames
,&obj0
)) goto fail
;
21564 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21565 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21568 result
= (bool)(arg1
)->Destroy();
21570 wxPyEndAllowThreads(__tstate
);
21571 if (PyErr_Occurred()) SWIG_fail
;
21574 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21582 static PyObject
*_wrap_Window_DestroyChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21583 PyObject
*resultobj
;
21584 wxWindow
*arg1
= (wxWindow
*) 0 ;
21586 PyObject
* obj0
= 0 ;
21587 char *kwnames
[] = {
21588 (char *) "self", NULL
21591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_DestroyChildren",kwnames
,&obj0
)) goto fail
;
21592 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21593 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21596 result
= (bool)(arg1
)->DestroyChildren();
21598 wxPyEndAllowThreads(__tstate
);
21599 if (PyErr_Occurred()) SWIG_fail
;
21602 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21610 static PyObject
*_wrap_Window_IsBeingDeleted(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21611 PyObject
*resultobj
;
21612 wxWindow
*arg1
= (wxWindow
*) 0 ;
21614 PyObject
* obj0
= 0 ;
21615 char *kwnames
[] = {
21616 (char *) "self", NULL
21619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsBeingDeleted",kwnames
,&obj0
)) goto fail
;
21620 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21621 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21624 result
= (bool)((wxWindow
const *)arg1
)->IsBeingDeleted();
21626 wxPyEndAllowThreads(__tstate
);
21627 if (PyErr_Occurred()) SWIG_fail
;
21630 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21638 static PyObject
*_wrap_Window_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21639 PyObject
*resultobj
;
21640 wxWindow
*arg1
= (wxWindow
*) 0 ;
21641 wxString
*arg2
= 0 ;
21642 bool temp2
= False
;
21643 PyObject
* obj0
= 0 ;
21644 PyObject
* obj1
= 0 ;
21645 char *kwnames
[] = {
21646 (char *) "self",(char *) "title", NULL
21649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
21650 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21651 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21653 arg2
= wxString_in_helper(obj1
);
21654 if (arg2
== NULL
) SWIG_fail
;
21658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21659 (arg1
)->SetTitle((wxString
const &)*arg2
);
21661 wxPyEndAllowThreads(__tstate
);
21662 if (PyErr_Occurred()) SWIG_fail
;
21664 Py_INCREF(Py_None
); resultobj
= Py_None
;
21679 static PyObject
*_wrap_Window_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21680 PyObject
*resultobj
;
21681 wxWindow
*arg1
= (wxWindow
*) 0 ;
21683 PyObject
* obj0
= 0 ;
21684 char *kwnames
[] = {
21685 (char *) "self", NULL
21688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetTitle",kwnames
,&obj0
)) goto fail
;
21689 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21690 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21693 result
= ((wxWindow
const *)arg1
)->GetTitle();
21695 wxPyEndAllowThreads(__tstate
);
21696 if (PyErr_Occurred()) SWIG_fail
;
21700 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21702 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21711 static PyObject
*_wrap_Window_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21712 PyObject
*resultobj
;
21713 wxWindow
*arg1
= (wxWindow
*) 0 ;
21714 wxString
*arg2
= 0 ;
21715 bool temp2
= False
;
21716 PyObject
* obj0
= 0 ;
21717 PyObject
* obj1
= 0 ;
21718 char *kwnames
[] = {
21719 (char *) "self",(char *) "label", NULL
21722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
21723 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21724 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21726 arg2
= wxString_in_helper(obj1
);
21727 if (arg2
== NULL
) SWIG_fail
;
21731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21732 (arg1
)->SetLabel((wxString
const &)*arg2
);
21734 wxPyEndAllowThreads(__tstate
);
21735 if (PyErr_Occurred()) SWIG_fail
;
21737 Py_INCREF(Py_None
); resultobj
= Py_None
;
21752 static PyObject
*_wrap_Window_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21753 PyObject
*resultobj
;
21754 wxWindow
*arg1
= (wxWindow
*) 0 ;
21756 PyObject
* obj0
= 0 ;
21757 char *kwnames
[] = {
21758 (char *) "self", NULL
21761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetLabel",kwnames
,&obj0
)) goto fail
;
21762 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21763 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21766 result
= ((wxWindow
const *)arg1
)->GetLabel();
21768 wxPyEndAllowThreads(__tstate
);
21769 if (PyErr_Occurred()) SWIG_fail
;
21773 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21775 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21784 static PyObject
*_wrap_Window_SetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21785 PyObject
*resultobj
;
21786 wxWindow
*arg1
= (wxWindow
*) 0 ;
21787 wxString
*arg2
= 0 ;
21788 bool temp2
= False
;
21789 PyObject
* obj0
= 0 ;
21790 PyObject
* obj1
= 0 ;
21791 char *kwnames
[] = {
21792 (char *) "self",(char *) "name", NULL
21795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetName",kwnames
,&obj0
,&obj1
)) goto fail
;
21796 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21797 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21799 arg2
= wxString_in_helper(obj1
);
21800 if (arg2
== NULL
) SWIG_fail
;
21804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21805 (arg1
)->SetName((wxString
const &)*arg2
);
21807 wxPyEndAllowThreads(__tstate
);
21808 if (PyErr_Occurred()) SWIG_fail
;
21810 Py_INCREF(Py_None
); resultobj
= Py_None
;
21825 static PyObject
*_wrap_Window_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21826 PyObject
*resultobj
;
21827 wxWindow
*arg1
= (wxWindow
*) 0 ;
21829 PyObject
* obj0
= 0 ;
21830 char *kwnames
[] = {
21831 (char *) "self", NULL
21834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetName",kwnames
,&obj0
)) goto fail
;
21835 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21836 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21839 result
= ((wxWindow
const *)arg1
)->GetName();
21841 wxPyEndAllowThreads(__tstate
);
21842 if (PyErr_Occurred()) SWIG_fail
;
21846 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21848 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21857 static PyObject
*_wrap_Window_SetWindowVariant(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21858 PyObject
*resultobj
;
21859 wxWindow
*arg1
= (wxWindow
*) 0 ;
21861 PyObject
* obj0
= 0 ;
21862 PyObject
* obj1
= 0 ;
21863 char *kwnames
[] = {
21864 (char *) "self",(char *) "variant", NULL
21867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetWindowVariant",kwnames
,&obj0
,&obj1
)) goto fail
;
21868 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21869 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21870 arg2
= (wxWindowVariant
) SWIG_AsInt(obj1
);
21871 if (PyErr_Occurred()) SWIG_fail
;
21873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21874 (arg1
)->SetWindowVariant((wxWindowVariant
)arg2
);
21876 wxPyEndAllowThreads(__tstate
);
21877 if (PyErr_Occurred()) SWIG_fail
;
21879 Py_INCREF(Py_None
); resultobj
= Py_None
;
21886 static PyObject
*_wrap_Window_GetWindowVariant(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21887 PyObject
*resultobj
;
21888 wxWindow
*arg1
= (wxWindow
*) 0 ;
21890 PyObject
* obj0
= 0 ;
21891 char *kwnames
[] = {
21892 (char *) "self", NULL
21895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetWindowVariant",kwnames
,&obj0
)) goto fail
;
21896 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21897 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21900 result
= (int)((wxWindow
const *)arg1
)->GetWindowVariant();
21902 wxPyEndAllowThreads(__tstate
);
21903 if (PyErr_Occurred()) SWIG_fail
;
21905 resultobj
= SWIG_FromInt((int)result
);
21912 static PyObject
*_wrap_Window_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21913 PyObject
*resultobj
;
21914 wxWindow
*arg1
= (wxWindow
*) 0 ;
21916 PyObject
* obj0
= 0 ;
21917 PyObject
* obj1
= 0 ;
21918 char *kwnames
[] = {
21919 (char *) "self",(char *) "winid", NULL
21922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
21923 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21924 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21925 arg2
= (int) SWIG_AsInt(obj1
);
21926 if (PyErr_Occurred()) SWIG_fail
;
21928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21929 (arg1
)->SetId(arg2
);
21931 wxPyEndAllowThreads(__tstate
);
21932 if (PyErr_Occurred()) SWIG_fail
;
21934 Py_INCREF(Py_None
); resultobj
= Py_None
;
21941 static PyObject
*_wrap_Window_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21942 PyObject
*resultobj
;
21943 wxWindow
*arg1
= (wxWindow
*) 0 ;
21945 PyObject
* obj0
= 0 ;
21946 char *kwnames
[] = {
21947 (char *) "self", NULL
21950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetId",kwnames
,&obj0
)) goto fail
;
21951 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21952 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21955 result
= (int)((wxWindow
const *)arg1
)->GetId();
21957 wxPyEndAllowThreads(__tstate
);
21958 if (PyErr_Occurred()) SWIG_fail
;
21960 resultobj
= SWIG_FromInt((int)result
);
21967 static PyObject
*_wrap_Window_NewControlId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21968 PyObject
*resultobj
;
21970 char *kwnames
[] = {
21974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_NewControlId",kwnames
)) goto fail
;
21976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21977 result
= (int)wxWindow::NewControlId();
21979 wxPyEndAllowThreads(__tstate
);
21980 if (PyErr_Occurred()) SWIG_fail
;
21982 resultobj
= SWIG_FromInt((int)result
);
21989 static PyObject
*_wrap_Window_NextControlId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21990 PyObject
*resultobj
;
21993 PyObject
* obj0
= 0 ;
21994 char *kwnames
[] = {
21995 (char *) "winid", NULL
21998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_NextControlId",kwnames
,&obj0
)) goto fail
;
21999 arg1
= (int) SWIG_AsInt(obj0
);
22000 if (PyErr_Occurred()) SWIG_fail
;
22002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22003 result
= (int)wxWindow::NextControlId(arg1
);
22005 wxPyEndAllowThreads(__tstate
);
22006 if (PyErr_Occurred()) SWIG_fail
;
22008 resultobj
= SWIG_FromInt((int)result
);
22015 static PyObject
*_wrap_Window_PrevControlId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22016 PyObject
*resultobj
;
22019 PyObject
* obj0
= 0 ;
22020 char *kwnames
[] = {
22021 (char *) "winid", NULL
22024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PrevControlId",kwnames
,&obj0
)) goto fail
;
22025 arg1
= (int) SWIG_AsInt(obj0
);
22026 if (PyErr_Occurred()) SWIG_fail
;
22028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22029 result
= (int)wxWindow::PrevControlId(arg1
);
22031 wxPyEndAllowThreads(__tstate
);
22032 if (PyErr_Occurred()) SWIG_fail
;
22034 resultobj
= SWIG_FromInt((int)result
);
22041 static PyObject
*_wrap_Window_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22042 PyObject
*resultobj
;
22043 wxWindow
*arg1
= (wxWindow
*) 0 ;
22046 PyObject
* obj0
= 0 ;
22047 PyObject
* obj1
= 0 ;
22048 char *kwnames
[] = {
22049 (char *) "self",(char *) "size", NULL
22052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
22053 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22054 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22057 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
22060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22061 (arg1
)->SetSize((wxSize
const &)*arg2
);
22063 wxPyEndAllowThreads(__tstate
);
22064 if (PyErr_Occurred()) SWIG_fail
;
22066 Py_INCREF(Py_None
); resultobj
= Py_None
;
22073 static PyObject
*_wrap_Window_SetDimensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22074 PyObject
*resultobj
;
22075 wxWindow
*arg1
= (wxWindow
*) 0 ;
22080 int arg6
= (int) wxSIZE_AUTO
;
22081 PyObject
* obj0
= 0 ;
22082 PyObject
* obj1
= 0 ;
22083 PyObject
* obj2
= 0 ;
22084 PyObject
* obj3
= 0 ;
22085 PyObject
* obj4
= 0 ;
22086 PyObject
* obj5
= 0 ;
22087 char *kwnames
[] = {
22088 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
22091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Window_SetDimensions",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
22092 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22093 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22094 arg2
= (int) SWIG_AsInt(obj1
);
22095 if (PyErr_Occurred()) SWIG_fail
;
22096 arg3
= (int) SWIG_AsInt(obj2
);
22097 if (PyErr_Occurred()) SWIG_fail
;
22098 arg4
= (int) SWIG_AsInt(obj3
);
22099 if (PyErr_Occurred()) SWIG_fail
;
22100 arg5
= (int) SWIG_AsInt(obj4
);
22101 if (PyErr_Occurred()) SWIG_fail
;
22103 arg6
= (int) SWIG_AsInt(obj5
);
22104 if (PyErr_Occurred()) SWIG_fail
;
22107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22108 (arg1
)->SetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
22110 wxPyEndAllowThreads(__tstate
);
22111 if (PyErr_Occurred()) SWIG_fail
;
22113 Py_INCREF(Py_None
); resultobj
= Py_None
;
22120 static PyObject
*_wrap_Window_SetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22121 PyObject
*resultobj
;
22122 wxWindow
*arg1
= (wxWindow
*) 0 ;
22124 int arg3
= (int) wxSIZE_AUTO
;
22126 PyObject
* obj0
= 0 ;
22127 PyObject
* obj1
= 0 ;
22128 PyObject
* obj2
= 0 ;
22129 char *kwnames
[] = {
22130 (char *) "self",(char *) "rect",(char *) "sizeFlags", NULL
22133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22134 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22135 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22138 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
22141 arg3
= (int) SWIG_AsInt(obj2
);
22142 if (PyErr_Occurred()) SWIG_fail
;
22145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22146 (arg1
)->SetSize((wxRect
const &)*arg2
,arg3
);
22148 wxPyEndAllowThreads(__tstate
);
22149 if (PyErr_Occurred()) SWIG_fail
;
22151 Py_INCREF(Py_None
); resultobj
= Py_None
;
22158 static PyObject
*_wrap_Window_SetSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22159 PyObject
*resultobj
;
22160 wxWindow
*arg1
= (wxWindow
*) 0 ;
22163 PyObject
* obj0
= 0 ;
22164 PyObject
* obj1
= 0 ;
22165 PyObject
* obj2
= 0 ;
22166 char *kwnames
[] = {
22167 (char *) "self",(char *) "width",(char *) "height", NULL
22170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22171 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22172 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22173 arg2
= (int) SWIG_AsInt(obj1
);
22174 if (PyErr_Occurred()) SWIG_fail
;
22175 arg3
= (int) SWIG_AsInt(obj2
);
22176 if (PyErr_Occurred()) SWIG_fail
;
22178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22179 (arg1
)->SetSize(arg2
,arg3
);
22181 wxPyEndAllowThreads(__tstate
);
22182 if (PyErr_Occurred()) SWIG_fail
;
22184 Py_INCREF(Py_None
); resultobj
= Py_None
;
22191 static PyObject
*_wrap_Window_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22192 PyObject
*resultobj
;
22193 wxWindow
*arg1
= (wxWindow
*) 0 ;
22194 wxPoint
*arg2
= 0 ;
22195 int arg3
= (int) wxSIZE_USE_EXISTING
;
22197 PyObject
* obj0
= 0 ;
22198 PyObject
* obj1
= 0 ;
22199 PyObject
* obj2
= 0 ;
22200 char *kwnames
[] = {
22201 (char *) "self",(char *) "pt",(char *) "flags", NULL
22204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_Move",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22205 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22206 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22209 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22212 arg3
= (int) SWIG_AsInt(obj2
);
22213 if (PyErr_Occurred()) SWIG_fail
;
22216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22217 (arg1
)->Move((wxPoint
const &)*arg2
,arg3
);
22219 wxPyEndAllowThreads(__tstate
);
22220 if (PyErr_Occurred()) SWIG_fail
;
22222 Py_INCREF(Py_None
); resultobj
= Py_None
;
22229 static PyObject
*_wrap_Window_MoveXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22230 PyObject
*resultobj
;
22231 wxWindow
*arg1
= (wxWindow
*) 0 ;
22234 int arg4
= (int) wxSIZE_USE_EXISTING
;
22235 PyObject
* obj0
= 0 ;
22236 PyObject
* obj1
= 0 ;
22237 PyObject
* obj2
= 0 ;
22238 PyObject
* obj3
= 0 ;
22239 char *kwnames
[] = {
22240 (char *) "self",(char *) "x",(char *) "y",(char *) "flags", NULL
22243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_MoveXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22244 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22245 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22246 arg2
= (int) SWIG_AsInt(obj1
);
22247 if (PyErr_Occurred()) SWIG_fail
;
22248 arg3
= (int) SWIG_AsInt(obj2
);
22249 if (PyErr_Occurred()) SWIG_fail
;
22251 arg4
= (int) SWIG_AsInt(obj3
);
22252 if (PyErr_Occurred()) SWIG_fail
;
22255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22256 (arg1
)->Move(arg2
,arg3
,arg4
);
22258 wxPyEndAllowThreads(__tstate
);
22259 if (PyErr_Occurred()) SWIG_fail
;
22261 Py_INCREF(Py_None
); resultobj
= Py_None
;
22268 static PyObject
*_wrap_Window_Raise(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22269 PyObject
*resultobj
;
22270 wxWindow
*arg1
= (wxWindow
*) 0 ;
22271 PyObject
* obj0
= 0 ;
22272 char *kwnames
[] = {
22273 (char *) "self", NULL
22276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Raise",kwnames
,&obj0
)) goto fail
;
22277 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22278 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22283 wxPyEndAllowThreads(__tstate
);
22284 if (PyErr_Occurred()) SWIG_fail
;
22286 Py_INCREF(Py_None
); resultobj
= Py_None
;
22293 static PyObject
*_wrap_Window_Lower(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22294 PyObject
*resultobj
;
22295 wxWindow
*arg1
= (wxWindow
*) 0 ;
22296 PyObject
* obj0
= 0 ;
22297 char *kwnames
[] = {
22298 (char *) "self", NULL
22301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Lower",kwnames
,&obj0
)) goto fail
;
22302 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22303 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22308 wxPyEndAllowThreads(__tstate
);
22309 if (PyErr_Occurred()) SWIG_fail
;
22311 Py_INCREF(Py_None
); resultobj
= Py_None
;
22318 static PyObject
*_wrap_Window_SetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22319 PyObject
*resultobj
;
22320 wxWindow
*arg1
= (wxWindow
*) 0 ;
22323 PyObject
* obj0
= 0 ;
22324 PyObject
* obj1
= 0 ;
22325 char *kwnames
[] = {
22326 (char *) "self",(char *) "size", NULL
22329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientSize",kwnames
,&obj0
,&obj1
)) goto fail
;
22330 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22331 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22334 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
22337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22338 (arg1
)->SetClientSize((wxSize
const &)*arg2
);
22340 wxPyEndAllowThreads(__tstate
);
22341 if (PyErr_Occurred()) SWIG_fail
;
22343 Py_INCREF(Py_None
); resultobj
= Py_None
;
22350 static PyObject
*_wrap_Window_SetClientSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22351 PyObject
*resultobj
;
22352 wxWindow
*arg1
= (wxWindow
*) 0 ;
22355 PyObject
* obj0
= 0 ;
22356 PyObject
* obj1
= 0 ;
22357 PyObject
* obj2
= 0 ;
22358 char *kwnames
[] = {
22359 (char *) "self",(char *) "width",(char *) "height", NULL
22362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetClientSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22363 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22364 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22365 arg2
= (int) SWIG_AsInt(obj1
);
22366 if (PyErr_Occurred()) SWIG_fail
;
22367 arg3
= (int) SWIG_AsInt(obj2
);
22368 if (PyErr_Occurred()) SWIG_fail
;
22370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22371 (arg1
)->SetClientSize(arg2
,arg3
);
22373 wxPyEndAllowThreads(__tstate
);
22374 if (PyErr_Occurred()) SWIG_fail
;
22376 Py_INCREF(Py_None
); resultobj
= Py_None
;
22383 static PyObject
*_wrap_Window_SetClientRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22384 PyObject
*resultobj
;
22385 wxWindow
*arg1
= (wxWindow
*) 0 ;
22388 PyObject
* obj0
= 0 ;
22389 PyObject
* obj1
= 0 ;
22390 char *kwnames
[] = {
22391 (char *) "self",(char *) "rect", NULL
22394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientRect",kwnames
,&obj0
,&obj1
)) goto fail
;
22395 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22396 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22399 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
22402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22403 (arg1
)->SetClientSize((wxRect
const &)*arg2
);
22405 wxPyEndAllowThreads(__tstate
);
22406 if (PyErr_Occurred()) SWIG_fail
;
22408 Py_INCREF(Py_None
); resultobj
= Py_None
;
22415 static PyObject
*_wrap_Window_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22416 PyObject
*resultobj
;
22417 wxWindow
*arg1
= (wxWindow
*) 0 ;
22419 PyObject
* obj0
= 0 ;
22420 char *kwnames
[] = {
22421 (char *) "self", NULL
22424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetPosition",kwnames
,&obj0
)) goto fail
;
22425 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22426 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22429 result
= (arg1
)->GetPosition();
22431 wxPyEndAllowThreads(__tstate
);
22432 if (PyErr_Occurred()) SWIG_fail
;
22435 wxPoint
* resultptr
;
22436 resultptr
= new wxPoint((wxPoint
&) result
);
22437 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
22445 static PyObject
*_wrap_Window_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22446 PyObject
*resultobj
;
22447 wxWindow
*arg1
= (wxWindow
*) 0 ;
22448 int *arg2
= (int *) 0 ;
22449 int *arg3
= (int *) 0 ;
22452 PyObject
* obj0
= 0 ;
22453 char *kwnames
[] = {
22454 (char *) "self", NULL
22459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
22460 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22461 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22464 (arg1
)->GetPosition(arg2
,arg3
);
22466 wxPyEndAllowThreads(__tstate
);
22467 if (PyErr_Occurred()) SWIG_fail
;
22469 Py_INCREF(Py_None
); resultobj
= Py_None
;
22471 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
22472 resultobj
= t_output_helper(resultobj
,o
);
22475 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22476 resultobj
= t_output_helper(resultobj
,o
);
22484 static PyObject
*_wrap_Window_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22485 PyObject
*resultobj
;
22486 wxWindow
*arg1
= (wxWindow
*) 0 ;
22488 PyObject
* obj0
= 0 ;
22489 char *kwnames
[] = {
22490 (char *) "self", NULL
22493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSize",kwnames
,&obj0
)) goto fail
;
22494 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22495 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22498 result
= ((wxWindow
const *)arg1
)->GetSize();
22500 wxPyEndAllowThreads(__tstate
);
22501 if (PyErr_Occurred()) SWIG_fail
;
22504 wxSize
* resultptr
;
22505 resultptr
= new wxSize((wxSize
&) result
);
22506 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
22514 static PyObject
*_wrap_Window_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22515 PyObject
*resultobj
;
22516 wxWindow
*arg1
= (wxWindow
*) 0 ;
22517 int *arg2
= (int *) 0 ;
22518 int *arg3
= (int *) 0 ;
22521 PyObject
* obj0
= 0 ;
22522 char *kwnames
[] = {
22523 (char *) "self", NULL
22528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
22529 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22530 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22533 ((wxWindow
const *)arg1
)->GetSize(arg2
,arg3
);
22535 wxPyEndAllowThreads(__tstate
);
22536 if (PyErr_Occurred()) SWIG_fail
;
22538 Py_INCREF(Py_None
); resultobj
= Py_None
;
22540 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
22541 resultobj
= t_output_helper(resultobj
,o
);
22544 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22545 resultobj
= t_output_helper(resultobj
,o
);
22553 static PyObject
*_wrap_Window_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22554 PyObject
*resultobj
;
22555 wxWindow
*arg1
= (wxWindow
*) 0 ;
22557 PyObject
* obj0
= 0 ;
22558 char *kwnames
[] = {
22559 (char *) "self", NULL
22562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetRect",kwnames
,&obj0
)) goto fail
;
22563 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22564 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22567 result
= ((wxWindow
const *)arg1
)->GetRect();
22569 wxPyEndAllowThreads(__tstate
);
22570 if (PyErr_Occurred()) SWIG_fail
;
22573 wxRect
* resultptr
;
22574 resultptr
= new wxRect((wxRect
&) result
);
22575 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
22583 static PyObject
*_wrap_Window_GetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22584 PyObject
*resultobj
;
22585 wxWindow
*arg1
= (wxWindow
*) 0 ;
22587 PyObject
* obj0
= 0 ;
22588 char *kwnames
[] = {
22589 (char *) "self", NULL
22592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientSize",kwnames
,&obj0
)) goto fail
;
22593 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22594 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22597 result
= ((wxWindow
const *)arg1
)->GetClientSize();
22599 wxPyEndAllowThreads(__tstate
);
22600 if (PyErr_Occurred()) SWIG_fail
;
22603 wxSize
* resultptr
;
22604 resultptr
= new wxSize((wxSize
&) result
);
22605 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
22613 static PyObject
*_wrap_Window_GetClientSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22614 PyObject
*resultobj
;
22615 wxWindow
*arg1
= (wxWindow
*) 0 ;
22616 int *arg2
= (int *) 0 ;
22617 int *arg3
= (int *) 0 ;
22620 PyObject
* obj0
= 0 ;
22621 char *kwnames
[] = {
22622 (char *) "self", NULL
22627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientSizeTuple",kwnames
,&obj0
)) goto fail
;
22628 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22629 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22632 ((wxWindow
const *)arg1
)->GetClientSize(arg2
,arg3
);
22634 wxPyEndAllowThreads(__tstate
);
22635 if (PyErr_Occurred()) SWIG_fail
;
22637 Py_INCREF(Py_None
); resultobj
= Py_None
;
22639 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
22640 resultobj
= t_output_helper(resultobj
,o
);
22643 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22644 resultobj
= t_output_helper(resultobj
,o
);
22652 static PyObject
*_wrap_Window_GetClientAreaOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22653 PyObject
*resultobj
;
22654 wxWindow
*arg1
= (wxWindow
*) 0 ;
22656 PyObject
* obj0
= 0 ;
22657 char *kwnames
[] = {
22658 (char *) "self", NULL
22661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientAreaOrigin",kwnames
,&obj0
)) goto fail
;
22662 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22663 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22666 result
= ((wxWindow
const *)arg1
)->GetClientAreaOrigin();
22668 wxPyEndAllowThreads(__tstate
);
22669 if (PyErr_Occurred()) SWIG_fail
;
22672 wxPoint
* resultptr
;
22673 resultptr
= new wxPoint((wxPoint
&) result
);
22674 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
22682 static PyObject
*_wrap_Window_GetClientRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22683 PyObject
*resultobj
;
22684 wxWindow
*arg1
= (wxWindow
*) 0 ;
22686 PyObject
* obj0
= 0 ;
22687 char *kwnames
[] = {
22688 (char *) "self", NULL
22691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientRect",kwnames
,&obj0
)) goto fail
;
22692 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22693 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22696 result
= ((wxWindow
const *)arg1
)->GetClientRect();
22698 wxPyEndAllowThreads(__tstate
);
22699 if (PyErr_Occurred()) SWIG_fail
;
22702 wxRect
* resultptr
;
22703 resultptr
= new wxRect((wxRect
&) result
);
22704 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
22712 static PyObject
*_wrap_Window_GetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22713 PyObject
*resultobj
;
22714 wxWindow
*arg1
= (wxWindow
*) 0 ;
22716 PyObject
* obj0
= 0 ;
22717 char *kwnames
[] = {
22718 (char *) "self", NULL
22721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestSize",kwnames
,&obj0
)) goto fail
;
22722 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22723 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22726 result
= ((wxWindow
const *)arg1
)->GetBestSize();
22728 wxPyEndAllowThreads(__tstate
);
22729 if (PyErr_Occurred()) SWIG_fail
;
22732 wxSize
* resultptr
;
22733 resultptr
= new wxSize((wxSize
&) result
);
22734 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
22742 static PyObject
*_wrap_Window_GetBestSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22743 PyObject
*resultobj
;
22744 wxWindow
*arg1
= (wxWindow
*) 0 ;
22745 int *arg2
= (int *) 0 ;
22746 int *arg3
= (int *) 0 ;
22749 PyObject
* obj0
= 0 ;
22750 char *kwnames
[] = {
22751 (char *) "self", NULL
22756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestSizeTuple",kwnames
,&obj0
)) goto fail
;
22757 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22758 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22761 ((wxWindow
const *)arg1
)->GetBestSize(arg2
,arg3
);
22763 wxPyEndAllowThreads(__tstate
);
22764 if (PyErr_Occurred()) SWIG_fail
;
22766 Py_INCREF(Py_None
); resultobj
= Py_None
;
22768 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
22769 resultobj
= t_output_helper(resultobj
,o
);
22772 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22773 resultobj
= t_output_helper(resultobj
,o
);
22781 static PyObject
*_wrap_Window_GetAdjustedBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22782 PyObject
*resultobj
;
22783 wxWindow
*arg1
= (wxWindow
*) 0 ;
22785 PyObject
* obj0
= 0 ;
22786 char *kwnames
[] = {
22787 (char *) "self", NULL
22790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAdjustedBestSize",kwnames
,&obj0
)) goto fail
;
22791 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22792 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22795 result
= ((wxWindow
const *)arg1
)->GetAdjustedBestSize();
22797 wxPyEndAllowThreads(__tstate
);
22798 if (PyErr_Occurred()) SWIG_fail
;
22801 wxSize
* resultptr
;
22802 resultptr
= new wxSize((wxSize
&) result
);
22803 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
22811 static PyObject
*_wrap_Window_Center(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22812 PyObject
*resultobj
;
22813 wxWindow
*arg1
= (wxWindow
*) 0 ;
22814 int arg2
= (int) wxBOTH
;
22815 PyObject
* obj0
= 0 ;
22816 PyObject
* obj1
= 0 ;
22817 char *kwnames
[] = {
22818 (char *) "self",(char *) "direction", NULL
22821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Center",kwnames
,&obj0
,&obj1
)) goto fail
;
22822 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22823 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22825 arg2
= (int) SWIG_AsInt(obj1
);
22826 if (PyErr_Occurred()) SWIG_fail
;
22829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22830 (arg1
)->Center(arg2
);
22832 wxPyEndAllowThreads(__tstate
);
22833 if (PyErr_Occurred()) SWIG_fail
;
22835 Py_INCREF(Py_None
); resultobj
= Py_None
;
22842 static PyObject
*_wrap_Window_CenterOnScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22843 PyObject
*resultobj
;
22844 wxWindow
*arg1
= (wxWindow
*) 0 ;
22845 int arg2
= (int) wxBOTH
;
22846 PyObject
* obj0
= 0 ;
22847 PyObject
* obj1
= 0 ;
22848 char *kwnames
[] = {
22849 (char *) "self",(char *) "dir", NULL
22852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_CenterOnScreen",kwnames
,&obj0
,&obj1
)) goto fail
;
22853 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22854 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22856 arg2
= (int) SWIG_AsInt(obj1
);
22857 if (PyErr_Occurred()) SWIG_fail
;
22860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22861 (arg1
)->CenterOnScreen(arg2
);
22863 wxPyEndAllowThreads(__tstate
);
22864 if (PyErr_Occurred()) SWIG_fail
;
22866 Py_INCREF(Py_None
); resultobj
= Py_None
;
22873 static PyObject
*_wrap_Window_CenterOnParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22874 PyObject
*resultobj
;
22875 wxWindow
*arg1
= (wxWindow
*) 0 ;
22876 int arg2
= (int) wxBOTH
;
22877 PyObject
* obj0
= 0 ;
22878 PyObject
* obj1
= 0 ;
22879 char *kwnames
[] = {
22880 (char *) "self",(char *) "dir", NULL
22883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_CenterOnParent",kwnames
,&obj0
,&obj1
)) goto fail
;
22884 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22885 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22887 arg2
= (int) SWIG_AsInt(obj1
);
22888 if (PyErr_Occurred()) SWIG_fail
;
22891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22892 (arg1
)->CenterOnParent(arg2
);
22894 wxPyEndAllowThreads(__tstate
);
22895 if (PyErr_Occurred()) SWIG_fail
;
22897 Py_INCREF(Py_None
); resultobj
= Py_None
;
22904 static PyObject
*_wrap_Window_Fit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22905 PyObject
*resultobj
;
22906 wxWindow
*arg1
= (wxWindow
*) 0 ;
22907 PyObject
* obj0
= 0 ;
22908 char *kwnames
[] = {
22909 (char *) "self", NULL
22912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Fit",kwnames
,&obj0
)) goto fail
;
22913 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22914 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22919 wxPyEndAllowThreads(__tstate
);
22920 if (PyErr_Occurred()) SWIG_fail
;
22922 Py_INCREF(Py_None
); resultobj
= Py_None
;
22929 static PyObject
*_wrap_Window_FitInside(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22930 PyObject
*resultobj
;
22931 wxWindow
*arg1
= (wxWindow
*) 0 ;
22932 PyObject
* obj0
= 0 ;
22933 char *kwnames
[] = {
22934 (char *) "self", NULL
22937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_FitInside",kwnames
,&obj0
)) goto fail
;
22938 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22939 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22942 (arg1
)->FitInside();
22944 wxPyEndAllowThreads(__tstate
);
22945 if (PyErr_Occurred()) SWIG_fail
;
22947 Py_INCREF(Py_None
); resultobj
= Py_None
;
22954 static PyObject
*_wrap_Window_SetSizeHints__SWIG_0(PyObject
*self
, PyObject
*args
) {
22955 PyObject
*resultobj
;
22956 wxWindow
*arg1
= (wxWindow
*) 0 ;
22959 int arg4
= (int) -1 ;
22960 int arg5
= (int) -1 ;
22961 int arg6
= (int) -1 ;
22962 int arg7
= (int) -1 ;
22963 PyObject
* obj0
= 0 ;
22964 PyObject
* obj1
= 0 ;
22965 PyObject
* obj2
= 0 ;
22966 PyObject
* obj3
= 0 ;
22967 PyObject
* obj4
= 0 ;
22968 PyObject
* obj5
= 0 ;
22969 PyObject
* obj6
= 0 ;
22971 if(!PyArg_ParseTuple(args
,(char *)"OOO|OOOO:Window_SetSizeHints",&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
22972 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22973 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22974 arg2
= (int) SWIG_AsInt(obj1
);
22975 if (PyErr_Occurred()) SWIG_fail
;
22976 arg3
= (int) SWIG_AsInt(obj2
);
22977 if (PyErr_Occurred()) SWIG_fail
;
22979 arg4
= (int) SWIG_AsInt(obj3
);
22980 if (PyErr_Occurred()) SWIG_fail
;
22983 arg5
= (int) SWIG_AsInt(obj4
);
22984 if (PyErr_Occurred()) SWIG_fail
;
22987 arg6
= (int) SWIG_AsInt(obj5
);
22988 if (PyErr_Occurred()) SWIG_fail
;
22991 arg7
= (int) SWIG_AsInt(obj6
);
22992 if (PyErr_Occurred()) SWIG_fail
;
22995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22996 (arg1
)->SetSizeHints(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
22998 wxPyEndAllowThreads(__tstate
);
22999 if (PyErr_Occurred()) SWIG_fail
;
23001 Py_INCREF(Py_None
); resultobj
= Py_None
;
23008 static PyObject
*_wrap_Window_SetSizeHints__SWIG_1(PyObject
*self
, PyObject
*args
) {
23009 PyObject
*resultobj
;
23010 wxWindow
*arg1
= (wxWindow
*) 0 ;
23012 wxSize
const &arg3_defvalue
= wxDefaultSize
;
23013 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
23014 wxSize
const &arg4_defvalue
= wxDefaultSize
;
23015 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
23019 PyObject
* obj0
= 0 ;
23020 PyObject
* obj1
= 0 ;
23021 PyObject
* obj2
= 0 ;
23022 PyObject
* obj3
= 0 ;
23024 if(!PyArg_ParseTuple(args
,(char *)"OO|OO:Window_SetSizeHints",&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
23025 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23026 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23029 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
23034 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
23040 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
23044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23045 (arg1
)->SetSizeHints((wxSize
const &)*arg2
,(wxSize
const &)*arg3
,(wxSize
const &)*arg4
);
23047 wxPyEndAllowThreads(__tstate
);
23048 if (PyErr_Occurred()) SWIG_fail
;
23050 Py_INCREF(Py_None
); resultobj
= Py_None
;
23057 static PyObject
*_wrap_Window_SetSizeHints(PyObject
*self
, PyObject
*args
) {
23062 argc
= PyObject_Length(args
);
23063 for (ii
= 0; (ii
< argc
) && (ii
< 7); ii
++) {
23064 argv
[ii
] = PyTuple_GetItem(args
,ii
);
23066 if ((argc
>= 2) && (argc
<= 4)) {
23070 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
23079 _v
= wxPySimple_typecheck(argv
[1], wxT("wxSize"), 2);
23083 return _wrap_Window_SetSizeHints__SWIG_1(self
,args
);
23086 _v
= wxPySimple_typecheck(argv
[2], wxT("wxSize"), 2);
23090 return _wrap_Window_SetSizeHints__SWIG_1(self
,args
);
23093 _v
= wxPySimple_typecheck(argv
[3], wxT("wxSize"), 2);
23096 return _wrap_Window_SetSizeHints__SWIG_1(self
,args
);
23102 if ((argc
>= 3) && (argc
<= 7)) {
23106 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
23114 _v
= SWIG_CheckInt(argv
[1]);
23116 _v
= SWIG_CheckInt(argv
[2]);
23119 return _wrap_Window_SetSizeHints__SWIG_0(self
,args
);
23121 _v
= SWIG_CheckInt(argv
[3]);
23124 return _wrap_Window_SetSizeHints__SWIG_0(self
,args
);
23126 _v
= SWIG_CheckInt(argv
[4]);
23129 return _wrap_Window_SetSizeHints__SWIG_0(self
,args
);
23131 _v
= SWIG_CheckInt(argv
[5]);
23134 return _wrap_Window_SetSizeHints__SWIG_0(self
,args
);
23136 _v
= SWIG_CheckInt(argv
[6]);
23138 return _wrap_Window_SetSizeHints__SWIG_0(self
,args
);
23148 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'Window_SetSizeHints'");
23153 static PyObject
*_wrap_Window_SetVirtualSizeHints__SWIG_0(PyObject
*self
, PyObject
*args
) {
23154 PyObject
*resultobj
;
23155 wxWindow
*arg1
= (wxWindow
*) 0 ;
23158 int arg4
= (int) -1 ;
23159 int arg5
= (int) -1 ;
23160 PyObject
* obj0
= 0 ;
23161 PyObject
* obj1
= 0 ;
23162 PyObject
* obj2
= 0 ;
23163 PyObject
* obj3
= 0 ;
23164 PyObject
* obj4
= 0 ;
23166 if(!PyArg_ParseTuple(args
,(char *)"OOO|OO:Window_SetVirtualSizeHints",&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
23167 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23168 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23169 arg2
= (int) SWIG_AsInt(obj1
);
23170 if (PyErr_Occurred()) SWIG_fail
;
23171 arg3
= (int) SWIG_AsInt(obj2
);
23172 if (PyErr_Occurred()) SWIG_fail
;
23174 arg4
= (int) SWIG_AsInt(obj3
);
23175 if (PyErr_Occurred()) SWIG_fail
;
23178 arg5
= (int) SWIG_AsInt(obj4
);
23179 if (PyErr_Occurred()) SWIG_fail
;
23182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23183 (arg1
)->SetVirtualSizeHints(arg2
,arg3
,arg4
,arg5
);
23185 wxPyEndAllowThreads(__tstate
);
23186 if (PyErr_Occurred()) SWIG_fail
;
23188 Py_INCREF(Py_None
); resultobj
= Py_None
;
23195 static PyObject
*_wrap_Window_SetVirtualSizeHints__SWIG_1(PyObject
*self
, PyObject
*args
) {
23196 PyObject
*resultobj
;
23197 wxWindow
*arg1
= (wxWindow
*) 0 ;
23199 wxSize
const &arg3_defvalue
= wxDefaultSize
;
23200 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
23203 PyObject
* obj0
= 0 ;
23204 PyObject
* obj1
= 0 ;
23205 PyObject
* obj2
= 0 ;
23207 if(!PyArg_ParseTuple(args
,(char *)"OO|O:Window_SetVirtualSizeHints",&obj0
,&obj1
,&obj2
)) goto fail
;
23208 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23209 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23212 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
23217 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
23221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23222 (arg1
)->SetVirtualSizeHints((wxSize
const &)*arg2
,(wxSize
const &)*arg3
);
23224 wxPyEndAllowThreads(__tstate
);
23225 if (PyErr_Occurred()) SWIG_fail
;
23227 Py_INCREF(Py_None
); resultobj
= Py_None
;
23234 static PyObject
*_wrap_Window_SetVirtualSizeHints(PyObject
*self
, PyObject
*args
) {
23239 argc
= PyObject_Length(args
);
23240 for (ii
= 0; (ii
< argc
) && (ii
< 5); ii
++) {
23241 argv
[ii
] = PyTuple_GetItem(args
,ii
);
23243 if ((argc
>= 2) && (argc
<= 3)) {
23247 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
23256 _v
= wxPySimple_typecheck(argv
[1], wxT("wxSize"), 2);
23260 return _wrap_Window_SetVirtualSizeHints__SWIG_1(self
,args
);
23263 _v
= wxPySimple_typecheck(argv
[2], wxT("wxSize"), 2);
23266 return _wrap_Window_SetVirtualSizeHints__SWIG_1(self
,args
);
23271 if ((argc
>= 3) && (argc
<= 5)) {
23275 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
23283 _v
= SWIG_CheckInt(argv
[1]);
23285 _v
= SWIG_CheckInt(argv
[2]);
23288 return _wrap_Window_SetVirtualSizeHints__SWIG_0(self
,args
);
23290 _v
= SWIG_CheckInt(argv
[3]);
23293 return _wrap_Window_SetVirtualSizeHints__SWIG_0(self
,args
);
23295 _v
= SWIG_CheckInt(argv
[4]);
23297 return _wrap_Window_SetVirtualSizeHints__SWIG_0(self
,args
);
23305 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'Window_SetVirtualSizeHints'");
23310 static PyObject
*_wrap_Window_GetMinWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23311 PyObject
*resultobj
;
23312 wxWindow
*arg1
= (wxWindow
*) 0 ;
23314 PyObject
* obj0
= 0 ;
23315 char *kwnames
[] = {
23316 (char *) "self", NULL
23319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinWidth",kwnames
,&obj0
)) goto fail
;
23320 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23321 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23324 result
= (int)((wxWindow
const *)arg1
)->GetMinWidth();
23326 wxPyEndAllowThreads(__tstate
);
23327 if (PyErr_Occurred()) SWIG_fail
;
23329 resultobj
= SWIG_FromInt((int)result
);
23336 static PyObject
*_wrap_Window_GetMinHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23337 PyObject
*resultobj
;
23338 wxWindow
*arg1
= (wxWindow
*) 0 ;
23340 PyObject
* obj0
= 0 ;
23341 char *kwnames
[] = {
23342 (char *) "self", NULL
23345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinHeight",kwnames
,&obj0
)) goto fail
;
23346 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23347 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23350 result
= (int)((wxWindow
const *)arg1
)->GetMinHeight();
23352 wxPyEndAllowThreads(__tstate
);
23353 if (PyErr_Occurred()) SWIG_fail
;
23355 resultobj
= SWIG_FromInt((int)result
);
23362 static PyObject
*_wrap_Window_GetMaxWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23363 PyObject
*resultobj
;
23364 wxWindow
*arg1
= (wxWindow
*) 0 ;
23366 PyObject
* obj0
= 0 ;
23367 char *kwnames
[] = {
23368 (char *) "self", NULL
23371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxWidth",kwnames
,&obj0
)) goto fail
;
23372 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23373 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23376 result
= (int)((wxWindow
const *)arg1
)->GetMaxWidth();
23378 wxPyEndAllowThreads(__tstate
);
23379 if (PyErr_Occurred()) SWIG_fail
;
23381 resultobj
= SWIG_FromInt((int)result
);
23388 static PyObject
*_wrap_Window_GetMaxHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23389 PyObject
*resultobj
;
23390 wxWindow
*arg1
= (wxWindow
*) 0 ;
23392 PyObject
* obj0
= 0 ;
23393 char *kwnames
[] = {
23394 (char *) "self", NULL
23397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxHeight",kwnames
,&obj0
)) goto fail
;
23398 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23399 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23402 result
= (int)((wxWindow
const *)arg1
)->GetMaxHeight();
23404 wxPyEndAllowThreads(__tstate
);
23405 if (PyErr_Occurred()) SWIG_fail
;
23407 resultobj
= SWIG_FromInt((int)result
);
23414 static PyObject
*_wrap_Window_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23415 PyObject
*resultobj
;
23416 wxWindow
*arg1
= (wxWindow
*) 0 ;
23418 PyObject
* obj0
= 0 ;
23419 char *kwnames
[] = {
23420 (char *) "self", NULL
23423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxSize",kwnames
,&obj0
)) goto fail
;
23424 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23425 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23428 result
= ((wxWindow
const *)arg1
)->GetMaxSize();
23430 wxPyEndAllowThreads(__tstate
);
23431 if (PyErr_Occurred()) SWIG_fail
;
23434 wxSize
* resultptr
;
23435 resultptr
= new wxSize((wxSize
&) result
);
23436 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23444 static PyObject
*_wrap_Window_GetMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23445 PyObject
*resultobj
;
23446 wxWindow
*arg1
= (wxWindow
*) 0 ;
23448 PyObject
* obj0
= 0 ;
23449 char *kwnames
[] = {
23450 (char *) "self", NULL
23453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinSize",kwnames
,&obj0
)) goto fail
;
23454 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23455 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23458 result
= ((wxWindow
const *)arg1
)->GetMinSize();
23460 wxPyEndAllowThreads(__tstate
);
23461 if (PyErr_Occurred()) SWIG_fail
;
23464 wxSize
* resultptr
;
23465 resultptr
= new wxSize((wxSize
&) result
);
23466 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23474 static PyObject
*_wrap_Window_SetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23475 PyObject
*resultobj
;
23476 wxWindow
*arg1
= (wxWindow
*) 0 ;
23479 PyObject
* obj0
= 0 ;
23480 PyObject
* obj1
= 0 ;
23481 char *kwnames
[] = {
23482 (char *) "self",(char *) "size", NULL
23485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetVirtualSize",kwnames
,&obj0
,&obj1
)) goto fail
;
23486 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23487 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23490 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
23493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23494 (arg1
)->SetVirtualSize((wxSize
const &)*arg2
);
23496 wxPyEndAllowThreads(__tstate
);
23497 if (PyErr_Occurred()) SWIG_fail
;
23499 Py_INCREF(Py_None
); resultobj
= Py_None
;
23506 static PyObject
*_wrap_Window_SetVirtualSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23507 PyObject
*resultobj
;
23508 wxWindow
*arg1
= (wxWindow
*) 0 ;
23511 PyObject
* obj0
= 0 ;
23512 PyObject
* obj1
= 0 ;
23513 PyObject
* obj2
= 0 ;
23514 char *kwnames
[] = {
23515 (char *) "self",(char *) "w",(char *) "h", NULL
23518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetVirtualSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23519 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23520 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23521 arg2
= (int) SWIG_AsInt(obj1
);
23522 if (PyErr_Occurred()) SWIG_fail
;
23523 arg3
= (int) SWIG_AsInt(obj2
);
23524 if (PyErr_Occurred()) SWIG_fail
;
23526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23527 (arg1
)->SetVirtualSize(arg2
,arg3
);
23529 wxPyEndAllowThreads(__tstate
);
23530 if (PyErr_Occurred()) SWIG_fail
;
23532 Py_INCREF(Py_None
); resultobj
= Py_None
;
23539 static PyObject
*_wrap_Window_GetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23540 PyObject
*resultobj
;
23541 wxWindow
*arg1
= (wxWindow
*) 0 ;
23543 PyObject
* obj0
= 0 ;
23544 char *kwnames
[] = {
23545 (char *) "self", NULL
23548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetVirtualSize",kwnames
,&obj0
)) goto fail
;
23549 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23550 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23553 result
= ((wxWindow
const *)arg1
)->GetVirtualSize();
23555 wxPyEndAllowThreads(__tstate
);
23556 if (PyErr_Occurred()) SWIG_fail
;
23559 wxSize
* resultptr
;
23560 resultptr
= new wxSize((wxSize
&) result
);
23561 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23569 static PyObject
*_wrap_Window_GetVirtualSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23570 PyObject
*resultobj
;
23571 wxWindow
*arg1
= (wxWindow
*) 0 ;
23572 int *arg2
= (int *) 0 ;
23573 int *arg3
= (int *) 0 ;
23576 PyObject
* obj0
= 0 ;
23577 char *kwnames
[] = {
23578 (char *) "self", NULL
23583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetVirtualSizeTuple",kwnames
,&obj0
)) goto fail
;
23584 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23585 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23588 ((wxWindow
const *)arg1
)->GetVirtualSize(arg2
,arg3
);
23590 wxPyEndAllowThreads(__tstate
);
23591 if (PyErr_Occurred()) SWIG_fail
;
23593 Py_INCREF(Py_None
); resultobj
= Py_None
;
23595 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
23596 resultobj
= t_output_helper(resultobj
,o
);
23599 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
23600 resultobj
= t_output_helper(resultobj
,o
);
23608 static PyObject
*_wrap_Window_GetBestVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23609 PyObject
*resultobj
;
23610 wxWindow
*arg1
= (wxWindow
*) 0 ;
23612 PyObject
* obj0
= 0 ;
23613 char *kwnames
[] = {
23614 (char *) "self", NULL
23617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestVirtualSize",kwnames
,&obj0
)) goto fail
;
23618 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23619 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23622 result
= ((wxWindow
const *)arg1
)->GetBestVirtualSize();
23624 wxPyEndAllowThreads(__tstate
);
23625 if (PyErr_Occurred()) SWIG_fail
;
23628 wxSize
* resultptr
;
23629 resultptr
= new wxSize((wxSize
&) result
);
23630 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23638 static PyObject
*_wrap_Window_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23639 PyObject
*resultobj
;
23640 wxWindow
*arg1
= (wxWindow
*) 0 ;
23641 bool arg2
= (bool) True
;
23643 PyObject
* obj0
= 0 ;
23644 PyObject
* obj1
= 0 ;
23645 char *kwnames
[] = {
23646 (char *) "self",(char *) "show", NULL
23649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
23650 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23651 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23653 arg2
= (bool) SWIG_AsBool(obj1
);
23654 if (PyErr_Occurred()) SWIG_fail
;
23657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23658 result
= (bool)(arg1
)->Show(arg2
);
23660 wxPyEndAllowThreads(__tstate
);
23661 if (PyErr_Occurred()) SWIG_fail
;
23664 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23672 static PyObject
*_wrap_Window_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23673 PyObject
*resultobj
;
23674 wxWindow
*arg1
= (wxWindow
*) 0 ;
23676 PyObject
* obj0
= 0 ;
23677 char *kwnames
[] = {
23678 (char *) "self", NULL
23681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Hide",kwnames
,&obj0
)) goto fail
;
23682 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23683 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23686 result
= (bool)(arg1
)->Hide();
23688 wxPyEndAllowThreads(__tstate
);
23689 if (PyErr_Occurred()) SWIG_fail
;
23692 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23700 static PyObject
*_wrap_Window_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23701 PyObject
*resultobj
;
23702 wxWindow
*arg1
= (wxWindow
*) 0 ;
23703 bool arg2
= (bool) True
;
23705 PyObject
* obj0
= 0 ;
23706 PyObject
* obj1
= 0 ;
23707 char *kwnames
[] = {
23708 (char *) "self",(char *) "enable", NULL
23711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
23712 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23713 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23715 arg2
= (bool) SWIG_AsBool(obj1
);
23716 if (PyErr_Occurred()) SWIG_fail
;
23719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23720 result
= (bool)(arg1
)->Enable(arg2
);
23722 wxPyEndAllowThreads(__tstate
);
23723 if (PyErr_Occurred()) SWIG_fail
;
23726 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23734 static PyObject
*_wrap_Window_Disable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23735 PyObject
*resultobj
;
23736 wxWindow
*arg1
= (wxWindow
*) 0 ;
23738 PyObject
* obj0
= 0 ;
23739 char *kwnames
[] = {
23740 (char *) "self", NULL
23743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Disable",kwnames
,&obj0
)) goto fail
;
23744 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23745 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23748 result
= (bool)(arg1
)->Disable();
23750 wxPyEndAllowThreads(__tstate
);
23751 if (PyErr_Occurred()) SWIG_fail
;
23754 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23762 static PyObject
*_wrap_Window_IsShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23763 PyObject
*resultobj
;
23764 wxWindow
*arg1
= (wxWindow
*) 0 ;
23766 PyObject
* obj0
= 0 ;
23767 char *kwnames
[] = {
23768 (char *) "self", NULL
23771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsShown",kwnames
,&obj0
)) goto fail
;
23772 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23773 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23776 result
= (bool)((wxWindow
const *)arg1
)->IsShown();
23778 wxPyEndAllowThreads(__tstate
);
23779 if (PyErr_Occurred()) SWIG_fail
;
23782 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23790 static PyObject
*_wrap_Window_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23791 PyObject
*resultobj
;
23792 wxWindow
*arg1
= (wxWindow
*) 0 ;
23794 PyObject
* obj0
= 0 ;
23795 char *kwnames
[] = {
23796 (char *) "self", NULL
23799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsEnabled",kwnames
,&obj0
)) goto fail
;
23800 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23801 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23804 result
= (bool)((wxWindow
const *)arg1
)->IsEnabled();
23806 wxPyEndAllowThreads(__tstate
);
23807 if (PyErr_Occurred()) SWIG_fail
;
23810 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23818 static PyObject
*_wrap_Window_SetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23819 PyObject
*resultobj
;
23820 wxWindow
*arg1
= (wxWindow
*) 0 ;
23822 PyObject
* obj0
= 0 ;
23823 PyObject
* obj1
= 0 ;
23824 char *kwnames
[] = {
23825 (char *) "self",(char *) "style", NULL
23828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetWindowStyleFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
23829 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23830 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23831 arg2
= (long) SWIG_AsLong(obj1
);
23832 if (PyErr_Occurred()) SWIG_fail
;
23834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23835 (arg1
)->SetWindowStyleFlag(arg2
);
23837 wxPyEndAllowThreads(__tstate
);
23838 if (PyErr_Occurred()) SWIG_fail
;
23840 Py_INCREF(Py_None
); resultobj
= Py_None
;
23847 static PyObject
*_wrap_Window_GetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23848 PyObject
*resultobj
;
23849 wxWindow
*arg1
= (wxWindow
*) 0 ;
23851 PyObject
* obj0
= 0 ;
23852 char *kwnames
[] = {
23853 (char *) "self", NULL
23856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetWindowStyleFlag",kwnames
,&obj0
)) goto fail
;
23857 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23858 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23861 result
= (long)((wxWindow
const *)arg1
)->GetWindowStyleFlag();
23863 wxPyEndAllowThreads(__tstate
);
23864 if (PyErr_Occurred()) SWIG_fail
;
23866 resultobj
= SWIG_FromLong((long)result
);
23873 static PyObject
*_wrap_Window_HasFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23874 PyObject
*resultobj
;
23875 wxWindow
*arg1
= (wxWindow
*) 0 ;
23878 PyObject
* obj0
= 0 ;
23879 PyObject
* obj1
= 0 ;
23880 char *kwnames
[] = {
23881 (char *) "self",(char *) "flag", NULL
23884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HasFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
23885 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23886 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23887 arg2
= (int) SWIG_AsInt(obj1
);
23888 if (PyErr_Occurred()) SWIG_fail
;
23890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23891 result
= (bool)((wxWindow
const *)arg1
)->HasFlag(arg2
);
23893 wxPyEndAllowThreads(__tstate
);
23894 if (PyErr_Occurred()) SWIG_fail
;
23897 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23905 static PyObject
*_wrap_Window_IsRetained(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23906 PyObject
*resultobj
;
23907 wxWindow
*arg1
= (wxWindow
*) 0 ;
23909 PyObject
* obj0
= 0 ;
23910 char *kwnames
[] = {
23911 (char *) "self", NULL
23914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsRetained",kwnames
,&obj0
)) goto fail
;
23915 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23916 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23919 result
= (bool)((wxWindow
const *)arg1
)->IsRetained();
23921 wxPyEndAllowThreads(__tstate
);
23922 if (PyErr_Occurred()) SWIG_fail
;
23925 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23933 static PyObject
*_wrap_Window_SetExtraStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23934 PyObject
*resultobj
;
23935 wxWindow
*arg1
= (wxWindow
*) 0 ;
23937 PyObject
* obj0
= 0 ;
23938 PyObject
* obj1
= 0 ;
23939 char *kwnames
[] = {
23940 (char *) "self",(char *) "exStyle", NULL
23943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetExtraStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
23944 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23945 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23946 arg2
= (long) SWIG_AsLong(obj1
);
23947 if (PyErr_Occurred()) SWIG_fail
;
23949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23950 (arg1
)->SetExtraStyle(arg2
);
23952 wxPyEndAllowThreads(__tstate
);
23953 if (PyErr_Occurred()) SWIG_fail
;
23955 Py_INCREF(Py_None
); resultobj
= Py_None
;
23962 static PyObject
*_wrap_Window_GetExtraStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23963 PyObject
*resultobj
;
23964 wxWindow
*arg1
= (wxWindow
*) 0 ;
23966 PyObject
* obj0
= 0 ;
23967 char *kwnames
[] = {
23968 (char *) "self", NULL
23971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetExtraStyle",kwnames
,&obj0
)) goto fail
;
23972 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23973 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23976 result
= (long)((wxWindow
const *)arg1
)->GetExtraStyle();
23978 wxPyEndAllowThreads(__tstate
);
23979 if (PyErr_Occurred()) SWIG_fail
;
23981 resultobj
= SWIG_FromLong((long)result
);
23988 static PyObject
*_wrap_Window_MakeModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23989 PyObject
*resultobj
;
23990 wxWindow
*arg1
= (wxWindow
*) 0 ;
23991 bool arg2
= (bool) True
;
23992 PyObject
* obj0
= 0 ;
23993 PyObject
* obj1
= 0 ;
23994 char *kwnames
[] = {
23995 (char *) "self",(char *) "modal", NULL
23998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_MakeModal",kwnames
,&obj0
,&obj1
)) goto fail
;
23999 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24000 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24002 arg2
= (bool) SWIG_AsBool(obj1
);
24003 if (PyErr_Occurred()) SWIG_fail
;
24006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24007 (arg1
)->MakeModal(arg2
);
24009 wxPyEndAllowThreads(__tstate
);
24010 if (PyErr_Occurred()) SWIG_fail
;
24012 Py_INCREF(Py_None
); resultobj
= Py_None
;
24019 static PyObject
*_wrap_Window_SetThemeEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24020 PyObject
*resultobj
;
24021 wxWindow
*arg1
= (wxWindow
*) 0 ;
24023 PyObject
* obj0
= 0 ;
24024 PyObject
* obj1
= 0 ;
24025 char *kwnames
[] = {
24026 (char *) "self",(char *) "enableTheme", NULL
24029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetThemeEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
24030 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24031 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24032 arg2
= (bool) SWIG_AsBool(obj1
);
24033 if (PyErr_Occurred()) SWIG_fail
;
24035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24036 (arg1
)->SetThemeEnabled(arg2
);
24038 wxPyEndAllowThreads(__tstate
);
24039 if (PyErr_Occurred()) SWIG_fail
;
24041 Py_INCREF(Py_None
); resultobj
= Py_None
;
24048 static PyObject
*_wrap_Window_GetThemeEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24049 PyObject
*resultobj
;
24050 wxWindow
*arg1
= (wxWindow
*) 0 ;
24052 PyObject
* obj0
= 0 ;
24053 char *kwnames
[] = {
24054 (char *) "self", NULL
24057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetThemeEnabled",kwnames
,&obj0
)) goto fail
;
24058 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24059 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24062 result
= (bool)((wxWindow
const *)arg1
)->GetThemeEnabled();
24064 wxPyEndAllowThreads(__tstate
);
24065 if (PyErr_Occurred()) SWIG_fail
;
24068 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24076 static PyObject
*_wrap_Window_SetFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24077 PyObject
*resultobj
;
24078 wxWindow
*arg1
= (wxWindow
*) 0 ;
24079 PyObject
* obj0
= 0 ;
24080 char *kwnames
[] = {
24081 (char *) "self", NULL
24084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_SetFocus",kwnames
,&obj0
)) goto fail
;
24085 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24086 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24089 (arg1
)->SetFocus();
24091 wxPyEndAllowThreads(__tstate
);
24092 if (PyErr_Occurred()) SWIG_fail
;
24094 Py_INCREF(Py_None
); resultobj
= Py_None
;
24101 static PyObject
*_wrap_Window_SetFocusFromKbd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24102 PyObject
*resultobj
;
24103 wxWindow
*arg1
= (wxWindow
*) 0 ;
24104 PyObject
* obj0
= 0 ;
24105 char *kwnames
[] = {
24106 (char *) "self", NULL
24109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_SetFocusFromKbd",kwnames
,&obj0
)) goto fail
;
24110 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24111 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24114 (arg1
)->SetFocusFromKbd();
24116 wxPyEndAllowThreads(__tstate
);
24117 if (PyErr_Occurred()) SWIG_fail
;
24119 Py_INCREF(Py_None
); resultobj
= Py_None
;
24126 static PyObject
*_wrap_Window_FindFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24127 PyObject
*resultobj
;
24129 char *kwnames
[] = {
24133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_FindFocus",kwnames
)) goto fail
;
24135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24136 result
= (wxWindow
*)wxWindow::FindFocus();
24138 wxPyEndAllowThreads(__tstate
);
24139 if (PyErr_Occurred()) SWIG_fail
;
24142 resultobj
= wxPyMake_wxObject(result
);
24150 static PyObject
*_wrap_Window_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24151 PyObject
*resultobj
;
24152 wxWindow
*arg1
= (wxWindow
*) 0 ;
24154 PyObject
* obj0
= 0 ;
24155 char *kwnames
[] = {
24156 (char *) "self", NULL
24159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
24160 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24161 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24164 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocus();
24166 wxPyEndAllowThreads(__tstate
);
24167 if (PyErr_Occurred()) SWIG_fail
;
24170 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24178 static PyObject
*_wrap_Window_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24179 PyObject
*resultobj
;
24180 wxWindow
*arg1
= (wxWindow
*) 0 ;
24182 PyObject
* obj0
= 0 ;
24183 char *kwnames
[] = {
24184 (char *) "self", NULL
24187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
24188 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24189 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24192 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocusFromKeyboard();
24194 wxPyEndAllowThreads(__tstate
);
24195 if (PyErr_Occurred()) SWIG_fail
;
24198 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24206 static PyObject
*_wrap_Window_GetDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24207 PyObject
*resultobj
;
24208 wxWindow
*arg1
= (wxWindow
*) 0 ;
24210 PyObject
* obj0
= 0 ;
24211 char *kwnames
[] = {
24212 (char *) "self", NULL
24215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDefaultItem",kwnames
,&obj0
)) goto fail
;
24216 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24217 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24220 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetDefaultItem();
24222 wxPyEndAllowThreads(__tstate
);
24223 if (PyErr_Occurred()) SWIG_fail
;
24226 resultobj
= wxPyMake_wxObject(result
);
24234 static PyObject
*_wrap_Window_SetDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24235 PyObject
*resultobj
;
24236 wxWindow
*arg1
= (wxWindow
*) 0 ;
24237 wxWindow
*arg2
= (wxWindow
*) 0 ;
24239 PyObject
* obj0
= 0 ;
24240 PyObject
* obj1
= 0 ;
24241 char *kwnames
[] = {
24242 (char *) "self",(char *) "child", NULL
24245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDefaultItem",kwnames
,&obj0
,&obj1
)) goto fail
;
24246 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24247 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24248 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
24249 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24252 result
= (wxWindow
*)(arg1
)->SetDefaultItem(arg2
);
24254 wxPyEndAllowThreads(__tstate
);
24255 if (PyErr_Occurred()) SWIG_fail
;
24258 resultobj
= wxPyMake_wxObject(result
);
24266 static PyObject
*_wrap_Window_SetTmpDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24267 PyObject
*resultobj
;
24268 wxWindow
*arg1
= (wxWindow
*) 0 ;
24269 wxWindow
*arg2
= (wxWindow
*) 0 ;
24270 PyObject
* obj0
= 0 ;
24271 PyObject
* obj1
= 0 ;
24272 char *kwnames
[] = {
24273 (char *) "self",(char *) "win", NULL
24276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetTmpDefaultItem",kwnames
,&obj0
,&obj1
)) goto fail
;
24277 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24278 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24279 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
24280 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24283 (arg1
)->SetTmpDefaultItem(arg2
);
24285 wxPyEndAllowThreads(__tstate
);
24286 if (PyErr_Occurred()) SWIG_fail
;
24288 Py_INCREF(Py_None
); resultobj
= Py_None
;
24295 static PyObject
*_wrap_Window_GetChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24296 PyObject
*resultobj
;
24297 wxWindow
*arg1
= (wxWindow
*) 0 ;
24299 PyObject
* obj0
= 0 ;
24300 char *kwnames
[] = {
24301 (char *) "self", NULL
24304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetChildren",kwnames
,&obj0
)) goto fail
;
24305 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24306 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24309 result
= (PyObject
*)wxWindow_GetChildren(arg1
);
24311 wxPyEndAllowThreads(__tstate
);
24312 if (PyErr_Occurred()) SWIG_fail
;
24314 resultobj
= result
;
24321 static PyObject
*_wrap_Window_GetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24322 PyObject
*resultobj
;
24323 wxWindow
*arg1
= (wxWindow
*) 0 ;
24325 PyObject
* obj0
= 0 ;
24326 char *kwnames
[] = {
24327 (char *) "self", NULL
24330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetParent",kwnames
,&obj0
)) goto fail
;
24331 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24332 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24335 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetParent();
24337 wxPyEndAllowThreads(__tstate
);
24338 if (PyErr_Occurred()) SWIG_fail
;
24341 resultobj
= wxPyMake_wxObject(result
);
24349 static PyObject
*_wrap_Window_GetGrandParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24350 PyObject
*resultobj
;
24351 wxWindow
*arg1
= (wxWindow
*) 0 ;
24353 PyObject
* obj0
= 0 ;
24354 char *kwnames
[] = {
24355 (char *) "self", NULL
24358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetGrandParent",kwnames
,&obj0
)) goto fail
;
24359 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24360 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24363 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetGrandParent();
24365 wxPyEndAllowThreads(__tstate
);
24366 if (PyErr_Occurred()) SWIG_fail
;
24369 resultobj
= wxPyMake_wxObject(result
);
24377 static PyObject
*_wrap_Window_IsTopLevel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24378 PyObject
*resultobj
;
24379 wxWindow
*arg1
= (wxWindow
*) 0 ;
24381 PyObject
* obj0
= 0 ;
24382 char *kwnames
[] = {
24383 (char *) "self", NULL
24386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsTopLevel",kwnames
,&obj0
)) goto fail
;
24387 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24388 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24391 result
= (bool)((wxWindow
const *)arg1
)->IsTopLevel();
24393 wxPyEndAllowThreads(__tstate
);
24394 if (PyErr_Occurred()) SWIG_fail
;
24397 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24405 static PyObject
*_wrap_Window_Reparent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24406 PyObject
*resultobj
;
24407 wxWindow
*arg1
= (wxWindow
*) 0 ;
24408 wxWindow
*arg2
= (wxWindow
*) 0 ;
24410 PyObject
* obj0
= 0 ;
24411 PyObject
* obj1
= 0 ;
24412 char *kwnames
[] = {
24413 (char *) "self",(char *) "newParent", NULL
24416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_Reparent",kwnames
,&obj0
,&obj1
)) goto fail
;
24417 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24418 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24419 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
24420 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24423 result
= (bool)(arg1
)->Reparent(arg2
);
24425 wxPyEndAllowThreads(__tstate
);
24426 if (PyErr_Occurred()) SWIG_fail
;
24429 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24437 static PyObject
*_wrap_Window_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24438 PyObject
*resultobj
;
24439 wxWindow
*arg1
= (wxWindow
*) 0 ;
24440 wxWindow
*arg2
= (wxWindow
*) 0 ;
24441 PyObject
* obj0
= 0 ;
24442 PyObject
* obj1
= 0 ;
24443 char *kwnames
[] = {
24444 (char *) "self",(char *) "child", NULL
24447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
24448 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24449 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24450 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
24451 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24454 (arg1
)->AddChild(arg2
);
24456 wxPyEndAllowThreads(__tstate
);
24457 if (PyErr_Occurred()) SWIG_fail
;
24459 Py_INCREF(Py_None
); resultobj
= Py_None
;
24466 static PyObject
*_wrap_Window_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24467 PyObject
*resultobj
;
24468 wxWindow
*arg1
= (wxWindow
*) 0 ;
24469 wxWindow
*arg2
= (wxWindow
*) 0 ;
24470 PyObject
* obj0
= 0 ;
24471 PyObject
* obj1
= 0 ;
24472 char *kwnames
[] = {
24473 (char *) "self",(char *) "child", NULL
24476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
24477 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24478 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24479 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
24480 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24483 (arg1
)->RemoveChild(arg2
);
24485 wxPyEndAllowThreads(__tstate
);
24486 if (PyErr_Occurred()) SWIG_fail
;
24488 Py_INCREF(Py_None
); resultobj
= Py_None
;
24495 static PyObject
*_wrap_Window_FindWindowById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24496 PyObject
*resultobj
;
24497 wxWindow
*arg1
= (wxWindow
*) 0 ;
24500 PyObject
* obj0
= 0 ;
24501 PyObject
* obj1
= 0 ;
24502 char *kwnames
[] = {
24503 (char *) "self",(char *) "winid", NULL
24506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FindWindowById",kwnames
,&obj0
,&obj1
)) goto fail
;
24507 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24508 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24509 arg2
= (long) SWIG_AsLong(obj1
);
24510 if (PyErr_Occurred()) SWIG_fail
;
24512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24513 result
= (wxWindow
*)(arg1
)->FindWindow(arg2
);
24515 wxPyEndAllowThreads(__tstate
);
24516 if (PyErr_Occurred()) SWIG_fail
;
24519 resultobj
= wxPyMake_wxObject(result
);
24527 static PyObject
*_wrap_Window_FindWindowByName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24528 PyObject
*resultobj
;
24529 wxWindow
*arg1
= (wxWindow
*) 0 ;
24530 wxString
*arg2
= 0 ;
24532 bool temp2
= False
;
24533 PyObject
* obj0
= 0 ;
24534 PyObject
* obj1
= 0 ;
24535 char *kwnames
[] = {
24536 (char *) "self",(char *) "name", NULL
24539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FindWindowByName",kwnames
,&obj0
,&obj1
)) goto fail
;
24540 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24541 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24543 arg2
= wxString_in_helper(obj1
);
24544 if (arg2
== NULL
) SWIG_fail
;
24548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24549 result
= (wxWindow
*)(arg1
)->FindWindow((wxString
const &)*arg2
);
24551 wxPyEndAllowThreads(__tstate
);
24552 if (PyErr_Occurred()) SWIG_fail
;
24555 resultobj
= wxPyMake_wxObject(result
);
24571 static PyObject
*_wrap_Window_GetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24572 PyObject
*resultobj
;
24573 wxWindow
*arg1
= (wxWindow
*) 0 ;
24574 wxEvtHandler
*result
;
24575 PyObject
* obj0
= 0 ;
24576 char *kwnames
[] = {
24577 (char *) "self", NULL
24580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetEventHandler",kwnames
,&obj0
)) goto fail
;
24581 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24582 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24585 result
= (wxEvtHandler
*)((wxWindow
const *)arg1
)->GetEventHandler();
24587 wxPyEndAllowThreads(__tstate
);
24588 if (PyErr_Occurred()) SWIG_fail
;
24591 resultobj
= wxPyMake_wxObject(result
);
24599 static PyObject
*_wrap_Window_SetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24600 PyObject
*resultobj
;
24601 wxWindow
*arg1
= (wxWindow
*) 0 ;
24602 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
24603 PyObject
* obj0
= 0 ;
24604 PyObject
* obj1
= 0 ;
24605 char *kwnames
[] = {
24606 (char *) "self",(char *) "handler", NULL
24609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
24610 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24611 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24612 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
24613 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24616 (arg1
)->SetEventHandler(arg2
);
24618 wxPyEndAllowThreads(__tstate
);
24619 if (PyErr_Occurred()) SWIG_fail
;
24621 Py_INCREF(Py_None
); resultobj
= Py_None
;
24628 static PyObject
*_wrap_Window_PushEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24629 PyObject
*resultobj
;
24630 wxWindow
*arg1
= (wxWindow
*) 0 ;
24631 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
24632 PyObject
* obj0
= 0 ;
24633 PyObject
* obj1
= 0 ;
24634 char *kwnames
[] = {
24635 (char *) "self",(char *) "handler", NULL
24638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PushEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
24639 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24640 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24641 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
24642 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24645 (arg1
)->PushEventHandler(arg2
);
24647 wxPyEndAllowThreads(__tstate
);
24648 if (PyErr_Occurred()) SWIG_fail
;
24650 Py_INCREF(Py_None
); resultobj
= Py_None
;
24657 static PyObject
*_wrap_Window_PopEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24658 PyObject
*resultobj
;
24659 wxWindow
*arg1
= (wxWindow
*) 0 ;
24660 bool arg2
= (bool) False
;
24661 wxEvtHandler
*result
;
24662 PyObject
* obj0
= 0 ;
24663 PyObject
* obj1
= 0 ;
24664 char *kwnames
[] = {
24665 (char *) "self",(char *) "deleteHandler", NULL
24668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_PopEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
24669 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24670 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24672 arg2
= (bool) SWIG_AsBool(obj1
);
24673 if (PyErr_Occurred()) SWIG_fail
;
24676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24677 result
= (wxEvtHandler
*)(arg1
)->PopEventHandler(arg2
);
24679 wxPyEndAllowThreads(__tstate
);
24680 if (PyErr_Occurred()) SWIG_fail
;
24683 resultobj
= wxPyMake_wxObject(result
);
24691 static PyObject
*_wrap_Window_RemoveEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24692 PyObject
*resultobj
;
24693 wxWindow
*arg1
= (wxWindow
*) 0 ;
24694 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
24696 PyObject
* obj0
= 0 ;
24697 PyObject
* obj1
= 0 ;
24698 char *kwnames
[] = {
24699 (char *) "self",(char *) "handler", NULL
24702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
24703 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24704 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24705 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
24706 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24709 result
= (bool)(arg1
)->RemoveEventHandler(arg2
);
24711 wxPyEndAllowThreads(__tstate
);
24712 if (PyErr_Occurred()) SWIG_fail
;
24715 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24723 static PyObject
*_wrap_Window_SetValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24724 PyObject
*resultobj
;
24725 wxWindow
*arg1
= (wxWindow
*) 0 ;
24726 wxValidator
*arg2
= 0 ;
24727 PyObject
* obj0
= 0 ;
24728 PyObject
* obj1
= 0 ;
24729 char *kwnames
[] = {
24730 (char *) "self",(char *) "validator", NULL
24733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetValidator",kwnames
,&obj0
,&obj1
)) goto fail
;
24734 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24735 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24736 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxValidator
,
24737 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24739 if (arg2
== NULL
) {
24740 PyErr_SetString(PyExc_TypeError
,"null reference");
24744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24745 (arg1
)->SetValidator((wxValidator
const &)*arg2
);
24747 wxPyEndAllowThreads(__tstate
);
24748 if (PyErr_Occurred()) SWIG_fail
;
24750 Py_INCREF(Py_None
); resultobj
= Py_None
;
24757 static PyObject
*_wrap_Window_GetValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24758 PyObject
*resultobj
;
24759 wxWindow
*arg1
= (wxWindow
*) 0 ;
24760 wxValidator
*result
;
24761 PyObject
* obj0
= 0 ;
24762 char *kwnames
[] = {
24763 (char *) "self", NULL
24766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetValidator",kwnames
,&obj0
)) goto fail
;
24767 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24768 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24771 result
= (wxValidator
*)(arg1
)->GetValidator();
24773 wxPyEndAllowThreads(__tstate
);
24774 if (PyErr_Occurred()) SWIG_fail
;
24777 resultobj
= wxPyMake_wxObject(result
);
24785 static PyObject
*_wrap_Window_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24786 PyObject
*resultobj
;
24787 wxWindow
*arg1
= (wxWindow
*) 0 ;
24789 PyObject
* obj0
= 0 ;
24790 char *kwnames
[] = {
24791 (char *) "self", NULL
24794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Validate",kwnames
,&obj0
)) goto fail
;
24795 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24796 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24799 result
= (bool)(arg1
)->Validate();
24801 wxPyEndAllowThreads(__tstate
);
24802 if (PyErr_Occurred()) SWIG_fail
;
24805 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24813 static PyObject
*_wrap_Window_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24814 PyObject
*resultobj
;
24815 wxWindow
*arg1
= (wxWindow
*) 0 ;
24817 PyObject
* obj0
= 0 ;
24818 char *kwnames
[] = {
24819 (char *) "self", NULL
24822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
24823 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24824 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24827 result
= (bool)(arg1
)->TransferDataToWindow();
24829 wxPyEndAllowThreads(__tstate
);
24830 if (PyErr_Occurred()) SWIG_fail
;
24833 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24841 static PyObject
*_wrap_Window_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24842 PyObject
*resultobj
;
24843 wxWindow
*arg1
= (wxWindow
*) 0 ;
24845 PyObject
* obj0
= 0 ;
24846 char *kwnames
[] = {
24847 (char *) "self", NULL
24850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
24851 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24852 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24855 result
= (bool)(arg1
)->TransferDataFromWindow();
24857 wxPyEndAllowThreads(__tstate
);
24858 if (PyErr_Occurred()) SWIG_fail
;
24861 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24869 static PyObject
*_wrap_Window_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24870 PyObject
*resultobj
;
24871 wxWindow
*arg1
= (wxWindow
*) 0 ;
24872 PyObject
* obj0
= 0 ;
24873 char *kwnames
[] = {
24874 (char *) "self", NULL
24877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InitDialog",kwnames
,&obj0
)) goto fail
;
24878 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24879 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24882 (arg1
)->InitDialog();
24884 wxPyEndAllowThreads(__tstate
);
24885 if (PyErr_Occurred()) SWIG_fail
;
24887 Py_INCREF(Py_None
); resultobj
= Py_None
;
24894 static PyObject
*_wrap_Window_SetAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24895 PyObject
*resultobj
;
24896 wxWindow
*arg1
= (wxWindow
*) 0 ;
24897 wxAcceleratorTable
*arg2
= 0 ;
24898 PyObject
* obj0
= 0 ;
24899 PyObject
* obj1
= 0 ;
24900 char *kwnames
[] = {
24901 (char *) "self",(char *) "accel", NULL
24904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAcceleratorTable",kwnames
,&obj0
,&obj1
)) goto fail
;
24905 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24906 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24907 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxAcceleratorTable
,
24908 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24910 if (arg2
== NULL
) {
24911 PyErr_SetString(PyExc_TypeError
,"null reference");
24915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24916 (arg1
)->SetAcceleratorTable((wxAcceleratorTable
const &)*arg2
);
24918 wxPyEndAllowThreads(__tstate
);
24919 if (PyErr_Occurred()) SWIG_fail
;
24921 Py_INCREF(Py_None
); resultobj
= Py_None
;
24928 static PyObject
*_wrap_Window_GetAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24929 PyObject
*resultobj
;
24930 wxWindow
*arg1
= (wxWindow
*) 0 ;
24931 wxAcceleratorTable
*result
;
24932 PyObject
* obj0
= 0 ;
24933 char *kwnames
[] = {
24934 (char *) "self", NULL
24937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAcceleratorTable",kwnames
,&obj0
)) goto fail
;
24938 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24939 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24942 result
= (wxAcceleratorTable
*)(arg1
)->GetAcceleratorTable();
24944 wxPyEndAllowThreads(__tstate
);
24945 if (PyErr_Occurred()) SWIG_fail
;
24947 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorTable
, 0);
24954 static PyObject
*_wrap_Window_RegisterHotKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24955 PyObject
*resultobj
;
24956 wxWindow
*arg1
= (wxWindow
*) 0 ;
24961 PyObject
* obj0
= 0 ;
24962 PyObject
* obj1
= 0 ;
24963 PyObject
* obj2
= 0 ;
24964 PyObject
* obj3
= 0 ;
24965 char *kwnames
[] = {
24966 (char *) "self",(char *) "hotkeyId",(char *) "modifiers",(char *) "keycode", NULL
24969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Window_RegisterHotKey",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24970 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24971 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24972 arg2
= (int) SWIG_AsInt(obj1
);
24973 if (PyErr_Occurred()) SWIG_fail
;
24974 arg3
= (int) SWIG_AsInt(obj2
);
24975 if (PyErr_Occurred()) SWIG_fail
;
24976 arg4
= (int) SWIG_AsInt(obj3
);
24977 if (PyErr_Occurred()) SWIG_fail
;
24979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24980 result
= (bool)wxWindow_RegisterHotKey(arg1
,arg2
,arg3
,arg4
);
24982 wxPyEndAllowThreads(__tstate
);
24983 if (PyErr_Occurred()) SWIG_fail
;
24986 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24994 static PyObject
*_wrap_Window_UnregisterHotKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24995 PyObject
*resultobj
;
24996 wxWindow
*arg1
= (wxWindow
*) 0 ;
24999 PyObject
* obj0
= 0 ;
25000 PyObject
* obj1
= 0 ;
25001 char *kwnames
[] = {
25002 (char *) "self",(char *) "hotkeyId", NULL
25005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_UnregisterHotKey",kwnames
,&obj0
,&obj1
)) goto fail
;
25006 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25007 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25008 arg2
= (int) SWIG_AsInt(obj1
);
25009 if (PyErr_Occurred()) SWIG_fail
;
25011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25012 result
= (bool)wxWindow_UnregisterHotKey(arg1
,arg2
);
25014 wxPyEndAllowThreads(__tstate
);
25015 if (PyErr_Occurred()) SWIG_fail
;
25018 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25026 static PyObject
*_wrap_Window_ConvertDialogPointToPixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25027 PyObject
*resultobj
;
25028 wxWindow
*arg1
= (wxWindow
*) 0 ;
25029 wxPoint
*arg2
= 0 ;
25032 PyObject
* obj0
= 0 ;
25033 PyObject
* obj1
= 0 ;
25034 char *kwnames
[] = {
25035 (char *) "self",(char *) "pt", NULL
25038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogPointToPixels",kwnames
,&obj0
,&obj1
)) goto fail
;
25039 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25040 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25043 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25047 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
25049 wxPyEndAllowThreads(__tstate
);
25050 if (PyErr_Occurred()) SWIG_fail
;
25053 wxPoint
* resultptr
;
25054 resultptr
= new wxPoint((wxPoint
&) result
);
25055 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
25063 static PyObject
*_wrap_Window_ConvertDialogSizeToPixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25064 PyObject
*resultobj
;
25065 wxWindow
*arg1
= (wxWindow
*) 0 ;
25069 PyObject
* obj0
= 0 ;
25070 PyObject
* obj1
= 0 ;
25071 char *kwnames
[] = {
25072 (char *) "self",(char *) "sz", NULL
25075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogSizeToPixels",kwnames
,&obj0
,&obj1
)) goto fail
;
25076 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25077 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25080 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25084 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
25086 wxPyEndAllowThreads(__tstate
);
25087 if (PyErr_Occurred()) SWIG_fail
;
25090 wxSize
* resultptr
;
25091 resultptr
= new wxSize((wxSize
&) result
);
25092 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
25100 static PyObject
*_wrap_Window_DLG_PNT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25101 PyObject
*resultobj
;
25102 wxWindow
*arg1
= (wxWindow
*) 0 ;
25103 wxPoint
*arg2
= 0 ;
25106 PyObject
* obj0
= 0 ;
25107 PyObject
* obj1
= 0 ;
25108 char *kwnames
[] = {
25109 (char *) "self",(char *) "pt", NULL
25112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_PNT",kwnames
,&obj0
,&obj1
)) goto fail
;
25113 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25114 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25117 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25121 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
25123 wxPyEndAllowThreads(__tstate
);
25124 if (PyErr_Occurred()) SWIG_fail
;
25127 wxPoint
* resultptr
;
25128 resultptr
= new wxPoint((wxPoint
&) result
);
25129 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
25137 static PyObject
*_wrap_Window_DLG_SZE(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25138 PyObject
*resultobj
;
25139 wxWindow
*arg1
= (wxWindow
*) 0 ;
25143 PyObject
* obj0
= 0 ;
25144 PyObject
* obj1
= 0 ;
25145 char *kwnames
[] = {
25146 (char *) "self",(char *) "sz", NULL
25149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_SZE",kwnames
,&obj0
,&obj1
)) goto fail
;
25150 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25151 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25154 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25158 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
25160 wxPyEndAllowThreads(__tstate
);
25161 if (PyErr_Occurred()) SWIG_fail
;
25164 wxSize
* resultptr
;
25165 resultptr
= new wxSize((wxSize
&) result
);
25166 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
25174 static PyObject
*_wrap_Window_ConvertPixelPointToDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25175 PyObject
*resultobj
;
25176 wxWindow
*arg1
= (wxWindow
*) 0 ;
25177 wxPoint
*arg2
= 0 ;
25180 PyObject
* obj0
= 0 ;
25181 PyObject
* obj1
= 0 ;
25182 char *kwnames
[] = {
25183 (char *) "self",(char *) "pt", NULL
25186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelPointToDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
25187 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25188 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25191 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25195 result
= (arg1
)->ConvertPixelsToDialog((wxPoint
const &)*arg2
);
25197 wxPyEndAllowThreads(__tstate
);
25198 if (PyErr_Occurred()) SWIG_fail
;
25201 wxPoint
* resultptr
;
25202 resultptr
= new wxPoint((wxPoint
&) result
);
25203 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
25211 static PyObject
*_wrap_Window_ConvertPixelSizeToDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25212 PyObject
*resultobj
;
25213 wxWindow
*arg1
= (wxWindow
*) 0 ;
25217 PyObject
* obj0
= 0 ;
25218 PyObject
* obj1
= 0 ;
25219 char *kwnames
[] = {
25220 (char *) "self",(char *) "sz", NULL
25223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelSizeToDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
25224 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25225 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25228 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25232 result
= (arg1
)->ConvertPixelsToDialog((wxSize
const &)*arg2
);
25234 wxPyEndAllowThreads(__tstate
);
25235 if (PyErr_Occurred()) SWIG_fail
;
25238 wxSize
* resultptr
;
25239 resultptr
= new wxSize((wxSize
&) result
);
25240 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
25248 static PyObject
*_wrap_Window_WarpPointer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25249 PyObject
*resultobj
;
25250 wxWindow
*arg1
= (wxWindow
*) 0 ;
25253 PyObject
* obj0
= 0 ;
25254 PyObject
* obj1
= 0 ;
25255 PyObject
* obj2
= 0 ;
25256 char *kwnames
[] = {
25257 (char *) "self",(char *) "x",(char *) "y", NULL
25260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_WarpPointer",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25261 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25262 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25263 arg2
= (int) SWIG_AsInt(obj1
);
25264 if (PyErr_Occurred()) SWIG_fail
;
25265 arg3
= (int) SWIG_AsInt(obj2
);
25266 if (PyErr_Occurred()) SWIG_fail
;
25268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25269 (arg1
)->WarpPointer(arg2
,arg3
);
25271 wxPyEndAllowThreads(__tstate
);
25272 if (PyErr_Occurred()) SWIG_fail
;
25274 Py_INCREF(Py_None
); resultobj
= Py_None
;
25281 static PyObject
*_wrap_Window_CaptureMouse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25282 PyObject
*resultobj
;
25283 wxWindow
*arg1
= (wxWindow
*) 0 ;
25284 PyObject
* obj0
= 0 ;
25285 char *kwnames
[] = {
25286 (char *) "self", NULL
25289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_CaptureMouse",kwnames
,&obj0
)) goto fail
;
25290 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25291 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25294 (arg1
)->CaptureMouse();
25296 wxPyEndAllowThreads(__tstate
);
25297 if (PyErr_Occurred()) SWIG_fail
;
25299 Py_INCREF(Py_None
); resultobj
= Py_None
;
25306 static PyObject
*_wrap_Window_ReleaseMouse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25307 PyObject
*resultobj
;
25308 wxWindow
*arg1
= (wxWindow
*) 0 ;
25309 PyObject
* obj0
= 0 ;
25310 char *kwnames
[] = {
25311 (char *) "self", NULL
25314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ReleaseMouse",kwnames
,&obj0
)) goto fail
;
25315 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25316 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25319 (arg1
)->ReleaseMouse();
25321 wxPyEndAllowThreads(__tstate
);
25322 if (PyErr_Occurred()) SWIG_fail
;
25324 Py_INCREF(Py_None
); resultobj
= Py_None
;
25331 static PyObject
*_wrap_Window_GetCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25332 PyObject
*resultobj
;
25334 char *kwnames
[] = {
25338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_GetCapture",kwnames
)) goto fail
;
25340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25341 result
= (wxWindow
*)wxWindow::GetCapture();
25343 wxPyEndAllowThreads(__tstate
);
25344 if (PyErr_Occurred()) SWIG_fail
;
25347 resultobj
= wxPyMake_wxObject(result
);
25355 static PyObject
*_wrap_Window_HasCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25356 PyObject
*resultobj
;
25357 wxWindow
*arg1
= (wxWindow
*) 0 ;
25359 PyObject
* obj0
= 0 ;
25360 char *kwnames
[] = {
25361 (char *) "self", NULL
25364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_HasCapture",kwnames
,&obj0
)) goto fail
;
25365 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25366 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25369 result
= (bool)((wxWindow
const *)arg1
)->HasCapture();
25371 wxPyEndAllowThreads(__tstate
);
25372 if (PyErr_Occurred()) SWIG_fail
;
25375 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25383 static PyObject
*_wrap_Window_Refresh(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25384 PyObject
*resultobj
;
25385 wxWindow
*arg1
= (wxWindow
*) 0 ;
25386 bool arg2
= (bool) True
;
25387 wxRect
*arg3
= (wxRect
*) NULL
;
25388 PyObject
* obj0
= 0 ;
25389 PyObject
* obj1
= 0 ;
25390 PyObject
* obj2
= 0 ;
25391 char *kwnames
[] = {
25392 (char *) "self",(char *) "eraseBackground",(char *) "rect", NULL
25395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Window_Refresh",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25396 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25397 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25399 arg2
= (bool) SWIG_AsBool(obj1
);
25400 if (PyErr_Occurred()) SWIG_fail
;
25403 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxRect
,
25404 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25408 (arg1
)->Refresh(arg2
,(wxRect
const *)arg3
);
25410 wxPyEndAllowThreads(__tstate
);
25411 if (PyErr_Occurred()) SWIG_fail
;
25413 Py_INCREF(Py_None
); resultobj
= Py_None
;
25420 static PyObject
*_wrap_Window_RefreshRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25421 PyObject
*resultobj
;
25422 wxWindow
*arg1
= (wxWindow
*) 0 ;
25425 PyObject
* obj0
= 0 ;
25426 PyObject
* obj1
= 0 ;
25427 char *kwnames
[] = {
25428 (char *) "self",(char *) "rect", NULL
25431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RefreshRect",kwnames
,&obj0
,&obj1
)) goto fail
;
25432 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25433 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25436 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
25439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25440 (arg1
)->RefreshRect((wxRect
const &)*arg2
);
25442 wxPyEndAllowThreads(__tstate
);
25443 if (PyErr_Occurred()) SWIG_fail
;
25445 Py_INCREF(Py_None
); resultobj
= Py_None
;
25452 static PyObject
*_wrap_Window_Update(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25453 PyObject
*resultobj
;
25454 wxWindow
*arg1
= (wxWindow
*) 0 ;
25455 PyObject
* obj0
= 0 ;
25456 char *kwnames
[] = {
25457 (char *) "self", NULL
25460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Update",kwnames
,&obj0
)) goto fail
;
25461 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25462 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25467 wxPyEndAllowThreads(__tstate
);
25468 if (PyErr_Occurred()) SWIG_fail
;
25470 Py_INCREF(Py_None
); resultobj
= Py_None
;
25477 static PyObject
*_wrap_Window_ClearBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25478 PyObject
*resultobj
;
25479 wxWindow
*arg1
= (wxWindow
*) 0 ;
25480 PyObject
* obj0
= 0 ;
25481 char *kwnames
[] = {
25482 (char *) "self", NULL
25485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ClearBackground",kwnames
,&obj0
)) goto fail
;
25486 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25487 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25490 (arg1
)->ClearBackground();
25492 wxPyEndAllowThreads(__tstate
);
25493 if (PyErr_Occurred()) SWIG_fail
;
25495 Py_INCREF(Py_None
); resultobj
= Py_None
;
25502 static PyObject
*_wrap_Window_Freeze(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25503 PyObject
*resultobj
;
25504 wxWindow
*arg1
= (wxWindow
*) 0 ;
25505 PyObject
* obj0
= 0 ;
25506 char *kwnames
[] = {
25507 (char *) "self", NULL
25510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Freeze",kwnames
,&obj0
)) goto fail
;
25511 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25512 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25517 wxPyEndAllowThreads(__tstate
);
25518 if (PyErr_Occurred()) SWIG_fail
;
25520 Py_INCREF(Py_None
); resultobj
= Py_None
;
25527 static PyObject
*_wrap_Window_Thaw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25528 PyObject
*resultobj
;
25529 wxWindow
*arg1
= (wxWindow
*) 0 ;
25530 PyObject
* obj0
= 0 ;
25531 char *kwnames
[] = {
25532 (char *) "self", NULL
25535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Thaw",kwnames
,&obj0
)) goto fail
;
25536 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25537 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25542 wxPyEndAllowThreads(__tstate
);
25543 if (PyErr_Occurred()) SWIG_fail
;
25545 Py_INCREF(Py_None
); resultobj
= Py_None
;
25552 static PyObject
*_wrap_Window_PrepareDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25553 PyObject
*resultobj
;
25554 wxWindow
*arg1
= (wxWindow
*) 0 ;
25556 PyObject
* obj0
= 0 ;
25557 PyObject
* obj1
= 0 ;
25558 char *kwnames
[] = {
25559 (char *) "self",(char *) "dc", NULL
25562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PrepareDC",kwnames
,&obj0
,&obj1
)) goto fail
;
25563 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25564 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25565 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
25566 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25568 if (arg2
== NULL
) {
25569 PyErr_SetString(PyExc_TypeError
,"null reference");
25573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25574 (arg1
)->PrepareDC(*arg2
);
25576 wxPyEndAllowThreads(__tstate
);
25577 if (PyErr_Occurred()) SWIG_fail
;
25579 Py_INCREF(Py_None
); resultobj
= Py_None
;
25586 static PyObject
*_wrap_Window_GetUpdateRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25587 PyObject
*resultobj
;
25588 wxWindow
*arg1
= (wxWindow
*) 0 ;
25590 PyObject
* obj0
= 0 ;
25591 char *kwnames
[] = {
25592 (char *) "self", NULL
25595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetUpdateRegion",kwnames
,&obj0
)) goto fail
;
25596 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25597 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25601 wxRegion
&_result_ref
= (arg1
)->GetUpdateRegion();
25602 result
= (wxRegion
*) &_result_ref
;
25605 wxPyEndAllowThreads(__tstate
);
25606 if (PyErr_Occurred()) SWIG_fail
;
25608 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 0);
25615 static PyObject
*_wrap_Window_GetUpdateClientRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25616 PyObject
*resultobj
;
25617 wxWindow
*arg1
= (wxWindow
*) 0 ;
25619 PyObject
* obj0
= 0 ;
25620 char *kwnames
[] = {
25621 (char *) "self", NULL
25624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetUpdateClientRect",kwnames
,&obj0
)) goto fail
;
25625 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25626 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25629 result
= ((wxWindow
const *)arg1
)->GetUpdateClientRect();
25631 wxPyEndAllowThreads(__tstate
);
25632 if (PyErr_Occurred()) SWIG_fail
;
25635 wxRect
* resultptr
;
25636 resultptr
= new wxRect((wxRect
&) result
);
25637 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
25645 static PyObject
*_wrap_Window_IsExposed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25646 PyObject
*resultobj
;
25647 wxWindow
*arg1
= (wxWindow
*) 0 ;
25650 int arg4
= (int) 1 ;
25651 int arg5
= (int) 1 ;
25653 PyObject
* obj0
= 0 ;
25654 PyObject
* obj1
= 0 ;
25655 PyObject
* obj2
= 0 ;
25656 PyObject
* obj3
= 0 ;
25657 PyObject
* obj4
= 0 ;
25658 char *kwnames
[] = {
25659 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
25662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Window_IsExposed",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
25663 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25664 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25665 arg2
= (int) SWIG_AsInt(obj1
);
25666 if (PyErr_Occurred()) SWIG_fail
;
25667 arg3
= (int) SWIG_AsInt(obj2
);
25668 if (PyErr_Occurred()) SWIG_fail
;
25670 arg4
= (int) SWIG_AsInt(obj3
);
25671 if (PyErr_Occurred()) SWIG_fail
;
25674 arg5
= (int) SWIG_AsInt(obj4
);
25675 if (PyErr_Occurred()) SWIG_fail
;
25678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25679 result
= (bool)((wxWindow
const *)arg1
)->IsExposed(arg2
,arg3
,arg4
,arg5
);
25681 wxPyEndAllowThreads(__tstate
);
25682 if (PyErr_Occurred()) SWIG_fail
;
25685 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25693 static PyObject
*_wrap_Window_IsExposedPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25694 PyObject
*resultobj
;
25695 wxWindow
*arg1
= (wxWindow
*) 0 ;
25696 wxPoint
*arg2
= 0 ;
25699 PyObject
* obj0
= 0 ;
25700 PyObject
* obj1
= 0 ;
25701 char *kwnames
[] = {
25702 (char *) "self",(char *) "pt", NULL
25705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_IsExposedPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
25706 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25707 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25710 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25714 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxPoint
const &)*arg2
);
25716 wxPyEndAllowThreads(__tstate
);
25717 if (PyErr_Occurred()) SWIG_fail
;
25720 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25728 static PyObject
*_wrap_Window_IsExposedRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25729 PyObject
*resultobj
;
25730 wxWindow
*arg1
= (wxWindow
*) 0 ;
25734 PyObject
* obj0
= 0 ;
25735 PyObject
* obj1
= 0 ;
25736 char *kwnames
[] = {
25737 (char *) "self",(char *) "rect", NULL
25740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_IsExposedRect",kwnames
,&obj0
,&obj1
)) goto fail
;
25741 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25742 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25745 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
25748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25749 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxRect
const &)*arg2
);
25751 wxPyEndAllowThreads(__tstate
);
25752 if (PyErr_Occurred()) SWIG_fail
;
25755 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25763 static PyObject
*_wrap_Window_GetDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25764 PyObject
*resultobj
;
25765 wxWindow
*arg1
= (wxWindow
*) 0 ;
25766 wxVisualAttributes result
;
25767 PyObject
* obj0
= 0 ;
25768 char *kwnames
[] = {
25769 (char *) "self", NULL
25772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
25773 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25774 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25777 result
= ((wxWindow
const *)arg1
)->GetDefaultAttributes();
25779 wxPyEndAllowThreads(__tstate
);
25780 if (PyErr_Occurred()) SWIG_fail
;
25783 wxVisualAttributes
* resultptr
;
25784 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
25785 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
25793 static PyObject
*_wrap_Window_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25794 PyObject
*resultobj
;
25795 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
25796 wxVisualAttributes result
;
25797 PyObject
* obj0
= 0 ;
25798 char *kwnames
[] = {
25799 (char *) "variant", NULL
25802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Window_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
25804 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
25805 if (PyErr_Occurred()) SWIG_fail
;
25808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25809 result
= wxWindow::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
25811 wxPyEndAllowThreads(__tstate
);
25812 if (PyErr_Occurred()) SWIG_fail
;
25815 wxVisualAttributes
* resultptr
;
25816 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
25817 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
25825 static PyObject
*_wrap_Window_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25826 PyObject
*resultobj
;
25827 wxWindow
*arg1
= (wxWindow
*) 0 ;
25828 wxColour
*arg2
= 0 ;
25831 PyObject
* obj0
= 0 ;
25832 PyObject
* obj1
= 0 ;
25833 char *kwnames
[] = {
25834 (char *) "self",(char *) "colour", NULL
25837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
25838 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25839 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25842 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25846 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
25848 wxPyEndAllowThreads(__tstate
);
25849 if (PyErr_Occurred()) SWIG_fail
;
25852 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25860 static PyObject
*_wrap_Window_SetDefaultBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25861 PyObject
*resultobj
;
25862 wxWindow
*arg1
= (wxWindow
*) 0 ;
25863 wxColour
*arg2
= 0 ;
25865 PyObject
* obj0
= 0 ;
25866 PyObject
* obj1
= 0 ;
25867 char *kwnames
[] = {
25868 (char *) "self",(char *) "colour", NULL
25871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDefaultBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
25872 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25873 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25876 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25880 (arg1
)->SetDefaultBackgroundColour((wxColour
const &)*arg2
);
25882 wxPyEndAllowThreads(__tstate
);
25883 if (PyErr_Occurred()) SWIG_fail
;
25885 Py_INCREF(Py_None
); resultobj
= Py_None
;
25892 static PyObject
*_wrap_Window_SetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25893 PyObject
*resultobj
;
25894 wxWindow
*arg1
= (wxWindow
*) 0 ;
25895 wxColour
*arg2
= 0 ;
25898 PyObject
* obj0
= 0 ;
25899 PyObject
* obj1
= 0 ;
25900 char *kwnames
[] = {
25901 (char *) "self",(char *) "colour", NULL
25904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
25905 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25906 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25909 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25913 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
25915 wxPyEndAllowThreads(__tstate
);
25916 if (PyErr_Occurred()) SWIG_fail
;
25919 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25927 static PyObject
*_wrap_Window_SetDefaultForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25928 PyObject
*resultobj
;
25929 wxWindow
*arg1
= (wxWindow
*) 0 ;
25930 wxColour
*arg2
= 0 ;
25932 PyObject
* obj0
= 0 ;
25933 PyObject
* obj1
= 0 ;
25934 char *kwnames
[] = {
25935 (char *) "self",(char *) "colour", NULL
25938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDefaultForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
25939 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25940 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25943 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25947 (arg1
)->SetDefaultForegroundColour((wxColour
const &)*arg2
);
25949 wxPyEndAllowThreads(__tstate
);
25950 if (PyErr_Occurred()) SWIG_fail
;
25952 Py_INCREF(Py_None
); resultobj
= Py_None
;
25959 static PyObject
*_wrap_Window_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25960 PyObject
*resultobj
;
25961 wxWindow
*arg1
= (wxWindow
*) 0 ;
25963 PyObject
* obj0
= 0 ;
25964 char *kwnames
[] = {
25965 (char *) "self", NULL
25968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
25969 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25970 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25973 result
= ((wxWindow
const *)arg1
)->GetBackgroundColour();
25975 wxPyEndAllowThreads(__tstate
);
25976 if (PyErr_Occurred()) SWIG_fail
;
25979 wxColour
* resultptr
;
25980 resultptr
= new wxColour((wxColour
&) result
);
25981 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
25989 static PyObject
*_wrap_Window_GetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25990 PyObject
*resultobj
;
25991 wxWindow
*arg1
= (wxWindow
*) 0 ;
25993 PyObject
* obj0
= 0 ;
25994 char *kwnames
[] = {
25995 (char *) "self", NULL
25998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetForegroundColour",kwnames
,&obj0
)) goto fail
;
25999 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26000 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26003 result
= ((wxWindow
const *)arg1
)->GetForegroundColour();
26005 wxPyEndAllowThreads(__tstate
);
26006 if (PyErr_Occurred()) SWIG_fail
;
26009 wxColour
* resultptr
;
26010 resultptr
= new wxColour((wxColour
&) result
);
26011 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
26019 static PyObject
*_wrap_Window_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26020 PyObject
*resultobj
;
26021 wxWindow
*arg1
= (wxWindow
*) 0 ;
26022 wxCursor
*arg2
= 0 ;
26024 PyObject
* obj0
= 0 ;
26025 PyObject
* obj1
= 0 ;
26026 char *kwnames
[] = {
26027 (char *) "self",(char *) "cursor", NULL
26030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
26031 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26032 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26033 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
26034 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26036 if (arg2
== NULL
) {
26037 PyErr_SetString(PyExc_TypeError
,"null reference");
26041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26042 result
= (bool)(arg1
)->SetCursor((wxCursor
const &)*arg2
);
26044 wxPyEndAllowThreads(__tstate
);
26045 if (PyErr_Occurred()) SWIG_fail
;
26048 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26056 static PyObject
*_wrap_Window_GetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26057 PyObject
*resultobj
;
26058 wxWindow
*arg1
= (wxWindow
*) 0 ;
26060 PyObject
* obj0
= 0 ;
26061 char *kwnames
[] = {
26062 (char *) "self", NULL
26065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCursor",kwnames
,&obj0
)) goto fail
;
26066 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26067 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26071 wxCursor
&_result_ref
= (arg1
)->GetCursor();
26072 result
= (wxCursor
*) &_result_ref
;
26075 wxPyEndAllowThreads(__tstate
);
26076 if (PyErr_Occurred()) SWIG_fail
;
26079 wxCursor
* resultptr
= new wxCursor(*result
);
26080 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxCursor
, 1);
26088 static PyObject
*_wrap_Window_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26089 PyObject
*resultobj
;
26090 wxWindow
*arg1
= (wxWindow
*) 0 ;
26093 PyObject
* obj0
= 0 ;
26094 PyObject
* obj1
= 0 ;
26095 char *kwnames
[] = {
26096 (char *) "self",(char *) "font", NULL
26099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
26100 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26101 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26102 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
26103 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26105 if (arg2
== NULL
) {
26106 PyErr_SetString(PyExc_TypeError
,"null reference");
26110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26111 result
= (bool)(arg1
)->SetFont((wxFont
const &)*arg2
);
26113 wxPyEndAllowThreads(__tstate
);
26114 if (PyErr_Occurred()) SWIG_fail
;
26117 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26125 static PyObject
*_wrap_Window_SetDefaultFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26126 PyObject
*resultobj
;
26127 wxWindow
*arg1
= (wxWindow
*) 0 ;
26129 PyObject
* obj0
= 0 ;
26130 PyObject
* obj1
= 0 ;
26131 char *kwnames
[] = {
26132 (char *) "self",(char *) "font", NULL
26135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDefaultFont",kwnames
,&obj0
,&obj1
)) goto fail
;
26136 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26137 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26138 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
26139 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26141 if (arg2
== NULL
) {
26142 PyErr_SetString(PyExc_TypeError
,"null reference");
26146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26147 (arg1
)->SetDefaultFont((wxFont
const &)*arg2
);
26149 wxPyEndAllowThreads(__tstate
);
26150 if (PyErr_Occurred()) SWIG_fail
;
26152 Py_INCREF(Py_None
); resultobj
= Py_None
;
26159 static PyObject
*_wrap_Window_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26160 PyObject
*resultobj
;
26161 wxWindow
*arg1
= (wxWindow
*) 0 ;
26163 PyObject
* obj0
= 0 ;
26164 char *kwnames
[] = {
26165 (char *) "self", NULL
26168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetFont",kwnames
,&obj0
)) goto fail
;
26169 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26170 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26174 wxFont
&_result_ref
= (arg1
)->GetFont();
26175 result
= (wxFont
*) &_result_ref
;
26178 wxPyEndAllowThreads(__tstate
);
26179 if (PyErr_Occurred()) SWIG_fail
;
26182 wxFont
* resultptr
= new wxFont(*result
);
26183 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
26191 static PyObject
*_wrap_Window_SetCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26192 PyObject
*resultobj
;
26193 wxWindow
*arg1
= (wxWindow
*) 0 ;
26194 wxCaret
*arg2
= (wxCaret
*) 0 ;
26195 PyObject
* obj0
= 0 ;
26196 PyObject
* obj1
= 0 ;
26197 char *kwnames
[] = {
26198 (char *) "self",(char *) "caret", NULL
26201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCaret",kwnames
,&obj0
,&obj1
)) goto fail
;
26202 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26203 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26204 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCaret
,
26205 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26208 (arg1
)->SetCaret(arg2
);
26210 wxPyEndAllowThreads(__tstate
);
26211 if (PyErr_Occurred()) SWIG_fail
;
26213 Py_INCREF(Py_None
); resultobj
= Py_None
;
26220 static PyObject
*_wrap_Window_GetCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26221 PyObject
*resultobj
;
26222 wxWindow
*arg1
= (wxWindow
*) 0 ;
26224 PyObject
* obj0
= 0 ;
26225 char *kwnames
[] = {
26226 (char *) "self", NULL
26229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCaret",kwnames
,&obj0
)) goto fail
;
26230 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26231 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26234 result
= (wxCaret
*)((wxWindow
const *)arg1
)->GetCaret();
26236 wxPyEndAllowThreads(__tstate
);
26237 if (PyErr_Occurred()) SWIG_fail
;
26239 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCaret
, 0);
26246 static PyObject
*_wrap_Window_GetCharHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26247 PyObject
*resultobj
;
26248 wxWindow
*arg1
= (wxWindow
*) 0 ;
26250 PyObject
* obj0
= 0 ;
26251 char *kwnames
[] = {
26252 (char *) "self", NULL
26255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCharHeight",kwnames
,&obj0
)) goto fail
;
26256 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26257 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26260 result
= (int)((wxWindow
const *)arg1
)->GetCharHeight();
26262 wxPyEndAllowThreads(__tstate
);
26263 if (PyErr_Occurred()) SWIG_fail
;
26265 resultobj
= SWIG_FromInt((int)result
);
26272 static PyObject
*_wrap_Window_GetCharWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26273 PyObject
*resultobj
;
26274 wxWindow
*arg1
= (wxWindow
*) 0 ;
26276 PyObject
* obj0
= 0 ;
26277 char *kwnames
[] = {
26278 (char *) "self", NULL
26281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCharWidth",kwnames
,&obj0
)) goto fail
;
26282 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26283 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26286 result
= (int)((wxWindow
const *)arg1
)->GetCharWidth();
26288 wxPyEndAllowThreads(__tstate
);
26289 if (PyErr_Occurred()) SWIG_fail
;
26291 resultobj
= SWIG_FromInt((int)result
);
26298 static PyObject
*_wrap_Window_GetTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26299 PyObject
*resultobj
;
26300 wxWindow
*arg1
= (wxWindow
*) 0 ;
26301 wxString
*arg2
= 0 ;
26302 int *arg3
= (int *) 0 ;
26303 int *arg4
= (int *) 0 ;
26304 bool temp2
= False
;
26307 PyObject
* obj0
= 0 ;
26308 PyObject
* obj1
= 0 ;
26309 char *kwnames
[] = {
26310 (char *) "self",(char *) "string", NULL
26315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetTextExtent",kwnames
,&obj0
,&obj1
)) goto fail
;
26316 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26317 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26319 arg2
= wxString_in_helper(obj1
);
26320 if (arg2
== NULL
) SWIG_fail
;
26324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26325 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
26327 wxPyEndAllowThreads(__tstate
);
26328 if (PyErr_Occurred()) SWIG_fail
;
26330 Py_INCREF(Py_None
); resultobj
= Py_None
;
26332 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
26333 resultobj
= t_output_helper(resultobj
,o
);
26336 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
26337 resultobj
= t_output_helper(resultobj
,o
);
26353 static PyObject
*_wrap_Window_GetFullTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26354 PyObject
*resultobj
;
26355 wxWindow
*arg1
= (wxWindow
*) 0 ;
26356 wxString
*arg2
= 0 ;
26357 int *arg3
= (int *) 0 ;
26358 int *arg4
= (int *) 0 ;
26359 int *arg5
= (int *) 0 ;
26360 int *arg6
= (int *) 0 ;
26361 wxFont
*arg7
= (wxFont
*) NULL
;
26362 bool temp2
= False
;
26367 PyObject
* obj0
= 0 ;
26368 PyObject
* obj1
= 0 ;
26369 PyObject
* obj2
= 0 ;
26370 char *kwnames
[] = {
26371 (char *) "self",(char *) "string",(char *) "font", NULL
26378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26379 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26380 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26382 arg2
= wxString_in_helper(obj1
);
26383 if (arg2
== NULL
) SWIG_fail
;
26387 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg7
),SWIGTYPE_p_wxFont
,
26388 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26392 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,(wxFont
const *)arg7
);
26394 wxPyEndAllowThreads(__tstate
);
26395 if (PyErr_Occurred()) SWIG_fail
;
26397 Py_INCREF(Py_None
); resultobj
= Py_None
;
26399 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
26400 resultobj
= t_output_helper(resultobj
,o
);
26403 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
26404 resultobj
= t_output_helper(resultobj
,o
);
26407 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
26408 resultobj
= t_output_helper(resultobj
,o
);
26411 PyObject
*o
= PyInt_FromLong((long) (*arg6
));
26412 resultobj
= t_output_helper(resultobj
,o
);
26428 static PyObject
*_wrap_Window_ClientToScreenXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26429 PyObject
*resultobj
;
26430 wxWindow
*arg1
= (wxWindow
*) 0 ;
26431 int *arg2
= (int *) 0 ;
26432 int *arg3
= (int *) 0 ;
26435 PyObject
* obj0
= 0 ;
26436 PyObject
* obj1
= 0 ;
26437 PyObject
* obj2
= 0 ;
26438 char *kwnames
[] = {
26439 (char *) "self",(char *) "x",(char *) "y", NULL
26442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ClientToScreenXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26443 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26444 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26446 temp2
= PyInt_AsLong(obj1
);
26447 if (PyErr_Occurred()) SWIG_fail
;
26451 temp3
= PyInt_AsLong(obj2
);
26452 if (PyErr_Occurred()) SWIG_fail
;
26456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26457 ((wxWindow
const *)arg1
)->ClientToScreen(arg2
,arg3
);
26459 wxPyEndAllowThreads(__tstate
);
26460 if (PyErr_Occurred()) SWIG_fail
;
26462 Py_INCREF(Py_None
); resultobj
= Py_None
;
26464 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
26465 resultobj
= t_output_helper(resultobj
,o
);
26468 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
26469 resultobj
= t_output_helper(resultobj
,o
);
26477 static PyObject
*_wrap_Window_ScreenToClientXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26478 PyObject
*resultobj
;
26479 wxWindow
*arg1
= (wxWindow
*) 0 ;
26480 int *arg2
= (int *) 0 ;
26481 int *arg3
= (int *) 0 ;
26484 PyObject
* obj0
= 0 ;
26485 PyObject
* obj1
= 0 ;
26486 PyObject
* obj2
= 0 ;
26487 char *kwnames
[] = {
26488 (char *) "self",(char *) "x",(char *) "y", NULL
26491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ScreenToClientXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26492 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26493 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26495 temp2
= PyInt_AsLong(obj1
);
26496 if (PyErr_Occurred()) SWIG_fail
;
26500 temp3
= PyInt_AsLong(obj2
);
26501 if (PyErr_Occurred()) SWIG_fail
;
26505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26506 ((wxWindow
const *)arg1
)->ScreenToClient(arg2
,arg3
);
26508 wxPyEndAllowThreads(__tstate
);
26509 if (PyErr_Occurred()) SWIG_fail
;
26511 Py_INCREF(Py_None
); resultobj
= Py_None
;
26513 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
26514 resultobj
= t_output_helper(resultobj
,o
);
26517 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
26518 resultobj
= t_output_helper(resultobj
,o
);
26526 static PyObject
*_wrap_Window_ClientToScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26527 PyObject
*resultobj
;
26528 wxWindow
*arg1
= (wxWindow
*) 0 ;
26529 wxPoint
*arg2
= 0 ;
26532 PyObject
* obj0
= 0 ;
26533 PyObject
* obj1
= 0 ;
26534 char *kwnames
[] = {
26535 (char *) "self",(char *) "pt", NULL
26538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ClientToScreen",kwnames
,&obj0
,&obj1
)) goto fail
;
26539 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26540 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26543 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26547 result
= ((wxWindow
const *)arg1
)->ClientToScreen((wxPoint
const &)*arg2
);
26549 wxPyEndAllowThreads(__tstate
);
26550 if (PyErr_Occurred()) SWIG_fail
;
26553 wxPoint
* resultptr
;
26554 resultptr
= new wxPoint((wxPoint
&) result
);
26555 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
26563 static PyObject
*_wrap_Window_ScreenToClient(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26564 PyObject
*resultobj
;
26565 wxWindow
*arg1
= (wxWindow
*) 0 ;
26566 wxPoint
*arg2
= 0 ;
26569 PyObject
* obj0
= 0 ;
26570 PyObject
* obj1
= 0 ;
26571 char *kwnames
[] = {
26572 (char *) "self",(char *) "pt", NULL
26575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScreenToClient",kwnames
,&obj0
,&obj1
)) goto fail
;
26576 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26577 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26580 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26584 result
= ((wxWindow
const *)arg1
)->ScreenToClient((wxPoint
const &)*arg2
);
26586 wxPyEndAllowThreads(__tstate
);
26587 if (PyErr_Occurred()) SWIG_fail
;
26590 wxPoint
* resultptr
;
26591 resultptr
= new wxPoint((wxPoint
&) result
);
26592 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
26600 static PyObject
*_wrap_Window_HitTestXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26601 PyObject
*resultobj
;
26602 wxWindow
*arg1
= (wxWindow
*) 0 ;
26606 PyObject
* obj0
= 0 ;
26607 PyObject
* obj1
= 0 ;
26608 PyObject
* obj2
= 0 ;
26609 char *kwnames
[] = {
26610 (char *) "self",(char *) "x",(char *) "y", NULL
26613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26614 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26615 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26616 arg2
= (int) SWIG_AsInt(obj1
);
26617 if (PyErr_Occurred()) SWIG_fail
;
26618 arg3
= (int) SWIG_AsInt(obj2
);
26619 if (PyErr_Occurred()) SWIG_fail
;
26621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26622 result
= (int)((wxWindow
const *)arg1
)->HitTest(arg2
,arg3
);
26624 wxPyEndAllowThreads(__tstate
);
26625 if (PyErr_Occurred()) SWIG_fail
;
26627 resultobj
= SWIG_FromInt((int)result
);
26634 static PyObject
*_wrap_Window_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26635 PyObject
*resultobj
;
26636 wxWindow
*arg1
= (wxWindow
*) 0 ;
26637 wxPoint
*arg2
= 0 ;
26640 PyObject
* obj0
= 0 ;
26641 PyObject
* obj1
= 0 ;
26642 char *kwnames
[] = {
26643 (char *) "self",(char *) "pt", NULL
26646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
26647 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26648 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26651 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26655 result
= (int)((wxWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
26657 wxPyEndAllowThreads(__tstate
);
26658 if (PyErr_Occurred()) SWIG_fail
;
26660 resultobj
= SWIG_FromInt((int)result
);
26667 static PyObject
*_wrap_Window_GetBorder__SWIG_0(PyObject
*self
, PyObject
*args
) {
26668 PyObject
*resultobj
;
26669 wxWindow
*arg1
= (wxWindow
*) 0 ;
26672 PyObject
* obj0
= 0 ;
26673 PyObject
* obj1
= 0 ;
26675 if(!PyArg_ParseTuple(args
,(char *)"OO:Window_GetBorder",&obj0
,&obj1
)) goto fail
;
26676 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26677 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26678 arg2
= (long) SWIG_AsLong(obj1
);
26679 if (PyErr_Occurred()) SWIG_fail
;
26681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26682 result
= (int)((wxWindow
const *)arg1
)->GetBorder(arg2
);
26684 wxPyEndAllowThreads(__tstate
);
26685 if (PyErr_Occurred()) SWIG_fail
;
26687 resultobj
= SWIG_FromInt((int)result
);
26694 static PyObject
*_wrap_Window_GetBorder__SWIG_1(PyObject
*self
, PyObject
*args
) {
26695 PyObject
*resultobj
;
26696 wxWindow
*arg1
= (wxWindow
*) 0 ;
26698 PyObject
* obj0
= 0 ;
26700 if(!PyArg_ParseTuple(args
,(char *)"O:Window_GetBorder",&obj0
)) goto fail
;
26701 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26702 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26705 result
= (int)((wxWindow
const *)arg1
)->GetBorder();
26707 wxPyEndAllowThreads(__tstate
);
26708 if (PyErr_Occurred()) SWIG_fail
;
26710 resultobj
= SWIG_FromInt((int)result
);
26717 static PyObject
*_wrap_Window_GetBorder(PyObject
*self
, PyObject
*args
) {
26722 argc
= PyObject_Length(args
);
26723 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
26724 argv
[ii
] = PyTuple_GetItem(args
,ii
);
26730 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
26738 return _wrap_Window_GetBorder__SWIG_1(self
,args
);
26745 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
26753 _v
= SWIG_CheckLong(argv
[1]);
26755 return _wrap_Window_GetBorder__SWIG_0(self
,args
);
26760 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'Window_GetBorder'");
26765 static PyObject
*_wrap_Window_UpdateWindowUI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26766 PyObject
*resultobj
;
26767 wxWindow
*arg1
= (wxWindow
*) 0 ;
26768 long arg2
= (long) wxUPDATE_UI_NONE
;
26769 PyObject
* obj0
= 0 ;
26770 PyObject
* obj1
= 0 ;
26771 char *kwnames
[] = {
26772 (char *) "self",(char *) "flags", NULL
26775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_UpdateWindowUI",kwnames
,&obj0
,&obj1
)) goto fail
;
26776 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26777 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26779 arg2
= (long) SWIG_AsLong(obj1
);
26780 if (PyErr_Occurred()) SWIG_fail
;
26783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26784 (arg1
)->UpdateWindowUI(arg2
);
26786 wxPyEndAllowThreads(__tstate
);
26787 if (PyErr_Occurred()) SWIG_fail
;
26789 Py_INCREF(Py_None
); resultobj
= Py_None
;
26796 static PyObject
*_wrap_Window_PopupMenuXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26797 PyObject
*resultobj
;
26798 wxWindow
*arg1
= (wxWindow
*) 0 ;
26799 wxMenu
*arg2
= (wxMenu
*) 0 ;
26803 PyObject
* obj0
= 0 ;
26804 PyObject
* obj1
= 0 ;
26805 PyObject
* obj2
= 0 ;
26806 PyObject
* obj3
= 0 ;
26807 char *kwnames
[] = {
26808 (char *) "self",(char *) "menu",(char *) "x",(char *) "y", NULL
26811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Window_PopupMenuXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26812 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26813 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26814 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
26815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26816 arg3
= (int) SWIG_AsInt(obj2
);
26817 if (PyErr_Occurred()) SWIG_fail
;
26818 arg4
= (int) SWIG_AsInt(obj3
);
26819 if (PyErr_Occurred()) SWIG_fail
;
26821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26822 result
= (bool)(arg1
)->PopupMenu(arg2
,arg3
,arg4
);
26824 wxPyEndAllowThreads(__tstate
);
26825 if (PyErr_Occurred()) SWIG_fail
;
26828 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26836 static PyObject
*_wrap_Window_PopupMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26837 PyObject
*resultobj
;
26838 wxWindow
*arg1
= (wxWindow
*) 0 ;
26839 wxMenu
*arg2
= (wxMenu
*) 0 ;
26840 wxPoint
*arg3
= 0 ;
26843 PyObject
* obj0
= 0 ;
26844 PyObject
* obj1
= 0 ;
26845 PyObject
* obj2
= 0 ;
26846 char *kwnames
[] = {
26847 (char *) "self",(char *) "menu",(char *) "pos", NULL
26850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_PopupMenu",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26851 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26852 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26853 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
26854 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26857 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
26860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26861 result
= (bool)(arg1
)->PopupMenu(arg2
,(wxPoint
const &)*arg3
);
26863 wxPyEndAllowThreads(__tstate
);
26864 if (PyErr_Occurred()) SWIG_fail
;
26867 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26875 static PyObject
*_wrap_Window_GetHandle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26876 PyObject
*resultobj
;
26877 wxWindow
*arg1
= (wxWindow
*) 0 ;
26879 PyObject
* obj0
= 0 ;
26880 char *kwnames
[] = {
26881 (char *) "self", NULL
26884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetHandle",kwnames
,&obj0
)) goto fail
;
26885 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26886 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26889 result
= (long)wxWindow_GetHandle(arg1
);
26891 wxPyEndAllowThreads(__tstate
);
26892 if (PyErr_Occurred()) SWIG_fail
;
26894 resultobj
= SWIG_FromLong((long)result
);
26901 static PyObject
*_wrap_Window_OnPaint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26902 PyObject
*resultobj
;
26903 wxWindow
*arg1
= (wxWindow
*) 0 ;
26904 wxPaintEvent
*arg2
= 0 ;
26905 PyObject
* obj0
= 0 ;
26906 PyObject
* obj1
= 0 ;
26907 char *kwnames
[] = {
26908 (char *) "self",(char *) "event", NULL
26911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_OnPaint",kwnames
,&obj0
,&obj1
)) goto fail
;
26912 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26913 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26914 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPaintEvent
,
26915 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26917 if (arg2
== NULL
) {
26918 PyErr_SetString(PyExc_TypeError
,"null reference");
26922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26923 (arg1
)->OnPaint(*arg2
);
26925 wxPyEndAllowThreads(__tstate
);
26926 if (PyErr_Occurred()) SWIG_fail
;
26928 Py_INCREF(Py_None
); resultobj
= Py_None
;
26935 static PyObject
*_wrap_Window_HasScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26936 PyObject
*resultobj
;
26937 wxWindow
*arg1
= (wxWindow
*) 0 ;
26940 PyObject
* obj0
= 0 ;
26941 PyObject
* obj1
= 0 ;
26942 char *kwnames
[] = {
26943 (char *) "self",(char *) "orient", NULL
26946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HasScrollbar",kwnames
,&obj0
,&obj1
)) goto fail
;
26947 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26948 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26949 arg2
= (int) SWIG_AsInt(obj1
);
26950 if (PyErr_Occurred()) SWIG_fail
;
26952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26953 result
= (bool)((wxWindow
const *)arg1
)->HasScrollbar(arg2
);
26955 wxPyEndAllowThreads(__tstate
);
26956 if (PyErr_Occurred()) SWIG_fail
;
26959 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26967 static PyObject
*_wrap_Window_SetScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26968 PyObject
*resultobj
;
26969 wxWindow
*arg1
= (wxWindow
*) 0 ;
26974 bool arg6
= (bool) True
;
26975 PyObject
* obj0
= 0 ;
26976 PyObject
* obj1
= 0 ;
26977 PyObject
* obj2
= 0 ;
26978 PyObject
* obj3
= 0 ;
26979 PyObject
* obj4
= 0 ;
26980 PyObject
* obj5
= 0 ;
26981 char *kwnames
[] = {
26982 (char *) "self",(char *) "orientation",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "refresh", NULL
26985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Window_SetScrollbar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
26986 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26987 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26988 arg2
= (int) SWIG_AsInt(obj1
);
26989 if (PyErr_Occurred()) SWIG_fail
;
26990 arg3
= (int) SWIG_AsInt(obj2
);
26991 if (PyErr_Occurred()) SWIG_fail
;
26992 arg4
= (int) SWIG_AsInt(obj3
);
26993 if (PyErr_Occurred()) SWIG_fail
;
26994 arg5
= (int) SWIG_AsInt(obj4
);
26995 if (PyErr_Occurred()) SWIG_fail
;
26997 arg6
= (bool) SWIG_AsBool(obj5
);
26998 if (PyErr_Occurred()) SWIG_fail
;
27001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27002 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
27004 wxPyEndAllowThreads(__tstate
);
27005 if (PyErr_Occurred()) SWIG_fail
;
27007 Py_INCREF(Py_None
); resultobj
= Py_None
;
27014 static PyObject
*_wrap_Window_SetScrollPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27015 PyObject
*resultobj
;
27016 wxWindow
*arg1
= (wxWindow
*) 0 ;
27019 bool arg4
= (bool) True
;
27020 PyObject
* obj0
= 0 ;
27021 PyObject
* obj1
= 0 ;
27022 PyObject
* obj2
= 0 ;
27023 PyObject
* obj3
= 0 ;
27024 char *kwnames
[] = {
27025 (char *) "self",(char *) "orientation",(char *) "pos",(char *) "refresh", NULL
27028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_SetScrollPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27029 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27030 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27031 arg2
= (int) SWIG_AsInt(obj1
);
27032 if (PyErr_Occurred()) SWIG_fail
;
27033 arg3
= (int) SWIG_AsInt(obj2
);
27034 if (PyErr_Occurred()) SWIG_fail
;
27036 arg4
= (bool) SWIG_AsBool(obj3
);
27037 if (PyErr_Occurred()) SWIG_fail
;
27040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27041 (arg1
)->SetScrollPos(arg2
,arg3
,arg4
);
27043 wxPyEndAllowThreads(__tstate
);
27044 if (PyErr_Occurred()) SWIG_fail
;
27046 Py_INCREF(Py_None
); resultobj
= Py_None
;
27053 static PyObject
*_wrap_Window_GetScrollPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27054 PyObject
*resultobj
;
27055 wxWindow
*arg1
= (wxWindow
*) 0 ;
27058 PyObject
* obj0
= 0 ;
27059 PyObject
* obj1
= 0 ;
27060 char *kwnames
[] = {
27061 (char *) "self",(char *) "orientation", NULL
27064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollPos",kwnames
,&obj0
,&obj1
)) goto fail
;
27065 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27066 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27067 arg2
= (int) SWIG_AsInt(obj1
);
27068 if (PyErr_Occurred()) SWIG_fail
;
27070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27071 result
= (int)((wxWindow
const *)arg1
)->GetScrollPos(arg2
);
27073 wxPyEndAllowThreads(__tstate
);
27074 if (PyErr_Occurred()) SWIG_fail
;
27076 resultobj
= SWIG_FromInt((int)result
);
27083 static PyObject
*_wrap_Window_GetScrollThumb(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27084 PyObject
*resultobj
;
27085 wxWindow
*arg1
= (wxWindow
*) 0 ;
27088 PyObject
* obj0
= 0 ;
27089 PyObject
* obj1
= 0 ;
27090 char *kwnames
[] = {
27091 (char *) "self",(char *) "orientation", NULL
27094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollThumb",kwnames
,&obj0
,&obj1
)) goto fail
;
27095 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27096 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27097 arg2
= (int) SWIG_AsInt(obj1
);
27098 if (PyErr_Occurred()) SWIG_fail
;
27100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27101 result
= (int)((wxWindow
const *)arg1
)->GetScrollThumb(arg2
);
27103 wxPyEndAllowThreads(__tstate
);
27104 if (PyErr_Occurred()) SWIG_fail
;
27106 resultobj
= SWIG_FromInt((int)result
);
27113 static PyObject
*_wrap_Window_GetScrollRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27114 PyObject
*resultobj
;
27115 wxWindow
*arg1
= (wxWindow
*) 0 ;
27118 PyObject
* obj0
= 0 ;
27119 PyObject
* obj1
= 0 ;
27120 char *kwnames
[] = {
27121 (char *) "self",(char *) "orientation", NULL
27124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollRange",kwnames
,&obj0
,&obj1
)) goto fail
;
27125 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27126 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27127 arg2
= (int) SWIG_AsInt(obj1
);
27128 if (PyErr_Occurred()) SWIG_fail
;
27130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27131 result
= (int)((wxWindow
const *)arg1
)->GetScrollRange(arg2
);
27133 wxPyEndAllowThreads(__tstate
);
27134 if (PyErr_Occurred()) SWIG_fail
;
27136 resultobj
= SWIG_FromInt((int)result
);
27143 static PyObject
*_wrap_Window_ScrollWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27144 PyObject
*resultobj
;
27145 wxWindow
*arg1
= (wxWindow
*) 0 ;
27148 wxRect
*arg4
= (wxRect
*) NULL
;
27149 PyObject
* obj0
= 0 ;
27150 PyObject
* obj1
= 0 ;
27151 PyObject
* obj2
= 0 ;
27152 PyObject
* obj3
= 0 ;
27153 char *kwnames
[] = {
27154 (char *) "self",(char *) "dx",(char *) "dy",(char *) "rect", NULL
27157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_ScrollWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27158 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27159 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27160 arg2
= (int) SWIG_AsInt(obj1
);
27161 if (PyErr_Occurred()) SWIG_fail
;
27162 arg3
= (int) SWIG_AsInt(obj2
);
27163 if (PyErr_Occurred()) SWIG_fail
;
27165 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxRect
,
27166 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27170 (arg1
)->ScrollWindow(arg2
,arg3
,(wxRect
const *)arg4
);
27172 wxPyEndAllowThreads(__tstate
);
27173 if (PyErr_Occurred()) SWIG_fail
;
27175 Py_INCREF(Py_None
); resultobj
= Py_None
;
27182 static PyObject
*_wrap_Window_ScrollLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27183 PyObject
*resultobj
;
27184 wxWindow
*arg1
= (wxWindow
*) 0 ;
27187 PyObject
* obj0
= 0 ;
27188 PyObject
* obj1
= 0 ;
27189 char *kwnames
[] = {
27190 (char *) "self",(char *) "lines", NULL
27193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScrollLines",kwnames
,&obj0
,&obj1
)) goto fail
;
27194 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27195 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27196 arg2
= (int) SWIG_AsInt(obj1
);
27197 if (PyErr_Occurred()) SWIG_fail
;
27199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27200 result
= (bool)(arg1
)->ScrollLines(arg2
);
27202 wxPyEndAllowThreads(__tstate
);
27203 if (PyErr_Occurred()) SWIG_fail
;
27206 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27214 static PyObject
*_wrap_Window_ScrollPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27215 PyObject
*resultobj
;
27216 wxWindow
*arg1
= (wxWindow
*) 0 ;
27219 PyObject
* obj0
= 0 ;
27220 PyObject
* obj1
= 0 ;
27221 char *kwnames
[] = {
27222 (char *) "self",(char *) "pages", NULL
27225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScrollPages",kwnames
,&obj0
,&obj1
)) goto fail
;
27226 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27227 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27228 arg2
= (int) SWIG_AsInt(obj1
);
27229 if (PyErr_Occurred()) SWIG_fail
;
27231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27232 result
= (bool)(arg1
)->ScrollPages(arg2
);
27234 wxPyEndAllowThreads(__tstate
);
27235 if (PyErr_Occurred()) SWIG_fail
;
27238 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27246 static PyObject
*_wrap_Window_LineUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27247 PyObject
*resultobj
;
27248 wxWindow
*arg1
= (wxWindow
*) 0 ;
27250 PyObject
* obj0
= 0 ;
27251 char *kwnames
[] = {
27252 (char *) "self", NULL
27255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_LineUp",kwnames
,&obj0
)) goto fail
;
27256 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27257 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27260 result
= (bool)(arg1
)->LineUp();
27262 wxPyEndAllowThreads(__tstate
);
27263 if (PyErr_Occurred()) SWIG_fail
;
27266 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27274 static PyObject
*_wrap_Window_LineDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27275 PyObject
*resultobj
;
27276 wxWindow
*arg1
= (wxWindow
*) 0 ;
27278 PyObject
* obj0
= 0 ;
27279 char *kwnames
[] = {
27280 (char *) "self", NULL
27283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_LineDown",kwnames
,&obj0
)) goto fail
;
27284 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27285 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27288 result
= (bool)(arg1
)->LineDown();
27290 wxPyEndAllowThreads(__tstate
);
27291 if (PyErr_Occurred()) SWIG_fail
;
27294 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27302 static PyObject
*_wrap_Window_PageUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27303 PyObject
*resultobj
;
27304 wxWindow
*arg1
= (wxWindow
*) 0 ;
27306 PyObject
* obj0
= 0 ;
27307 char *kwnames
[] = {
27308 (char *) "self", NULL
27311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PageUp",kwnames
,&obj0
)) goto fail
;
27312 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27313 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27316 result
= (bool)(arg1
)->PageUp();
27318 wxPyEndAllowThreads(__tstate
);
27319 if (PyErr_Occurred()) SWIG_fail
;
27322 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27330 static PyObject
*_wrap_Window_PageDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27331 PyObject
*resultobj
;
27332 wxWindow
*arg1
= (wxWindow
*) 0 ;
27334 PyObject
* obj0
= 0 ;
27335 char *kwnames
[] = {
27336 (char *) "self", NULL
27339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PageDown",kwnames
,&obj0
)) goto fail
;
27340 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27344 result
= (bool)(arg1
)->PageDown();
27346 wxPyEndAllowThreads(__tstate
);
27347 if (PyErr_Occurred()) SWIG_fail
;
27350 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27358 static PyObject
*_wrap_Window_SetHelpText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27359 PyObject
*resultobj
;
27360 wxWindow
*arg1
= (wxWindow
*) 0 ;
27361 wxString
*arg2
= 0 ;
27362 bool temp2
= False
;
27363 PyObject
* obj0
= 0 ;
27364 PyObject
* obj1
= 0 ;
27365 char *kwnames
[] = {
27366 (char *) "self",(char *) "text", NULL
27369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpText",kwnames
,&obj0
,&obj1
)) goto fail
;
27370 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27371 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27373 arg2
= wxString_in_helper(obj1
);
27374 if (arg2
== NULL
) SWIG_fail
;
27378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27379 (arg1
)->SetHelpText((wxString
const &)*arg2
);
27381 wxPyEndAllowThreads(__tstate
);
27382 if (PyErr_Occurred()) SWIG_fail
;
27384 Py_INCREF(Py_None
); resultobj
= Py_None
;
27399 static PyObject
*_wrap_Window_SetHelpTextForId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27400 PyObject
*resultobj
;
27401 wxWindow
*arg1
= (wxWindow
*) 0 ;
27402 wxString
*arg2
= 0 ;
27403 bool temp2
= False
;
27404 PyObject
* obj0
= 0 ;
27405 PyObject
* obj1
= 0 ;
27406 char *kwnames
[] = {
27407 (char *) "self",(char *) "text", NULL
27410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpTextForId",kwnames
,&obj0
,&obj1
)) goto fail
;
27411 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27412 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27414 arg2
= wxString_in_helper(obj1
);
27415 if (arg2
== NULL
) SWIG_fail
;
27419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27420 (arg1
)->SetHelpTextForId((wxString
const &)*arg2
);
27422 wxPyEndAllowThreads(__tstate
);
27423 if (PyErr_Occurred()) SWIG_fail
;
27425 Py_INCREF(Py_None
); resultobj
= Py_None
;
27440 static PyObject
*_wrap_Window_GetHelpText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27441 PyObject
*resultobj
;
27442 wxWindow
*arg1
= (wxWindow
*) 0 ;
27444 PyObject
* obj0
= 0 ;
27445 char *kwnames
[] = {
27446 (char *) "self", NULL
27449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetHelpText",kwnames
,&obj0
)) goto fail
;
27450 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27451 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27454 result
= ((wxWindow
const *)arg1
)->GetHelpText();
27456 wxPyEndAllowThreads(__tstate
);
27457 if (PyErr_Occurred()) SWIG_fail
;
27461 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27463 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27472 static PyObject
*_wrap_Window_SetToolTipString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27473 PyObject
*resultobj
;
27474 wxWindow
*arg1
= (wxWindow
*) 0 ;
27475 wxString
*arg2
= 0 ;
27476 bool temp2
= False
;
27477 PyObject
* obj0
= 0 ;
27478 PyObject
* obj1
= 0 ;
27479 char *kwnames
[] = {
27480 (char *) "self",(char *) "tip", NULL
27483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTipString",kwnames
,&obj0
,&obj1
)) goto fail
;
27484 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27485 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27487 arg2
= wxString_in_helper(obj1
);
27488 if (arg2
== NULL
) SWIG_fail
;
27492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27493 (arg1
)->SetToolTip((wxString
const &)*arg2
);
27495 wxPyEndAllowThreads(__tstate
);
27496 if (PyErr_Occurred()) SWIG_fail
;
27498 Py_INCREF(Py_None
); resultobj
= Py_None
;
27513 static PyObject
*_wrap_Window_SetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27514 PyObject
*resultobj
;
27515 wxWindow
*arg1
= (wxWindow
*) 0 ;
27516 wxToolTip
*arg2
= (wxToolTip
*) 0 ;
27517 PyObject
* obj0
= 0 ;
27518 PyObject
* obj1
= 0 ;
27519 char *kwnames
[] = {
27520 (char *) "self",(char *) "tip", NULL
27523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTip",kwnames
,&obj0
,&obj1
)) goto fail
;
27524 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27525 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27526 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolTip
,
27527 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27530 (arg1
)->SetToolTip(arg2
);
27532 wxPyEndAllowThreads(__tstate
);
27533 if (PyErr_Occurred()) SWIG_fail
;
27535 Py_INCREF(Py_None
); resultobj
= Py_None
;
27542 static PyObject
*_wrap_Window_GetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27543 PyObject
*resultobj
;
27544 wxWindow
*arg1
= (wxWindow
*) 0 ;
27546 PyObject
* obj0
= 0 ;
27547 char *kwnames
[] = {
27548 (char *) "self", NULL
27551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetToolTip",kwnames
,&obj0
)) goto fail
;
27552 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27553 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27556 result
= (wxToolTip
*)((wxWindow
const *)arg1
)->GetToolTip();
27558 wxPyEndAllowThreads(__tstate
);
27559 if (PyErr_Occurred()) SWIG_fail
;
27562 resultobj
= wxPyMake_wxObject(result
);
27570 static PyObject
*_wrap_Window_SetDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27571 PyObject
*resultobj
;
27572 wxWindow
*arg1
= (wxWindow
*) 0 ;
27573 wxPyDropTarget
*arg2
= (wxPyDropTarget
*) 0 ;
27574 PyObject
* obj0
= 0 ;
27575 PyObject
* obj1
= 0 ;
27576 char *kwnames
[] = {
27577 (char *) "self",(char *) "dropTarget", NULL
27580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDropTarget",kwnames
,&obj0
,&obj1
)) goto fail
;
27581 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27582 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27583 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyDropTarget
,
27584 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
27586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27587 (arg1
)->SetDropTarget(arg2
);
27589 wxPyEndAllowThreads(__tstate
);
27590 if (PyErr_Occurred()) SWIG_fail
;
27592 Py_INCREF(Py_None
); resultobj
= Py_None
;
27599 static PyObject
*_wrap_Window_GetDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27600 PyObject
*resultobj
;
27601 wxWindow
*arg1
= (wxWindow
*) 0 ;
27602 wxPyDropTarget
*result
;
27603 PyObject
* obj0
= 0 ;
27604 char *kwnames
[] = {
27605 (char *) "self", NULL
27608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDropTarget",kwnames
,&obj0
)) goto fail
;
27609 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27610 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27613 result
= (wxPyDropTarget
*)((wxWindow
const *)arg1
)->GetDropTarget();
27615 wxPyEndAllowThreads(__tstate
);
27616 if (PyErr_Occurred()) SWIG_fail
;
27618 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropTarget
, 0);
27625 static PyObject
*_wrap_Window_DragAcceptFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27626 PyObject
*resultobj
;
27627 wxWindow
*arg1
= (wxWindow
*) 0 ;
27629 PyObject
* obj0
= 0 ;
27630 PyObject
* obj1
= 0 ;
27631 char *kwnames
[] = {
27632 (char *) "self",(char *) "accept", NULL
27635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DragAcceptFiles",kwnames
,&obj0
,&obj1
)) goto fail
;
27636 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27637 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27638 arg2
= (bool) SWIG_AsBool(obj1
);
27639 if (PyErr_Occurred()) SWIG_fail
;
27641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27642 (arg1
)->DragAcceptFiles(arg2
);
27644 wxPyEndAllowThreads(__tstate
);
27645 if (PyErr_Occurred()) SWIG_fail
;
27647 Py_INCREF(Py_None
); resultobj
= Py_None
;
27654 static PyObject
*_wrap_Window_SetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27655 PyObject
*resultobj
;
27656 wxWindow
*arg1
= (wxWindow
*) 0 ;
27657 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
27658 PyObject
* obj0
= 0 ;
27659 PyObject
* obj1
= 0 ;
27660 char *kwnames
[] = {
27661 (char *) "self",(char *) "constraints", NULL
27664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetConstraints",kwnames
,&obj0
,&obj1
)) goto fail
;
27665 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27666 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27667 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxLayoutConstraints
,
27668 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27671 (arg1
)->SetConstraints(arg2
);
27673 wxPyEndAllowThreads(__tstate
);
27674 if (PyErr_Occurred()) SWIG_fail
;
27676 Py_INCREF(Py_None
); resultobj
= Py_None
;
27683 static PyObject
*_wrap_Window_GetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27684 PyObject
*resultobj
;
27685 wxWindow
*arg1
= (wxWindow
*) 0 ;
27686 wxLayoutConstraints
*result
;
27687 PyObject
* obj0
= 0 ;
27688 char *kwnames
[] = {
27689 (char *) "self", NULL
27692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetConstraints",kwnames
,&obj0
)) goto fail
;
27693 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27694 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27697 result
= (wxLayoutConstraints
*)((wxWindow
const *)arg1
)->GetConstraints();
27699 wxPyEndAllowThreads(__tstate
);
27700 if (PyErr_Occurred()) SWIG_fail
;
27702 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutConstraints
, 0);
27709 static PyObject
*_wrap_Window_SetAutoLayout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27710 PyObject
*resultobj
;
27711 wxWindow
*arg1
= (wxWindow
*) 0 ;
27713 PyObject
* obj0
= 0 ;
27714 PyObject
* obj1
= 0 ;
27715 char *kwnames
[] = {
27716 (char *) "self",(char *) "autoLayout", NULL
27719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAutoLayout",kwnames
,&obj0
,&obj1
)) goto fail
;
27720 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27721 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27722 arg2
= (bool) SWIG_AsBool(obj1
);
27723 if (PyErr_Occurred()) SWIG_fail
;
27725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27726 (arg1
)->SetAutoLayout(arg2
);
27728 wxPyEndAllowThreads(__tstate
);
27729 if (PyErr_Occurred()) SWIG_fail
;
27731 Py_INCREF(Py_None
); resultobj
= Py_None
;
27738 static PyObject
*_wrap_Window_GetAutoLayout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27739 PyObject
*resultobj
;
27740 wxWindow
*arg1
= (wxWindow
*) 0 ;
27742 PyObject
* obj0
= 0 ;
27743 char *kwnames
[] = {
27744 (char *) "self", NULL
27747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAutoLayout",kwnames
,&obj0
)) goto fail
;
27748 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27749 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27752 result
= (bool)((wxWindow
const *)arg1
)->GetAutoLayout();
27754 wxPyEndAllowThreads(__tstate
);
27755 if (PyErr_Occurred()) SWIG_fail
;
27758 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27766 static PyObject
*_wrap_Window_Layout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27767 PyObject
*resultobj
;
27768 wxWindow
*arg1
= (wxWindow
*) 0 ;
27770 PyObject
* obj0
= 0 ;
27771 char *kwnames
[] = {
27772 (char *) "self", NULL
27775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Layout",kwnames
,&obj0
)) goto fail
;
27776 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27777 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27780 result
= (bool)(arg1
)->Layout();
27782 wxPyEndAllowThreads(__tstate
);
27783 if (PyErr_Occurred()) SWIG_fail
;
27786 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27794 static PyObject
*_wrap_Window_SetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27795 PyObject
*resultobj
;
27796 wxWindow
*arg1
= (wxWindow
*) 0 ;
27797 wxSizer
*arg2
= (wxSizer
*) 0 ;
27798 bool arg3
= (bool) True
;
27799 PyObject
* obj0
= 0 ;
27800 PyObject
* obj1
= 0 ;
27801 PyObject
* obj2
= 0 ;
27802 char *kwnames
[] = {
27803 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
27806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizer",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27807 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27808 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27809 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
27810 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27812 arg3
= (bool) SWIG_AsBool(obj2
);
27813 if (PyErr_Occurred()) SWIG_fail
;
27816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27817 (arg1
)->SetSizer(arg2
,arg3
);
27819 wxPyEndAllowThreads(__tstate
);
27820 if (PyErr_Occurred()) SWIG_fail
;
27822 Py_INCREF(Py_None
); resultobj
= Py_None
;
27829 static PyObject
*_wrap_Window_SetSizerAndFit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27830 PyObject
*resultobj
;
27831 wxWindow
*arg1
= (wxWindow
*) 0 ;
27832 wxSizer
*arg2
= (wxSizer
*) 0 ;
27833 bool arg3
= (bool) True
;
27834 PyObject
* obj0
= 0 ;
27835 PyObject
* obj1
= 0 ;
27836 PyObject
* obj2
= 0 ;
27837 char *kwnames
[] = {
27838 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
27841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizerAndFit",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27842 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27843 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27844 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
27845 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27847 arg3
= (bool) SWIG_AsBool(obj2
);
27848 if (PyErr_Occurred()) SWIG_fail
;
27851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27852 (arg1
)->SetSizerAndFit(arg2
,arg3
);
27854 wxPyEndAllowThreads(__tstate
);
27855 if (PyErr_Occurred()) SWIG_fail
;
27857 Py_INCREF(Py_None
); resultobj
= Py_None
;
27864 static PyObject
*_wrap_Window_GetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27865 PyObject
*resultobj
;
27866 wxWindow
*arg1
= (wxWindow
*) 0 ;
27868 PyObject
* obj0
= 0 ;
27869 char *kwnames
[] = {
27870 (char *) "self", NULL
27873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSizer",kwnames
,&obj0
)) goto fail
;
27874 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27875 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27878 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetSizer();
27880 wxPyEndAllowThreads(__tstate
);
27881 if (PyErr_Occurred()) SWIG_fail
;
27884 resultobj
= wxPyMake_wxSizer(result
);
27892 static PyObject
*_wrap_Window_SetContainingSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27893 PyObject
*resultobj
;
27894 wxWindow
*arg1
= (wxWindow
*) 0 ;
27895 wxSizer
*arg2
= (wxSizer
*) 0 ;
27896 PyObject
* obj0
= 0 ;
27897 PyObject
* obj1
= 0 ;
27898 char *kwnames
[] = {
27899 (char *) "self",(char *) "sizer", NULL
27902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetContainingSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
27903 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27904 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27905 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
27906 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27909 (arg1
)->SetContainingSizer(arg2
);
27911 wxPyEndAllowThreads(__tstate
);
27912 if (PyErr_Occurred()) SWIG_fail
;
27914 Py_INCREF(Py_None
); resultobj
= Py_None
;
27921 static PyObject
*_wrap_Window_GetContainingSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27922 PyObject
*resultobj
;
27923 wxWindow
*arg1
= (wxWindow
*) 0 ;
27925 PyObject
* obj0
= 0 ;
27926 char *kwnames
[] = {
27927 (char *) "self", NULL
27930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetContainingSizer",kwnames
,&obj0
)) goto fail
;
27931 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27932 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27935 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetContainingSizer();
27937 wxPyEndAllowThreads(__tstate
);
27938 if (PyErr_Occurred()) SWIG_fail
;
27941 resultobj
= wxPyMake_wxSizer(result
);
27949 static PyObject
*_wrap_Window_InheritAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27950 PyObject
*resultobj
;
27951 wxWindow
*arg1
= (wxWindow
*) 0 ;
27952 PyObject
* obj0
= 0 ;
27953 char *kwnames
[] = {
27954 (char *) "self", NULL
27957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InheritAttributes",kwnames
,&obj0
)) goto fail
;
27958 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27959 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27962 (arg1
)->InheritAttributes();
27964 wxPyEndAllowThreads(__tstate
);
27965 if (PyErr_Occurred()) SWIG_fail
;
27967 Py_INCREF(Py_None
); resultobj
= Py_None
;
27974 static PyObject
*_wrap_Window_ShouldInheritColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27975 PyObject
*resultobj
;
27976 wxWindow
*arg1
= (wxWindow
*) 0 ;
27978 PyObject
* obj0
= 0 ;
27979 char *kwnames
[] = {
27980 (char *) "self", NULL
27983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
27984 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27985 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27988 result
= (bool)((wxWindow
const *)arg1
)->ShouldInheritColours();
27990 wxPyEndAllowThreads(__tstate
);
27991 if (PyErr_Occurred()) SWIG_fail
;
27994 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28002 static PyObject
* Window_swigregister(PyObject
*self
, PyObject
*args
) {
28004 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28005 SWIG_TypeClientData(SWIGTYPE_p_wxWindow
, obj
);
28007 return Py_BuildValue((char *)"");
28009 static PyObject
*_wrap_FindWindowById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28010 PyObject
*resultobj
;
28012 wxWindow
*arg2
= (wxWindow
*) NULL
;
28014 PyObject
* obj0
= 0 ;
28015 PyObject
* obj1
= 0 ;
28016 char *kwnames
[] = {
28017 (char *) "id",(char *) "parent", NULL
28020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowById",kwnames
,&obj0
,&obj1
)) goto fail
;
28021 arg1
= (long) SWIG_AsLong(obj0
);
28022 if (PyErr_Occurred()) SWIG_fail
;
28024 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28025 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28029 result
= (wxWindow
*)wxFindWindowById(arg1
,(wxWindow
const *)arg2
);
28031 wxPyEndAllowThreads(__tstate
);
28032 if (PyErr_Occurred()) SWIG_fail
;
28035 resultobj
= wxPyMake_wxObject(result
);
28043 static PyObject
*_wrap_FindWindowByName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28044 PyObject
*resultobj
;
28045 wxString
*arg1
= 0 ;
28046 wxWindow
*arg2
= (wxWindow
*) NULL
;
28048 bool temp1
= False
;
28049 PyObject
* obj0
= 0 ;
28050 PyObject
* obj1
= 0 ;
28051 char *kwnames
[] = {
28052 (char *) "name",(char *) "parent", NULL
28055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByName",kwnames
,&obj0
,&obj1
)) goto fail
;
28057 arg1
= wxString_in_helper(obj0
);
28058 if (arg1
== NULL
) SWIG_fail
;
28062 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28063 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28067 result
= (wxWindow
*)wxFindWindowByName((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
28069 wxPyEndAllowThreads(__tstate
);
28070 if (PyErr_Occurred()) SWIG_fail
;
28073 resultobj
= wxPyMake_wxObject(result
);
28089 static PyObject
*_wrap_FindWindowByLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28090 PyObject
*resultobj
;
28091 wxString
*arg1
= 0 ;
28092 wxWindow
*arg2
= (wxWindow
*) NULL
;
28094 bool temp1
= False
;
28095 PyObject
* obj0
= 0 ;
28096 PyObject
* obj1
= 0 ;
28097 char *kwnames
[] = {
28098 (char *) "label",(char *) "parent", NULL
28101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
28103 arg1
= wxString_in_helper(obj0
);
28104 if (arg1
== NULL
) SWIG_fail
;
28108 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28109 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28113 result
= (wxWindow
*)wxFindWindowByLabel((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
28115 wxPyEndAllowThreads(__tstate
);
28116 if (PyErr_Occurred()) SWIG_fail
;
28119 resultobj
= wxPyMake_wxObject(result
);
28135 static PyObject
*_wrap_Window_FromHWND(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28136 PyObject
*resultobj
;
28137 wxWindow
*arg1
= (wxWindow
*) 0 ;
28138 unsigned long arg2
;
28140 PyObject
* obj0
= 0 ;
28141 PyObject
* obj1
= 0 ;
28142 char *kwnames
[] = {
28143 (char *) "parent",(char *) "_hWnd", NULL
28146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FromHWND",kwnames
,&obj0
,&obj1
)) goto fail
;
28147 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28148 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28149 arg2
= (unsigned long) SWIG_AsUnsignedLong(obj1
);
28150 if (PyErr_Occurred()) SWIG_fail
;
28152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28153 result
= (wxWindow
*)wxWindow_FromHWND(arg1
,arg2
);
28155 wxPyEndAllowThreads(__tstate
);
28156 if (PyErr_Occurred()) SWIG_fail
;
28159 resultobj
= wxPyMake_wxObject(result
);
28167 static PyObject
*_wrap_new_Validator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28168 PyObject
*resultobj
;
28169 wxValidator
*result
;
28170 char *kwnames
[] = {
28174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Validator",kwnames
)) goto fail
;
28176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28177 result
= (wxValidator
*)new wxValidator();
28179 wxPyEndAllowThreads(__tstate
);
28180 if (PyErr_Occurred()) SWIG_fail
;
28183 resultobj
= wxPyMake_wxObject(result
);
28191 static PyObject
*_wrap_Validator_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28192 PyObject
*resultobj
;
28193 wxValidator
*arg1
= (wxValidator
*) 0 ;
28194 wxValidator
*result
;
28195 PyObject
* obj0
= 0 ;
28196 char *kwnames
[] = {
28197 (char *) "self", NULL
28200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_Clone",kwnames
,&obj0
)) goto fail
;
28201 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
28202 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28205 result
= (wxValidator
*)(arg1
)->Clone();
28207 wxPyEndAllowThreads(__tstate
);
28208 if (PyErr_Occurred()) SWIG_fail
;
28211 resultobj
= wxPyMake_wxObject(result
);
28219 static PyObject
*_wrap_Validator_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28220 PyObject
*resultobj
;
28221 wxValidator
*arg1
= (wxValidator
*) 0 ;
28222 wxWindow
*arg2
= (wxWindow
*) 0 ;
28224 PyObject
* obj0
= 0 ;
28225 PyObject
* obj1
= 0 ;
28226 char *kwnames
[] = {
28227 (char *) "self",(char *) "parent", NULL
28230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_Validate",kwnames
,&obj0
,&obj1
)) goto fail
;
28231 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
28232 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28233 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28234 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28237 result
= (bool)(arg1
)->Validate(arg2
);
28239 wxPyEndAllowThreads(__tstate
);
28240 if (PyErr_Occurred()) SWIG_fail
;
28243 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28251 static PyObject
*_wrap_Validator_TransferToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28252 PyObject
*resultobj
;
28253 wxValidator
*arg1
= (wxValidator
*) 0 ;
28255 PyObject
* obj0
= 0 ;
28256 char *kwnames
[] = {
28257 (char *) "self", NULL
28260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_TransferToWindow",kwnames
,&obj0
)) goto fail
;
28261 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
28262 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28265 result
= (bool)(arg1
)->TransferToWindow();
28267 wxPyEndAllowThreads(__tstate
);
28268 if (PyErr_Occurred()) SWIG_fail
;
28271 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28279 static PyObject
*_wrap_Validator_TransferFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28280 PyObject
*resultobj
;
28281 wxValidator
*arg1
= (wxValidator
*) 0 ;
28283 PyObject
* obj0
= 0 ;
28284 char *kwnames
[] = {
28285 (char *) "self", NULL
28288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_TransferFromWindow",kwnames
,&obj0
)) goto fail
;
28289 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
28290 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28293 result
= (bool)(arg1
)->TransferFromWindow();
28295 wxPyEndAllowThreads(__tstate
);
28296 if (PyErr_Occurred()) SWIG_fail
;
28299 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28307 static PyObject
*_wrap_Validator_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28308 PyObject
*resultobj
;
28309 wxValidator
*arg1
= (wxValidator
*) 0 ;
28311 PyObject
* obj0
= 0 ;
28312 char *kwnames
[] = {
28313 (char *) "self", NULL
28316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_GetWindow",kwnames
,&obj0
)) goto fail
;
28317 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
28318 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28321 result
= (wxWindow
*)(arg1
)->GetWindow();
28323 wxPyEndAllowThreads(__tstate
);
28324 if (PyErr_Occurred()) SWIG_fail
;
28327 resultobj
= wxPyMake_wxObject(result
);
28335 static PyObject
*_wrap_Validator_SetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28336 PyObject
*resultobj
;
28337 wxValidator
*arg1
= (wxValidator
*) 0 ;
28338 wxWindow
*arg2
= (wxWindow
*) 0 ;
28339 PyObject
* obj0
= 0 ;
28340 PyObject
* obj1
= 0 ;
28341 char *kwnames
[] = {
28342 (char *) "self",(char *) "window", NULL
28345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
28346 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
28347 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28348 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28349 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28352 (arg1
)->SetWindow(arg2
);
28354 wxPyEndAllowThreads(__tstate
);
28355 if (PyErr_Occurred()) SWIG_fail
;
28357 Py_INCREF(Py_None
); resultobj
= Py_None
;
28364 static PyObject
*_wrap_Validator_IsSilent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28365 PyObject
*resultobj
;
28367 char *kwnames
[] = {
28371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Validator_IsSilent",kwnames
)) goto fail
;
28373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28374 result
= (bool)wxValidator::IsSilent();
28376 wxPyEndAllowThreads(__tstate
);
28377 if (PyErr_Occurred()) SWIG_fail
;
28380 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28388 static PyObject
*_wrap_Validator_SetBellOnError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28389 PyObject
*resultobj
;
28390 int arg1
= (int) True
;
28391 PyObject
* obj0
= 0 ;
28392 char *kwnames
[] = {
28393 (char *) "doIt", NULL
28396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Validator_SetBellOnError",kwnames
,&obj0
)) goto fail
;
28398 arg1
= (int) SWIG_AsInt(obj0
);
28399 if (PyErr_Occurred()) SWIG_fail
;
28402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28403 wxValidator::SetBellOnError(arg1
);
28405 wxPyEndAllowThreads(__tstate
);
28406 if (PyErr_Occurred()) SWIG_fail
;
28408 Py_INCREF(Py_None
); resultobj
= Py_None
;
28415 static PyObject
* Validator_swigregister(PyObject
*self
, PyObject
*args
) {
28417 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28418 SWIG_TypeClientData(SWIGTYPE_p_wxValidator
, obj
);
28420 return Py_BuildValue((char *)"");
28422 static PyObject
*_wrap_new_PyValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28423 PyObject
*resultobj
;
28424 wxPyValidator
*result
;
28425 char *kwnames
[] = {
28429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyValidator",kwnames
)) goto fail
;
28431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28432 result
= (wxPyValidator
*)new wxPyValidator();
28434 wxPyEndAllowThreads(__tstate
);
28435 if (PyErr_Occurred()) SWIG_fail
;
28437 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyValidator
, 1);
28444 static PyObject
*_wrap_PyValidator__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28445 PyObject
*resultobj
;
28446 wxPyValidator
*arg1
= (wxPyValidator
*) 0 ;
28447 PyObject
*arg2
= (PyObject
*) 0 ;
28448 PyObject
*arg3
= (PyObject
*) 0 ;
28449 int arg4
= (int) True
;
28450 PyObject
* obj0
= 0 ;
28451 PyObject
* obj1
= 0 ;
28452 PyObject
* obj2
= 0 ;
28453 PyObject
* obj3
= 0 ;
28454 char *kwnames
[] = {
28455 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
28458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PyValidator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28459 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyValidator
,
28460 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28464 arg4
= (int) SWIG_AsInt(obj3
);
28465 if (PyErr_Occurred()) SWIG_fail
;
28468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28469 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
28471 wxPyEndAllowThreads(__tstate
);
28472 if (PyErr_Occurred()) SWIG_fail
;
28474 Py_INCREF(Py_None
); resultobj
= Py_None
;
28481 static PyObject
* PyValidator_swigregister(PyObject
*self
, PyObject
*args
) {
28483 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28484 SWIG_TypeClientData(SWIGTYPE_p_wxPyValidator
, obj
);
28486 return Py_BuildValue((char *)"");
28488 static int _wrap_DefaultValidator_set(PyObject
*_val
) {
28489 PyErr_SetString(PyExc_TypeError
,"Variable DefaultValidator is read-only.");
28494 static PyObject
*_wrap_DefaultValidator_get() {
28497 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultValidator
), SWIGTYPE_p_wxValidator
, 0);
28502 static PyObject
*_wrap_new_Menu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28503 PyObject
*resultobj
;
28504 wxString
const &arg1_defvalue
= wxPyEmptyString
;
28505 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
28506 long arg2
= (long) 0 ;
28508 bool temp1
= False
;
28509 PyObject
* obj0
= 0 ;
28510 PyObject
* obj1
= 0 ;
28511 char *kwnames
[] = {
28512 (char *) "title",(char *) "style", NULL
28515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Menu",kwnames
,&obj0
,&obj1
)) goto fail
;
28518 arg1
= wxString_in_helper(obj0
);
28519 if (arg1
== NULL
) SWIG_fail
;
28524 arg2
= (long) SWIG_AsLong(obj1
);
28525 if (PyErr_Occurred()) SWIG_fail
;
28528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28529 result
= (wxMenu
*)new wxMenu((wxString
const &)*arg1
,arg2
);
28531 wxPyEndAllowThreads(__tstate
);
28532 if (PyErr_Occurred()) SWIG_fail
;
28535 resultobj
= wxPyMake_wxObject(result
);
28551 static PyObject
*_wrap_Menu_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28552 PyObject
*resultobj
;
28553 wxMenu
*arg1
= (wxMenu
*) 0 ;
28555 wxString
*arg3
= 0 ;
28556 wxString
const &arg4_defvalue
= wxPyEmptyString
;
28557 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
28558 int arg5
= (int) wxITEM_NORMAL
;
28559 wxMenuItem
*result
;
28560 bool temp3
= False
;
28561 bool temp4
= False
;
28562 PyObject
* obj0
= 0 ;
28563 PyObject
* obj1
= 0 ;
28564 PyObject
* obj2
= 0 ;
28565 PyObject
* obj3
= 0 ;
28566 PyObject
* obj4
= 0 ;
28567 char *kwnames
[] = {
28568 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
28571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Menu_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
28572 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28573 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28574 arg2
= (int) SWIG_AsInt(obj1
);
28575 if (PyErr_Occurred()) SWIG_fail
;
28577 arg3
= wxString_in_helper(obj2
);
28578 if (arg3
== NULL
) SWIG_fail
;
28583 arg4
= wxString_in_helper(obj3
);
28584 if (arg4
== NULL
) SWIG_fail
;
28589 arg5
= (wxItemKind
) SWIG_AsInt(obj4
);
28590 if (PyErr_Occurred()) SWIG_fail
;
28593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28594 result
= (wxMenuItem
*)(arg1
)->Append(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
);
28596 wxPyEndAllowThreads(__tstate
);
28597 if (PyErr_Occurred()) SWIG_fail
;
28600 resultobj
= wxPyMake_wxObject(result
);
28624 static PyObject
*_wrap_Menu_AppendSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28625 PyObject
*resultobj
;
28626 wxMenu
*arg1
= (wxMenu
*) 0 ;
28627 wxMenuItem
*result
;
28628 PyObject
* obj0
= 0 ;
28629 char *kwnames
[] = {
28630 (char *) "self", NULL
28633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_AppendSeparator",kwnames
,&obj0
)) goto fail
;
28634 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28635 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28638 result
= (wxMenuItem
*)(arg1
)->AppendSeparator();
28640 wxPyEndAllowThreads(__tstate
);
28641 if (PyErr_Occurred()) SWIG_fail
;
28644 resultobj
= wxPyMake_wxObject(result
);
28652 static PyObject
*_wrap_Menu_AppendCheckItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28653 PyObject
*resultobj
;
28654 wxMenu
*arg1
= (wxMenu
*) 0 ;
28656 wxString
*arg3
= 0 ;
28657 wxString
const &arg4_defvalue
= wxPyEmptyString
;
28658 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
28659 wxMenuItem
*result
;
28660 bool temp3
= False
;
28661 bool temp4
= False
;
28662 PyObject
* obj0
= 0 ;
28663 PyObject
* obj1
= 0 ;
28664 PyObject
* obj2
= 0 ;
28665 PyObject
* obj3
= 0 ;
28666 char *kwnames
[] = {
28667 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
28670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_AppendCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28671 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28672 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28673 arg2
= (int) SWIG_AsInt(obj1
);
28674 if (PyErr_Occurred()) SWIG_fail
;
28676 arg3
= wxString_in_helper(obj2
);
28677 if (arg3
== NULL
) SWIG_fail
;
28682 arg4
= wxString_in_helper(obj3
);
28683 if (arg4
== NULL
) SWIG_fail
;
28688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28689 result
= (wxMenuItem
*)(arg1
)->AppendCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
28691 wxPyEndAllowThreads(__tstate
);
28692 if (PyErr_Occurred()) SWIG_fail
;
28695 resultobj
= wxPyMake_wxObject(result
);
28719 static PyObject
*_wrap_Menu_AppendRadioItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28720 PyObject
*resultobj
;
28721 wxMenu
*arg1
= (wxMenu
*) 0 ;
28723 wxString
*arg3
= 0 ;
28724 wxString
const &arg4_defvalue
= wxPyEmptyString
;
28725 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
28726 wxMenuItem
*result
;
28727 bool temp3
= False
;
28728 bool temp4
= False
;
28729 PyObject
* obj0
= 0 ;
28730 PyObject
* obj1
= 0 ;
28731 PyObject
* obj2
= 0 ;
28732 PyObject
* obj3
= 0 ;
28733 char *kwnames
[] = {
28734 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
28737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_AppendRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28738 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28739 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28740 arg2
= (int) SWIG_AsInt(obj1
);
28741 if (PyErr_Occurred()) SWIG_fail
;
28743 arg3
= wxString_in_helper(obj2
);
28744 if (arg3
== NULL
) SWIG_fail
;
28749 arg4
= wxString_in_helper(obj3
);
28750 if (arg4
== NULL
) SWIG_fail
;
28755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28756 result
= (wxMenuItem
*)(arg1
)->AppendRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
28758 wxPyEndAllowThreads(__tstate
);
28759 if (PyErr_Occurred()) SWIG_fail
;
28762 resultobj
= wxPyMake_wxObject(result
);
28786 static PyObject
*_wrap_Menu_AppendMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28787 PyObject
*resultobj
;
28788 wxMenu
*arg1
= (wxMenu
*) 0 ;
28790 wxString
*arg3
= 0 ;
28791 wxMenu
*arg4
= (wxMenu
*) 0 ;
28792 wxString
const &arg5_defvalue
= wxPyEmptyString
;
28793 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
28794 wxMenuItem
*result
;
28795 bool temp3
= False
;
28796 bool temp5
= False
;
28797 PyObject
* obj0
= 0 ;
28798 PyObject
* obj1
= 0 ;
28799 PyObject
* obj2
= 0 ;
28800 PyObject
* obj3
= 0 ;
28801 PyObject
* obj4
= 0 ;
28802 char *kwnames
[] = {
28803 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
28806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_AppendMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
28807 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28808 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28809 arg2
= (int) SWIG_AsInt(obj1
);
28810 if (PyErr_Occurred()) SWIG_fail
;
28812 arg3
= wxString_in_helper(obj2
);
28813 if (arg3
== NULL
) SWIG_fail
;
28816 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxMenu
,
28817 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28820 arg5
= wxString_in_helper(obj4
);
28821 if (arg5
== NULL
) SWIG_fail
;
28826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28827 result
= (wxMenuItem
*)(arg1
)->Append(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
28829 wxPyEndAllowThreads(__tstate
);
28830 if (PyErr_Occurred()) SWIG_fail
;
28833 resultobj
= wxPyMake_wxObject(result
);
28857 static PyObject
*_wrap_Menu_AppendItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28858 PyObject
*resultobj
;
28859 wxMenu
*arg1
= (wxMenu
*) 0 ;
28860 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
28861 wxMenuItem
*result
;
28862 PyObject
* obj0
= 0 ;
28863 PyObject
* obj1
= 0 ;
28864 char *kwnames
[] = {
28865 (char *) "self",(char *) "item", NULL
28868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_AppendItem",kwnames
,&obj0
,&obj1
)) goto fail
;
28869 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28870 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28871 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
28872 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28875 result
= (wxMenuItem
*)(arg1
)->Append(arg2
);
28877 wxPyEndAllowThreads(__tstate
);
28878 if (PyErr_Occurred()) SWIG_fail
;
28881 resultobj
= wxPyMake_wxObject(result
);
28889 static PyObject
*_wrap_Menu_Break(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28890 PyObject
*resultobj
;
28891 wxMenu
*arg1
= (wxMenu
*) 0 ;
28892 PyObject
* obj0
= 0 ;
28893 char *kwnames
[] = {
28894 (char *) "self", NULL
28897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Break",kwnames
,&obj0
)) goto fail
;
28898 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28899 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28904 wxPyEndAllowThreads(__tstate
);
28905 if (PyErr_Occurred()) SWIG_fail
;
28907 Py_INCREF(Py_None
); resultobj
= Py_None
;
28914 static PyObject
*_wrap_Menu_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28915 PyObject
*resultobj
;
28916 wxMenu
*arg1
= (wxMenu
*) 0 ;
28918 wxMenuItem
*arg3
= (wxMenuItem
*) 0 ;
28919 wxMenuItem
*result
;
28920 PyObject
* obj0
= 0 ;
28921 PyObject
* obj1
= 0 ;
28922 PyObject
* obj2
= 0 ;
28923 char *kwnames
[] = {
28924 (char *) "self",(char *) "pos",(char *) "item", NULL
28927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28928 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28929 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28930 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
28931 if (PyErr_Occurred()) SWIG_fail
;
28932 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMenuItem
,
28933 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28936 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
);
28938 wxPyEndAllowThreads(__tstate
);
28939 if (PyErr_Occurred()) SWIG_fail
;
28942 resultobj
= wxPyMake_wxObject(result
);
28950 static PyObject
*_wrap_Menu_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28951 PyObject
*resultobj
;
28952 wxMenu
*arg1
= (wxMenu
*) 0 ;
28955 wxString
*arg4
= 0 ;
28956 wxString
const &arg5_defvalue
= wxPyEmptyString
;
28957 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
28958 int arg6
= (int) wxITEM_NORMAL
;
28959 wxMenuItem
*result
;
28960 bool temp4
= False
;
28961 bool temp5
= False
;
28962 PyObject
* obj0
= 0 ;
28963 PyObject
* obj1
= 0 ;
28964 PyObject
* obj2
= 0 ;
28965 PyObject
* obj3
= 0 ;
28966 PyObject
* obj4
= 0 ;
28967 PyObject
* obj5
= 0 ;
28968 char *kwnames
[] = {
28969 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
28972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:Menu_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
28973 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28974 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28975 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
28976 if (PyErr_Occurred()) SWIG_fail
;
28977 arg3
= (int) SWIG_AsInt(obj2
);
28978 if (PyErr_Occurred()) SWIG_fail
;
28980 arg4
= wxString_in_helper(obj3
);
28981 if (arg4
== NULL
) SWIG_fail
;
28986 arg5
= wxString_in_helper(obj4
);
28987 if (arg5
== NULL
) SWIG_fail
;
28992 arg6
= (wxItemKind
) SWIG_AsInt(obj5
);
28993 if (PyErr_Occurred()) SWIG_fail
;
28996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28997 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,(wxItemKind
)arg6
);
28999 wxPyEndAllowThreads(__tstate
);
29000 if (PyErr_Occurred()) SWIG_fail
;
29003 resultobj
= wxPyMake_wxObject(result
);
29027 static PyObject
*_wrap_Menu_InsertSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29028 PyObject
*resultobj
;
29029 wxMenu
*arg1
= (wxMenu
*) 0 ;
29031 wxMenuItem
*result
;
29032 PyObject
* obj0
= 0 ;
29033 PyObject
* obj1
= 0 ;
29034 char *kwnames
[] = {
29035 (char *) "self",(char *) "pos", NULL
29038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_InsertSeparator",kwnames
,&obj0
,&obj1
)) goto fail
;
29039 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29040 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29041 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
29042 if (PyErr_Occurred()) SWIG_fail
;
29044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29045 result
= (wxMenuItem
*)(arg1
)->InsertSeparator(arg2
);
29047 wxPyEndAllowThreads(__tstate
);
29048 if (PyErr_Occurred()) SWIG_fail
;
29051 resultobj
= wxPyMake_wxObject(result
);
29059 static PyObject
*_wrap_Menu_InsertCheckItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29060 PyObject
*resultobj
;
29061 wxMenu
*arg1
= (wxMenu
*) 0 ;
29064 wxString
*arg4
= 0 ;
29065 wxString
const &arg5_defvalue
= wxPyEmptyString
;
29066 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
29067 wxMenuItem
*result
;
29068 bool temp4
= False
;
29069 bool temp5
= False
;
29070 PyObject
* obj0
= 0 ;
29071 PyObject
* obj1
= 0 ;
29072 PyObject
* obj2
= 0 ;
29073 PyObject
* obj3
= 0 ;
29074 PyObject
* obj4
= 0 ;
29075 char *kwnames
[] = {
29076 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
29079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_InsertCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29080 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29081 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29082 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
29083 if (PyErr_Occurred()) SWIG_fail
;
29084 arg3
= (int) SWIG_AsInt(obj2
);
29085 if (PyErr_Occurred()) SWIG_fail
;
29087 arg4
= wxString_in_helper(obj3
);
29088 if (arg4
== NULL
) SWIG_fail
;
29093 arg5
= wxString_in_helper(obj4
);
29094 if (arg5
== NULL
) SWIG_fail
;
29099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29100 result
= (wxMenuItem
*)(arg1
)->InsertCheckItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
29102 wxPyEndAllowThreads(__tstate
);
29103 if (PyErr_Occurred()) SWIG_fail
;
29106 resultobj
= wxPyMake_wxObject(result
);
29130 static PyObject
*_wrap_Menu_InsertRadioItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29131 PyObject
*resultobj
;
29132 wxMenu
*arg1
= (wxMenu
*) 0 ;
29135 wxString
*arg4
= 0 ;
29136 wxString
const &arg5_defvalue
= wxPyEmptyString
;
29137 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
29138 wxMenuItem
*result
;
29139 bool temp4
= False
;
29140 bool temp5
= False
;
29141 PyObject
* obj0
= 0 ;
29142 PyObject
* obj1
= 0 ;
29143 PyObject
* obj2
= 0 ;
29144 PyObject
* obj3
= 0 ;
29145 PyObject
* obj4
= 0 ;
29146 char *kwnames
[] = {
29147 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
29150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_InsertRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29151 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29152 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29153 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
29154 if (PyErr_Occurred()) SWIG_fail
;
29155 arg3
= (int) SWIG_AsInt(obj2
);
29156 if (PyErr_Occurred()) SWIG_fail
;
29158 arg4
= wxString_in_helper(obj3
);
29159 if (arg4
== NULL
) SWIG_fail
;
29164 arg5
= wxString_in_helper(obj4
);
29165 if (arg5
== NULL
) SWIG_fail
;
29170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29171 result
= (wxMenuItem
*)(arg1
)->InsertRadioItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
29173 wxPyEndAllowThreads(__tstate
);
29174 if (PyErr_Occurred()) SWIG_fail
;
29177 resultobj
= wxPyMake_wxObject(result
);
29201 static PyObject
*_wrap_Menu_InsertMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29202 PyObject
*resultobj
;
29203 wxMenu
*arg1
= (wxMenu
*) 0 ;
29206 wxString
*arg4
= 0 ;
29207 wxMenu
*arg5
= (wxMenu
*) 0 ;
29208 wxString
const &arg6_defvalue
= wxPyEmptyString
;
29209 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
29210 wxMenuItem
*result
;
29211 bool temp4
= False
;
29212 bool temp6
= False
;
29213 PyObject
* obj0
= 0 ;
29214 PyObject
* obj1
= 0 ;
29215 PyObject
* obj2
= 0 ;
29216 PyObject
* obj3
= 0 ;
29217 PyObject
* obj4
= 0 ;
29218 PyObject
* obj5
= 0 ;
29219 char *kwnames
[] = {
29220 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
29223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Menu_InsertMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
29224 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29225 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29226 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
29227 if (PyErr_Occurred()) SWIG_fail
;
29228 arg3
= (int) SWIG_AsInt(obj2
);
29229 if (PyErr_Occurred()) SWIG_fail
;
29231 arg4
= wxString_in_helper(obj3
);
29232 if (arg4
== NULL
) SWIG_fail
;
29235 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxMenu
,
29236 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29239 arg6
= wxString_in_helper(obj5
);
29240 if (arg6
== NULL
) SWIG_fail
;
29245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29246 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
29248 wxPyEndAllowThreads(__tstate
);
29249 if (PyErr_Occurred()) SWIG_fail
;
29252 resultobj
= wxPyMake_wxObject(result
);
29276 static PyObject
*_wrap_Menu_PrependItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29277 PyObject
*resultobj
;
29278 wxMenu
*arg1
= (wxMenu
*) 0 ;
29279 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
29280 wxMenuItem
*result
;
29281 PyObject
* obj0
= 0 ;
29282 PyObject
* obj1
= 0 ;
29283 char *kwnames
[] = {
29284 (char *) "self",(char *) "item", NULL
29287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_PrependItem",kwnames
,&obj0
,&obj1
)) goto fail
;
29288 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29289 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29290 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
29291 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29294 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
);
29296 wxPyEndAllowThreads(__tstate
);
29297 if (PyErr_Occurred()) SWIG_fail
;
29300 resultobj
= wxPyMake_wxObject(result
);
29308 static PyObject
*_wrap_Menu_Prepend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29309 PyObject
*resultobj
;
29310 wxMenu
*arg1
= (wxMenu
*) 0 ;
29312 wxString
*arg3
= 0 ;
29313 wxString
const &arg4_defvalue
= wxPyEmptyString
;
29314 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
29315 int arg5
= (int) wxITEM_NORMAL
;
29316 wxMenuItem
*result
;
29317 bool temp3
= False
;
29318 bool temp4
= False
;
29319 PyObject
* obj0
= 0 ;
29320 PyObject
* obj1
= 0 ;
29321 PyObject
* obj2
= 0 ;
29322 PyObject
* obj3
= 0 ;
29323 PyObject
* obj4
= 0 ;
29324 char *kwnames
[] = {
29325 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
29328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Menu_Prepend",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29329 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29330 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29331 arg2
= (int) SWIG_AsInt(obj1
);
29332 if (PyErr_Occurred()) SWIG_fail
;
29334 arg3
= wxString_in_helper(obj2
);
29335 if (arg3
== NULL
) SWIG_fail
;
29340 arg4
= wxString_in_helper(obj3
);
29341 if (arg4
== NULL
) SWIG_fail
;
29346 arg5
= (wxItemKind
) SWIG_AsInt(obj4
);
29347 if (PyErr_Occurred()) SWIG_fail
;
29350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29351 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
);
29353 wxPyEndAllowThreads(__tstate
);
29354 if (PyErr_Occurred()) SWIG_fail
;
29357 resultobj
= wxPyMake_wxObject(result
);
29381 static PyObject
*_wrap_Menu_PrependSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29382 PyObject
*resultobj
;
29383 wxMenu
*arg1
= (wxMenu
*) 0 ;
29384 wxMenuItem
*result
;
29385 PyObject
* obj0
= 0 ;
29386 char *kwnames
[] = {
29387 (char *) "self", NULL
29390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_PrependSeparator",kwnames
,&obj0
)) goto fail
;
29391 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29392 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29395 result
= (wxMenuItem
*)(arg1
)->PrependSeparator();
29397 wxPyEndAllowThreads(__tstate
);
29398 if (PyErr_Occurred()) SWIG_fail
;
29401 resultobj
= wxPyMake_wxObject(result
);
29409 static PyObject
*_wrap_Menu_PrependCheckItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29410 PyObject
*resultobj
;
29411 wxMenu
*arg1
= (wxMenu
*) 0 ;
29413 wxString
*arg3
= 0 ;
29414 wxString
const &arg4_defvalue
= wxPyEmptyString
;
29415 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
29416 wxMenuItem
*result
;
29417 bool temp3
= False
;
29418 bool temp4
= False
;
29419 PyObject
* obj0
= 0 ;
29420 PyObject
* obj1
= 0 ;
29421 PyObject
* obj2
= 0 ;
29422 PyObject
* obj3
= 0 ;
29423 char *kwnames
[] = {
29424 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
29427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_PrependCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29428 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29429 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29430 arg2
= (int) SWIG_AsInt(obj1
);
29431 if (PyErr_Occurred()) SWIG_fail
;
29433 arg3
= wxString_in_helper(obj2
);
29434 if (arg3
== NULL
) SWIG_fail
;
29439 arg4
= wxString_in_helper(obj3
);
29440 if (arg4
== NULL
) SWIG_fail
;
29445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29446 result
= (wxMenuItem
*)(arg1
)->PrependCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
29448 wxPyEndAllowThreads(__tstate
);
29449 if (PyErr_Occurred()) SWIG_fail
;
29452 resultobj
= wxPyMake_wxObject(result
);
29476 static PyObject
*_wrap_Menu_PrependRadioItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29477 PyObject
*resultobj
;
29478 wxMenu
*arg1
= (wxMenu
*) 0 ;
29480 wxString
*arg3
= 0 ;
29481 wxString
const &arg4_defvalue
= wxPyEmptyString
;
29482 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
29483 wxMenuItem
*result
;
29484 bool temp3
= False
;
29485 bool temp4
= False
;
29486 PyObject
* obj0
= 0 ;
29487 PyObject
* obj1
= 0 ;
29488 PyObject
* obj2
= 0 ;
29489 PyObject
* obj3
= 0 ;
29490 char *kwnames
[] = {
29491 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
29494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_PrependRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29495 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29496 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29497 arg2
= (int) SWIG_AsInt(obj1
);
29498 if (PyErr_Occurred()) SWIG_fail
;
29500 arg3
= wxString_in_helper(obj2
);
29501 if (arg3
== NULL
) SWIG_fail
;
29506 arg4
= wxString_in_helper(obj3
);
29507 if (arg4
== NULL
) SWIG_fail
;
29512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29513 result
= (wxMenuItem
*)(arg1
)->PrependRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
29515 wxPyEndAllowThreads(__tstate
);
29516 if (PyErr_Occurred()) SWIG_fail
;
29519 resultobj
= wxPyMake_wxObject(result
);
29543 static PyObject
*_wrap_Menu_PrependMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29544 PyObject
*resultobj
;
29545 wxMenu
*arg1
= (wxMenu
*) 0 ;
29547 wxString
*arg3
= 0 ;
29548 wxMenu
*arg4
= (wxMenu
*) 0 ;
29549 wxString
const &arg5_defvalue
= wxPyEmptyString
;
29550 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
29551 wxMenuItem
*result
;
29552 bool temp3
= False
;
29553 bool temp5
= False
;
29554 PyObject
* obj0
= 0 ;
29555 PyObject
* obj1
= 0 ;
29556 PyObject
* obj2
= 0 ;
29557 PyObject
* obj3
= 0 ;
29558 PyObject
* obj4
= 0 ;
29559 char *kwnames
[] = {
29560 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
29563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_PrependMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29564 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29565 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29566 arg2
= (int) SWIG_AsInt(obj1
);
29567 if (PyErr_Occurred()) SWIG_fail
;
29569 arg3
= wxString_in_helper(obj2
);
29570 if (arg3
== NULL
) SWIG_fail
;
29573 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxMenu
,
29574 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29577 arg5
= wxString_in_helper(obj4
);
29578 if (arg5
== NULL
) SWIG_fail
;
29583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29584 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
29586 wxPyEndAllowThreads(__tstate
);
29587 if (PyErr_Occurred()) SWIG_fail
;
29590 resultobj
= wxPyMake_wxObject(result
);
29614 static PyObject
*_wrap_Menu_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29615 PyObject
*resultobj
;
29616 wxMenu
*arg1
= (wxMenu
*) 0 ;
29618 wxMenuItem
*result
;
29619 PyObject
* obj0
= 0 ;
29620 PyObject
* obj1
= 0 ;
29621 char *kwnames
[] = {
29622 (char *) "self",(char *) "id", NULL
29625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
29626 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29627 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29628 arg2
= (int) SWIG_AsInt(obj1
);
29629 if (PyErr_Occurred()) SWIG_fail
;
29631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29632 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
29634 wxPyEndAllowThreads(__tstate
);
29635 if (PyErr_Occurred()) SWIG_fail
;
29638 resultobj
= wxPyMake_wxObject(result
);
29646 static PyObject
*_wrap_Menu_RemoveItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29647 PyObject
*resultobj
;
29648 wxMenu
*arg1
= (wxMenu
*) 0 ;
29649 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
29650 wxMenuItem
*result
;
29651 PyObject
* obj0
= 0 ;
29652 PyObject
* obj1
= 0 ;
29653 char *kwnames
[] = {
29654 (char *) "self",(char *) "item", NULL
29657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_RemoveItem",kwnames
,&obj0
,&obj1
)) goto fail
;
29658 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29659 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29660 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
29661 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29664 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
29666 wxPyEndAllowThreads(__tstate
);
29667 if (PyErr_Occurred()) SWIG_fail
;
29670 resultobj
= wxPyMake_wxObject(result
);
29678 static PyObject
*_wrap_Menu_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29679 PyObject
*resultobj
;
29680 wxMenu
*arg1
= (wxMenu
*) 0 ;
29683 PyObject
* obj0
= 0 ;
29684 PyObject
* obj1
= 0 ;
29685 char *kwnames
[] = {
29686 (char *) "self",(char *) "id", NULL
29689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
29690 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29691 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29692 arg2
= (int) SWIG_AsInt(obj1
);
29693 if (PyErr_Occurred()) SWIG_fail
;
29695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29696 result
= (bool)(arg1
)->Delete(arg2
);
29698 wxPyEndAllowThreads(__tstate
);
29699 if (PyErr_Occurred()) SWIG_fail
;
29702 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29710 static PyObject
*_wrap_Menu_DeleteItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29711 PyObject
*resultobj
;
29712 wxMenu
*arg1
= (wxMenu
*) 0 ;
29713 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
29715 PyObject
* obj0
= 0 ;
29716 PyObject
* obj1
= 0 ;
29717 char *kwnames
[] = {
29718 (char *) "self",(char *) "item", NULL
29721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DeleteItem",kwnames
,&obj0
,&obj1
)) goto fail
;
29722 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29723 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29724 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
29725 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29728 result
= (bool)(arg1
)->Delete(arg2
);
29730 wxPyEndAllowThreads(__tstate
);
29731 if (PyErr_Occurred()) SWIG_fail
;
29734 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29742 static PyObject
*_wrap_Menu_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29743 PyObject
*resultobj
;
29744 wxMenu
*arg1
= (wxMenu
*) 0 ;
29745 PyObject
* obj0
= 0 ;
29746 char *kwnames
[] = {
29747 (char *) "self", NULL
29750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Destroy",kwnames
,&obj0
)) goto fail
;
29751 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29752 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29755 wxMenu_Destroy(arg1
);
29757 wxPyEndAllowThreads(__tstate
);
29758 if (PyErr_Occurred()) SWIG_fail
;
29760 Py_INCREF(Py_None
); resultobj
= Py_None
;
29767 static PyObject
*_wrap_Menu_DestroyId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29768 PyObject
*resultobj
;
29769 wxMenu
*arg1
= (wxMenu
*) 0 ;
29772 PyObject
* obj0
= 0 ;
29773 PyObject
* obj1
= 0 ;
29774 char *kwnames
[] = {
29775 (char *) "self",(char *) "id", NULL
29778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DestroyId",kwnames
,&obj0
,&obj1
)) goto fail
;
29779 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29780 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29781 arg2
= (int) SWIG_AsInt(obj1
);
29782 if (PyErr_Occurred()) SWIG_fail
;
29784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29785 result
= (bool)(arg1
)->Destroy(arg2
);
29787 wxPyEndAllowThreads(__tstate
);
29788 if (PyErr_Occurred()) SWIG_fail
;
29791 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29799 static PyObject
*_wrap_Menu_DestroyItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29800 PyObject
*resultobj
;
29801 wxMenu
*arg1
= (wxMenu
*) 0 ;
29802 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
29804 PyObject
* obj0
= 0 ;
29805 PyObject
* obj1
= 0 ;
29806 char *kwnames
[] = {
29807 (char *) "self",(char *) "item", NULL
29810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DestroyItem",kwnames
,&obj0
,&obj1
)) goto fail
;
29811 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29812 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29813 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
29814 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29817 result
= (bool)(arg1
)->Destroy(arg2
);
29819 wxPyEndAllowThreads(__tstate
);
29820 if (PyErr_Occurred()) SWIG_fail
;
29823 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29831 static PyObject
*_wrap_Menu_GetMenuItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29832 PyObject
*resultobj
;
29833 wxMenu
*arg1
= (wxMenu
*) 0 ;
29835 PyObject
* obj0
= 0 ;
29836 char *kwnames
[] = {
29837 (char *) "self", NULL
29840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuItemCount",kwnames
,&obj0
)) goto fail
;
29841 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29842 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29845 result
= (size_t)((wxMenu
const *)arg1
)->GetMenuItemCount();
29847 wxPyEndAllowThreads(__tstate
);
29848 if (PyErr_Occurred()) SWIG_fail
;
29850 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
29857 static PyObject
*_wrap_Menu_GetMenuItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29858 PyObject
*resultobj
;
29859 wxMenu
*arg1
= (wxMenu
*) 0 ;
29861 PyObject
* obj0
= 0 ;
29862 char *kwnames
[] = {
29863 (char *) "self", NULL
29866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuItems",kwnames
,&obj0
)) goto fail
;
29867 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29868 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29871 result
= (PyObject
*)wxMenu_GetMenuItems(arg1
);
29873 wxPyEndAllowThreads(__tstate
);
29874 if (PyErr_Occurred()) SWIG_fail
;
29876 resultobj
= result
;
29883 static PyObject
*_wrap_Menu_FindItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29884 PyObject
*resultobj
;
29885 wxMenu
*arg1
= (wxMenu
*) 0 ;
29886 wxString
*arg2
= 0 ;
29888 bool temp2
= False
;
29889 PyObject
* obj0
= 0 ;
29890 PyObject
* obj1
= 0 ;
29891 char *kwnames
[] = {
29892 (char *) "self",(char *) "item", NULL
29895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItem",kwnames
,&obj0
,&obj1
)) goto fail
;
29896 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29897 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29899 arg2
= wxString_in_helper(obj1
);
29900 if (arg2
== NULL
) SWIG_fail
;
29904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29905 result
= (int)((wxMenu
const *)arg1
)->FindItem((wxString
const &)*arg2
);
29907 wxPyEndAllowThreads(__tstate
);
29908 if (PyErr_Occurred()) SWIG_fail
;
29910 resultobj
= SWIG_FromInt((int)result
);
29925 static PyObject
*_wrap_Menu_FindItemById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29926 PyObject
*resultobj
;
29927 wxMenu
*arg1
= (wxMenu
*) 0 ;
29929 wxMenuItem
*result
;
29930 PyObject
* obj0
= 0 ;
29931 PyObject
* obj1
= 0 ;
29932 char *kwnames
[] = {
29933 (char *) "self",(char *) "id", NULL
29936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItemById",kwnames
,&obj0
,&obj1
)) goto fail
;
29937 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29938 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29939 arg2
= (int) SWIG_AsInt(obj1
);
29940 if (PyErr_Occurred()) SWIG_fail
;
29942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29943 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItem(arg2
);
29945 wxPyEndAllowThreads(__tstate
);
29946 if (PyErr_Occurred()) SWIG_fail
;
29949 resultobj
= wxPyMake_wxObject(result
);
29957 static PyObject
*_wrap_Menu_FindItemByPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29958 PyObject
*resultobj
;
29959 wxMenu
*arg1
= (wxMenu
*) 0 ;
29961 wxMenuItem
*result
;
29962 PyObject
* obj0
= 0 ;
29963 PyObject
* obj1
= 0 ;
29964 char *kwnames
[] = {
29965 (char *) "self",(char *) "position", NULL
29968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItemByPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
29969 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29970 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29971 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
29972 if (PyErr_Occurred()) SWIG_fail
;
29974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29975 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItemByPosition(arg2
);
29977 wxPyEndAllowThreads(__tstate
);
29978 if (PyErr_Occurred()) SWIG_fail
;
29981 resultobj
= wxPyMake_wxObject(result
);
29989 static PyObject
*_wrap_Menu_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29990 PyObject
*resultobj
;
29991 wxMenu
*arg1
= (wxMenu
*) 0 ;
29994 PyObject
* obj0
= 0 ;
29995 PyObject
* obj1
= 0 ;
29996 PyObject
* obj2
= 0 ;
29997 char *kwnames
[] = {
29998 (char *) "self",(char *) "id",(char *) "enable", NULL
30001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_Enable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30002 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30003 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30004 arg2
= (int) SWIG_AsInt(obj1
);
30005 if (PyErr_Occurred()) SWIG_fail
;
30006 arg3
= (bool) SWIG_AsBool(obj2
);
30007 if (PyErr_Occurred()) SWIG_fail
;
30009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30010 (arg1
)->Enable(arg2
,arg3
);
30012 wxPyEndAllowThreads(__tstate
);
30013 if (PyErr_Occurred()) SWIG_fail
;
30015 Py_INCREF(Py_None
); resultobj
= Py_None
;
30022 static PyObject
*_wrap_Menu_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30023 PyObject
*resultobj
;
30024 wxMenu
*arg1
= (wxMenu
*) 0 ;
30027 PyObject
* obj0
= 0 ;
30028 PyObject
* obj1
= 0 ;
30029 char *kwnames
[] = {
30030 (char *) "self",(char *) "id", NULL
30033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_IsEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
30034 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30035 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30036 arg2
= (int) SWIG_AsInt(obj1
);
30037 if (PyErr_Occurred()) SWIG_fail
;
30039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30040 result
= (bool)((wxMenu
const *)arg1
)->IsEnabled(arg2
);
30042 wxPyEndAllowThreads(__tstate
);
30043 if (PyErr_Occurred()) SWIG_fail
;
30046 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30054 static PyObject
*_wrap_Menu_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30055 PyObject
*resultobj
;
30056 wxMenu
*arg1
= (wxMenu
*) 0 ;
30059 PyObject
* obj0
= 0 ;
30060 PyObject
* obj1
= 0 ;
30061 PyObject
* obj2
= 0 ;
30062 char *kwnames
[] = {
30063 (char *) "self",(char *) "id",(char *) "check", NULL
30066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30067 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30068 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30069 arg2
= (int) SWIG_AsInt(obj1
);
30070 if (PyErr_Occurred()) SWIG_fail
;
30071 arg3
= (bool) SWIG_AsBool(obj2
);
30072 if (PyErr_Occurred()) SWIG_fail
;
30074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30075 (arg1
)->Check(arg2
,arg3
);
30077 wxPyEndAllowThreads(__tstate
);
30078 if (PyErr_Occurred()) SWIG_fail
;
30080 Py_INCREF(Py_None
); resultobj
= Py_None
;
30087 static PyObject
*_wrap_Menu_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30088 PyObject
*resultobj
;
30089 wxMenu
*arg1
= (wxMenu
*) 0 ;
30092 PyObject
* obj0
= 0 ;
30093 PyObject
* obj1
= 0 ;
30094 char *kwnames
[] = {
30095 (char *) "self",(char *) "id", NULL
30098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
30099 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30100 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30101 arg2
= (int) SWIG_AsInt(obj1
);
30102 if (PyErr_Occurred()) SWIG_fail
;
30104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30105 result
= (bool)((wxMenu
const *)arg1
)->IsChecked(arg2
);
30107 wxPyEndAllowThreads(__tstate
);
30108 if (PyErr_Occurred()) SWIG_fail
;
30111 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30119 static PyObject
*_wrap_Menu_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30120 PyObject
*resultobj
;
30121 wxMenu
*arg1
= (wxMenu
*) 0 ;
30123 wxString
*arg3
= 0 ;
30124 bool temp3
= False
;
30125 PyObject
* obj0
= 0 ;
30126 PyObject
* obj1
= 0 ;
30127 PyObject
* obj2
= 0 ;
30128 char *kwnames
[] = {
30129 (char *) "self",(char *) "id",(char *) "label", NULL
30132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_SetLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30133 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30134 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30135 arg2
= (int) SWIG_AsInt(obj1
);
30136 if (PyErr_Occurred()) SWIG_fail
;
30138 arg3
= wxString_in_helper(obj2
);
30139 if (arg3
== NULL
) SWIG_fail
;
30143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30144 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
30146 wxPyEndAllowThreads(__tstate
);
30147 if (PyErr_Occurred()) SWIG_fail
;
30149 Py_INCREF(Py_None
); resultobj
= Py_None
;
30164 static PyObject
*_wrap_Menu_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30165 PyObject
*resultobj
;
30166 wxMenu
*arg1
= (wxMenu
*) 0 ;
30169 PyObject
* obj0
= 0 ;
30170 PyObject
* obj1
= 0 ;
30171 char *kwnames
[] = {
30172 (char *) "self",(char *) "id", NULL
30175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_GetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
30176 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30177 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30178 arg2
= (int) SWIG_AsInt(obj1
);
30179 if (PyErr_Occurred()) SWIG_fail
;
30181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30182 result
= ((wxMenu
const *)arg1
)->GetLabel(arg2
);
30184 wxPyEndAllowThreads(__tstate
);
30185 if (PyErr_Occurred()) SWIG_fail
;
30189 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30191 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30200 static PyObject
*_wrap_Menu_SetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30201 PyObject
*resultobj
;
30202 wxMenu
*arg1
= (wxMenu
*) 0 ;
30204 wxString
*arg3
= 0 ;
30205 bool temp3
= False
;
30206 PyObject
* obj0
= 0 ;
30207 PyObject
* obj1
= 0 ;
30208 PyObject
* obj2
= 0 ;
30209 char *kwnames
[] = {
30210 (char *) "self",(char *) "id",(char *) "helpString", NULL
30213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_SetHelpString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30214 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30215 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30216 arg2
= (int) SWIG_AsInt(obj1
);
30217 if (PyErr_Occurred()) SWIG_fail
;
30219 arg3
= wxString_in_helper(obj2
);
30220 if (arg3
== NULL
) SWIG_fail
;
30224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30225 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
30227 wxPyEndAllowThreads(__tstate
);
30228 if (PyErr_Occurred()) SWIG_fail
;
30230 Py_INCREF(Py_None
); resultobj
= Py_None
;
30245 static PyObject
*_wrap_Menu_GetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30246 PyObject
*resultobj
;
30247 wxMenu
*arg1
= (wxMenu
*) 0 ;
30250 PyObject
* obj0
= 0 ;
30251 PyObject
* obj1
= 0 ;
30252 char *kwnames
[] = {
30253 (char *) "self",(char *) "id", NULL
30256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_GetHelpString",kwnames
,&obj0
,&obj1
)) goto fail
;
30257 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30258 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30259 arg2
= (int) SWIG_AsInt(obj1
);
30260 if (PyErr_Occurred()) SWIG_fail
;
30262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30263 result
= ((wxMenu
const *)arg1
)->GetHelpString(arg2
);
30265 wxPyEndAllowThreads(__tstate
);
30266 if (PyErr_Occurred()) SWIG_fail
;
30270 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30272 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30281 static PyObject
*_wrap_Menu_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30282 PyObject
*resultobj
;
30283 wxMenu
*arg1
= (wxMenu
*) 0 ;
30284 wxString
*arg2
= 0 ;
30285 bool temp2
= False
;
30286 PyObject
* obj0
= 0 ;
30287 PyObject
* obj1
= 0 ;
30288 char *kwnames
[] = {
30289 (char *) "self",(char *) "title", NULL
30292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
30293 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30294 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30296 arg2
= wxString_in_helper(obj1
);
30297 if (arg2
== NULL
) SWIG_fail
;
30301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30302 (arg1
)->SetTitle((wxString
const &)*arg2
);
30304 wxPyEndAllowThreads(__tstate
);
30305 if (PyErr_Occurred()) SWIG_fail
;
30307 Py_INCREF(Py_None
); resultobj
= Py_None
;
30322 static PyObject
*_wrap_Menu_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30323 PyObject
*resultobj
;
30324 wxMenu
*arg1
= (wxMenu
*) 0 ;
30326 PyObject
* obj0
= 0 ;
30327 char *kwnames
[] = {
30328 (char *) "self", NULL
30331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetTitle",kwnames
,&obj0
)) goto fail
;
30332 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30333 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30336 result
= ((wxMenu
const *)arg1
)->GetTitle();
30338 wxPyEndAllowThreads(__tstate
);
30339 if (PyErr_Occurred()) SWIG_fail
;
30343 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30345 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30354 static PyObject
*_wrap_Menu_SetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30355 PyObject
*resultobj
;
30356 wxMenu
*arg1
= (wxMenu
*) 0 ;
30357 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
30358 PyObject
* obj0
= 0 ;
30359 PyObject
* obj1
= 0 ;
30360 char *kwnames
[] = {
30361 (char *) "self",(char *) "handler", NULL
30364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
30365 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30366 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30367 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
30368 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30371 (arg1
)->SetEventHandler(arg2
);
30373 wxPyEndAllowThreads(__tstate
);
30374 if (PyErr_Occurred()) SWIG_fail
;
30376 Py_INCREF(Py_None
); resultobj
= Py_None
;
30383 static PyObject
*_wrap_Menu_GetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30384 PyObject
*resultobj
;
30385 wxMenu
*arg1
= (wxMenu
*) 0 ;
30386 wxEvtHandler
*result
;
30387 PyObject
* obj0
= 0 ;
30388 char *kwnames
[] = {
30389 (char *) "self", NULL
30392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetEventHandler",kwnames
,&obj0
)) goto fail
;
30393 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30394 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30397 result
= (wxEvtHandler
*)((wxMenu
const *)arg1
)->GetEventHandler();
30399 wxPyEndAllowThreads(__tstate
);
30400 if (PyErr_Occurred()) SWIG_fail
;
30403 resultobj
= wxPyMake_wxObject(result
);
30411 static PyObject
*_wrap_Menu_SetInvokingWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30412 PyObject
*resultobj
;
30413 wxMenu
*arg1
= (wxMenu
*) 0 ;
30414 wxWindow
*arg2
= (wxWindow
*) 0 ;
30415 PyObject
* obj0
= 0 ;
30416 PyObject
* obj1
= 0 ;
30417 char *kwnames
[] = {
30418 (char *) "self",(char *) "win", NULL
30421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetInvokingWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
30422 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30423 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30424 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
30425 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30428 (arg1
)->SetInvokingWindow(arg2
);
30430 wxPyEndAllowThreads(__tstate
);
30431 if (PyErr_Occurred()) SWIG_fail
;
30433 Py_INCREF(Py_None
); resultobj
= Py_None
;
30440 static PyObject
*_wrap_Menu_GetInvokingWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30441 PyObject
*resultobj
;
30442 wxMenu
*arg1
= (wxMenu
*) 0 ;
30444 PyObject
* obj0
= 0 ;
30445 char *kwnames
[] = {
30446 (char *) "self", NULL
30449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetInvokingWindow",kwnames
,&obj0
)) goto fail
;
30450 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30451 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30454 result
= (wxWindow
*)((wxMenu
const *)arg1
)->GetInvokingWindow();
30456 wxPyEndAllowThreads(__tstate
);
30457 if (PyErr_Occurred()) SWIG_fail
;
30460 resultobj
= wxPyMake_wxObject(result
);
30468 static PyObject
*_wrap_Menu_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30469 PyObject
*resultobj
;
30470 wxMenu
*arg1
= (wxMenu
*) 0 ;
30472 PyObject
* obj0
= 0 ;
30473 char *kwnames
[] = {
30474 (char *) "self", NULL
30477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetStyle",kwnames
,&obj0
)) goto fail
;
30478 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30479 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30482 result
= (long)((wxMenu
const *)arg1
)->GetStyle();
30484 wxPyEndAllowThreads(__tstate
);
30485 if (PyErr_Occurred()) SWIG_fail
;
30487 resultobj
= SWIG_FromLong((long)result
);
30494 static PyObject
*_wrap_Menu_UpdateUI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30495 PyObject
*resultobj
;
30496 wxMenu
*arg1
= (wxMenu
*) 0 ;
30497 wxEvtHandler
*arg2
= (wxEvtHandler
*) NULL
;
30498 PyObject
* obj0
= 0 ;
30499 PyObject
* obj1
= 0 ;
30500 char *kwnames
[] = {
30501 (char *) "self",(char *) "source", NULL
30504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Menu_UpdateUI",kwnames
,&obj0
,&obj1
)) goto fail
;
30505 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30506 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30508 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
30509 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30513 (arg1
)->UpdateUI(arg2
);
30515 wxPyEndAllowThreads(__tstate
);
30516 if (PyErr_Occurred()) SWIG_fail
;
30518 Py_INCREF(Py_None
); resultobj
= Py_None
;
30525 static PyObject
*_wrap_Menu_GetMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30526 PyObject
*resultobj
;
30527 wxMenu
*arg1
= (wxMenu
*) 0 ;
30529 PyObject
* obj0
= 0 ;
30530 char *kwnames
[] = {
30531 (char *) "self", NULL
30534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuBar",kwnames
,&obj0
)) goto fail
;
30535 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30536 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30539 result
= (wxMenuBar
*)((wxMenu
const *)arg1
)->GetMenuBar();
30541 wxPyEndAllowThreads(__tstate
);
30542 if (PyErr_Occurred()) SWIG_fail
;
30545 resultobj
= wxPyMake_wxObject(result
);
30553 static PyObject
*_wrap_Menu_Attach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30554 PyObject
*resultobj
;
30555 wxMenu
*arg1
= (wxMenu
*) 0 ;
30556 wxMenuBarBase
*arg2
= (wxMenuBarBase
*) 0 ;
30557 PyObject
* obj0
= 0 ;
30558 PyObject
* obj1
= 0 ;
30559 char *kwnames
[] = {
30560 (char *) "self",(char *) "menubar", NULL
30563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
30564 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30565 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30566 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuBarBase
,
30567 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30570 (arg1
)->Attach(arg2
);
30572 wxPyEndAllowThreads(__tstate
);
30573 if (PyErr_Occurred()) SWIG_fail
;
30575 Py_INCREF(Py_None
); resultobj
= Py_None
;
30582 static PyObject
*_wrap_Menu_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30583 PyObject
*resultobj
;
30584 wxMenu
*arg1
= (wxMenu
*) 0 ;
30585 PyObject
* obj0
= 0 ;
30586 char *kwnames
[] = {
30587 (char *) "self", NULL
30590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Detach",kwnames
,&obj0
)) goto fail
;
30591 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30592 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30597 wxPyEndAllowThreads(__tstate
);
30598 if (PyErr_Occurred()) SWIG_fail
;
30600 Py_INCREF(Py_None
); resultobj
= Py_None
;
30607 static PyObject
*_wrap_Menu_IsAttached(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30608 PyObject
*resultobj
;
30609 wxMenu
*arg1
= (wxMenu
*) 0 ;
30611 PyObject
* obj0
= 0 ;
30612 char *kwnames
[] = {
30613 (char *) "self", NULL
30616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_IsAttached",kwnames
,&obj0
)) goto fail
;
30617 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30618 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30621 result
= (bool)((wxMenu
const *)arg1
)->IsAttached();
30623 wxPyEndAllowThreads(__tstate
);
30624 if (PyErr_Occurred()) SWIG_fail
;
30627 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30635 static PyObject
*_wrap_Menu_SetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30636 PyObject
*resultobj
;
30637 wxMenu
*arg1
= (wxMenu
*) 0 ;
30638 wxMenu
*arg2
= (wxMenu
*) 0 ;
30639 PyObject
* obj0
= 0 ;
30640 PyObject
* obj1
= 0 ;
30641 char *kwnames
[] = {
30642 (char *) "self",(char *) "parent", NULL
30645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetParent",kwnames
,&obj0
,&obj1
)) goto fail
;
30646 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30648 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
30649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30652 (arg1
)->SetParent(arg2
);
30654 wxPyEndAllowThreads(__tstate
);
30655 if (PyErr_Occurred()) SWIG_fail
;
30657 Py_INCREF(Py_None
); resultobj
= Py_None
;
30664 static PyObject
*_wrap_Menu_GetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30665 PyObject
*resultobj
;
30666 wxMenu
*arg1
= (wxMenu
*) 0 ;
30668 PyObject
* obj0
= 0 ;
30669 char *kwnames
[] = {
30670 (char *) "self", NULL
30673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetParent",kwnames
,&obj0
)) goto fail
;
30674 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30675 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30678 result
= (wxMenu
*)((wxMenu
const *)arg1
)->GetParent();
30680 wxPyEndAllowThreads(__tstate
);
30681 if (PyErr_Occurred()) SWIG_fail
;
30684 resultobj
= wxPyMake_wxObject(result
);
30692 static PyObject
* Menu_swigregister(PyObject
*self
, PyObject
*args
) {
30694 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30695 SWIG_TypeClientData(SWIGTYPE_p_wxMenu
, obj
);
30697 return Py_BuildValue((char *)"");
30699 static PyObject
*_wrap_new_MenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30700 PyObject
*resultobj
;
30701 long arg1
= (long) 0 ;
30703 PyObject
* obj0
= 0 ;
30704 char *kwnames
[] = {
30705 (char *) "style", NULL
30708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MenuBar",kwnames
,&obj0
)) goto fail
;
30710 arg1
= (long) SWIG_AsLong(obj0
);
30711 if (PyErr_Occurred()) SWIG_fail
;
30714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30715 result
= (wxMenuBar
*)new wxMenuBar(arg1
);
30717 wxPyEndAllowThreads(__tstate
);
30718 if (PyErr_Occurred()) SWIG_fail
;
30721 resultobj
= wxPyMake_wxObject(result
);
30729 static PyObject
*_wrap_MenuBar_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30730 PyObject
*resultobj
;
30731 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30732 wxMenu
*arg2
= (wxMenu
*) 0 ;
30733 wxString
*arg3
= 0 ;
30735 bool temp3
= False
;
30736 PyObject
* obj0
= 0 ;
30737 PyObject
* obj1
= 0 ;
30738 PyObject
* obj2
= 0 ;
30739 char *kwnames
[] = {
30740 (char *) "self",(char *) "menu",(char *) "title", NULL
30743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Append",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30744 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30745 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30746 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
30747 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30749 arg3
= wxString_in_helper(obj2
);
30750 if (arg3
== NULL
) SWIG_fail
;
30754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30755 result
= (bool)(arg1
)->Append(arg2
,(wxString
const &)*arg3
);
30757 wxPyEndAllowThreads(__tstate
);
30758 if (PyErr_Occurred()) SWIG_fail
;
30761 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30777 static PyObject
*_wrap_MenuBar_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30778 PyObject
*resultobj
;
30779 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30781 wxMenu
*arg3
= (wxMenu
*) 0 ;
30782 wxString
*arg4
= 0 ;
30784 bool temp4
= False
;
30785 PyObject
* obj0
= 0 ;
30786 PyObject
* obj1
= 0 ;
30787 PyObject
* obj2
= 0 ;
30788 PyObject
* obj3
= 0 ;
30789 char *kwnames
[] = {
30790 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
30793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30794 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30795 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30796 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
30797 if (PyErr_Occurred()) SWIG_fail
;
30798 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMenu
,
30799 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30801 arg4
= wxString_in_helper(obj3
);
30802 if (arg4
== NULL
) SWIG_fail
;
30806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30807 result
= (bool)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
);
30809 wxPyEndAllowThreads(__tstate
);
30810 if (PyErr_Occurred()) SWIG_fail
;
30813 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30829 static PyObject
*_wrap_MenuBar_GetMenuCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30830 PyObject
*resultobj
;
30831 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30833 PyObject
* obj0
= 0 ;
30834 char *kwnames
[] = {
30835 (char *) "self", NULL
30838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_GetMenuCount",kwnames
,&obj0
)) goto fail
;
30839 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30840 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30843 result
= (size_t)((wxMenuBar
const *)arg1
)->GetMenuCount();
30845 wxPyEndAllowThreads(__tstate
);
30846 if (PyErr_Occurred()) SWIG_fail
;
30848 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
30855 static PyObject
*_wrap_MenuBar_GetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30856 PyObject
*resultobj
;
30857 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30860 PyObject
* obj0
= 0 ;
30861 PyObject
* obj1
= 0 ;
30862 char *kwnames
[] = {
30863 (char *) "self",(char *) "pos", NULL
30866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
30867 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30868 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30869 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
30870 if (PyErr_Occurred()) SWIG_fail
;
30872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30873 result
= (wxMenu
*)((wxMenuBar
const *)arg1
)->GetMenu(arg2
);
30875 wxPyEndAllowThreads(__tstate
);
30876 if (PyErr_Occurred()) SWIG_fail
;
30879 resultobj
= wxPyMake_wxObject(result
);
30887 static PyObject
*_wrap_MenuBar_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30888 PyObject
*resultobj
;
30889 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30891 wxMenu
*arg3
= (wxMenu
*) 0 ;
30892 wxString
*arg4
= 0 ;
30894 bool temp4
= False
;
30895 PyObject
* obj0
= 0 ;
30896 PyObject
* obj1
= 0 ;
30897 PyObject
* obj2
= 0 ;
30898 PyObject
* obj3
= 0 ;
30899 char *kwnames
[] = {
30900 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
30903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30904 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30905 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30906 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
30907 if (PyErr_Occurred()) SWIG_fail
;
30908 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMenu
,
30909 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30911 arg4
= wxString_in_helper(obj3
);
30912 if (arg4
== NULL
) SWIG_fail
;
30916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30917 result
= (wxMenu
*)(arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
30919 wxPyEndAllowThreads(__tstate
);
30920 if (PyErr_Occurred()) SWIG_fail
;
30923 resultobj
= wxPyMake_wxObject(result
);
30939 static PyObject
*_wrap_MenuBar_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30940 PyObject
*resultobj
;
30941 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30944 PyObject
* obj0
= 0 ;
30945 PyObject
* obj1
= 0 ;
30946 char *kwnames
[] = {
30947 (char *) "self",(char *) "pos", NULL
30950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
30951 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30952 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30953 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
30954 if (PyErr_Occurred()) SWIG_fail
;
30956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30957 result
= (wxMenu
*)(arg1
)->Remove(arg2
);
30959 wxPyEndAllowThreads(__tstate
);
30960 if (PyErr_Occurred()) SWIG_fail
;
30963 resultobj
= wxPyMake_wxObject(result
);
30971 static PyObject
*_wrap_MenuBar_EnableTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30972 PyObject
*resultobj
;
30973 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30976 PyObject
* obj0
= 0 ;
30977 PyObject
* obj1
= 0 ;
30978 PyObject
* obj2
= 0 ;
30979 char *kwnames
[] = {
30980 (char *) "self",(char *) "pos",(char *) "enable", NULL
30983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_EnableTop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30984 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30985 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30986 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
30987 if (PyErr_Occurred()) SWIG_fail
;
30988 arg3
= (bool) SWIG_AsBool(obj2
);
30989 if (PyErr_Occurred()) SWIG_fail
;
30991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30992 (arg1
)->EnableTop(arg2
,arg3
);
30994 wxPyEndAllowThreads(__tstate
);
30995 if (PyErr_Occurred()) SWIG_fail
;
30997 Py_INCREF(Py_None
); resultobj
= Py_None
;
31004 static PyObject
*_wrap_MenuBar_IsEnabledTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31005 PyObject
*resultobj
;
31006 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31009 PyObject
* obj0
= 0 ;
31010 PyObject
* obj1
= 0 ;
31011 char *kwnames
[] = {
31012 (char *) "self",(char *) "pos", NULL
31015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsEnabledTop",kwnames
,&obj0
,&obj1
)) goto fail
;
31016 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31017 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31018 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
31019 if (PyErr_Occurred()) SWIG_fail
;
31021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31022 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabledTop(arg2
);
31024 wxPyEndAllowThreads(__tstate
);
31025 if (PyErr_Occurred()) SWIG_fail
;
31028 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31036 static PyObject
*_wrap_MenuBar_SetLabelTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31037 PyObject
*resultobj
;
31038 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31040 wxString
*arg3
= 0 ;
31041 bool temp3
= False
;
31042 PyObject
* obj0
= 0 ;
31043 PyObject
* obj1
= 0 ;
31044 PyObject
* obj2
= 0 ;
31045 char *kwnames
[] = {
31046 (char *) "self",(char *) "pos",(char *) "label", NULL
31049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetLabelTop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31050 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31051 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31052 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
31053 if (PyErr_Occurred()) SWIG_fail
;
31055 arg3
= wxString_in_helper(obj2
);
31056 if (arg3
== NULL
) SWIG_fail
;
31060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31061 (arg1
)->SetLabelTop(arg2
,(wxString
const &)*arg3
);
31063 wxPyEndAllowThreads(__tstate
);
31064 if (PyErr_Occurred()) SWIG_fail
;
31066 Py_INCREF(Py_None
); resultobj
= Py_None
;
31081 static PyObject
*_wrap_MenuBar_GetLabelTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31082 PyObject
*resultobj
;
31083 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31086 PyObject
* obj0
= 0 ;
31087 PyObject
* obj1
= 0 ;
31088 char *kwnames
[] = {
31089 (char *) "self",(char *) "pos", NULL
31092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetLabelTop",kwnames
,&obj0
,&obj1
)) goto fail
;
31093 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31094 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31095 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
31096 if (PyErr_Occurred()) SWIG_fail
;
31098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31099 result
= ((wxMenuBar
const *)arg1
)->GetLabelTop(arg2
);
31101 wxPyEndAllowThreads(__tstate
);
31102 if (PyErr_Occurred()) SWIG_fail
;
31106 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31108 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31117 static PyObject
*_wrap_MenuBar_FindMenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31118 PyObject
*resultobj
;
31119 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31120 wxString
*arg2
= 0 ;
31121 wxString
*arg3
= 0 ;
31123 bool temp2
= False
;
31124 bool temp3
= False
;
31125 PyObject
* obj0
= 0 ;
31126 PyObject
* obj1
= 0 ;
31127 PyObject
* obj2
= 0 ;
31128 char *kwnames
[] = {
31129 (char *) "self",(char *) "menu",(char *) "item", NULL
31132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_FindMenuItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31133 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31134 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31136 arg2
= wxString_in_helper(obj1
);
31137 if (arg2
== NULL
) SWIG_fail
;
31141 arg3
= wxString_in_helper(obj2
);
31142 if (arg3
== NULL
) SWIG_fail
;
31146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31147 result
= (int)((wxMenuBar
const *)arg1
)->FindMenuItem((wxString
const &)*arg2
,(wxString
const &)*arg3
);
31149 wxPyEndAllowThreads(__tstate
);
31150 if (PyErr_Occurred()) SWIG_fail
;
31152 resultobj
= SWIG_FromInt((int)result
);
31175 static PyObject
*_wrap_MenuBar_FindItemById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31176 PyObject
*resultobj
;
31177 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31179 wxMenuItem
*result
;
31180 PyObject
* obj0
= 0 ;
31181 PyObject
* obj1
= 0 ;
31182 char *kwnames
[] = {
31183 (char *) "self",(char *) "id", NULL
31186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_FindItemById",kwnames
,&obj0
,&obj1
)) goto fail
;
31187 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31188 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31189 arg2
= (int) SWIG_AsInt(obj1
);
31190 if (PyErr_Occurred()) SWIG_fail
;
31192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31193 result
= (wxMenuItem
*)((wxMenuBar
const *)arg1
)->FindItem(arg2
);
31195 wxPyEndAllowThreads(__tstate
);
31196 if (PyErr_Occurred()) SWIG_fail
;
31199 resultobj
= wxPyMake_wxObject(result
);
31207 static PyObject
*_wrap_MenuBar_FindMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31208 PyObject
*resultobj
;
31209 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31210 wxString
*arg2
= 0 ;
31212 bool temp2
= False
;
31213 PyObject
* obj0
= 0 ;
31214 PyObject
* obj1
= 0 ;
31215 char *kwnames
[] = {
31216 (char *) "self",(char *) "title", NULL
31219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_FindMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
31220 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31221 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31223 arg2
= wxString_in_helper(obj1
);
31224 if (arg2
== NULL
) SWIG_fail
;
31228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31229 result
= (int)((wxMenuBar
const *)arg1
)->FindMenu((wxString
const &)*arg2
);
31231 wxPyEndAllowThreads(__tstate
);
31232 if (PyErr_Occurred()) SWIG_fail
;
31234 resultobj
= SWIG_FromInt((int)result
);
31249 static PyObject
*_wrap_MenuBar_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31250 PyObject
*resultobj
;
31251 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31254 PyObject
* obj0
= 0 ;
31255 PyObject
* obj1
= 0 ;
31256 PyObject
* obj2
= 0 ;
31257 char *kwnames
[] = {
31258 (char *) "self",(char *) "id",(char *) "enable", NULL
31261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Enable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31262 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31263 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31264 arg2
= (int) SWIG_AsInt(obj1
);
31265 if (PyErr_Occurred()) SWIG_fail
;
31266 arg3
= (bool) SWIG_AsBool(obj2
);
31267 if (PyErr_Occurred()) SWIG_fail
;
31269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31270 (arg1
)->Enable(arg2
,arg3
);
31272 wxPyEndAllowThreads(__tstate
);
31273 if (PyErr_Occurred()) SWIG_fail
;
31275 Py_INCREF(Py_None
); resultobj
= Py_None
;
31282 static PyObject
*_wrap_MenuBar_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31283 PyObject
*resultobj
;
31284 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31287 PyObject
* obj0
= 0 ;
31288 PyObject
* obj1
= 0 ;
31289 PyObject
* obj2
= 0 ;
31290 char *kwnames
[] = {
31291 (char *) "self",(char *) "id",(char *) "check", NULL
31294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31295 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31296 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31297 arg2
= (int) SWIG_AsInt(obj1
);
31298 if (PyErr_Occurred()) SWIG_fail
;
31299 arg3
= (bool) SWIG_AsBool(obj2
);
31300 if (PyErr_Occurred()) SWIG_fail
;
31302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31303 (arg1
)->Check(arg2
,arg3
);
31305 wxPyEndAllowThreads(__tstate
);
31306 if (PyErr_Occurred()) SWIG_fail
;
31308 Py_INCREF(Py_None
); resultobj
= Py_None
;
31315 static PyObject
*_wrap_MenuBar_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31316 PyObject
*resultobj
;
31317 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31320 PyObject
* obj0
= 0 ;
31321 PyObject
* obj1
= 0 ;
31322 char *kwnames
[] = {
31323 (char *) "self",(char *) "id", NULL
31326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
31327 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31328 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31329 arg2
= (int) SWIG_AsInt(obj1
);
31330 if (PyErr_Occurred()) SWIG_fail
;
31332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31333 result
= (bool)((wxMenuBar
const *)arg1
)->IsChecked(arg2
);
31335 wxPyEndAllowThreads(__tstate
);
31336 if (PyErr_Occurred()) SWIG_fail
;
31339 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31347 static PyObject
*_wrap_MenuBar_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31348 PyObject
*resultobj
;
31349 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31352 PyObject
* obj0
= 0 ;
31353 PyObject
* obj1
= 0 ;
31354 char *kwnames
[] = {
31355 (char *) "self",(char *) "id", NULL
31358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
31359 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31360 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31361 arg2
= (int) SWIG_AsInt(obj1
);
31362 if (PyErr_Occurred()) SWIG_fail
;
31364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31365 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabled(arg2
);
31367 wxPyEndAllowThreads(__tstate
);
31368 if (PyErr_Occurred()) SWIG_fail
;
31371 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31379 static PyObject
*_wrap_MenuBar_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31380 PyObject
*resultobj
;
31381 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31383 wxString
*arg3
= 0 ;
31384 bool temp3
= False
;
31385 PyObject
* obj0
= 0 ;
31386 PyObject
* obj1
= 0 ;
31387 PyObject
* obj2
= 0 ;
31388 char *kwnames
[] = {
31389 (char *) "self",(char *) "id",(char *) "label", NULL
31392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31393 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31394 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31395 arg2
= (int) SWIG_AsInt(obj1
);
31396 if (PyErr_Occurred()) SWIG_fail
;
31398 arg3
= wxString_in_helper(obj2
);
31399 if (arg3
== NULL
) SWIG_fail
;
31403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31404 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
31406 wxPyEndAllowThreads(__tstate
);
31407 if (PyErr_Occurred()) SWIG_fail
;
31409 Py_INCREF(Py_None
); resultobj
= Py_None
;
31424 static PyObject
*_wrap_MenuBar_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31425 PyObject
*resultobj
;
31426 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31429 PyObject
* obj0
= 0 ;
31430 PyObject
* obj1
= 0 ;
31431 char *kwnames
[] = {
31432 (char *) "self",(char *) "id", NULL
31435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
31436 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31437 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31438 arg2
= (int) SWIG_AsInt(obj1
);
31439 if (PyErr_Occurred()) SWIG_fail
;
31441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31442 result
= ((wxMenuBar
const *)arg1
)->GetLabel(arg2
);
31444 wxPyEndAllowThreads(__tstate
);
31445 if (PyErr_Occurred()) SWIG_fail
;
31449 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31451 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31460 static PyObject
*_wrap_MenuBar_SetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31461 PyObject
*resultobj
;
31462 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31464 wxString
*arg3
= 0 ;
31465 bool temp3
= False
;
31466 PyObject
* obj0
= 0 ;
31467 PyObject
* obj1
= 0 ;
31468 PyObject
* obj2
= 0 ;
31469 char *kwnames
[] = {
31470 (char *) "self",(char *) "id",(char *) "helpString", NULL
31473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetHelpString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31474 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31475 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31476 arg2
= (int) SWIG_AsInt(obj1
);
31477 if (PyErr_Occurred()) SWIG_fail
;
31479 arg3
= wxString_in_helper(obj2
);
31480 if (arg3
== NULL
) SWIG_fail
;
31484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31485 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
31487 wxPyEndAllowThreads(__tstate
);
31488 if (PyErr_Occurred()) SWIG_fail
;
31490 Py_INCREF(Py_None
); resultobj
= Py_None
;
31505 static PyObject
*_wrap_MenuBar_GetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31506 PyObject
*resultobj
;
31507 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31510 PyObject
* obj0
= 0 ;
31511 PyObject
* obj1
= 0 ;
31512 char *kwnames
[] = {
31513 (char *) "self",(char *) "id", NULL
31516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetHelpString",kwnames
,&obj0
,&obj1
)) goto fail
;
31517 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31518 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31519 arg2
= (int) SWIG_AsInt(obj1
);
31520 if (PyErr_Occurred()) SWIG_fail
;
31522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31523 result
= ((wxMenuBar
const *)arg1
)->GetHelpString(arg2
);
31525 wxPyEndAllowThreads(__tstate
);
31526 if (PyErr_Occurred()) SWIG_fail
;
31530 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31532 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31541 static PyObject
*_wrap_MenuBar_GetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31542 PyObject
*resultobj
;
31543 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31545 PyObject
* obj0
= 0 ;
31546 char *kwnames
[] = {
31547 (char *) "self", NULL
31550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_GetFrame",kwnames
,&obj0
)) goto fail
;
31551 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31552 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31555 result
= (wxFrame
*)((wxMenuBar
const *)arg1
)->GetFrame();
31557 wxPyEndAllowThreads(__tstate
);
31558 if (PyErr_Occurred()) SWIG_fail
;
31561 resultobj
= wxPyMake_wxObject(result
);
31569 static PyObject
*_wrap_MenuBar_IsAttached(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31570 PyObject
*resultobj
;
31571 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31573 PyObject
* obj0
= 0 ;
31574 char *kwnames
[] = {
31575 (char *) "self", NULL
31578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_IsAttached",kwnames
,&obj0
)) goto fail
;
31579 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31580 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31583 result
= (bool)((wxMenuBar
const *)arg1
)->IsAttached();
31585 wxPyEndAllowThreads(__tstate
);
31586 if (PyErr_Occurred()) SWIG_fail
;
31589 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31597 static PyObject
*_wrap_MenuBar_Attach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31598 PyObject
*resultobj
;
31599 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31600 wxFrame
*arg2
= (wxFrame
*) 0 ;
31601 PyObject
* obj0
= 0 ;
31602 PyObject
* obj1
= 0 ;
31603 char *kwnames
[] = {
31604 (char *) "self",(char *) "frame", NULL
31607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
31608 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31609 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31610 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
31611 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31614 (arg1
)->Attach(arg2
);
31616 wxPyEndAllowThreads(__tstate
);
31617 if (PyErr_Occurred()) SWIG_fail
;
31619 Py_INCREF(Py_None
); resultobj
= Py_None
;
31626 static PyObject
*_wrap_MenuBar_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31627 PyObject
*resultobj
;
31628 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31629 PyObject
* obj0
= 0 ;
31630 char *kwnames
[] = {
31631 (char *) "self", NULL
31634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_Detach",kwnames
,&obj0
)) goto fail
;
31635 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31636 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31641 wxPyEndAllowThreads(__tstate
);
31642 if (PyErr_Occurred()) SWIG_fail
;
31644 Py_INCREF(Py_None
); resultobj
= Py_None
;
31651 static PyObject
* MenuBar_swigregister(PyObject
*self
, PyObject
*args
) {
31653 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31654 SWIG_TypeClientData(SWIGTYPE_p_wxMenuBar
, obj
);
31656 return Py_BuildValue((char *)"");
31658 static PyObject
*_wrap_new_MenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31659 PyObject
*resultobj
;
31660 wxMenu
*arg1
= (wxMenu
*) NULL
;
31661 int arg2
= (int) wxID_ANY
;
31662 wxString
const &arg3_defvalue
= wxPyEmptyString
;
31663 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
31664 wxString
const &arg4_defvalue
= wxPyEmptyString
;
31665 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
31666 int arg5
= (int) wxITEM_NORMAL
;
31667 wxMenu
*arg6
= (wxMenu
*) NULL
;
31668 wxMenuItem
*result
;
31669 bool temp3
= False
;
31670 bool temp4
= False
;
31671 PyObject
* obj0
= 0 ;
31672 PyObject
* obj1
= 0 ;
31673 PyObject
* obj2
= 0 ;
31674 PyObject
* obj3
= 0 ;
31675 PyObject
* obj4
= 0 ;
31676 PyObject
* obj5
= 0 ;
31677 char *kwnames
[] = {
31678 (char *) "parentMenu",(char *) "id",(char *) "text",(char *) "help",(char *) "kind",(char *) "subMenu", NULL
31681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOO:new_MenuItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
31683 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31684 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31687 arg2
= (int) SWIG_AsInt(obj1
);
31688 if (PyErr_Occurred()) SWIG_fail
;
31692 arg3
= wxString_in_helper(obj2
);
31693 if (arg3
== NULL
) SWIG_fail
;
31699 arg4
= wxString_in_helper(obj3
);
31700 if (arg4
== NULL
) SWIG_fail
;
31705 arg5
= (wxItemKind
) SWIG_AsInt(obj4
);
31706 if (PyErr_Occurred()) SWIG_fail
;
31709 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxMenu
,
31710 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31714 result
= (wxMenuItem
*)new wxMenuItem(arg1
,arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
,arg6
);
31716 wxPyEndAllowThreads(__tstate
);
31717 if (PyErr_Occurred()) SWIG_fail
;
31720 resultobj
= wxPyMake_wxObject(result
);
31744 static PyObject
*_wrap_MenuItem_GetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31745 PyObject
*resultobj
;
31746 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31748 PyObject
* obj0
= 0 ;
31749 char *kwnames
[] = {
31750 (char *) "self", NULL
31753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetMenu",kwnames
,&obj0
)) goto fail
;
31754 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31755 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31758 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetMenu();
31760 wxPyEndAllowThreads(__tstate
);
31761 if (PyErr_Occurred()) SWIG_fail
;
31764 resultobj
= wxPyMake_wxObject(result
);
31772 static PyObject
*_wrap_MenuItem_SetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31773 PyObject
*resultobj
;
31774 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31775 wxMenu
*arg2
= (wxMenu
*) 0 ;
31776 PyObject
* obj0
= 0 ;
31777 PyObject
* obj1
= 0 ;
31778 char *kwnames
[] = {
31779 (char *) "self",(char *) "menu", NULL
31782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
31783 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31784 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31785 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
31786 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31789 (arg1
)->SetMenu(arg2
);
31791 wxPyEndAllowThreads(__tstate
);
31792 if (PyErr_Occurred()) SWIG_fail
;
31794 Py_INCREF(Py_None
); resultobj
= Py_None
;
31801 static PyObject
*_wrap_MenuItem_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31802 PyObject
*resultobj
;
31803 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31805 PyObject
* obj0
= 0 ;
31806 PyObject
* obj1
= 0 ;
31807 char *kwnames
[] = {
31808 (char *) "self",(char *) "id", NULL
31811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
31812 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31813 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31814 arg2
= (int) SWIG_AsInt(obj1
);
31815 if (PyErr_Occurred()) SWIG_fail
;
31817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31818 (arg1
)->SetId(arg2
);
31820 wxPyEndAllowThreads(__tstate
);
31821 if (PyErr_Occurred()) SWIG_fail
;
31823 Py_INCREF(Py_None
); resultobj
= Py_None
;
31830 static PyObject
*_wrap_MenuItem_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31831 PyObject
*resultobj
;
31832 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31834 PyObject
* obj0
= 0 ;
31835 char *kwnames
[] = {
31836 (char *) "self", NULL
31839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetId",kwnames
,&obj0
)) goto fail
;
31840 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31841 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31844 result
= (int)((wxMenuItem
const *)arg1
)->GetId();
31846 wxPyEndAllowThreads(__tstate
);
31847 if (PyErr_Occurred()) SWIG_fail
;
31849 resultobj
= SWIG_FromInt((int)result
);
31856 static PyObject
*_wrap_MenuItem_IsSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31857 PyObject
*resultobj
;
31858 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31860 PyObject
* obj0
= 0 ;
31861 char *kwnames
[] = {
31862 (char *) "self", NULL
31865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsSeparator",kwnames
,&obj0
)) goto fail
;
31866 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31867 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31870 result
= (bool)((wxMenuItem
const *)arg1
)->IsSeparator();
31872 wxPyEndAllowThreads(__tstate
);
31873 if (PyErr_Occurred()) SWIG_fail
;
31876 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31884 static PyObject
*_wrap_MenuItem_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31885 PyObject
*resultobj
;
31886 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31887 wxString
*arg2
= 0 ;
31888 bool temp2
= False
;
31889 PyObject
* obj0
= 0 ;
31890 PyObject
* obj1
= 0 ;
31891 char *kwnames
[] = {
31892 (char *) "self",(char *) "str", NULL
31895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
31896 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31897 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31899 arg2
= wxString_in_helper(obj1
);
31900 if (arg2
== NULL
) SWIG_fail
;
31904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31905 (arg1
)->SetText((wxString
const &)*arg2
);
31907 wxPyEndAllowThreads(__tstate
);
31908 if (PyErr_Occurred()) SWIG_fail
;
31910 Py_INCREF(Py_None
); resultobj
= Py_None
;
31925 static PyObject
*_wrap_MenuItem_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31926 PyObject
*resultobj
;
31927 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31929 PyObject
* obj0
= 0 ;
31930 char *kwnames
[] = {
31931 (char *) "self", NULL
31934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetLabel",kwnames
,&obj0
)) goto fail
;
31935 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31936 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31939 result
= ((wxMenuItem
const *)arg1
)->GetLabel();
31941 wxPyEndAllowThreads(__tstate
);
31942 if (PyErr_Occurred()) SWIG_fail
;
31946 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31948 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31957 static PyObject
*_wrap_MenuItem_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31958 PyObject
*resultobj
;
31959 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31961 PyObject
* obj0
= 0 ;
31962 char *kwnames
[] = {
31963 (char *) "self", NULL
31966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetText",kwnames
,&obj0
)) goto fail
;
31967 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31968 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31972 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetText();
31973 result
= (wxString
*) &_result_ref
;
31976 wxPyEndAllowThreads(__tstate
);
31977 if (PyErr_Occurred()) SWIG_fail
;
31981 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
31983 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
31992 static PyObject
*_wrap_MenuItem_GetLabelFromText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31993 PyObject
*resultobj
;
31994 wxString
*arg1
= 0 ;
31996 bool temp1
= False
;
31997 PyObject
* obj0
= 0 ;
31998 char *kwnames
[] = {
31999 (char *) "text", NULL
32002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetLabelFromText",kwnames
,&obj0
)) goto fail
;
32004 arg1
= wxString_in_helper(obj0
);
32005 if (arg1
== NULL
) SWIG_fail
;
32009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32010 result
= wxMenuItem::GetLabelFromText((wxString
const &)*arg1
);
32012 wxPyEndAllowThreads(__tstate
);
32013 if (PyErr_Occurred()) SWIG_fail
;
32017 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32019 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32036 static PyObject
*_wrap_MenuItem_GetKind(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32037 PyObject
*resultobj
;
32038 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32040 PyObject
* obj0
= 0 ;
32041 char *kwnames
[] = {
32042 (char *) "self", NULL
32045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetKind",kwnames
,&obj0
)) goto fail
;
32046 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32047 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32050 result
= (int)((wxMenuItem
const *)arg1
)->GetKind();
32052 wxPyEndAllowThreads(__tstate
);
32053 if (PyErr_Occurred()) SWIG_fail
;
32055 resultobj
= SWIG_FromInt((int)result
);
32062 static PyObject
*_wrap_MenuItem_SetKind(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32063 PyObject
*resultobj
;
32064 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32066 PyObject
* obj0
= 0 ;
32067 PyObject
* obj1
= 0 ;
32068 char *kwnames
[] = {
32069 (char *) "self",(char *) "kind", NULL
32072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetKind",kwnames
,&obj0
,&obj1
)) goto fail
;
32073 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32074 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32075 arg2
= (wxItemKind
) SWIG_AsInt(obj1
);
32076 if (PyErr_Occurred()) SWIG_fail
;
32078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32079 (arg1
)->SetKind((wxItemKind
)arg2
);
32081 wxPyEndAllowThreads(__tstate
);
32082 if (PyErr_Occurred()) SWIG_fail
;
32084 Py_INCREF(Py_None
); resultobj
= Py_None
;
32091 static PyObject
*_wrap_MenuItem_SetCheckable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32092 PyObject
*resultobj
;
32093 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32095 PyObject
* obj0
= 0 ;
32096 PyObject
* obj1
= 0 ;
32097 char *kwnames
[] = {
32098 (char *) "self",(char *) "checkable", NULL
32101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetCheckable",kwnames
,&obj0
,&obj1
)) goto fail
;
32102 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32103 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32104 arg2
= (bool) SWIG_AsBool(obj1
);
32105 if (PyErr_Occurred()) SWIG_fail
;
32107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32108 (arg1
)->SetCheckable(arg2
);
32110 wxPyEndAllowThreads(__tstate
);
32111 if (PyErr_Occurred()) SWIG_fail
;
32113 Py_INCREF(Py_None
); resultobj
= Py_None
;
32120 static PyObject
*_wrap_MenuItem_IsCheckable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32121 PyObject
*resultobj
;
32122 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32124 PyObject
* obj0
= 0 ;
32125 char *kwnames
[] = {
32126 (char *) "self", NULL
32129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsCheckable",kwnames
,&obj0
)) goto fail
;
32130 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32131 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32134 result
= (bool)((wxMenuItem
const *)arg1
)->IsCheckable();
32136 wxPyEndAllowThreads(__tstate
);
32137 if (PyErr_Occurred()) SWIG_fail
;
32140 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32148 static PyObject
*_wrap_MenuItem_IsSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32149 PyObject
*resultobj
;
32150 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32152 PyObject
* obj0
= 0 ;
32153 char *kwnames
[] = {
32154 (char *) "self", NULL
32157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsSubMenu",kwnames
,&obj0
)) goto fail
;
32158 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32159 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32162 result
= (bool)((wxMenuItem
const *)arg1
)->IsSubMenu();
32164 wxPyEndAllowThreads(__tstate
);
32165 if (PyErr_Occurred()) SWIG_fail
;
32168 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32176 static PyObject
*_wrap_MenuItem_SetSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32177 PyObject
*resultobj
;
32178 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32179 wxMenu
*arg2
= (wxMenu
*) 0 ;
32180 PyObject
* obj0
= 0 ;
32181 PyObject
* obj1
= 0 ;
32182 char *kwnames
[] = {
32183 (char *) "self",(char *) "menu", NULL
32186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetSubMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
32187 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32188 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32189 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
32190 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32193 (arg1
)->SetSubMenu(arg2
);
32195 wxPyEndAllowThreads(__tstate
);
32196 if (PyErr_Occurred()) SWIG_fail
;
32198 Py_INCREF(Py_None
); resultobj
= Py_None
;
32205 static PyObject
*_wrap_MenuItem_GetSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32206 PyObject
*resultobj
;
32207 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32209 PyObject
* obj0
= 0 ;
32210 char *kwnames
[] = {
32211 (char *) "self", NULL
32214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetSubMenu",kwnames
,&obj0
)) goto fail
;
32215 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32216 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32219 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetSubMenu();
32221 wxPyEndAllowThreads(__tstate
);
32222 if (PyErr_Occurred()) SWIG_fail
;
32225 resultobj
= wxPyMake_wxObject(result
);
32233 static PyObject
*_wrap_MenuItem_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32234 PyObject
*resultobj
;
32235 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32236 bool arg2
= (bool) True
;
32237 PyObject
* obj0
= 0 ;
32238 PyObject
* obj1
= 0 ;
32239 char *kwnames
[] = {
32240 (char *) "self",(char *) "enable", NULL
32243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
32244 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32245 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32247 arg2
= (bool) SWIG_AsBool(obj1
);
32248 if (PyErr_Occurred()) SWIG_fail
;
32251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32252 (arg1
)->Enable(arg2
);
32254 wxPyEndAllowThreads(__tstate
);
32255 if (PyErr_Occurred()) SWIG_fail
;
32257 Py_INCREF(Py_None
); resultobj
= Py_None
;
32264 static PyObject
*_wrap_MenuItem_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32265 PyObject
*resultobj
;
32266 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32268 PyObject
* obj0
= 0 ;
32269 char *kwnames
[] = {
32270 (char *) "self", NULL
32273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsEnabled",kwnames
,&obj0
)) goto fail
;
32274 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32275 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32278 result
= (bool)((wxMenuItem
const *)arg1
)->IsEnabled();
32280 wxPyEndAllowThreads(__tstate
);
32281 if (PyErr_Occurred()) SWIG_fail
;
32284 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32292 static PyObject
*_wrap_MenuItem_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32293 PyObject
*resultobj
;
32294 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32295 bool arg2
= (bool) True
;
32296 PyObject
* obj0
= 0 ;
32297 PyObject
* obj1
= 0 ;
32298 char *kwnames
[] = {
32299 (char *) "self",(char *) "check", NULL
32302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Check",kwnames
,&obj0
,&obj1
)) goto fail
;
32303 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32304 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32306 arg2
= (bool) SWIG_AsBool(obj1
);
32307 if (PyErr_Occurred()) SWIG_fail
;
32310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32311 (arg1
)->Check(arg2
);
32313 wxPyEndAllowThreads(__tstate
);
32314 if (PyErr_Occurred()) SWIG_fail
;
32316 Py_INCREF(Py_None
); resultobj
= Py_None
;
32323 static PyObject
*_wrap_MenuItem_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32324 PyObject
*resultobj
;
32325 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32327 PyObject
* obj0
= 0 ;
32328 char *kwnames
[] = {
32329 (char *) "self", NULL
32332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsChecked",kwnames
,&obj0
)) goto fail
;
32333 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32334 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32337 result
= (bool)((wxMenuItem
const *)arg1
)->IsChecked();
32339 wxPyEndAllowThreads(__tstate
);
32340 if (PyErr_Occurred()) SWIG_fail
;
32343 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32351 static PyObject
*_wrap_MenuItem_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32352 PyObject
*resultobj
;
32353 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32354 PyObject
* obj0
= 0 ;
32355 char *kwnames
[] = {
32356 (char *) "self", NULL
32359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_Toggle",kwnames
,&obj0
)) goto fail
;
32360 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32361 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32366 wxPyEndAllowThreads(__tstate
);
32367 if (PyErr_Occurred()) SWIG_fail
;
32369 Py_INCREF(Py_None
); resultobj
= Py_None
;
32376 static PyObject
*_wrap_MenuItem_SetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32377 PyObject
*resultobj
;
32378 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32379 wxString
*arg2
= 0 ;
32380 bool temp2
= False
;
32381 PyObject
* obj0
= 0 ;
32382 PyObject
* obj1
= 0 ;
32383 char *kwnames
[] = {
32384 (char *) "self",(char *) "str", NULL
32387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
32388 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32389 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32391 arg2
= wxString_in_helper(obj1
);
32392 if (arg2
== NULL
) SWIG_fail
;
32396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32397 (arg1
)->SetHelp((wxString
const &)*arg2
);
32399 wxPyEndAllowThreads(__tstate
);
32400 if (PyErr_Occurred()) SWIG_fail
;
32402 Py_INCREF(Py_None
); resultobj
= Py_None
;
32417 static PyObject
*_wrap_MenuItem_GetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32418 PyObject
*resultobj
;
32419 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32421 PyObject
* obj0
= 0 ;
32422 char *kwnames
[] = {
32423 (char *) "self", NULL
32426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetHelp",kwnames
,&obj0
)) goto fail
;
32427 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32428 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32432 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetHelp();
32433 result
= (wxString
*) &_result_ref
;
32436 wxPyEndAllowThreads(__tstate
);
32437 if (PyErr_Occurred()) SWIG_fail
;
32441 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
32443 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
32452 static PyObject
*_wrap_MenuItem_GetAccel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32453 PyObject
*resultobj
;
32454 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32455 wxAcceleratorEntry
*result
;
32456 PyObject
* obj0
= 0 ;
32457 char *kwnames
[] = {
32458 (char *) "self", NULL
32461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetAccel",kwnames
,&obj0
)) goto fail
;
32462 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32463 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32466 result
= (wxAcceleratorEntry
*)((wxMenuItem
const *)arg1
)->GetAccel();
32468 wxPyEndAllowThreads(__tstate
);
32469 if (PyErr_Occurred()) SWIG_fail
;
32471 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 0);
32478 static PyObject
*_wrap_MenuItem_SetAccel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32479 PyObject
*resultobj
;
32480 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32481 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
32482 PyObject
* obj0
= 0 ;
32483 PyObject
* obj1
= 0 ;
32484 char *kwnames
[] = {
32485 (char *) "self",(char *) "accel", NULL
32488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetAccel",kwnames
,&obj0
,&obj1
)) goto fail
;
32489 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32490 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32491 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxAcceleratorEntry
,
32492 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32495 (arg1
)->SetAccel(arg2
);
32497 wxPyEndAllowThreads(__tstate
);
32498 if (PyErr_Occurred()) SWIG_fail
;
32500 Py_INCREF(Py_None
); resultobj
= Py_None
;
32507 static PyObject
*_wrap_MenuItem_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32508 PyObject
*resultobj
;
32509 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32511 PyObject
* obj0
= 0 ;
32512 PyObject
* obj1
= 0 ;
32513 char *kwnames
[] = {
32514 (char *) "self",(char *) "font", NULL
32517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
32518 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32519 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32520 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
32521 SWIG_POINTER_EXCEPTION
| 0)) == -1)
32523 if (arg2
== NULL
) {
32524 PyErr_SetString(PyExc_TypeError
,"null reference");
32528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32529 (arg1
)->SetFont((wxFont
const &)*arg2
);
32531 wxPyEndAllowThreads(__tstate
);
32532 if (PyErr_Occurred()) SWIG_fail
;
32534 Py_INCREF(Py_None
); resultobj
= Py_None
;
32541 static PyObject
*_wrap_MenuItem_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32542 PyObject
*resultobj
;
32543 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32545 PyObject
* obj0
= 0 ;
32546 char *kwnames
[] = {
32547 (char *) "self", NULL
32550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetFont",kwnames
,&obj0
)) goto fail
;
32551 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32552 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32555 result
= (arg1
)->GetFont();
32557 wxPyEndAllowThreads(__tstate
);
32558 if (PyErr_Occurred()) SWIG_fail
;
32561 wxFont
* resultptr
;
32562 resultptr
= new wxFont((wxFont
&) result
);
32563 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
32571 static PyObject
*_wrap_MenuItem_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32572 PyObject
*resultobj
;
32573 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32574 wxColour
*arg2
= 0 ;
32576 PyObject
* obj0
= 0 ;
32577 PyObject
* obj1
= 0 ;
32578 char *kwnames
[] = {
32579 (char *) "self",(char *) "colText", NULL
32582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
32583 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32584 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32587 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
32590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32591 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
32593 wxPyEndAllowThreads(__tstate
);
32594 if (PyErr_Occurred()) SWIG_fail
;
32596 Py_INCREF(Py_None
); resultobj
= Py_None
;
32603 static PyObject
*_wrap_MenuItem_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32604 PyObject
*resultobj
;
32605 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32607 PyObject
* obj0
= 0 ;
32608 char *kwnames
[] = {
32609 (char *) "self", NULL
32612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetTextColour",kwnames
,&obj0
)) goto fail
;
32613 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32614 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32617 result
= (arg1
)->GetTextColour();
32619 wxPyEndAllowThreads(__tstate
);
32620 if (PyErr_Occurred()) SWIG_fail
;
32623 wxColour
* resultptr
;
32624 resultptr
= new wxColour((wxColour
&) result
);
32625 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
32633 static PyObject
*_wrap_MenuItem_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32634 PyObject
*resultobj
;
32635 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32636 wxColour
*arg2
= 0 ;
32638 PyObject
* obj0
= 0 ;
32639 PyObject
* obj1
= 0 ;
32640 char *kwnames
[] = {
32641 (char *) "self",(char *) "colBack", NULL
32644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
32645 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32646 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32649 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
32652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32653 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
32655 wxPyEndAllowThreads(__tstate
);
32656 if (PyErr_Occurred()) SWIG_fail
;
32658 Py_INCREF(Py_None
); resultobj
= Py_None
;
32665 static PyObject
*_wrap_MenuItem_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32666 PyObject
*resultobj
;
32667 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32669 PyObject
* obj0
= 0 ;
32670 char *kwnames
[] = {
32671 (char *) "self", NULL
32674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
32675 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32676 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32679 result
= (arg1
)->GetBackgroundColour();
32681 wxPyEndAllowThreads(__tstate
);
32682 if (PyErr_Occurred()) SWIG_fail
;
32685 wxColour
* resultptr
;
32686 resultptr
= new wxColour((wxColour
&) result
);
32687 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
32695 static PyObject
*_wrap_MenuItem_SetBitmaps(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32696 PyObject
*resultobj
;
32697 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32698 wxBitmap
*arg2
= 0 ;
32699 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
32700 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
32701 PyObject
* obj0
= 0 ;
32702 PyObject
* obj1
= 0 ;
32703 PyObject
* obj2
= 0 ;
32704 char *kwnames
[] = {
32705 (char *) "self",(char *) "bmpChecked",(char *) "bmpUnchecked", NULL
32708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MenuItem_SetBitmaps",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32709 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32710 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32711 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
32712 SWIG_POINTER_EXCEPTION
| 0)) == -1)
32714 if (arg2
== NULL
) {
32715 PyErr_SetString(PyExc_TypeError
,"null reference");
32719 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
32720 SWIG_POINTER_EXCEPTION
| 0)) == -1)
32722 if (arg3
== NULL
) {
32723 PyErr_SetString(PyExc_TypeError
,"null reference");
32728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32729 (arg1
)->SetBitmaps((wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
32731 wxPyEndAllowThreads(__tstate
);
32732 if (PyErr_Occurred()) SWIG_fail
;
32734 Py_INCREF(Py_None
); resultobj
= Py_None
;
32741 static PyObject
*_wrap_MenuItem_SetDisabledBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32742 PyObject
*resultobj
;
32743 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32744 wxBitmap
*arg2
= 0 ;
32745 PyObject
* obj0
= 0 ;
32746 PyObject
* obj1
= 0 ;
32747 char *kwnames
[] = {
32748 (char *) "self",(char *) "bmpDisabled", NULL
32751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
32752 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32753 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32754 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
32755 SWIG_POINTER_EXCEPTION
| 0)) == -1)
32757 if (arg2
== NULL
) {
32758 PyErr_SetString(PyExc_TypeError
,"null reference");
32762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32763 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
32765 wxPyEndAllowThreads(__tstate
);
32766 if (PyErr_Occurred()) SWIG_fail
;
32768 Py_INCREF(Py_None
); resultobj
= Py_None
;
32775 static PyObject
*_wrap_MenuItem_GetDisabledBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32776 PyObject
*resultobj
;
32777 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32779 PyObject
* obj0
= 0 ;
32780 char *kwnames
[] = {
32781 (char *) "self", NULL
32784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetDisabledBitmap",kwnames
,&obj0
)) goto fail
;
32785 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32786 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32790 wxBitmap
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetDisabledBitmap();
32791 result
= (wxBitmap
*) &_result_ref
;
32794 wxPyEndAllowThreads(__tstate
);
32795 if (PyErr_Occurred()) SWIG_fail
;
32798 wxBitmap
* resultptr
= new wxBitmap(*result
);
32799 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
32807 static PyObject
*_wrap_MenuItem_SetMarginWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32808 PyObject
*resultobj
;
32809 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32811 PyObject
* obj0
= 0 ;
32812 PyObject
* obj1
= 0 ;
32813 char *kwnames
[] = {
32814 (char *) "self",(char *) "nWidth", NULL
32817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetMarginWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
32818 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32820 arg2
= (int) SWIG_AsInt(obj1
);
32821 if (PyErr_Occurred()) SWIG_fail
;
32823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32824 (arg1
)->SetMarginWidth(arg2
);
32826 wxPyEndAllowThreads(__tstate
);
32827 if (PyErr_Occurred()) SWIG_fail
;
32829 Py_INCREF(Py_None
); resultobj
= Py_None
;
32836 static PyObject
*_wrap_MenuItem_GetMarginWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32837 PyObject
*resultobj
;
32838 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32840 PyObject
* obj0
= 0 ;
32841 char *kwnames
[] = {
32842 (char *) "self", NULL
32845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetMarginWidth",kwnames
,&obj0
)) goto fail
;
32846 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32847 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32850 result
= (int)(arg1
)->GetMarginWidth();
32852 wxPyEndAllowThreads(__tstate
);
32853 if (PyErr_Occurred()) SWIG_fail
;
32855 resultobj
= SWIG_FromInt((int)result
);
32862 static PyObject
*_wrap_MenuItem_GetDefaultMarginWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32863 PyObject
*resultobj
;
32865 char *kwnames
[] = {
32869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MenuItem_GetDefaultMarginWidth",kwnames
)) goto fail
;
32871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32872 result
= (int)wxMenuItem::GetDefaultMarginWidth();
32874 wxPyEndAllowThreads(__tstate
);
32875 if (PyErr_Occurred()) SWIG_fail
;
32877 resultobj
= SWIG_FromInt((int)result
);
32884 static PyObject
*_wrap_MenuItem_IsOwnerDrawn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32885 PyObject
*resultobj
;
32886 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32888 PyObject
* obj0
= 0 ;
32889 char *kwnames
[] = {
32890 (char *) "self", NULL
32893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsOwnerDrawn",kwnames
,&obj0
)) goto fail
;
32894 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32895 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32898 result
= (bool)(arg1
)->IsOwnerDrawn();
32900 wxPyEndAllowThreads(__tstate
);
32901 if (PyErr_Occurred()) SWIG_fail
;
32904 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32912 static PyObject
*_wrap_MenuItem_SetOwnerDrawn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32913 PyObject
*resultobj
;
32914 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32915 bool arg2
= (bool) True
;
32916 PyObject
* obj0
= 0 ;
32917 PyObject
* obj1
= 0 ;
32918 char *kwnames
[] = {
32919 (char *) "self",(char *) "ownerDrawn", NULL
32922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_SetOwnerDrawn",kwnames
,&obj0
,&obj1
)) goto fail
;
32923 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32924 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32926 arg2
= (bool) SWIG_AsBool(obj1
);
32927 if (PyErr_Occurred()) SWIG_fail
;
32930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32931 (arg1
)->SetOwnerDrawn(arg2
);
32933 wxPyEndAllowThreads(__tstate
);
32934 if (PyErr_Occurred()) SWIG_fail
;
32936 Py_INCREF(Py_None
); resultobj
= Py_None
;
32943 static PyObject
*_wrap_MenuItem_ResetOwnerDrawn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32944 PyObject
*resultobj
;
32945 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32946 PyObject
* obj0
= 0 ;
32947 char *kwnames
[] = {
32948 (char *) "self", NULL
32951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_ResetOwnerDrawn",kwnames
,&obj0
)) goto fail
;
32952 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32953 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32956 (arg1
)->ResetOwnerDrawn();
32958 wxPyEndAllowThreads(__tstate
);
32959 if (PyErr_Occurred()) SWIG_fail
;
32961 Py_INCREF(Py_None
); resultobj
= Py_None
;
32968 static PyObject
*_wrap_MenuItem_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32969 PyObject
*resultobj
;
32970 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32971 wxBitmap
*arg2
= 0 ;
32972 PyObject
* obj0
= 0 ;
32973 PyObject
* obj1
= 0 ;
32974 char *kwnames
[] = {
32975 (char *) "self",(char *) "bitmap", NULL
32978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
32979 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32980 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32981 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
32982 SWIG_POINTER_EXCEPTION
| 0)) == -1)
32984 if (arg2
== NULL
) {
32985 PyErr_SetString(PyExc_TypeError
,"null reference");
32989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32990 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
32992 wxPyEndAllowThreads(__tstate
);
32993 if (PyErr_Occurred()) SWIG_fail
;
32995 Py_INCREF(Py_None
); resultobj
= Py_None
;
33002 static PyObject
*_wrap_MenuItem_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33003 PyObject
*resultobj
;
33004 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33006 PyObject
* obj0
= 0 ;
33007 char *kwnames
[] = {
33008 (char *) "self", NULL
33011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetBitmap",kwnames
,&obj0
)) goto fail
;
33012 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33013 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33017 wxBitmap
const &_result_ref
= (arg1
)->GetBitmap();
33018 result
= (wxBitmap
*) &_result_ref
;
33021 wxPyEndAllowThreads(__tstate
);
33022 if (PyErr_Occurred()) SWIG_fail
;
33025 wxBitmap
* resultptr
= new wxBitmap(*result
);
33026 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
33034 static PyObject
* MenuItem_swigregister(PyObject
*self
, PyObject
*args
) {
33036 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33037 SWIG_TypeClientData(SWIGTYPE_p_wxMenuItem
, obj
);
33039 return Py_BuildValue((char *)"");
33041 static int _wrap_ControlNameStr_set(PyObject
*_val
) {
33042 PyErr_SetString(PyExc_TypeError
,"Variable ControlNameStr is read-only.");
33047 static PyObject
*_wrap_ControlNameStr_get() {
33052 pyobj
= PyUnicode_FromWideChar((&wxPyControlNameStr
)->c_str(), (&wxPyControlNameStr
)->Len());
33054 pyobj
= PyString_FromStringAndSize((&wxPyControlNameStr
)->c_str(), (&wxPyControlNameStr
)->Len());
33061 static PyObject
*_wrap_new_Control(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33062 PyObject
*resultobj
;
33063 wxWindow
*arg1
= (wxWindow
*) 0 ;
33065 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
33066 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
33067 wxSize
const &arg4_defvalue
= wxDefaultSize
;
33068 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
33069 long arg5
= (long) 0 ;
33070 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
33071 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
33072 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
33073 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
33077 bool temp7
= False
;
33078 PyObject
* obj0
= 0 ;
33079 PyObject
* obj1
= 0 ;
33080 PyObject
* obj2
= 0 ;
33081 PyObject
* obj3
= 0 ;
33082 PyObject
* obj4
= 0 ;
33083 PyObject
* obj5
= 0 ;
33084 PyObject
* obj6
= 0 ;
33085 char *kwnames
[] = {
33086 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
33089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:new_Control",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
33090 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
33091 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33092 arg2
= (int) SWIG_AsInt(obj1
);
33093 if (PyErr_Occurred()) SWIG_fail
;
33097 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
33103 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
33107 arg5
= (long) SWIG_AsLong(obj4
);
33108 if (PyErr_Occurred()) SWIG_fail
;
33111 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
33112 SWIG_POINTER_EXCEPTION
| 0)) == -1)
33114 if (arg6
== NULL
) {
33115 PyErr_SetString(PyExc_TypeError
,"null reference");
33121 arg7
= wxString_in_helper(obj6
);
33122 if (arg7
== NULL
) SWIG_fail
;
33127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33128 result
= (wxControl
*)new wxControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
33130 wxPyEndAllowThreads(__tstate
);
33131 if (PyErr_Occurred()) SWIG_fail
;
33134 resultobj
= wxPyMake_wxObject(result
);
33150 static PyObject
*_wrap_new_PreControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33151 PyObject
*resultobj
;
33153 char *kwnames
[] = {
33157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreControl",kwnames
)) goto fail
;
33159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33160 result
= (wxControl
*)new wxControl();
33162 wxPyEndAllowThreads(__tstate
);
33163 if (PyErr_Occurred()) SWIG_fail
;
33166 resultobj
= wxPyMake_wxObject(result
);
33174 static PyObject
*_wrap_Control_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33175 PyObject
*resultobj
;
33176 wxControl
*arg1
= (wxControl
*) 0 ;
33177 wxWindow
*arg2
= (wxWindow
*) 0 ;
33179 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
33180 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
33181 wxSize
const &arg5_defvalue
= wxDefaultSize
;
33182 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
33183 long arg6
= (long) 0 ;
33184 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
33185 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
33186 wxString
const &arg8_defvalue
= wxPyControlNameStr
;
33187 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
33191 bool temp8
= False
;
33192 PyObject
* obj0
= 0 ;
33193 PyObject
* obj1
= 0 ;
33194 PyObject
* obj2
= 0 ;
33195 PyObject
* obj3
= 0 ;
33196 PyObject
* obj4
= 0 ;
33197 PyObject
* obj5
= 0 ;
33198 PyObject
* obj6
= 0 ;
33199 PyObject
* obj7
= 0 ;
33200 char *kwnames
[] = {
33201 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
33204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:Control_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
33205 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxControl
,
33206 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33207 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
33208 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33209 arg3
= (int) SWIG_AsInt(obj2
);
33210 if (PyErr_Occurred()) SWIG_fail
;
33214 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
33220 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
33224 arg6
= (long) SWIG_AsLong(obj5
);
33225 if (PyErr_Occurred()) SWIG_fail
;
33228 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
33229 SWIG_POINTER_EXCEPTION
| 0)) == -1)
33231 if (arg7
== NULL
) {
33232 PyErr_SetString(PyExc_TypeError
,"null reference");
33238 arg8
= wxString_in_helper(obj7
);
33239 if (arg8
== NULL
) SWIG_fail
;
33244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33245 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
33247 wxPyEndAllowThreads(__tstate
);
33248 if (PyErr_Occurred()) SWIG_fail
;
33251 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33267 static PyObject
*_wrap_Control_Command(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33268 PyObject
*resultobj
;
33269 wxControl
*arg1
= (wxControl
*) 0 ;
33270 wxCommandEvent
*arg2
= 0 ;
33271 PyObject
* obj0
= 0 ;
33272 PyObject
* obj1
= 0 ;
33273 char *kwnames
[] = {
33274 (char *) "self",(char *) "event", NULL
33277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Control_Command",kwnames
,&obj0
,&obj1
)) goto fail
;
33278 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxControl
,
33279 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33280 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCommandEvent
,
33281 SWIG_POINTER_EXCEPTION
| 0)) == -1)
33283 if (arg2
== NULL
) {
33284 PyErr_SetString(PyExc_TypeError
,"null reference");
33288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33289 (arg1
)->Command(*arg2
);
33291 wxPyEndAllowThreads(__tstate
);
33292 if (PyErr_Occurred()) SWIG_fail
;
33294 Py_INCREF(Py_None
); resultobj
= Py_None
;
33301 static PyObject
*_wrap_Control_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33302 PyObject
*resultobj
;
33303 wxControl
*arg1
= (wxControl
*) 0 ;
33305 PyObject
* obj0
= 0 ;
33306 char *kwnames
[] = {
33307 (char *) "self", NULL
33310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Control_GetLabel",kwnames
,&obj0
)) goto fail
;
33311 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxControl
,
33312 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33315 result
= (arg1
)->GetLabel();
33317 wxPyEndAllowThreads(__tstate
);
33318 if (PyErr_Occurred()) SWIG_fail
;
33322 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33324 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33333 static PyObject
*_wrap_Control_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33334 PyObject
*resultobj
;
33335 wxControl
*arg1
= (wxControl
*) 0 ;
33336 wxString
*arg2
= 0 ;
33337 bool temp2
= False
;
33338 PyObject
* obj0
= 0 ;
33339 PyObject
* obj1
= 0 ;
33340 char *kwnames
[] = {
33341 (char *) "self",(char *) "label", NULL
33344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Control_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
33345 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxControl
,
33346 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33348 arg2
= wxString_in_helper(obj1
);
33349 if (arg2
== NULL
) SWIG_fail
;
33353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33354 (arg1
)->SetLabel((wxString
const &)*arg2
);
33356 wxPyEndAllowThreads(__tstate
);
33357 if (PyErr_Occurred()) SWIG_fail
;
33359 Py_INCREF(Py_None
); resultobj
= Py_None
;
33374 static PyObject
*_wrap_Control_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33375 PyObject
*resultobj
;
33376 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
33377 wxVisualAttributes result
;
33378 PyObject
* obj0
= 0 ;
33379 char *kwnames
[] = {
33380 (char *) "variant", NULL
33383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Control_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
33385 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
33386 if (PyErr_Occurred()) SWIG_fail
;
33389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33390 result
= wxControl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
33392 wxPyEndAllowThreads(__tstate
);
33393 if (PyErr_Occurred()) SWIG_fail
;
33396 wxVisualAttributes
* resultptr
;
33397 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
33398 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
33406 static PyObject
* Control_swigregister(PyObject
*self
, PyObject
*args
) {
33408 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33409 SWIG_TypeClientData(SWIGTYPE_p_wxControl
, obj
);
33411 return Py_BuildValue((char *)"");
33413 static PyObject
*_wrap_ItemContainer_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33414 PyObject
*resultobj
;
33415 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33416 wxString
*arg2
= 0 ;
33417 PyObject
*arg3
= (PyObject
*) NULL
;
33419 bool temp2
= False
;
33420 PyObject
* obj0
= 0 ;
33421 PyObject
* obj1
= 0 ;
33422 PyObject
* obj2
= 0 ;
33423 char *kwnames
[] = {
33424 (char *) "self",(char *) "item",(char *) "clientData", NULL
33427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ItemContainer_Append",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33428 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33429 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33431 arg2
= wxString_in_helper(obj1
);
33432 if (arg2
== NULL
) SWIG_fail
;
33439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33440 result
= (int)wxItemContainer_Append(arg1
,(wxString
const &)*arg2
,arg3
);
33442 wxPyEndAllowThreads(__tstate
);
33443 if (PyErr_Occurred()) SWIG_fail
;
33445 resultobj
= SWIG_FromInt((int)result
);
33460 static PyObject
*_wrap_ItemContainer_AppendItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33461 PyObject
*resultobj
;
33462 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33463 wxArrayString
*arg2
= 0 ;
33464 bool temp2
= False
;
33465 PyObject
* obj0
= 0 ;
33466 PyObject
* obj1
= 0 ;
33467 char *kwnames
[] = {
33468 (char *) "self",(char *) "strings", NULL
33471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_AppendItems",kwnames
,&obj0
,&obj1
)) goto fail
;
33472 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33473 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33475 if (! PySequence_Check(obj1
)) {
33476 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
33479 arg2
= new wxArrayString
;
33481 int i
, len
=PySequence_Length(obj1
);
33482 for (i
=0; i
<len
; i
++) {
33483 PyObject
* item
= PySequence_GetItem(obj1
, i
);
33485 PyObject
* str
= PyObject_Unicode(item
);
33487 PyObject
* str
= PyObject_Str(item
);
33489 if (PyErr_Occurred()) SWIG_fail
;
33490 arg2
->Add(Py2wxString(str
));
33496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33497 (arg1
)->Append((wxArrayString
const &)*arg2
);
33499 wxPyEndAllowThreads(__tstate
);
33500 if (PyErr_Occurred()) SWIG_fail
;
33502 Py_INCREF(Py_None
); resultobj
= Py_None
;
33504 if (temp2
) delete arg2
;
33509 if (temp2
) delete arg2
;
33515 static PyObject
*_wrap_ItemContainer_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33516 PyObject
*resultobj
;
33517 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33518 wxString
*arg2
= 0 ;
33520 PyObject
*arg4
= (PyObject
*) NULL
;
33522 bool temp2
= False
;
33523 PyObject
* obj0
= 0 ;
33524 PyObject
* obj1
= 0 ;
33525 PyObject
* obj2
= 0 ;
33526 PyObject
* obj3
= 0 ;
33527 char *kwnames
[] = {
33528 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
33531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ItemContainer_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
33532 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33533 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33535 arg2
= wxString_in_helper(obj1
);
33536 if (arg2
== NULL
) SWIG_fail
;
33539 arg3
= (int) SWIG_AsInt(obj2
);
33540 if (PyErr_Occurred()) SWIG_fail
;
33545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33546 result
= (int)wxItemContainer_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
33548 wxPyEndAllowThreads(__tstate
);
33549 if (PyErr_Occurred()) SWIG_fail
;
33551 resultobj
= SWIG_FromInt((int)result
);
33566 static PyObject
*_wrap_ItemContainer_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33567 PyObject
*resultobj
;
33568 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33569 PyObject
* obj0
= 0 ;
33570 char *kwnames
[] = {
33571 (char *) "self", NULL
33574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_Clear",kwnames
,&obj0
)) goto fail
;
33575 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33576 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33581 wxPyEndAllowThreads(__tstate
);
33582 if (PyErr_Occurred()) SWIG_fail
;
33584 Py_INCREF(Py_None
); resultobj
= Py_None
;
33591 static PyObject
*_wrap_ItemContainer_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33592 PyObject
*resultobj
;
33593 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33595 PyObject
* obj0
= 0 ;
33596 PyObject
* obj1
= 0 ;
33597 char *kwnames
[] = {
33598 (char *) "self",(char *) "n", NULL
33601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
33602 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33603 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33604 arg2
= (int) SWIG_AsInt(obj1
);
33605 if (PyErr_Occurred()) SWIG_fail
;
33607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33608 (arg1
)->Delete(arg2
);
33610 wxPyEndAllowThreads(__tstate
);
33611 if (PyErr_Occurred()) SWIG_fail
;
33613 Py_INCREF(Py_None
); resultobj
= Py_None
;
33620 static PyObject
*_wrap_ItemContainer_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33621 PyObject
*resultobj
;
33622 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33624 PyObject
* obj0
= 0 ;
33625 char *kwnames
[] = {
33626 (char *) "self", NULL
33629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetCount",kwnames
,&obj0
)) goto fail
;
33630 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33631 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33634 result
= (int)((wxItemContainer
const *)arg1
)->GetCount();
33636 wxPyEndAllowThreads(__tstate
);
33637 if (PyErr_Occurred()) SWIG_fail
;
33639 resultobj
= SWIG_FromInt((int)result
);
33646 static PyObject
*_wrap_ItemContainer_IsEmpty(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33647 PyObject
*resultobj
;
33648 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33650 PyObject
* obj0
= 0 ;
33651 char *kwnames
[] = {
33652 (char *) "self", NULL
33655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_IsEmpty",kwnames
,&obj0
)) goto fail
;
33656 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33657 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33660 result
= (bool)((wxItemContainer
const *)arg1
)->IsEmpty();
33662 wxPyEndAllowThreads(__tstate
);
33663 if (PyErr_Occurred()) SWIG_fail
;
33666 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33674 static PyObject
*_wrap_ItemContainer_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33675 PyObject
*resultobj
;
33676 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33679 PyObject
* obj0
= 0 ;
33680 PyObject
* obj1
= 0 ;
33681 char *kwnames
[] = {
33682 (char *) "self",(char *) "n", NULL
33685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_GetString",kwnames
,&obj0
,&obj1
)) goto fail
;
33686 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33687 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33688 arg2
= (int) SWIG_AsInt(obj1
);
33689 if (PyErr_Occurred()) SWIG_fail
;
33691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33692 result
= ((wxItemContainer
const *)arg1
)->GetString(arg2
);
33694 wxPyEndAllowThreads(__tstate
);
33695 if (PyErr_Occurred()) SWIG_fail
;
33699 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33701 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33710 static PyObject
*_wrap_ItemContainer_GetStrings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33711 PyObject
*resultobj
;
33712 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33713 wxArrayString result
;
33714 PyObject
* obj0
= 0 ;
33715 char *kwnames
[] = {
33716 (char *) "self", NULL
33719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetStrings",kwnames
,&obj0
)) goto fail
;
33720 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33721 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33724 result
= ((wxItemContainer
const *)arg1
)->GetStrings();
33726 wxPyEndAllowThreads(__tstate
);
33727 if (PyErr_Occurred()) SWIG_fail
;
33730 resultobj
= wxArrayString2PyList_helper(result
);
33738 static PyObject
*_wrap_ItemContainer_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33739 PyObject
*resultobj
;
33740 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33742 wxString
*arg3
= 0 ;
33743 bool temp3
= False
;
33744 PyObject
* obj0
= 0 ;
33745 PyObject
* obj1
= 0 ;
33746 PyObject
* obj2
= 0 ;
33747 char *kwnames
[] = {
33748 (char *) "self",(char *) "n",(char *) "s", NULL
33751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ItemContainer_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33752 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33753 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33754 arg2
= (int) SWIG_AsInt(obj1
);
33755 if (PyErr_Occurred()) SWIG_fail
;
33757 arg3
= wxString_in_helper(obj2
);
33758 if (arg3
== NULL
) SWIG_fail
;
33762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33763 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
33765 wxPyEndAllowThreads(__tstate
);
33766 if (PyErr_Occurred()) SWIG_fail
;
33768 Py_INCREF(Py_None
); resultobj
= Py_None
;
33783 static PyObject
*_wrap_ItemContainer_FindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33784 PyObject
*resultobj
;
33785 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33786 wxString
*arg2
= 0 ;
33788 bool temp2
= False
;
33789 PyObject
* obj0
= 0 ;
33790 PyObject
* obj1
= 0 ;
33791 char *kwnames
[] = {
33792 (char *) "self",(char *) "s", NULL
33795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_FindString",kwnames
,&obj0
,&obj1
)) goto fail
;
33796 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33797 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33799 arg2
= wxString_in_helper(obj1
);
33800 if (arg2
== NULL
) SWIG_fail
;
33804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33805 result
= (int)((wxItemContainer
const *)arg1
)->FindString((wxString
const &)*arg2
);
33807 wxPyEndAllowThreads(__tstate
);
33808 if (PyErr_Occurred()) SWIG_fail
;
33810 resultobj
= SWIG_FromInt((int)result
);
33825 static PyObject
*_wrap_ItemContainer_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33826 PyObject
*resultobj
;
33827 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33829 PyObject
* obj0
= 0 ;
33830 PyObject
* obj1
= 0 ;
33831 char *kwnames
[] = {
33832 (char *) "self",(char *) "n", NULL
33835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_Select",kwnames
,&obj0
,&obj1
)) goto fail
;
33836 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33837 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33838 arg2
= (int) SWIG_AsInt(obj1
);
33839 if (PyErr_Occurred()) SWIG_fail
;
33841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33842 (arg1
)->Select(arg2
);
33844 wxPyEndAllowThreads(__tstate
);
33845 if (PyErr_Occurred()) SWIG_fail
;
33847 Py_INCREF(Py_None
); resultobj
= Py_None
;
33854 static PyObject
*_wrap_ItemContainer_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33855 PyObject
*resultobj
;
33856 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33858 PyObject
* obj0
= 0 ;
33859 char *kwnames
[] = {
33860 (char *) "self", NULL
33863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetSelection",kwnames
,&obj0
)) goto fail
;
33864 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33865 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33868 result
= (int)((wxItemContainer
const *)arg1
)->GetSelection();
33870 wxPyEndAllowThreads(__tstate
);
33871 if (PyErr_Occurred()) SWIG_fail
;
33873 resultobj
= SWIG_FromInt((int)result
);
33880 static PyObject
*_wrap_ItemContainer_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33881 PyObject
*resultobj
;
33882 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33884 PyObject
* obj0
= 0 ;
33885 char *kwnames
[] = {
33886 (char *) "self", NULL
33889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetStringSelection",kwnames
,&obj0
)) goto fail
;
33890 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33894 result
= ((wxItemContainer
const *)arg1
)->GetStringSelection();
33896 wxPyEndAllowThreads(__tstate
);
33897 if (PyErr_Occurred()) SWIG_fail
;
33901 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33903 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33912 static PyObject
*_wrap_ItemContainer_GetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33913 PyObject
*resultobj
;
33914 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33917 PyObject
* obj0
= 0 ;
33918 PyObject
* obj1
= 0 ;
33919 char *kwnames
[] = {
33920 (char *) "self",(char *) "n", NULL
33923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_GetClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
33924 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33925 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33926 arg2
= (int) SWIG_AsInt(obj1
);
33927 if (PyErr_Occurred()) SWIG_fail
;
33929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33930 result
= (PyObject
*)wxItemContainer_GetClientData(arg1
,arg2
);
33932 wxPyEndAllowThreads(__tstate
);
33933 if (PyErr_Occurred()) SWIG_fail
;
33935 resultobj
= result
;
33942 static PyObject
*_wrap_ItemContainer_SetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33943 PyObject
*resultobj
;
33944 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33946 PyObject
*arg3
= (PyObject
*) 0 ;
33947 PyObject
* obj0
= 0 ;
33948 PyObject
* obj1
= 0 ;
33949 PyObject
* obj2
= 0 ;
33950 char *kwnames
[] = {
33951 (char *) "self",(char *) "n",(char *) "clientData", NULL
33954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ItemContainer_SetClientData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33955 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33956 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33957 arg2
= (int) SWIG_AsInt(obj1
);
33958 if (PyErr_Occurred()) SWIG_fail
;
33961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33962 wxItemContainer_SetClientData(arg1
,arg2
,arg3
);
33964 wxPyEndAllowThreads(__tstate
);
33965 if (PyErr_Occurred()) SWIG_fail
;
33967 Py_INCREF(Py_None
); resultobj
= Py_None
;
33974 static PyObject
* ItemContainer_swigregister(PyObject
*self
, PyObject
*args
) {
33976 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33977 SWIG_TypeClientData(SWIGTYPE_p_wxItemContainer
, obj
);
33979 return Py_BuildValue((char *)"");
33981 static PyObject
* ControlWithItems_swigregister(PyObject
*self
, PyObject
*args
) {
33983 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33984 SWIG_TypeClientData(SWIGTYPE_p_wxControlWithItems
, obj
);
33986 return Py_BuildValue((char *)"");
33988 static PyObject
*_wrap_new_SizerItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33989 PyObject
*resultobj
;
33990 wxSizerItem
*result
;
33991 char *kwnames
[] = {
33995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SizerItem",kwnames
)) goto fail
;
33997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33998 result
= (wxSizerItem
*)new wxSizerItem();
34000 wxPyEndAllowThreads(__tstate
);
34001 if (PyErr_Occurred()) SWIG_fail
;
34003 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
34010 static PyObject
*_wrap_new_SizerItemSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34011 PyObject
*resultobj
;
34017 wxObject
*arg6
= (wxObject
*) 0 ;
34018 wxSizerItem
*result
;
34019 PyObject
* obj0
= 0 ;
34020 PyObject
* obj1
= 0 ;
34021 PyObject
* obj2
= 0 ;
34022 PyObject
* obj3
= 0 ;
34023 PyObject
* obj4
= 0 ;
34024 PyObject
* obj5
= 0 ;
34025 char *kwnames
[] = {
34026 (char *) "width",(char *) "height",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
34029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:new_SizerItemSpacer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
34030 arg1
= (int) SWIG_AsInt(obj0
);
34031 if (PyErr_Occurred()) SWIG_fail
;
34032 arg2
= (int) SWIG_AsInt(obj1
);
34033 if (PyErr_Occurred()) SWIG_fail
;
34034 arg3
= (int) SWIG_AsInt(obj2
);
34035 if (PyErr_Occurred()) SWIG_fail
;
34036 arg4
= (int) SWIG_AsInt(obj3
);
34037 if (PyErr_Occurred()) SWIG_fail
;
34038 arg5
= (int) SWIG_AsInt(obj4
);
34039 if (PyErr_Occurred()) SWIG_fail
;
34040 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxObject
,
34041 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34044 result
= (wxSizerItem
*)new wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
34046 wxPyEndAllowThreads(__tstate
);
34047 if (PyErr_Occurred()) SWIG_fail
;
34049 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
34056 static PyObject
*_wrap_new_SizerItemWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34057 PyObject
*resultobj
;
34058 wxWindow
*arg1
= (wxWindow
*) 0 ;
34062 wxObject
*arg5
= (wxObject
*) 0 ;
34063 wxSizerItem
*result
;
34064 PyObject
* obj0
= 0 ;
34065 PyObject
* obj1
= 0 ;
34066 PyObject
* obj2
= 0 ;
34067 PyObject
* obj3
= 0 ;
34068 PyObject
* obj4
= 0 ;
34069 char *kwnames
[] = {
34070 (char *) "window",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
34073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:new_SizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
34074 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
34075 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34076 arg2
= (int) SWIG_AsInt(obj1
);
34077 if (PyErr_Occurred()) SWIG_fail
;
34078 arg3
= (int) SWIG_AsInt(obj2
);
34079 if (PyErr_Occurred()) SWIG_fail
;
34080 arg4
= (int) SWIG_AsInt(obj3
);
34081 if (PyErr_Occurred()) SWIG_fail
;
34082 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxObject
,
34083 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34086 result
= (wxSizerItem
*)new wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
34088 wxPyEndAllowThreads(__tstate
);
34089 if (PyErr_Occurred()) SWIG_fail
;
34091 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
34098 static PyObject
*_wrap_new_SizerItemSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34099 PyObject
*resultobj
;
34100 wxSizer
*arg1
= (wxSizer
*) 0 ;
34104 wxObject
*arg5
= (wxObject
*) 0 ;
34105 wxSizerItem
*result
;
34106 PyObject
* obj0
= 0 ;
34107 PyObject
* obj1
= 0 ;
34108 PyObject
* obj2
= 0 ;
34109 PyObject
* obj3
= 0 ;
34110 PyObject
* obj4
= 0 ;
34111 char *kwnames
[] = {
34112 (char *) "sizer",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
34115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:new_SizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
34116 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34117 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34118 arg2
= (int) SWIG_AsInt(obj1
);
34119 if (PyErr_Occurred()) SWIG_fail
;
34120 arg3
= (int) SWIG_AsInt(obj2
);
34121 if (PyErr_Occurred()) SWIG_fail
;
34122 arg4
= (int) SWIG_AsInt(obj3
);
34123 if (PyErr_Occurred()) SWIG_fail
;
34124 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxObject
,
34125 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34128 result
= (wxSizerItem
*)new wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
34130 wxPyEndAllowThreads(__tstate
);
34131 if (PyErr_Occurred()) SWIG_fail
;
34133 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
34140 static PyObject
*_wrap_SizerItem_DeleteWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34141 PyObject
*resultobj
;
34142 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34143 PyObject
* obj0
= 0 ;
34144 char *kwnames
[] = {
34145 (char *) "self", NULL
34148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_DeleteWindows",kwnames
,&obj0
)) goto fail
;
34149 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34150 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34153 (arg1
)->DeleteWindows();
34155 wxPyEndAllowThreads(__tstate
);
34156 if (PyErr_Occurred()) SWIG_fail
;
34158 Py_INCREF(Py_None
); resultobj
= Py_None
;
34165 static PyObject
*_wrap_SizerItem_DetachSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34166 PyObject
*resultobj
;
34167 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34168 PyObject
* obj0
= 0 ;
34169 char *kwnames
[] = {
34170 (char *) "self", NULL
34173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_DetachSizer",kwnames
,&obj0
)) goto fail
;
34174 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34175 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34178 (arg1
)->DetachSizer();
34180 wxPyEndAllowThreads(__tstate
);
34181 if (PyErr_Occurred()) SWIG_fail
;
34183 Py_INCREF(Py_None
); resultobj
= Py_None
;
34190 static PyObject
*_wrap_SizerItem_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34191 PyObject
*resultobj
;
34192 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34194 PyObject
* obj0
= 0 ;
34195 char *kwnames
[] = {
34196 (char *) "self", NULL
34199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSize",kwnames
,&obj0
)) goto fail
;
34200 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34201 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34204 result
= (arg1
)->GetSize();
34206 wxPyEndAllowThreads(__tstate
);
34207 if (PyErr_Occurred()) SWIG_fail
;
34210 wxSize
* resultptr
;
34211 resultptr
= new wxSize((wxSize
&) result
);
34212 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
34220 static PyObject
*_wrap_SizerItem_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34221 PyObject
*resultobj
;
34222 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34224 PyObject
* obj0
= 0 ;
34225 char *kwnames
[] = {
34226 (char *) "self", NULL
34229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_CalcMin",kwnames
,&obj0
)) goto fail
;
34230 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34231 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34234 result
= (arg1
)->CalcMin();
34236 wxPyEndAllowThreads(__tstate
);
34237 if (PyErr_Occurred()) SWIG_fail
;
34240 wxSize
* resultptr
;
34241 resultptr
= new wxSize((wxSize
&) result
);
34242 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
34250 static PyObject
*_wrap_SizerItem_SetDimension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34251 PyObject
*resultobj
;
34252 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34257 PyObject
* obj0
= 0 ;
34258 PyObject
* obj1
= 0 ;
34259 PyObject
* obj2
= 0 ;
34260 char *kwnames
[] = {
34261 (char *) "self",(char *) "pos",(char *) "size", NULL
34264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34265 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34266 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34267 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxPoint
,
34268 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
34270 if ((SWIG_ConvertPtr(obj2
,(void **)(&argp3
),SWIGTYPE_p_wxSize
,
34271 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
34274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34275 (arg1
)->SetDimension(arg2
,arg3
);
34277 wxPyEndAllowThreads(__tstate
);
34278 if (PyErr_Occurred()) SWIG_fail
;
34280 Py_INCREF(Py_None
); resultobj
= Py_None
;
34287 static PyObject
*_wrap_SizerItem_GetMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34288 PyObject
*resultobj
;
34289 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34291 PyObject
* obj0
= 0 ;
34292 char *kwnames
[] = {
34293 (char *) "self", NULL
34296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetMinSize",kwnames
,&obj0
)) goto fail
;
34297 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34301 result
= (arg1
)->GetMinSize();
34303 wxPyEndAllowThreads(__tstate
);
34304 if (PyErr_Occurred()) SWIG_fail
;
34307 wxSize
* resultptr
;
34308 resultptr
= new wxSize((wxSize
&) result
);
34309 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
34317 static PyObject
*_wrap_SizerItem_SetInitSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34318 PyObject
*resultobj
;
34319 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34322 PyObject
* obj0
= 0 ;
34323 PyObject
* obj1
= 0 ;
34324 PyObject
* obj2
= 0 ;
34325 char *kwnames
[] = {
34326 (char *) "self",(char *) "x",(char *) "y", NULL
34329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetInitSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34330 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34331 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34332 arg2
= (int) SWIG_AsInt(obj1
);
34333 if (PyErr_Occurred()) SWIG_fail
;
34334 arg3
= (int) SWIG_AsInt(obj2
);
34335 if (PyErr_Occurred()) SWIG_fail
;
34337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34338 (arg1
)->SetInitSize(arg2
,arg3
);
34340 wxPyEndAllowThreads(__tstate
);
34341 if (PyErr_Occurred()) SWIG_fail
;
34343 Py_INCREF(Py_None
); resultobj
= Py_None
;
34350 static PyObject
*_wrap_SizerItem_SetRatioWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34351 PyObject
*resultobj
;
34352 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34355 PyObject
* obj0
= 0 ;
34356 PyObject
* obj1
= 0 ;
34357 PyObject
* obj2
= 0 ;
34358 char *kwnames
[] = {
34359 (char *) "self",(char *) "width",(char *) "height", NULL
34362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetRatioWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34363 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34364 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34365 arg2
= (int) SWIG_AsInt(obj1
);
34366 if (PyErr_Occurred()) SWIG_fail
;
34367 arg3
= (int) SWIG_AsInt(obj2
);
34368 if (PyErr_Occurred()) SWIG_fail
;
34370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34371 (arg1
)->SetRatio(arg2
,arg3
);
34373 wxPyEndAllowThreads(__tstate
);
34374 if (PyErr_Occurred()) SWIG_fail
;
34376 Py_INCREF(Py_None
); resultobj
= Py_None
;
34383 static PyObject
*_wrap_SizerItem_SetRatioSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34384 PyObject
*resultobj
;
34385 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34388 PyObject
* obj0
= 0 ;
34389 PyObject
* obj1
= 0 ;
34390 char *kwnames
[] = {
34391 (char *) "self",(char *) "size", NULL
34394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetRatioSize",kwnames
,&obj0
,&obj1
)) goto fail
;
34395 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34396 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34397 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxSize
,
34398 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
34401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34402 (arg1
)->SetRatio(arg2
);
34404 wxPyEndAllowThreads(__tstate
);
34405 if (PyErr_Occurred()) SWIG_fail
;
34407 Py_INCREF(Py_None
); resultobj
= Py_None
;
34414 static PyObject
*_wrap_SizerItem_SetRatio(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34415 PyObject
*resultobj
;
34416 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34418 PyObject
* obj0
= 0 ;
34419 PyObject
* obj1
= 0 ;
34420 char *kwnames
[] = {
34421 (char *) "self",(char *) "ratio", NULL
34424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetRatio",kwnames
,&obj0
,&obj1
)) goto fail
;
34425 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34426 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34427 arg2
= (float) SWIG_AsFloat(obj1
);
34428 if (PyErr_Occurred()) SWIG_fail
;
34430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34431 (arg1
)->SetRatio(arg2
);
34433 wxPyEndAllowThreads(__tstate
);
34434 if (PyErr_Occurred()) SWIG_fail
;
34436 Py_INCREF(Py_None
); resultobj
= Py_None
;
34443 static PyObject
*_wrap_SizerItem_GetRatio(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34444 PyObject
*resultobj
;
34445 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34447 PyObject
* obj0
= 0 ;
34448 char *kwnames
[] = {
34449 (char *) "self", NULL
34452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetRatio",kwnames
,&obj0
)) goto fail
;
34453 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34454 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34457 result
= (float)(arg1
)->GetRatio();
34459 wxPyEndAllowThreads(__tstate
);
34460 if (PyErr_Occurred()) SWIG_fail
;
34462 resultobj
= SWIG_FromFloat((float)result
);
34469 static PyObject
*_wrap_SizerItem_IsWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34470 PyObject
*resultobj
;
34471 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34473 PyObject
* obj0
= 0 ;
34474 char *kwnames
[] = {
34475 (char *) "self", NULL
34478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsWindow",kwnames
,&obj0
)) goto fail
;
34479 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34480 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34483 result
= (bool)(arg1
)->IsWindow();
34485 wxPyEndAllowThreads(__tstate
);
34486 if (PyErr_Occurred()) SWIG_fail
;
34489 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34497 static PyObject
*_wrap_SizerItem_IsSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34498 PyObject
*resultobj
;
34499 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34501 PyObject
* obj0
= 0 ;
34502 char *kwnames
[] = {
34503 (char *) "self", NULL
34506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsSizer",kwnames
,&obj0
)) goto fail
;
34507 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34508 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34511 result
= (bool)(arg1
)->IsSizer();
34513 wxPyEndAllowThreads(__tstate
);
34514 if (PyErr_Occurred()) SWIG_fail
;
34517 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34525 static PyObject
*_wrap_SizerItem_IsSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34526 PyObject
*resultobj
;
34527 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34529 PyObject
* obj0
= 0 ;
34530 char *kwnames
[] = {
34531 (char *) "self", NULL
34534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsSpacer",kwnames
,&obj0
)) goto fail
;
34535 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34536 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34539 result
= (bool)(arg1
)->IsSpacer();
34541 wxPyEndAllowThreads(__tstate
);
34542 if (PyErr_Occurred()) SWIG_fail
;
34545 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34553 static PyObject
*_wrap_SizerItem_SetProportion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34554 PyObject
*resultobj
;
34555 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34557 PyObject
* obj0
= 0 ;
34558 PyObject
* obj1
= 0 ;
34559 char *kwnames
[] = {
34560 (char *) "self",(char *) "proportion", NULL
34563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetProportion",kwnames
,&obj0
,&obj1
)) goto fail
;
34564 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34565 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34566 arg2
= (int) SWIG_AsInt(obj1
);
34567 if (PyErr_Occurred()) SWIG_fail
;
34569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34570 (arg1
)->SetProportion(arg2
);
34572 wxPyEndAllowThreads(__tstate
);
34573 if (PyErr_Occurred()) SWIG_fail
;
34575 Py_INCREF(Py_None
); resultobj
= Py_None
;
34582 static PyObject
*_wrap_SizerItem_GetProportion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34583 PyObject
*resultobj
;
34584 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34586 PyObject
* obj0
= 0 ;
34587 char *kwnames
[] = {
34588 (char *) "self", NULL
34591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetProportion",kwnames
,&obj0
)) goto fail
;
34592 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34593 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34596 result
= (int)(arg1
)->GetProportion();
34598 wxPyEndAllowThreads(__tstate
);
34599 if (PyErr_Occurred()) SWIG_fail
;
34601 resultobj
= SWIG_FromInt((int)result
);
34608 static PyObject
*_wrap_SizerItem_SetFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34609 PyObject
*resultobj
;
34610 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34612 PyObject
* obj0
= 0 ;
34613 PyObject
* obj1
= 0 ;
34614 char *kwnames
[] = {
34615 (char *) "self",(char *) "flag", NULL
34618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
34619 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34620 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34621 arg2
= (int) SWIG_AsInt(obj1
);
34622 if (PyErr_Occurred()) SWIG_fail
;
34624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34625 (arg1
)->SetFlag(arg2
);
34627 wxPyEndAllowThreads(__tstate
);
34628 if (PyErr_Occurred()) SWIG_fail
;
34630 Py_INCREF(Py_None
); resultobj
= Py_None
;
34637 static PyObject
*_wrap_SizerItem_GetFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34638 PyObject
*resultobj
;
34639 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34641 PyObject
* obj0
= 0 ;
34642 char *kwnames
[] = {
34643 (char *) "self", NULL
34646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetFlag",kwnames
,&obj0
)) goto fail
;
34647 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34648 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34651 result
= (int)(arg1
)->GetFlag();
34653 wxPyEndAllowThreads(__tstate
);
34654 if (PyErr_Occurred()) SWIG_fail
;
34656 resultobj
= SWIG_FromInt((int)result
);
34663 static PyObject
*_wrap_SizerItem_SetBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34664 PyObject
*resultobj
;
34665 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34667 PyObject
* obj0
= 0 ;
34668 PyObject
* obj1
= 0 ;
34669 char *kwnames
[] = {
34670 (char *) "self",(char *) "border", NULL
34673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetBorder",kwnames
,&obj0
,&obj1
)) goto fail
;
34674 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34675 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34676 arg2
= (int) SWIG_AsInt(obj1
);
34677 if (PyErr_Occurred()) SWIG_fail
;
34679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34680 (arg1
)->SetBorder(arg2
);
34682 wxPyEndAllowThreads(__tstate
);
34683 if (PyErr_Occurred()) SWIG_fail
;
34685 Py_INCREF(Py_None
); resultobj
= Py_None
;
34692 static PyObject
*_wrap_SizerItem_GetBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34693 PyObject
*resultobj
;
34694 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34696 PyObject
* obj0
= 0 ;
34697 char *kwnames
[] = {
34698 (char *) "self", NULL
34701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetBorder",kwnames
,&obj0
)) goto fail
;
34702 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34703 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34706 result
= (int)(arg1
)->GetBorder();
34708 wxPyEndAllowThreads(__tstate
);
34709 if (PyErr_Occurred()) SWIG_fail
;
34711 resultobj
= SWIG_FromInt((int)result
);
34718 static PyObject
*_wrap_SizerItem_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34719 PyObject
*resultobj
;
34720 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34722 PyObject
* obj0
= 0 ;
34723 char *kwnames
[] = {
34724 (char *) "self", NULL
34727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetWindow",kwnames
,&obj0
)) goto fail
;
34728 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34729 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34732 result
= (wxWindow
*)(arg1
)->GetWindow();
34734 wxPyEndAllowThreads(__tstate
);
34735 if (PyErr_Occurred()) SWIG_fail
;
34738 resultobj
= wxPyMake_wxObject(result
);
34746 static PyObject
*_wrap_SizerItem_SetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34747 PyObject
*resultobj
;
34748 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34749 wxWindow
*arg2
= (wxWindow
*) 0 ;
34750 PyObject
* obj0
= 0 ;
34751 PyObject
* obj1
= 0 ;
34752 char *kwnames
[] = {
34753 (char *) "self",(char *) "window", NULL
34756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
34757 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34758 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34759 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
34760 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34763 (arg1
)->SetWindow(arg2
);
34765 wxPyEndAllowThreads(__tstate
);
34766 if (PyErr_Occurred()) SWIG_fail
;
34768 Py_INCREF(Py_None
); resultobj
= Py_None
;
34775 static PyObject
*_wrap_SizerItem_GetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34776 PyObject
*resultobj
;
34777 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34779 PyObject
* obj0
= 0 ;
34780 char *kwnames
[] = {
34781 (char *) "self", NULL
34784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSizer",kwnames
,&obj0
)) goto fail
;
34785 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34786 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34789 result
= (wxSizer
*)(arg1
)->GetSizer();
34791 wxPyEndAllowThreads(__tstate
);
34792 if (PyErr_Occurred()) SWIG_fail
;
34795 resultobj
= wxPyMake_wxSizer(result
);
34803 static PyObject
*_wrap_SizerItem_SetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34804 PyObject
*resultobj
;
34805 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34806 wxSizer
*arg2
= (wxSizer
*) 0 ;
34807 PyObject
* obj0
= 0 ;
34808 PyObject
* obj1
= 0 ;
34809 char *kwnames
[] = {
34810 (char *) "self",(char *) "sizer", NULL
34813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
34814 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34816 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
34817 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34820 (arg1
)->SetSizer(arg2
);
34822 wxPyEndAllowThreads(__tstate
);
34823 if (PyErr_Occurred()) SWIG_fail
;
34825 Py_INCREF(Py_None
); resultobj
= Py_None
;
34832 static PyObject
*_wrap_SizerItem_GetSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34833 PyObject
*resultobj
;
34834 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34836 PyObject
* obj0
= 0 ;
34837 char *kwnames
[] = {
34838 (char *) "self", NULL
34841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSpacer",kwnames
,&obj0
)) goto fail
;
34842 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34843 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34847 wxSize
const &_result_ref
= (arg1
)->GetSpacer();
34848 result
= (wxSize
*) &_result_ref
;
34851 wxPyEndAllowThreads(__tstate
);
34852 if (PyErr_Occurred()) SWIG_fail
;
34854 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
34861 static PyObject
*_wrap_SizerItem_SetSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34862 PyObject
*resultobj
;
34863 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34866 PyObject
* obj0
= 0 ;
34867 PyObject
* obj1
= 0 ;
34868 char *kwnames
[] = {
34869 (char *) "self",(char *) "size", NULL
34872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSpacer",kwnames
,&obj0
,&obj1
)) goto fail
;
34873 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34874 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34877 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
34880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34881 (arg1
)->SetSpacer((wxSize
const &)*arg2
);
34883 wxPyEndAllowThreads(__tstate
);
34884 if (PyErr_Occurred()) SWIG_fail
;
34886 Py_INCREF(Py_None
); resultobj
= Py_None
;
34893 static PyObject
*_wrap_SizerItem_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34894 PyObject
*resultobj
;
34895 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34897 PyObject
* obj0
= 0 ;
34898 PyObject
* obj1
= 0 ;
34899 char *kwnames
[] = {
34900 (char *) "self",(char *) "show", NULL
34903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
34904 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34905 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34906 arg2
= (bool) SWIG_AsBool(obj1
);
34907 if (PyErr_Occurred()) SWIG_fail
;
34909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34910 (arg1
)->Show(arg2
);
34912 wxPyEndAllowThreads(__tstate
);
34913 if (PyErr_Occurred()) SWIG_fail
;
34915 Py_INCREF(Py_None
); resultobj
= Py_None
;
34922 static PyObject
*_wrap_SizerItem_IsShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34923 PyObject
*resultobj
;
34924 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34926 PyObject
* obj0
= 0 ;
34927 char *kwnames
[] = {
34928 (char *) "self", NULL
34931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsShown",kwnames
,&obj0
)) goto fail
;
34932 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34933 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34936 result
= (bool)(arg1
)->IsShown();
34938 wxPyEndAllowThreads(__tstate
);
34939 if (PyErr_Occurred()) SWIG_fail
;
34942 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34950 static PyObject
*_wrap_SizerItem_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34951 PyObject
*resultobj
;
34952 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34954 PyObject
* obj0
= 0 ;
34955 char *kwnames
[] = {
34956 (char *) "self", NULL
34959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetPosition",kwnames
,&obj0
)) goto fail
;
34960 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34961 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34964 result
= (arg1
)->GetPosition();
34966 wxPyEndAllowThreads(__tstate
);
34967 if (PyErr_Occurred()) SWIG_fail
;
34970 wxPoint
* resultptr
;
34971 resultptr
= new wxPoint((wxPoint
&) result
);
34972 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
34980 static PyObject
*_wrap_SizerItem_GetUserData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34981 PyObject
*resultobj
;
34982 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34984 PyObject
* obj0
= 0 ;
34985 char *kwnames
[] = {
34986 (char *) "self", NULL
34989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetUserData",kwnames
,&obj0
)) goto fail
;
34990 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34991 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34994 result
= (PyObject
*)wxSizerItem_GetUserData(arg1
);
34996 wxPyEndAllowThreads(__tstate
);
34997 if (PyErr_Occurred()) SWIG_fail
;
34999 resultobj
= result
;
35006 static PyObject
* SizerItem_swigregister(PyObject
*self
, PyObject
*args
) {
35008 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
35009 SWIG_TypeClientData(SWIGTYPE_p_wxSizerItem
, obj
);
35011 return Py_BuildValue((char *)"");
35013 static PyObject
*_wrap_Sizer__setOORInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35014 PyObject
*resultobj
;
35015 wxSizer
*arg1
= (wxSizer
*) 0 ;
35016 PyObject
*arg2
= (PyObject
*) 0 ;
35017 PyObject
* obj0
= 0 ;
35018 PyObject
* obj1
= 0 ;
35019 char *kwnames
[] = {
35020 (char *) "self",(char *) "_self", NULL
35023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
35024 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35025 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35029 wxSizer__setOORInfo(arg1
,arg2
);
35031 wxPyEndAllowThreads(__tstate
);
35032 if (PyErr_Occurred()) SWIG_fail
;
35034 Py_INCREF(Py_None
); resultobj
= Py_None
;
35041 static PyObject
*_wrap_Sizer_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35042 PyObject
*resultobj
;
35043 wxSizer
*arg1
= (wxSizer
*) 0 ;
35044 PyObject
*arg2
= (PyObject
*) 0 ;
35045 int arg3
= (int) 0 ;
35046 int arg4
= (int) 0 ;
35047 int arg5
= (int) 0 ;
35048 PyObject
*arg6
= (PyObject
*) NULL
;
35049 PyObject
* obj0
= 0 ;
35050 PyObject
* obj1
= 0 ;
35051 PyObject
* obj2
= 0 ;
35052 PyObject
* obj3
= 0 ;
35053 PyObject
* obj4
= 0 ;
35054 PyObject
* obj5
= 0 ;
35055 char *kwnames
[] = {
35056 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
35059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Sizer_Add",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
35060 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35061 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35064 arg3
= (int) SWIG_AsInt(obj2
);
35065 if (PyErr_Occurred()) SWIG_fail
;
35068 arg4
= (int) SWIG_AsInt(obj3
);
35069 if (PyErr_Occurred()) SWIG_fail
;
35072 arg5
= (int) SWIG_AsInt(obj4
);
35073 if (PyErr_Occurred()) SWIG_fail
;
35079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35080 wxSizer_Add(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
35082 wxPyEndAllowThreads(__tstate
);
35083 if (PyErr_Occurred()) SWIG_fail
;
35085 Py_INCREF(Py_None
); resultobj
= Py_None
;
35092 static PyObject
*_wrap_Sizer_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35093 PyObject
*resultobj
;
35094 wxSizer
*arg1
= (wxSizer
*) 0 ;
35096 PyObject
*arg3
= (PyObject
*) 0 ;
35097 int arg4
= (int) 0 ;
35098 int arg5
= (int) 0 ;
35099 int arg6
= (int) 0 ;
35100 PyObject
*arg7
= (PyObject
*) NULL
;
35101 PyObject
* obj0
= 0 ;
35102 PyObject
* obj1
= 0 ;
35103 PyObject
* obj2
= 0 ;
35104 PyObject
* obj3
= 0 ;
35105 PyObject
* obj4
= 0 ;
35106 PyObject
* obj5
= 0 ;
35107 PyObject
* obj6
= 0 ;
35108 char *kwnames
[] = {
35109 (char *) "self",(char *) "before",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
35112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Sizer_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
35113 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35114 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35115 arg2
= (int) SWIG_AsInt(obj1
);
35116 if (PyErr_Occurred()) SWIG_fail
;
35119 arg4
= (int) SWIG_AsInt(obj3
);
35120 if (PyErr_Occurred()) SWIG_fail
;
35123 arg5
= (int) SWIG_AsInt(obj4
);
35124 if (PyErr_Occurred()) SWIG_fail
;
35127 arg6
= (int) SWIG_AsInt(obj5
);
35128 if (PyErr_Occurred()) SWIG_fail
;
35134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35135 wxSizer_Insert(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
35137 wxPyEndAllowThreads(__tstate
);
35138 if (PyErr_Occurred()) SWIG_fail
;
35140 Py_INCREF(Py_None
); resultobj
= Py_None
;
35147 static PyObject
*_wrap_Sizer_Prepend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35148 PyObject
*resultobj
;
35149 wxSizer
*arg1
= (wxSizer
*) 0 ;
35150 PyObject
*arg2
= (PyObject
*) 0 ;
35151 int arg3
= (int) 0 ;
35152 int arg4
= (int) 0 ;
35153 int arg5
= (int) 0 ;
35154 PyObject
*arg6
= (PyObject
*) NULL
;
35155 PyObject
* obj0
= 0 ;
35156 PyObject
* obj1
= 0 ;
35157 PyObject
* obj2
= 0 ;
35158 PyObject
* obj3
= 0 ;
35159 PyObject
* obj4
= 0 ;
35160 PyObject
* obj5
= 0 ;
35161 char *kwnames
[] = {
35162 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
35165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Sizer_Prepend",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
35166 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35167 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35170 arg3
= (int) SWIG_AsInt(obj2
);
35171 if (PyErr_Occurred()) SWIG_fail
;
35174 arg4
= (int) SWIG_AsInt(obj3
);
35175 if (PyErr_Occurred()) SWIG_fail
;
35178 arg5
= (int) SWIG_AsInt(obj4
);
35179 if (PyErr_Occurred()) SWIG_fail
;
35185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35186 wxSizer_Prepend(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
35188 wxPyEndAllowThreads(__tstate
);
35189 if (PyErr_Occurred()) SWIG_fail
;
35191 Py_INCREF(Py_None
); resultobj
= Py_None
;
35198 static PyObject
*_wrap_Sizer_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35199 PyObject
*resultobj
;
35200 wxSizer
*arg1
= (wxSizer
*) 0 ;
35201 PyObject
*arg2
= (PyObject
*) 0 ;
35203 PyObject
* obj0
= 0 ;
35204 PyObject
* obj1
= 0 ;
35205 char *kwnames
[] = {
35206 (char *) "self",(char *) "item", NULL
35209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
35210 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35211 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35215 result
= (bool)wxSizer_Remove(arg1
,arg2
);
35217 wxPyEndAllowThreads(__tstate
);
35218 if (PyErr_Occurred()) SWIG_fail
;
35221 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35229 static PyObject
*_wrap_Sizer_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35230 PyObject
*resultobj
;
35231 wxSizer
*arg1
= (wxSizer
*) 0 ;
35232 PyObject
*arg2
= (PyObject
*) 0 ;
35234 PyObject
* obj0
= 0 ;
35235 PyObject
* obj1
= 0 ;
35236 char *kwnames
[] = {
35237 (char *) "self",(char *) "item", NULL
35240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Detach",kwnames
,&obj0
,&obj1
)) goto fail
;
35241 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35242 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35246 result
= (bool)wxSizer_Detach(arg1
,arg2
);
35248 wxPyEndAllowThreads(__tstate
);
35249 if (PyErr_Occurred()) SWIG_fail
;
35252 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35260 static PyObject
*_wrap_Sizer__SetItemMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35261 PyObject
*resultobj
;
35262 wxSizer
*arg1
= (wxSizer
*) 0 ;
35263 PyObject
*arg2
= (PyObject
*) 0 ;
35266 PyObject
* obj0
= 0 ;
35267 PyObject
* obj1
= 0 ;
35268 PyObject
* obj2
= 0 ;
35269 char *kwnames
[] = {
35270 (char *) "self",(char *) "item",(char *) "size", NULL
35273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer__SetItemMinSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35274 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35275 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35279 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
35282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35283 wxSizer__SetItemMinSize(arg1
,arg2
,(wxSize
const &)*arg3
);
35285 wxPyEndAllowThreads(__tstate
);
35286 if (PyErr_Occurred()) SWIG_fail
;
35288 Py_INCREF(Py_None
); resultobj
= Py_None
;
35295 static PyObject
*_wrap_Sizer_AddItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35296 PyObject
*resultobj
;
35297 wxSizer
*arg1
= (wxSizer
*) 0 ;
35298 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
35299 PyObject
* obj0
= 0 ;
35300 PyObject
* obj1
= 0 ;
35301 char *kwnames
[] = {
35302 (char *) "self",(char *) "item", NULL
35305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_AddItem",kwnames
,&obj0
,&obj1
)) goto fail
;
35306 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35307 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35308 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizerItem
,
35309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35314 wxPyEndAllowThreads(__tstate
);
35315 if (PyErr_Occurred()) SWIG_fail
;
35317 Py_INCREF(Py_None
); resultobj
= Py_None
;
35324 static PyObject
*_wrap_Sizer_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35325 PyObject
*resultobj
;
35326 wxSizer
*arg1
= (wxSizer
*) 0 ;
35328 wxSizerItem
*arg3
= (wxSizerItem
*) 0 ;
35329 PyObject
* obj0
= 0 ;
35330 PyObject
* obj1
= 0 ;
35331 PyObject
* obj2
= 0 ;
35332 char *kwnames
[] = {
35333 (char *) "self",(char *) "index",(char *) "item", NULL
35336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35337 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35338 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35339 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
35340 if (PyErr_Occurred()) SWIG_fail
;
35341 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxSizerItem
,
35342 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35345 (arg1
)->Insert(arg2
,arg3
);
35347 wxPyEndAllowThreads(__tstate
);
35348 if (PyErr_Occurred()) SWIG_fail
;
35350 Py_INCREF(Py_None
); resultobj
= Py_None
;
35357 static PyObject
*_wrap_Sizer_PrependItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35358 PyObject
*resultobj
;
35359 wxSizer
*arg1
= (wxSizer
*) 0 ;
35360 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
35361 PyObject
* obj0
= 0 ;
35362 PyObject
* obj1
= 0 ;
35363 char *kwnames
[] = {
35364 (char *) "self",(char *) "item", NULL
35367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_PrependItem",kwnames
,&obj0
,&obj1
)) goto fail
;
35368 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35369 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35370 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizerItem
,
35371 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35374 (arg1
)->Prepend(arg2
);
35376 wxPyEndAllowThreads(__tstate
);
35377 if (PyErr_Occurred()) SWIG_fail
;
35379 Py_INCREF(Py_None
); resultobj
= Py_None
;
35386 static PyObject
*_wrap_Sizer_SetDimension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35387 PyObject
*resultobj
;
35388 wxSizer
*arg1
= (wxSizer
*) 0 ;
35393 PyObject
* obj0
= 0 ;
35394 PyObject
* obj1
= 0 ;
35395 PyObject
* obj2
= 0 ;
35396 PyObject
* obj3
= 0 ;
35397 PyObject
* obj4
= 0 ;
35398 char *kwnames
[] = {
35399 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
35402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Sizer_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
35403 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35404 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35405 arg2
= (int) SWIG_AsInt(obj1
);
35406 if (PyErr_Occurred()) SWIG_fail
;
35407 arg3
= (int) SWIG_AsInt(obj2
);
35408 if (PyErr_Occurred()) SWIG_fail
;
35409 arg4
= (int) SWIG_AsInt(obj3
);
35410 if (PyErr_Occurred()) SWIG_fail
;
35411 arg5
= (int) SWIG_AsInt(obj4
);
35412 if (PyErr_Occurred()) SWIG_fail
;
35414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35415 (arg1
)->SetDimension(arg2
,arg3
,arg4
,arg5
);
35417 wxPyEndAllowThreads(__tstate
);
35418 if (PyErr_Occurred()) SWIG_fail
;
35420 Py_INCREF(Py_None
); resultobj
= Py_None
;
35427 static PyObject
*_wrap_Sizer_SetMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35428 PyObject
*resultobj
;
35429 wxSizer
*arg1
= (wxSizer
*) 0 ;
35432 PyObject
* obj0
= 0 ;
35433 PyObject
* obj1
= 0 ;
35434 char *kwnames
[] = {
35435 (char *) "self",(char *) "size", NULL
35438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetMinSize",kwnames
,&obj0
,&obj1
)) goto fail
;
35439 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35440 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35443 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
35446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35447 (arg1
)->SetMinSize((wxSize
const &)*arg2
);
35449 wxPyEndAllowThreads(__tstate
);
35450 if (PyErr_Occurred()) SWIG_fail
;
35452 Py_INCREF(Py_None
); resultobj
= Py_None
;
35459 static PyObject
*_wrap_Sizer_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35460 PyObject
*resultobj
;
35461 wxSizer
*arg1
= (wxSizer
*) 0 ;
35463 PyObject
* obj0
= 0 ;
35464 char *kwnames
[] = {
35465 (char *) "self", NULL
35468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetSize",kwnames
,&obj0
)) goto fail
;
35469 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35473 result
= (arg1
)->GetSize();
35475 wxPyEndAllowThreads(__tstate
);
35476 if (PyErr_Occurred()) SWIG_fail
;
35479 wxSize
* resultptr
;
35480 resultptr
= new wxSize((wxSize
&) result
);
35481 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
35489 static PyObject
*_wrap_Sizer_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35490 PyObject
*resultobj
;
35491 wxSizer
*arg1
= (wxSizer
*) 0 ;
35493 PyObject
* obj0
= 0 ;
35494 char *kwnames
[] = {
35495 (char *) "self", NULL
35498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetPosition",kwnames
,&obj0
)) goto fail
;
35499 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35500 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35503 result
= (arg1
)->GetPosition();
35505 wxPyEndAllowThreads(__tstate
);
35506 if (PyErr_Occurred()) SWIG_fail
;
35509 wxPoint
* resultptr
;
35510 resultptr
= new wxPoint((wxPoint
&) result
);
35511 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
35519 static PyObject
*_wrap_Sizer_GetMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35520 PyObject
*resultobj
;
35521 wxSizer
*arg1
= (wxSizer
*) 0 ;
35523 PyObject
* obj0
= 0 ;
35524 char *kwnames
[] = {
35525 (char *) "self", NULL
35528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetMinSize",kwnames
,&obj0
)) goto fail
;
35529 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35530 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35533 result
= (arg1
)->GetMinSize();
35535 wxPyEndAllowThreads(__tstate
);
35536 if (PyErr_Occurred()) SWIG_fail
;
35539 wxSize
* resultptr
;
35540 resultptr
= new wxSize((wxSize
&) result
);
35541 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
35549 static PyObject
*_wrap_Sizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35550 PyObject
*resultobj
;
35551 wxSizer
*arg1
= (wxSizer
*) 0 ;
35552 PyObject
* obj0
= 0 ;
35553 char *kwnames
[] = {
35554 (char *) "self", NULL
35557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
35558 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35559 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35562 (arg1
)->RecalcSizes();
35564 wxPyEndAllowThreads(__tstate
);
35565 if (PyErr_Occurred()) SWIG_fail
;
35567 Py_INCREF(Py_None
); resultobj
= Py_None
;
35574 static PyObject
*_wrap_Sizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35575 PyObject
*resultobj
;
35576 wxSizer
*arg1
= (wxSizer
*) 0 ;
35578 PyObject
* obj0
= 0 ;
35579 char *kwnames
[] = {
35580 (char *) "self", NULL
35583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_CalcMin",kwnames
,&obj0
)) goto fail
;
35584 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35585 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35588 result
= (arg1
)->CalcMin();
35590 wxPyEndAllowThreads(__tstate
);
35591 if (PyErr_Occurred()) SWIG_fail
;
35594 wxSize
* resultptr
;
35595 resultptr
= new wxSize((wxSize
&) result
);
35596 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
35604 static PyObject
*_wrap_Sizer_Layout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35605 PyObject
*resultobj
;
35606 wxSizer
*arg1
= (wxSizer
*) 0 ;
35607 PyObject
* obj0
= 0 ;
35608 char *kwnames
[] = {
35609 (char *) "self", NULL
35612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_Layout",kwnames
,&obj0
)) goto fail
;
35613 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35614 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35619 wxPyEndAllowThreads(__tstate
);
35620 if (PyErr_Occurred()) SWIG_fail
;
35622 Py_INCREF(Py_None
); resultobj
= Py_None
;
35629 static PyObject
*_wrap_Sizer_Fit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35630 PyObject
*resultobj
;
35631 wxSizer
*arg1
= (wxSizer
*) 0 ;
35632 wxWindow
*arg2
= (wxWindow
*) 0 ;
35634 PyObject
* obj0
= 0 ;
35635 PyObject
* obj1
= 0 ;
35636 char *kwnames
[] = {
35637 (char *) "self",(char *) "window", NULL
35640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Fit",kwnames
,&obj0
,&obj1
)) goto fail
;
35641 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35642 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35643 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
35644 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35647 result
= (arg1
)->Fit(arg2
);
35649 wxPyEndAllowThreads(__tstate
);
35650 if (PyErr_Occurred()) SWIG_fail
;
35653 wxSize
* resultptr
;
35654 resultptr
= new wxSize((wxSize
&) result
);
35655 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
35663 static PyObject
*_wrap_Sizer_FitInside(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35664 PyObject
*resultobj
;
35665 wxSizer
*arg1
= (wxSizer
*) 0 ;
35666 wxWindow
*arg2
= (wxWindow
*) 0 ;
35667 PyObject
* obj0
= 0 ;
35668 PyObject
* obj1
= 0 ;
35669 char *kwnames
[] = {
35670 (char *) "self",(char *) "window", NULL
35673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_FitInside",kwnames
,&obj0
,&obj1
)) goto fail
;
35674 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35675 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35676 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
35677 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35680 (arg1
)->FitInside(arg2
);
35682 wxPyEndAllowThreads(__tstate
);
35683 if (PyErr_Occurred()) SWIG_fail
;
35685 Py_INCREF(Py_None
); resultobj
= Py_None
;
35692 static PyObject
*_wrap_Sizer_SetSizeHints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35693 PyObject
*resultobj
;
35694 wxSizer
*arg1
= (wxSizer
*) 0 ;
35695 wxWindow
*arg2
= (wxWindow
*) 0 ;
35696 PyObject
* obj0
= 0 ;
35697 PyObject
* obj1
= 0 ;
35698 char *kwnames
[] = {
35699 (char *) "self",(char *) "window", NULL
35702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetSizeHints",kwnames
,&obj0
,&obj1
)) goto fail
;
35703 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35704 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35705 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
35706 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35709 (arg1
)->SetSizeHints(arg2
);
35711 wxPyEndAllowThreads(__tstate
);
35712 if (PyErr_Occurred()) SWIG_fail
;
35714 Py_INCREF(Py_None
); resultobj
= Py_None
;
35721 static PyObject
*_wrap_Sizer_SetVirtualSizeHints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35722 PyObject
*resultobj
;
35723 wxSizer
*arg1
= (wxSizer
*) 0 ;
35724 wxWindow
*arg2
= (wxWindow
*) 0 ;
35725 PyObject
* obj0
= 0 ;
35726 PyObject
* obj1
= 0 ;
35727 char *kwnames
[] = {
35728 (char *) "self",(char *) "window", NULL
35731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetVirtualSizeHints",kwnames
,&obj0
,&obj1
)) goto fail
;
35732 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35733 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35734 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
35735 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35738 (arg1
)->SetVirtualSizeHints(arg2
);
35740 wxPyEndAllowThreads(__tstate
);
35741 if (PyErr_Occurred()) SWIG_fail
;
35743 Py_INCREF(Py_None
); resultobj
= Py_None
;
35750 static PyObject
*_wrap_Sizer_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35751 PyObject
*resultobj
;
35752 wxSizer
*arg1
= (wxSizer
*) 0 ;
35753 bool arg2
= (bool) False
;
35754 PyObject
* obj0
= 0 ;
35755 PyObject
* obj1
= 0 ;
35756 char *kwnames
[] = {
35757 (char *) "self",(char *) "delete_windows", NULL
35760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sizer_Clear",kwnames
,&obj0
,&obj1
)) goto fail
;
35761 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35762 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35764 arg2
= (bool) SWIG_AsBool(obj1
);
35765 if (PyErr_Occurred()) SWIG_fail
;
35768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35769 (arg1
)->Clear(arg2
);
35771 wxPyEndAllowThreads(__tstate
);
35772 if (PyErr_Occurred()) SWIG_fail
;
35774 Py_INCREF(Py_None
); resultobj
= Py_None
;
35781 static PyObject
*_wrap_Sizer_DeleteWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35782 PyObject
*resultobj
;
35783 wxSizer
*arg1
= (wxSizer
*) 0 ;
35784 PyObject
* obj0
= 0 ;
35785 char *kwnames
[] = {
35786 (char *) "self", NULL
35789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_DeleteWindows",kwnames
,&obj0
)) goto fail
;
35790 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35791 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35794 (arg1
)->DeleteWindows();
35796 wxPyEndAllowThreads(__tstate
);
35797 if (PyErr_Occurred()) SWIG_fail
;
35799 Py_INCREF(Py_None
); resultobj
= Py_None
;
35806 static PyObject
*_wrap_Sizer_GetChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35807 PyObject
*resultobj
;
35808 wxSizer
*arg1
= (wxSizer
*) 0 ;
35810 PyObject
* obj0
= 0 ;
35811 char *kwnames
[] = {
35812 (char *) "self", NULL
35815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetChildren",kwnames
,&obj0
)) goto fail
;
35816 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35817 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35820 result
= (PyObject
*)wxSizer_GetChildren(arg1
);
35822 wxPyEndAllowThreads(__tstate
);
35823 if (PyErr_Occurred()) SWIG_fail
;
35825 resultobj
= result
;
35832 static PyObject
*_wrap_Sizer_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35833 PyObject
*resultobj
;
35834 wxSizer
*arg1
= (wxSizer
*) 0 ;
35835 PyObject
*arg2
= (PyObject
*) 0 ;
35836 bool arg3
= (bool) True
;
35837 PyObject
* obj0
= 0 ;
35838 PyObject
* obj1
= 0 ;
35839 PyObject
* obj2
= 0 ;
35840 char *kwnames
[] = {
35841 (char *) "self",(char *) "item",(char *) "show", NULL
35844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Sizer_Show",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35845 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35846 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35849 arg3
= (bool) SWIG_AsBool(obj2
);
35850 if (PyErr_Occurred()) SWIG_fail
;
35853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35854 wxSizer_Show(arg1
,arg2
,arg3
);
35856 wxPyEndAllowThreads(__tstate
);
35857 if (PyErr_Occurred()) SWIG_fail
;
35859 Py_INCREF(Py_None
); resultobj
= Py_None
;
35866 static PyObject
*_wrap_Sizer_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35867 PyObject
*resultobj
;
35868 wxSizer
*arg1
= (wxSizer
*) 0 ;
35869 PyObject
*arg2
= (PyObject
*) 0 ;
35870 PyObject
* obj0
= 0 ;
35871 PyObject
* obj1
= 0 ;
35872 char *kwnames
[] = {
35873 (char *) "self",(char *) "item", NULL
35876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Hide",kwnames
,&obj0
,&obj1
)) goto fail
;
35877 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35878 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35882 wxSizer_Hide(arg1
,arg2
);
35884 wxPyEndAllowThreads(__tstate
);
35885 if (PyErr_Occurred()) SWIG_fail
;
35887 Py_INCREF(Py_None
); resultobj
= Py_None
;
35894 static PyObject
*_wrap_Sizer_IsShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35895 PyObject
*resultobj
;
35896 wxSizer
*arg1
= (wxSizer
*) 0 ;
35897 PyObject
*arg2
= (PyObject
*) 0 ;
35899 PyObject
* obj0
= 0 ;
35900 PyObject
* obj1
= 0 ;
35901 char *kwnames
[] = {
35902 (char *) "self",(char *) "item", NULL
35905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_IsShown",kwnames
,&obj0
,&obj1
)) goto fail
;
35906 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35907 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35911 result
= (bool)wxSizer_IsShown(arg1
,arg2
);
35913 wxPyEndAllowThreads(__tstate
);
35914 if (PyErr_Occurred()) SWIG_fail
;
35917 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35925 static PyObject
*_wrap_Sizer_ShowItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35926 PyObject
*resultobj
;
35927 wxSizer
*arg1
= (wxSizer
*) 0 ;
35929 PyObject
* obj0
= 0 ;
35930 PyObject
* obj1
= 0 ;
35931 char *kwnames
[] = {
35932 (char *) "self",(char *) "show", NULL
35935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_ShowItems",kwnames
,&obj0
,&obj1
)) goto fail
;
35936 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35937 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35938 arg2
= (bool) SWIG_AsBool(obj1
);
35939 if (PyErr_Occurred()) SWIG_fail
;
35941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35942 (arg1
)->ShowItems(arg2
);
35944 wxPyEndAllowThreads(__tstate
);
35945 if (PyErr_Occurred()) SWIG_fail
;
35947 Py_INCREF(Py_None
); resultobj
= Py_None
;
35954 static PyObject
* Sizer_swigregister(PyObject
*self
, PyObject
*args
) {
35956 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
35957 SWIG_TypeClientData(SWIGTYPE_p_wxSizer
, obj
);
35959 return Py_BuildValue((char *)"");
35961 static PyObject
*_wrap_new_PySizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35962 PyObject
*resultobj
;
35964 char *kwnames
[] = {
35968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PySizer",kwnames
)) goto fail
;
35970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35971 result
= (wxPySizer
*)new wxPySizer();
35973 wxPyEndAllowThreads(__tstate
);
35974 if (PyErr_Occurred()) SWIG_fail
;
35976 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPySizer
, 1);
35983 static PyObject
*_wrap_PySizer__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35984 PyObject
*resultobj
;
35985 wxPySizer
*arg1
= (wxPySizer
*) 0 ;
35986 PyObject
*arg2
= (PyObject
*) 0 ;
35987 PyObject
*arg3
= (PyObject
*) 0 ;
35988 PyObject
* obj0
= 0 ;
35989 PyObject
* obj1
= 0 ;
35990 PyObject
* obj2
= 0 ;
35991 char *kwnames
[] = {
35992 (char *) "self",(char *) "self",(char *) "_class", NULL
35995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PySizer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35996 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPySizer
,
35997 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36002 (arg1
)->_setCallbackInfo(arg2
,arg3
);
36004 wxPyEndAllowThreads(__tstate
);
36005 if (PyErr_Occurred()) SWIG_fail
;
36007 Py_INCREF(Py_None
); resultobj
= Py_None
;
36014 static PyObject
* PySizer_swigregister(PyObject
*self
, PyObject
*args
) {
36016 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
36017 SWIG_TypeClientData(SWIGTYPE_p_wxPySizer
, obj
);
36019 return Py_BuildValue((char *)"");
36021 static PyObject
*_wrap_new_BoxSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36022 PyObject
*resultobj
;
36023 int arg1
= (int) wxHORIZONTAL
;
36024 wxBoxSizer
*result
;
36025 PyObject
* obj0
= 0 ;
36026 char *kwnames
[] = {
36027 (char *) "orient", NULL
36030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BoxSizer",kwnames
,&obj0
)) goto fail
;
36032 arg1
= (int) SWIG_AsInt(obj0
);
36033 if (PyErr_Occurred()) SWIG_fail
;
36036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36037 result
= (wxBoxSizer
*)new wxBoxSizer(arg1
);
36039 wxPyEndAllowThreads(__tstate
);
36040 if (PyErr_Occurred()) SWIG_fail
;
36042 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBoxSizer
, 1);
36049 static PyObject
*_wrap_BoxSizer_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36050 PyObject
*resultobj
;
36051 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
36053 PyObject
* obj0
= 0 ;
36054 char *kwnames
[] = {
36055 (char *) "self", NULL
36058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BoxSizer_GetOrientation",kwnames
,&obj0
)) goto fail
;
36059 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBoxSizer
,
36060 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36063 result
= (int)(arg1
)->GetOrientation();
36065 wxPyEndAllowThreads(__tstate
);
36066 if (PyErr_Occurred()) SWIG_fail
;
36068 resultobj
= SWIG_FromInt((int)result
);
36075 static PyObject
*_wrap_BoxSizer_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36076 PyObject
*resultobj
;
36077 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
36079 PyObject
* obj0
= 0 ;
36080 PyObject
* obj1
= 0 ;
36081 char *kwnames
[] = {
36082 (char *) "self",(char *) "orient", NULL
36085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BoxSizer_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
36086 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBoxSizer
,
36087 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36088 arg2
= (int) SWIG_AsInt(obj1
);
36089 if (PyErr_Occurred()) SWIG_fail
;
36091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36092 (arg1
)->SetOrientation(arg2
);
36094 wxPyEndAllowThreads(__tstate
);
36095 if (PyErr_Occurred()) SWIG_fail
;
36097 Py_INCREF(Py_None
); resultobj
= Py_None
;
36104 static PyObject
*_wrap_BoxSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36105 PyObject
*resultobj
;
36106 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
36107 PyObject
* obj0
= 0 ;
36108 char *kwnames
[] = {
36109 (char *) "self", NULL
36112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BoxSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
36113 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBoxSizer
,
36114 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36117 (arg1
)->RecalcSizes();
36119 wxPyEndAllowThreads(__tstate
);
36120 if (PyErr_Occurred()) SWIG_fail
;
36122 Py_INCREF(Py_None
); resultobj
= Py_None
;
36129 static PyObject
*_wrap_BoxSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36130 PyObject
*resultobj
;
36131 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
36133 PyObject
* obj0
= 0 ;
36134 char *kwnames
[] = {
36135 (char *) "self", NULL
36138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BoxSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
36139 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBoxSizer
,
36140 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36143 result
= (arg1
)->CalcMin();
36145 wxPyEndAllowThreads(__tstate
);
36146 if (PyErr_Occurred()) SWIG_fail
;
36149 wxSize
* resultptr
;
36150 resultptr
= new wxSize((wxSize
&) result
);
36151 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
36159 static PyObject
* BoxSizer_swigregister(PyObject
*self
, PyObject
*args
) {
36161 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
36162 SWIG_TypeClientData(SWIGTYPE_p_wxBoxSizer
, obj
);
36164 return Py_BuildValue((char *)"");
36166 static PyObject
*_wrap_new_StaticBoxSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36167 PyObject
*resultobj
;
36168 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
36169 int arg2
= (int) wxHORIZONTAL
;
36170 wxStaticBoxSizer
*result
;
36171 PyObject
* obj0
= 0 ;
36172 PyObject
* obj1
= 0 ;
36173 char *kwnames
[] = {
36174 (char *) "box",(char *) "orient", NULL
36177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_StaticBoxSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
36178 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBox
,
36179 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36181 arg2
= (int) SWIG_AsInt(obj1
);
36182 if (PyErr_Occurred()) SWIG_fail
;
36185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36186 result
= (wxStaticBoxSizer
*)new wxStaticBoxSizer(arg1
,arg2
);
36188 wxPyEndAllowThreads(__tstate
);
36189 if (PyErr_Occurred()) SWIG_fail
;
36191 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBoxSizer
, 1);
36198 static PyObject
*_wrap_StaticBoxSizer_GetStaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36199 PyObject
*resultobj
;
36200 wxStaticBoxSizer
*arg1
= (wxStaticBoxSizer
*) 0 ;
36201 wxStaticBox
*result
;
36202 PyObject
* obj0
= 0 ;
36203 char *kwnames
[] = {
36204 (char *) "self", NULL
36207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBoxSizer_GetStaticBox",kwnames
,&obj0
)) goto fail
;
36208 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBoxSizer
,
36209 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36212 result
= (wxStaticBox
*)(arg1
)->GetStaticBox();
36214 wxPyEndAllowThreads(__tstate
);
36215 if (PyErr_Occurred()) SWIG_fail
;
36218 resultobj
= wxPyMake_wxObject(result
);
36226 static PyObject
*_wrap_StaticBoxSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36227 PyObject
*resultobj
;
36228 wxStaticBoxSizer
*arg1
= (wxStaticBoxSizer
*) 0 ;
36229 PyObject
* obj0
= 0 ;
36230 char *kwnames
[] = {
36231 (char *) "self", NULL
36234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBoxSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
36235 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBoxSizer
,
36236 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36239 (arg1
)->RecalcSizes();
36241 wxPyEndAllowThreads(__tstate
);
36242 if (PyErr_Occurred()) SWIG_fail
;
36244 Py_INCREF(Py_None
); resultobj
= Py_None
;
36251 static PyObject
*_wrap_StaticBoxSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36252 PyObject
*resultobj
;
36253 wxStaticBoxSizer
*arg1
= (wxStaticBoxSizer
*) 0 ;
36255 PyObject
* obj0
= 0 ;
36256 char *kwnames
[] = {
36257 (char *) "self", NULL
36260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBoxSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
36261 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBoxSizer
,
36262 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36265 result
= (arg1
)->CalcMin();
36267 wxPyEndAllowThreads(__tstate
);
36268 if (PyErr_Occurred()) SWIG_fail
;
36271 wxSize
* resultptr
;
36272 resultptr
= new wxSize((wxSize
&) result
);
36273 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
36281 static PyObject
* StaticBoxSizer_swigregister(PyObject
*self
, PyObject
*args
) {
36283 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
36284 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBoxSizer
, obj
);
36286 return Py_BuildValue((char *)"");
36288 static PyObject
*_wrap_new_GridSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36289 PyObject
*resultobj
;
36290 int arg1
= (int) 1 ;
36291 int arg2
= (int) 0 ;
36292 int arg3
= (int) 0 ;
36293 int arg4
= (int) 0 ;
36294 wxGridSizer
*result
;
36295 PyObject
* obj0
= 0 ;
36296 PyObject
* obj1
= 0 ;
36297 PyObject
* obj2
= 0 ;
36298 PyObject
* obj3
= 0 ;
36299 char *kwnames
[] = {
36300 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
36303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_GridSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
36305 arg1
= (int) SWIG_AsInt(obj0
);
36306 if (PyErr_Occurred()) SWIG_fail
;
36309 arg2
= (int) SWIG_AsInt(obj1
);
36310 if (PyErr_Occurred()) SWIG_fail
;
36313 arg3
= (int) SWIG_AsInt(obj2
);
36314 if (PyErr_Occurred()) SWIG_fail
;
36317 arg4
= (int) SWIG_AsInt(obj3
);
36318 if (PyErr_Occurred()) SWIG_fail
;
36321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36322 result
= (wxGridSizer
*)new wxGridSizer(arg1
,arg2
,arg3
,arg4
);
36324 wxPyEndAllowThreads(__tstate
);
36325 if (PyErr_Occurred()) SWIG_fail
;
36327 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridSizer
, 1);
36334 static PyObject
*_wrap_GridSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36335 PyObject
*resultobj
;
36336 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36337 PyObject
* obj0
= 0 ;
36338 char *kwnames
[] = {
36339 (char *) "self", NULL
36342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
36343 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36344 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36347 (arg1
)->RecalcSizes();
36349 wxPyEndAllowThreads(__tstate
);
36350 if (PyErr_Occurred()) SWIG_fail
;
36352 Py_INCREF(Py_None
); resultobj
= Py_None
;
36359 static PyObject
*_wrap_GridSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36360 PyObject
*resultobj
;
36361 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36363 PyObject
* obj0
= 0 ;
36364 char *kwnames
[] = {
36365 (char *) "self", NULL
36368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
36369 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36370 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36373 result
= (arg1
)->CalcMin();
36375 wxPyEndAllowThreads(__tstate
);
36376 if (PyErr_Occurred()) SWIG_fail
;
36379 wxSize
* resultptr
;
36380 resultptr
= new wxSize((wxSize
&) result
);
36381 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
36389 static PyObject
*_wrap_GridSizer_SetCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36390 PyObject
*resultobj
;
36391 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36393 PyObject
* obj0
= 0 ;
36394 PyObject
* obj1
= 0 ;
36395 char *kwnames
[] = {
36396 (char *) "self",(char *) "cols", NULL
36399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetCols",kwnames
,&obj0
,&obj1
)) goto fail
;
36400 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36401 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36402 arg2
= (int) SWIG_AsInt(obj1
);
36403 if (PyErr_Occurred()) SWIG_fail
;
36405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36406 (arg1
)->SetCols(arg2
);
36408 wxPyEndAllowThreads(__tstate
);
36409 if (PyErr_Occurred()) SWIG_fail
;
36411 Py_INCREF(Py_None
); resultobj
= Py_None
;
36418 static PyObject
*_wrap_GridSizer_SetRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36419 PyObject
*resultobj
;
36420 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36422 PyObject
* obj0
= 0 ;
36423 PyObject
* obj1
= 0 ;
36424 char *kwnames
[] = {
36425 (char *) "self",(char *) "rows", NULL
36428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetRows",kwnames
,&obj0
,&obj1
)) goto fail
;
36429 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36430 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36431 arg2
= (int) SWIG_AsInt(obj1
);
36432 if (PyErr_Occurred()) SWIG_fail
;
36434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36435 (arg1
)->SetRows(arg2
);
36437 wxPyEndAllowThreads(__tstate
);
36438 if (PyErr_Occurred()) SWIG_fail
;
36440 Py_INCREF(Py_None
); resultobj
= Py_None
;
36447 static PyObject
*_wrap_GridSizer_SetVGap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36448 PyObject
*resultobj
;
36449 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36451 PyObject
* obj0
= 0 ;
36452 PyObject
* obj1
= 0 ;
36453 char *kwnames
[] = {
36454 (char *) "self",(char *) "gap", NULL
36457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetVGap",kwnames
,&obj0
,&obj1
)) goto fail
;
36458 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36459 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36460 arg2
= (int) SWIG_AsInt(obj1
);
36461 if (PyErr_Occurred()) SWIG_fail
;
36463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36464 (arg1
)->SetVGap(arg2
);
36466 wxPyEndAllowThreads(__tstate
);
36467 if (PyErr_Occurred()) SWIG_fail
;
36469 Py_INCREF(Py_None
); resultobj
= Py_None
;
36476 static PyObject
*_wrap_GridSizer_SetHGap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36477 PyObject
*resultobj
;
36478 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36480 PyObject
* obj0
= 0 ;
36481 PyObject
* obj1
= 0 ;
36482 char *kwnames
[] = {
36483 (char *) "self",(char *) "gap", NULL
36486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetHGap",kwnames
,&obj0
,&obj1
)) goto fail
;
36487 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36488 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36489 arg2
= (int) SWIG_AsInt(obj1
);
36490 if (PyErr_Occurred()) SWIG_fail
;
36492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36493 (arg1
)->SetHGap(arg2
);
36495 wxPyEndAllowThreads(__tstate
);
36496 if (PyErr_Occurred()) SWIG_fail
;
36498 Py_INCREF(Py_None
); resultobj
= Py_None
;
36505 static PyObject
*_wrap_GridSizer_GetCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36506 PyObject
*resultobj
;
36507 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36509 PyObject
* obj0
= 0 ;
36510 char *kwnames
[] = {
36511 (char *) "self", NULL
36514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetCols",kwnames
,&obj0
)) goto fail
;
36515 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36516 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36519 result
= (int)(arg1
)->GetCols();
36521 wxPyEndAllowThreads(__tstate
);
36522 if (PyErr_Occurred()) SWIG_fail
;
36524 resultobj
= SWIG_FromInt((int)result
);
36531 static PyObject
*_wrap_GridSizer_GetRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36532 PyObject
*resultobj
;
36533 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36535 PyObject
* obj0
= 0 ;
36536 char *kwnames
[] = {
36537 (char *) "self", NULL
36540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetRows",kwnames
,&obj0
)) goto fail
;
36541 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36542 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36545 result
= (int)(arg1
)->GetRows();
36547 wxPyEndAllowThreads(__tstate
);
36548 if (PyErr_Occurred()) SWIG_fail
;
36550 resultobj
= SWIG_FromInt((int)result
);
36557 static PyObject
*_wrap_GridSizer_GetVGap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36558 PyObject
*resultobj
;
36559 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36561 PyObject
* obj0
= 0 ;
36562 char *kwnames
[] = {
36563 (char *) "self", NULL
36566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetVGap",kwnames
,&obj0
)) goto fail
;
36567 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36568 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36571 result
= (int)(arg1
)->GetVGap();
36573 wxPyEndAllowThreads(__tstate
);
36574 if (PyErr_Occurred()) SWIG_fail
;
36576 resultobj
= SWIG_FromInt((int)result
);
36583 static PyObject
*_wrap_GridSizer_GetHGap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36584 PyObject
*resultobj
;
36585 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36587 PyObject
* obj0
= 0 ;
36588 char *kwnames
[] = {
36589 (char *) "self", NULL
36592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetHGap",kwnames
,&obj0
)) goto fail
;
36593 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36594 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36597 result
= (int)(arg1
)->GetHGap();
36599 wxPyEndAllowThreads(__tstate
);
36600 if (PyErr_Occurred()) SWIG_fail
;
36602 resultobj
= SWIG_FromInt((int)result
);
36609 static PyObject
* GridSizer_swigregister(PyObject
*self
, PyObject
*args
) {
36611 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
36612 SWIG_TypeClientData(SWIGTYPE_p_wxGridSizer
, obj
);
36614 return Py_BuildValue((char *)"");
36616 static PyObject
*_wrap_new_FlexGridSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36617 PyObject
*resultobj
;
36618 int arg1
= (int) 1 ;
36619 int arg2
= (int) 0 ;
36620 int arg3
= (int) 0 ;
36621 int arg4
= (int) 0 ;
36622 wxFlexGridSizer
*result
;
36623 PyObject
* obj0
= 0 ;
36624 PyObject
* obj1
= 0 ;
36625 PyObject
* obj2
= 0 ;
36626 PyObject
* obj3
= 0 ;
36627 char *kwnames
[] = {
36628 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
36631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_FlexGridSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
36633 arg1
= (int) SWIG_AsInt(obj0
);
36634 if (PyErr_Occurred()) SWIG_fail
;
36637 arg2
= (int) SWIG_AsInt(obj1
);
36638 if (PyErr_Occurred()) SWIG_fail
;
36641 arg3
= (int) SWIG_AsInt(obj2
);
36642 if (PyErr_Occurred()) SWIG_fail
;
36645 arg4
= (int) SWIG_AsInt(obj3
);
36646 if (PyErr_Occurred()) SWIG_fail
;
36649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36650 result
= (wxFlexGridSizer
*)new wxFlexGridSizer(arg1
,arg2
,arg3
,arg4
);
36652 wxPyEndAllowThreads(__tstate
);
36653 if (PyErr_Occurred()) SWIG_fail
;
36655 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFlexGridSizer
, 1);
36662 static PyObject
*_wrap_FlexGridSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36663 PyObject
*resultobj
;
36664 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36665 PyObject
* obj0
= 0 ;
36666 char *kwnames
[] = {
36667 (char *) "self", NULL
36670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
36671 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36672 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36675 (arg1
)->RecalcSizes();
36677 wxPyEndAllowThreads(__tstate
);
36678 if (PyErr_Occurred()) SWIG_fail
;
36680 Py_INCREF(Py_None
); resultobj
= Py_None
;
36687 static PyObject
*_wrap_FlexGridSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36688 PyObject
*resultobj
;
36689 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36691 PyObject
* obj0
= 0 ;
36692 char *kwnames
[] = {
36693 (char *) "self", NULL
36696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
36697 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36698 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36701 result
= (arg1
)->CalcMin();
36703 wxPyEndAllowThreads(__tstate
);
36704 if (PyErr_Occurred()) SWIG_fail
;
36707 wxSize
* resultptr
;
36708 resultptr
= new wxSize((wxSize
&) result
);
36709 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
36717 static PyObject
*_wrap_FlexGridSizer_AddGrowableRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36718 PyObject
*resultobj
;
36719 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36721 int arg3
= (int) 0 ;
36722 PyObject
* obj0
= 0 ;
36723 PyObject
* obj1
= 0 ;
36724 PyObject
* obj2
= 0 ;
36725 char *kwnames
[] = {
36726 (char *) "self",(char *) "idx",(char *) "proportion", NULL
36729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FlexGridSizer_AddGrowableRow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
36730 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36731 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36732 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
36733 if (PyErr_Occurred()) SWIG_fail
;
36735 arg3
= (int) SWIG_AsInt(obj2
);
36736 if (PyErr_Occurred()) SWIG_fail
;
36739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36740 (arg1
)->AddGrowableRow(arg2
,arg3
);
36742 wxPyEndAllowThreads(__tstate
);
36743 if (PyErr_Occurred()) SWIG_fail
;
36745 Py_INCREF(Py_None
); resultobj
= Py_None
;
36752 static PyObject
*_wrap_FlexGridSizer_RemoveGrowableRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36753 PyObject
*resultobj
;
36754 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36756 PyObject
* obj0
= 0 ;
36757 PyObject
* obj1
= 0 ;
36758 char *kwnames
[] = {
36759 (char *) "self",(char *) "idx", NULL
36762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableRow",kwnames
,&obj0
,&obj1
)) goto fail
;
36763 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36765 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
36766 if (PyErr_Occurred()) SWIG_fail
;
36768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36769 (arg1
)->RemoveGrowableRow(arg2
);
36771 wxPyEndAllowThreads(__tstate
);
36772 if (PyErr_Occurred()) SWIG_fail
;
36774 Py_INCREF(Py_None
); resultobj
= Py_None
;
36781 static PyObject
*_wrap_FlexGridSizer_AddGrowableCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36782 PyObject
*resultobj
;
36783 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36785 int arg3
= (int) 0 ;
36786 PyObject
* obj0
= 0 ;
36787 PyObject
* obj1
= 0 ;
36788 PyObject
* obj2
= 0 ;
36789 char *kwnames
[] = {
36790 (char *) "self",(char *) "idx",(char *) "proportion", NULL
36793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FlexGridSizer_AddGrowableCol",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
36794 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36795 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36796 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
36797 if (PyErr_Occurred()) SWIG_fail
;
36799 arg3
= (int) SWIG_AsInt(obj2
);
36800 if (PyErr_Occurred()) SWIG_fail
;
36803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36804 (arg1
)->AddGrowableCol(arg2
,arg3
);
36806 wxPyEndAllowThreads(__tstate
);
36807 if (PyErr_Occurred()) SWIG_fail
;
36809 Py_INCREF(Py_None
); resultobj
= Py_None
;
36816 static PyObject
*_wrap_FlexGridSizer_RemoveGrowableCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36817 PyObject
*resultobj
;
36818 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36820 PyObject
* obj0
= 0 ;
36821 PyObject
* obj1
= 0 ;
36822 char *kwnames
[] = {
36823 (char *) "self",(char *) "idx", NULL
36826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableCol",kwnames
,&obj0
,&obj1
)) goto fail
;
36827 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36828 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36829 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
36830 if (PyErr_Occurred()) SWIG_fail
;
36832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36833 (arg1
)->RemoveGrowableCol(arg2
);
36835 wxPyEndAllowThreads(__tstate
);
36836 if (PyErr_Occurred()) SWIG_fail
;
36838 Py_INCREF(Py_None
); resultobj
= Py_None
;
36845 static PyObject
*_wrap_FlexGridSizer_SetFlexibleDirection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36846 PyObject
*resultobj
;
36847 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36849 PyObject
* obj0
= 0 ;
36850 PyObject
* obj1
= 0 ;
36851 char *kwnames
[] = {
36852 (char *) "self",(char *) "direction", NULL
36855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_SetFlexibleDirection",kwnames
,&obj0
,&obj1
)) goto fail
;
36856 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36857 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36858 arg2
= (int) SWIG_AsInt(obj1
);
36859 if (PyErr_Occurred()) SWIG_fail
;
36861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36862 (arg1
)->SetFlexibleDirection(arg2
);
36864 wxPyEndAllowThreads(__tstate
);
36865 if (PyErr_Occurred()) SWIG_fail
;
36867 Py_INCREF(Py_None
); resultobj
= Py_None
;
36874 static PyObject
*_wrap_FlexGridSizer_GetFlexibleDirection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36875 PyObject
*resultobj
;
36876 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36878 PyObject
* obj0
= 0 ;
36879 char *kwnames
[] = {
36880 (char *) "self", NULL
36883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetFlexibleDirection",kwnames
,&obj0
)) goto fail
;
36884 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36885 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36888 result
= (int)(arg1
)->GetFlexibleDirection();
36890 wxPyEndAllowThreads(__tstate
);
36891 if (PyErr_Occurred()) SWIG_fail
;
36893 resultobj
= SWIG_FromInt((int)result
);
36900 static PyObject
*_wrap_FlexGridSizer_SetNonFlexibleGrowMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36901 PyObject
*resultobj
;
36902 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36904 PyObject
* obj0
= 0 ;
36905 PyObject
* obj1
= 0 ;
36906 char *kwnames
[] = {
36907 (char *) "self",(char *) "mode", NULL
36910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_SetNonFlexibleGrowMode",kwnames
,&obj0
,&obj1
)) goto fail
;
36911 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36912 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36913 arg2
= (wxFlexSizerGrowMode
) SWIG_AsInt(obj1
);
36914 if (PyErr_Occurred()) SWIG_fail
;
36916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36917 (arg1
)->SetNonFlexibleGrowMode((wxFlexSizerGrowMode
)arg2
);
36919 wxPyEndAllowThreads(__tstate
);
36920 if (PyErr_Occurred()) SWIG_fail
;
36922 Py_INCREF(Py_None
); resultobj
= Py_None
;
36929 static PyObject
*_wrap_FlexGridSizer_GetNonFlexibleGrowMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36930 PyObject
*resultobj
;
36931 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36933 PyObject
* obj0
= 0 ;
36934 char *kwnames
[] = {
36935 (char *) "self", NULL
36938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetNonFlexibleGrowMode",kwnames
,&obj0
)) goto fail
;
36939 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36940 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36943 result
= (int)(arg1
)->GetNonFlexibleGrowMode();
36945 wxPyEndAllowThreads(__tstate
);
36946 if (PyErr_Occurred()) SWIG_fail
;
36948 resultobj
= SWIG_FromInt((int)result
);
36955 static PyObject
*_wrap_FlexGridSizer_GetRowHeights(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36956 PyObject
*resultobj
;
36957 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36958 wxArrayInt
*result
;
36959 PyObject
* obj0
= 0 ;
36960 char *kwnames
[] = {
36961 (char *) "self", NULL
36964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetRowHeights",kwnames
,&obj0
)) goto fail
;
36965 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36966 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36970 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetRowHeights();
36971 result
= (wxArrayInt
*) &_result_ref
;
36974 wxPyEndAllowThreads(__tstate
);
36975 if (PyErr_Occurred()) SWIG_fail
;
36978 resultobj
= PyList_New(0);
36980 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
36981 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
36982 PyList_Append(resultobj
, val
);
36992 static PyObject
*_wrap_FlexGridSizer_GetColWidths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36993 PyObject
*resultobj
;
36994 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36995 wxArrayInt
*result
;
36996 PyObject
* obj0
= 0 ;
36997 char *kwnames
[] = {
36998 (char *) "self", NULL
37001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetColWidths",kwnames
,&obj0
)) goto fail
;
37002 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
37003 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37007 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetColWidths();
37008 result
= (wxArrayInt
*) &_result_ref
;
37011 wxPyEndAllowThreads(__tstate
);
37012 if (PyErr_Occurred()) SWIG_fail
;
37015 resultobj
= PyList_New(0);
37017 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
37018 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
37019 PyList_Append(resultobj
, val
);
37029 static PyObject
* FlexGridSizer_swigregister(PyObject
*self
, PyObject
*args
) {
37031 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
37032 SWIG_TypeClientData(SWIGTYPE_p_wxFlexGridSizer
, obj
);
37034 return Py_BuildValue((char *)"");
37036 static PyObject
*_wrap_new_GBPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37037 PyObject
*resultobj
;
37038 int arg1
= (int) 0 ;
37039 int arg2
= (int) 0 ;
37040 wxGBPosition
*result
;
37041 PyObject
* obj0
= 0 ;
37042 PyObject
* obj1
= 0 ;
37043 char *kwnames
[] = {
37044 (char *) "row",(char *) "col", NULL
37047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GBPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
37049 arg1
= (int) SWIG_AsInt(obj0
);
37050 if (PyErr_Occurred()) SWIG_fail
;
37053 arg2
= (int) SWIG_AsInt(obj1
);
37054 if (PyErr_Occurred()) SWIG_fail
;
37057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37058 result
= (wxGBPosition
*)new wxGBPosition(arg1
,arg2
);
37060 wxPyEndAllowThreads(__tstate
);
37061 if (PyErr_Occurred()) SWIG_fail
;
37063 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBPosition
, 1);
37070 static PyObject
*_wrap_GBPosition_GetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37071 PyObject
*resultobj
;
37072 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
37074 PyObject
* obj0
= 0 ;
37075 char *kwnames
[] = {
37076 (char *) "self", NULL
37079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_GetRow",kwnames
,&obj0
)) goto fail
;
37080 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
37081 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37084 result
= (int)((wxGBPosition
const *)arg1
)->GetRow();
37086 wxPyEndAllowThreads(__tstate
);
37087 if (PyErr_Occurred()) SWIG_fail
;
37089 resultobj
= SWIG_FromInt((int)result
);
37096 static PyObject
*_wrap_GBPosition_GetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37097 PyObject
*resultobj
;
37098 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
37100 PyObject
* obj0
= 0 ;
37101 char *kwnames
[] = {
37102 (char *) "self", NULL
37105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_GetCol",kwnames
,&obj0
)) goto fail
;
37106 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
37107 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37110 result
= (int)((wxGBPosition
const *)arg1
)->GetCol();
37112 wxPyEndAllowThreads(__tstate
);
37113 if (PyErr_Occurred()) SWIG_fail
;
37115 resultobj
= SWIG_FromInt((int)result
);
37122 static PyObject
*_wrap_GBPosition_SetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37123 PyObject
*resultobj
;
37124 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
37126 PyObject
* obj0
= 0 ;
37127 PyObject
* obj1
= 0 ;
37128 char *kwnames
[] = {
37129 (char *) "self",(char *) "row", NULL
37132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition_SetRow",kwnames
,&obj0
,&obj1
)) goto fail
;
37133 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
37134 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37135 arg2
= (int) SWIG_AsInt(obj1
);
37136 if (PyErr_Occurred()) SWIG_fail
;
37138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37139 (arg1
)->SetRow(arg2
);
37141 wxPyEndAllowThreads(__tstate
);
37142 if (PyErr_Occurred()) SWIG_fail
;
37144 Py_INCREF(Py_None
); resultobj
= Py_None
;
37151 static PyObject
*_wrap_GBPosition_SetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37152 PyObject
*resultobj
;
37153 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
37155 PyObject
* obj0
= 0 ;
37156 PyObject
* obj1
= 0 ;
37157 char *kwnames
[] = {
37158 (char *) "self",(char *) "col", NULL
37161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition_SetCol",kwnames
,&obj0
,&obj1
)) goto fail
;
37162 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
37163 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37164 arg2
= (int) SWIG_AsInt(obj1
);
37165 if (PyErr_Occurred()) SWIG_fail
;
37167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37168 (arg1
)->SetCol(arg2
);
37170 wxPyEndAllowThreads(__tstate
);
37171 if (PyErr_Occurred()) SWIG_fail
;
37173 Py_INCREF(Py_None
); resultobj
= Py_None
;
37180 static PyObject
*_wrap_GBPosition___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37181 PyObject
*resultobj
;
37182 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
37183 wxGBPosition
*arg2
= 0 ;
37185 wxGBPosition temp2
;
37186 PyObject
* obj0
= 0 ;
37187 PyObject
* obj1
= 0 ;
37188 char *kwnames
[] = {
37189 (char *) "self",(char *) "other", NULL
37192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
37193 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
37194 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37197 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
37200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37201 result
= (bool)(arg1
)->operator ==((wxGBPosition
const &)*arg2
);
37203 wxPyEndAllowThreads(__tstate
);
37204 if (PyErr_Occurred()) SWIG_fail
;
37207 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37215 static PyObject
*_wrap_GBPosition___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37216 PyObject
*resultobj
;
37217 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
37218 wxGBPosition
*arg2
= 0 ;
37220 wxGBPosition temp2
;
37221 PyObject
* obj0
= 0 ;
37222 PyObject
* obj1
= 0 ;
37223 char *kwnames
[] = {
37224 (char *) "self",(char *) "other", NULL
37227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
37228 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
37229 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37232 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
37235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37236 result
= (bool)(arg1
)->operator !=((wxGBPosition
const &)*arg2
);
37238 wxPyEndAllowThreads(__tstate
);
37239 if (PyErr_Occurred()) SWIG_fail
;
37242 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37250 static PyObject
*_wrap_GBPosition_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37251 PyObject
*resultobj
;
37252 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
37253 int arg2
= (int) 0 ;
37254 int arg3
= (int) 0 ;
37255 PyObject
* obj0
= 0 ;
37256 PyObject
* obj1
= 0 ;
37257 PyObject
* obj2
= 0 ;
37258 char *kwnames
[] = {
37259 (char *) "self",(char *) "row",(char *) "col", NULL
37262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GBPosition_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37263 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
37264 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37266 arg2
= (int) SWIG_AsInt(obj1
);
37267 if (PyErr_Occurred()) SWIG_fail
;
37270 arg3
= (int) SWIG_AsInt(obj2
);
37271 if (PyErr_Occurred()) SWIG_fail
;
37274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37275 wxGBPosition_Set(arg1
,arg2
,arg3
);
37277 wxPyEndAllowThreads(__tstate
);
37278 if (PyErr_Occurred()) SWIG_fail
;
37280 Py_INCREF(Py_None
); resultobj
= Py_None
;
37287 static PyObject
*_wrap_GBPosition_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37288 PyObject
*resultobj
;
37289 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
37291 PyObject
* obj0
= 0 ;
37292 char *kwnames
[] = {
37293 (char *) "self", NULL
37296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_Get",kwnames
,&obj0
)) goto fail
;
37297 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
37298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37301 result
= (PyObject
*)wxGBPosition_Get(arg1
);
37303 wxPyEndAllowThreads(__tstate
);
37304 if (PyErr_Occurred()) SWIG_fail
;
37306 resultobj
= result
;
37313 static PyObject
* GBPosition_swigregister(PyObject
*self
, PyObject
*args
) {
37315 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
37316 SWIG_TypeClientData(SWIGTYPE_p_wxGBPosition
, obj
);
37318 return Py_BuildValue((char *)"");
37320 static PyObject
*_wrap_new_GBSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37321 PyObject
*resultobj
;
37322 int arg1
= (int) 1 ;
37323 int arg2
= (int) 1 ;
37325 PyObject
* obj0
= 0 ;
37326 PyObject
* obj1
= 0 ;
37327 char *kwnames
[] = {
37328 (char *) "rowspan",(char *) "colspan", NULL
37331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GBSpan",kwnames
,&obj0
,&obj1
)) goto fail
;
37333 arg1
= (int) SWIG_AsInt(obj0
);
37334 if (PyErr_Occurred()) SWIG_fail
;
37337 arg2
= (int) SWIG_AsInt(obj1
);
37338 if (PyErr_Occurred()) SWIG_fail
;
37341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37342 result
= (wxGBSpan
*)new wxGBSpan(arg1
,arg2
);
37344 wxPyEndAllowThreads(__tstate
);
37345 if (PyErr_Occurred()) SWIG_fail
;
37347 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSpan
, 1);
37354 static PyObject
*_wrap_GBSpan_GetRowspan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37355 PyObject
*resultobj
;
37356 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37358 PyObject
* obj0
= 0 ;
37359 char *kwnames
[] = {
37360 (char *) "self", NULL
37363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_GetRowspan",kwnames
,&obj0
)) goto fail
;
37364 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37365 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37368 result
= (int)((wxGBSpan
const *)arg1
)->GetRowspan();
37370 wxPyEndAllowThreads(__tstate
);
37371 if (PyErr_Occurred()) SWIG_fail
;
37373 resultobj
= SWIG_FromInt((int)result
);
37380 static PyObject
*_wrap_GBSpan_GetColspan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37381 PyObject
*resultobj
;
37382 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37384 PyObject
* obj0
= 0 ;
37385 char *kwnames
[] = {
37386 (char *) "self", NULL
37389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_GetColspan",kwnames
,&obj0
)) goto fail
;
37390 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37391 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37394 result
= (int)((wxGBSpan
const *)arg1
)->GetColspan();
37396 wxPyEndAllowThreads(__tstate
);
37397 if (PyErr_Occurred()) SWIG_fail
;
37399 resultobj
= SWIG_FromInt((int)result
);
37406 static PyObject
*_wrap_GBSpan_SetRowspan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37407 PyObject
*resultobj
;
37408 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37410 PyObject
* obj0
= 0 ;
37411 PyObject
* obj1
= 0 ;
37412 char *kwnames
[] = {
37413 (char *) "self",(char *) "rowspan", NULL
37416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan_SetRowspan",kwnames
,&obj0
,&obj1
)) goto fail
;
37417 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37418 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37419 arg2
= (int) SWIG_AsInt(obj1
);
37420 if (PyErr_Occurred()) SWIG_fail
;
37422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37423 (arg1
)->SetRowspan(arg2
);
37425 wxPyEndAllowThreads(__tstate
);
37426 if (PyErr_Occurred()) SWIG_fail
;
37428 Py_INCREF(Py_None
); resultobj
= Py_None
;
37435 static PyObject
*_wrap_GBSpan_SetColspan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37436 PyObject
*resultobj
;
37437 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37439 PyObject
* obj0
= 0 ;
37440 PyObject
* obj1
= 0 ;
37441 char *kwnames
[] = {
37442 (char *) "self",(char *) "colspan", NULL
37445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan_SetColspan",kwnames
,&obj0
,&obj1
)) goto fail
;
37446 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37447 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37448 arg2
= (int) SWIG_AsInt(obj1
);
37449 if (PyErr_Occurred()) SWIG_fail
;
37451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37452 (arg1
)->SetColspan(arg2
);
37454 wxPyEndAllowThreads(__tstate
);
37455 if (PyErr_Occurred()) SWIG_fail
;
37457 Py_INCREF(Py_None
); resultobj
= Py_None
;
37464 static PyObject
*_wrap_GBSpan___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37465 PyObject
*resultobj
;
37466 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37467 wxGBSpan
*arg2
= 0 ;
37470 PyObject
* obj0
= 0 ;
37471 PyObject
* obj1
= 0 ;
37472 char *kwnames
[] = {
37473 (char *) "self",(char *) "other", NULL
37476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
37477 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37478 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37481 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
37484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37485 result
= (bool)(arg1
)->operator ==((wxGBSpan
const &)*arg2
);
37487 wxPyEndAllowThreads(__tstate
);
37488 if (PyErr_Occurred()) SWIG_fail
;
37491 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37499 static PyObject
*_wrap_GBSpan___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37500 PyObject
*resultobj
;
37501 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37502 wxGBSpan
*arg2
= 0 ;
37505 PyObject
* obj0
= 0 ;
37506 PyObject
* obj1
= 0 ;
37507 char *kwnames
[] = {
37508 (char *) "self",(char *) "other", NULL
37511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
37512 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37513 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37516 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
37519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37520 result
= (bool)(arg1
)->operator !=((wxGBSpan
const &)*arg2
);
37522 wxPyEndAllowThreads(__tstate
);
37523 if (PyErr_Occurred()) SWIG_fail
;
37526 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37534 static PyObject
*_wrap_GBSpan_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37535 PyObject
*resultobj
;
37536 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37537 int arg2
= (int) 1 ;
37538 int arg3
= (int) 1 ;
37539 PyObject
* obj0
= 0 ;
37540 PyObject
* obj1
= 0 ;
37541 PyObject
* obj2
= 0 ;
37542 char *kwnames
[] = {
37543 (char *) "self",(char *) "rowspan",(char *) "colspan", NULL
37546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GBSpan_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37547 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37548 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37550 arg2
= (int) SWIG_AsInt(obj1
);
37551 if (PyErr_Occurred()) SWIG_fail
;
37554 arg3
= (int) SWIG_AsInt(obj2
);
37555 if (PyErr_Occurred()) SWIG_fail
;
37558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37559 wxGBSpan_Set(arg1
,arg2
,arg3
);
37561 wxPyEndAllowThreads(__tstate
);
37562 if (PyErr_Occurred()) SWIG_fail
;
37564 Py_INCREF(Py_None
); resultobj
= Py_None
;
37571 static PyObject
*_wrap_GBSpan_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37572 PyObject
*resultobj
;
37573 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37575 PyObject
* obj0
= 0 ;
37576 char *kwnames
[] = {
37577 (char *) "self", NULL
37580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_Get",kwnames
,&obj0
)) goto fail
;
37581 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37582 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37585 result
= (PyObject
*)wxGBSpan_Get(arg1
);
37587 wxPyEndAllowThreads(__tstate
);
37588 if (PyErr_Occurred()) SWIG_fail
;
37590 resultobj
= result
;
37597 static PyObject
* GBSpan_swigregister(PyObject
*self
, PyObject
*args
) {
37599 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
37600 SWIG_TypeClientData(SWIGTYPE_p_wxGBSpan
, obj
);
37602 return Py_BuildValue((char *)"");
37604 static int _wrap_DefaultSpan_set(PyObject
*_val
) {
37605 PyErr_SetString(PyExc_TypeError
,"Variable DefaultSpan is read-only.");
37610 static PyObject
*_wrap_DefaultSpan_get() {
37613 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultSpan
), SWIGTYPE_p_wxGBSpan
, 0);
37618 static PyObject
*_wrap_new_GBSizerItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37619 PyObject
*resultobj
;
37620 wxGBSizerItem
*result
;
37621 char *kwnames
[] = {
37625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GBSizerItem",kwnames
)) goto fail
;
37627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37628 result
= (wxGBSizerItem
*)new wxGBSizerItem();
37630 wxPyEndAllowThreads(__tstate
);
37631 if (PyErr_Occurred()) SWIG_fail
;
37633 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
37640 static PyObject
*_wrap_new_GBSizerItemWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37641 PyObject
*resultobj
;
37642 wxWindow
*arg1
= (wxWindow
*) 0 ;
37643 wxGBPosition
*arg2
= 0 ;
37644 wxGBSpan
*arg3
= 0 ;
37647 wxObject
*arg6
= (wxObject
*) 0 ;
37648 wxGBSizerItem
*result
;
37649 wxGBPosition temp2
;
37651 PyObject
* obj0
= 0 ;
37652 PyObject
* obj1
= 0 ;
37653 PyObject
* obj2
= 0 ;
37654 PyObject
* obj3
= 0 ;
37655 PyObject
* obj4
= 0 ;
37656 PyObject
* obj5
= 0 ;
37657 char *kwnames
[] = {
37658 (char *) "window",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
37661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:new_GBSizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
37662 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
37663 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37666 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
37670 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
37672 arg4
= (int) SWIG_AsInt(obj3
);
37673 if (PyErr_Occurred()) SWIG_fail
;
37674 arg5
= (int) SWIG_AsInt(obj4
);
37675 if (PyErr_Occurred()) SWIG_fail
;
37676 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxObject
,
37677 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37680 result
= (wxGBSizerItem
*)new wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
37682 wxPyEndAllowThreads(__tstate
);
37683 if (PyErr_Occurred()) SWIG_fail
;
37685 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
37692 static PyObject
*_wrap_new_GBSizerItemSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37693 PyObject
*resultobj
;
37694 wxSizer
*arg1
= (wxSizer
*) 0 ;
37695 wxGBPosition
*arg2
= 0 ;
37696 wxGBSpan
*arg3
= 0 ;
37699 wxObject
*arg6
= (wxObject
*) 0 ;
37700 wxGBSizerItem
*result
;
37701 wxGBPosition temp2
;
37703 PyObject
* obj0
= 0 ;
37704 PyObject
* obj1
= 0 ;
37705 PyObject
* obj2
= 0 ;
37706 PyObject
* obj3
= 0 ;
37707 PyObject
* obj4
= 0 ;
37708 PyObject
* obj5
= 0 ;
37709 char *kwnames
[] = {
37710 (char *) "sizer",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
37713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:new_GBSizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
37714 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
37715 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37718 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
37722 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
37724 arg4
= (int) SWIG_AsInt(obj3
);
37725 if (PyErr_Occurred()) SWIG_fail
;
37726 arg5
= (int) SWIG_AsInt(obj4
);
37727 if (PyErr_Occurred()) SWIG_fail
;
37728 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxObject
,
37729 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37732 result
= (wxGBSizerItem
*)new wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
37734 wxPyEndAllowThreads(__tstate
);
37735 if (PyErr_Occurred()) SWIG_fail
;
37737 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
37744 static PyObject
*_wrap_new_GBSizerItemSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37745 PyObject
*resultobj
;
37748 wxGBPosition
*arg3
= 0 ;
37749 wxGBSpan
*arg4
= 0 ;
37752 wxObject
*arg7
= (wxObject
*) 0 ;
37753 wxGBSizerItem
*result
;
37754 wxGBPosition temp3
;
37756 PyObject
* obj0
= 0 ;
37757 PyObject
* obj1
= 0 ;
37758 PyObject
* obj2
= 0 ;
37759 PyObject
* obj3
= 0 ;
37760 PyObject
* obj4
= 0 ;
37761 PyObject
* obj5
= 0 ;
37762 PyObject
* obj6
= 0 ;
37763 char *kwnames
[] = {
37764 (char *) "width",(char *) "height",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
37767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:new_GBSizerItemSpacer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
37768 arg1
= (int) SWIG_AsInt(obj0
);
37769 if (PyErr_Occurred()) SWIG_fail
;
37770 arg2
= (int) SWIG_AsInt(obj1
);
37771 if (PyErr_Occurred()) SWIG_fail
;
37774 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
37778 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
37780 arg5
= (int) SWIG_AsInt(obj4
);
37781 if (PyErr_Occurred()) SWIG_fail
;
37782 arg6
= (int) SWIG_AsInt(obj5
);
37783 if (PyErr_Occurred()) SWIG_fail
;
37784 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxObject
,
37785 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37788 result
= (wxGBSizerItem
*)new wxGBSizerItem(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
37790 wxPyEndAllowThreads(__tstate
);
37791 if (PyErr_Occurred()) SWIG_fail
;
37793 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
37800 static PyObject
*_wrap_GBSizerItem_GetPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37801 PyObject
*resultobj
;
37802 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
37803 wxGBPosition result
;
37804 PyObject
* obj0
= 0 ;
37805 char *kwnames
[] = {
37806 (char *) "self", NULL
37809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetPos",kwnames
,&obj0
)) goto fail
;
37810 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
37811 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37814 result
= ((wxGBSizerItem
const *)arg1
)->GetPos();
37816 wxPyEndAllowThreads(__tstate
);
37817 if (PyErr_Occurred()) SWIG_fail
;
37820 wxGBPosition
* resultptr
;
37821 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
37822 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
37830 static PyObject
*_wrap_GBSizerItem_GetSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37831 PyObject
*resultobj
;
37832 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
37834 PyObject
* obj0
= 0 ;
37835 char *kwnames
[] = {
37836 (char *) "self", NULL
37839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetSpan",kwnames
,&obj0
)) goto fail
;
37840 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
37841 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37844 result
= ((wxGBSizerItem
const *)arg1
)->GetSpan();
37846 wxPyEndAllowThreads(__tstate
);
37847 if (PyErr_Occurred()) SWIG_fail
;
37850 wxGBSpan
* resultptr
;
37851 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
37852 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
37860 static PyObject
*_wrap_GBSizerItem_SetPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37861 PyObject
*resultobj
;
37862 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
37863 wxGBPosition
*arg2
= 0 ;
37865 wxGBPosition temp2
;
37866 PyObject
* obj0
= 0 ;
37867 PyObject
* obj1
= 0 ;
37868 char *kwnames
[] = {
37869 (char *) "self",(char *) "pos", NULL
37872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetPos",kwnames
,&obj0
,&obj1
)) goto fail
;
37873 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
37874 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37877 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
37880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37881 result
= (bool)(arg1
)->SetPos((wxGBPosition
const &)*arg2
);
37883 wxPyEndAllowThreads(__tstate
);
37884 if (PyErr_Occurred()) SWIG_fail
;
37887 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37895 static PyObject
*_wrap_GBSizerItem_SetSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37896 PyObject
*resultobj
;
37897 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
37898 wxGBSpan
*arg2
= 0 ;
37901 PyObject
* obj0
= 0 ;
37902 PyObject
* obj1
= 0 ;
37903 char *kwnames
[] = {
37904 (char *) "self",(char *) "span", NULL
37907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetSpan",kwnames
,&obj0
,&obj1
)) goto fail
;
37908 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
37909 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37912 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
37915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37916 result
= (bool)(arg1
)->SetSpan((wxGBSpan
const &)*arg2
);
37918 wxPyEndAllowThreads(__tstate
);
37919 if (PyErr_Occurred()) SWIG_fail
;
37922 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37930 static PyObject
*_wrap_GBSizerItem_Intersects__SWIG_0(PyObject
*self
, PyObject
*args
) {
37931 PyObject
*resultobj
;
37932 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
37933 wxGBSizerItem
*arg2
= 0 ;
37935 PyObject
* obj0
= 0 ;
37936 PyObject
* obj1
= 0 ;
37938 if(!PyArg_ParseTuple(args
,(char *)"OO:GBSizerItem_Intersects",&obj0
,&obj1
)) goto fail
;
37939 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
37940 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37941 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGBSizerItem
,
37942 SWIG_POINTER_EXCEPTION
| 0)) == -1)
37944 if (arg2
== NULL
) {
37945 PyErr_SetString(PyExc_TypeError
,"null reference");
37949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37950 result
= (bool)(arg1
)->Intersects((wxGBSizerItem
const &)*arg2
);
37952 wxPyEndAllowThreads(__tstate
);
37953 if (PyErr_Occurred()) SWIG_fail
;
37956 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37964 static PyObject
*_wrap_GBSizerItem_Intersects__SWIG_1(PyObject
*self
, PyObject
*args
) {
37965 PyObject
*resultobj
;
37966 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
37967 wxGBPosition
*arg2
= 0 ;
37968 wxGBSpan
*arg3
= 0 ;
37970 wxGBPosition temp2
;
37972 PyObject
* obj0
= 0 ;
37973 PyObject
* obj1
= 0 ;
37974 PyObject
* obj2
= 0 ;
37976 if(!PyArg_ParseTuple(args
,(char *)"OOO:GBSizerItem_Intersects",&obj0
,&obj1
,&obj2
)) goto fail
;
37977 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
37978 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37981 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
37985 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
37988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37989 result
= (bool)(arg1
)->Intersects((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
);
37991 wxPyEndAllowThreads(__tstate
);
37992 if (PyErr_Occurred()) SWIG_fail
;
37995 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38003 static PyObject
*_wrap_GBSizerItem_Intersects(PyObject
*self
, PyObject
*args
) {
38008 argc
= PyObject_Length(args
);
38009 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
38010 argv
[ii
] = PyTuple_GetItem(args
,ii
);
38016 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
38026 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
38034 return _wrap_GBSizerItem_Intersects__SWIG_0(self
,args
);
38042 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
38051 _v
= wxPySimple_typecheck(argv
[1], wxT("wxGBPosition"), 2);
38055 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
38058 return _wrap_GBSizerItem_Intersects__SWIG_1(self
,args
);
38064 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GBSizerItem_Intersects'");
38069 static PyObject
*_wrap_GBSizerItem_GetEndPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38070 PyObject
*resultobj
;
38071 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
38074 PyObject
* obj0
= 0 ;
38075 PyObject
* obj1
= 0 ;
38076 PyObject
* obj2
= 0 ;
38077 char *kwnames
[] = {
38078 (char *) "self",(char *) "row",(char *) "col", NULL
38081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GBSizerItem_GetEndPos",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
38082 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
38083 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38084 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_int
,
38085 SWIG_POINTER_EXCEPTION
| 0)) == -1)
38087 if (arg2
== NULL
) {
38088 PyErr_SetString(PyExc_TypeError
,"null reference");
38091 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_int
,
38092 SWIG_POINTER_EXCEPTION
| 0)) == -1)
38094 if (arg3
== NULL
) {
38095 PyErr_SetString(PyExc_TypeError
,"null reference");
38099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38100 (arg1
)->GetEndPos(*arg2
,*arg3
);
38102 wxPyEndAllowThreads(__tstate
);
38103 if (PyErr_Occurred()) SWIG_fail
;
38105 Py_INCREF(Py_None
); resultobj
= Py_None
;
38112 static PyObject
*_wrap_GBSizerItem_GetGBSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38113 PyObject
*resultobj
;
38114 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
38115 wxGridBagSizer
*result
;
38116 PyObject
* obj0
= 0 ;
38117 char *kwnames
[] = {
38118 (char *) "self", NULL
38121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetGBSizer",kwnames
,&obj0
)) goto fail
;
38122 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
38123 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38126 result
= (wxGridBagSizer
*)((wxGBSizerItem
const *)arg1
)->GetGBSizer();
38128 wxPyEndAllowThreads(__tstate
);
38129 if (PyErr_Occurred()) SWIG_fail
;
38131 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridBagSizer
, 0);
38138 static PyObject
*_wrap_GBSizerItem_SetGBSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38139 PyObject
*resultobj
;
38140 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
38141 wxGridBagSizer
*arg2
= (wxGridBagSizer
*) 0 ;
38142 PyObject
* obj0
= 0 ;
38143 PyObject
* obj1
= 0 ;
38144 char *kwnames
[] = {
38145 (char *) "self",(char *) "sizer", NULL
38148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetGBSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
38149 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
38150 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38151 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridBagSizer
,
38152 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38155 (arg1
)->SetGBSizer(arg2
);
38157 wxPyEndAllowThreads(__tstate
);
38158 if (PyErr_Occurred()) SWIG_fail
;
38160 Py_INCREF(Py_None
); resultobj
= Py_None
;
38167 static PyObject
* GBSizerItem_swigregister(PyObject
*self
, PyObject
*args
) {
38169 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
38170 SWIG_TypeClientData(SWIGTYPE_p_wxGBSizerItem
, obj
);
38172 return Py_BuildValue((char *)"");
38174 static PyObject
*_wrap_new_GridBagSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38175 PyObject
*resultobj
;
38176 int arg1
= (int) 0 ;
38177 int arg2
= (int) 0 ;
38178 wxGridBagSizer
*result
;
38179 PyObject
* obj0
= 0 ;
38180 PyObject
* obj1
= 0 ;
38181 char *kwnames
[] = {
38182 (char *) "vgap",(char *) "hgap", NULL
38185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridBagSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
38187 arg1
= (int) SWIG_AsInt(obj0
);
38188 if (PyErr_Occurred()) SWIG_fail
;
38191 arg2
= (int) SWIG_AsInt(obj1
);
38192 if (PyErr_Occurred()) SWIG_fail
;
38195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38196 result
= (wxGridBagSizer
*)new wxGridBagSizer(arg1
,arg2
);
38198 wxPyEndAllowThreads(__tstate
);
38199 if (PyErr_Occurred()) SWIG_fail
;
38201 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridBagSizer
, 1);
38208 static PyObject
*_wrap_GridBagSizer_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38209 PyObject
*resultobj
;
38210 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38211 PyObject
*arg2
= (PyObject
*) 0 ;
38212 wxGBPosition
*arg3
= 0 ;
38213 wxGBSpan
const &arg4_defvalue
= wxDefaultSpan
;
38214 wxGBSpan
*arg4
= (wxGBSpan
*) &arg4_defvalue
;
38215 int arg5
= (int) 0 ;
38216 int arg6
= (int) 0 ;
38217 PyObject
*arg7
= (PyObject
*) NULL
;
38219 wxGBPosition temp3
;
38221 PyObject
* obj0
= 0 ;
38222 PyObject
* obj1
= 0 ;
38223 PyObject
* obj2
= 0 ;
38224 PyObject
* obj3
= 0 ;
38225 PyObject
* obj4
= 0 ;
38226 PyObject
* obj5
= 0 ;
38227 PyObject
* obj6
= 0 ;
38228 char *kwnames
[] = {
38229 (char *) "self",(char *) "item",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
38232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:GridBagSizer_Add",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
38233 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38234 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38238 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
38243 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
38247 arg5
= (int) SWIG_AsInt(obj4
);
38248 if (PyErr_Occurred()) SWIG_fail
;
38251 arg6
= (int) SWIG_AsInt(obj5
);
38252 if (PyErr_Occurred()) SWIG_fail
;
38258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38259 result
= (bool)wxGridBagSizer_Add(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
38261 wxPyEndAllowThreads(__tstate
);
38262 if (PyErr_Occurred()) SWIG_fail
;
38265 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38273 static PyObject
*_wrap_GridBagSizer_AddItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38274 PyObject
*resultobj
;
38275 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38276 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
38278 PyObject
* obj0
= 0 ;
38279 PyObject
* obj1
= 0 ;
38280 char *kwnames
[] = {
38281 (char *) "self",(char *) "item", NULL
38284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_AddItem",kwnames
,&obj0
,&obj1
)) goto fail
;
38285 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38286 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38287 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGBSizerItem
,
38288 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38291 result
= (bool)(arg1
)->Add(arg2
);
38293 wxPyEndAllowThreads(__tstate
);
38294 if (PyErr_Occurred()) SWIG_fail
;
38297 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38305 static PyObject
*_wrap_GridBagSizer_GetEmptyCellSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38306 PyObject
*resultobj
;
38307 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38309 PyObject
* obj0
= 0 ;
38310 char *kwnames
[] = {
38311 (char *) "self", NULL
38314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridBagSizer_GetEmptyCellSize",kwnames
,&obj0
)) goto fail
;
38315 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38316 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38319 result
= ((wxGridBagSizer
const *)arg1
)->GetEmptyCellSize();
38321 wxPyEndAllowThreads(__tstate
);
38322 if (PyErr_Occurred()) SWIG_fail
;
38325 wxSize
* resultptr
;
38326 resultptr
= new wxSize((wxSize
&) result
);
38327 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
38335 static PyObject
*_wrap_GridBagSizer_SetEmptyCellSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38336 PyObject
*resultobj
;
38337 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38340 PyObject
* obj0
= 0 ;
38341 PyObject
* obj1
= 0 ;
38342 char *kwnames
[] = {
38343 (char *) "self",(char *) "sz", NULL
38346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_SetEmptyCellSize",kwnames
,&obj0
,&obj1
)) goto fail
;
38347 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38348 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38351 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
38354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38355 (arg1
)->SetEmptyCellSize((wxSize
const &)*arg2
);
38357 wxPyEndAllowThreads(__tstate
);
38358 if (PyErr_Occurred()) SWIG_fail
;
38360 Py_INCREF(Py_None
); resultobj
= Py_None
;
38367 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_0(PyObject
*self
, PyObject
*args
) {
38368 PyObject
*resultobj
;
38369 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38370 wxWindow
*arg2
= (wxWindow
*) 0 ;
38371 wxGBPosition result
;
38372 PyObject
* obj0
= 0 ;
38373 PyObject
* obj1
= 0 ;
38375 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
38376 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38377 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38378 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
38379 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38382 result
= (arg1
)->GetItemPosition(arg2
);
38384 wxPyEndAllowThreads(__tstate
);
38385 if (PyErr_Occurred()) SWIG_fail
;
38388 wxGBPosition
* resultptr
;
38389 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
38390 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
38398 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_1(PyObject
*self
, PyObject
*args
) {
38399 PyObject
*resultobj
;
38400 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38401 wxSizer
*arg2
= (wxSizer
*) 0 ;
38402 wxGBPosition result
;
38403 PyObject
* obj0
= 0 ;
38404 PyObject
* obj1
= 0 ;
38406 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
38407 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38408 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38409 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
38410 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38413 result
= (arg1
)->GetItemPosition(arg2
);
38415 wxPyEndAllowThreads(__tstate
);
38416 if (PyErr_Occurred()) SWIG_fail
;
38419 wxGBPosition
* resultptr
;
38420 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
38421 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
38429 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_2(PyObject
*self
, PyObject
*args
) {
38430 PyObject
*resultobj
;
38431 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38433 wxGBPosition result
;
38434 PyObject
* obj0
= 0 ;
38435 PyObject
* obj1
= 0 ;
38437 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
38438 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38439 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38440 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
38441 if (PyErr_Occurred()) SWIG_fail
;
38443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38444 result
= (arg1
)->GetItemPosition(arg2
);
38446 wxPyEndAllowThreads(__tstate
);
38447 if (PyErr_Occurred()) SWIG_fail
;
38450 wxGBPosition
* resultptr
;
38451 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
38452 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
38460 static PyObject
*_wrap_GridBagSizer_GetItemPosition(PyObject
*self
, PyObject
*args
) {
38465 argc
= PyObject_Length(args
);
38466 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
38467 argv
[ii
] = PyTuple_GetItem(args
,ii
);
38473 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38483 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
38491 return _wrap_GridBagSizer_GetItemPosition__SWIG_0(self
,args
);
38499 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38509 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
38517 return _wrap_GridBagSizer_GetItemPosition__SWIG_1(self
,args
);
38525 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38533 _v
= SWIG_CheckUnsignedLong(argv
[1]);
38535 return _wrap_GridBagSizer_GetItemPosition__SWIG_2(self
,args
);
38540 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_GetItemPosition'");
38545 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_0(PyObject
*self
, PyObject
*args
) {
38546 PyObject
*resultobj
;
38547 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38548 wxWindow
*arg2
= (wxWindow
*) 0 ;
38549 wxGBPosition
*arg3
= 0 ;
38551 wxGBPosition temp3
;
38552 PyObject
* obj0
= 0 ;
38553 PyObject
* obj1
= 0 ;
38554 PyObject
* obj2
= 0 ;
38556 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
38557 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38558 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38559 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
38560 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38563 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
38566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38567 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
38569 wxPyEndAllowThreads(__tstate
);
38570 if (PyErr_Occurred()) SWIG_fail
;
38573 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38581 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_1(PyObject
*self
, PyObject
*args
) {
38582 PyObject
*resultobj
;
38583 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38584 wxSizer
*arg2
= (wxSizer
*) 0 ;
38585 wxGBPosition
*arg3
= 0 ;
38587 wxGBPosition temp3
;
38588 PyObject
* obj0
= 0 ;
38589 PyObject
* obj1
= 0 ;
38590 PyObject
* obj2
= 0 ;
38592 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
38593 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38594 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38595 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
38596 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38599 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
38602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38603 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
38605 wxPyEndAllowThreads(__tstate
);
38606 if (PyErr_Occurred()) SWIG_fail
;
38609 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38617 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_2(PyObject
*self
, PyObject
*args
) {
38618 PyObject
*resultobj
;
38619 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38621 wxGBPosition
*arg3
= 0 ;
38623 wxGBPosition temp3
;
38624 PyObject
* obj0
= 0 ;
38625 PyObject
* obj1
= 0 ;
38626 PyObject
* obj2
= 0 ;
38628 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
38629 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38630 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38631 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
38632 if (PyErr_Occurred()) SWIG_fail
;
38635 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
38638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38639 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
38641 wxPyEndAllowThreads(__tstate
);
38642 if (PyErr_Occurred()) SWIG_fail
;
38645 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38653 static PyObject
*_wrap_GridBagSizer_SetItemPosition(PyObject
*self
, PyObject
*args
) {
38658 argc
= PyObject_Length(args
);
38659 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
38660 argv
[ii
] = PyTuple_GetItem(args
,ii
);
38666 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38676 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
38685 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
38688 return _wrap_GridBagSizer_SetItemPosition__SWIG_0(self
,args
);
38697 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38707 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
38716 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
38719 return _wrap_GridBagSizer_SetItemPosition__SWIG_1(self
,args
);
38728 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38736 _v
= SWIG_CheckUnsignedLong(argv
[1]);
38739 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
38742 return _wrap_GridBagSizer_SetItemPosition__SWIG_2(self
,args
);
38748 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_SetItemPosition'");
38753 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_0(PyObject
*self
, PyObject
*args
) {
38754 PyObject
*resultobj
;
38755 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38756 wxWindow
*arg2
= (wxWindow
*) 0 ;
38758 PyObject
* obj0
= 0 ;
38759 PyObject
* obj1
= 0 ;
38761 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
38762 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38763 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38764 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
38765 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38768 result
= (arg1
)->GetItemSpan(arg2
);
38770 wxPyEndAllowThreads(__tstate
);
38771 if (PyErr_Occurred()) SWIG_fail
;
38774 wxGBSpan
* resultptr
;
38775 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
38776 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
38784 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_1(PyObject
*self
, PyObject
*args
) {
38785 PyObject
*resultobj
;
38786 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38787 wxSizer
*arg2
= (wxSizer
*) 0 ;
38789 PyObject
* obj0
= 0 ;
38790 PyObject
* obj1
= 0 ;
38792 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
38793 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38794 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38795 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
38796 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38799 result
= (arg1
)->GetItemSpan(arg2
);
38801 wxPyEndAllowThreads(__tstate
);
38802 if (PyErr_Occurred()) SWIG_fail
;
38805 wxGBSpan
* resultptr
;
38806 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
38807 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
38815 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_2(PyObject
*self
, PyObject
*args
) {
38816 PyObject
*resultobj
;
38817 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38820 PyObject
* obj0
= 0 ;
38821 PyObject
* obj1
= 0 ;
38823 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
38824 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38825 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38826 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
38827 if (PyErr_Occurred()) SWIG_fail
;
38829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38830 result
= (arg1
)->GetItemSpan(arg2
);
38832 wxPyEndAllowThreads(__tstate
);
38833 if (PyErr_Occurred()) SWIG_fail
;
38836 wxGBSpan
* resultptr
;
38837 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
38838 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
38846 static PyObject
*_wrap_GridBagSizer_GetItemSpan(PyObject
*self
, PyObject
*args
) {
38851 argc
= PyObject_Length(args
);
38852 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
38853 argv
[ii
] = PyTuple_GetItem(args
,ii
);
38859 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38869 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
38877 return _wrap_GridBagSizer_GetItemSpan__SWIG_0(self
,args
);
38885 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38895 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
38903 return _wrap_GridBagSizer_GetItemSpan__SWIG_1(self
,args
);
38911 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38919 _v
= SWIG_CheckUnsignedLong(argv
[1]);
38921 return _wrap_GridBagSizer_GetItemSpan__SWIG_2(self
,args
);
38926 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_GetItemSpan'");
38931 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_0(PyObject
*self
, PyObject
*args
) {
38932 PyObject
*resultobj
;
38933 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38934 wxWindow
*arg2
= (wxWindow
*) 0 ;
38935 wxGBSpan
*arg3
= 0 ;
38938 PyObject
* obj0
= 0 ;
38939 PyObject
* obj1
= 0 ;
38940 PyObject
* obj2
= 0 ;
38942 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
38943 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38944 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38945 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
38946 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38949 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
38952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38953 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
38955 wxPyEndAllowThreads(__tstate
);
38956 if (PyErr_Occurred()) SWIG_fail
;
38959 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38967 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_1(PyObject
*self
, PyObject
*args
) {
38968 PyObject
*resultobj
;
38969 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38970 wxSizer
*arg2
= (wxSizer
*) 0 ;
38971 wxGBSpan
*arg3
= 0 ;
38974 PyObject
* obj0
= 0 ;
38975 PyObject
* obj1
= 0 ;
38976 PyObject
* obj2
= 0 ;
38978 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
38979 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38980 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38981 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
38982 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38985 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
38988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38989 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
38991 wxPyEndAllowThreads(__tstate
);
38992 if (PyErr_Occurred()) SWIG_fail
;
38995 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39003 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_2(PyObject
*self
, PyObject
*args
) {
39004 PyObject
*resultobj
;
39005 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39007 wxGBSpan
*arg3
= 0 ;
39010 PyObject
* obj0
= 0 ;
39011 PyObject
* obj1
= 0 ;
39012 PyObject
* obj2
= 0 ;
39014 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
39015 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39016 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39017 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
39018 if (PyErr_Occurred()) SWIG_fail
;
39021 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
39024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39025 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
39027 wxPyEndAllowThreads(__tstate
);
39028 if (PyErr_Occurred()) SWIG_fail
;
39031 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39039 static PyObject
*_wrap_GridBagSizer_SetItemSpan(PyObject
*self
, PyObject
*args
) {
39044 argc
= PyObject_Length(args
);
39045 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
39046 argv
[ii
] = PyTuple_GetItem(args
,ii
);
39052 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39062 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
39071 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
39074 return _wrap_GridBagSizer_SetItemSpan__SWIG_0(self
,args
);
39083 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39093 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
39102 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
39105 return _wrap_GridBagSizer_SetItemSpan__SWIG_1(self
,args
);
39114 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39122 _v
= SWIG_CheckUnsignedLong(argv
[1]);
39125 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
39128 return _wrap_GridBagSizer_SetItemSpan__SWIG_2(self
,args
);
39134 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_SetItemSpan'");
39139 static PyObject
*_wrap_GridBagSizer_FindItem__SWIG_0(PyObject
*self
, PyObject
*args
) {
39140 PyObject
*resultobj
;
39141 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39142 wxWindow
*arg2
= (wxWindow
*) 0 ;
39143 wxGBSizerItem
*result
;
39144 PyObject
* obj0
= 0 ;
39145 PyObject
* obj1
= 0 ;
39147 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_FindItem",&obj0
,&obj1
)) goto fail
;
39148 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39149 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39150 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39151 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39154 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
39156 wxPyEndAllowThreads(__tstate
);
39157 if (PyErr_Occurred()) SWIG_fail
;
39159 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
39166 static PyObject
*_wrap_GridBagSizer_FindItem__SWIG_1(PyObject
*self
, PyObject
*args
) {
39167 PyObject
*resultobj
;
39168 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39169 wxSizer
*arg2
= (wxSizer
*) 0 ;
39170 wxGBSizerItem
*result
;
39171 PyObject
* obj0
= 0 ;
39172 PyObject
* obj1
= 0 ;
39174 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_FindItem",&obj0
,&obj1
)) goto fail
;
39175 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39176 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39177 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
39178 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39181 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
39183 wxPyEndAllowThreads(__tstate
);
39184 if (PyErr_Occurred()) SWIG_fail
;
39186 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
39193 static PyObject
*_wrap_GridBagSizer_FindItem(PyObject
*self
, PyObject
*args
) {
39198 argc
= PyObject_Length(args
);
39199 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
39200 argv
[ii
] = PyTuple_GetItem(args
,ii
);
39206 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39216 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
39224 return _wrap_GridBagSizer_FindItem__SWIG_0(self
,args
);
39232 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39242 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
39250 return _wrap_GridBagSizer_FindItem__SWIG_1(self
,args
);
39255 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_FindItem'");
39260 static PyObject
*_wrap_GridBagSizer_FindItemAtPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39261 PyObject
*resultobj
;
39262 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39263 wxGBPosition
*arg2
= 0 ;
39264 wxGBSizerItem
*result
;
39265 wxGBPosition temp2
;
39266 PyObject
* obj0
= 0 ;
39267 PyObject
* obj1
= 0 ;
39268 char *kwnames
[] = {
39269 (char *) "self",(char *) "pos", NULL
39272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
39273 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39274 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39277 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
39280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39281 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPosition((wxGBPosition
const &)*arg2
);
39283 wxPyEndAllowThreads(__tstate
);
39284 if (PyErr_Occurred()) SWIG_fail
;
39286 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
39293 static PyObject
*_wrap_GridBagSizer_FindItemAtPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39294 PyObject
*resultobj
;
39295 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39296 wxPoint
*arg2
= 0 ;
39297 wxGBSizerItem
*result
;
39299 PyObject
* obj0
= 0 ;
39300 PyObject
* obj1
= 0 ;
39301 char *kwnames
[] = {
39302 (char *) "self",(char *) "pt", NULL
39305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
39306 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39307 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39310 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
39313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39314 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPoint((wxPoint
const &)*arg2
);
39316 wxPyEndAllowThreads(__tstate
);
39317 if (PyErr_Occurred()) SWIG_fail
;
39319 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
39326 static PyObject
*_wrap_GridBagSizer_FindItemWithData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39327 PyObject
*resultobj
;
39328 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39329 wxObject
*arg2
= (wxObject
*) 0 ;
39330 wxGBSizerItem
*result
;
39331 PyObject
* obj0
= 0 ;
39332 PyObject
* obj1
= 0 ;
39333 char *kwnames
[] = {
39334 (char *) "self",(char *) "userData", NULL
39337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemWithData",kwnames
,&obj0
,&obj1
)) goto fail
;
39338 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39339 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39340 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxObject
,
39341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39344 result
= (wxGBSizerItem
*)(arg1
)->FindItemWithData((wxObject
const *)arg2
);
39346 wxPyEndAllowThreads(__tstate
);
39347 if (PyErr_Occurred()) SWIG_fail
;
39349 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
39356 static PyObject
*_wrap_GridBagSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39357 PyObject
*resultobj
;
39358 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39359 PyObject
* obj0
= 0 ;
39360 char *kwnames
[] = {
39361 (char *) "self", NULL
39364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridBagSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
39365 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39366 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39369 (arg1
)->RecalcSizes();
39371 wxPyEndAllowThreads(__tstate
);
39372 if (PyErr_Occurred()) SWIG_fail
;
39374 Py_INCREF(Py_None
); resultobj
= Py_None
;
39381 static PyObject
*_wrap_GridBagSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39382 PyObject
*resultobj
;
39383 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39385 PyObject
* obj0
= 0 ;
39386 char *kwnames
[] = {
39387 (char *) "self", NULL
39390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridBagSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
39391 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39392 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39395 result
= (arg1
)->CalcMin();
39397 wxPyEndAllowThreads(__tstate
);
39398 if (PyErr_Occurred()) SWIG_fail
;
39401 wxSize
* resultptr
;
39402 resultptr
= new wxSize((wxSize
&) result
);
39403 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
39411 static PyObject
*_wrap_GridBagSizer_CheckForIntersection__SWIG_0(PyObject
*self
, PyObject
*args
) {
39412 PyObject
*resultobj
;
39413 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39414 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
39415 wxGBSizerItem
*arg3
= (wxGBSizerItem
*) NULL
;
39417 PyObject
* obj0
= 0 ;
39418 PyObject
* obj1
= 0 ;
39419 PyObject
* obj2
= 0 ;
39421 if(!PyArg_ParseTuple(args
,(char *)"OO|O:GridBagSizer_CheckForIntersection",&obj0
,&obj1
,&obj2
)) goto fail
;
39422 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39423 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39424 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGBSizerItem
,
39425 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39427 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxGBSizerItem
,
39428 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39432 result
= (bool)(arg1
)->CheckForIntersection(arg2
,arg3
);
39434 wxPyEndAllowThreads(__tstate
);
39435 if (PyErr_Occurred()) SWIG_fail
;
39438 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39446 static PyObject
*_wrap_GridBagSizer_CheckForIntersection__SWIG_1(PyObject
*self
, PyObject
*args
) {
39447 PyObject
*resultobj
;
39448 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39449 wxGBPosition
*arg2
= 0 ;
39450 wxGBSpan
*arg3
= 0 ;
39451 wxGBSizerItem
*arg4
= (wxGBSizerItem
*) NULL
;
39453 wxGBPosition temp2
;
39455 PyObject
* obj0
= 0 ;
39456 PyObject
* obj1
= 0 ;
39457 PyObject
* obj2
= 0 ;
39458 PyObject
* obj3
= 0 ;
39460 if(!PyArg_ParseTuple(args
,(char *)"OOO|O:GridBagSizer_CheckForIntersection",&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
39461 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39462 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39465 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
39469 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
39472 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxGBSizerItem
,
39473 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39477 result
= (bool)(arg1
)->CheckForIntersection((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
);
39479 wxPyEndAllowThreads(__tstate
);
39480 if (PyErr_Occurred()) SWIG_fail
;
39483 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39491 static PyObject
*_wrap_GridBagSizer_CheckForIntersection(PyObject
*self
, PyObject
*args
) {
39496 argc
= PyObject_Length(args
);
39497 for (ii
= 0; (ii
< argc
) && (ii
< 4); ii
++) {
39498 argv
[ii
] = PyTuple_GetItem(args
,ii
);
39500 if ((argc
>= 2) && (argc
<= 3)) {
39504 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39514 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
39523 return _wrap_GridBagSizer_CheckForIntersection__SWIG_0(self
,args
);
39527 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
39535 return _wrap_GridBagSizer_CheckForIntersection__SWIG_0(self
,args
);
39540 if ((argc
>= 3) && (argc
<= 4)) {
39544 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39553 _v
= wxPySimple_typecheck(argv
[1], wxT("wxGBPosition"), 2);
39557 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
39561 return _wrap_GridBagSizer_CheckForIntersection__SWIG_1(self
,args
);
39565 if (SWIG_ConvertPtr(argv
[3], &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
39573 return _wrap_GridBagSizer_CheckForIntersection__SWIG_1(self
,args
);
39580 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_CheckForIntersection'");
39585 static PyObject
* GridBagSizer_swigregister(PyObject
*self
, PyObject
*args
) {
39587 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
39588 SWIG_TypeClientData(SWIGTYPE_p_wxGridBagSizer
, obj
);
39590 return Py_BuildValue((char *)"");
39592 static PyObject
*_wrap_IndividualLayoutConstraint_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39593 PyObject
*resultobj
;
39594 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39596 wxWindow
*arg3
= (wxWindow
*) 0 ;
39598 int arg5
= (int) 0 ;
39599 int arg6
= (int) wxLAYOUT_DEFAULT_MARGIN
;
39600 PyObject
* obj0
= 0 ;
39601 PyObject
* obj1
= 0 ;
39602 PyObject
* obj2
= 0 ;
39603 PyObject
* obj3
= 0 ;
39604 PyObject
* obj4
= 0 ;
39605 PyObject
* obj5
= 0 ;
39606 char *kwnames
[] = {
39607 (char *) "self",(char *) "rel",(char *) "otherW",(char *) "otherE",(char *) "val",(char *) "marg", NULL
39610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:IndividualLayoutConstraint_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
39611 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39612 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39613 arg2
= (wxRelationship
) SWIG_AsInt(obj1
);
39614 if (PyErr_Occurred()) SWIG_fail
;
39615 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
39616 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39617 arg4
= (wxEdge
) SWIG_AsInt(obj3
);
39618 if (PyErr_Occurred()) SWIG_fail
;
39620 arg5
= (int) SWIG_AsInt(obj4
);
39621 if (PyErr_Occurred()) SWIG_fail
;
39624 arg6
= (int) SWIG_AsInt(obj5
);
39625 if (PyErr_Occurred()) SWIG_fail
;
39628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39629 (arg1
)->Set((wxRelationship
)arg2
,arg3
,(wxEdge
)arg4
,arg5
,arg6
);
39631 wxPyEndAllowThreads(__tstate
);
39632 if (PyErr_Occurred()) SWIG_fail
;
39634 Py_INCREF(Py_None
); resultobj
= Py_None
;
39641 static PyObject
*_wrap_IndividualLayoutConstraint_LeftOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39642 PyObject
*resultobj
;
39643 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39644 wxWindow
*arg2
= (wxWindow
*) 0 ;
39645 int arg3
= (int) 0 ;
39646 PyObject
* obj0
= 0 ;
39647 PyObject
* obj1
= 0 ;
39648 PyObject
* obj2
= 0 ;
39649 char *kwnames
[] = {
39650 (char *) "self",(char *) "sibling",(char *) "marg", NULL
39653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_LeftOf",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39654 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39655 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39656 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39657 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39659 arg3
= (int) SWIG_AsInt(obj2
);
39660 if (PyErr_Occurred()) SWIG_fail
;
39663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39664 (arg1
)->LeftOf(arg2
,arg3
);
39666 wxPyEndAllowThreads(__tstate
);
39667 if (PyErr_Occurred()) SWIG_fail
;
39669 Py_INCREF(Py_None
); resultobj
= Py_None
;
39676 static PyObject
*_wrap_IndividualLayoutConstraint_RightOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39677 PyObject
*resultobj
;
39678 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39679 wxWindow
*arg2
= (wxWindow
*) 0 ;
39680 int arg3
= (int) 0 ;
39681 PyObject
* obj0
= 0 ;
39682 PyObject
* obj1
= 0 ;
39683 PyObject
* obj2
= 0 ;
39684 char *kwnames
[] = {
39685 (char *) "self",(char *) "sibling",(char *) "marg", NULL
39688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_RightOf",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39689 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39690 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39691 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39692 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39694 arg3
= (int) SWIG_AsInt(obj2
);
39695 if (PyErr_Occurred()) SWIG_fail
;
39698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39699 (arg1
)->RightOf(arg2
,arg3
);
39701 wxPyEndAllowThreads(__tstate
);
39702 if (PyErr_Occurred()) SWIG_fail
;
39704 Py_INCREF(Py_None
); resultobj
= Py_None
;
39711 static PyObject
*_wrap_IndividualLayoutConstraint_Above(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39712 PyObject
*resultobj
;
39713 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39714 wxWindow
*arg2
= (wxWindow
*) 0 ;
39715 int arg3
= (int) 0 ;
39716 PyObject
* obj0
= 0 ;
39717 PyObject
* obj1
= 0 ;
39718 PyObject
* obj2
= 0 ;
39719 char *kwnames
[] = {
39720 (char *) "self",(char *) "sibling",(char *) "marg", NULL
39723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_Above",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39724 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39725 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39726 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39727 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39729 arg3
= (int) SWIG_AsInt(obj2
);
39730 if (PyErr_Occurred()) SWIG_fail
;
39733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39734 (arg1
)->Above(arg2
,arg3
);
39736 wxPyEndAllowThreads(__tstate
);
39737 if (PyErr_Occurred()) SWIG_fail
;
39739 Py_INCREF(Py_None
); resultobj
= Py_None
;
39746 static PyObject
*_wrap_IndividualLayoutConstraint_Below(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39747 PyObject
*resultobj
;
39748 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39749 wxWindow
*arg2
= (wxWindow
*) 0 ;
39750 int arg3
= (int) 0 ;
39751 PyObject
* obj0
= 0 ;
39752 PyObject
* obj1
= 0 ;
39753 PyObject
* obj2
= 0 ;
39754 char *kwnames
[] = {
39755 (char *) "self",(char *) "sibling",(char *) "marg", NULL
39758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_Below",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39759 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39760 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39761 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39762 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39764 arg3
= (int) SWIG_AsInt(obj2
);
39765 if (PyErr_Occurred()) SWIG_fail
;
39768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39769 (arg1
)->Below(arg2
,arg3
);
39771 wxPyEndAllowThreads(__tstate
);
39772 if (PyErr_Occurred()) SWIG_fail
;
39774 Py_INCREF(Py_None
); resultobj
= Py_None
;
39781 static PyObject
*_wrap_IndividualLayoutConstraint_SameAs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39782 PyObject
*resultobj
;
39783 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39784 wxWindow
*arg2
= (wxWindow
*) 0 ;
39786 int arg4
= (int) 0 ;
39787 PyObject
* obj0
= 0 ;
39788 PyObject
* obj1
= 0 ;
39789 PyObject
* obj2
= 0 ;
39790 PyObject
* obj3
= 0 ;
39791 char *kwnames
[] = {
39792 (char *) "self",(char *) "otherW",(char *) "edge",(char *) "marg", NULL
39795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:IndividualLayoutConstraint_SameAs",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
39796 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39797 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39798 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39799 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39800 arg3
= (wxEdge
) SWIG_AsInt(obj2
);
39801 if (PyErr_Occurred()) SWIG_fail
;
39803 arg4
= (int) SWIG_AsInt(obj3
);
39804 if (PyErr_Occurred()) SWIG_fail
;
39807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39808 (arg1
)->SameAs(arg2
,(wxEdge
)arg3
,arg4
);
39810 wxPyEndAllowThreads(__tstate
);
39811 if (PyErr_Occurred()) SWIG_fail
;
39813 Py_INCREF(Py_None
); resultobj
= Py_None
;
39820 static PyObject
*_wrap_IndividualLayoutConstraint_PercentOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39821 PyObject
*resultobj
;
39822 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39823 wxWindow
*arg2
= (wxWindow
*) 0 ;
39826 PyObject
* obj0
= 0 ;
39827 PyObject
* obj1
= 0 ;
39828 PyObject
* obj2
= 0 ;
39829 PyObject
* obj3
= 0 ;
39830 char *kwnames
[] = {
39831 (char *) "self",(char *) "otherW",(char *) "wh",(char *) "per", NULL
39834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:IndividualLayoutConstraint_PercentOf",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
39835 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39836 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39837 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39838 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39839 arg3
= (wxEdge
) SWIG_AsInt(obj2
);
39840 if (PyErr_Occurred()) SWIG_fail
;
39841 arg4
= (int) SWIG_AsInt(obj3
);
39842 if (PyErr_Occurred()) SWIG_fail
;
39844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39845 (arg1
)->PercentOf(arg2
,(wxEdge
)arg3
,arg4
);
39847 wxPyEndAllowThreads(__tstate
);
39848 if (PyErr_Occurred()) SWIG_fail
;
39850 Py_INCREF(Py_None
); resultobj
= Py_None
;
39857 static PyObject
*_wrap_IndividualLayoutConstraint_Absolute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39858 PyObject
*resultobj
;
39859 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39861 PyObject
* obj0
= 0 ;
39862 PyObject
* obj1
= 0 ;
39863 char *kwnames
[] = {
39864 (char *) "self",(char *) "val", NULL
39867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_Absolute",kwnames
,&obj0
,&obj1
)) goto fail
;
39868 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39869 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39870 arg2
= (int) SWIG_AsInt(obj1
);
39871 if (PyErr_Occurred()) SWIG_fail
;
39873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39874 (arg1
)->Absolute(arg2
);
39876 wxPyEndAllowThreads(__tstate
);
39877 if (PyErr_Occurred()) SWIG_fail
;
39879 Py_INCREF(Py_None
); resultobj
= Py_None
;
39886 static PyObject
*_wrap_IndividualLayoutConstraint_Unconstrained(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39887 PyObject
*resultobj
;
39888 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39889 PyObject
* obj0
= 0 ;
39890 char *kwnames
[] = {
39891 (char *) "self", NULL
39894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_Unconstrained",kwnames
,&obj0
)) goto fail
;
39895 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39896 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39899 (arg1
)->Unconstrained();
39901 wxPyEndAllowThreads(__tstate
);
39902 if (PyErr_Occurred()) SWIG_fail
;
39904 Py_INCREF(Py_None
); resultobj
= Py_None
;
39911 static PyObject
*_wrap_IndividualLayoutConstraint_AsIs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39912 PyObject
*resultobj
;
39913 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39914 PyObject
* obj0
= 0 ;
39915 char *kwnames
[] = {
39916 (char *) "self", NULL
39919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_AsIs",kwnames
,&obj0
)) goto fail
;
39920 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39921 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39926 wxPyEndAllowThreads(__tstate
);
39927 if (PyErr_Occurred()) SWIG_fail
;
39929 Py_INCREF(Py_None
); resultobj
= Py_None
;
39936 static PyObject
*_wrap_IndividualLayoutConstraint_GetOtherWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39937 PyObject
*resultobj
;
39938 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39940 PyObject
* obj0
= 0 ;
39941 char *kwnames
[] = {
39942 (char *) "self", NULL
39945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetOtherWindow",kwnames
,&obj0
)) goto fail
;
39946 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39947 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39950 result
= (wxWindow
*)(arg1
)->GetOtherWindow();
39952 wxPyEndAllowThreads(__tstate
);
39953 if (PyErr_Occurred()) SWIG_fail
;
39956 resultobj
= wxPyMake_wxObject(result
);
39964 static PyObject
*_wrap_IndividualLayoutConstraint_GetMyEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39965 PyObject
*resultobj
;
39966 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39968 PyObject
* obj0
= 0 ;
39969 char *kwnames
[] = {
39970 (char *) "self", NULL
39973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetMyEdge",kwnames
,&obj0
)) goto fail
;
39974 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39975 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39978 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetMyEdge();
39980 wxPyEndAllowThreads(__tstate
);
39981 if (PyErr_Occurred()) SWIG_fail
;
39983 resultobj
= SWIG_FromInt((int)result
);
39990 static PyObject
*_wrap_IndividualLayoutConstraint_SetEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39991 PyObject
*resultobj
;
39992 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39994 PyObject
* obj0
= 0 ;
39995 PyObject
* obj1
= 0 ;
39996 char *kwnames
[] = {
39997 (char *) "self",(char *) "which", NULL
40000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetEdge",kwnames
,&obj0
,&obj1
)) goto fail
;
40001 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40002 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40003 arg2
= (wxEdge
) SWIG_AsInt(obj1
);
40004 if (PyErr_Occurred()) SWIG_fail
;
40006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40007 (arg1
)->SetEdge((wxEdge
)arg2
);
40009 wxPyEndAllowThreads(__tstate
);
40010 if (PyErr_Occurred()) SWIG_fail
;
40012 Py_INCREF(Py_None
); resultobj
= Py_None
;
40019 static PyObject
*_wrap_IndividualLayoutConstraint_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40020 PyObject
*resultobj
;
40021 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40023 PyObject
* obj0
= 0 ;
40024 PyObject
* obj1
= 0 ;
40025 char *kwnames
[] = {
40026 (char *) "self",(char *) "v", NULL
40029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
40030 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40031 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40032 arg2
= (int) SWIG_AsInt(obj1
);
40033 if (PyErr_Occurred()) SWIG_fail
;
40035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40036 (arg1
)->SetValue(arg2
);
40038 wxPyEndAllowThreads(__tstate
);
40039 if (PyErr_Occurred()) SWIG_fail
;
40041 Py_INCREF(Py_None
); resultobj
= Py_None
;
40048 static PyObject
*_wrap_IndividualLayoutConstraint_GetMargin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40049 PyObject
*resultobj
;
40050 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40052 PyObject
* obj0
= 0 ;
40053 char *kwnames
[] = {
40054 (char *) "self", NULL
40057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetMargin",kwnames
,&obj0
)) goto fail
;
40058 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40059 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40062 result
= (int)(arg1
)->GetMargin();
40064 wxPyEndAllowThreads(__tstate
);
40065 if (PyErr_Occurred()) SWIG_fail
;
40067 resultobj
= SWIG_FromInt((int)result
);
40074 static PyObject
*_wrap_IndividualLayoutConstraint_SetMargin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40075 PyObject
*resultobj
;
40076 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40078 PyObject
* obj0
= 0 ;
40079 PyObject
* obj1
= 0 ;
40080 char *kwnames
[] = {
40081 (char *) "self",(char *) "m", NULL
40084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetMargin",kwnames
,&obj0
,&obj1
)) goto fail
;
40085 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40086 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40087 arg2
= (int) SWIG_AsInt(obj1
);
40088 if (PyErr_Occurred()) SWIG_fail
;
40090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40091 (arg1
)->SetMargin(arg2
);
40093 wxPyEndAllowThreads(__tstate
);
40094 if (PyErr_Occurred()) SWIG_fail
;
40096 Py_INCREF(Py_None
); resultobj
= Py_None
;
40103 static PyObject
*_wrap_IndividualLayoutConstraint_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40104 PyObject
*resultobj
;
40105 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40107 PyObject
* obj0
= 0 ;
40108 char *kwnames
[] = {
40109 (char *) "self", NULL
40112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetValue",kwnames
,&obj0
)) goto fail
;
40113 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40114 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40117 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetValue();
40119 wxPyEndAllowThreads(__tstate
);
40120 if (PyErr_Occurred()) SWIG_fail
;
40122 resultobj
= SWIG_FromInt((int)result
);
40129 static PyObject
*_wrap_IndividualLayoutConstraint_GetPercent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40130 PyObject
*resultobj
;
40131 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40133 PyObject
* obj0
= 0 ;
40134 char *kwnames
[] = {
40135 (char *) "self", NULL
40138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetPercent",kwnames
,&obj0
)) goto fail
;
40139 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40140 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40143 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetPercent();
40145 wxPyEndAllowThreads(__tstate
);
40146 if (PyErr_Occurred()) SWIG_fail
;
40148 resultobj
= SWIG_FromInt((int)result
);
40155 static PyObject
*_wrap_IndividualLayoutConstraint_GetOtherEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40156 PyObject
*resultobj
;
40157 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40159 PyObject
* obj0
= 0 ;
40160 char *kwnames
[] = {
40161 (char *) "self", NULL
40164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetOtherEdge",kwnames
,&obj0
)) goto fail
;
40165 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40166 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40169 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetOtherEdge();
40171 wxPyEndAllowThreads(__tstate
);
40172 if (PyErr_Occurred()) SWIG_fail
;
40174 resultobj
= SWIG_FromInt((int)result
);
40181 static PyObject
*_wrap_IndividualLayoutConstraint_GetDone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40182 PyObject
*resultobj
;
40183 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40185 PyObject
* obj0
= 0 ;
40186 char *kwnames
[] = {
40187 (char *) "self", NULL
40190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetDone",kwnames
,&obj0
)) goto fail
;
40191 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40192 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40195 result
= (bool)((wxIndividualLayoutConstraint
const *)arg1
)->GetDone();
40197 wxPyEndAllowThreads(__tstate
);
40198 if (PyErr_Occurred()) SWIG_fail
;
40201 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40209 static PyObject
*_wrap_IndividualLayoutConstraint_SetDone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40210 PyObject
*resultobj
;
40211 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40213 PyObject
* obj0
= 0 ;
40214 PyObject
* obj1
= 0 ;
40215 char *kwnames
[] = {
40216 (char *) "self",(char *) "d", NULL
40219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetDone",kwnames
,&obj0
,&obj1
)) goto fail
;
40220 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40221 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40222 arg2
= (bool) SWIG_AsBool(obj1
);
40223 if (PyErr_Occurred()) SWIG_fail
;
40225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40226 (arg1
)->SetDone(arg2
);
40228 wxPyEndAllowThreads(__tstate
);
40229 if (PyErr_Occurred()) SWIG_fail
;
40231 Py_INCREF(Py_None
); resultobj
= Py_None
;
40238 static PyObject
*_wrap_IndividualLayoutConstraint_GetRelationship(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40239 PyObject
*resultobj
;
40240 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40242 PyObject
* obj0
= 0 ;
40243 char *kwnames
[] = {
40244 (char *) "self", NULL
40247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetRelationship",kwnames
,&obj0
)) goto fail
;
40248 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40249 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40252 result
= (int)(arg1
)->GetRelationship();
40254 wxPyEndAllowThreads(__tstate
);
40255 if (PyErr_Occurred()) SWIG_fail
;
40257 resultobj
= SWIG_FromInt((int)result
);
40264 static PyObject
*_wrap_IndividualLayoutConstraint_SetRelationship(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40265 PyObject
*resultobj
;
40266 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40268 PyObject
* obj0
= 0 ;
40269 PyObject
* obj1
= 0 ;
40270 char *kwnames
[] = {
40271 (char *) "self",(char *) "r", NULL
40274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetRelationship",kwnames
,&obj0
,&obj1
)) goto fail
;
40275 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40276 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40277 arg2
= (wxRelationship
) SWIG_AsInt(obj1
);
40278 if (PyErr_Occurred()) SWIG_fail
;
40280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40281 (arg1
)->SetRelationship((wxRelationship
)arg2
);
40283 wxPyEndAllowThreads(__tstate
);
40284 if (PyErr_Occurred()) SWIG_fail
;
40286 Py_INCREF(Py_None
); resultobj
= Py_None
;
40293 static PyObject
*_wrap_IndividualLayoutConstraint_ResetIfWin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40294 PyObject
*resultobj
;
40295 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40296 wxWindow
*arg2
= (wxWindow
*) 0 ;
40298 PyObject
* obj0
= 0 ;
40299 PyObject
* obj1
= 0 ;
40300 char *kwnames
[] = {
40301 (char *) "self",(char *) "otherW", NULL
40304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_ResetIfWin",kwnames
,&obj0
,&obj1
)) goto fail
;
40305 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40306 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40307 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
40308 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40311 result
= (bool)(arg1
)->ResetIfWin(arg2
);
40313 wxPyEndAllowThreads(__tstate
);
40314 if (PyErr_Occurred()) SWIG_fail
;
40317 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40325 static PyObject
*_wrap_IndividualLayoutConstraint_SatisfyConstraint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40326 PyObject
*resultobj
;
40327 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40328 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
40329 wxWindow
*arg3
= (wxWindow
*) 0 ;
40331 PyObject
* obj0
= 0 ;
40332 PyObject
* obj1
= 0 ;
40333 PyObject
* obj2
= 0 ;
40334 char *kwnames
[] = {
40335 (char *) "self",(char *) "constraints",(char *) "win", NULL
40338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IndividualLayoutConstraint_SatisfyConstraint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
40339 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40340 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40341 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxLayoutConstraints
,
40342 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40343 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
40344 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40347 result
= (bool)(arg1
)->SatisfyConstraint(arg2
,arg3
);
40349 wxPyEndAllowThreads(__tstate
);
40350 if (PyErr_Occurred()) SWIG_fail
;
40353 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40361 static PyObject
*_wrap_IndividualLayoutConstraint_GetEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40362 PyObject
*resultobj
;
40363 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40365 wxWindow
*arg3
= (wxWindow
*) 0 ;
40366 wxWindow
*arg4
= (wxWindow
*) 0 ;
40368 PyObject
* obj0
= 0 ;
40369 PyObject
* obj1
= 0 ;
40370 PyObject
* obj2
= 0 ;
40371 PyObject
* obj3
= 0 ;
40372 char *kwnames
[] = {
40373 (char *) "self",(char *) "which",(char *) "thisWin",(char *) "other", NULL
40376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:IndividualLayoutConstraint_GetEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
40377 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40378 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40379 arg2
= (wxEdge
) SWIG_AsInt(obj1
);
40380 if (PyErr_Occurred()) SWIG_fail
;
40381 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
40382 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40383 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
40384 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40387 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetEdge((wxEdge
)arg2
,arg3
,arg4
);
40389 wxPyEndAllowThreads(__tstate
);
40390 if (PyErr_Occurred()) SWIG_fail
;
40392 resultobj
= SWIG_FromInt((int)result
);
40399 static PyObject
* IndividualLayoutConstraint_swigregister(PyObject
*self
, PyObject
*args
) {
40401 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
40402 SWIG_TypeClientData(SWIGTYPE_p_wxIndividualLayoutConstraint
, obj
);
40404 return Py_BuildValue((char *)"");
40406 static PyObject
*_wrap_LayoutConstraints_left_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40407 PyObject
*resultobj
;
40408 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40409 wxIndividualLayoutConstraint
*result
;
40410 PyObject
* obj0
= 0 ;
40411 char *kwnames
[] = {
40412 (char *) "self", NULL
40415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_left_get",kwnames
,&obj0
)) goto fail
;
40416 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40417 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40418 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->left
);
40420 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40427 static PyObject
*_wrap_LayoutConstraints_top_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40428 PyObject
*resultobj
;
40429 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40430 wxIndividualLayoutConstraint
*result
;
40431 PyObject
* obj0
= 0 ;
40432 char *kwnames
[] = {
40433 (char *) "self", NULL
40436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_top_get",kwnames
,&obj0
)) goto fail
;
40437 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40438 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40439 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->top
);
40441 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40448 static PyObject
*_wrap_LayoutConstraints_right_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40449 PyObject
*resultobj
;
40450 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40451 wxIndividualLayoutConstraint
*result
;
40452 PyObject
* obj0
= 0 ;
40453 char *kwnames
[] = {
40454 (char *) "self", NULL
40457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_right_get",kwnames
,&obj0
)) goto fail
;
40458 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40459 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40460 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->right
);
40462 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40469 static PyObject
*_wrap_LayoutConstraints_bottom_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40470 PyObject
*resultobj
;
40471 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40472 wxIndividualLayoutConstraint
*result
;
40473 PyObject
* obj0
= 0 ;
40474 char *kwnames
[] = {
40475 (char *) "self", NULL
40478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_bottom_get",kwnames
,&obj0
)) goto fail
;
40479 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40480 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40481 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->bottom
);
40483 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40490 static PyObject
*_wrap_LayoutConstraints_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40491 PyObject
*resultobj
;
40492 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40493 wxIndividualLayoutConstraint
*result
;
40494 PyObject
* obj0
= 0 ;
40495 char *kwnames
[] = {
40496 (char *) "self", NULL
40499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_width_get",kwnames
,&obj0
)) goto fail
;
40500 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40501 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40502 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->width
);
40504 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40511 static PyObject
*_wrap_LayoutConstraints_height_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40512 PyObject
*resultobj
;
40513 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40514 wxIndividualLayoutConstraint
*result
;
40515 PyObject
* obj0
= 0 ;
40516 char *kwnames
[] = {
40517 (char *) "self", NULL
40520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_height_get",kwnames
,&obj0
)) goto fail
;
40521 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40522 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40523 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->height
);
40525 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40532 static PyObject
*_wrap_LayoutConstraints_centreX_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40533 PyObject
*resultobj
;
40534 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40535 wxIndividualLayoutConstraint
*result
;
40536 PyObject
* obj0
= 0 ;
40537 char *kwnames
[] = {
40538 (char *) "self", NULL
40541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_centreX_get",kwnames
,&obj0
)) goto fail
;
40542 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40543 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40544 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreX
);
40546 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40553 static PyObject
*_wrap_LayoutConstraints_centreY_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40554 PyObject
*resultobj
;
40555 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40556 wxIndividualLayoutConstraint
*result
;
40557 PyObject
* obj0
= 0 ;
40558 char *kwnames
[] = {
40559 (char *) "self", NULL
40562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_centreY_get",kwnames
,&obj0
)) goto fail
;
40563 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40564 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40565 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreY
);
40567 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40574 static PyObject
*_wrap_new_LayoutConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40575 PyObject
*resultobj
;
40576 wxLayoutConstraints
*result
;
40577 char *kwnames
[] = {
40581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LayoutConstraints",kwnames
)) goto fail
;
40583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40584 result
= (wxLayoutConstraints
*)new wxLayoutConstraints();
40586 wxPyEndAllowThreads(__tstate
);
40587 if (PyErr_Occurred()) SWIG_fail
;
40589 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutConstraints
, 1);
40596 static PyObject
*_wrap_LayoutConstraints_SatisfyConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40597 PyObject
*resultobj
;
40598 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40599 wxWindow
*arg2
= (wxWindow
*) 0 ;
40600 int *arg3
= (int *) 0 ;
40603 PyObject
* obj0
= 0 ;
40604 PyObject
* obj1
= 0 ;
40605 char *kwnames
[] = {
40606 (char *) "self",(char *) "win", NULL
40610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LayoutConstraints_SatisfyConstraints",kwnames
,&obj0
,&obj1
)) goto fail
;
40611 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40612 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40613 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
40614 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40617 result
= (bool)(arg1
)->SatisfyConstraints(arg2
,arg3
);
40619 wxPyEndAllowThreads(__tstate
);
40620 if (PyErr_Occurred()) SWIG_fail
;
40623 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40626 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
40627 resultobj
= t_output_helper(resultobj
,o
);
40635 static PyObject
*_wrap_LayoutConstraints_AreSatisfied(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40636 PyObject
*resultobj
;
40637 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40639 PyObject
* obj0
= 0 ;
40640 char *kwnames
[] = {
40641 (char *) "self", NULL
40644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_AreSatisfied",kwnames
,&obj0
)) goto fail
;
40645 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40646 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40649 result
= (bool)((wxLayoutConstraints
const *)arg1
)->AreSatisfied();
40651 wxPyEndAllowThreads(__tstate
);
40652 if (PyErr_Occurred()) SWIG_fail
;
40655 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40663 static PyObject
* LayoutConstraints_swigregister(PyObject
*self
, PyObject
*args
) {
40665 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
40666 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutConstraints
, obj
);
40668 return Py_BuildValue((char *)"");
40670 static PyMethodDef SwigMethods
[] = {
40671 { (char *)"_wxPySetDictionary", __wxPySetDictionary
, METH_VARARGS
},
40672 { (char *)"_wxPyFixStockObjects", __wxPyFixStockObjects
, METH_VARARGS
},
40673 { (char *)"Object_GetClassName", (PyCFunction
) _wrap_Object_GetClassName
, METH_VARARGS
| METH_KEYWORDS
},
40674 { (char *)"Object_Destroy", (PyCFunction
) _wrap_Object_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
40675 { (char *)"Object_swigregister", Object_swigregister
, METH_VARARGS
},
40676 { (char *)"Size_width_set", (PyCFunction
) _wrap_Size_width_set
, METH_VARARGS
| METH_KEYWORDS
},
40677 { (char *)"Size_width_get", (PyCFunction
) _wrap_Size_width_get
, METH_VARARGS
| METH_KEYWORDS
},
40678 { (char *)"Size_height_set", (PyCFunction
) _wrap_Size_height_set
, METH_VARARGS
| METH_KEYWORDS
},
40679 { (char *)"Size_height_get", (PyCFunction
) _wrap_Size_height_get
, METH_VARARGS
| METH_KEYWORDS
},
40680 { (char *)"new_Size", (PyCFunction
) _wrap_new_Size
, METH_VARARGS
| METH_KEYWORDS
},
40681 { (char *)"delete_Size", (PyCFunction
) _wrap_delete_Size
, METH_VARARGS
| METH_KEYWORDS
},
40682 { (char *)"Size___eq__", (PyCFunction
) _wrap_Size___eq__
, METH_VARARGS
| METH_KEYWORDS
},
40683 { (char *)"Size___ne__", (PyCFunction
) _wrap_Size___ne__
, METH_VARARGS
| METH_KEYWORDS
},
40684 { (char *)"Size___add__", (PyCFunction
) _wrap_Size___add__
, METH_VARARGS
| METH_KEYWORDS
},
40685 { (char *)"Size___sub__", (PyCFunction
) _wrap_Size___sub__
, METH_VARARGS
| METH_KEYWORDS
},
40686 { (char *)"Size_IncTo", (PyCFunction
) _wrap_Size_IncTo
, METH_VARARGS
| METH_KEYWORDS
},
40687 { (char *)"Size_DecTo", (PyCFunction
) _wrap_Size_DecTo
, METH_VARARGS
| METH_KEYWORDS
},
40688 { (char *)"Size_Set", (PyCFunction
) _wrap_Size_Set
, METH_VARARGS
| METH_KEYWORDS
},
40689 { (char *)"Size_SetWidth", (PyCFunction
) _wrap_Size_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
40690 { (char *)"Size_SetHeight", (PyCFunction
) _wrap_Size_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
40691 { (char *)"Size_GetWidth", (PyCFunction
) _wrap_Size_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
40692 { (char *)"Size_GetHeight", (PyCFunction
) _wrap_Size_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
40693 { (char *)"Size_IsFullySpecified", (PyCFunction
) _wrap_Size_IsFullySpecified
, METH_VARARGS
| METH_KEYWORDS
},
40694 { (char *)"Size_SetDefaults", (PyCFunction
) _wrap_Size_SetDefaults
, METH_VARARGS
| METH_KEYWORDS
},
40695 { (char *)"Size_Get", (PyCFunction
) _wrap_Size_Get
, METH_VARARGS
| METH_KEYWORDS
},
40696 { (char *)"Size_swigregister", Size_swigregister
, METH_VARARGS
},
40697 { (char *)"RealPoint_x_set", (PyCFunction
) _wrap_RealPoint_x_set
, METH_VARARGS
| METH_KEYWORDS
},
40698 { (char *)"RealPoint_x_get", (PyCFunction
) _wrap_RealPoint_x_get
, METH_VARARGS
| METH_KEYWORDS
},
40699 { (char *)"RealPoint_y_set", (PyCFunction
) _wrap_RealPoint_y_set
, METH_VARARGS
| METH_KEYWORDS
},
40700 { (char *)"RealPoint_y_get", (PyCFunction
) _wrap_RealPoint_y_get
, METH_VARARGS
| METH_KEYWORDS
},
40701 { (char *)"new_RealPoint", (PyCFunction
) _wrap_new_RealPoint
, METH_VARARGS
| METH_KEYWORDS
},
40702 { (char *)"delete_RealPoint", (PyCFunction
) _wrap_delete_RealPoint
, METH_VARARGS
| METH_KEYWORDS
},
40703 { (char *)"RealPoint___eq__", (PyCFunction
) _wrap_RealPoint___eq__
, METH_VARARGS
| METH_KEYWORDS
},
40704 { (char *)"RealPoint___ne__", (PyCFunction
) _wrap_RealPoint___ne__
, METH_VARARGS
| METH_KEYWORDS
},
40705 { (char *)"RealPoint___add__", (PyCFunction
) _wrap_RealPoint___add__
, METH_VARARGS
| METH_KEYWORDS
},
40706 { (char *)"RealPoint___sub__", (PyCFunction
) _wrap_RealPoint___sub__
, METH_VARARGS
| METH_KEYWORDS
},
40707 { (char *)"RealPoint_Set", (PyCFunction
) _wrap_RealPoint_Set
, METH_VARARGS
| METH_KEYWORDS
},
40708 { (char *)"RealPoint_Get", (PyCFunction
) _wrap_RealPoint_Get
, METH_VARARGS
| METH_KEYWORDS
},
40709 { (char *)"RealPoint_swigregister", RealPoint_swigregister
, METH_VARARGS
},
40710 { (char *)"Point_x_set", (PyCFunction
) _wrap_Point_x_set
, METH_VARARGS
| METH_KEYWORDS
},
40711 { (char *)"Point_x_get", (PyCFunction
) _wrap_Point_x_get
, METH_VARARGS
| METH_KEYWORDS
},
40712 { (char *)"Point_y_set", (PyCFunction
) _wrap_Point_y_set
, METH_VARARGS
| METH_KEYWORDS
},
40713 { (char *)"Point_y_get", (PyCFunction
) _wrap_Point_y_get
, METH_VARARGS
| METH_KEYWORDS
},
40714 { (char *)"new_Point", (PyCFunction
) _wrap_new_Point
, METH_VARARGS
| METH_KEYWORDS
},
40715 { (char *)"delete_Point", (PyCFunction
) _wrap_delete_Point
, METH_VARARGS
| METH_KEYWORDS
},
40716 { (char *)"Point___eq__", (PyCFunction
) _wrap_Point___eq__
, METH_VARARGS
| METH_KEYWORDS
},
40717 { (char *)"Point___ne__", (PyCFunction
) _wrap_Point___ne__
, METH_VARARGS
| METH_KEYWORDS
},
40718 { (char *)"Point___add__", (PyCFunction
) _wrap_Point___add__
, METH_VARARGS
| METH_KEYWORDS
},
40719 { (char *)"Point___sub__", (PyCFunction
) _wrap_Point___sub__
, METH_VARARGS
| METH_KEYWORDS
},
40720 { (char *)"Point___iadd__", (PyCFunction
) _wrap_Point___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
40721 { (char *)"Point___isub__", (PyCFunction
) _wrap_Point___isub__
, METH_VARARGS
| METH_KEYWORDS
},
40722 { (char *)"Point_Set", (PyCFunction
) _wrap_Point_Set
, METH_VARARGS
| METH_KEYWORDS
},
40723 { (char *)"Point_Get", (PyCFunction
) _wrap_Point_Get
, METH_VARARGS
| METH_KEYWORDS
},
40724 { (char *)"Point_swigregister", Point_swigregister
, METH_VARARGS
},
40725 { (char *)"new_Rect", (PyCFunction
) _wrap_new_Rect
, METH_VARARGS
| METH_KEYWORDS
},
40726 { (char *)"new_RectPP", (PyCFunction
) _wrap_new_RectPP
, METH_VARARGS
| METH_KEYWORDS
},
40727 { (char *)"new_RectPS", (PyCFunction
) _wrap_new_RectPS
, METH_VARARGS
| METH_KEYWORDS
},
40728 { (char *)"delete_Rect", (PyCFunction
) _wrap_delete_Rect
, METH_VARARGS
| METH_KEYWORDS
},
40729 { (char *)"Rect_GetX", (PyCFunction
) _wrap_Rect_GetX
, METH_VARARGS
| METH_KEYWORDS
},
40730 { (char *)"Rect_SetX", (PyCFunction
) _wrap_Rect_SetX
, METH_VARARGS
| METH_KEYWORDS
},
40731 { (char *)"Rect_GetY", (PyCFunction
) _wrap_Rect_GetY
, METH_VARARGS
| METH_KEYWORDS
},
40732 { (char *)"Rect_SetY", (PyCFunction
) _wrap_Rect_SetY
, METH_VARARGS
| METH_KEYWORDS
},
40733 { (char *)"Rect_GetWidth", (PyCFunction
) _wrap_Rect_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
40734 { (char *)"Rect_SetWidth", (PyCFunction
) _wrap_Rect_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
40735 { (char *)"Rect_GetHeight", (PyCFunction
) _wrap_Rect_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
40736 { (char *)"Rect_SetHeight", (PyCFunction
) _wrap_Rect_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
40737 { (char *)"Rect_GetPosition", (PyCFunction
) _wrap_Rect_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40738 { (char *)"Rect_SetPosition", (PyCFunction
) _wrap_Rect_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40739 { (char *)"Rect_GetSize", (PyCFunction
) _wrap_Rect_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
40740 { (char *)"Rect_SetSize", (PyCFunction
) _wrap_Rect_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
40741 { (char *)"Rect_GetTopLeft", (PyCFunction
) _wrap_Rect_GetTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
40742 { (char *)"Rect_SetTopLeft", (PyCFunction
) _wrap_Rect_SetTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
40743 { (char *)"Rect_GetBottomRight", (PyCFunction
) _wrap_Rect_GetBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
40744 { (char *)"Rect_SetBottomRight", (PyCFunction
) _wrap_Rect_SetBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
40745 { (char *)"Rect_GetLeft", (PyCFunction
) _wrap_Rect_GetLeft
, METH_VARARGS
| METH_KEYWORDS
},
40746 { (char *)"Rect_GetTop", (PyCFunction
) _wrap_Rect_GetTop
, METH_VARARGS
| METH_KEYWORDS
},
40747 { (char *)"Rect_GetBottom", (PyCFunction
) _wrap_Rect_GetBottom
, METH_VARARGS
| METH_KEYWORDS
},
40748 { (char *)"Rect_GetRight", (PyCFunction
) _wrap_Rect_GetRight
, METH_VARARGS
| METH_KEYWORDS
},
40749 { (char *)"Rect_SetLeft", (PyCFunction
) _wrap_Rect_SetLeft
, METH_VARARGS
| METH_KEYWORDS
},
40750 { (char *)"Rect_SetRight", (PyCFunction
) _wrap_Rect_SetRight
, METH_VARARGS
| METH_KEYWORDS
},
40751 { (char *)"Rect_SetTop", (PyCFunction
) _wrap_Rect_SetTop
, METH_VARARGS
| METH_KEYWORDS
},
40752 { (char *)"Rect_SetBottom", (PyCFunction
) _wrap_Rect_SetBottom
, METH_VARARGS
| METH_KEYWORDS
},
40753 { (char *)"Rect_Inflate", (PyCFunction
) _wrap_Rect_Inflate
, METH_VARARGS
| METH_KEYWORDS
},
40754 { (char *)"Rect_Deflate", (PyCFunction
) _wrap_Rect_Deflate
, METH_VARARGS
| METH_KEYWORDS
},
40755 { (char *)"Rect_OffsetXY", (PyCFunction
) _wrap_Rect_OffsetXY
, METH_VARARGS
| METH_KEYWORDS
},
40756 { (char *)"Rect_Offset", (PyCFunction
) _wrap_Rect_Offset
, METH_VARARGS
| METH_KEYWORDS
},
40757 { (char *)"Rect_Intersect", (PyCFunction
) _wrap_Rect_Intersect
, METH_VARARGS
| METH_KEYWORDS
},
40758 { (char *)"Rect___add__", (PyCFunction
) _wrap_Rect___add__
, METH_VARARGS
| METH_KEYWORDS
},
40759 { (char *)"Rect___iadd__", (PyCFunction
) _wrap_Rect___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
40760 { (char *)"Rect___eq__", (PyCFunction
) _wrap_Rect___eq__
, METH_VARARGS
| METH_KEYWORDS
},
40761 { (char *)"Rect___ne__", (PyCFunction
) _wrap_Rect___ne__
, METH_VARARGS
| METH_KEYWORDS
},
40762 { (char *)"Rect_InsideXY", (PyCFunction
) _wrap_Rect_InsideXY
, METH_VARARGS
| METH_KEYWORDS
},
40763 { (char *)"Rect_Inside", (PyCFunction
) _wrap_Rect_Inside
, METH_VARARGS
| METH_KEYWORDS
},
40764 { (char *)"Rect_Intersects", (PyCFunction
) _wrap_Rect_Intersects
, METH_VARARGS
| METH_KEYWORDS
},
40765 { (char *)"Rect_x_set", (PyCFunction
) _wrap_Rect_x_set
, METH_VARARGS
| METH_KEYWORDS
},
40766 { (char *)"Rect_x_get", (PyCFunction
) _wrap_Rect_x_get
, METH_VARARGS
| METH_KEYWORDS
},
40767 { (char *)"Rect_y_set", (PyCFunction
) _wrap_Rect_y_set
, METH_VARARGS
| METH_KEYWORDS
},
40768 { (char *)"Rect_y_get", (PyCFunction
) _wrap_Rect_y_get
, METH_VARARGS
| METH_KEYWORDS
},
40769 { (char *)"Rect_width_set", (PyCFunction
) _wrap_Rect_width_set
, METH_VARARGS
| METH_KEYWORDS
},
40770 { (char *)"Rect_width_get", (PyCFunction
) _wrap_Rect_width_get
, METH_VARARGS
| METH_KEYWORDS
},
40771 { (char *)"Rect_height_set", (PyCFunction
) _wrap_Rect_height_set
, METH_VARARGS
| METH_KEYWORDS
},
40772 { (char *)"Rect_height_get", (PyCFunction
) _wrap_Rect_height_get
, METH_VARARGS
| METH_KEYWORDS
},
40773 { (char *)"Rect_Set", (PyCFunction
) _wrap_Rect_Set
, METH_VARARGS
| METH_KEYWORDS
},
40774 { (char *)"Rect_Get", (PyCFunction
) _wrap_Rect_Get
, METH_VARARGS
| METH_KEYWORDS
},
40775 { (char *)"Rect_swigregister", Rect_swigregister
, METH_VARARGS
},
40776 { (char *)"IntersectRect", (PyCFunction
) _wrap_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
},
40777 { (char *)"new_Point2D", (PyCFunction
) _wrap_new_Point2D
, METH_VARARGS
| METH_KEYWORDS
},
40778 { (char *)"new_Point2DCopy", (PyCFunction
) _wrap_new_Point2DCopy
, METH_VARARGS
| METH_KEYWORDS
},
40779 { (char *)"new_Point2DFromPoint", (PyCFunction
) _wrap_new_Point2DFromPoint
, METH_VARARGS
| METH_KEYWORDS
},
40780 { (char *)"Point2D_GetFloor", (PyCFunction
) _wrap_Point2D_GetFloor
, METH_VARARGS
| METH_KEYWORDS
},
40781 { (char *)"Point2D_GetRounded", (PyCFunction
) _wrap_Point2D_GetRounded
, METH_VARARGS
| METH_KEYWORDS
},
40782 { (char *)"Point2D_GetVectorLength", (PyCFunction
) _wrap_Point2D_GetVectorLength
, METH_VARARGS
| METH_KEYWORDS
},
40783 { (char *)"Point2D_GetVectorAngle", (PyCFunction
) _wrap_Point2D_GetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
},
40784 { (char *)"Point2D_SetVectorLength", (PyCFunction
) _wrap_Point2D_SetVectorLength
, METH_VARARGS
| METH_KEYWORDS
},
40785 { (char *)"Point2D_SetVectorAngle", (PyCFunction
) _wrap_Point2D_SetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
},
40786 { (char *)"Point2D_GetDistance", (PyCFunction
) _wrap_Point2D_GetDistance
, METH_VARARGS
| METH_KEYWORDS
},
40787 { (char *)"Point2D_GetDistanceSquare", (PyCFunction
) _wrap_Point2D_GetDistanceSquare
, METH_VARARGS
| METH_KEYWORDS
},
40788 { (char *)"Point2D_GetDotProduct", (PyCFunction
) _wrap_Point2D_GetDotProduct
, METH_VARARGS
| METH_KEYWORDS
},
40789 { (char *)"Point2D_GetCrossProduct", (PyCFunction
) _wrap_Point2D_GetCrossProduct
, METH_VARARGS
| METH_KEYWORDS
},
40790 { (char *)"Point2D___neg__", (PyCFunction
) _wrap_Point2D___neg__
, METH_VARARGS
| METH_KEYWORDS
},
40791 { (char *)"Point2D___iadd__", (PyCFunction
) _wrap_Point2D___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
40792 { (char *)"Point2D___isub__", (PyCFunction
) _wrap_Point2D___isub__
, METH_VARARGS
| METH_KEYWORDS
},
40793 { (char *)"Point2D___imul__", (PyCFunction
) _wrap_Point2D___imul__
, METH_VARARGS
| METH_KEYWORDS
},
40794 { (char *)"Point2D___idiv__", (PyCFunction
) _wrap_Point2D___idiv__
, METH_VARARGS
| METH_KEYWORDS
},
40795 { (char *)"Point2D___eq__", (PyCFunction
) _wrap_Point2D___eq__
, METH_VARARGS
| METH_KEYWORDS
},
40796 { (char *)"Point2D___ne__", (PyCFunction
) _wrap_Point2D___ne__
, METH_VARARGS
| METH_KEYWORDS
},
40797 { (char *)"Point2D_x_set", (PyCFunction
) _wrap_Point2D_x_set
, METH_VARARGS
| METH_KEYWORDS
},
40798 { (char *)"Point2D_x_get", (PyCFunction
) _wrap_Point2D_x_get
, METH_VARARGS
| METH_KEYWORDS
},
40799 { (char *)"Point2D_y_set", (PyCFunction
) _wrap_Point2D_y_set
, METH_VARARGS
| METH_KEYWORDS
},
40800 { (char *)"Point2D_y_get", (PyCFunction
) _wrap_Point2D_y_get
, METH_VARARGS
| METH_KEYWORDS
},
40801 { (char *)"Point2D_Set", (PyCFunction
) _wrap_Point2D_Set
, METH_VARARGS
| METH_KEYWORDS
},
40802 { (char *)"Point2D_Get", (PyCFunction
) _wrap_Point2D_Get
, METH_VARARGS
| METH_KEYWORDS
},
40803 { (char *)"Point2D_swigregister", Point2D_swigregister
, METH_VARARGS
},
40804 { (char *)"new_InputStream", (PyCFunction
) _wrap_new_InputStream
, METH_VARARGS
| METH_KEYWORDS
},
40805 { (char *)"InputStream_close", (PyCFunction
) _wrap_InputStream_close
, METH_VARARGS
| METH_KEYWORDS
},
40806 { (char *)"InputStream_flush", (PyCFunction
) _wrap_InputStream_flush
, METH_VARARGS
| METH_KEYWORDS
},
40807 { (char *)"InputStream_eof", (PyCFunction
) _wrap_InputStream_eof
, METH_VARARGS
| METH_KEYWORDS
},
40808 { (char *)"InputStream_read", (PyCFunction
) _wrap_InputStream_read
, METH_VARARGS
| METH_KEYWORDS
},
40809 { (char *)"InputStream_readline", (PyCFunction
) _wrap_InputStream_readline
, METH_VARARGS
| METH_KEYWORDS
},
40810 { (char *)"InputStream_readlines", (PyCFunction
) _wrap_InputStream_readlines
, METH_VARARGS
| METH_KEYWORDS
},
40811 { (char *)"InputStream_seek", (PyCFunction
) _wrap_InputStream_seek
, METH_VARARGS
| METH_KEYWORDS
},
40812 { (char *)"InputStream_tell", (PyCFunction
) _wrap_InputStream_tell
, METH_VARARGS
| METH_KEYWORDS
},
40813 { (char *)"InputStream_Peek", (PyCFunction
) _wrap_InputStream_Peek
, METH_VARARGS
| METH_KEYWORDS
},
40814 { (char *)"InputStream_GetC", (PyCFunction
) _wrap_InputStream_GetC
, METH_VARARGS
| METH_KEYWORDS
},
40815 { (char *)"InputStream_LastRead", (PyCFunction
) _wrap_InputStream_LastRead
, METH_VARARGS
| METH_KEYWORDS
},
40816 { (char *)"InputStream_CanRead", (PyCFunction
) _wrap_InputStream_CanRead
, METH_VARARGS
| METH_KEYWORDS
},
40817 { (char *)"InputStream_Eof", (PyCFunction
) _wrap_InputStream_Eof
, METH_VARARGS
| METH_KEYWORDS
},
40818 { (char *)"InputStream_Ungetch", (PyCFunction
) _wrap_InputStream_Ungetch
, METH_VARARGS
| METH_KEYWORDS
},
40819 { (char *)"InputStream_SeekI", (PyCFunction
) _wrap_InputStream_SeekI
, METH_VARARGS
| METH_KEYWORDS
},
40820 { (char *)"InputStream_TellI", (PyCFunction
) _wrap_InputStream_TellI
, METH_VARARGS
| METH_KEYWORDS
},
40821 { (char *)"InputStream_swigregister", InputStream_swigregister
, METH_VARARGS
},
40822 { (char *)"OutputStream_write", (PyCFunction
) _wrap_OutputStream_write
, METH_VARARGS
| METH_KEYWORDS
},
40823 { (char *)"OutputStream_swigregister", OutputStream_swigregister
, METH_VARARGS
},
40824 { (char *)"new_FSFile", (PyCFunction
) _wrap_new_FSFile
, METH_VARARGS
| METH_KEYWORDS
},
40825 { (char *)"delete_FSFile", (PyCFunction
) _wrap_delete_FSFile
, METH_VARARGS
| METH_KEYWORDS
},
40826 { (char *)"FSFile_GetStream", (PyCFunction
) _wrap_FSFile_GetStream
, METH_VARARGS
| METH_KEYWORDS
},
40827 { (char *)"FSFile_GetMimeType", (PyCFunction
) _wrap_FSFile_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
40828 { (char *)"FSFile_GetLocation", (PyCFunction
) _wrap_FSFile_GetLocation
, METH_VARARGS
| METH_KEYWORDS
},
40829 { (char *)"FSFile_GetAnchor", (PyCFunction
) _wrap_FSFile_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
},
40830 { (char *)"FSFile_GetModificationTime", (PyCFunction
) _wrap_FSFile_GetModificationTime
, METH_VARARGS
| METH_KEYWORDS
},
40831 { (char *)"FSFile_swigregister", FSFile_swigregister
, METH_VARARGS
},
40832 { (char *)"CPPFileSystemHandler_swigregister", CPPFileSystemHandler_swigregister
, METH_VARARGS
},
40833 { (char *)"new_FileSystemHandler", (PyCFunction
) _wrap_new_FileSystemHandler
, METH_VARARGS
| METH_KEYWORDS
},
40834 { (char *)"FileSystemHandler__setCallbackInfo", (PyCFunction
) _wrap_FileSystemHandler__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
40835 { (char *)"FileSystemHandler_CanOpen", (PyCFunction
) _wrap_FileSystemHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
},
40836 { (char *)"FileSystemHandler_OpenFile", (PyCFunction
) _wrap_FileSystemHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
40837 { (char *)"FileSystemHandler_FindFirst", (PyCFunction
) _wrap_FileSystemHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
},
40838 { (char *)"FileSystemHandler_FindNext", (PyCFunction
) _wrap_FileSystemHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
},
40839 { (char *)"FileSystemHandler_GetProtocol", (PyCFunction
) _wrap_FileSystemHandler_GetProtocol
, METH_VARARGS
| METH_KEYWORDS
},
40840 { (char *)"FileSystemHandler_GetLeftLocation", (PyCFunction
) _wrap_FileSystemHandler_GetLeftLocation
, METH_VARARGS
| METH_KEYWORDS
},
40841 { (char *)"FileSystemHandler_GetAnchor", (PyCFunction
) _wrap_FileSystemHandler_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
},
40842 { (char *)"FileSystemHandler_GetRightLocation", (PyCFunction
) _wrap_FileSystemHandler_GetRightLocation
, METH_VARARGS
| METH_KEYWORDS
},
40843 { (char *)"FileSystemHandler_GetMimeTypeFromExt", (PyCFunction
) _wrap_FileSystemHandler_GetMimeTypeFromExt
, METH_VARARGS
| METH_KEYWORDS
},
40844 { (char *)"FileSystemHandler_swigregister", FileSystemHandler_swigregister
, METH_VARARGS
},
40845 { (char *)"new_FileSystem", (PyCFunction
) _wrap_new_FileSystem
, METH_VARARGS
| METH_KEYWORDS
},
40846 { (char *)"delete_FileSystem", (PyCFunction
) _wrap_delete_FileSystem
, METH_VARARGS
| METH_KEYWORDS
},
40847 { (char *)"FileSystem_ChangePathTo", (PyCFunction
) _wrap_FileSystem_ChangePathTo
, METH_VARARGS
| METH_KEYWORDS
},
40848 { (char *)"FileSystem_GetPath", (PyCFunction
) _wrap_FileSystem_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
40849 { (char *)"FileSystem_OpenFile", (PyCFunction
) _wrap_FileSystem_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
40850 { (char *)"FileSystem_FindFirst", (PyCFunction
) _wrap_FileSystem_FindFirst
, METH_VARARGS
| METH_KEYWORDS
},
40851 { (char *)"FileSystem_FindNext", (PyCFunction
) _wrap_FileSystem_FindNext
, METH_VARARGS
| METH_KEYWORDS
},
40852 { (char *)"FileSystem_AddHandler", (PyCFunction
) _wrap_FileSystem_AddHandler
, METH_VARARGS
| METH_KEYWORDS
},
40853 { (char *)"FileSystem_CleanUpHandlers", (PyCFunction
) _wrap_FileSystem_CleanUpHandlers
, METH_VARARGS
| METH_KEYWORDS
},
40854 { (char *)"FileSystem_FileNameToURL", (PyCFunction
) _wrap_FileSystem_FileNameToURL
, METH_VARARGS
| METH_KEYWORDS
},
40855 { (char *)"FileSystem_swigregister", FileSystem_swigregister
, METH_VARARGS
},
40856 { (char *)"FileSystem_URLToFileName", (PyCFunction
) _wrap_FileSystem_URLToFileName
, METH_VARARGS
| METH_KEYWORDS
},
40857 { (char *)"new_InternetFSHandler", (PyCFunction
) _wrap_new_InternetFSHandler
, METH_VARARGS
| METH_KEYWORDS
},
40858 { (char *)"InternetFSHandler_CanOpen", (PyCFunction
) _wrap_InternetFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
},
40859 { (char *)"InternetFSHandler_OpenFile", (PyCFunction
) _wrap_InternetFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
40860 { (char *)"InternetFSHandler_swigregister", InternetFSHandler_swigregister
, METH_VARARGS
},
40861 { (char *)"new_ZipFSHandler", (PyCFunction
) _wrap_new_ZipFSHandler
, METH_VARARGS
| METH_KEYWORDS
},
40862 { (char *)"ZipFSHandler_CanOpen", (PyCFunction
) _wrap_ZipFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
},
40863 { (char *)"ZipFSHandler_OpenFile", (PyCFunction
) _wrap_ZipFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
40864 { (char *)"ZipFSHandler_FindFirst", (PyCFunction
) _wrap_ZipFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
},
40865 { (char *)"ZipFSHandler_FindNext", (PyCFunction
) _wrap_ZipFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
},
40866 { (char *)"ZipFSHandler_swigregister", ZipFSHandler_swigregister
, METH_VARARGS
},
40867 { (char *)"__wxMemoryFSHandler_AddFile_wxImage", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxImage
, METH_VARARGS
| METH_KEYWORDS
},
40868 { (char *)"__wxMemoryFSHandler_AddFile_wxBitmap", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxBitmap
, METH_VARARGS
| METH_KEYWORDS
},
40869 { (char *)"__wxMemoryFSHandler_AddFile_Data", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_Data
, METH_VARARGS
| METH_KEYWORDS
},
40870 { (char *)"new_MemoryFSHandler", (PyCFunction
) _wrap_new_MemoryFSHandler
, METH_VARARGS
| METH_KEYWORDS
},
40871 { (char *)"MemoryFSHandler_RemoveFile", (PyCFunction
) _wrap_MemoryFSHandler_RemoveFile
, METH_VARARGS
| METH_KEYWORDS
},
40872 { (char *)"MemoryFSHandler_CanOpen", (PyCFunction
) _wrap_MemoryFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
},
40873 { (char *)"MemoryFSHandler_OpenFile", (PyCFunction
) _wrap_MemoryFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
40874 { (char *)"MemoryFSHandler_FindFirst", (PyCFunction
) _wrap_MemoryFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
},
40875 { (char *)"MemoryFSHandler_FindNext", (PyCFunction
) _wrap_MemoryFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
},
40876 { (char *)"MemoryFSHandler_swigregister", MemoryFSHandler_swigregister
, METH_VARARGS
},
40877 { (char *)"ImageHandler_GetName", (PyCFunction
) _wrap_ImageHandler_GetName
, METH_VARARGS
| METH_KEYWORDS
},
40878 { (char *)"ImageHandler_GetExtension", (PyCFunction
) _wrap_ImageHandler_GetExtension
, METH_VARARGS
| METH_KEYWORDS
},
40879 { (char *)"ImageHandler_GetType", (PyCFunction
) _wrap_ImageHandler_GetType
, METH_VARARGS
| METH_KEYWORDS
},
40880 { (char *)"ImageHandler_GetMimeType", (PyCFunction
) _wrap_ImageHandler_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
40881 { (char *)"ImageHandler_CanRead", (PyCFunction
) _wrap_ImageHandler_CanRead
, METH_VARARGS
| METH_KEYWORDS
},
40882 { (char *)"ImageHandler_SetName", (PyCFunction
) _wrap_ImageHandler_SetName
, METH_VARARGS
| METH_KEYWORDS
},
40883 { (char *)"ImageHandler_SetExtension", (PyCFunction
) _wrap_ImageHandler_SetExtension
, METH_VARARGS
| METH_KEYWORDS
},
40884 { (char *)"ImageHandler_SetType", (PyCFunction
) _wrap_ImageHandler_SetType
, METH_VARARGS
| METH_KEYWORDS
},
40885 { (char *)"ImageHandler_SetMimeType", (PyCFunction
) _wrap_ImageHandler_SetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
40886 { (char *)"ImageHandler_swigregister", ImageHandler_swigregister
, METH_VARARGS
},
40887 { (char *)"new_ImageHistogram", (PyCFunction
) _wrap_new_ImageHistogram
, METH_VARARGS
| METH_KEYWORDS
},
40888 { (char *)"ImageHistogram_MakeKey", (PyCFunction
) _wrap_ImageHistogram_MakeKey
, METH_VARARGS
| METH_KEYWORDS
},
40889 { (char *)"ImageHistogram_FindFirstUnusedColour", (PyCFunction
) _wrap_ImageHistogram_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
},
40890 { (char *)"ImageHistogram_swigregister", ImageHistogram_swigregister
, METH_VARARGS
},
40891 { (char *)"new_Image", (PyCFunction
) _wrap_new_Image
, METH_VARARGS
| METH_KEYWORDS
},
40892 { (char *)"delete_Image", (PyCFunction
) _wrap_delete_Image
, METH_VARARGS
| METH_KEYWORDS
},
40893 { (char *)"new_ImageFromMime", (PyCFunction
) _wrap_new_ImageFromMime
, METH_VARARGS
| METH_KEYWORDS
},
40894 { (char *)"new_ImageFromStream", (PyCFunction
) _wrap_new_ImageFromStream
, METH_VARARGS
| METH_KEYWORDS
},
40895 { (char *)"new_ImageFromStreamMime", (PyCFunction
) _wrap_new_ImageFromStreamMime
, METH_VARARGS
| METH_KEYWORDS
},
40896 { (char *)"new_EmptyImage", (PyCFunction
) _wrap_new_EmptyImage
, METH_VARARGS
| METH_KEYWORDS
},
40897 { (char *)"new_ImageFromBitmap", (PyCFunction
) _wrap_new_ImageFromBitmap
, METH_VARARGS
| METH_KEYWORDS
},
40898 { (char *)"new_ImageFromData", (PyCFunction
) _wrap_new_ImageFromData
, METH_VARARGS
| METH_KEYWORDS
},
40899 { (char *)"Image_Create", (PyCFunction
) _wrap_Image_Create
, METH_VARARGS
| METH_KEYWORDS
},
40900 { (char *)"Image_Destroy", (PyCFunction
) _wrap_Image_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
40901 { (char *)"Image_Scale", (PyCFunction
) _wrap_Image_Scale
, METH_VARARGS
| METH_KEYWORDS
},
40902 { (char *)"Image_ShrinkBy", (PyCFunction
) _wrap_Image_ShrinkBy
, METH_VARARGS
| METH_KEYWORDS
},
40903 { (char *)"Image_Rescale", (PyCFunction
) _wrap_Image_Rescale
, METH_VARARGS
| METH_KEYWORDS
},
40904 { (char *)"Image_SetRGB", (PyCFunction
) _wrap_Image_SetRGB
, METH_VARARGS
| METH_KEYWORDS
},
40905 { (char *)"Image_GetRed", (PyCFunction
) _wrap_Image_GetRed
, METH_VARARGS
| METH_KEYWORDS
},
40906 { (char *)"Image_GetGreen", (PyCFunction
) _wrap_Image_GetGreen
, METH_VARARGS
| METH_KEYWORDS
},
40907 { (char *)"Image_GetBlue", (PyCFunction
) _wrap_Image_GetBlue
, METH_VARARGS
| METH_KEYWORDS
},
40908 { (char *)"Image_SetAlpha", (PyCFunction
) _wrap_Image_SetAlpha
, METH_VARARGS
| METH_KEYWORDS
},
40909 { (char *)"Image_GetAlpha", (PyCFunction
) _wrap_Image_GetAlpha
, METH_VARARGS
| METH_KEYWORDS
},
40910 { (char *)"Image_HasAlpha", (PyCFunction
) _wrap_Image_HasAlpha
, METH_VARARGS
| METH_KEYWORDS
},
40911 { (char *)"Image_FindFirstUnusedColour", (PyCFunction
) _wrap_Image_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
},
40912 { (char *)"Image_SetMaskFromImage", (PyCFunction
) _wrap_Image_SetMaskFromImage
, METH_VARARGS
| METH_KEYWORDS
},
40913 { (char *)"Image_CanRead", (PyCFunction
) _wrap_Image_CanRead
, METH_VARARGS
| METH_KEYWORDS
},
40914 { (char *)"Image_GetImageCount", (PyCFunction
) _wrap_Image_GetImageCount
, METH_VARARGS
| METH_KEYWORDS
},
40915 { (char *)"Image_LoadFile", (PyCFunction
) _wrap_Image_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
40916 { (char *)"Image_LoadMimeFile", (PyCFunction
) _wrap_Image_LoadMimeFile
, METH_VARARGS
| METH_KEYWORDS
},
40917 { (char *)"Image_SaveFile", (PyCFunction
) _wrap_Image_SaveFile
, METH_VARARGS
| METH_KEYWORDS
},
40918 { (char *)"Image_SaveMimeFile", (PyCFunction
) _wrap_Image_SaveMimeFile
, METH_VARARGS
| METH_KEYWORDS
},
40919 { (char *)"Image_CanReadStream", (PyCFunction
) _wrap_Image_CanReadStream
, METH_VARARGS
| METH_KEYWORDS
},
40920 { (char *)"Image_LoadStream", (PyCFunction
) _wrap_Image_LoadStream
, METH_VARARGS
| METH_KEYWORDS
},
40921 { (char *)"Image_LoadMimeStream", (PyCFunction
) _wrap_Image_LoadMimeStream
, METH_VARARGS
| METH_KEYWORDS
},
40922 { (char *)"Image_Ok", (PyCFunction
) _wrap_Image_Ok
, METH_VARARGS
| METH_KEYWORDS
},
40923 { (char *)"Image_GetWidth", (PyCFunction
) _wrap_Image_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
40924 { (char *)"Image_GetHeight", (PyCFunction
) _wrap_Image_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
40925 { (char *)"Image_GetSize", (PyCFunction
) _wrap_Image_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
40926 { (char *)"Image_GetSubImage", (PyCFunction
) _wrap_Image_GetSubImage
, METH_VARARGS
| METH_KEYWORDS
},
40927 { (char *)"Image_Copy", (PyCFunction
) _wrap_Image_Copy
, METH_VARARGS
| METH_KEYWORDS
},
40928 { (char *)"Image_Paste", (PyCFunction
) _wrap_Image_Paste
, METH_VARARGS
| METH_KEYWORDS
},
40929 { (char *)"Image_GetData", (PyCFunction
) _wrap_Image_GetData
, METH_VARARGS
| METH_KEYWORDS
},
40930 { (char *)"Image_SetData", (PyCFunction
) _wrap_Image_SetData
, METH_VARARGS
| METH_KEYWORDS
},
40931 { (char *)"Image_GetDataBuffer", (PyCFunction
) _wrap_Image_GetDataBuffer
, METH_VARARGS
| METH_KEYWORDS
},
40932 { (char *)"Image_SetDataBuffer", (PyCFunction
) _wrap_Image_SetDataBuffer
, METH_VARARGS
| METH_KEYWORDS
},
40933 { (char *)"Image_GetAlphaData", (PyCFunction
) _wrap_Image_GetAlphaData
, METH_VARARGS
| METH_KEYWORDS
},
40934 { (char *)"Image_SetAlphaData", (PyCFunction
) _wrap_Image_SetAlphaData
, METH_VARARGS
| METH_KEYWORDS
},
40935 { (char *)"Image_GetAlphaBuffer", (PyCFunction
) _wrap_Image_GetAlphaBuffer
, METH_VARARGS
| METH_KEYWORDS
},
40936 { (char *)"Image_SetAlphaBuffer", (PyCFunction
) _wrap_Image_SetAlphaBuffer
, METH_VARARGS
| METH_KEYWORDS
},
40937 { (char *)"Image_SetMaskColour", (PyCFunction
) _wrap_Image_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
},
40938 { (char *)"Image_GetMaskRed", (PyCFunction
) _wrap_Image_GetMaskRed
, METH_VARARGS
| METH_KEYWORDS
},
40939 { (char *)"Image_GetMaskGreen", (PyCFunction
) _wrap_Image_GetMaskGreen
, METH_VARARGS
| METH_KEYWORDS
},
40940 { (char *)"Image_GetMaskBlue", (PyCFunction
) _wrap_Image_GetMaskBlue
, METH_VARARGS
| METH_KEYWORDS
},
40941 { (char *)"Image_SetMask", (PyCFunction
) _wrap_Image_SetMask
, METH_VARARGS
| METH_KEYWORDS
},
40942 { (char *)"Image_HasMask", (PyCFunction
) _wrap_Image_HasMask
, METH_VARARGS
| METH_KEYWORDS
},
40943 { (char *)"Image_Rotate", (PyCFunction
) _wrap_Image_Rotate
, METH_VARARGS
| METH_KEYWORDS
},
40944 { (char *)"Image_Rotate90", (PyCFunction
) _wrap_Image_Rotate90
, METH_VARARGS
| METH_KEYWORDS
},
40945 { (char *)"Image_Mirror", (PyCFunction
) _wrap_Image_Mirror
, METH_VARARGS
| METH_KEYWORDS
},
40946 { (char *)"Image_Replace", (PyCFunction
) _wrap_Image_Replace
, METH_VARARGS
| METH_KEYWORDS
},
40947 { (char *)"Image_ConvertToMono", (PyCFunction
) _wrap_Image_ConvertToMono
, METH_VARARGS
| METH_KEYWORDS
},
40948 { (char *)"Image_SetOption", (PyCFunction
) _wrap_Image_SetOption
, METH_VARARGS
| METH_KEYWORDS
},
40949 { (char *)"Image_SetOptionInt", (PyCFunction
) _wrap_Image_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
},
40950 { (char *)"Image_GetOption", (PyCFunction
) _wrap_Image_GetOption
, METH_VARARGS
| METH_KEYWORDS
},
40951 { (char *)"Image_GetOptionInt", (PyCFunction
) _wrap_Image_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
},
40952 { (char *)"Image_HasOption", (PyCFunction
) _wrap_Image_HasOption
, METH_VARARGS
| METH_KEYWORDS
},
40953 { (char *)"Image_CountColours", (PyCFunction
) _wrap_Image_CountColours
, METH_VARARGS
| METH_KEYWORDS
},
40954 { (char *)"Image_ComputeHistogram", (PyCFunction
) _wrap_Image_ComputeHistogram
, METH_VARARGS
| METH_KEYWORDS
},
40955 { (char *)"Image_AddHandler", (PyCFunction
) _wrap_Image_AddHandler
, METH_VARARGS
| METH_KEYWORDS
},
40956 { (char *)"Image_InsertHandler", (PyCFunction
) _wrap_Image_InsertHandler
, METH_VARARGS
| METH_KEYWORDS
},
40957 { (char *)"Image_RemoveHandler", (PyCFunction
) _wrap_Image_RemoveHandler
, METH_VARARGS
| METH_KEYWORDS
},
40958 { (char *)"Image_GetImageExtWildcard", (PyCFunction
) _wrap_Image_GetImageExtWildcard
, METH_VARARGS
| METH_KEYWORDS
},
40959 { (char *)"Image_ConvertToBitmap", (PyCFunction
) _wrap_Image_ConvertToBitmap
, METH_VARARGS
| METH_KEYWORDS
},
40960 { (char *)"Image_ConvertToMonoBitmap", (PyCFunction
) _wrap_Image_ConvertToMonoBitmap
, METH_VARARGS
| METH_KEYWORDS
},
40961 { (char *)"Image_swigregister", Image_swigregister
, METH_VARARGS
},
40962 { (char *)"InitAllImageHandlers", (PyCFunction
) _wrap_InitAllImageHandlers
, METH_VARARGS
| METH_KEYWORDS
},
40963 { (char *)"new_BMPHandler", (PyCFunction
) _wrap_new_BMPHandler
, METH_VARARGS
| METH_KEYWORDS
},
40964 { (char *)"BMPHandler_swigregister", BMPHandler_swigregister
, METH_VARARGS
},
40965 { (char *)"new_ICOHandler", (PyCFunction
) _wrap_new_ICOHandler
, METH_VARARGS
| METH_KEYWORDS
},
40966 { (char *)"ICOHandler_swigregister", ICOHandler_swigregister
, METH_VARARGS
},
40967 { (char *)"new_CURHandler", (PyCFunction
) _wrap_new_CURHandler
, METH_VARARGS
| METH_KEYWORDS
},
40968 { (char *)"CURHandler_swigregister", CURHandler_swigregister
, METH_VARARGS
},
40969 { (char *)"new_ANIHandler", (PyCFunction
) _wrap_new_ANIHandler
, METH_VARARGS
| METH_KEYWORDS
},
40970 { (char *)"ANIHandler_swigregister", ANIHandler_swigregister
, METH_VARARGS
},
40971 { (char *)"new_PNGHandler", (PyCFunction
) _wrap_new_PNGHandler
, METH_VARARGS
| METH_KEYWORDS
},
40972 { (char *)"PNGHandler_swigregister", PNGHandler_swigregister
, METH_VARARGS
},
40973 { (char *)"new_GIFHandler", (PyCFunction
) _wrap_new_GIFHandler
, METH_VARARGS
| METH_KEYWORDS
},
40974 { (char *)"GIFHandler_swigregister", GIFHandler_swigregister
, METH_VARARGS
},
40975 { (char *)"new_PCXHandler", (PyCFunction
) _wrap_new_PCXHandler
, METH_VARARGS
| METH_KEYWORDS
},
40976 { (char *)"PCXHandler_swigregister", PCXHandler_swigregister
, METH_VARARGS
},
40977 { (char *)"new_JPEGHandler", (PyCFunction
) _wrap_new_JPEGHandler
, METH_VARARGS
| METH_KEYWORDS
},
40978 { (char *)"JPEGHandler_swigregister", JPEGHandler_swigregister
, METH_VARARGS
},
40979 { (char *)"new_PNMHandler", (PyCFunction
) _wrap_new_PNMHandler
, METH_VARARGS
| METH_KEYWORDS
},
40980 { (char *)"PNMHandler_swigregister", PNMHandler_swigregister
, METH_VARARGS
},
40981 { (char *)"new_XPMHandler", (PyCFunction
) _wrap_new_XPMHandler
, METH_VARARGS
| METH_KEYWORDS
},
40982 { (char *)"XPMHandler_swigregister", XPMHandler_swigregister
, METH_VARARGS
},
40983 { (char *)"new_TIFFHandler", (PyCFunction
) _wrap_new_TIFFHandler
, METH_VARARGS
| METH_KEYWORDS
},
40984 { (char *)"TIFFHandler_swigregister", TIFFHandler_swigregister
, METH_VARARGS
},
40985 { (char *)"new_EvtHandler", (PyCFunction
) _wrap_new_EvtHandler
, METH_VARARGS
| METH_KEYWORDS
},
40986 { (char *)"EvtHandler_GetNextHandler", (PyCFunction
) _wrap_EvtHandler_GetNextHandler
, METH_VARARGS
| METH_KEYWORDS
},
40987 { (char *)"EvtHandler_GetPreviousHandler", (PyCFunction
) _wrap_EvtHandler_GetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
40988 { (char *)"EvtHandler_SetNextHandler", (PyCFunction
) _wrap_EvtHandler_SetNextHandler
, METH_VARARGS
| METH_KEYWORDS
},
40989 { (char *)"EvtHandler_SetPreviousHandler", (PyCFunction
) _wrap_EvtHandler_SetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
40990 { (char *)"EvtHandler_GetEvtHandlerEnabled", (PyCFunction
) _wrap_EvtHandler_GetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
},
40991 { (char *)"EvtHandler_SetEvtHandlerEnabled", (PyCFunction
) _wrap_EvtHandler_SetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
},
40992 { (char *)"EvtHandler_ProcessEvent", (PyCFunction
) _wrap_EvtHandler_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
},
40993 { (char *)"EvtHandler_AddPendingEvent", (PyCFunction
) _wrap_EvtHandler_AddPendingEvent
, METH_VARARGS
| METH_KEYWORDS
},
40994 { (char *)"EvtHandler_ProcessPendingEvents", (PyCFunction
) _wrap_EvtHandler_ProcessPendingEvents
, METH_VARARGS
| METH_KEYWORDS
},
40995 { (char *)"EvtHandler_Connect", (PyCFunction
) _wrap_EvtHandler_Connect
, METH_VARARGS
| METH_KEYWORDS
},
40996 { (char *)"EvtHandler_Disconnect", (PyCFunction
) _wrap_EvtHandler_Disconnect
, METH_VARARGS
| METH_KEYWORDS
},
40997 { (char *)"EvtHandler__setOORInfo", (PyCFunction
) _wrap_EvtHandler__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
},
40998 { (char *)"EvtHandler_swigregister", EvtHandler_swigregister
, METH_VARARGS
},
40999 { (char *)"NewEventType", (PyCFunction
) _wrap_NewEventType
, METH_VARARGS
| METH_KEYWORDS
},
41000 { (char *)"delete_Event", (PyCFunction
) _wrap_delete_Event
, METH_VARARGS
| METH_KEYWORDS
},
41001 { (char *)"Event_SetEventType", (PyCFunction
) _wrap_Event_SetEventType
, METH_VARARGS
| METH_KEYWORDS
},
41002 { (char *)"Event_GetEventType", (PyCFunction
) _wrap_Event_GetEventType
, METH_VARARGS
| METH_KEYWORDS
},
41003 { (char *)"Event_GetEventObject", (PyCFunction
) _wrap_Event_GetEventObject
, METH_VARARGS
| METH_KEYWORDS
},
41004 { (char *)"Event_SetEventObject", (PyCFunction
) _wrap_Event_SetEventObject
, METH_VARARGS
| METH_KEYWORDS
},
41005 { (char *)"Event_GetTimestamp", (PyCFunction
) _wrap_Event_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
41006 { (char *)"Event_SetTimestamp", (PyCFunction
) _wrap_Event_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
41007 { (char *)"Event_GetId", (PyCFunction
) _wrap_Event_GetId
, METH_VARARGS
| METH_KEYWORDS
},
41008 { (char *)"Event_SetId", (PyCFunction
) _wrap_Event_SetId
, METH_VARARGS
| METH_KEYWORDS
},
41009 { (char *)"Event_IsCommandEvent", (PyCFunction
) _wrap_Event_IsCommandEvent
, METH_VARARGS
| METH_KEYWORDS
},
41010 { (char *)"Event_Skip", (PyCFunction
) _wrap_Event_Skip
, METH_VARARGS
| METH_KEYWORDS
},
41011 { (char *)"Event_GetSkipped", (PyCFunction
) _wrap_Event_GetSkipped
, METH_VARARGS
| METH_KEYWORDS
},
41012 { (char *)"Event_ShouldPropagate", (PyCFunction
) _wrap_Event_ShouldPropagate
, METH_VARARGS
| METH_KEYWORDS
},
41013 { (char *)"Event_StopPropagation", (PyCFunction
) _wrap_Event_StopPropagation
, METH_VARARGS
| METH_KEYWORDS
},
41014 { (char *)"Event_ResumePropagation", (PyCFunction
) _wrap_Event_ResumePropagation
, METH_VARARGS
| METH_KEYWORDS
},
41015 { (char *)"Event_Clone", (PyCFunction
) _wrap_Event_Clone
, METH_VARARGS
| METH_KEYWORDS
},
41016 { (char *)"Event_swigregister", Event_swigregister
, METH_VARARGS
},
41017 { (char *)"new_PropagationDisabler", (PyCFunction
) _wrap_new_PropagationDisabler
, METH_VARARGS
| METH_KEYWORDS
},
41018 { (char *)"delete_PropagationDisabler", (PyCFunction
) _wrap_delete_PropagationDisabler
, METH_VARARGS
| METH_KEYWORDS
},
41019 { (char *)"PropagationDisabler_swigregister", PropagationDisabler_swigregister
, METH_VARARGS
},
41020 { (char *)"new_PropagateOnce", (PyCFunction
) _wrap_new_PropagateOnce
, METH_VARARGS
| METH_KEYWORDS
},
41021 { (char *)"delete_PropagateOnce", (PyCFunction
) _wrap_delete_PropagateOnce
, METH_VARARGS
| METH_KEYWORDS
},
41022 { (char *)"PropagateOnce_swigregister", PropagateOnce_swigregister
, METH_VARARGS
},
41023 { (char *)"new_CommandEvent", (PyCFunction
) _wrap_new_CommandEvent
, METH_VARARGS
| METH_KEYWORDS
},
41024 { (char *)"CommandEvent_GetSelection", (PyCFunction
) _wrap_CommandEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
41025 { (char *)"CommandEvent_SetString", (PyCFunction
) _wrap_CommandEvent_SetString
, METH_VARARGS
| METH_KEYWORDS
},
41026 { (char *)"CommandEvent_GetString", (PyCFunction
) _wrap_CommandEvent_GetString
, METH_VARARGS
| METH_KEYWORDS
},
41027 { (char *)"CommandEvent_IsChecked", (PyCFunction
) _wrap_CommandEvent_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
41028 { (char *)"CommandEvent_IsSelection", (PyCFunction
) _wrap_CommandEvent_IsSelection
, METH_VARARGS
| METH_KEYWORDS
},
41029 { (char *)"CommandEvent_SetExtraLong", (PyCFunction
) _wrap_CommandEvent_SetExtraLong
, METH_VARARGS
| METH_KEYWORDS
},
41030 { (char *)"CommandEvent_GetExtraLong", (PyCFunction
) _wrap_CommandEvent_GetExtraLong
, METH_VARARGS
| METH_KEYWORDS
},
41031 { (char *)"CommandEvent_SetInt", (PyCFunction
) _wrap_CommandEvent_SetInt
, METH_VARARGS
| METH_KEYWORDS
},
41032 { (char *)"CommandEvent_GetInt", (PyCFunction
) _wrap_CommandEvent_GetInt
, METH_VARARGS
| METH_KEYWORDS
},
41033 { (char *)"CommandEvent_Clone", (PyCFunction
) _wrap_CommandEvent_Clone
, METH_VARARGS
| METH_KEYWORDS
},
41034 { (char *)"CommandEvent_swigregister", CommandEvent_swigregister
, METH_VARARGS
},
41035 { (char *)"new_NotifyEvent", (PyCFunction
) _wrap_new_NotifyEvent
, METH_VARARGS
| METH_KEYWORDS
},
41036 { (char *)"NotifyEvent_Veto", (PyCFunction
) _wrap_NotifyEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
},
41037 { (char *)"NotifyEvent_Allow", (PyCFunction
) _wrap_NotifyEvent_Allow
, METH_VARARGS
| METH_KEYWORDS
},
41038 { (char *)"NotifyEvent_IsAllowed", (PyCFunction
) _wrap_NotifyEvent_IsAllowed
, METH_VARARGS
| METH_KEYWORDS
},
41039 { (char *)"NotifyEvent_swigregister", NotifyEvent_swigregister
, METH_VARARGS
},
41040 { (char *)"new_ScrollEvent", (PyCFunction
) _wrap_new_ScrollEvent
, METH_VARARGS
| METH_KEYWORDS
},
41041 { (char *)"ScrollEvent_GetOrientation", (PyCFunction
) _wrap_ScrollEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
41042 { (char *)"ScrollEvent_GetPosition", (PyCFunction
) _wrap_ScrollEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
41043 { (char *)"ScrollEvent_SetOrientation", (PyCFunction
) _wrap_ScrollEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
41044 { (char *)"ScrollEvent_SetPosition", (PyCFunction
) _wrap_ScrollEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
41045 { (char *)"ScrollEvent_swigregister", ScrollEvent_swigregister
, METH_VARARGS
},
41046 { (char *)"new_ScrollWinEvent", (PyCFunction
) _wrap_new_ScrollWinEvent
, METH_VARARGS
| METH_KEYWORDS
},
41047 { (char *)"ScrollWinEvent_GetOrientation", (PyCFunction
) _wrap_ScrollWinEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
41048 { (char *)"ScrollWinEvent_GetPosition", (PyCFunction
) _wrap_ScrollWinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
41049 { (char *)"ScrollWinEvent_SetOrientation", (PyCFunction
) _wrap_ScrollWinEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
41050 { (char *)"ScrollWinEvent_SetPosition", (PyCFunction
) _wrap_ScrollWinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
41051 { (char *)"ScrollWinEvent_swigregister", ScrollWinEvent_swigregister
, METH_VARARGS
},
41052 { (char *)"new_MouseEvent", (PyCFunction
) _wrap_new_MouseEvent
, METH_VARARGS
| METH_KEYWORDS
},
41053 { (char *)"MouseEvent_IsButton", (PyCFunction
) _wrap_MouseEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
},
41054 { (char *)"MouseEvent_ButtonDown", (PyCFunction
) _wrap_MouseEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
},
41055 { (char *)"MouseEvent_ButtonDClick", (PyCFunction
) _wrap_MouseEvent_ButtonDClick
, METH_VARARGS
| METH_KEYWORDS
},
41056 { (char *)"MouseEvent_ButtonUp", (PyCFunction
) _wrap_MouseEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
},
41057 { (char *)"MouseEvent_Button", (PyCFunction
) _wrap_MouseEvent_Button
, METH_VARARGS
| METH_KEYWORDS
},
41058 { (char *)"MouseEvent_ButtonIsDown", (PyCFunction
) _wrap_MouseEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
},
41059 { (char *)"MouseEvent_GetButton", (PyCFunction
) _wrap_MouseEvent_GetButton
, METH_VARARGS
| METH_KEYWORDS
},
41060 { (char *)"MouseEvent_ControlDown", (PyCFunction
) _wrap_MouseEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
},
41061 { (char *)"MouseEvent_MetaDown", (PyCFunction
) _wrap_MouseEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
},
41062 { (char *)"MouseEvent_AltDown", (PyCFunction
) _wrap_MouseEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
},
41063 { (char *)"MouseEvent_ShiftDown", (PyCFunction
) _wrap_MouseEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
},
41064 { (char *)"MouseEvent_LeftDown", (PyCFunction
) _wrap_MouseEvent_LeftDown
, METH_VARARGS
| METH_KEYWORDS
},
41065 { (char *)"MouseEvent_MiddleDown", (PyCFunction
) _wrap_MouseEvent_MiddleDown
, METH_VARARGS
| METH_KEYWORDS
},
41066 { (char *)"MouseEvent_RightDown", (PyCFunction
) _wrap_MouseEvent_RightDown
, METH_VARARGS
| METH_KEYWORDS
},
41067 { (char *)"MouseEvent_LeftUp", (PyCFunction
) _wrap_MouseEvent_LeftUp
, METH_VARARGS
| METH_KEYWORDS
},
41068 { (char *)"MouseEvent_MiddleUp", (PyCFunction
) _wrap_MouseEvent_MiddleUp
, METH_VARARGS
| METH_KEYWORDS
},
41069 { (char *)"MouseEvent_RightUp", (PyCFunction
) _wrap_MouseEvent_RightUp
, METH_VARARGS
| METH_KEYWORDS
},
41070 { (char *)"MouseEvent_LeftDClick", (PyCFunction
) _wrap_MouseEvent_LeftDClick
, METH_VARARGS
| METH_KEYWORDS
},
41071 { (char *)"MouseEvent_MiddleDClick", (PyCFunction
) _wrap_MouseEvent_MiddleDClick
, METH_VARARGS
| METH_KEYWORDS
},
41072 { (char *)"MouseEvent_RightDClick", (PyCFunction
) _wrap_MouseEvent_RightDClick
, METH_VARARGS
| METH_KEYWORDS
},
41073 { (char *)"MouseEvent_LeftIsDown", (PyCFunction
) _wrap_MouseEvent_LeftIsDown
, METH_VARARGS
| METH_KEYWORDS
},
41074 { (char *)"MouseEvent_MiddleIsDown", (PyCFunction
) _wrap_MouseEvent_MiddleIsDown
, METH_VARARGS
| METH_KEYWORDS
},
41075 { (char *)"MouseEvent_RightIsDown", (PyCFunction
) _wrap_MouseEvent_RightIsDown
, METH_VARARGS
| METH_KEYWORDS
},
41076 { (char *)"MouseEvent_Dragging", (PyCFunction
) _wrap_MouseEvent_Dragging
, METH_VARARGS
| METH_KEYWORDS
},
41077 { (char *)"MouseEvent_Moving", (PyCFunction
) _wrap_MouseEvent_Moving
, METH_VARARGS
| METH_KEYWORDS
},
41078 { (char *)"MouseEvent_Entering", (PyCFunction
) _wrap_MouseEvent_Entering
, METH_VARARGS
| METH_KEYWORDS
},
41079 { (char *)"MouseEvent_Leaving", (PyCFunction
) _wrap_MouseEvent_Leaving
, METH_VARARGS
| METH_KEYWORDS
},
41080 { (char *)"MouseEvent_GetPosition", (PyCFunction
) _wrap_MouseEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
41081 { (char *)"MouseEvent_GetPositionTuple", (PyCFunction
) _wrap_MouseEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
41082 { (char *)"MouseEvent_GetLogicalPosition", (PyCFunction
) _wrap_MouseEvent_GetLogicalPosition
, METH_VARARGS
| METH_KEYWORDS
},
41083 { (char *)"MouseEvent_GetX", (PyCFunction
) _wrap_MouseEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
41084 { (char *)"MouseEvent_GetY", (PyCFunction
) _wrap_MouseEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
41085 { (char *)"MouseEvent_GetWheelRotation", (PyCFunction
) _wrap_MouseEvent_GetWheelRotation
, METH_VARARGS
| METH_KEYWORDS
},
41086 { (char *)"MouseEvent_GetWheelDelta", (PyCFunction
) _wrap_MouseEvent_GetWheelDelta
, METH_VARARGS
| METH_KEYWORDS
},
41087 { (char *)"MouseEvent_GetLinesPerAction", (PyCFunction
) _wrap_MouseEvent_GetLinesPerAction
, METH_VARARGS
| METH_KEYWORDS
},
41088 { (char *)"MouseEvent_IsPageScroll", (PyCFunction
) _wrap_MouseEvent_IsPageScroll
, METH_VARARGS
| METH_KEYWORDS
},
41089 { (char *)"MouseEvent_m_x_set", (PyCFunction
) _wrap_MouseEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
},
41090 { (char *)"MouseEvent_m_x_get", (PyCFunction
) _wrap_MouseEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
},
41091 { (char *)"MouseEvent_m_y_set", (PyCFunction
) _wrap_MouseEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
},
41092 { (char *)"MouseEvent_m_y_get", (PyCFunction
) _wrap_MouseEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
},
41093 { (char *)"MouseEvent_m_leftDown_set", (PyCFunction
) _wrap_MouseEvent_m_leftDown_set
, METH_VARARGS
| METH_KEYWORDS
},
41094 { (char *)"MouseEvent_m_leftDown_get", (PyCFunction
) _wrap_MouseEvent_m_leftDown_get
, METH_VARARGS
| METH_KEYWORDS
},
41095 { (char *)"MouseEvent_m_middleDown_set", (PyCFunction
) _wrap_MouseEvent_m_middleDown_set
, METH_VARARGS
| METH_KEYWORDS
},
41096 { (char *)"MouseEvent_m_middleDown_get", (PyCFunction
) _wrap_MouseEvent_m_middleDown_get
, METH_VARARGS
| METH_KEYWORDS
},
41097 { (char *)"MouseEvent_m_rightDown_set", (PyCFunction
) _wrap_MouseEvent_m_rightDown_set
, METH_VARARGS
| METH_KEYWORDS
},
41098 { (char *)"MouseEvent_m_rightDown_get", (PyCFunction
) _wrap_MouseEvent_m_rightDown_get
, METH_VARARGS
| METH_KEYWORDS
},
41099 { (char *)"MouseEvent_m_controlDown_set", (PyCFunction
) _wrap_MouseEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
},
41100 { (char *)"MouseEvent_m_controlDown_get", (PyCFunction
) _wrap_MouseEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
},
41101 { (char *)"MouseEvent_m_shiftDown_set", (PyCFunction
) _wrap_MouseEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
},
41102 { (char *)"MouseEvent_m_shiftDown_get", (PyCFunction
) _wrap_MouseEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
},
41103 { (char *)"MouseEvent_m_altDown_set", (PyCFunction
) _wrap_MouseEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
},
41104 { (char *)"MouseEvent_m_altDown_get", (PyCFunction
) _wrap_MouseEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
},
41105 { (char *)"MouseEvent_m_metaDown_set", (PyCFunction
) _wrap_MouseEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
},
41106 { (char *)"MouseEvent_m_metaDown_get", (PyCFunction
) _wrap_MouseEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
},
41107 { (char *)"MouseEvent_m_wheelRotation_set", (PyCFunction
) _wrap_MouseEvent_m_wheelRotation_set
, METH_VARARGS
| METH_KEYWORDS
},
41108 { (char *)"MouseEvent_m_wheelRotation_get", (PyCFunction
) _wrap_MouseEvent_m_wheelRotation_get
, METH_VARARGS
| METH_KEYWORDS
},
41109 { (char *)"MouseEvent_m_wheelDelta_set", (PyCFunction
) _wrap_MouseEvent_m_wheelDelta_set
, METH_VARARGS
| METH_KEYWORDS
},
41110 { (char *)"MouseEvent_m_wheelDelta_get", (PyCFunction
) _wrap_MouseEvent_m_wheelDelta_get
, METH_VARARGS
| METH_KEYWORDS
},
41111 { (char *)"MouseEvent_m_linesPerAction_set", (PyCFunction
) _wrap_MouseEvent_m_linesPerAction_set
, METH_VARARGS
| METH_KEYWORDS
},
41112 { (char *)"MouseEvent_m_linesPerAction_get", (PyCFunction
) _wrap_MouseEvent_m_linesPerAction_get
, METH_VARARGS
| METH_KEYWORDS
},
41113 { (char *)"MouseEvent_swigregister", MouseEvent_swigregister
, METH_VARARGS
},
41114 { (char *)"new_SetCursorEvent", (PyCFunction
) _wrap_new_SetCursorEvent
, METH_VARARGS
| METH_KEYWORDS
},
41115 { (char *)"SetCursorEvent_GetX", (PyCFunction
) _wrap_SetCursorEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
41116 { (char *)"SetCursorEvent_GetY", (PyCFunction
) _wrap_SetCursorEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
41117 { (char *)"SetCursorEvent_SetCursor", (PyCFunction
) _wrap_SetCursorEvent_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
41118 { (char *)"SetCursorEvent_GetCursor", (PyCFunction
) _wrap_SetCursorEvent_GetCursor
, METH_VARARGS
| METH_KEYWORDS
},
41119 { (char *)"SetCursorEvent_HasCursor", (PyCFunction
) _wrap_SetCursorEvent_HasCursor
, METH_VARARGS
| METH_KEYWORDS
},
41120 { (char *)"SetCursorEvent_swigregister", SetCursorEvent_swigregister
, METH_VARARGS
},
41121 { (char *)"new_KeyEvent", (PyCFunction
) _wrap_new_KeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
41122 { (char *)"KeyEvent_ControlDown", (PyCFunction
) _wrap_KeyEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
},
41123 { (char *)"KeyEvent_MetaDown", (PyCFunction
) _wrap_KeyEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
},
41124 { (char *)"KeyEvent_AltDown", (PyCFunction
) _wrap_KeyEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
},
41125 { (char *)"KeyEvent_ShiftDown", (PyCFunction
) _wrap_KeyEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
},
41126 { (char *)"KeyEvent_HasModifiers", (PyCFunction
) _wrap_KeyEvent_HasModifiers
, METH_VARARGS
| METH_KEYWORDS
},
41127 { (char *)"KeyEvent_GetKeyCode", (PyCFunction
) _wrap_KeyEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
41128 { (char *)"KeyEvent_GetUniChar", (PyCFunction
) _wrap_KeyEvent_GetUniChar
, METH_VARARGS
| METH_KEYWORDS
},
41129 { (char *)"KeyEvent_GetRawKeyCode", (PyCFunction
) _wrap_KeyEvent_GetRawKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
41130 { (char *)"KeyEvent_GetRawKeyFlags", (PyCFunction
) _wrap_KeyEvent_GetRawKeyFlags
, METH_VARARGS
| METH_KEYWORDS
},
41131 { (char *)"KeyEvent_GetPosition", (PyCFunction
) _wrap_KeyEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
41132 { (char *)"KeyEvent_GetPositionTuple", (PyCFunction
) _wrap_KeyEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
41133 { (char *)"KeyEvent_GetX", (PyCFunction
) _wrap_KeyEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
41134 { (char *)"KeyEvent_GetY", (PyCFunction
) _wrap_KeyEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
41135 { (char *)"KeyEvent_m_x_set", (PyCFunction
) _wrap_KeyEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
},
41136 { (char *)"KeyEvent_m_x_get", (PyCFunction
) _wrap_KeyEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
},
41137 { (char *)"KeyEvent_m_y_set", (PyCFunction
) _wrap_KeyEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
},
41138 { (char *)"KeyEvent_m_y_get", (PyCFunction
) _wrap_KeyEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
},
41139 { (char *)"KeyEvent_m_keyCode_set", (PyCFunction
) _wrap_KeyEvent_m_keyCode_set
, METH_VARARGS
| METH_KEYWORDS
},
41140 { (char *)"KeyEvent_m_keyCode_get", (PyCFunction
) _wrap_KeyEvent_m_keyCode_get
, METH_VARARGS
| METH_KEYWORDS
},
41141 { (char *)"KeyEvent_m_controlDown_set", (PyCFunction
) _wrap_KeyEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
},
41142 { (char *)"KeyEvent_m_controlDown_get", (PyCFunction
) _wrap_KeyEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
},
41143 { (char *)"KeyEvent_m_shiftDown_set", (PyCFunction
) _wrap_KeyEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
},
41144 { (char *)"KeyEvent_m_shiftDown_get", (PyCFunction
) _wrap_KeyEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
},
41145 { (char *)"KeyEvent_m_altDown_set", (PyCFunction
) _wrap_KeyEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
},
41146 { (char *)"KeyEvent_m_altDown_get", (PyCFunction
) _wrap_KeyEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
},
41147 { (char *)"KeyEvent_m_metaDown_set", (PyCFunction
) _wrap_KeyEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
},
41148 { (char *)"KeyEvent_m_metaDown_get", (PyCFunction
) _wrap_KeyEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
},
41149 { (char *)"KeyEvent_m_scanCode_set", (PyCFunction
) _wrap_KeyEvent_m_scanCode_set
, METH_VARARGS
| METH_KEYWORDS
},
41150 { (char *)"KeyEvent_m_scanCode_get", (PyCFunction
) _wrap_KeyEvent_m_scanCode_get
, METH_VARARGS
| METH_KEYWORDS
},
41151 { (char *)"KeyEvent_m_rawCode_set", (PyCFunction
) _wrap_KeyEvent_m_rawCode_set
, METH_VARARGS
| METH_KEYWORDS
},
41152 { (char *)"KeyEvent_m_rawCode_get", (PyCFunction
) _wrap_KeyEvent_m_rawCode_get
, METH_VARARGS
| METH_KEYWORDS
},
41153 { (char *)"KeyEvent_m_rawFlags_set", (PyCFunction
) _wrap_KeyEvent_m_rawFlags_set
, METH_VARARGS
| METH_KEYWORDS
},
41154 { (char *)"KeyEvent_m_rawFlags_get", (PyCFunction
) _wrap_KeyEvent_m_rawFlags_get
, METH_VARARGS
| METH_KEYWORDS
},
41155 { (char *)"KeyEvent_swigregister", KeyEvent_swigregister
, METH_VARARGS
},
41156 { (char *)"new_SizeEvent", (PyCFunction
) _wrap_new_SizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
41157 { (char *)"SizeEvent_GetSize", (PyCFunction
) _wrap_SizeEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
41158 { (char *)"SizeEvent_GetRect", (PyCFunction
) _wrap_SizeEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
41159 { (char *)"SizeEvent_SetRect", (PyCFunction
) _wrap_SizeEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
41160 { (char *)"SizeEvent_SetSize", (PyCFunction
) _wrap_SizeEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
41161 { (char *)"SizeEvent_m_size_set", (PyCFunction
) _wrap_SizeEvent_m_size_set
, METH_VARARGS
| METH_KEYWORDS
},
41162 { (char *)"SizeEvent_m_size_get", (PyCFunction
) _wrap_SizeEvent_m_size_get
, METH_VARARGS
| METH_KEYWORDS
},
41163 { (char *)"SizeEvent_m_rect_set", (PyCFunction
) _wrap_SizeEvent_m_rect_set
, METH_VARARGS
| METH_KEYWORDS
},
41164 { (char *)"SizeEvent_m_rect_get", (PyCFunction
) _wrap_SizeEvent_m_rect_get
, METH_VARARGS
| METH_KEYWORDS
},
41165 { (char *)"SizeEvent_swigregister", SizeEvent_swigregister
, METH_VARARGS
},
41166 { (char *)"new_MoveEvent", (PyCFunction
) _wrap_new_MoveEvent
, METH_VARARGS
| METH_KEYWORDS
},
41167 { (char *)"MoveEvent_GetPosition", (PyCFunction
) _wrap_MoveEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
41168 { (char *)"MoveEvent_GetRect", (PyCFunction
) _wrap_MoveEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
41169 { (char *)"MoveEvent_SetRect", (PyCFunction
) _wrap_MoveEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
41170 { (char *)"MoveEvent_SetPosition", (PyCFunction
) _wrap_MoveEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
41171 { (char *)"MoveEvent_m_pos_set", (PyCFunction
) _wrap_MoveEvent_m_pos_set
, METH_VARARGS
| METH_KEYWORDS
},
41172 { (char *)"MoveEvent_m_pos_get", (PyCFunction
) _wrap_MoveEvent_m_pos_get
, METH_VARARGS
| METH_KEYWORDS
},
41173 { (char *)"MoveEvent_m_rect_set", (PyCFunction
) _wrap_MoveEvent_m_rect_set
, METH_VARARGS
| METH_KEYWORDS
},
41174 { (char *)"MoveEvent_m_rect_get", (PyCFunction
) _wrap_MoveEvent_m_rect_get
, METH_VARARGS
| METH_KEYWORDS
},
41175 { (char *)"MoveEvent_swigregister", MoveEvent_swigregister
, METH_VARARGS
},
41176 { (char *)"new_PaintEvent", (PyCFunction
) _wrap_new_PaintEvent
, METH_VARARGS
| METH_KEYWORDS
},
41177 { (char *)"PaintEvent_swigregister", PaintEvent_swigregister
, METH_VARARGS
},
41178 { (char *)"new_NcPaintEvent", (PyCFunction
) _wrap_new_NcPaintEvent
, METH_VARARGS
| METH_KEYWORDS
},
41179 { (char *)"NcPaintEvent_swigregister", NcPaintEvent_swigregister
, METH_VARARGS
},
41180 { (char *)"new_EraseEvent", (PyCFunction
) _wrap_new_EraseEvent
, METH_VARARGS
| METH_KEYWORDS
},
41181 { (char *)"EraseEvent_GetDC", (PyCFunction
) _wrap_EraseEvent_GetDC
, METH_VARARGS
| METH_KEYWORDS
},
41182 { (char *)"EraseEvent_swigregister", EraseEvent_swigregister
, METH_VARARGS
},
41183 { (char *)"new_FocusEvent", (PyCFunction
) _wrap_new_FocusEvent
, METH_VARARGS
| METH_KEYWORDS
},
41184 { (char *)"FocusEvent_GetWindow", (PyCFunction
) _wrap_FocusEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
41185 { (char *)"FocusEvent_SetWindow", (PyCFunction
) _wrap_FocusEvent_SetWindow
, METH_VARARGS
| METH_KEYWORDS
},
41186 { (char *)"FocusEvent_swigregister", FocusEvent_swigregister
, METH_VARARGS
},
41187 { (char *)"new_ChildFocusEvent", (PyCFunction
) _wrap_new_ChildFocusEvent
, METH_VARARGS
| METH_KEYWORDS
},
41188 { (char *)"ChildFocusEvent_GetWindow", (PyCFunction
) _wrap_ChildFocusEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
41189 { (char *)"ChildFocusEvent_swigregister", ChildFocusEvent_swigregister
, METH_VARARGS
},
41190 { (char *)"new_ActivateEvent", (PyCFunction
) _wrap_new_ActivateEvent
, METH_VARARGS
| METH_KEYWORDS
},
41191 { (char *)"ActivateEvent_GetActive", (PyCFunction
) _wrap_ActivateEvent_GetActive
, METH_VARARGS
| METH_KEYWORDS
},
41192 { (char *)"ActivateEvent_swigregister", ActivateEvent_swigregister
, METH_VARARGS
},
41193 { (char *)"new_InitDialogEvent", (PyCFunction
) _wrap_new_InitDialogEvent
, METH_VARARGS
| METH_KEYWORDS
},
41194 { (char *)"InitDialogEvent_swigregister", InitDialogEvent_swigregister
, METH_VARARGS
},
41195 { (char *)"new_MenuEvent", (PyCFunction
) _wrap_new_MenuEvent
, METH_VARARGS
| METH_KEYWORDS
},
41196 { (char *)"MenuEvent_GetMenuId", (PyCFunction
) _wrap_MenuEvent_GetMenuId
, METH_VARARGS
| METH_KEYWORDS
},
41197 { (char *)"MenuEvent_IsPopup", (PyCFunction
) _wrap_MenuEvent_IsPopup
, METH_VARARGS
| METH_KEYWORDS
},
41198 { (char *)"MenuEvent_GetMenu", (PyCFunction
) _wrap_MenuEvent_GetMenu
, METH_VARARGS
| METH_KEYWORDS
},
41199 { (char *)"MenuEvent_swigregister", MenuEvent_swigregister
, METH_VARARGS
},
41200 { (char *)"new_CloseEvent", (PyCFunction
) _wrap_new_CloseEvent
, METH_VARARGS
| METH_KEYWORDS
},
41201 { (char *)"CloseEvent_SetLoggingOff", (PyCFunction
) _wrap_CloseEvent_SetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
},
41202 { (char *)"CloseEvent_GetLoggingOff", (PyCFunction
) _wrap_CloseEvent_GetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
},
41203 { (char *)"CloseEvent_Veto", (PyCFunction
) _wrap_CloseEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
},
41204 { (char *)"CloseEvent_SetCanVeto", (PyCFunction
) _wrap_CloseEvent_SetCanVeto
, METH_VARARGS
| METH_KEYWORDS
},
41205 { (char *)"CloseEvent_CanVeto", (PyCFunction
) _wrap_CloseEvent_CanVeto
, METH_VARARGS
| METH_KEYWORDS
},
41206 { (char *)"CloseEvent_GetVeto", (PyCFunction
) _wrap_CloseEvent_GetVeto
, METH_VARARGS
| METH_KEYWORDS
},
41207 { (char *)"CloseEvent_swigregister", CloseEvent_swigregister
, METH_VARARGS
},
41208 { (char *)"new_ShowEvent", (PyCFunction
) _wrap_new_ShowEvent
, METH_VARARGS
| METH_KEYWORDS
},
41209 { (char *)"ShowEvent_SetShow", (PyCFunction
) _wrap_ShowEvent_SetShow
, METH_VARARGS
| METH_KEYWORDS
},
41210 { (char *)"ShowEvent_GetShow", (PyCFunction
) _wrap_ShowEvent_GetShow
, METH_VARARGS
| METH_KEYWORDS
},
41211 { (char *)"ShowEvent_swigregister", ShowEvent_swigregister
, METH_VARARGS
},
41212 { (char *)"new_IconizeEvent", (PyCFunction
) _wrap_new_IconizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
41213 { (char *)"IconizeEvent_Iconized", (PyCFunction
) _wrap_IconizeEvent_Iconized
, METH_VARARGS
| METH_KEYWORDS
},
41214 { (char *)"IconizeEvent_swigregister", IconizeEvent_swigregister
, METH_VARARGS
},
41215 { (char *)"new_MaximizeEvent", (PyCFunction
) _wrap_new_MaximizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
41216 { (char *)"MaximizeEvent_swigregister", MaximizeEvent_swigregister
, METH_VARARGS
},
41217 { (char *)"DropFilesEvent_GetPosition", (PyCFunction
) _wrap_DropFilesEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
41218 { (char *)"DropFilesEvent_GetNumberOfFiles", (PyCFunction
) _wrap_DropFilesEvent_GetNumberOfFiles
, METH_VARARGS
| METH_KEYWORDS
},
41219 { (char *)"DropFilesEvent_GetFiles", (PyCFunction
) _wrap_DropFilesEvent_GetFiles
, METH_VARARGS
| METH_KEYWORDS
},
41220 { (char *)"DropFilesEvent_swigregister", DropFilesEvent_swigregister
, METH_VARARGS
},
41221 { (char *)"new_UpdateUIEvent", (PyCFunction
) _wrap_new_UpdateUIEvent
, METH_VARARGS
| METH_KEYWORDS
},
41222 { (char *)"UpdateUIEvent_GetChecked", (PyCFunction
) _wrap_UpdateUIEvent_GetChecked
, METH_VARARGS
| METH_KEYWORDS
},
41223 { (char *)"UpdateUIEvent_GetEnabled", (PyCFunction
) _wrap_UpdateUIEvent_GetEnabled
, METH_VARARGS
| METH_KEYWORDS
},
41224 { (char *)"UpdateUIEvent_GetText", (PyCFunction
) _wrap_UpdateUIEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
},
41225 { (char *)"UpdateUIEvent_GetSetText", (PyCFunction
) _wrap_UpdateUIEvent_GetSetText
, METH_VARARGS
| METH_KEYWORDS
},
41226 { (char *)"UpdateUIEvent_GetSetChecked", (PyCFunction
) _wrap_UpdateUIEvent_GetSetChecked
, METH_VARARGS
| METH_KEYWORDS
},
41227 { (char *)"UpdateUIEvent_GetSetEnabled", (PyCFunction
) _wrap_UpdateUIEvent_GetSetEnabled
, METH_VARARGS
| METH_KEYWORDS
},
41228 { (char *)"UpdateUIEvent_Check", (PyCFunction
) _wrap_UpdateUIEvent_Check
, METH_VARARGS
| METH_KEYWORDS
},
41229 { (char *)"UpdateUIEvent_Enable", (PyCFunction
) _wrap_UpdateUIEvent_Enable
, METH_VARARGS
| METH_KEYWORDS
},
41230 { (char *)"UpdateUIEvent_SetText", (PyCFunction
) _wrap_UpdateUIEvent_SetText
, METH_VARARGS
| METH_KEYWORDS
},
41231 { (char *)"UpdateUIEvent_SetUpdateInterval", (PyCFunction
) _wrap_UpdateUIEvent_SetUpdateInterval
, METH_VARARGS
| METH_KEYWORDS
},
41232 { (char *)"UpdateUIEvent_GetUpdateInterval", (PyCFunction
) _wrap_UpdateUIEvent_GetUpdateInterval
, METH_VARARGS
| METH_KEYWORDS
},
41233 { (char *)"UpdateUIEvent_CanUpdate", (PyCFunction
) _wrap_UpdateUIEvent_CanUpdate
, METH_VARARGS
| METH_KEYWORDS
},
41234 { (char *)"UpdateUIEvent_ResetUpdateTime", (PyCFunction
) _wrap_UpdateUIEvent_ResetUpdateTime
, METH_VARARGS
| METH_KEYWORDS
},
41235 { (char *)"UpdateUIEvent_SetMode", (PyCFunction
) _wrap_UpdateUIEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
},
41236 { (char *)"UpdateUIEvent_GetMode", (PyCFunction
) _wrap_UpdateUIEvent_GetMode
, METH_VARARGS
| METH_KEYWORDS
},
41237 { (char *)"UpdateUIEvent_swigregister", UpdateUIEvent_swigregister
, METH_VARARGS
},
41238 { (char *)"new_SysColourChangedEvent", (PyCFunction
) _wrap_new_SysColourChangedEvent
, METH_VARARGS
| METH_KEYWORDS
},
41239 { (char *)"SysColourChangedEvent_swigregister", SysColourChangedEvent_swigregister
, METH_VARARGS
},
41240 { (char *)"new_MouseCaptureChangedEvent", (PyCFunction
) _wrap_new_MouseCaptureChangedEvent
, METH_VARARGS
| METH_KEYWORDS
},
41241 { (char *)"MouseCaptureChangedEvent_GetCapturedWindow", (PyCFunction
) _wrap_MouseCaptureChangedEvent_GetCapturedWindow
, METH_VARARGS
| METH_KEYWORDS
},
41242 { (char *)"MouseCaptureChangedEvent_swigregister", MouseCaptureChangedEvent_swigregister
, METH_VARARGS
},
41243 { (char *)"new_DisplayChangedEvent", (PyCFunction
) _wrap_new_DisplayChangedEvent
, METH_VARARGS
| METH_KEYWORDS
},
41244 { (char *)"DisplayChangedEvent_swigregister", DisplayChangedEvent_swigregister
, METH_VARARGS
},
41245 { (char *)"new_PaletteChangedEvent", (PyCFunction
) _wrap_new_PaletteChangedEvent
, METH_VARARGS
| METH_KEYWORDS
},
41246 { (char *)"PaletteChangedEvent_SetChangedWindow", (PyCFunction
) _wrap_PaletteChangedEvent_SetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
},
41247 { (char *)"PaletteChangedEvent_GetChangedWindow", (PyCFunction
) _wrap_PaletteChangedEvent_GetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
},
41248 { (char *)"PaletteChangedEvent_swigregister", PaletteChangedEvent_swigregister
, METH_VARARGS
},
41249 { (char *)"new_QueryNewPaletteEvent", (PyCFunction
) _wrap_new_QueryNewPaletteEvent
, METH_VARARGS
| METH_KEYWORDS
},
41250 { (char *)"QueryNewPaletteEvent_SetPaletteRealized", (PyCFunction
) _wrap_QueryNewPaletteEvent_SetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
},
41251 { (char *)"QueryNewPaletteEvent_GetPaletteRealized", (PyCFunction
) _wrap_QueryNewPaletteEvent_GetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
},
41252 { (char *)"QueryNewPaletteEvent_swigregister", QueryNewPaletteEvent_swigregister
, METH_VARARGS
},
41253 { (char *)"new_NavigationKeyEvent", (PyCFunction
) _wrap_new_NavigationKeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
41254 { (char *)"NavigationKeyEvent_GetDirection", (PyCFunction
) _wrap_NavigationKeyEvent_GetDirection
, METH_VARARGS
| METH_KEYWORDS
},
41255 { (char *)"NavigationKeyEvent_SetDirection", (PyCFunction
) _wrap_NavigationKeyEvent_SetDirection
, METH_VARARGS
| METH_KEYWORDS
},
41256 { (char *)"NavigationKeyEvent_IsWindowChange", (PyCFunction
) _wrap_NavigationKeyEvent_IsWindowChange
, METH_VARARGS
| METH_KEYWORDS
},
41257 { (char *)"NavigationKeyEvent_SetWindowChange", (PyCFunction
) _wrap_NavigationKeyEvent_SetWindowChange
, METH_VARARGS
| METH_KEYWORDS
},
41258 { (char *)"NavigationKeyEvent_GetCurrentFocus", (PyCFunction
) _wrap_NavigationKeyEvent_GetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
},
41259 { (char *)"NavigationKeyEvent_SetCurrentFocus", (PyCFunction
) _wrap_NavigationKeyEvent_SetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
},
41260 { (char *)"NavigationKeyEvent_swigregister", NavigationKeyEvent_swigregister
, METH_VARARGS
},
41261 { (char *)"new_WindowCreateEvent", (PyCFunction
) _wrap_new_WindowCreateEvent
, METH_VARARGS
| METH_KEYWORDS
},
41262 { (char *)"WindowCreateEvent_GetWindow", (PyCFunction
) _wrap_WindowCreateEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
41263 { (char *)"WindowCreateEvent_swigregister", WindowCreateEvent_swigregister
, METH_VARARGS
},
41264 { (char *)"new_WindowDestroyEvent", (PyCFunction
) _wrap_new_WindowDestroyEvent
, METH_VARARGS
| METH_KEYWORDS
},
41265 { (char *)"WindowDestroyEvent_GetWindow", (PyCFunction
) _wrap_WindowDestroyEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
41266 { (char *)"WindowDestroyEvent_swigregister", WindowDestroyEvent_swigregister
, METH_VARARGS
},
41267 { (char *)"new_ContextMenuEvent", (PyCFunction
) _wrap_new_ContextMenuEvent
, METH_VARARGS
| METH_KEYWORDS
},
41268 { (char *)"ContextMenuEvent_GetPosition", (PyCFunction
) _wrap_ContextMenuEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
41269 { (char *)"ContextMenuEvent_SetPosition", (PyCFunction
) _wrap_ContextMenuEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
41270 { (char *)"ContextMenuEvent_swigregister", ContextMenuEvent_swigregister
, METH_VARARGS
},
41271 { (char *)"new_IdleEvent", (PyCFunction
) _wrap_new_IdleEvent
, METH_VARARGS
| METH_KEYWORDS
},
41272 { (char *)"IdleEvent_RequestMore", (PyCFunction
) _wrap_IdleEvent_RequestMore
, METH_VARARGS
| METH_KEYWORDS
},
41273 { (char *)"IdleEvent_MoreRequested", (PyCFunction
) _wrap_IdleEvent_MoreRequested
, METH_VARARGS
| METH_KEYWORDS
},
41274 { (char *)"IdleEvent_SetMode", (PyCFunction
) _wrap_IdleEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
},
41275 { (char *)"IdleEvent_GetMode", (PyCFunction
) _wrap_IdleEvent_GetMode
, METH_VARARGS
| METH_KEYWORDS
},
41276 { (char *)"IdleEvent_CanSend", (PyCFunction
) _wrap_IdleEvent_CanSend
, METH_VARARGS
| METH_KEYWORDS
},
41277 { (char *)"IdleEvent_swigregister", IdleEvent_swigregister
, METH_VARARGS
},
41278 { (char *)"new_PyEvent", (PyCFunction
) _wrap_new_PyEvent
, METH_VARARGS
| METH_KEYWORDS
},
41279 { (char *)"delete_PyEvent", (PyCFunction
) _wrap_delete_PyEvent
, METH_VARARGS
| METH_KEYWORDS
},
41280 { (char *)"PyEvent_SetSelf", (PyCFunction
) _wrap_PyEvent_SetSelf
, METH_VARARGS
| METH_KEYWORDS
},
41281 { (char *)"PyEvent_GetSelf", (PyCFunction
) _wrap_PyEvent_GetSelf
, METH_VARARGS
| METH_KEYWORDS
},
41282 { (char *)"PyEvent_swigregister", PyEvent_swigregister
, METH_VARARGS
},
41283 { (char *)"new_PyCommandEvent", (PyCFunction
) _wrap_new_PyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
},
41284 { (char *)"delete_PyCommandEvent", (PyCFunction
) _wrap_delete_PyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
},
41285 { (char *)"PyCommandEvent_SetSelf", (PyCFunction
) _wrap_PyCommandEvent_SetSelf
, METH_VARARGS
| METH_KEYWORDS
},
41286 { (char *)"PyCommandEvent_GetSelf", (PyCFunction
) _wrap_PyCommandEvent_GetSelf
, METH_VARARGS
| METH_KEYWORDS
},
41287 { (char *)"PyCommandEvent_swigregister", PyCommandEvent_swigregister
, METH_VARARGS
},
41288 { (char *)"new_PyApp", (PyCFunction
) _wrap_new_PyApp
, METH_VARARGS
| METH_KEYWORDS
},
41289 { (char *)"delete_PyApp", (PyCFunction
) _wrap_delete_PyApp
, METH_VARARGS
| METH_KEYWORDS
},
41290 { (char *)"PyApp__setCallbackInfo", (PyCFunction
) _wrap_PyApp__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
41291 { (char *)"PyApp_GetAppName", (PyCFunction
) _wrap_PyApp_GetAppName
, METH_VARARGS
| METH_KEYWORDS
},
41292 { (char *)"PyApp_SetAppName", (PyCFunction
) _wrap_PyApp_SetAppName
, METH_VARARGS
| METH_KEYWORDS
},
41293 { (char *)"PyApp_GetClassName", (PyCFunction
) _wrap_PyApp_GetClassName
, METH_VARARGS
| METH_KEYWORDS
},
41294 { (char *)"PyApp_SetClassName", (PyCFunction
) _wrap_PyApp_SetClassName
, METH_VARARGS
| METH_KEYWORDS
},
41295 { (char *)"PyApp_GetVendorName", (PyCFunction
) _wrap_PyApp_GetVendorName
, METH_VARARGS
| METH_KEYWORDS
},
41296 { (char *)"PyApp_SetVendorName", (PyCFunction
) _wrap_PyApp_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
},
41297 { (char *)"PyApp_GetTraits", (PyCFunction
) _wrap_PyApp_GetTraits
, METH_VARARGS
| METH_KEYWORDS
},
41298 { (char *)"PyApp_ProcessPendingEvents", (PyCFunction
) _wrap_PyApp_ProcessPendingEvents
, METH_VARARGS
| METH_KEYWORDS
},
41299 { (char *)"PyApp_Yield", (PyCFunction
) _wrap_PyApp_Yield
, METH_VARARGS
| METH_KEYWORDS
},
41300 { (char *)"PyApp_WakeUpIdle", (PyCFunction
) _wrap_PyApp_WakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
},
41301 { (char *)"PyApp_MainLoop", (PyCFunction
) _wrap_PyApp_MainLoop
, METH_VARARGS
| METH_KEYWORDS
},
41302 { (char *)"PyApp_Exit", (PyCFunction
) _wrap_PyApp_Exit
, METH_VARARGS
| METH_KEYWORDS
},
41303 { (char *)"PyApp_ExitMainLoop", (PyCFunction
) _wrap_PyApp_ExitMainLoop
, METH_VARARGS
| METH_KEYWORDS
},
41304 { (char *)"PyApp_Pending", (PyCFunction
) _wrap_PyApp_Pending
, METH_VARARGS
| METH_KEYWORDS
},
41305 { (char *)"PyApp_Dispatch", (PyCFunction
) _wrap_PyApp_Dispatch
, METH_VARARGS
| METH_KEYWORDS
},
41306 { (char *)"PyApp_ProcessIdle", (PyCFunction
) _wrap_PyApp_ProcessIdle
, METH_VARARGS
| METH_KEYWORDS
},
41307 { (char *)"PyApp_SendIdleEvents", (PyCFunction
) _wrap_PyApp_SendIdleEvents
, METH_VARARGS
| METH_KEYWORDS
},
41308 { (char *)"PyApp_IsActive", (PyCFunction
) _wrap_PyApp_IsActive
, METH_VARARGS
| METH_KEYWORDS
},
41309 { (char *)"PyApp_SetTopWindow", (PyCFunction
) _wrap_PyApp_SetTopWindow
, METH_VARARGS
| METH_KEYWORDS
},
41310 { (char *)"PyApp_GetTopWindow", (PyCFunction
) _wrap_PyApp_GetTopWindow
, METH_VARARGS
| METH_KEYWORDS
},
41311 { (char *)"PyApp_SetExitOnFrameDelete", (PyCFunction
) _wrap_PyApp_SetExitOnFrameDelete
, METH_VARARGS
| METH_KEYWORDS
},
41312 { (char *)"PyApp_GetExitOnFrameDelete", (PyCFunction
) _wrap_PyApp_GetExitOnFrameDelete
, METH_VARARGS
| METH_KEYWORDS
},
41313 { (char *)"PyApp_SetUseBestVisual", (PyCFunction
) _wrap_PyApp_SetUseBestVisual
, METH_VARARGS
| METH_KEYWORDS
},
41314 { (char *)"PyApp_GetUseBestVisual", (PyCFunction
) _wrap_PyApp_GetUseBestVisual
, METH_VARARGS
| METH_KEYWORDS
},
41315 { (char *)"PyApp_SetPrintMode", (PyCFunction
) _wrap_PyApp_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
},
41316 { (char *)"PyApp_GetPrintMode", (PyCFunction
) _wrap_PyApp_GetPrintMode
, METH_VARARGS
| METH_KEYWORDS
},
41317 { (char *)"PyApp_SetAssertMode", (PyCFunction
) _wrap_PyApp_SetAssertMode
, METH_VARARGS
| METH_KEYWORDS
},
41318 { (char *)"PyApp_GetAssertMode", (PyCFunction
) _wrap_PyApp_GetAssertMode
, METH_VARARGS
| METH_KEYWORDS
},
41319 { (char *)"PyApp_GetMacSupportPCMenuShortcuts", (PyCFunction
) _wrap_PyApp_GetMacSupportPCMenuShortcuts
, METH_VARARGS
| METH_KEYWORDS
},
41320 { (char *)"PyApp_GetMacAboutMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacAboutMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
41321 { (char *)"PyApp_GetMacPreferencesMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacPreferencesMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
41322 { (char *)"PyApp_GetMacExitMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacExitMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
41323 { (char *)"PyApp_GetMacHelpMenuTitleName", (PyCFunction
) _wrap_PyApp_GetMacHelpMenuTitleName
, METH_VARARGS
| METH_KEYWORDS
},
41324 { (char *)"PyApp_SetMacSupportPCMenuShortcuts", (PyCFunction
) _wrap_PyApp_SetMacSupportPCMenuShortcuts
, METH_VARARGS
| METH_KEYWORDS
},
41325 { (char *)"PyApp_SetMacAboutMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacAboutMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
41326 { (char *)"PyApp_SetMacPreferencesMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacPreferencesMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
41327 { (char *)"PyApp_SetMacExitMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacExitMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
41328 { (char *)"PyApp_SetMacHelpMenuTitleName", (PyCFunction
) _wrap_PyApp_SetMacHelpMenuTitleName
, METH_VARARGS
| METH_KEYWORDS
},
41329 { (char *)"PyApp__BootstrapApp", (PyCFunction
) _wrap_PyApp__BootstrapApp
, METH_VARARGS
| METH_KEYWORDS
},
41330 { (char *)"PyApp_GetComCtl32Version", (PyCFunction
) _wrap_PyApp_GetComCtl32Version
, METH_VARARGS
| METH_KEYWORDS
},
41331 { (char *)"PyApp_swigregister", PyApp_swigregister
, METH_VARARGS
},
41332 { (char *)"Exit", (PyCFunction
) _wrap_Exit
, METH_VARARGS
| METH_KEYWORDS
},
41333 { (char *)"Yield", (PyCFunction
) _wrap_Yield
, METH_VARARGS
| METH_KEYWORDS
},
41334 { (char *)"YieldIfNeeded", (PyCFunction
) _wrap_YieldIfNeeded
, METH_VARARGS
| METH_KEYWORDS
},
41335 { (char *)"SafeYield", (PyCFunction
) _wrap_SafeYield
, METH_VARARGS
| METH_KEYWORDS
},
41336 { (char *)"WakeUpIdle", (PyCFunction
) _wrap_WakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
},
41337 { (char *)"PostEvent", (PyCFunction
) _wrap_PostEvent
, METH_VARARGS
| METH_KEYWORDS
},
41338 { (char *)"App_CleanUp", (PyCFunction
) _wrap_App_CleanUp
, METH_VARARGS
| METH_KEYWORDS
},
41339 { (char *)"GetApp", (PyCFunction
) _wrap_GetApp
, METH_VARARGS
| METH_KEYWORDS
},
41340 { (char *)"new_AcceleratorEntry", (PyCFunction
) _wrap_new_AcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
},
41341 { (char *)"delete_AcceleratorEntry", (PyCFunction
) _wrap_delete_AcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
},
41342 { (char *)"AcceleratorEntry_Set", (PyCFunction
) _wrap_AcceleratorEntry_Set
, METH_VARARGS
| METH_KEYWORDS
},
41343 { (char *)"AcceleratorEntry_GetFlags", (PyCFunction
) _wrap_AcceleratorEntry_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
41344 { (char *)"AcceleratorEntry_GetKeyCode", (PyCFunction
) _wrap_AcceleratorEntry_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
41345 { (char *)"AcceleratorEntry_GetCommand", (PyCFunction
) _wrap_AcceleratorEntry_GetCommand
, METH_VARARGS
| METH_KEYWORDS
},
41346 { (char *)"AcceleratorEntry_swigregister", AcceleratorEntry_swigregister
, METH_VARARGS
},
41347 { (char *)"new_AcceleratorTable", (PyCFunction
) _wrap_new_AcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
41348 { (char *)"delete_AcceleratorTable", (PyCFunction
) _wrap_delete_AcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
41349 { (char *)"AcceleratorTable_Ok", (PyCFunction
) _wrap_AcceleratorTable_Ok
, METH_VARARGS
| METH_KEYWORDS
},
41350 { (char *)"AcceleratorTable_swigregister", AcceleratorTable_swigregister
, METH_VARARGS
},
41351 { (char *)"GetAccelFromString", (PyCFunction
) _wrap_GetAccelFromString
, METH_VARARGS
| METH_KEYWORDS
},
41352 { (char *)"new_VisualAttributes", (PyCFunction
) _wrap_new_VisualAttributes
, METH_VARARGS
| METH_KEYWORDS
},
41353 { (char *)"delete_VisualAttributes", (PyCFunction
) _wrap_delete_VisualAttributes
, METH_VARARGS
| METH_KEYWORDS
},
41354 { (char *)"VisualAttributes_font_set", (PyCFunction
) _wrap_VisualAttributes_font_set
, METH_VARARGS
| METH_KEYWORDS
},
41355 { (char *)"VisualAttributes_font_get", (PyCFunction
) _wrap_VisualAttributes_font_get
, METH_VARARGS
| METH_KEYWORDS
},
41356 { (char *)"VisualAttributes_colFg_set", (PyCFunction
) _wrap_VisualAttributes_colFg_set
, METH_VARARGS
| METH_KEYWORDS
},
41357 { (char *)"VisualAttributes_colFg_get", (PyCFunction
) _wrap_VisualAttributes_colFg_get
, METH_VARARGS
| METH_KEYWORDS
},
41358 { (char *)"VisualAttributes_colBg_set", (PyCFunction
) _wrap_VisualAttributes_colBg_set
, METH_VARARGS
| METH_KEYWORDS
},
41359 { (char *)"VisualAttributes_colBg_get", (PyCFunction
) _wrap_VisualAttributes_colBg_get
, METH_VARARGS
| METH_KEYWORDS
},
41360 { (char *)"VisualAttributes_swigregister", VisualAttributes_swigregister
, METH_VARARGS
},
41361 { (char *)"new_Window", (PyCFunction
) _wrap_new_Window
, METH_VARARGS
| METH_KEYWORDS
},
41362 { (char *)"new_PreWindow", (PyCFunction
) _wrap_new_PreWindow
, METH_VARARGS
| METH_KEYWORDS
},
41363 { (char *)"Window_Create", (PyCFunction
) _wrap_Window_Create
, METH_VARARGS
| METH_KEYWORDS
},
41364 { (char *)"Window_Close", (PyCFunction
) _wrap_Window_Close
, METH_VARARGS
| METH_KEYWORDS
},
41365 { (char *)"Window_Destroy", (PyCFunction
) _wrap_Window_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
41366 { (char *)"Window_DestroyChildren", (PyCFunction
) _wrap_Window_DestroyChildren
, METH_VARARGS
| METH_KEYWORDS
},
41367 { (char *)"Window_IsBeingDeleted", (PyCFunction
) _wrap_Window_IsBeingDeleted
, METH_VARARGS
| METH_KEYWORDS
},
41368 { (char *)"Window_SetTitle", (PyCFunction
) _wrap_Window_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
41369 { (char *)"Window_GetTitle", (PyCFunction
) _wrap_Window_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
41370 { (char *)"Window_SetLabel", (PyCFunction
) _wrap_Window_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
41371 { (char *)"Window_GetLabel", (PyCFunction
) _wrap_Window_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
41372 { (char *)"Window_SetName", (PyCFunction
) _wrap_Window_SetName
, METH_VARARGS
| METH_KEYWORDS
},
41373 { (char *)"Window_GetName", (PyCFunction
) _wrap_Window_GetName
, METH_VARARGS
| METH_KEYWORDS
},
41374 { (char *)"Window_SetWindowVariant", (PyCFunction
) _wrap_Window_SetWindowVariant
, METH_VARARGS
| METH_KEYWORDS
},
41375 { (char *)"Window_GetWindowVariant", (PyCFunction
) _wrap_Window_GetWindowVariant
, METH_VARARGS
| METH_KEYWORDS
},
41376 { (char *)"Window_SetId", (PyCFunction
) _wrap_Window_SetId
, METH_VARARGS
| METH_KEYWORDS
},
41377 { (char *)"Window_GetId", (PyCFunction
) _wrap_Window_GetId
, METH_VARARGS
| METH_KEYWORDS
},
41378 { (char *)"Window_NewControlId", (PyCFunction
) _wrap_Window_NewControlId
, METH_VARARGS
| METH_KEYWORDS
},
41379 { (char *)"Window_NextControlId", (PyCFunction
) _wrap_Window_NextControlId
, METH_VARARGS
| METH_KEYWORDS
},
41380 { (char *)"Window_PrevControlId", (PyCFunction
) _wrap_Window_PrevControlId
, METH_VARARGS
| METH_KEYWORDS
},
41381 { (char *)"Window_SetSize", (PyCFunction
) _wrap_Window_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
41382 { (char *)"Window_SetDimensions", (PyCFunction
) _wrap_Window_SetDimensions
, METH_VARARGS
| METH_KEYWORDS
},
41383 { (char *)"Window_SetRect", (PyCFunction
) _wrap_Window_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
41384 { (char *)"Window_SetSizeWH", (PyCFunction
) _wrap_Window_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
41385 { (char *)"Window_Move", (PyCFunction
) _wrap_Window_Move
, METH_VARARGS
| METH_KEYWORDS
},
41386 { (char *)"Window_MoveXY", (PyCFunction
) _wrap_Window_MoveXY
, METH_VARARGS
| METH_KEYWORDS
},
41387 { (char *)"Window_Raise", (PyCFunction
) _wrap_Window_Raise
, METH_VARARGS
| METH_KEYWORDS
},
41388 { (char *)"Window_Lower", (PyCFunction
) _wrap_Window_Lower
, METH_VARARGS
| METH_KEYWORDS
},
41389 { (char *)"Window_SetClientSize", (PyCFunction
) _wrap_Window_SetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
41390 { (char *)"Window_SetClientSizeWH", (PyCFunction
) _wrap_Window_SetClientSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
41391 { (char *)"Window_SetClientRect", (PyCFunction
) _wrap_Window_SetClientRect
, METH_VARARGS
| METH_KEYWORDS
},
41392 { (char *)"Window_GetPosition", (PyCFunction
) _wrap_Window_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
41393 { (char *)"Window_GetPositionTuple", (PyCFunction
) _wrap_Window_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
41394 { (char *)"Window_GetSize", (PyCFunction
) _wrap_Window_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
41395 { (char *)"Window_GetSizeTuple", (PyCFunction
) _wrap_Window_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
41396 { (char *)"Window_GetRect", (PyCFunction
) _wrap_Window_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
41397 { (char *)"Window_GetClientSize", (PyCFunction
) _wrap_Window_GetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
41398 { (char *)"Window_GetClientSizeTuple", (PyCFunction
) _wrap_Window_GetClientSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
41399 { (char *)"Window_GetClientAreaOrigin", (PyCFunction
) _wrap_Window_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
},
41400 { (char *)"Window_GetClientRect", (PyCFunction
) _wrap_Window_GetClientRect
, METH_VARARGS
| METH_KEYWORDS
},
41401 { (char *)"Window_GetBestSize", (PyCFunction
) _wrap_Window_GetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
41402 { (char *)"Window_GetBestSizeTuple", (PyCFunction
) _wrap_Window_GetBestSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
41403 { (char *)"Window_GetAdjustedBestSize", (PyCFunction
) _wrap_Window_GetAdjustedBestSize
, METH_VARARGS
| METH_KEYWORDS
},
41404 { (char *)"Window_Center", (PyCFunction
) _wrap_Window_Center
, METH_VARARGS
| METH_KEYWORDS
},
41405 { (char *)"Window_CenterOnScreen", (PyCFunction
) _wrap_Window_CenterOnScreen
, METH_VARARGS
| METH_KEYWORDS
},
41406 { (char *)"Window_CenterOnParent", (PyCFunction
) _wrap_Window_CenterOnParent
, METH_VARARGS
| METH_KEYWORDS
},
41407 { (char *)"Window_Fit", (PyCFunction
) _wrap_Window_Fit
, METH_VARARGS
| METH_KEYWORDS
},
41408 { (char *)"Window_FitInside", (PyCFunction
) _wrap_Window_FitInside
, METH_VARARGS
| METH_KEYWORDS
},
41409 { (char *)"Window_SetSizeHints", _wrap_Window_SetSizeHints
, METH_VARARGS
},
41410 { (char *)"Window_SetVirtualSizeHints", _wrap_Window_SetVirtualSizeHints
, METH_VARARGS
},
41411 { (char *)"Window_GetMinWidth", (PyCFunction
) _wrap_Window_GetMinWidth
, METH_VARARGS
| METH_KEYWORDS
},
41412 { (char *)"Window_GetMinHeight", (PyCFunction
) _wrap_Window_GetMinHeight
, METH_VARARGS
| METH_KEYWORDS
},
41413 { (char *)"Window_GetMaxWidth", (PyCFunction
) _wrap_Window_GetMaxWidth
, METH_VARARGS
| METH_KEYWORDS
},
41414 { (char *)"Window_GetMaxHeight", (PyCFunction
) _wrap_Window_GetMaxHeight
, METH_VARARGS
| METH_KEYWORDS
},
41415 { (char *)"Window_GetMaxSize", (PyCFunction
) _wrap_Window_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
41416 { (char *)"Window_GetMinSize", (PyCFunction
) _wrap_Window_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
41417 { (char *)"Window_SetVirtualSize", (PyCFunction
) _wrap_Window_SetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
41418 { (char *)"Window_SetVirtualSizeWH", (PyCFunction
) _wrap_Window_SetVirtualSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
41419 { (char *)"Window_GetVirtualSize", (PyCFunction
) _wrap_Window_GetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
41420 { (char *)"Window_GetVirtualSizeTuple", (PyCFunction
) _wrap_Window_GetVirtualSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
41421 { (char *)"Window_GetBestVirtualSize", (PyCFunction
) _wrap_Window_GetBestVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
41422 { (char *)"Window_Show", (PyCFunction
) _wrap_Window_Show
, METH_VARARGS
| METH_KEYWORDS
},
41423 { (char *)"Window_Hide", (PyCFunction
) _wrap_Window_Hide
, METH_VARARGS
| METH_KEYWORDS
},
41424 { (char *)"Window_Enable", (PyCFunction
) _wrap_Window_Enable
, METH_VARARGS
| METH_KEYWORDS
},
41425 { (char *)"Window_Disable", (PyCFunction
) _wrap_Window_Disable
, METH_VARARGS
| METH_KEYWORDS
},
41426 { (char *)"Window_IsShown", (PyCFunction
) _wrap_Window_IsShown
, METH_VARARGS
| METH_KEYWORDS
},
41427 { (char *)"Window_IsEnabled", (PyCFunction
) _wrap_Window_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
41428 { (char *)"Window_SetWindowStyleFlag", (PyCFunction
) _wrap_Window_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
41429 { (char *)"Window_GetWindowStyleFlag", (PyCFunction
) _wrap_Window_GetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
41430 { (char *)"Window_HasFlag", (PyCFunction
) _wrap_Window_HasFlag
, METH_VARARGS
| METH_KEYWORDS
},
41431 { (char *)"Window_IsRetained", (PyCFunction
) _wrap_Window_IsRetained
, METH_VARARGS
| METH_KEYWORDS
},
41432 { (char *)"Window_SetExtraStyle", (PyCFunction
) _wrap_Window_SetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
},
41433 { (char *)"Window_GetExtraStyle", (PyCFunction
) _wrap_Window_GetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
},
41434 { (char *)"Window_MakeModal", (PyCFunction
) _wrap_Window_MakeModal
, METH_VARARGS
| METH_KEYWORDS
},
41435 { (char *)"Window_SetThemeEnabled", (PyCFunction
) _wrap_Window_SetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
},
41436 { (char *)"Window_GetThemeEnabled", (PyCFunction
) _wrap_Window_GetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
},
41437 { (char *)"Window_SetFocus", (PyCFunction
) _wrap_Window_SetFocus
, METH_VARARGS
| METH_KEYWORDS
},
41438 { (char *)"Window_SetFocusFromKbd", (PyCFunction
) _wrap_Window_SetFocusFromKbd
, METH_VARARGS
| METH_KEYWORDS
},
41439 { (char *)"Window_FindFocus", (PyCFunction
) _wrap_Window_FindFocus
, METH_VARARGS
| METH_KEYWORDS
},
41440 { (char *)"Window_AcceptsFocus", (PyCFunction
) _wrap_Window_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
41441 { (char *)"Window_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_Window_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
41442 { (char *)"Window_GetDefaultItem", (PyCFunction
) _wrap_Window_GetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
41443 { (char *)"Window_SetDefaultItem", (PyCFunction
) _wrap_Window_SetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
41444 { (char *)"Window_SetTmpDefaultItem", (PyCFunction
) _wrap_Window_SetTmpDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
41445 { (char *)"Window_GetChildren", (PyCFunction
) _wrap_Window_GetChildren
, METH_VARARGS
| METH_KEYWORDS
},
41446 { (char *)"Window_GetParent", (PyCFunction
) _wrap_Window_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
41447 { (char *)"Window_GetGrandParent", (PyCFunction
) _wrap_Window_GetGrandParent
, METH_VARARGS
| METH_KEYWORDS
},
41448 { (char *)"Window_IsTopLevel", (PyCFunction
) _wrap_Window_IsTopLevel
, METH_VARARGS
| METH_KEYWORDS
},
41449 { (char *)"Window_Reparent", (PyCFunction
) _wrap_Window_Reparent
, METH_VARARGS
| METH_KEYWORDS
},
41450 { (char *)"Window_AddChild", (PyCFunction
) _wrap_Window_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
41451 { (char *)"Window_RemoveChild", (PyCFunction
) _wrap_Window_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
41452 { (char *)"Window_FindWindowById", (PyCFunction
) _wrap_Window_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
},
41453 { (char *)"Window_FindWindowByName", (PyCFunction
) _wrap_Window_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
},
41454 { (char *)"Window_GetEventHandler", (PyCFunction
) _wrap_Window_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
41455 { (char *)"Window_SetEventHandler", (PyCFunction
) _wrap_Window_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
41456 { (char *)"Window_PushEventHandler", (PyCFunction
) _wrap_Window_PushEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
41457 { (char *)"Window_PopEventHandler", (PyCFunction
) _wrap_Window_PopEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
41458 { (char *)"Window_RemoveEventHandler", (PyCFunction
) _wrap_Window_RemoveEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
41459 { (char *)"Window_SetValidator", (PyCFunction
) _wrap_Window_SetValidator
, METH_VARARGS
| METH_KEYWORDS
},
41460 { (char *)"Window_GetValidator", (PyCFunction
) _wrap_Window_GetValidator
, METH_VARARGS
| METH_KEYWORDS
},
41461 { (char *)"Window_Validate", (PyCFunction
) _wrap_Window_Validate
, METH_VARARGS
| METH_KEYWORDS
},
41462 { (char *)"Window_TransferDataToWindow", (PyCFunction
) _wrap_Window_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
41463 { (char *)"Window_TransferDataFromWindow", (PyCFunction
) _wrap_Window_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
41464 { (char *)"Window_InitDialog", (PyCFunction
) _wrap_Window_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
41465 { (char *)"Window_SetAcceleratorTable", (PyCFunction
) _wrap_Window_SetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
41466 { (char *)"Window_GetAcceleratorTable", (PyCFunction
) _wrap_Window_GetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
41467 { (char *)"Window_RegisterHotKey", (PyCFunction
) _wrap_Window_RegisterHotKey
, METH_VARARGS
| METH_KEYWORDS
},
41468 { (char *)"Window_UnregisterHotKey", (PyCFunction
) _wrap_Window_UnregisterHotKey
, METH_VARARGS
| METH_KEYWORDS
},
41469 { (char *)"Window_ConvertDialogPointToPixels", (PyCFunction
) _wrap_Window_ConvertDialogPointToPixels
, METH_VARARGS
| METH_KEYWORDS
},
41470 { (char *)"Window_ConvertDialogSizeToPixels", (PyCFunction
) _wrap_Window_ConvertDialogSizeToPixels
, METH_VARARGS
| METH_KEYWORDS
},
41471 { (char *)"Window_DLG_PNT", (PyCFunction
) _wrap_Window_DLG_PNT
, METH_VARARGS
| METH_KEYWORDS
},
41472 { (char *)"Window_DLG_SZE", (PyCFunction
) _wrap_Window_DLG_SZE
, METH_VARARGS
| METH_KEYWORDS
},
41473 { (char *)"Window_ConvertPixelPointToDialog", (PyCFunction
) _wrap_Window_ConvertPixelPointToDialog
, METH_VARARGS
| METH_KEYWORDS
},
41474 { (char *)"Window_ConvertPixelSizeToDialog", (PyCFunction
) _wrap_Window_ConvertPixelSizeToDialog
, METH_VARARGS
| METH_KEYWORDS
},
41475 { (char *)"Window_WarpPointer", (PyCFunction
) _wrap_Window_WarpPointer
, METH_VARARGS
| METH_KEYWORDS
},
41476 { (char *)"Window_CaptureMouse", (PyCFunction
) _wrap_Window_CaptureMouse
, METH_VARARGS
| METH_KEYWORDS
},
41477 { (char *)"Window_ReleaseMouse", (PyCFunction
) _wrap_Window_ReleaseMouse
, METH_VARARGS
| METH_KEYWORDS
},
41478 { (char *)"Window_GetCapture", (PyCFunction
) _wrap_Window_GetCapture
, METH_VARARGS
| METH_KEYWORDS
},
41479 { (char *)"Window_HasCapture", (PyCFunction
) _wrap_Window_HasCapture
, METH_VARARGS
| METH_KEYWORDS
},
41480 { (char *)"Window_Refresh", (PyCFunction
) _wrap_Window_Refresh
, METH_VARARGS
| METH_KEYWORDS
},
41481 { (char *)"Window_RefreshRect", (PyCFunction
) _wrap_Window_RefreshRect
, METH_VARARGS
| METH_KEYWORDS
},
41482 { (char *)"Window_Update", (PyCFunction
) _wrap_Window_Update
, METH_VARARGS
| METH_KEYWORDS
},
41483 { (char *)"Window_ClearBackground", (PyCFunction
) _wrap_Window_ClearBackground
, METH_VARARGS
| METH_KEYWORDS
},
41484 { (char *)"Window_Freeze", (PyCFunction
) _wrap_Window_Freeze
, METH_VARARGS
| METH_KEYWORDS
},
41485 { (char *)"Window_Thaw", (PyCFunction
) _wrap_Window_Thaw
, METH_VARARGS
| METH_KEYWORDS
},
41486 { (char *)"Window_PrepareDC", (PyCFunction
) _wrap_Window_PrepareDC
, METH_VARARGS
| METH_KEYWORDS
},
41487 { (char *)"Window_GetUpdateRegion", (PyCFunction
) _wrap_Window_GetUpdateRegion
, METH_VARARGS
| METH_KEYWORDS
},
41488 { (char *)"Window_GetUpdateClientRect", (PyCFunction
) _wrap_Window_GetUpdateClientRect
, METH_VARARGS
| METH_KEYWORDS
},
41489 { (char *)"Window_IsExposed", (PyCFunction
) _wrap_Window_IsExposed
, METH_VARARGS
| METH_KEYWORDS
},
41490 { (char *)"Window_IsExposedPoint", (PyCFunction
) _wrap_Window_IsExposedPoint
, METH_VARARGS
| METH_KEYWORDS
},
41491 { (char *)"Window_IsExposedRect", (PyCFunction
) _wrap_Window_IsExposedRect
, METH_VARARGS
| METH_KEYWORDS
},
41492 { (char *)"Window_GetDefaultAttributes", (PyCFunction
) _wrap_Window_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
41493 { (char *)"Window_GetClassDefaultAttributes", (PyCFunction
) _wrap_Window_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
41494 { (char *)"Window_SetBackgroundColour", (PyCFunction
) _wrap_Window_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
41495 { (char *)"Window_SetDefaultBackgroundColour", (PyCFunction
) _wrap_Window_SetDefaultBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
41496 { (char *)"Window_SetForegroundColour", (PyCFunction
) _wrap_Window_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
41497 { (char *)"Window_SetDefaultForegroundColour", (PyCFunction
) _wrap_Window_SetDefaultForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
41498 { (char *)"Window_GetBackgroundColour", (PyCFunction
) _wrap_Window_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
41499 { (char *)"Window_GetForegroundColour", (PyCFunction
) _wrap_Window_GetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
41500 { (char *)"Window_SetCursor", (PyCFunction
) _wrap_Window_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
41501 { (char *)"Window_GetCursor", (PyCFunction
) _wrap_Window_GetCursor
, METH_VARARGS
| METH_KEYWORDS
},
41502 { (char *)"Window_SetFont", (PyCFunction
) _wrap_Window_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
41503 { (char *)"Window_SetDefaultFont", (PyCFunction
) _wrap_Window_SetDefaultFont
, METH_VARARGS
| METH_KEYWORDS
},
41504 { (char *)"Window_GetFont", (PyCFunction
) _wrap_Window_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
41505 { (char *)"Window_SetCaret", (PyCFunction
) _wrap_Window_SetCaret
, METH_VARARGS
| METH_KEYWORDS
},
41506 { (char *)"Window_GetCaret", (PyCFunction
) _wrap_Window_GetCaret
, METH_VARARGS
| METH_KEYWORDS
},
41507 { (char *)"Window_GetCharHeight", (PyCFunction
) _wrap_Window_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
},
41508 { (char *)"Window_GetCharWidth", (PyCFunction
) _wrap_Window_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
},
41509 { (char *)"Window_GetTextExtent", (PyCFunction
) _wrap_Window_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
41510 { (char *)"Window_GetFullTextExtent", (PyCFunction
) _wrap_Window_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
41511 { (char *)"Window_ClientToScreenXY", (PyCFunction
) _wrap_Window_ClientToScreenXY
, METH_VARARGS
| METH_KEYWORDS
},
41512 { (char *)"Window_ScreenToClientXY", (PyCFunction
) _wrap_Window_ScreenToClientXY
, METH_VARARGS
| METH_KEYWORDS
},
41513 { (char *)"Window_ClientToScreen", (PyCFunction
) _wrap_Window_ClientToScreen
, METH_VARARGS
| METH_KEYWORDS
},
41514 { (char *)"Window_ScreenToClient", (PyCFunction
) _wrap_Window_ScreenToClient
, METH_VARARGS
| METH_KEYWORDS
},
41515 { (char *)"Window_HitTestXY", (PyCFunction
) _wrap_Window_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
},
41516 { (char *)"Window_HitTest", (PyCFunction
) _wrap_Window_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
41517 { (char *)"Window_GetBorder", _wrap_Window_GetBorder
, METH_VARARGS
},
41518 { (char *)"Window_UpdateWindowUI", (PyCFunction
) _wrap_Window_UpdateWindowUI
, METH_VARARGS
| METH_KEYWORDS
},
41519 { (char *)"Window_PopupMenuXY", (PyCFunction
) _wrap_Window_PopupMenuXY
, METH_VARARGS
| METH_KEYWORDS
},
41520 { (char *)"Window_PopupMenu", (PyCFunction
) _wrap_Window_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
},
41521 { (char *)"Window_GetHandle", (PyCFunction
) _wrap_Window_GetHandle
, METH_VARARGS
| METH_KEYWORDS
},
41522 { (char *)"Window_OnPaint", (PyCFunction
) _wrap_Window_OnPaint
, METH_VARARGS
| METH_KEYWORDS
},
41523 { (char *)"Window_HasScrollbar", (PyCFunction
) _wrap_Window_HasScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
41524 { (char *)"Window_SetScrollbar", (PyCFunction
) _wrap_Window_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
41525 { (char *)"Window_SetScrollPos", (PyCFunction
) _wrap_Window_SetScrollPos
, METH_VARARGS
| METH_KEYWORDS
},
41526 { (char *)"Window_GetScrollPos", (PyCFunction
) _wrap_Window_GetScrollPos
, METH_VARARGS
| METH_KEYWORDS
},
41527 { (char *)"Window_GetScrollThumb", (PyCFunction
) _wrap_Window_GetScrollThumb
, METH_VARARGS
| METH_KEYWORDS
},
41528 { (char *)"Window_GetScrollRange", (PyCFunction
) _wrap_Window_GetScrollRange
, METH_VARARGS
| METH_KEYWORDS
},
41529 { (char *)"Window_ScrollWindow", (PyCFunction
) _wrap_Window_ScrollWindow
, METH_VARARGS
| METH_KEYWORDS
},
41530 { (char *)"Window_ScrollLines", (PyCFunction
) _wrap_Window_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
},
41531 { (char *)"Window_ScrollPages", (PyCFunction
) _wrap_Window_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
},
41532 { (char *)"Window_LineUp", (PyCFunction
) _wrap_Window_LineUp
, METH_VARARGS
| METH_KEYWORDS
},
41533 { (char *)"Window_LineDown", (PyCFunction
) _wrap_Window_LineDown
, METH_VARARGS
| METH_KEYWORDS
},
41534 { (char *)"Window_PageUp", (PyCFunction
) _wrap_Window_PageUp
, METH_VARARGS
| METH_KEYWORDS
},
41535 { (char *)"Window_PageDown", (PyCFunction
) _wrap_Window_PageDown
, METH_VARARGS
| METH_KEYWORDS
},
41536 { (char *)"Window_SetHelpText", (PyCFunction
) _wrap_Window_SetHelpText
, METH_VARARGS
| METH_KEYWORDS
},
41537 { (char *)"Window_SetHelpTextForId", (PyCFunction
) _wrap_Window_SetHelpTextForId
, METH_VARARGS
| METH_KEYWORDS
},
41538 { (char *)"Window_GetHelpText", (PyCFunction
) _wrap_Window_GetHelpText
, METH_VARARGS
| METH_KEYWORDS
},
41539 { (char *)"Window_SetToolTipString", (PyCFunction
) _wrap_Window_SetToolTipString
, METH_VARARGS
| METH_KEYWORDS
},
41540 { (char *)"Window_SetToolTip", (PyCFunction
) _wrap_Window_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
41541 { (char *)"Window_GetToolTip", (PyCFunction
) _wrap_Window_GetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
41542 { (char *)"Window_SetDropTarget", (PyCFunction
) _wrap_Window_SetDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
41543 { (char *)"Window_GetDropTarget", (PyCFunction
) _wrap_Window_GetDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
41544 { (char *)"Window_DragAcceptFiles", (PyCFunction
) _wrap_Window_DragAcceptFiles
, METH_VARARGS
| METH_KEYWORDS
},
41545 { (char *)"Window_SetConstraints", (PyCFunction
) _wrap_Window_SetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
41546 { (char *)"Window_GetConstraints", (PyCFunction
) _wrap_Window_GetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
41547 { (char *)"Window_SetAutoLayout", (PyCFunction
) _wrap_Window_SetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
},
41548 { (char *)"Window_GetAutoLayout", (PyCFunction
) _wrap_Window_GetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
},
41549 { (char *)"Window_Layout", (PyCFunction
) _wrap_Window_Layout
, METH_VARARGS
| METH_KEYWORDS
},
41550 { (char *)"Window_SetSizer", (PyCFunction
) _wrap_Window_SetSizer
, METH_VARARGS
| METH_KEYWORDS
},
41551 { (char *)"Window_SetSizerAndFit", (PyCFunction
) _wrap_Window_SetSizerAndFit
, METH_VARARGS
| METH_KEYWORDS
},
41552 { (char *)"Window_GetSizer", (PyCFunction
) _wrap_Window_GetSizer
, METH_VARARGS
| METH_KEYWORDS
},
41553 { (char *)"Window_SetContainingSizer", (PyCFunction
) _wrap_Window_SetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
},
41554 { (char *)"Window_GetContainingSizer", (PyCFunction
) _wrap_Window_GetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
},
41555 { (char *)"Window_InheritAttributes", (PyCFunction
) _wrap_Window_InheritAttributes
, METH_VARARGS
| METH_KEYWORDS
},
41556 { (char *)"Window_ShouldInheritColours", (PyCFunction
) _wrap_Window_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
},
41557 { (char *)"Window_swigregister", Window_swigregister
, METH_VARARGS
},
41558 { (char *)"FindWindowById", (PyCFunction
) _wrap_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
},
41559 { (char *)"FindWindowByName", (PyCFunction
) _wrap_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
},
41560 { (char *)"FindWindowByLabel", (PyCFunction
) _wrap_FindWindowByLabel
, METH_VARARGS
| METH_KEYWORDS
},
41561 { (char *)"Window_FromHWND", (PyCFunction
) _wrap_Window_FromHWND
, METH_VARARGS
| METH_KEYWORDS
},
41562 { (char *)"new_Validator", (PyCFunction
) _wrap_new_Validator
, METH_VARARGS
| METH_KEYWORDS
},
41563 { (char *)"Validator_Clone", (PyCFunction
) _wrap_Validator_Clone
, METH_VARARGS
| METH_KEYWORDS
},
41564 { (char *)"Validator_Validate", (PyCFunction
) _wrap_Validator_Validate
, METH_VARARGS
| METH_KEYWORDS
},
41565 { (char *)"Validator_TransferToWindow", (PyCFunction
) _wrap_Validator_TransferToWindow
, METH_VARARGS
| METH_KEYWORDS
},
41566 { (char *)"Validator_TransferFromWindow", (PyCFunction
) _wrap_Validator_TransferFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
41567 { (char *)"Validator_GetWindow", (PyCFunction
) _wrap_Validator_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
41568 { (char *)"Validator_SetWindow", (PyCFunction
) _wrap_Validator_SetWindow
, METH_VARARGS
| METH_KEYWORDS
},
41569 { (char *)"Validator_IsSilent", (PyCFunction
) _wrap_Validator_IsSilent
, METH_VARARGS
| METH_KEYWORDS
},
41570 { (char *)"Validator_SetBellOnError", (PyCFunction
) _wrap_Validator_SetBellOnError
, METH_VARARGS
| METH_KEYWORDS
},
41571 { (char *)"Validator_swigregister", Validator_swigregister
, METH_VARARGS
},
41572 { (char *)"new_PyValidator", (PyCFunction
) _wrap_new_PyValidator
, METH_VARARGS
| METH_KEYWORDS
},
41573 { (char *)"PyValidator__setCallbackInfo", (PyCFunction
) _wrap_PyValidator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
41574 { (char *)"PyValidator_swigregister", PyValidator_swigregister
, METH_VARARGS
},
41575 { (char *)"new_Menu", (PyCFunction
) _wrap_new_Menu
, METH_VARARGS
| METH_KEYWORDS
},
41576 { (char *)"Menu_Append", (PyCFunction
) _wrap_Menu_Append
, METH_VARARGS
| METH_KEYWORDS
},
41577 { (char *)"Menu_AppendSeparator", (PyCFunction
) _wrap_Menu_AppendSeparator
, METH_VARARGS
| METH_KEYWORDS
},
41578 { (char *)"Menu_AppendCheckItem", (PyCFunction
) _wrap_Menu_AppendCheckItem
, METH_VARARGS
| METH_KEYWORDS
},
41579 { (char *)"Menu_AppendRadioItem", (PyCFunction
) _wrap_Menu_AppendRadioItem
, METH_VARARGS
| METH_KEYWORDS
},
41580 { (char *)"Menu_AppendMenu", (PyCFunction
) _wrap_Menu_AppendMenu
, METH_VARARGS
| METH_KEYWORDS
},
41581 { (char *)"Menu_AppendItem", (PyCFunction
) _wrap_Menu_AppendItem
, METH_VARARGS
| METH_KEYWORDS
},
41582 { (char *)"Menu_Break", (PyCFunction
) _wrap_Menu_Break
, METH_VARARGS
| METH_KEYWORDS
},
41583 { (char *)"Menu_InsertItem", (PyCFunction
) _wrap_Menu_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
41584 { (char *)"Menu_Insert", (PyCFunction
) _wrap_Menu_Insert
, METH_VARARGS
| METH_KEYWORDS
},
41585 { (char *)"Menu_InsertSeparator", (PyCFunction
) _wrap_Menu_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
},
41586 { (char *)"Menu_InsertCheckItem", (PyCFunction
) _wrap_Menu_InsertCheckItem
, METH_VARARGS
| METH_KEYWORDS
},
41587 { (char *)"Menu_InsertRadioItem", (PyCFunction
) _wrap_Menu_InsertRadioItem
, METH_VARARGS
| METH_KEYWORDS
},
41588 { (char *)"Menu_InsertMenu", (PyCFunction
) _wrap_Menu_InsertMenu
, METH_VARARGS
| METH_KEYWORDS
},
41589 { (char *)"Menu_PrependItem", (PyCFunction
) _wrap_Menu_PrependItem
, METH_VARARGS
| METH_KEYWORDS
},
41590 { (char *)"Menu_Prepend", (PyCFunction
) _wrap_Menu_Prepend
, METH_VARARGS
| METH_KEYWORDS
},
41591 { (char *)"Menu_PrependSeparator", (PyCFunction
) _wrap_Menu_PrependSeparator
, METH_VARARGS
| METH_KEYWORDS
},
41592 { (char *)"Menu_PrependCheckItem", (PyCFunction
) _wrap_Menu_PrependCheckItem
, METH_VARARGS
| METH_KEYWORDS
},
41593 { (char *)"Menu_PrependRadioItem", (PyCFunction
) _wrap_Menu_PrependRadioItem
, METH_VARARGS
| METH_KEYWORDS
},
41594 { (char *)"Menu_PrependMenu", (PyCFunction
) _wrap_Menu_PrependMenu
, METH_VARARGS
| METH_KEYWORDS
},
41595 { (char *)"Menu_Remove", (PyCFunction
) _wrap_Menu_Remove
, METH_VARARGS
| METH_KEYWORDS
},
41596 { (char *)"Menu_RemoveItem", (PyCFunction
) _wrap_Menu_RemoveItem
, METH_VARARGS
| METH_KEYWORDS
},
41597 { (char *)"Menu_Delete", (PyCFunction
) _wrap_Menu_Delete
, METH_VARARGS
| METH_KEYWORDS
},
41598 { (char *)"Menu_DeleteItem", (PyCFunction
) _wrap_Menu_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
},
41599 { (char *)"Menu_Destroy", (PyCFunction
) _wrap_Menu_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
41600 { (char *)"Menu_DestroyId", (PyCFunction
) _wrap_Menu_DestroyId
, METH_VARARGS
| METH_KEYWORDS
},
41601 { (char *)"Menu_DestroyItem", (PyCFunction
) _wrap_Menu_DestroyItem
, METH_VARARGS
| METH_KEYWORDS
},
41602 { (char *)"Menu_GetMenuItemCount", (PyCFunction
) _wrap_Menu_GetMenuItemCount
, METH_VARARGS
| METH_KEYWORDS
},
41603 { (char *)"Menu_GetMenuItems", (PyCFunction
) _wrap_Menu_GetMenuItems
, METH_VARARGS
| METH_KEYWORDS
},
41604 { (char *)"Menu_FindItem", (PyCFunction
) _wrap_Menu_FindItem
, METH_VARARGS
| METH_KEYWORDS
},
41605 { (char *)"Menu_FindItemById", (PyCFunction
) _wrap_Menu_FindItemById
, METH_VARARGS
| METH_KEYWORDS
},
41606 { (char *)"Menu_FindItemByPosition", (PyCFunction
) _wrap_Menu_FindItemByPosition
, METH_VARARGS
| METH_KEYWORDS
},
41607 { (char *)"Menu_Enable", (PyCFunction
) _wrap_Menu_Enable
, METH_VARARGS
| METH_KEYWORDS
},
41608 { (char *)"Menu_IsEnabled", (PyCFunction
) _wrap_Menu_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
41609 { (char *)"Menu_Check", (PyCFunction
) _wrap_Menu_Check
, METH_VARARGS
| METH_KEYWORDS
},
41610 { (char *)"Menu_IsChecked", (PyCFunction
) _wrap_Menu_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
41611 { (char *)"Menu_SetLabel", (PyCFunction
) _wrap_Menu_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
41612 { (char *)"Menu_GetLabel", (PyCFunction
) _wrap_Menu_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
41613 { (char *)"Menu_SetHelpString", (PyCFunction
) _wrap_Menu_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
41614 { (char *)"Menu_GetHelpString", (PyCFunction
) _wrap_Menu_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
41615 { (char *)"Menu_SetTitle", (PyCFunction
) _wrap_Menu_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
41616 { (char *)"Menu_GetTitle", (PyCFunction
) _wrap_Menu_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
41617 { (char *)"Menu_SetEventHandler", (PyCFunction
) _wrap_Menu_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
41618 { (char *)"Menu_GetEventHandler", (PyCFunction
) _wrap_Menu_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
41619 { (char *)"Menu_SetInvokingWindow", (PyCFunction
) _wrap_Menu_SetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
},
41620 { (char *)"Menu_GetInvokingWindow", (PyCFunction
) _wrap_Menu_GetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
},
41621 { (char *)"Menu_GetStyle", (PyCFunction
) _wrap_Menu_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
41622 { (char *)"Menu_UpdateUI", (PyCFunction
) _wrap_Menu_UpdateUI
, METH_VARARGS
| METH_KEYWORDS
},
41623 { (char *)"Menu_GetMenuBar", (PyCFunction
) _wrap_Menu_GetMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
41624 { (char *)"Menu_Attach", (PyCFunction
) _wrap_Menu_Attach
, METH_VARARGS
| METH_KEYWORDS
},
41625 { (char *)"Menu_Detach", (PyCFunction
) _wrap_Menu_Detach
, METH_VARARGS
| METH_KEYWORDS
},
41626 { (char *)"Menu_IsAttached", (PyCFunction
) _wrap_Menu_IsAttached
, METH_VARARGS
| METH_KEYWORDS
},
41627 { (char *)"Menu_SetParent", (PyCFunction
) _wrap_Menu_SetParent
, METH_VARARGS
| METH_KEYWORDS
},
41628 { (char *)"Menu_GetParent", (PyCFunction
) _wrap_Menu_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
41629 { (char *)"Menu_swigregister", Menu_swigregister
, METH_VARARGS
},
41630 { (char *)"new_MenuBar", (PyCFunction
) _wrap_new_MenuBar
, METH_VARARGS
| METH_KEYWORDS
},
41631 { (char *)"MenuBar_Append", (PyCFunction
) _wrap_MenuBar_Append
, METH_VARARGS
| METH_KEYWORDS
},
41632 { (char *)"MenuBar_Insert", (PyCFunction
) _wrap_MenuBar_Insert
, METH_VARARGS
| METH_KEYWORDS
},
41633 { (char *)"MenuBar_GetMenuCount", (PyCFunction
) _wrap_MenuBar_GetMenuCount
, METH_VARARGS
| METH_KEYWORDS
},
41634 { (char *)"MenuBar_GetMenu", (PyCFunction
) _wrap_MenuBar_GetMenu
, METH_VARARGS
| METH_KEYWORDS
},
41635 { (char *)"MenuBar_Replace", (PyCFunction
) _wrap_MenuBar_Replace
, METH_VARARGS
| METH_KEYWORDS
},
41636 { (char *)"MenuBar_Remove", (PyCFunction
) _wrap_MenuBar_Remove
, METH_VARARGS
| METH_KEYWORDS
},
41637 { (char *)"MenuBar_EnableTop", (PyCFunction
) _wrap_MenuBar_EnableTop
, METH_VARARGS
| METH_KEYWORDS
},
41638 { (char *)"MenuBar_IsEnabledTop", (PyCFunction
) _wrap_MenuBar_IsEnabledTop
, METH_VARARGS
| METH_KEYWORDS
},
41639 { (char *)"MenuBar_SetLabelTop", (PyCFunction
) _wrap_MenuBar_SetLabelTop
, METH_VARARGS
| METH_KEYWORDS
},
41640 { (char *)"MenuBar_GetLabelTop", (PyCFunction
) _wrap_MenuBar_GetLabelTop
, METH_VARARGS
| METH_KEYWORDS
},
41641 { (char *)"MenuBar_FindMenuItem", (PyCFunction
) _wrap_MenuBar_FindMenuItem
, METH_VARARGS
| METH_KEYWORDS
},
41642 { (char *)"MenuBar_FindItemById", (PyCFunction
) _wrap_MenuBar_FindItemById
, METH_VARARGS
| METH_KEYWORDS
},
41643 { (char *)"MenuBar_FindMenu", (PyCFunction
) _wrap_MenuBar_FindMenu
, METH_VARARGS
| METH_KEYWORDS
},
41644 { (char *)"MenuBar_Enable", (PyCFunction
) _wrap_MenuBar_Enable
, METH_VARARGS
| METH_KEYWORDS
},
41645 { (char *)"MenuBar_Check", (PyCFunction
) _wrap_MenuBar_Check
, METH_VARARGS
| METH_KEYWORDS
},
41646 { (char *)"MenuBar_IsChecked", (PyCFunction
) _wrap_MenuBar_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
41647 { (char *)"MenuBar_IsEnabled", (PyCFunction
) _wrap_MenuBar_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
41648 { (char *)"MenuBar_SetLabel", (PyCFunction
) _wrap_MenuBar_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
41649 { (char *)"MenuBar_GetLabel", (PyCFunction
) _wrap_MenuBar_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
41650 { (char *)"MenuBar_SetHelpString", (PyCFunction
) _wrap_MenuBar_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
41651 { (char *)"MenuBar_GetHelpString", (PyCFunction
) _wrap_MenuBar_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
41652 { (char *)"MenuBar_GetFrame", (PyCFunction
) _wrap_MenuBar_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
41653 { (char *)"MenuBar_IsAttached", (PyCFunction
) _wrap_MenuBar_IsAttached
, METH_VARARGS
| METH_KEYWORDS
},
41654 { (char *)"MenuBar_Attach", (PyCFunction
) _wrap_MenuBar_Attach
, METH_VARARGS
| METH_KEYWORDS
},
41655 { (char *)"MenuBar_Detach", (PyCFunction
) _wrap_MenuBar_Detach
, METH_VARARGS
| METH_KEYWORDS
},
41656 { (char *)"MenuBar_swigregister", MenuBar_swigregister
, METH_VARARGS
},
41657 { (char *)"new_MenuItem", (PyCFunction
) _wrap_new_MenuItem
, METH_VARARGS
| METH_KEYWORDS
},
41658 { (char *)"MenuItem_GetMenu", (PyCFunction
) _wrap_MenuItem_GetMenu
, METH_VARARGS
| METH_KEYWORDS
},
41659 { (char *)"MenuItem_SetMenu", (PyCFunction
) _wrap_MenuItem_SetMenu
, METH_VARARGS
| METH_KEYWORDS
},
41660 { (char *)"MenuItem_SetId", (PyCFunction
) _wrap_MenuItem_SetId
, METH_VARARGS
| METH_KEYWORDS
},
41661 { (char *)"MenuItem_GetId", (PyCFunction
) _wrap_MenuItem_GetId
, METH_VARARGS
| METH_KEYWORDS
},
41662 { (char *)"MenuItem_IsSeparator", (PyCFunction
) _wrap_MenuItem_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
},
41663 { (char *)"MenuItem_SetText", (PyCFunction
) _wrap_MenuItem_SetText
, METH_VARARGS
| METH_KEYWORDS
},
41664 { (char *)"MenuItem_GetLabel", (PyCFunction
) _wrap_MenuItem_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
41665 { (char *)"MenuItem_GetText", (PyCFunction
) _wrap_MenuItem_GetText
, METH_VARARGS
| METH_KEYWORDS
},
41666 { (char *)"MenuItem_GetLabelFromText", (PyCFunction
) _wrap_MenuItem_GetLabelFromText
, METH_VARARGS
| METH_KEYWORDS
},
41667 { (char *)"MenuItem_GetKind", (PyCFunction
) _wrap_MenuItem_GetKind
, METH_VARARGS
| METH_KEYWORDS
},
41668 { (char *)"MenuItem_SetKind", (PyCFunction
) _wrap_MenuItem_SetKind
, METH_VARARGS
| METH_KEYWORDS
},
41669 { (char *)"MenuItem_SetCheckable", (PyCFunction
) _wrap_MenuItem_SetCheckable
, METH_VARARGS
| METH_KEYWORDS
},
41670 { (char *)"MenuItem_IsCheckable", (PyCFunction
) _wrap_MenuItem_IsCheckable
, METH_VARARGS
| METH_KEYWORDS
},
41671 { (char *)"MenuItem_IsSubMenu", (PyCFunction
) _wrap_MenuItem_IsSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
41672 { (char *)"MenuItem_SetSubMenu", (PyCFunction
) _wrap_MenuItem_SetSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
41673 { (char *)"MenuItem_GetSubMenu", (PyCFunction
) _wrap_MenuItem_GetSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
41674 { (char *)"MenuItem_Enable", (PyCFunction
) _wrap_MenuItem_Enable
, METH_VARARGS
| METH_KEYWORDS
},
41675 { (char *)"MenuItem_IsEnabled", (PyCFunction
) _wrap_MenuItem_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
41676 { (char *)"MenuItem_Check", (PyCFunction
) _wrap_MenuItem_Check
, METH_VARARGS
| METH_KEYWORDS
},
41677 { (char *)"MenuItem_IsChecked", (PyCFunction
) _wrap_MenuItem_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
41678 { (char *)"MenuItem_Toggle", (PyCFunction
) _wrap_MenuItem_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
41679 { (char *)"MenuItem_SetHelp", (PyCFunction
) _wrap_MenuItem_SetHelp
, METH_VARARGS
| METH_KEYWORDS
},
41680 { (char *)"MenuItem_GetHelp", (PyCFunction
) _wrap_MenuItem_GetHelp
, METH_VARARGS
| METH_KEYWORDS
},
41681 { (char *)"MenuItem_GetAccel", (PyCFunction
) _wrap_MenuItem_GetAccel
, METH_VARARGS
| METH_KEYWORDS
},
41682 { (char *)"MenuItem_SetAccel", (PyCFunction
) _wrap_MenuItem_SetAccel
, METH_VARARGS
| METH_KEYWORDS
},
41683 { (char *)"MenuItem_SetFont", (PyCFunction
) _wrap_MenuItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
41684 { (char *)"MenuItem_GetFont", (PyCFunction
) _wrap_MenuItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
41685 { (char *)"MenuItem_SetTextColour", (PyCFunction
) _wrap_MenuItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
41686 { (char *)"MenuItem_GetTextColour", (PyCFunction
) _wrap_MenuItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
41687 { (char *)"MenuItem_SetBackgroundColour", (PyCFunction
) _wrap_MenuItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
41688 { (char *)"MenuItem_GetBackgroundColour", (PyCFunction
) _wrap_MenuItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
41689 { (char *)"MenuItem_SetBitmaps", (PyCFunction
) _wrap_MenuItem_SetBitmaps
, METH_VARARGS
| METH_KEYWORDS
},
41690 { (char *)"MenuItem_SetDisabledBitmap", (PyCFunction
) _wrap_MenuItem_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
},
41691 { (char *)"MenuItem_GetDisabledBitmap", (PyCFunction
) _wrap_MenuItem_GetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
},
41692 { (char *)"MenuItem_SetMarginWidth", (PyCFunction
) _wrap_MenuItem_SetMarginWidth
, METH_VARARGS
| METH_KEYWORDS
},
41693 { (char *)"MenuItem_GetMarginWidth", (PyCFunction
) _wrap_MenuItem_GetMarginWidth
, METH_VARARGS
| METH_KEYWORDS
},
41694 { (char *)"MenuItem_GetDefaultMarginWidth", (PyCFunction
) _wrap_MenuItem_GetDefaultMarginWidth
, METH_VARARGS
| METH_KEYWORDS
},
41695 { (char *)"MenuItem_IsOwnerDrawn", (PyCFunction
) _wrap_MenuItem_IsOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
},
41696 { (char *)"MenuItem_SetOwnerDrawn", (PyCFunction
) _wrap_MenuItem_SetOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
},
41697 { (char *)"MenuItem_ResetOwnerDrawn", (PyCFunction
) _wrap_MenuItem_ResetOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
},
41698 { (char *)"MenuItem_SetBitmap", (PyCFunction
) _wrap_MenuItem_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
41699 { (char *)"MenuItem_GetBitmap", (PyCFunction
) _wrap_MenuItem_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
41700 { (char *)"MenuItem_swigregister", MenuItem_swigregister
, METH_VARARGS
},
41701 { (char *)"new_Control", (PyCFunction
) _wrap_new_Control
, METH_VARARGS
| METH_KEYWORDS
},
41702 { (char *)"new_PreControl", (PyCFunction
) _wrap_new_PreControl
, METH_VARARGS
| METH_KEYWORDS
},
41703 { (char *)"Control_Create", (PyCFunction
) _wrap_Control_Create
, METH_VARARGS
| METH_KEYWORDS
},
41704 { (char *)"Control_Command", (PyCFunction
) _wrap_Control_Command
, METH_VARARGS
| METH_KEYWORDS
},
41705 { (char *)"Control_GetLabel", (PyCFunction
) _wrap_Control_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
41706 { (char *)"Control_SetLabel", (PyCFunction
) _wrap_Control_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
41707 { (char *)"Control_GetClassDefaultAttributes", (PyCFunction
) _wrap_Control_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
41708 { (char *)"Control_swigregister", Control_swigregister
, METH_VARARGS
},
41709 { (char *)"ItemContainer_Append", (PyCFunction
) _wrap_ItemContainer_Append
, METH_VARARGS
| METH_KEYWORDS
},
41710 { (char *)"ItemContainer_AppendItems", (PyCFunction
) _wrap_ItemContainer_AppendItems
, METH_VARARGS
| METH_KEYWORDS
},
41711 { (char *)"ItemContainer_Insert", (PyCFunction
) _wrap_ItemContainer_Insert
, METH_VARARGS
| METH_KEYWORDS
},
41712 { (char *)"ItemContainer_Clear", (PyCFunction
) _wrap_ItemContainer_Clear
, METH_VARARGS
| METH_KEYWORDS
},
41713 { (char *)"ItemContainer_Delete", (PyCFunction
) _wrap_ItemContainer_Delete
, METH_VARARGS
| METH_KEYWORDS
},
41714 { (char *)"ItemContainer_GetCount", (PyCFunction
) _wrap_ItemContainer_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
41715 { (char *)"ItemContainer_IsEmpty", (PyCFunction
) _wrap_ItemContainer_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
},
41716 { (char *)"ItemContainer_GetString", (PyCFunction
) _wrap_ItemContainer_GetString
, METH_VARARGS
| METH_KEYWORDS
},
41717 { (char *)"ItemContainer_GetStrings", (PyCFunction
) _wrap_ItemContainer_GetStrings
, METH_VARARGS
| METH_KEYWORDS
},
41718 { (char *)"ItemContainer_SetString", (PyCFunction
) _wrap_ItemContainer_SetString
, METH_VARARGS
| METH_KEYWORDS
},
41719 { (char *)"ItemContainer_FindString", (PyCFunction
) _wrap_ItemContainer_FindString
, METH_VARARGS
| METH_KEYWORDS
},
41720 { (char *)"ItemContainer_Select", (PyCFunction
) _wrap_ItemContainer_Select
, METH_VARARGS
| METH_KEYWORDS
},
41721 { (char *)"ItemContainer_GetSelection", (PyCFunction
) _wrap_ItemContainer_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
41722 { (char *)"ItemContainer_GetStringSelection", (PyCFunction
) _wrap_ItemContainer_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
41723 { (char *)"ItemContainer_GetClientData", (PyCFunction
) _wrap_ItemContainer_GetClientData
, METH_VARARGS
| METH_KEYWORDS
},
41724 { (char *)"ItemContainer_SetClientData", (PyCFunction
) _wrap_ItemContainer_SetClientData
, METH_VARARGS
| METH_KEYWORDS
},
41725 { (char *)"ItemContainer_swigregister", ItemContainer_swigregister
, METH_VARARGS
},
41726 { (char *)"ControlWithItems_swigregister", ControlWithItems_swigregister
, METH_VARARGS
},
41727 { (char *)"new_SizerItem", (PyCFunction
) _wrap_new_SizerItem
, METH_VARARGS
| METH_KEYWORDS
},
41728 { (char *)"new_SizerItemSpacer", (PyCFunction
) _wrap_new_SizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
},
41729 { (char *)"new_SizerItemWindow", (PyCFunction
) _wrap_new_SizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
},
41730 { (char *)"new_SizerItemSizer", (PyCFunction
) _wrap_new_SizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
},
41731 { (char *)"SizerItem_DeleteWindows", (PyCFunction
) _wrap_SizerItem_DeleteWindows
, METH_VARARGS
| METH_KEYWORDS
},
41732 { (char *)"SizerItem_DetachSizer", (PyCFunction
) _wrap_SizerItem_DetachSizer
, METH_VARARGS
| METH_KEYWORDS
},
41733 { (char *)"SizerItem_GetSize", (PyCFunction
) _wrap_SizerItem_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
41734 { (char *)"SizerItem_CalcMin", (PyCFunction
) _wrap_SizerItem_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
41735 { (char *)"SizerItem_SetDimension", (PyCFunction
) _wrap_SizerItem_SetDimension
, METH_VARARGS
| METH_KEYWORDS
},
41736 { (char *)"SizerItem_GetMinSize", (PyCFunction
) _wrap_SizerItem_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
41737 { (char *)"SizerItem_SetInitSize", (PyCFunction
) _wrap_SizerItem_SetInitSize
, METH_VARARGS
| METH_KEYWORDS
},
41738 { (char *)"SizerItem_SetRatioWH", (PyCFunction
) _wrap_SizerItem_SetRatioWH
, METH_VARARGS
| METH_KEYWORDS
},
41739 { (char *)"SizerItem_SetRatioSize", (PyCFunction
) _wrap_SizerItem_SetRatioSize
, METH_VARARGS
| METH_KEYWORDS
},
41740 { (char *)"SizerItem_SetRatio", (PyCFunction
) _wrap_SizerItem_SetRatio
, METH_VARARGS
| METH_KEYWORDS
},
41741 { (char *)"SizerItem_GetRatio", (PyCFunction
) _wrap_SizerItem_GetRatio
, METH_VARARGS
| METH_KEYWORDS
},
41742 { (char *)"SizerItem_IsWindow", (PyCFunction
) _wrap_SizerItem_IsWindow
, METH_VARARGS
| METH_KEYWORDS
},
41743 { (char *)"SizerItem_IsSizer", (PyCFunction
) _wrap_SizerItem_IsSizer
, METH_VARARGS
| METH_KEYWORDS
},
41744 { (char *)"SizerItem_IsSpacer", (PyCFunction
) _wrap_SizerItem_IsSpacer
, METH_VARARGS
| METH_KEYWORDS
},
41745 { (char *)"SizerItem_SetProportion", (PyCFunction
) _wrap_SizerItem_SetProportion
, METH_VARARGS
| METH_KEYWORDS
},
41746 { (char *)"SizerItem_GetProportion", (PyCFunction
) _wrap_SizerItem_GetProportion
, METH_VARARGS
| METH_KEYWORDS
},
41747 { (char *)"SizerItem_SetFlag", (PyCFunction
) _wrap_SizerItem_SetFlag
, METH_VARARGS
| METH_KEYWORDS
},
41748 { (char *)"SizerItem_GetFlag", (PyCFunction
) _wrap_SizerItem_GetFlag
, METH_VARARGS
| METH_KEYWORDS
},
41749 { (char *)"SizerItem_SetBorder", (PyCFunction
) _wrap_SizerItem_SetBorder
, METH_VARARGS
| METH_KEYWORDS
},
41750 { (char *)"SizerItem_GetBorder", (PyCFunction
) _wrap_SizerItem_GetBorder
, METH_VARARGS
| METH_KEYWORDS
},
41751 { (char *)"SizerItem_GetWindow", (PyCFunction
) _wrap_SizerItem_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
41752 { (char *)"SizerItem_SetWindow", (PyCFunction
) _wrap_SizerItem_SetWindow
, METH_VARARGS
| METH_KEYWORDS
},
41753 { (char *)"SizerItem_GetSizer", (PyCFunction
) _wrap_SizerItem_GetSizer
, METH_VARARGS
| METH_KEYWORDS
},
41754 { (char *)"SizerItem_SetSizer", (PyCFunction
) _wrap_SizerItem_SetSizer
, METH_VARARGS
| METH_KEYWORDS
},
41755 { (char *)"SizerItem_GetSpacer", (PyCFunction
) _wrap_SizerItem_GetSpacer
, METH_VARARGS
| METH_KEYWORDS
},
41756 { (char *)"SizerItem_SetSpacer", (PyCFunction
) _wrap_SizerItem_SetSpacer
, METH_VARARGS
| METH_KEYWORDS
},
41757 { (char *)"SizerItem_Show", (PyCFunction
) _wrap_SizerItem_Show
, METH_VARARGS
| METH_KEYWORDS
},
41758 { (char *)"SizerItem_IsShown", (PyCFunction
) _wrap_SizerItem_IsShown
, METH_VARARGS
| METH_KEYWORDS
},
41759 { (char *)"SizerItem_GetPosition", (PyCFunction
) _wrap_SizerItem_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
41760 { (char *)"SizerItem_GetUserData", (PyCFunction
) _wrap_SizerItem_GetUserData
, METH_VARARGS
| METH_KEYWORDS
},
41761 { (char *)"SizerItem_swigregister", SizerItem_swigregister
, METH_VARARGS
},
41762 { (char *)"Sizer__setOORInfo", (PyCFunction
) _wrap_Sizer__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
},
41763 { (char *)"Sizer_Add", (PyCFunction
) _wrap_Sizer_Add
, METH_VARARGS
| METH_KEYWORDS
},
41764 { (char *)"Sizer_Insert", (PyCFunction
) _wrap_Sizer_Insert
, METH_VARARGS
| METH_KEYWORDS
},
41765 { (char *)"Sizer_Prepend", (PyCFunction
) _wrap_Sizer_Prepend
, METH_VARARGS
| METH_KEYWORDS
},
41766 { (char *)"Sizer_Remove", (PyCFunction
) _wrap_Sizer_Remove
, METH_VARARGS
| METH_KEYWORDS
},
41767 { (char *)"Sizer_Detach", (PyCFunction
) _wrap_Sizer_Detach
, METH_VARARGS
| METH_KEYWORDS
},
41768 { (char *)"Sizer__SetItemMinSize", (PyCFunction
) _wrap_Sizer__SetItemMinSize
, METH_VARARGS
| METH_KEYWORDS
},
41769 { (char *)"Sizer_AddItem", (PyCFunction
) _wrap_Sizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
},
41770 { (char *)"Sizer_InsertItem", (PyCFunction
) _wrap_Sizer_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
41771 { (char *)"Sizer_PrependItem", (PyCFunction
) _wrap_Sizer_PrependItem
, METH_VARARGS
| METH_KEYWORDS
},
41772 { (char *)"Sizer_SetDimension", (PyCFunction
) _wrap_Sizer_SetDimension
, METH_VARARGS
| METH_KEYWORDS
},
41773 { (char *)"Sizer_SetMinSize", (PyCFunction
) _wrap_Sizer_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
41774 { (char *)"Sizer_GetSize", (PyCFunction
) _wrap_Sizer_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
41775 { (char *)"Sizer_GetPosition", (PyCFunction
) _wrap_Sizer_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
41776 { (char *)"Sizer_GetMinSize", (PyCFunction
) _wrap_Sizer_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
41777 { (char *)"Sizer_RecalcSizes", (PyCFunction
) _wrap_Sizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
41778 { (char *)"Sizer_CalcMin", (PyCFunction
) _wrap_Sizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
41779 { (char *)"Sizer_Layout", (PyCFunction
) _wrap_Sizer_Layout
, METH_VARARGS
| METH_KEYWORDS
},
41780 { (char *)"Sizer_Fit", (PyCFunction
) _wrap_Sizer_Fit
, METH_VARARGS
| METH_KEYWORDS
},
41781 { (char *)"Sizer_FitInside", (PyCFunction
) _wrap_Sizer_FitInside
, METH_VARARGS
| METH_KEYWORDS
},
41782 { (char *)"Sizer_SetSizeHints", (PyCFunction
) _wrap_Sizer_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
},
41783 { (char *)"Sizer_SetVirtualSizeHints", (PyCFunction
) _wrap_Sizer_SetVirtualSizeHints
, METH_VARARGS
| METH_KEYWORDS
},
41784 { (char *)"Sizer_Clear", (PyCFunction
) _wrap_Sizer_Clear
, METH_VARARGS
| METH_KEYWORDS
},
41785 { (char *)"Sizer_DeleteWindows", (PyCFunction
) _wrap_Sizer_DeleteWindows
, METH_VARARGS
| METH_KEYWORDS
},
41786 { (char *)"Sizer_GetChildren", (PyCFunction
) _wrap_Sizer_GetChildren
, METH_VARARGS
| METH_KEYWORDS
},
41787 { (char *)"Sizer_Show", (PyCFunction
) _wrap_Sizer_Show
, METH_VARARGS
| METH_KEYWORDS
},
41788 { (char *)"Sizer_Hide", (PyCFunction
) _wrap_Sizer_Hide
, METH_VARARGS
| METH_KEYWORDS
},
41789 { (char *)"Sizer_IsShown", (PyCFunction
) _wrap_Sizer_IsShown
, METH_VARARGS
| METH_KEYWORDS
},
41790 { (char *)"Sizer_ShowItems", (PyCFunction
) _wrap_Sizer_ShowItems
, METH_VARARGS
| METH_KEYWORDS
},
41791 { (char *)"Sizer_swigregister", Sizer_swigregister
, METH_VARARGS
},
41792 { (char *)"new_PySizer", (PyCFunction
) _wrap_new_PySizer
, METH_VARARGS
| METH_KEYWORDS
},
41793 { (char *)"PySizer__setCallbackInfo", (PyCFunction
) _wrap_PySizer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
41794 { (char *)"PySizer_swigregister", PySizer_swigregister
, METH_VARARGS
},
41795 { (char *)"new_BoxSizer", (PyCFunction
) _wrap_new_BoxSizer
, METH_VARARGS
| METH_KEYWORDS
},
41796 { (char *)"BoxSizer_GetOrientation", (PyCFunction
) _wrap_BoxSizer_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
41797 { (char *)"BoxSizer_SetOrientation", (PyCFunction
) _wrap_BoxSizer_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
41798 { (char *)"BoxSizer_RecalcSizes", (PyCFunction
) _wrap_BoxSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
41799 { (char *)"BoxSizer_CalcMin", (PyCFunction
) _wrap_BoxSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
41800 { (char *)"BoxSizer_swigregister", BoxSizer_swigregister
, METH_VARARGS
},
41801 { (char *)"new_StaticBoxSizer", (PyCFunction
) _wrap_new_StaticBoxSizer
, METH_VARARGS
| METH_KEYWORDS
},
41802 { (char *)"StaticBoxSizer_GetStaticBox", (PyCFunction
) _wrap_StaticBoxSizer_GetStaticBox
, METH_VARARGS
| METH_KEYWORDS
},
41803 { (char *)"StaticBoxSizer_RecalcSizes", (PyCFunction
) _wrap_StaticBoxSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
41804 { (char *)"StaticBoxSizer_CalcMin", (PyCFunction
) _wrap_StaticBoxSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
41805 { (char *)"StaticBoxSizer_swigregister", StaticBoxSizer_swigregister
, METH_VARARGS
},
41806 { (char *)"new_GridSizer", (PyCFunction
) _wrap_new_GridSizer
, METH_VARARGS
| METH_KEYWORDS
},
41807 { (char *)"GridSizer_RecalcSizes", (PyCFunction
) _wrap_GridSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
41808 { (char *)"GridSizer_CalcMin", (PyCFunction
) _wrap_GridSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
41809 { (char *)"GridSizer_SetCols", (PyCFunction
) _wrap_GridSizer_SetCols
, METH_VARARGS
| METH_KEYWORDS
},
41810 { (char *)"GridSizer_SetRows", (PyCFunction
) _wrap_GridSizer_SetRows
, METH_VARARGS
| METH_KEYWORDS
},
41811 { (char *)"GridSizer_SetVGap", (PyCFunction
) _wrap_GridSizer_SetVGap
, METH_VARARGS
| METH_KEYWORDS
},
41812 { (char *)"GridSizer_SetHGap", (PyCFunction
) _wrap_GridSizer_SetHGap
, METH_VARARGS
| METH_KEYWORDS
},
41813 { (char *)"GridSizer_GetCols", (PyCFunction
) _wrap_GridSizer_GetCols
, METH_VARARGS
| METH_KEYWORDS
},
41814 { (char *)"GridSizer_GetRows", (PyCFunction
) _wrap_GridSizer_GetRows
, METH_VARARGS
| METH_KEYWORDS
},
41815 { (char *)"GridSizer_GetVGap", (PyCFunction
) _wrap_GridSizer_GetVGap
, METH_VARARGS
| METH_KEYWORDS
},
41816 { (char *)"GridSizer_GetHGap", (PyCFunction
) _wrap_GridSizer_GetHGap
, METH_VARARGS
| METH_KEYWORDS
},
41817 { (char *)"GridSizer_swigregister", GridSizer_swigregister
, METH_VARARGS
},
41818 { (char *)"new_FlexGridSizer", (PyCFunction
) _wrap_new_FlexGridSizer
, METH_VARARGS
| METH_KEYWORDS
},
41819 { (char *)"FlexGridSizer_RecalcSizes", (PyCFunction
) _wrap_FlexGridSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
41820 { (char *)"FlexGridSizer_CalcMin", (PyCFunction
) _wrap_FlexGridSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
41821 { (char *)"FlexGridSizer_AddGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableRow
, METH_VARARGS
| METH_KEYWORDS
},
41822 { (char *)"FlexGridSizer_RemoveGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableRow
, METH_VARARGS
| METH_KEYWORDS
},
41823 { (char *)"FlexGridSizer_AddGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableCol
, METH_VARARGS
| METH_KEYWORDS
},
41824 { (char *)"FlexGridSizer_RemoveGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableCol
, METH_VARARGS
| METH_KEYWORDS
},
41825 { (char *)"FlexGridSizer_SetFlexibleDirection", (PyCFunction
) _wrap_FlexGridSizer_SetFlexibleDirection
, METH_VARARGS
| METH_KEYWORDS
},
41826 { (char *)"FlexGridSizer_GetFlexibleDirection", (PyCFunction
) _wrap_FlexGridSizer_GetFlexibleDirection
, METH_VARARGS
| METH_KEYWORDS
},
41827 { (char *)"FlexGridSizer_SetNonFlexibleGrowMode", (PyCFunction
) _wrap_FlexGridSizer_SetNonFlexibleGrowMode
, METH_VARARGS
| METH_KEYWORDS
},
41828 { (char *)"FlexGridSizer_GetNonFlexibleGrowMode", (PyCFunction
) _wrap_FlexGridSizer_GetNonFlexibleGrowMode
, METH_VARARGS
| METH_KEYWORDS
},
41829 { (char *)"FlexGridSizer_GetRowHeights", (PyCFunction
) _wrap_FlexGridSizer_GetRowHeights
, METH_VARARGS
| METH_KEYWORDS
},
41830 { (char *)"FlexGridSizer_GetColWidths", (PyCFunction
) _wrap_FlexGridSizer_GetColWidths
, METH_VARARGS
| METH_KEYWORDS
},
41831 { (char *)"FlexGridSizer_swigregister", FlexGridSizer_swigregister
, METH_VARARGS
},
41832 { (char *)"new_GBPosition", (PyCFunction
) _wrap_new_GBPosition
, METH_VARARGS
| METH_KEYWORDS
},
41833 { (char *)"GBPosition_GetRow", (PyCFunction
) _wrap_GBPosition_GetRow
, METH_VARARGS
| METH_KEYWORDS
},
41834 { (char *)"GBPosition_GetCol", (PyCFunction
) _wrap_GBPosition_GetCol
, METH_VARARGS
| METH_KEYWORDS
},
41835 { (char *)"GBPosition_SetRow", (PyCFunction
) _wrap_GBPosition_SetRow
, METH_VARARGS
| METH_KEYWORDS
},
41836 { (char *)"GBPosition_SetCol", (PyCFunction
) _wrap_GBPosition_SetCol
, METH_VARARGS
| METH_KEYWORDS
},
41837 { (char *)"GBPosition___eq__", (PyCFunction
) _wrap_GBPosition___eq__
, METH_VARARGS
| METH_KEYWORDS
},
41838 { (char *)"GBPosition___ne__", (PyCFunction
) _wrap_GBPosition___ne__
, METH_VARARGS
| METH_KEYWORDS
},
41839 { (char *)"GBPosition_Set", (PyCFunction
) _wrap_GBPosition_Set
, METH_VARARGS
| METH_KEYWORDS
},
41840 { (char *)"GBPosition_Get", (PyCFunction
) _wrap_GBPosition_Get
, METH_VARARGS
| METH_KEYWORDS
},
41841 { (char *)"GBPosition_swigregister", GBPosition_swigregister
, METH_VARARGS
},
41842 { (char *)"new_GBSpan", (PyCFunction
) _wrap_new_GBSpan
, METH_VARARGS
| METH_KEYWORDS
},
41843 { (char *)"GBSpan_GetRowspan", (PyCFunction
) _wrap_GBSpan_GetRowspan
, METH_VARARGS
| METH_KEYWORDS
},
41844 { (char *)"GBSpan_GetColspan", (PyCFunction
) _wrap_GBSpan_GetColspan
, METH_VARARGS
| METH_KEYWORDS
},
41845 { (char *)"GBSpan_SetRowspan", (PyCFunction
) _wrap_GBSpan_SetRowspan
, METH_VARARGS
| METH_KEYWORDS
},
41846 { (char *)"GBSpan_SetColspan", (PyCFunction
) _wrap_GBSpan_SetColspan
, METH_VARARGS
| METH_KEYWORDS
},
41847 { (char *)"GBSpan___eq__", (PyCFunction
) _wrap_GBSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
},
41848 { (char *)"GBSpan___ne__", (PyCFunction
) _wrap_GBSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
},
41849 { (char *)"GBSpan_Set", (PyCFunction
) _wrap_GBSpan_Set
, METH_VARARGS
| METH_KEYWORDS
},
41850 { (char *)"GBSpan_Get", (PyCFunction
) _wrap_GBSpan_Get
, METH_VARARGS
| METH_KEYWORDS
},
41851 { (char *)"GBSpan_swigregister", GBSpan_swigregister
, METH_VARARGS
},
41852 { (char *)"new_GBSizerItem", (PyCFunction
) _wrap_new_GBSizerItem
, METH_VARARGS
| METH_KEYWORDS
},
41853 { (char *)"new_GBSizerItemWindow", (PyCFunction
) _wrap_new_GBSizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
},
41854 { (char *)"new_GBSizerItemSizer", (PyCFunction
) _wrap_new_GBSizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
},
41855 { (char *)"new_GBSizerItemSpacer", (PyCFunction
) _wrap_new_GBSizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
},
41856 { (char *)"GBSizerItem_GetPos", (PyCFunction
) _wrap_GBSizerItem_GetPos
, METH_VARARGS
| METH_KEYWORDS
},
41857 { (char *)"GBSizerItem_GetSpan", (PyCFunction
) _wrap_GBSizerItem_GetSpan
, METH_VARARGS
| METH_KEYWORDS
},
41858 { (char *)"GBSizerItem_SetPos", (PyCFunction
) _wrap_GBSizerItem_SetPos
, METH_VARARGS
| METH_KEYWORDS
},
41859 { (char *)"GBSizerItem_SetSpan", (PyCFunction
) _wrap_GBSizerItem_SetSpan
, METH_VARARGS
| METH_KEYWORDS
},
41860 { (char *)"GBSizerItem_Intersects", _wrap_GBSizerItem_Intersects
, METH_VARARGS
},
41861 { (char *)"GBSizerItem_GetEndPos", (PyCFunction
) _wrap_GBSizerItem_GetEndPos
, METH_VARARGS
| METH_KEYWORDS
},
41862 { (char *)"GBSizerItem_GetGBSizer", (PyCFunction
) _wrap_GBSizerItem_GetGBSizer
, METH_VARARGS
| METH_KEYWORDS
},
41863 { (char *)"GBSizerItem_SetGBSizer", (PyCFunction
) _wrap_GBSizerItem_SetGBSizer
, METH_VARARGS
| METH_KEYWORDS
},
41864 { (char *)"GBSizerItem_swigregister", GBSizerItem_swigregister
, METH_VARARGS
},
41865 { (char *)"new_GridBagSizer", (PyCFunction
) _wrap_new_GridBagSizer
, METH_VARARGS
| METH_KEYWORDS
},
41866 { (char *)"GridBagSizer_Add", (PyCFunction
) _wrap_GridBagSizer_Add
, METH_VARARGS
| METH_KEYWORDS
},
41867 { (char *)"GridBagSizer_AddItem", (PyCFunction
) _wrap_GridBagSizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
},
41868 { (char *)"GridBagSizer_GetEmptyCellSize", (PyCFunction
) _wrap_GridBagSizer_GetEmptyCellSize
, METH_VARARGS
| METH_KEYWORDS
},
41869 { (char *)"GridBagSizer_SetEmptyCellSize", (PyCFunction
) _wrap_GridBagSizer_SetEmptyCellSize
, METH_VARARGS
| METH_KEYWORDS
},
41870 { (char *)"GridBagSizer_GetItemPosition", _wrap_GridBagSizer_GetItemPosition
, METH_VARARGS
},
41871 { (char *)"GridBagSizer_SetItemPosition", _wrap_GridBagSizer_SetItemPosition
, METH_VARARGS
},
41872 { (char *)"GridBagSizer_GetItemSpan", _wrap_GridBagSizer_GetItemSpan
, METH_VARARGS
},
41873 { (char *)"GridBagSizer_SetItemSpan", _wrap_GridBagSizer_SetItemSpan
, METH_VARARGS
},
41874 { (char *)"GridBagSizer_FindItem", _wrap_GridBagSizer_FindItem
, METH_VARARGS
},
41875 { (char *)"GridBagSizer_FindItemAtPosition", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPosition
, METH_VARARGS
| METH_KEYWORDS
},
41876 { (char *)"GridBagSizer_FindItemAtPoint", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
41877 { (char *)"GridBagSizer_FindItemWithData", (PyCFunction
) _wrap_GridBagSizer_FindItemWithData
, METH_VARARGS
| METH_KEYWORDS
},
41878 { (char *)"GridBagSizer_RecalcSizes", (PyCFunction
) _wrap_GridBagSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
41879 { (char *)"GridBagSizer_CalcMin", (PyCFunction
) _wrap_GridBagSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
41880 { (char *)"GridBagSizer_CheckForIntersection", _wrap_GridBagSizer_CheckForIntersection
, METH_VARARGS
},
41881 { (char *)"GridBagSizer_swigregister", GridBagSizer_swigregister
, METH_VARARGS
},
41882 { (char *)"IndividualLayoutConstraint_Set", (PyCFunction
) _wrap_IndividualLayoutConstraint_Set
, METH_VARARGS
| METH_KEYWORDS
},
41883 { (char *)"IndividualLayoutConstraint_LeftOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_LeftOf
, METH_VARARGS
| METH_KEYWORDS
},
41884 { (char *)"IndividualLayoutConstraint_RightOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_RightOf
, METH_VARARGS
| METH_KEYWORDS
},
41885 { (char *)"IndividualLayoutConstraint_Above", (PyCFunction
) _wrap_IndividualLayoutConstraint_Above
, METH_VARARGS
| METH_KEYWORDS
},
41886 { (char *)"IndividualLayoutConstraint_Below", (PyCFunction
) _wrap_IndividualLayoutConstraint_Below
, METH_VARARGS
| METH_KEYWORDS
},
41887 { (char *)"IndividualLayoutConstraint_SameAs", (PyCFunction
) _wrap_IndividualLayoutConstraint_SameAs
, METH_VARARGS
| METH_KEYWORDS
},
41888 { (char *)"IndividualLayoutConstraint_PercentOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_PercentOf
, METH_VARARGS
| METH_KEYWORDS
},
41889 { (char *)"IndividualLayoutConstraint_Absolute", (PyCFunction
) _wrap_IndividualLayoutConstraint_Absolute
, METH_VARARGS
| METH_KEYWORDS
},
41890 { (char *)"IndividualLayoutConstraint_Unconstrained", (PyCFunction
) _wrap_IndividualLayoutConstraint_Unconstrained
, METH_VARARGS
| METH_KEYWORDS
},
41891 { (char *)"IndividualLayoutConstraint_AsIs", (PyCFunction
) _wrap_IndividualLayoutConstraint_AsIs
, METH_VARARGS
| METH_KEYWORDS
},
41892 { (char *)"IndividualLayoutConstraint_GetOtherWindow", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetOtherWindow
, METH_VARARGS
| METH_KEYWORDS
},
41893 { (char *)"IndividualLayoutConstraint_GetMyEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetMyEdge
, METH_VARARGS
| METH_KEYWORDS
},
41894 { (char *)"IndividualLayoutConstraint_SetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetEdge
, METH_VARARGS
| METH_KEYWORDS
},
41895 { (char *)"IndividualLayoutConstraint_SetValue", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
41896 { (char *)"IndividualLayoutConstraint_GetMargin", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetMargin
, METH_VARARGS
| METH_KEYWORDS
},
41897 { (char *)"IndividualLayoutConstraint_SetMargin", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetMargin
, METH_VARARGS
| METH_KEYWORDS
},
41898 { (char *)"IndividualLayoutConstraint_GetValue", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
41899 { (char *)"IndividualLayoutConstraint_GetPercent", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetPercent
, METH_VARARGS
| METH_KEYWORDS
},
41900 { (char *)"IndividualLayoutConstraint_GetOtherEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetOtherEdge
, METH_VARARGS
| METH_KEYWORDS
},
41901 { (char *)"IndividualLayoutConstraint_GetDone", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetDone
, METH_VARARGS
| METH_KEYWORDS
},
41902 { (char *)"IndividualLayoutConstraint_SetDone", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetDone
, METH_VARARGS
| METH_KEYWORDS
},
41903 { (char *)"IndividualLayoutConstraint_GetRelationship", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetRelationship
, METH_VARARGS
| METH_KEYWORDS
},
41904 { (char *)"IndividualLayoutConstraint_SetRelationship", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetRelationship
, METH_VARARGS
| METH_KEYWORDS
},
41905 { (char *)"IndividualLayoutConstraint_ResetIfWin", (PyCFunction
) _wrap_IndividualLayoutConstraint_ResetIfWin
, METH_VARARGS
| METH_KEYWORDS
},
41906 { (char *)"IndividualLayoutConstraint_SatisfyConstraint", (PyCFunction
) _wrap_IndividualLayoutConstraint_SatisfyConstraint
, METH_VARARGS
| METH_KEYWORDS
},
41907 { (char *)"IndividualLayoutConstraint_GetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetEdge
, METH_VARARGS
| METH_KEYWORDS
},
41908 { (char *)"IndividualLayoutConstraint_swigregister", IndividualLayoutConstraint_swigregister
, METH_VARARGS
},
41909 { (char *)"LayoutConstraints_left_get", (PyCFunction
) _wrap_LayoutConstraints_left_get
, METH_VARARGS
| METH_KEYWORDS
},
41910 { (char *)"LayoutConstraints_top_get", (PyCFunction
) _wrap_LayoutConstraints_top_get
, METH_VARARGS
| METH_KEYWORDS
},
41911 { (char *)"LayoutConstraints_right_get", (PyCFunction
) _wrap_LayoutConstraints_right_get
, METH_VARARGS
| METH_KEYWORDS
},
41912 { (char *)"LayoutConstraints_bottom_get", (PyCFunction
) _wrap_LayoutConstraints_bottom_get
, METH_VARARGS
| METH_KEYWORDS
},
41913 { (char *)"LayoutConstraints_width_get", (PyCFunction
) _wrap_LayoutConstraints_width_get
, METH_VARARGS
| METH_KEYWORDS
},
41914 { (char *)"LayoutConstraints_height_get", (PyCFunction
) _wrap_LayoutConstraints_height_get
, METH_VARARGS
| METH_KEYWORDS
},
41915 { (char *)"LayoutConstraints_centreX_get", (PyCFunction
) _wrap_LayoutConstraints_centreX_get
, METH_VARARGS
| METH_KEYWORDS
},
41916 { (char *)"LayoutConstraints_centreY_get", (PyCFunction
) _wrap_LayoutConstraints_centreY_get
, METH_VARARGS
| METH_KEYWORDS
},
41917 { (char *)"new_LayoutConstraints", (PyCFunction
) _wrap_new_LayoutConstraints
, METH_VARARGS
| METH_KEYWORDS
},
41918 { (char *)"LayoutConstraints_SatisfyConstraints", (PyCFunction
) _wrap_LayoutConstraints_SatisfyConstraints
, METH_VARARGS
| METH_KEYWORDS
},
41919 { (char *)"LayoutConstraints_AreSatisfied", (PyCFunction
) _wrap_LayoutConstraints_AreSatisfied
, METH_VARARGS
| METH_KEYWORDS
},
41920 { (char *)"LayoutConstraints_swigregister", LayoutConstraints_swigregister
, METH_VARARGS
},
41925 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
41927 static void *_p_wxGBSizerItemTo_p_wxSizerItem(void *x
) {
41928 return (void *)((wxSizerItem
*) ((wxGBSizerItem
*) x
));
41930 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) {
41931 return (void *)((wxSizer
*) ((wxBoxSizer
*) x
));
41933 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) {
41934 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
41936 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) {
41937 return (void *)((wxSizer
*) (wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
41939 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) {
41940 return (void *)((wxSizer
*) ((wxGridSizer
*) x
));
41942 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) {
41943 return (void *)((wxSizer
*) (wxGridSizer
*) ((wxFlexGridSizer
*) x
));
41945 static void *_p_wxPySizerTo_p_wxSizer(void *x
) {
41946 return (void *)((wxSizer
*) ((wxPySizer
*) x
));
41948 static void *_p_wxStaticBoxSizerTo_p_wxBoxSizer(void *x
) {
41949 return (void *)((wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
41951 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
41952 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
41954 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
41955 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
41957 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
41958 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
41960 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
41961 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
41963 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
41964 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
41966 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
41967 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
41969 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
41970 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
41972 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
41973 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
41975 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
41976 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
41978 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
41979 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
41981 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
41982 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
41984 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
41985 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
41987 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
41988 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
41990 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
41991 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
41993 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
41994 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
41996 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
41997 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
41999 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
42000 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
42002 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
42003 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
42005 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
42006 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
42008 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
42009 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
42011 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
42012 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
42014 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
42015 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
42017 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
42018 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
42020 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
42021 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
42023 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
42024 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
42026 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
42027 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
42029 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
42030 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
42032 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
42033 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
42035 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
42036 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
42038 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
42039 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
42041 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
42042 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
42044 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
42045 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
42047 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
42048 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
42050 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
42051 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
42053 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
42054 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
42056 static void *_p_wxGridBagSizerTo_p_wxGridSizer(void *x
) {
42057 return (void *)((wxGridSizer
*) (wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
42059 static void *_p_wxFlexGridSizerTo_p_wxGridSizer(void *x
) {
42060 return (void *)((wxGridSizer
*) ((wxFlexGridSizer
*) x
));
42062 static void *_p_wxGridBagSizerTo_p_wxFlexGridSizer(void *x
) {
42063 return (void *)((wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
42065 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
42066 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
42068 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
42069 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
42071 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
42072 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
42074 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
42075 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
42077 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
42078 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
42080 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
42081 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
42083 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
42084 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
42086 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
42087 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
42089 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
42090 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
42092 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
42093 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
42095 static void *_p_wxANIHandlerTo_p_wxCURHandler(void *x
) {
42096 return (void *)((wxCURHandler
*) ((wxANIHandler
*) x
));
42098 static void *_p_wxCURHandlerTo_p_wxICOHandler(void *x
) {
42099 return (void *)((wxICOHandler
*) ((wxCURHandler
*) x
));
42101 static void *_p_wxANIHandlerTo_p_wxICOHandler(void *x
) {
42102 return (void *)((wxICOHandler
*) (wxCURHandler
*) ((wxANIHandler
*) x
));
42104 static void *_p_wxICOHandlerTo_p_wxBMPHandler(void *x
) {
42105 return (void *)((wxBMPHandler
*) ((wxICOHandler
*) x
));
42107 static void *_p_wxCURHandlerTo_p_wxBMPHandler(void *x
) {
42108 return (void *)((wxBMPHandler
*) (wxICOHandler
*) ((wxCURHandler
*) x
));
42110 static void *_p_wxANIHandlerTo_p_wxBMPHandler(void *x
) {
42111 return (void *)((wxBMPHandler
*) (wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
42113 static void *_p_wxBMPHandlerTo_p_wxImageHandler(void *x
) {
42114 return (void *)((wxImageHandler
*) ((wxBMPHandler
*) x
));
42116 static void *_p_wxICOHandlerTo_p_wxImageHandler(void *x
) {
42117 return (void *)((wxImageHandler
*) (wxBMPHandler
*) ((wxICOHandler
*) x
));
42119 static void *_p_wxCURHandlerTo_p_wxImageHandler(void *x
) {
42120 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
42122 static void *_p_wxANIHandlerTo_p_wxImageHandler(void *x
) {
42123 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
42125 static void *_p_wxPNGHandlerTo_p_wxImageHandler(void *x
) {
42126 return (void *)((wxImageHandler
*) ((wxPNGHandler
*) x
));
42128 static void *_p_wxGIFHandlerTo_p_wxImageHandler(void *x
) {
42129 return (void *)((wxImageHandler
*) ((wxGIFHandler
*) x
));
42131 static void *_p_wxPCXHandlerTo_p_wxImageHandler(void *x
) {
42132 return (void *)((wxImageHandler
*) ((wxPCXHandler
*) x
));
42134 static void *_p_wxJPEGHandlerTo_p_wxImageHandler(void *x
) {
42135 return (void *)((wxImageHandler
*) ((wxJPEGHandler
*) x
));
42137 static void *_p_wxPNMHandlerTo_p_wxImageHandler(void *x
) {
42138 return (void *)((wxImageHandler
*) ((wxPNMHandler
*) x
));
42140 static void *_p_wxXPMHandlerTo_p_wxImageHandler(void *x
) {
42141 return (void *)((wxImageHandler
*) ((wxXPMHandler
*) x
));
42143 static void *_p_wxTIFFHandlerTo_p_wxImageHandler(void *x
) {
42144 return (void *)((wxImageHandler
*) ((wxTIFFHandler
*) x
));
42146 static void *_p_wxPyFileSystemHandlerTo_p_wxFileSystemHandler(void *x
) {
42147 return (void *)((wxFileSystemHandler
*) ((wxPyFileSystemHandler
*) x
));
42149 static void *_p_wxInternetFSHandlerTo_p_wxFileSystemHandler(void *x
) {
42150 return (void *)((wxFileSystemHandler
*) ((wxInternetFSHandler
*) x
));
42152 static void *_p_wxZipFSHandlerTo_p_wxFileSystemHandler(void *x
) {
42153 return (void *)((wxFileSystemHandler
*) ((wxZipFSHandler
*) x
));
42155 static void *_p_wxMemoryFSHandlerTo_p_wxFileSystemHandler(void *x
) {
42156 return (void *)((wxFileSystemHandler
*) ((wxMemoryFSHandler
*) x
));
42158 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
42159 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
42161 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
42162 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
42164 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
42165 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
42167 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
42168 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
42170 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
42171 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
42173 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
42174 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
42176 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
42177 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
42179 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
42180 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
42182 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
42183 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
42185 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
42186 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
42188 static void *_p_wxSizerTo_p_wxObject(void *x
) {
42189 return (void *)((wxObject
*) ((wxSizer
*) x
));
42191 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
42192 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
42194 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
42195 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
42197 static void *_p_wxMenuTo_p_wxObject(void *x
) {
42198 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
42200 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
42201 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
42203 static void *_p_wxImageTo_p_wxObject(void *x
) {
42204 return (void *)((wxObject
*) ((wxImage
*) x
));
42206 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
42207 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
42209 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
42210 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
42212 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
42213 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
42215 static void *_p_wxWindowTo_p_wxObject(void *x
) {
42216 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
42218 static void *_p_wxControlTo_p_wxObject(void *x
) {
42219 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
42221 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
42222 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
42224 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
42225 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
42227 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
42228 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
42230 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
42231 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
42233 static void *_p_wxEventTo_p_wxObject(void *x
) {
42234 return (void *)((wxObject
*) ((wxEvent
*) x
));
42236 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
42237 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
42239 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
42240 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
42242 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
42243 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
42245 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
42246 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
42248 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
42249 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
42251 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
42252 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
42254 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
42255 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
42257 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
42258 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
42260 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
42261 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
42263 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
42264 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
42266 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
42267 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
42269 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
42270 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
42272 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
42273 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
42275 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
42276 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
42278 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
42279 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
42281 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
42282 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
42284 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
42285 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
42287 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
42288 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
42290 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
42291 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
42293 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
42294 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
42296 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
42297 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
42299 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
42300 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
42302 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
42303 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
42305 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
42306 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
42308 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
42309 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
42311 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
42312 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
42314 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
42315 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
42317 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
42318 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
42320 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
42321 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
42323 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
42324 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
42326 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
42327 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
42329 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
42330 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
42332 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
42333 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
42335 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
42336 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
42338 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
42339 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
42341 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
42342 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
42344 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
42345 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
42347 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
42348 return (void *)((wxObject
*) ((wxFSFile
*) x
));
42350 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
42351 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
42353 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
42354 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
42356 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
42357 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
42359 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
42360 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
42362 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
42363 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
42365 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
42366 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
42368 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
42369 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
42371 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
42372 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
42374 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
42375 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
42377 static void *_p_wxControlTo_p_wxWindow(void *x
) {
42378 return (void *)((wxWindow
*) ((wxControl
*) x
));
42380 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
42381 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
42383 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
42384 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
42386 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
42387 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
42389 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
42390 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
42392 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
42393 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
42395 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
42396 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
42398 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
42399 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
42401 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
42402 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
42404 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
42405 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
42407 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
42408 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
42410 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
42411 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
42413 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}};
42414 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}};
42415 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}};
42416 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}};
42417 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}};
42418 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}};
42419 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}};
42420 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}};
42421 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}};
42422 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}};
42423 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}};
42424 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}};
42425 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}};
42426 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}};
42427 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}};
42428 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}};
42429 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}};
42430 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}};
42431 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}};
42432 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}};
42433 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}};
42434 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}};
42435 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}};
42436 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}};
42437 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}};
42438 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}};
42439 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}};
42440 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}};
42441 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}};
42442 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}};
42443 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}};
42444 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}};
42445 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}};
42446 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}};
42447 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}};
42448 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}};
42449 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}};
42450 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}};
42451 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}};
42452 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}};
42453 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}};
42454 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}};
42455 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}};
42456 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}};
42457 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}};
42458 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}};
42459 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}};
42460 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}};
42461 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}};
42462 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}};
42463 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}};
42464 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}};
42465 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}};
42466 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}};
42467 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}};
42468 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}};
42469 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}};
42470 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}};
42471 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}};
42472 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}};
42473 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}};
42474 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}};
42475 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}};
42476 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}};
42477 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}};
42478 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}};
42479 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}};
42480 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}};
42481 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}};
42482 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}};
42483 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}};
42484 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}};
42485 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}};
42486 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}};
42487 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}};
42488 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}};
42489 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}};
42490 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}};
42491 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}};
42492 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}};
42493 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}};
42494 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}};
42495 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}};
42496 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}};
42497 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}};
42498 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}};
42499 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}};
42500 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}};
42501 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}};
42502 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}};
42503 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}};
42504 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}};
42505 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}};
42506 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}};
42507 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}};
42508 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}};
42509 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}};
42510 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}};
42511 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}};
42512 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}};
42513 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}};
42514 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}};
42515 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}};
42516 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}};
42517 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}};
42518 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}};
42519 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}};
42520 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}};
42521 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}};
42522 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}};
42523 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}};
42524 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}};
42525 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}};
42526 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}};
42527 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}};
42529 static swig_type_info
*swig_types_initial
[] = {
42530 _swigt__p_wxLayoutConstraints
,
42531 _swigt__p_wxRealPoint
,
42532 _swigt__p_wxSizerItem
,
42533 _swigt__p_wxGBSizerItem
,
42534 _swigt__p_wxScrollEvent
,
42535 _swigt__p_wxIndividualLayoutConstraint
,
42537 _swigt__p_wxBoxSizer
,
42538 _swigt__p_wxStaticBoxSizer
,
42539 _swigt__p_wxGridBagSizer
,
42540 _swigt__p_wxAcceleratorEntry
,
42541 _swigt__p_wxUpdateUIEvent
,
42544 _swigt__p_wxGridSizer
,
42545 _swigt__p_wxFlexGridSizer
,
42546 _swigt__p_wxInitDialogEvent
,
42547 _swigt__p_wxItemContainer
,
42548 _swigt__p_wxNcPaintEvent
,
42549 _swigt__p_wxPaintEvent
,
42550 _swigt__p_wxSysColourChangedEvent
,
42551 _swigt__p_wxMouseCaptureChangedEvent
,
42552 _swigt__p_wxDisplayChangedEvent
,
42553 _swigt__p_wxPaletteChangedEvent
,
42554 _swigt__p_wxControl
,
42556 _swigt__p_wxMenuBarBase
,
42557 _swigt__p_wxSetCursorEvent
,
42558 _swigt__p_wxFSFile
,
42560 _swigt__p_wxRegion
,
42561 _swigt__p_wxPoint2D
,
42565 _swigt__p_wxPySizer
,
42566 _swigt__p_wxVisualAttributes
,
42567 _swigt__p_wxNotifyEvent
,
42568 _swigt__p_wxPyEvent
,
42569 _swigt__p_wxPropagationDisabler
,
42570 _swigt__p_wxAppTraits
,
42571 _swigt__p_wxArrayString
,
42572 _swigt__p_wxShowEvent
,
42573 _swigt__p_wxToolTip
,
42574 _swigt__p_wxMaximizeEvent
,
42575 _swigt__p_wxIconizeEvent
,
42576 _swigt__p_wxActivateEvent
,
42577 _swigt__p_wxMoveEvent
,
42578 _swigt__p_wxSizeEvent
,
42579 _swigt__p_wxQueryNewPaletteEvent
,
42580 _swigt__p_wxWindowCreateEvent
,
42581 _swigt__p_wxIdleEvent
,
42582 _swigt__p_wxMenuItem
,
42583 _swigt__p_wxStaticBox
,
42585 _swigt__p_wxTIFFHandler
,
42586 _swigt__p_wxXPMHandler
,
42587 _swigt__p_wxPNMHandler
,
42588 _swigt__p_wxJPEGHandler
,
42589 _swigt__p_wxPCXHandler
,
42590 _swigt__p_wxGIFHandler
,
42591 _swigt__p_wxPNGHandler
,
42592 _swigt__p_wxANIHandler
,
42593 _swigt__p_wxMemoryFSHandler
,
42594 _swigt__p_wxEvtHandler
,
42595 _swigt__p_wxCURHandler
,
42596 _swigt__p_wxICOHandler
,
42597 _swigt__p_wxBMPHandler
,
42598 _swigt__p_wxImageHandler
,
42599 _swigt__p_wxFileSystemHandler
,
42600 _swigt__p_wxPyFileSystemHandler
,
42601 _swigt__p_wxInternetFSHandler
,
42602 _swigt__p_wxZipFSHandler
,
42604 _swigt__p_wxGBSpan
,
42605 _swigt__p_wxPropagateOnce
,
42606 _swigt__p_wxAcceleratorTable
,
42608 _swigt__p_wxGBPosition
,
42611 _swigt__p_wxScrollWinEvent
,
42612 _swigt__p_wxImageHistogram
,
42615 _swigt__p_wxCursor
,
42616 _swigt__p_wxObject
,
42617 _swigt__p_wxPyInputStream
,
42618 _swigt__p_wxOutputStream
,
42619 _swigt__p_wxInputStream
,
42620 _swigt__p_wxDateTime
,
42621 _swigt__p_wxKeyEvent
,
42622 _swigt__p_wxNavigationKeyEvent
,
42623 _swigt__p_wxWindowDestroyEvent
,
42624 _swigt__p_wxWindow
,
42625 _swigt__p_wxMenuBar
,
42626 _swigt__p_wxFileSystem
,
42627 _swigt__p_wxBitmap
,
42628 _swigt__p_wxMenuEvent
,
42629 _swigt__p_wxContextMenuEvent
,
42630 _swigt__p_unsigned_char
,
42631 _swigt__p_wxCloseEvent
,
42632 _swigt__p_wxEraseEvent
,
42633 _swigt__p_wxMouseEvent
,
42635 _swigt__p_wxCommandEvent
,
42636 _swigt__p_wxPyCommandEvent
,
42637 _swigt__p_wxPyDropTarget
,
42638 _swigt__p_wxChildFocusEvent
,
42639 _swigt__p_wxFocusEvent
,
42640 _swigt__p_wxDropFilesEvent
,
42641 _swigt__p_wxControlWithItems
,
42642 _swigt__p_wxColour
,
42643 _swigt__p_wxValidator
,
42644 _swigt__p_wxPyValidator
,
42649 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
42651 static swig_const_info swig_const_table
[] = {
42661 SWIGEXPORT(void) SWIG_init(void) {
42662 static PyObject
*SWIG_globals
= 0;
42663 static int typeinit
= 0;
42666 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
42667 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
42668 d
= PyModule_GetDict(m
);
42671 for (i
= 0; swig_types_initial
[i
]; i
++) {
42672 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
42676 SWIG_InstallConstants(d
,swig_const_table
);
42679 #ifndef wxPyUSE_EXPORT
42680 // Make our API structure a CObject so other modules can import it
42681 // from this module.
42682 PyObject
* cobj
= PyCObject_FromVoidPtr(&API
, NULL
);
42683 PyDict_SetItemString(d
,"_wxPyCoreAPI", cobj
);
42687 PyDict_SetItemString(d
,"NOT_FOUND", SWIG_FromInt((int)wxNOT_FOUND
));
42688 PyDict_SetItemString(d
,"VSCROLL", SWIG_FromInt((int)wxVSCROLL
));
42689 PyDict_SetItemString(d
,"HSCROLL", SWIG_FromInt((int)wxHSCROLL
));
42690 PyDict_SetItemString(d
,"CAPTION", SWIG_FromInt((int)wxCAPTION
));
42691 PyDict_SetItemString(d
,"DOUBLE_BORDER", SWIG_FromInt((int)wxDOUBLE_BORDER
));
42692 PyDict_SetItemString(d
,"SUNKEN_BORDER", SWIG_FromInt((int)wxSUNKEN_BORDER
));
42693 PyDict_SetItemString(d
,"RAISED_BORDER", SWIG_FromInt((int)wxRAISED_BORDER
));
42694 PyDict_SetItemString(d
,"BORDER", SWIG_FromInt((int)wxBORDER
));
42695 PyDict_SetItemString(d
,"SIMPLE_BORDER", SWIG_FromInt((int)wxSIMPLE_BORDER
));
42696 PyDict_SetItemString(d
,"STATIC_BORDER", SWIG_FromInt((int)wxSTATIC_BORDER
));
42697 PyDict_SetItemString(d
,"TRANSPARENT_WINDOW", SWIG_FromInt((int)wxTRANSPARENT_WINDOW
));
42698 PyDict_SetItemString(d
,"NO_BORDER", SWIG_FromInt((int)wxNO_BORDER
));
42699 PyDict_SetItemString(d
,"TAB_TRAVERSAL", SWIG_FromInt((int)wxTAB_TRAVERSAL
));
42700 PyDict_SetItemString(d
,"WANTS_CHARS", SWIG_FromInt((int)wxWANTS_CHARS
));
42701 PyDict_SetItemString(d
,"POPUP_WINDOW", SWIG_FromInt((int)wxPOPUP_WINDOW
));
42702 PyDict_SetItemString(d
,"CENTER_FRAME", SWIG_FromInt((int)wxCENTER_FRAME
));
42703 PyDict_SetItemString(d
,"CENTRE_ON_SCREEN", SWIG_FromInt((int)wxCENTRE_ON_SCREEN
));
42704 PyDict_SetItemString(d
,"CENTER_ON_SCREEN", SWIG_FromInt((int)wxCENTER_ON_SCREEN
));
42705 PyDict_SetItemString(d
,"ED_CLIENT_MARGIN", SWIG_FromInt((int)wxED_CLIENT_MARGIN
));
42706 PyDict_SetItemString(d
,"ED_BUTTONS_BOTTOM", SWIG_FromInt((int)wxED_BUTTONS_BOTTOM
));
42707 PyDict_SetItemString(d
,"ED_BUTTONS_RIGHT", SWIG_FromInt((int)wxED_BUTTONS_RIGHT
));
42708 PyDict_SetItemString(d
,"ED_STATIC_LINE", SWIG_FromInt((int)wxED_STATIC_LINE
));
42709 PyDict_SetItemString(d
,"EXT_DIALOG_STYLE", SWIG_FromInt((int)wxEXT_DIALOG_STYLE
));
42710 PyDict_SetItemString(d
,"CLIP_CHILDREN", SWIG_FromInt((int)wxCLIP_CHILDREN
));
42711 PyDict_SetItemString(d
,"CLIP_SIBLINGS", SWIG_FromInt((int)wxCLIP_SIBLINGS
));
42712 PyDict_SetItemString(d
,"ALWAYS_SHOW_SB", SWIG_FromInt((int)wxALWAYS_SHOW_SB
));
42713 PyDict_SetItemString(d
,"RETAINED", SWIG_FromInt((int)wxRETAINED
));
42714 PyDict_SetItemString(d
,"BACKINGSTORE", SWIG_FromInt((int)wxBACKINGSTORE
));
42715 PyDict_SetItemString(d
,"COLOURED", SWIG_FromInt((int)wxCOLOURED
));
42716 PyDict_SetItemString(d
,"FIXED_LENGTH", SWIG_FromInt((int)wxFIXED_LENGTH
));
42717 PyDict_SetItemString(d
,"LB_NEEDED_SB", SWIG_FromInt((int)wxLB_NEEDED_SB
));
42718 PyDict_SetItemString(d
,"LB_ALWAYS_SB", SWIG_FromInt((int)wxLB_ALWAYS_SB
));
42719 PyDict_SetItemString(d
,"LB_SORT", SWIG_FromInt((int)wxLB_SORT
));
42720 PyDict_SetItemString(d
,"LB_SINGLE", SWIG_FromInt((int)wxLB_SINGLE
));
42721 PyDict_SetItemString(d
,"LB_MULTIPLE", SWIG_FromInt((int)wxLB_MULTIPLE
));
42722 PyDict_SetItemString(d
,"LB_EXTENDED", SWIG_FromInt((int)wxLB_EXTENDED
));
42723 PyDict_SetItemString(d
,"LB_OWNERDRAW", SWIG_FromInt((int)wxLB_OWNERDRAW
));
42724 PyDict_SetItemString(d
,"LB_HSCROLL", SWIG_FromInt((int)wxLB_HSCROLL
));
42725 PyDict_SetItemString(d
,"PROCESS_ENTER", SWIG_FromInt((int)wxPROCESS_ENTER
));
42726 PyDict_SetItemString(d
,"PASSWORD", SWIG_FromInt((int)wxPASSWORD
));
42727 PyDict_SetItemString(d
,"CB_SIMPLE", SWIG_FromInt((int)wxCB_SIMPLE
));
42728 PyDict_SetItemString(d
,"CB_DROPDOWN", SWIG_FromInt((int)wxCB_DROPDOWN
));
42729 PyDict_SetItemString(d
,"CB_SORT", SWIG_FromInt((int)wxCB_SORT
));
42730 PyDict_SetItemString(d
,"CB_READONLY", SWIG_FromInt((int)wxCB_READONLY
));
42731 PyDict_SetItemString(d
,"RA_HORIZONTAL", SWIG_FromInt((int)wxRA_HORIZONTAL
));
42732 PyDict_SetItemString(d
,"RA_VERTICAL", SWIG_FromInt((int)wxRA_VERTICAL
));
42733 PyDict_SetItemString(d
,"RA_SPECIFY_ROWS", SWIG_FromInt((int)wxRA_SPECIFY_ROWS
));
42734 PyDict_SetItemString(d
,"RA_SPECIFY_COLS", SWIG_FromInt((int)wxRA_SPECIFY_COLS
));
42735 PyDict_SetItemString(d
,"RB_GROUP", SWIG_FromInt((int)wxRB_GROUP
));
42736 PyDict_SetItemString(d
,"RB_SINGLE", SWIG_FromInt((int)wxRB_SINGLE
));
42737 PyDict_SetItemString(d
,"SL_HORIZONTAL", SWIG_FromInt((int)wxSL_HORIZONTAL
));
42738 PyDict_SetItemString(d
,"SL_VERTICAL", SWIG_FromInt((int)wxSL_VERTICAL
));
42739 PyDict_SetItemString(d
,"SL_AUTOTICKS", SWIG_FromInt((int)wxSL_AUTOTICKS
));
42740 PyDict_SetItemString(d
,"SL_LABELS", SWIG_FromInt((int)wxSL_LABELS
));
42741 PyDict_SetItemString(d
,"SL_LEFT", SWIG_FromInt((int)wxSL_LEFT
));
42742 PyDict_SetItemString(d
,"SL_TOP", SWIG_FromInt((int)wxSL_TOP
));
42743 PyDict_SetItemString(d
,"SL_RIGHT", SWIG_FromInt((int)wxSL_RIGHT
));
42744 PyDict_SetItemString(d
,"SL_BOTTOM", SWIG_FromInt((int)wxSL_BOTTOM
));
42745 PyDict_SetItemString(d
,"SL_BOTH", SWIG_FromInt((int)wxSL_BOTH
));
42746 PyDict_SetItemString(d
,"SL_SELRANGE", SWIG_FromInt((int)wxSL_SELRANGE
));
42747 PyDict_SetItemString(d
,"SB_HORIZONTAL", SWIG_FromInt((int)wxSB_HORIZONTAL
));
42748 PyDict_SetItemString(d
,"SB_VERTICAL", SWIG_FromInt((int)wxSB_VERTICAL
));
42749 PyDict_SetItemString(d
,"ST_SIZEGRIP", SWIG_FromInt((int)wxST_SIZEGRIP
));
42750 PyDict_SetItemString(d
,"ST_NO_AUTORESIZE", SWIG_FromInt((int)wxST_NO_AUTORESIZE
));
42751 PyDict_SetItemString(d
,"FLOOD_SURFACE", SWIG_FromInt((int)wxFLOOD_SURFACE
));
42752 PyDict_SetItemString(d
,"FLOOD_BORDER", SWIG_FromInt((int)wxFLOOD_BORDER
));
42753 PyDict_SetItemString(d
,"ODDEVEN_RULE", SWIG_FromInt((int)wxODDEVEN_RULE
));
42754 PyDict_SetItemString(d
,"WINDING_RULE", SWIG_FromInt((int)wxWINDING_RULE
));
42755 PyDict_SetItemString(d
,"TOOL_TOP", SWIG_FromInt((int)wxTOOL_TOP
));
42756 PyDict_SetItemString(d
,"TOOL_BOTTOM", SWIG_FromInt((int)wxTOOL_BOTTOM
));
42757 PyDict_SetItemString(d
,"TOOL_LEFT", SWIG_FromInt((int)wxTOOL_LEFT
));
42758 PyDict_SetItemString(d
,"TOOL_RIGHT", SWIG_FromInt((int)wxTOOL_RIGHT
));
42759 PyDict_SetItemString(d
,"OK", SWIG_FromInt((int)wxOK
));
42760 PyDict_SetItemString(d
,"YES_NO", SWIG_FromInt((int)wxYES_NO
));
42761 PyDict_SetItemString(d
,"CANCEL", SWIG_FromInt((int)wxCANCEL
));
42762 PyDict_SetItemString(d
,"YES", SWIG_FromInt((int)wxYES
));
42763 PyDict_SetItemString(d
,"NO", SWIG_FromInt((int)wxNO
));
42764 PyDict_SetItemString(d
,"NO_DEFAULT", SWIG_FromInt((int)wxNO_DEFAULT
));
42765 PyDict_SetItemString(d
,"YES_DEFAULT", SWIG_FromInt((int)wxYES_DEFAULT
));
42766 PyDict_SetItemString(d
,"ICON_EXCLAMATION", SWIG_FromInt((int)wxICON_EXCLAMATION
));
42767 PyDict_SetItemString(d
,"ICON_HAND", SWIG_FromInt((int)wxICON_HAND
));
42768 PyDict_SetItemString(d
,"ICON_QUESTION", SWIG_FromInt((int)wxICON_QUESTION
));
42769 PyDict_SetItemString(d
,"ICON_INFORMATION", SWIG_FromInt((int)wxICON_INFORMATION
));
42770 PyDict_SetItemString(d
,"ICON_STOP", SWIG_FromInt((int)wxICON_STOP
));
42771 PyDict_SetItemString(d
,"ICON_ASTERISK", SWIG_FromInt((int)wxICON_ASTERISK
));
42772 PyDict_SetItemString(d
,"ICON_MASK", SWIG_FromInt((int)wxICON_MASK
));
42773 PyDict_SetItemString(d
,"ICON_WARNING", SWIG_FromInt((int)wxICON_WARNING
));
42774 PyDict_SetItemString(d
,"ICON_ERROR", SWIG_FromInt((int)wxICON_ERROR
));
42775 PyDict_SetItemString(d
,"FORWARD", SWIG_FromInt((int)wxFORWARD
));
42776 PyDict_SetItemString(d
,"BACKWARD", SWIG_FromInt((int)wxBACKWARD
));
42777 PyDict_SetItemString(d
,"RESET", SWIG_FromInt((int)wxRESET
));
42778 PyDict_SetItemString(d
,"HELP", SWIG_FromInt((int)wxHELP
));
42779 PyDict_SetItemString(d
,"MORE", SWIG_FromInt((int)wxMORE
));
42780 PyDict_SetItemString(d
,"SETUP", SWIG_FromInt((int)wxSETUP
));
42781 PyDict_SetItemString(d
,"SIZE_AUTO_WIDTH", SWIG_FromInt((int)wxSIZE_AUTO_WIDTH
));
42782 PyDict_SetItemString(d
,"SIZE_AUTO_HEIGHT", SWIG_FromInt((int)wxSIZE_AUTO_HEIGHT
));
42783 PyDict_SetItemString(d
,"SIZE_AUTO", SWIG_FromInt((int)wxSIZE_AUTO
));
42784 PyDict_SetItemString(d
,"SIZE_USE_EXISTING", SWIG_FromInt((int)wxSIZE_USE_EXISTING
));
42785 PyDict_SetItemString(d
,"SIZE_ALLOW_MINUS_ONE", SWIG_FromInt((int)wxSIZE_ALLOW_MINUS_ONE
));
42786 PyDict_SetItemString(d
,"PORTRAIT", SWIG_FromInt((int)wxPORTRAIT
));
42787 PyDict_SetItemString(d
,"LANDSCAPE", SWIG_FromInt((int)wxLANDSCAPE
));
42788 PyDict_SetItemString(d
,"PRINT_QUALITY_HIGH", SWIG_FromInt((int)wxPRINT_QUALITY_HIGH
));
42789 PyDict_SetItemString(d
,"PRINT_QUALITY_MEDIUM", SWIG_FromInt((int)wxPRINT_QUALITY_MEDIUM
));
42790 PyDict_SetItemString(d
,"PRINT_QUALITY_LOW", SWIG_FromInt((int)wxPRINT_QUALITY_LOW
));
42791 PyDict_SetItemString(d
,"PRINT_QUALITY_DRAFT", SWIG_FromInt((int)wxPRINT_QUALITY_DRAFT
));
42792 PyDict_SetItemString(d
,"ID_ANY", SWIG_FromInt((int)wxID_ANY
));
42793 PyDict_SetItemString(d
,"ID_SEPARATOR", SWIG_FromInt((int)wxID_SEPARATOR
));
42794 PyDict_SetItemString(d
,"ID_LOWEST", SWIG_FromInt((int)wxID_LOWEST
));
42795 PyDict_SetItemString(d
,"ID_OPEN", SWIG_FromInt((int)wxID_OPEN
));
42796 PyDict_SetItemString(d
,"ID_CLOSE", SWIG_FromInt((int)wxID_CLOSE
));
42797 PyDict_SetItemString(d
,"ID_NEW", SWIG_FromInt((int)wxID_NEW
));
42798 PyDict_SetItemString(d
,"ID_SAVE", SWIG_FromInt((int)wxID_SAVE
));
42799 PyDict_SetItemString(d
,"ID_SAVEAS", SWIG_FromInt((int)wxID_SAVEAS
));
42800 PyDict_SetItemString(d
,"ID_REVERT", SWIG_FromInt((int)wxID_REVERT
));
42801 PyDict_SetItemString(d
,"ID_EXIT", SWIG_FromInt((int)wxID_EXIT
));
42802 PyDict_SetItemString(d
,"ID_UNDO", SWIG_FromInt((int)wxID_UNDO
));
42803 PyDict_SetItemString(d
,"ID_REDO", SWIG_FromInt((int)wxID_REDO
));
42804 PyDict_SetItemString(d
,"ID_HELP", SWIG_FromInt((int)wxID_HELP
));
42805 PyDict_SetItemString(d
,"ID_PRINT", SWIG_FromInt((int)wxID_PRINT
));
42806 PyDict_SetItemString(d
,"ID_PRINT_SETUP", SWIG_FromInt((int)wxID_PRINT_SETUP
));
42807 PyDict_SetItemString(d
,"ID_PREVIEW", SWIG_FromInt((int)wxID_PREVIEW
));
42808 PyDict_SetItemString(d
,"ID_ABOUT", SWIG_FromInt((int)wxID_ABOUT
));
42809 PyDict_SetItemString(d
,"ID_HELP_CONTENTS", SWIG_FromInt((int)wxID_HELP_CONTENTS
));
42810 PyDict_SetItemString(d
,"ID_HELP_COMMANDS", SWIG_FromInt((int)wxID_HELP_COMMANDS
));
42811 PyDict_SetItemString(d
,"ID_HELP_PROCEDURES", SWIG_FromInt((int)wxID_HELP_PROCEDURES
));
42812 PyDict_SetItemString(d
,"ID_HELP_CONTEXT", SWIG_FromInt((int)wxID_HELP_CONTEXT
));
42813 PyDict_SetItemString(d
,"ID_CLOSE_ALL", SWIG_FromInt((int)wxID_CLOSE_ALL
));
42814 PyDict_SetItemString(d
,"ID_PREFERENCES", SWIG_FromInt((int)wxID_PREFERENCES
));
42815 PyDict_SetItemString(d
,"ID_CUT", SWIG_FromInt((int)wxID_CUT
));
42816 PyDict_SetItemString(d
,"ID_COPY", SWIG_FromInt((int)wxID_COPY
));
42817 PyDict_SetItemString(d
,"ID_PASTE", SWIG_FromInt((int)wxID_PASTE
));
42818 PyDict_SetItemString(d
,"ID_CLEAR", SWIG_FromInt((int)wxID_CLEAR
));
42819 PyDict_SetItemString(d
,"ID_FIND", SWIG_FromInt((int)wxID_FIND
));
42820 PyDict_SetItemString(d
,"ID_DUPLICATE", SWIG_FromInt((int)wxID_DUPLICATE
));
42821 PyDict_SetItemString(d
,"ID_SELECTALL", SWIG_FromInt((int)wxID_SELECTALL
));
42822 PyDict_SetItemString(d
,"ID_DELETE", SWIG_FromInt((int)wxID_DELETE
));
42823 PyDict_SetItemString(d
,"ID_REPLACE", SWIG_FromInt((int)wxID_REPLACE
));
42824 PyDict_SetItemString(d
,"ID_REPLACE_ALL", SWIG_FromInt((int)wxID_REPLACE_ALL
));
42825 PyDict_SetItemString(d
,"ID_PROPERTIES", SWIG_FromInt((int)wxID_PROPERTIES
));
42826 PyDict_SetItemString(d
,"ID_VIEW_DETAILS", SWIG_FromInt((int)wxID_VIEW_DETAILS
));
42827 PyDict_SetItemString(d
,"ID_VIEW_LARGEICONS", SWIG_FromInt((int)wxID_VIEW_LARGEICONS
));
42828 PyDict_SetItemString(d
,"ID_VIEW_SMALLICONS", SWIG_FromInt((int)wxID_VIEW_SMALLICONS
));
42829 PyDict_SetItemString(d
,"ID_VIEW_LIST", SWIG_FromInt((int)wxID_VIEW_LIST
));
42830 PyDict_SetItemString(d
,"ID_VIEW_SORTDATE", SWIG_FromInt((int)wxID_VIEW_SORTDATE
));
42831 PyDict_SetItemString(d
,"ID_VIEW_SORTNAME", SWIG_FromInt((int)wxID_VIEW_SORTNAME
));
42832 PyDict_SetItemString(d
,"ID_VIEW_SORTSIZE", SWIG_FromInt((int)wxID_VIEW_SORTSIZE
));
42833 PyDict_SetItemString(d
,"ID_VIEW_SORTTYPE", SWIG_FromInt((int)wxID_VIEW_SORTTYPE
));
42834 PyDict_SetItemString(d
,"ID_FILE1", SWIG_FromInt((int)wxID_FILE1
));
42835 PyDict_SetItemString(d
,"ID_FILE2", SWIG_FromInt((int)wxID_FILE2
));
42836 PyDict_SetItemString(d
,"ID_FILE3", SWIG_FromInt((int)wxID_FILE3
));
42837 PyDict_SetItemString(d
,"ID_FILE4", SWIG_FromInt((int)wxID_FILE4
));
42838 PyDict_SetItemString(d
,"ID_FILE5", SWIG_FromInt((int)wxID_FILE5
));
42839 PyDict_SetItemString(d
,"ID_FILE6", SWIG_FromInt((int)wxID_FILE6
));
42840 PyDict_SetItemString(d
,"ID_FILE7", SWIG_FromInt((int)wxID_FILE7
));
42841 PyDict_SetItemString(d
,"ID_FILE8", SWIG_FromInt((int)wxID_FILE8
));
42842 PyDict_SetItemString(d
,"ID_FILE9", SWIG_FromInt((int)wxID_FILE9
));
42843 PyDict_SetItemString(d
,"ID_OK", SWIG_FromInt((int)wxID_OK
));
42844 PyDict_SetItemString(d
,"ID_CANCEL", SWIG_FromInt((int)wxID_CANCEL
));
42845 PyDict_SetItemString(d
,"ID_APPLY", SWIG_FromInt((int)wxID_APPLY
));
42846 PyDict_SetItemString(d
,"ID_YES", SWIG_FromInt((int)wxID_YES
));
42847 PyDict_SetItemString(d
,"ID_NO", SWIG_FromInt((int)wxID_NO
));
42848 PyDict_SetItemString(d
,"ID_STATIC", SWIG_FromInt((int)wxID_STATIC
));
42849 PyDict_SetItemString(d
,"ID_FORWARD", SWIG_FromInt((int)wxID_FORWARD
));
42850 PyDict_SetItemString(d
,"ID_BACKWARD", SWIG_FromInt((int)wxID_BACKWARD
));
42851 PyDict_SetItemString(d
,"ID_DEFAULT", SWIG_FromInt((int)wxID_DEFAULT
));
42852 PyDict_SetItemString(d
,"ID_MORE", SWIG_FromInt((int)wxID_MORE
));
42853 PyDict_SetItemString(d
,"ID_SETUP", SWIG_FromInt((int)wxID_SETUP
));
42854 PyDict_SetItemString(d
,"ID_RESET", SWIG_FromInt((int)wxID_RESET
));
42855 PyDict_SetItemString(d
,"ID_CONTEXT_HELP", SWIG_FromInt((int)wxID_CONTEXT_HELP
));
42856 PyDict_SetItemString(d
,"ID_YESTOALL", SWIG_FromInt((int)wxID_YESTOALL
));
42857 PyDict_SetItemString(d
,"ID_NOTOALL", SWIG_FromInt((int)wxID_NOTOALL
));
42858 PyDict_SetItemString(d
,"ID_ABORT", SWIG_FromInt((int)wxID_ABORT
));
42859 PyDict_SetItemString(d
,"ID_RETRY", SWIG_FromInt((int)wxID_RETRY
));
42860 PyDict_SetItemString(d
,"ID_IGNORE", SWIG_FromInt((int)wxID_IGNORE
));
42861 PyDict_SetItemString(d
,"ID_HIGHEST", SWIG_FromInt((int)wxID_HIGHEST
));
42862 PyDict_SetItemString(d
,"OPEN", SWIG_FromInt((int)wxOPEN
));
42863 PyDict_SetItemString(d
,"SAVE", SWIG_FromInt((int)wxSAVE
));
42864 PyDict_SetItemString(d
,"HIDE_READONLY", SWIG_FromInt((int)wxHIDE_READONLY
));
42865 PyDict_SetItemString(d
,"OVERWRITE_PROMPT", SWIG_FromInt((int)wxOVERWRITE_PROMPT
));
42866 PyDict_SetItemString(d
,"FILE_MUST_EXIST", SWIG_FromInt((int)wxFILE_MUST_EXIST
));
42867 PyDict_SetItemString(d
,"MULTIPLE", SWIG_FromInt((int)wxMULTIPLE
));
42868 PyDict_SetItemString(d
,"CHANGE_DIR", SWIG_FromInt((int)wxCHANGE_DIR
));
42869 PyDict_SetItemString(d
,"ACCEL_ALT", SWIG_FromInt((int)wxACCEL_ALT
));
42870 PyDict_SetItemString(d
,"ACCEL_CTRL", SWIG_FromInt((int)wxACCEL_CTRL
));
42871 PyDict_SetItemString(d
,"ACCEL_SHIFT", SWIG_FromInt((int)wxACCEL_SHIFT
));
42872 PyDict_SetItemString(d
,"ACCEL_NORMAL", SWIG_FromInt((int)wxACCEL_NORMAL
));
42873 PyDict_SetItemString(d
,"PD_AUTO_HIDE", SWIG_FromInt((int)wxPD_AUTO_HIDE
));
42874 PyDict_SetItemString(d
,"PD_APP_MODAL", SWIG_FromInt((int)wxPD_APP_MODAL
));
42875 PyDict_SetItemString(d
,"PD_CAN_ABORT", SWIG_FromInt((int)wxPD_CAN_ABORT
));
42876 PyDict_SetItemString(d
,"PD_ELAPSED_TIME", SWIG_FromInt((int)wxPD_ELAPSED_TIME
));
42877 PyDict_SetItemString(d
,"PD_ESTIMATED_TIME", SWIG_FromInt((int)wxPD_ESTIMATED_TIME
));
42878 PyDict_SetItemString(d
,"PD_REMAINING_TIME", SWIG_FromInt((int)wxPD_REMAINING_TIME
));
42879 PyDict_SetItemString(d
,"DD_NEW_DIR_BUTTON", SWIG_FromInt((int)wxDD_NEW_DIR_BUTTON
));
42880 PyDict_SetItemString(d
,"DD_DEFAULT_STYLE", SWIG_FromInt((int)wxDD_DEFAULT_STYLE
));
42881 PyDict_SetItemString(d
,"MENU_TEAROFF", SWIG_FromInt((int)wxMENU_TEAROFF
));
42882 PyDict_SetItemString(d
,"MB_DOCKABLE", SWIG_FromInt((int)wxMB_DOCKABLE
));
42883 PyDict_SetItemString(d
,"NO_FULL_REPAINT_ON_RESIZE", SWIG_FromInt((int)wxNO_FULL_REPAINT_ON_RESIZE
));
42884 PyDict_SetItemString(d
,"FULL_REPAINT_ON_RESIZE", SWIG_FromInt((int)wxFULL_REPAINT_ON_RESIZE
));
42885 PyDict_SetItemString(d
,"LI_HORIZONTAL", SWIG_FromInt((int)wxLI_HORIZONTAL
));
42886 PyDict_SetItemString(d
,"LI_VERTICAL", SWIG_FromInt((int)wxLI_VERTICAL
));
42887 PyDict_SetItemString(d
,"WS_EX_VALIDATE_RECURSIVELY", SWIG_FromInt((int)wxWS_EX_VALIDATE_RECURSIVELY
));
42888 PyDict_SetItemString(d
,"WS_EX_BLOCK_EVENTS", SWIG_FromInt((int)wxWS_EX_BLOCK_EVENTS
));
42889 PyDict_SetItemString(d
,"WS_EX_TRANSIENT", SWIG_FromInt((int)wxWS_EX_TRANSIENT
));
42890 PyDict_SetItemString(d
,"WS_EX_THEMED_BACKGROUND", SWIG_FromInt((int)wxWS_EX_THEMED_BACKGROUND
));
42891 PyDict_SetItemString(d
,"WS_EX_PROCESS_IDLE", SWIG_FromInt((int)wxWS_EX_PROCESS_IDLE
));
42892 PyDict_SetItemString(d
,"WS_EX_PROCESS_UI_UPDATES", SWIG_FromInt((int)wxWS_EX_PROCESS_UI_UPDATES
));
42893 PyDict_SetItemString(d
,"MM_TEXT", SWIG_FromInt((int)wxMM_TEXT
));
42894 PyDict_SetItemString(d
,"MM_LOMETRIC", SWIG_FromInt((int)wxMM_LOMETRIC
));
42895 PyDict_SetItemString(d
,"MM_HIMETRIC", SWIG_FromInt((int)wxMM_HIMETRIC
));
42896 PyDict_SetItemString(d
,"MM_LOENGLISH", SWIG_FromInt((int)wxMM_LOENGLISH
));
42897 PyDict_SetItemString(d
,"MM_HIENGLISH", SWIG_FromInt((int)wxMM_HIENGLISH
));
42898 PyDict_SetItemString(d
,"MM_TWIPS", SWIG_FromInt((int)wxMM_TWIPS
));
42899 PyDict_SetItemString(d
,"MM_ISOTROPIC", SWIG_FromInt((int)wxMM_ISOTROPIC
));
42900 PyDict_SetItemString(d
,"MM_ANISOTROPIC", SWIG_FromInt((int)wxMM_ANISOTROPIC
));
42901 PyDict_SetItemString(d
,"MM_POINTS", SWIG_FromInt((int)wxMM_POINTS
));
42902 PyDict_SetItemString(d
,"MM_METRIC", SWIG_FromInt((int)wxMM_METRIC
));
42903 PyDict_SetItemString(d
,"CENTRE", SWIG_FromInt((int)wxCENTRE
));
42904 PyDict_SetItemString(d
,"CENTER", SWIG_FromInt((int)wxCENTER
));
42905 PyDict_SetItemString(d
,"HORIZONTAL", SWIG_FromInt((int)wxHORIZONTAL
));
42906 PyDict_SetItemString(d
,"VERTICAL", SWIG_FromInt((int)wxVERTICAL
));
42907 PyDict_SetItemString(d
,"BOTH", SWIG_FromInt((int)wxBOTH
));
42908 PyDict_SetItemString(d
,"LEFT", SWIG_FromInt((int)wxLEFT
));
42909 PyDict_SetItemString(d
,"RIGHT", SWIG_FromInt((int)wxRIGHT
));
42910 PyDict_SetItemString(d
,"UP", SWIG_FromInt((int)wxUP
));
42911 PyDict_SetItemString(d
,"DOWN", SWIG_FromInt((int)wxDOWN
));
42912 PyDict_SetItemString(d
,"TOP", SWIG_FromInt((int)wxTOP
));
42913 PyDict_SetItemString(d
,"BOTTOM", SWIG_FromInt((int)wxBOTTOM
));
42914 PyDict_SetItemString(d
,"NORTH", SWIG_FromInt((int)wxNORTH
));
42915 PyDict_SetItemString(d
,"SOUTH", SWIG_FromInt((int)wxSOUTH
));
42916 PyDict_SetItemString(d
,"WEST", SWIG_FromInt((int)wxWEST
));
42917 PyDict_SetItemString(d
,"EAST", SWIG_FromInt((int)wxEAST
));
42918 PyDict_SetItemString(d
,"ALL", SWIG_FromInt((int)wxALL
));
42919 PyDict_SetItemString(d
,"ALIGN_NOT", SWIG_FromInt((int)wxALIGN_NOT
));
42920 PyDict_SetItemString(d
,"ALIGN_CENTER_HORIZONTAL", SWIG_FromInt((int)wxALIGN_CENTER_HORIZONTAL
));
42921 PyDict_SetItemString(d
,"ALIGN_CENTRE_HORIZONTAL", SWIG_FromInt((int)wxALIGN_CENTRE_HORIZONTAL
));
42922 PyDict_SetItemString(d
,"ALIGN_LEFT", SWIG_FromInt((int)wxALIGN_LEFT
));
42923 PyDict_SetItemString(d
,"ALIGN_TOP", SWIG_FromInt((int)wxALIGN_TOP
));
42924 PyDict_SetItemString(d
,"ALIGN_RIGHT", SWIG_FromInt((int)wxALIGN_RIGHT
));
42925 PyDict_SetItemString(d
,"ALIGN_BOTTOM", SWIG_FromInt((int)wxALIGN_BOTTOM
));
42926 PyDict_SetItemString(d
,"ALIGN_CENTER_VERTICAL", SWIG_FromInt((int)wxALIGN_CENTER_VERTICAL
));
42927 PyDict_SetItemString(d
,"ALIGN_CENTRE_VERTICAL", SWIG_FromInt((int)wxALIGN_CENTRE_VERTICAL
));
42928 PyDict_SetItemString(d
,"ALIGN_CENTER", SWIG_FromInt((int)wxALIGN_CENTER
));
42929 PyDict_SetItemString(d
,"ALIGN_CENTRE", SWIG_FromInt((int)wxALIGN_CENTRE
));
42930 PyDict_SetItemString(d
,"ALIGN_MASK", SWIG_FromInt((int)wxALIGN_MASK
));
42931 PyDict_SetItemString(d
,"STRETCH_NOT", SWIG_FromInt((int)wxSTRETCH_NOT
));
42932 PyDict_SetItemString(d
,"SHRINK", SWIG_FromInt((int)wxSHRINK
));
42933 PyDict_SetItemString(d
,"GROW", SWIG_FromInt((int)wxGROW
));
42934 PyDict_SetItemString(d
,"EXPAND", SWIG_FromInt((int)wxEXPAND
));
42935 PyDict_SetItemString(d
,"SHAPED", SWIG_FromInt((int)wxSHAPED
));
42936 PyDict_SetItemString(d
,"FIXED_MINSIZE", SWIG_FromInt((int)wxFIXED_MINSIZE
));
42937 PyDict_SetItemString(d
,"TILE", SWIG_FromInt((int)wxTILE
));
42938 PyDict_SetItemString(d
,"ADJUST_MINSIZE", SWIG_FromInt((int)wxADJUST_MINSIZE
));
42939 PyDict_SetItemString(d
,"BORDER_DEFAULT", SWIG_FromInt((int)wxBORDER_DEFAULT
));
42940 PyDict_SetItemString(d
,"BORDER_NONE", SWIG_FromInt((int)wxBORDER_NONE
));
42941 PyDict_SetItemString(d
,"BORDER_STATIC", SWIG_FromInt((int)wxBORDER_STATIC
));
42942 PyDict_SetItemString(d
,"BORDER_SIMPLE", SWIG_FromInt((int)wxBORDER_SIMPLE
));
42943 PyDict_SetItemString(d
,"BORDER_RAISED", SWIG_FromInt((int)wxBORDER_RAISED
));
42944 PyDict_SetItemString(d
,"BORDER_SUNKEN", SWIG_FromInt((int)wxBORDER_SUNKEN
));
42945 PyDict_SetItemString(d
,"BORDER_DOUBLE", SWIG_FromInt((int)wxBORDER_DOUBLE
));
42946 PyDict_SetItemString(d
,"BORDER_MASK", SWIG_FromInt((int)wxBORDER_MASK
));
42947 PyDict_SetItemString(d
,"DEFAULT", SWIG_FromInt((int)wxDEFAULT
));
42948 PyDict_SetItemString(d
,"DECORATIVE", SWIG_FromInt((int)wxDECORATIVE
));
42949 PyDict_SetItemString(d
,"ROMAN", SWIG_FromInt((int)wxROMAN
));
42950 PyDict_SetItemString(d
,"SCRIPT", SWIG_FromInt((int)wxSCRIPT
));
42951 PyDict_SetItemString(d
,"SWISS", SWIG_FromInt((int)wxSWISS
));
42952 PyDict_SetItemString(d
,"MODERN", SWIG_FromInt((int)wxMODERN
));
42953 PyDict_SetItemString(d
,"TELETYPE", SWIG_FromInt((int)wxTELETYPE
));
42954 PyDict_SetItemString(d
,"VARIABLE", SWIG_FromInt((int)wxVARIABLE
));
42955 PyDict_SetItemString(d
,"FIXED", SWIG_FromInt((int)wxFIXED
));
42956 PyDict_SetItemString(d
,"NORMAL", SWIG_FromInt((int)wxNORMAL
));
42957 PyDict_SetItemString(d
,"LIGHT", SWIG_FromInt((int)wxLIGHT
));
42958 PyDict_SetItemString(d
,"BOLD", SWIG_FromInt((int)wxBOLD
));
42959 PyDict_SetItemString(d
,"ITALIC", SWIG_FromInt((int)wxITALIC
));
42960 PyDict_SetItemString(d
,"SLANT", SWIG_FromInt((int)wxSLANT
));
42961 PyDict_SetItemString(d
,"SOLID", SWIG_FromInt((int)wxSOLID
));
42962 PyDict_SetItemString(d
,"DOT", SWIG_FromInt((int)wxDOT
));
42963 PyDict_SetItemString(d
,"LONG_DASH", SWIG_FromInt((int)wxLONG_DASH
));
42964 PyDict_SetItemString(d
,"SHORT_DASH", SWIG_FromInt((int)wxSHORT_DASH
));
42965 PyDict_SetItemString(d
,"DOT_DASH", SWIG_FromInt((int)wxDOT_DASH
));
42966 PyDict_SetItemString(d
,"USER_DASH", SWIG_FromInt((int)wxUSER_DASH
));
42967 PyDict_SetItemString(d
,"TRANSPARENT", SWIG_FromInt((int)wxTRANSPARENT
));
42968 PyDict_SetItemString(d
,"STIPPLE", SWIG_FromInt((int)wxSTIPPLE
));
42969 PyDict_SetItemString(d
,"BDIAGONAL_HATCH", SWIG_FromInt((int)wxBDIAGONAL_HATCH
));
42970 PyDict_SetItemString(d
,"CROSSDIAG_HATCH", SWIG_FromInt((int)wxCROSSDIAG_HATCH
));
42971 PyDict_SetItemString(d
,"FDIAGONAL_HATCH", SWIG_FromInt((int)wxFDIAGONAL_HATCH
));
42972 PyDict_SetItemString(d
,"CROSS_HATCH", SWIG_FromInt((int)wxCROSS_HATCH
));
42973 PyDict_SetItemString(d
,"HORIZONTAL_HATCH", SWIG_FromInt((int)wxHORIZONTAL_HATCH
));
42974 PyDict_SetItemString(d
,"VERTICAL_HATCH", SWIG_FromInt((int)wxVERTICAL_HATCH
));
42975 PyDict_SetItemString(d
,"JOIN_BEVEL", SWIG_FromInt((int)wxJOIN_BEVEL
));
42976 PyDict_SetItemString(d
,"JOIN_MITER", SWIG_FromInt((int)wxJOIN_MITER
));
42977 PyDict_SetItemString(d
,"JOIN_ROUND", SWIG_FromInt((int)wxJOIN_ROUND
));
42978 PyDict_SetItemString(d
,"CAP_ROUND", SWIG_FromInt((int)wxCAP_ROUND
));
42979 PyDict_SetItemString(d
,"CAP_PROJECTING", SWIG_FromInt((int)wxCAP_PROJECTING
));
42980 PyDict_SetItemString(d
,"CAP_BUTT", SWIG_FromInt((int)wxCAP_BUTT
));
42981 PyDict_SetItemString(d
,"CLEAR", SWIG_FromInt((int)wxCLEAR
));
42982 PyDict_SetItemString(d
,"XOR", SWIG_FromInt((int)wxXOR
));
42983 PyDict_SetItemString(d
,"INVERT", SWIG_FromInt((int)wxINVERT
));
42984 PyDict_SetItemString(d
,"OR_REVERSE", SWIG_FromInt((int)wxOR_REVERSE
));
42985 PyDict_SetItemString(d
,"AND_REVERSE", SWIG_FromInt((int)wxAND_REVERSE
));
42986 PyDict_SetItemString(d
,"COPY", SWIG_FromInt((int)wxCOPY
));
42987 PyDict_SetItemString(d
,"AND", SWIG_FromInt((int)wxAND
));
42988 PyDict_SetItemString(d
,"AND_INVERT", SWIG_FromInt((int)wxAND_INVERT
));
42989 PyDict_SetItemString(d
,"NO_OP", SWIG_FromInt((int)wxNO_OP
));
42990 PyDict_SetItemString(d
,"NOR", SWIG_FromInt((int)wxNOR
));
42991 PyDict_SetItemString(d
,"EQUIV", SWIG_FromInt((int)wxEQUIV
));
42992 PyDict_SetItemString(d
,"SRC_INVERT", SWIG_FromInt((int)wxSRC_INVERT
));
42993 PyDict_SetItemString(d
,"OR_INVERT", SWIG_FromInt((int)wxOR_INVERT
));
42994 PyDict_SetItemString(d
,"NAND", SWIG_FromInt((int)wxNAND
));
42995 PyDict_SetItemString(d
,"OR", SWIG_FromInt((int)wxOR
));
42996 PyDict_SetItemString(d
,"SET", SWIG_FromInt((int)wxSET
));
42997 PyDict_SetItemString(d
,"WXK_BACK", SWIG_FromInt((int)WXK_BACK
));
42998 PyDict_SetItemString(d
,"WXK_TAB", SWIG_FromInt((int)WXK_TAB
));
42999 PyDict_SetItemString(d
,"WXK_RETURN", SWIG_FromInt((int)WXK_RETURN
));
43000 PyDict_SetItemString(d
,"WXK_ESCAPE", SWIG_FromInt((int)WXK_ESCAPE
));
43001 PyDict_SetItemString(d
,"WXK_SPACE", SWIG_FromInt((int)WXK_SPACE
));
43002 PyDict_SetItemString(d
,"WXK_DELETE", SWIG_FromInt((int)WXK_DELETE
));
43003 PyDict_SetItemString(d
,"WXK_START", SWIG_FromInt((int)WXK_START
));
43004 PyDict_SetItemString(d
,"WXK_LBUTTON", SWIG_FromInt((int)WXK_LBUTTON
));
43005 PyDict_SetItemString(d
,"WXK_RBUTTON", SWIG_FromInt((int)WXK_RBUTTON
));
43006 PyDict_SetItemString(d
,"WXK_CANCEL", SWIG_FromInt((int)WXK_CANCEL
));
43007 PyDict_SetItemString(d
,"WXK_MBUTTON", SWIG_FromInt((int)WXK_MBUTTON
));
43008 PyDict_SetItemString(d
,"WXK_CLEAR", SWIG_FromInt((int)WXK_CLEAR
));
43009 PyDict_SetItemString(d
,"WXK_SHIFT", SWIG_FromInt((int)WXK_SHIFT
));
43010 PyDict_SetItemString(d
,"WXK_ALT", SWIG_FromInt((int)WXK_ALT
));
43011 PyDict_SetItemString(d
,"WXK_CONTROL", SWIG_FromInt((int)WXK_CONTROL
));
43012 PyDict_SetItemString(d
,"WXK_MENU", SWIG_FromInt((int)WXK_MENU
));
43013 PyDict_SetItemString(d
,"WXK_PAUSE", SWIG_FromInt((int)WXK_PAUSE
));
43014 PyDict_SetItemString(d
,"WXK_CAPITAL", SWIG_FromInt((int)WXK_CAPITAL
));
43015 PyDict_SetItemString(d
,"WXK_PRIOR", SWIG_FromInt((int)WXK_PRIOR
));
43016 PyDict_SetItemString(d
,"WXK_NEXT", SWIG_FromInt((int)WXK_NEXT
));
43017 PyDict_SetItemString(d
,"WXK_END", SWIG_FromInt((int)WXK_END
));
43018 PyDict_SetItemString(d
,"WXK_HOME", SWIG_FromInt((int)WXK_HOME
));
43019 PyDict_SetItemString(d
,"WXK_LEFT", SWIG_FromInt((int)WXK_LEFT
));
43020 PyDict_SetItemString(d
,"WXK_UP", SWIG_FromInt((int)WXK_UP
));
43021 PyDict_SetItemString(d
,"WXK_RIGHT", SWIG_FromInt((int)WXK_RIGHT
));
43022 PyDict_SetItemString(d
,"WXK_DOWN", SWIG_FromInt((int)WXK_DOWN
));
43023 PyDict_SetItemString(d
,"WXK_SELECT", SWIG_FromInt((int)WXK_SELECT
));
43024 PyDict_SetItemString(d
,"WXK_PRINT", SWIG_FromInt((int)WXK_PRINT
));
43025 PyDict_SetItemString(d
,"WXK_EXECUTE", SWIG_FromInt((int)WXK_EXECUTE
));
43026 PyDict_SetItemString(d
,"WXK_SNAPSHOT", SWIG_FromInt((int)WXK_SNAPSHOT
));
43027 PyDict_SetItemString(d
,"WXK_INSERT", SWIG_FromInt((int)WXK_INSERT
));
43028 PyDict_SetItemString(d
,"WXK_HELP", SWIG_FromInt((int)WXK_HELP
));
43029 PyDict_SetItemString(d
,"WXK_NUMPAD0", SWIG_FromInt((int)WXK_NUMPAD0
));
43030 PyDict_SetItemString(d
,"WXK_NUMPAD1", SWIG_FromInt((int)WXK_NUMPAD1
));
43031 PyDict_SetItemString(d
,"WXK_NUMPAD2", SWIG_FromInt((int)WXK_NUMPAD2
));
43032 PyDict_SetItemString(d
,"WXK_NUMPAD3", SWIG_FromInt((int)WXK_NUMPAD3
));
43033 PyDict_SetItemString(d
,"WXK_NUMPAD4", SWIG_FromInt((int)WXK_NUMPAD4
));
43034 PyDict_SetItemString(d
,"WXK_NUMPAD5", SWIG_FromInt((int)WXK_NUMPAD5
));
43035 PyDict_SetItemString(d
,"WXK_NUMPAD6", SWIG_FromInt((int)WXK_NUMPAD6
));
43036 PyDict_SetItemString(d
,"WXK_NUMPAD7", SWIG_FromInt((int)WXK_NUMPAD7
));
43037 PyDict_SetItemString(d
,"WXK_NUMPAD8", SWIG_FromInt((int)WXK_NUMPAD8
));
43038 PyDict_SetItemString(d
,"WXK_NUMPAD9", SWIG_FromInt((int)WXK_NUMPAD9
));
43039 PyDict_SetItemString(d
,"WXK_MULTIPLY", SWIG_FromInt((int)WXK_MULTIPLY
));
43040 PyDict_SetItemString(d
,"WXK_ADD", SWIG_FromInt((int)WXK_ADD
));
43041 PyDict_SetItemString(d
,"WXK_SEPARATOR", SWIG_FromInt((int)WXK_SEPARATOR
));
43042 PyDict_SetItemString(d
,"WXK_SUBTRACT", SWIG_FromInt((int)WXK_SUBTRACT
));
43043 PyDict_SetItemString(d
,"WXK_DECIMAL", SWIG_FromInt((int)WXK_DECIMAL
));
43044 PyDict_SetItemString(d
,"WXK_DIVIDE", SWIG_FromInt((int)WXK_DIVIDE
));
43045 PyDict_SetItemString(d
,"WXK_F1", SWIG_FromInt((int)WXK_F1
));
43046 PyDict_SetItemString(d
,"WXK_F2", SWIG_FromInt((int)WXK_F2
));
43047 PyDict_SetItemString(d
,"WXK_F3", SWIG_FromInt((int)WXK_F3
));
43048 PyDict_SetItemString(d
,"WXK_F4", SWIG_FromInt((int)WXK_F4
));
43049 PyDict_SetItemString(d
,"WXK_F5", SWIG_FromInt((int)WXK_F5
));
43050 PyDict_SetItemString(d
,"WXK_F6", SWIG_FromInt((int)WXK_F6
));
43051 PyDict_SetItemString(d
,"WXK_F7", SWIG_FromInt((int)WXK_F7
));
43052 PyDict_SetItemString(d
,"WXK_F8", SWIG_FromInt((int)WXK_F8
));
43053 PyDict_SetItemString(d
,"WXK_F9", SWIG_FromInt((int)WXK_F9
));
43054 PyDict_SetItemString(d
,"WXK_F10", SWIG_FromInt((int)WXK_F10
));
43055 PyDict_SetItemString(d
,"WXK_F11", SWIG_FromInt((int)WXK_F11
));
43056 PyDict_SetItemString(d
,"WXK_F12", SWIG_FromInt((int)WXK_F12
));
43057 PyDict_SetItemString(d
,"WXK_F13", SWIG_FromInt((int)WXK_F13
));
43058 PyDict_SetItemString(d
,"WXK_F14", SWIG_FromInt((int)WXK_F14
));
43059 PyDict_SetItemString(d
,"WXK_F15", SWIG_FromInt((int)WXK_F15
));
43060 PyDict_SetItemString(d
,"WXK_F16", SWIG_FromInt((int)WXK_F16
));
43061 PyDict_SetItemString(d
,"WXK_F17", SWIG_FromInt((int)WXK_F17
));
43062 PyDict_SetItemString(d
,"WXK_F18", SWIG_FromInt((int)WXK_F18
));
43063 PyDict_SetItemString(d
,"WXK_F19", SWIG_FromInt((int)WXK_F19
));
43064 PyDict_SetItemString(d
,"WXK_F20", SWIG_FromInt((int)WXK_F20
));
43065 PyDict_SetItemString(d
,"WXK_F21", SWIG_FromInt((int)WXK_F21
));
43066 PyDict_SetItemString(d
,"WXK_F22", SWIG_FromInt((int)WXK_F22
));
43067 PyDict_SetItemString(d
,"WXK_F23", SWIG_FromInt((int)WXK_F23
));
43068 PyDict_SetItemString(d
,"WXK_F24", SWIG_FromInt((int)WXK_F24
));
43069 PyDict_SetItemString(d
,"WXK_NUMLOCK", SWIG_FromInt((int)WXK_NUMLOCK
));
43070 PyDict_SetItemString(d
,"WXK_SCROLL", SWIG_FromInt((int)WXK_SCROLL
));
43071 PyDict_SetItemString(d
,"WXK_PAGEUP", SWIG_FromInt((int)WXK_PAGEUP
));
43072 PyDict_SetItemString(d
,"WXK_PAGEDOWN", SWIG_FromInt((int)WXK_PAGEDOWN
));
43073 PyDict_SetItemString(d
,"WXK_NUMPAD_SPACE", SWIG_FromInt((int)WXK_NUMPAD_SPACE
));
43074 PyDict_SetItemString(d
,"WXK_NUMPAD_TAB", SWIG_FromInt((int)WXK_NUMPAD_TAB
));
43075 PyDict_SetItemString(d
,"WXK_NUMPAD_ENTER", SWIG_FromInt((int)WXK_NUMPAD_ENTER
));
43076 PyDict_SetItemString(d
,"WXK_NUMPAD_F1", SWIG_FromInt((int)WXK_NUMPAD_F1
));
43077 PyDict_SetItemString(d
,"WXK_NUMPAD_F2", SWIG_FromInt((int)WXK_NUMPAD_F2
));
43078 PyDict_SetItemString(d
,"WXK_NUMPAD_F3", SWIG_FromInt((int)WXK_NUMPAD_F3
));
43079 PyDict_SetItemString(d
,"WXK_NUMPAD_F4", SWIG_FromInt((int)WXK_NUMPAD_F4
));
43080 PyDict_SetItemString(d
,"WXK_NUMPAD_HOME", SWIG_FromInt((int)WXK_NUMPAD_HOME
));
43081 PyDict_SetItemString(d
,"WXK_NUMPAD_LEFT", SWIG_FromInt((int)WXK_NUMPAD_LEFT
));
43082 PyDict_SetItemString(d
,"WXK_NUMPAD_UP", SWIG_FromInt((int)WXK_NUMPAD_UP
));
43083 PyDict_SetItemString(d
,"WXK_NUMPAD_RIGHT", SWIG_FromInt((int)WXK_NUMPAD_RIGHT
));
43084 PyDict_SetItemString(d
,"WXK_NUMPAD_DOWN", SWIG_FromInt((int)WXK_NUMPAD_DOWN
));
43085 PyDict_SetItemString(d
,"WXK_NUMPAD_PRIOR", SWIG_FromInt((int)WXK_NUMPAD_PRIOR
));
43086 PyDict_SetItemString(d
,"WXK_NUMPAD_PAGEUP", SWIG_FromInt((int)WXK_NUMPAD_PAGEUP
));
43087 PyDict_SetItemString(d
,"WXK_NUMPAD_NEXT", SWIG_FromInt((int)WXK_NUMPAD_NEXT
));
43088 PyDict_SetItemString(d
,"WXK_NUMPAD_PAGEDOWN", SWIG_FromInt((int)WXK_NUMPAD_PAGEDOWN
));
43089 PyDict_SetItemString(d
,"WXK_NUMPAD_END", SWIG_FromInt((int)WXK_NUMPAD_END
));
43090 PyDict_SetItemString(d
,"WXK_NUMPAD_BEGIN", SWIG_FromInt((int)WXK_NUMPAD_BEGIN
));
43091 PyDict_SetItemString(d
,"WXK_NUMPAD_INSERT", SWIG_FromInt((int)WXK_NUMPAD_INSERT
));
43092 PyDict_SetItemString(d
,"WXK_NUMPAD_DELETE", SWIG_FromInt((int)WXK_NUMPAD_DELETE
));
43093 PyDict_SetItemString(d
,"WXK_NUMPAD_EQUAL", SWIG_FromInt((int)WXK_NUMPAD_EQUAL
));
43094 PyDict_SetItemString(d
,"WXK_NUMPAD_MULTIPLY", SWIG_FromInt((int)WXK_NUMPAD_MULTIPLY
));
43095 PyDict_SetItemString(d
,"WXK_NUMPAD_ADD", SWIG_FromInt((int)WXK_NUMPAD_ADD
));
43096 PyDict_SetItemString(d
,"WXK_NUMPAD_SEPARATOR", SWIG_FromInt((int)WXK_NUMPAD_SEPARATOR
));
43097 PyDict_SetItemString(d
,"WXK_NUMPAD_SUBTRACT", SWIG_FromInt((int)WXK_NUMPAD_SUBTRACT
));
43098 PyDict_SetItemString(d
,"WXK_NUMPAD_DECIMAL", SWIG_FromInt((int)WXK_NUMPAD_DECIMAL
));
43099 PyDict_SetItemString(d
,"WXK_NUMPAD_DIVIDE", SWIG_FromInt((int)WXK_NUMPAD_DIVIDE
));
43100 PyDict_SetItemString(d
,"WXK_WINDOWS_LEFT", SWIG_FromInt((int)WXK_WINDOWS_LEFT
));
43101 PyDict_SetItemString(d
,"WXK_WINDOWS_RIGHT", SWIG_FromInt((int)WXK_WINDOWS_RIGHT
));
43102 PyDict_SetItemString(d
,"WXK_WINDOWS_MENU", SWIG_FromInt((int)WXK_WINDOWS_MENU
));
43103 PyDict_SetItemString(d
,"PAPER_NONE", SWIG_FromInt((int)wxPAPER_NONE
));
43104 PyDict_SetItemString(d
,"PAPER_LETTER", SWIG_FromInt((int)wxPAPER_LETTER
));
43105 PyDict_SetItemString(d
,"PAPER_LEGAL", SWIG_FromInt((int)wxPAPER_LEGAL
));
43106 PyDict_SetItemString(d
,"PAPER_A4", SWIG_FromInt((int)wxPAPER_A4
));
43107 PyDict_SetItemString(d
,"PAPER_CSHEET", SWIG_FromInt((int)wxPAPER_CSHEET
));
43108 PyDict_SetItemString(d
,"PAPER_DSHEET", SWIG_FromInt((int)wxPAPER_DSHEET
));
43109 PyDict_SetItemString(d
,"PAPER_ESHEET", SWIG_FromInt((int)wxPAPER_ESHEET
));
43110 PyDict_SetItemString(d
,"PAPER_LETTERSMALL", SWIG_FromInt((int)wxPAPER_LETTERSMALL
));
43111 PyDict_SetItemString(d
,"PAPER_TABLOID", SWIG_FromInt((int)wxPAPER_TABLOID
));
43112 PyDict_SetItemString(d
,"PAPER_LEDGER", SWIG_FromInt((int)wxPAPER_LEDGER
));
43113 PyDict_SetItemString(d
,"PAPER_STATEMENT", SWIG_FromInt((int)wxPAPER_STATEMENT
));
43114 PyDict_SetItemString(d
,"PAPER_EXECUTIVE", SWIG_FromInt((int)wxPAPER_EXECUTIVE
));
43115 PyDict_SetItemString(d
,"PAPER_A3", SWIG_FromInt((int)wxPAPER_A3
));
43116 PyDict_SetItemString(d
,"PAPER_A4SMALL", SWIG_FromInt((int)wxPAPER_A4SMALL
));
43117 PyDict_SetItemString(d
,"PAPER_A5", SWIG_FromInt((int)wxPAPER_A5
));
43118 PyDict_SetItemString(d
,"PAPER_B4", SWIG_FromInt((int)wxPAPER_B4
));
43119 PyDict_SetItemString(d
,"PAPER_B5", SWIG_FromInt((int)wxPAPER_B5
));
43120 PyDict_SetItemString(d
,"PAPER_FOLIO", SWIG_FromInt((int)wxPAPER_FOLIO
));
43121 PyDict_SetItemString(d
,"PAPER_QUARTO", SWIG_FromInt((int)wxPAPER_QUARTO
));
43122 PyDict_SetItemString(d
,"PAPER_10X14", SWIG_FromInt((int)wxPAPER_10X14
));
43123 PyDict_SetItemString(d
,"PAPER_11X17", SWIG_FromInt((int)wxPAPER_11X17
));
43124 PyDict_SetItemString(d
,"PAPER_NOTE", SWIG_FromInt((int)wxPAPER_NOTE
));
43125 PyDict_SetItemString(d
,"PAPER_ENV_9", SWIG_FromInt((int)wxPAPER_ENV_9
));
43126 PyDict_SetItemString(d
,"PAPER_ENV_10", SWIG_FromInt((int)wxPAPER_ENV_10
));
43127 PyDict_SetItemString(d
,"PAPER_ENV_11", SWIG_FromInt((int)wxPAPER_ENV_11
));
43128 PyDict_SetItemString(d
,"PAPER_ENV_12", SWIG_FromInt((int)wxPAPER_ENV_12
));
43129 PyDict_SetItemString(d
,"PAPER_ENV_14", SWIG_FromInt((int)wxPAPER_ENV_14
));
43130 PyDict_SetItemString(d
,"PAPER_ENV_DL", SWIG_FromInt((int)wxPAPER_ENV_DL
));
43131 PyDict_SetItemString(d
,"PAPER_ENV_C5", SWIG_FromInt((int)wxPAPER_ENV_C5
));
43132 PyDict_SetItemString(d
,"PAPER_ENV_C3", SWIG_FromInt((int)wxPAPER_ENV_C3
));
43133 PyDict_SetItemString(d
,"PAPER_ENV_C4", SWIG_FromInt((int)wxPAPER_ENV_C4
));
43134 PyDict_SetItemString(d
,"PAPER_ENV_C6", SWIG_FromInt((int)wxPAPER_ENV_C6
));
43135 PyDict_SetItemString(d
,"PAPER_ENV_C65", SWIG_FromInt((int)wxPAPER_ENV_C65
));
43136 PyDict_SetItemString(d
,"PAPER_ENV_B4", SWIG_FromInt((int)wxPAPER_ENV_B4
));
43137 PyDict_SetItemString(d
,"PAPER_ENV_B5", SWIG_FromInt((int)wxPAPER_ENV_B5
));
43138 PyDict_SetItemString(d
,"PAPER_ENV_B6", SWIG_FromInt((int)wxPAPER_ENV_B6
));
43139 PyDict_SetItemString(d
,"PAPER_ENV_ITALY", SWIG_FromInt((int)wxPAPER_ENV_ITALY
));
43140 PyDict_SetItemString(d
,"PAPER_ENV_MONARCH", SWIG_FromInt((int)wxPAPER_ENV_MONARCH
));
43141 PyDict_SetItemString(d
,"PAPER_ENV_PERSONAL", SWIG_FromInt((int)wxPAPER_ENV_PERSONAL
));
43142 PyDict_SetItemString(d
,"PAPER_FANFOLD_US", SWIG_FromInt((int)wxPAPER_FANFOLD_US
));
43143 PyDict_SetItemString(d
,"PAPER_FANFOLD_STD_GERMAN", SWIG_FromInt((int)wxPAPER_FANFOLD_STD_GERMAN
));
43144 PyDict_SetItemString(d
,"PAPER_FANFOLD_LGL_GERMAN", SWIG_FromInt((int)wxPAPER_FANFOLD_LGL_GERMAN
));
43145 PyDict_SetItemString(d
,"PAPER_ISO_B4", SWIG_FromInt((int)wxPAPER_ISO_B4
));
43146 PyDict_SetItemString(d
,"PAPER_JAPANESE_POSTCARD", SWIG_FromInt((int)wxPAPER_JAPANESE_POSTCARD
));
43147 PyDict_SetItemString(d
,"PAPER_9X11", SWIG_FromInt((int)wxPAPER_9X11
));
43148 PyDict_SetItemString(d
,"PAPER_10X11", SWIG_FromInt((int)wxPAPER_10X11
));
43149 PyDict_SetItemString(d
,"PAPER_15X11", SWIG_FromInt((int)wxPAPER_15X11
));
43150 PyDict_SetItemString(d
,"PAPER_ENV_INVITE", SWIG_FromInt((int)wxPAPER_ENV_INVITE
));
43151 PyDict_SetItemString(d
,"PAPER_LETTER_EXTRA", SWIG_FromInt((int)wxPAPER_LETTER_EXTRA
));
43152 PyDict_SetItemString(d
,"PAPER_LEGAL_EXTRA", SWIG_FromInt((int)wxPAPER_LEGAL_EXTRA
));
43153 PyDict_SetItemString(d
,"PAPER_TABLOID_EXTRA", SWIG_FromInt((int)wxPAPER_TABLOID_EXTRA
));
43154 PyDict_SetItemString(d
,"PAPER_A4_EXTRA", SWIG_FromInt((int)wxPAPER_A4_EXTRA
));
43155 PyDict_SetItemString(d
,"PAPER_LETTER_TRANSVERSE", SWIG_FromInt((int)wxPAPER_LETTER_TRANSVERSE
));
43156 PyDict_SetItemString(d
,"PAPER_A4_TRANSVERSE", SWIG_FromInt((int)wxPAPER_A4_TRANSVERSE
));
43157 PyDict_SetItemString(d
,"PAPER_LETTER_EXTRA_TRANSVERSE", SWIG_FromInt((int)wxPAPER_LETTER_EXTRA_TRANSVERSE
));
43158 PyDict_SetItemString(d
,"PAPER_A_PLUS", SWIG_FromInt((int)wxPAPER_A_PLUS
));
43159 PyDict_SetItemString(d
,"PAPER_B_PLUS", SWIG_FromInt((int)wxPAPER_B_PLUS
));
43160 PyDict_SetItemString(d
,"PAPER_LETTER_PLUS", SWIG_FromInt((int)wxPAPER_LETTER_PLUS
));
43161 PyDict_SetItemString(d
,"PAPER_A4_PLUS", SWIG_FromInt((int)wxPAPER_A4_PLUS
));
43162 PyDict_SetItemString(d
,"PAPER_A5_TRANSVERSE", SWIG_FromInt((int)wxPAPER_A5_TRANSVERSE
));
43163 PyDict_SetItemString(d
,"PAPER_B5_TRANSVERSE", SWIG_FromInt((int)wxPAPER_B5_TRANSVERSE
));
43164 PyDict_SetItemString(d
,"PAPER_A3_EXTRA", SWIG_FromInt((int)wxPAPER_A3_EXTRA
));
43165 PyDict_SetItemString(d
,"PAPER_A5_EXTRA", SWIG_FromInt((int)wxPAPER_A5_EXTRA
));
43166 PyDict_SetItemString(d
,"PAPER_B5_EXTRA", SWIG_FromInt((int)wxPAPER_B5_EXTRA
));
43167 PyDict_SetItemString(d
,"PAPER_A2", SWIG_FromInt((int)wxPAPER_A2
));
43168 PyDict_SetItemString(d
,"PAPER_A3_TRANSVERSE", SWIG_FromInt((int)wxPAPER_A3_TRANSVERSE
));
43169 PyDict_SetItemString(d
,"PAPER_A3_EXTRA_TRANSVERSE", SWIG_FromInt((int)wxPAPER_A3_EXTRA_TRANSVERSE
));
43170 PyDict_SetItemString(d
,"DUPLEX_SIMPLEX", SWIG_FromInt((int)wxDUPLEX_SIMPLEX
));
43171 PyDict_SetItemString(d
,"DUPLEX_HORIZONTAL", SWIG_FromInt((int)wxDUPLEX_HORIZONTAL
));
43172 PyDict_SetItemString(d
,"DUPLEX_VERTICAL", SWIG_FromInt((int)wxDUPLEX_VERTICAL
));
43173 PyDict_SetItemString(d
,"ITEM_SEPARATOR", SWIG_FromInt((int)wxITEM_SEPARATOR
));
43174 PyDict_SetItemString(d
,"ITEM_NORMAL", SWIG_FromInt((int)wxITEM_NORMAL
));
43175 PyDict_SetItemString(d
,"ITEM_CHECK", SWIG_FromInt((int)wxITEM_CHECK
));
43176 PyDict_SetItemString(d
,"ITEM_RADIO", SWIG_FromInt((int)wxITEM_RADIO
));
43177 PyDict_SetItemString(d
,"ITEM_MAX", SWIG_FromInt((int)wxITEM_MAX
));
43178 PyDict_SetItemString(d
,"HT_NOWHERE", SWIG_FromInt((int)wxHT_NOWHERE
));
43179 PyDict_SetItemString(d
,"HT_SCROLLBAR_FIRST", SWIG_FromInt((int)wxHT_SCROLLBAR_FIRST
));
43180 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_LINE_1", SWIG_FromInt((int)wxHT_SCROLLBAR_ARROW_LINE_1
));
43181 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_LINE_2", SWIG_FromInt((int)wxHT_SCROLLBAR_ARROW_LINE_2
));
43182 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_PAGE_1", SWIG_FromInt((int)wxHT_SCROLLBAR_ARROW_PAGE_1
));
43183 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_PAGE_2", SWIG_FromInt((int)wxHT_SCROLLBAR_ARROW_PAGE_2
));
43184 PyDict_SetItemString(d
,"HT_SCROLLBAR_THUMB", SWIG_FromInt((int)wxHT_SCROLLBAR_THUMB
));
43185 PyDict_SetItemString(d
,"HT_SCROLLBAR_BAR_1", SWIG_FromInt((int)wxHT_SCROLLBAR_BAR_1
));
43186 PyDict_SetItemString(d
,"HT_SCROLLBAR_BAR_2", SWIG_FromInt((int)wxHT_SCROLLBAR_BAR_2
));
43187 PyDict_SetItemString(d
,"HT_SCROLLBAR_LAST", SWIG_FromInt((int)wxHT_SCROLLBAR_LAST
));
43188 PyDict_SetItemString(d
,"HT_WINDOW_OUTSIDE", SWIG_FromInt((int)wxHT_WINDOW_OUTSIDE
));
43189 PyDict_SetItemString(d
,"HT_WINDOW_INSIDE", SWIG_FromInt((int)wxHT_WINDOW_INSIDE
));
43190 PyDict_SetItemString(d
,"HT_WINDOW_VERT_SCROLLBAR", SWIG_FromInt((int)wxHT_WINDOW_VERT_SCROLLBAR
));
43191 PyDict_SetItemString(d
,"HT_WINDOW_HORZ_SCROLLBAR", SWIG_FromInt((int)wxHT_WINDOW_HORZ_SCROLLBAR
));
43192 PyDict_SetItemString(d
,"HT_WINDOW_CORNER", SWIG_FromInt((int)wxHT_WINDOW_CORNER
));
43193 PyDict_SetItemString(d
,"HT_MAX", SWIG_FromInt((int)wxHT_MAX
));
43194 PyDict_SetItemString(d
,"MOD_NONE", SWIG_FromInt((int)wxMOD_NONE
));
43195 PyDict_SetItemString(d
,"MOD_ALT", SWIG_FromInt((int)wxMOD_ALT
));
43196 PyDict_SetItemString(d
,"MOD_CONTROL", SWIG_FromInt((int)wxMOD_CONTROL
));
43197 PyDict_SetItemString(d
,"MOD_SHIFT", SWIG_FromInt((int)wxMOD_SHIFT
));
43198 PyDict_SetItemString(d
,"MOD_WIN", SWIG_FromInt((int)wxMOD_WIN
));
43199 PyDict_SetItemString(d
,"UPDATE_UI_NONE", SWIG_FromInt((int)wxUPDATE_UI_NONE
));
43200 PyDict_SetItemString(d
,"UPDATE_UI_RECURSE", SWIG_FromInt((int)wxUPDATE_UI_RECURSE
));
43201 PyDict_SetItemString(d
,"UPDATE_UI_FROMIDLE", SWIG_FromInt((int)wxUPDATE_UI_FROMIDLE
));
43202 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
43203 SWIG_addvarlink(SWIG_globals
,(char*)"EmptyString",_wrap_EmptyString_get
, _wrap_EmptyString_set
);
43204 PyDict_SetItemString(d
,"BITMAP_TYPE_INVALID", SWIG_FromInt((int)wxBITMAP_TYPE_INVALID
));
43205 PyDict_SetItemString(d
,"BITMAP_TYPE_BMP", SWIG_FromInt((int)wxBITMAP_TYPE_BMP
));
43206 PyDict_SetItemString(d
,"BITMAP_TYPE_ICO", SWIG_FromInt((int)wxBITMAP_TYPE_ICO
));
43207 PyDict_SetItemString(d
,"BITMAP_TYPE_CUR", SWIG_FromInt((int)wxBITMAP_TYPE_CUR
));
43208 PyDict_SetItemString(d
,"BITMAP_TYPE_XBM", SWIG_FromInt((int)wxBITMAP_TYPE_XBM
));
43209 PyDict_SetItemString(d
,"BITMAP_TYPE_XBM_DATA", SWIG_FromInt((int)wxBITMAP_TYPE_XBM_DATA
));
43210 PyDict_SetItemString(d
,"BITMAP_TYPE_XPM", SWIG_FromInt((int)wxBITMAP_TYPE_XPM
));
43211 PyDict_SetItemString(d
,"BITMAP_TYPE_XPM_DATA", SWIG_FromInt((int)wxBITMAP_TYPE_XPM_DATA
));
43212 PyDict_SetItemString(d
,"BITMAP_TYPE_TIF", SWIG_FromInt((int)wxBITMAP_TYPE_TIF
));
43213 PyDict_SetItemString(d
,"BITMAP_TYPE_GIF", SWIG_FromInt((int)wxBITMAP_TYPE_GIF
));
43214 PyDict_SetItemString(d
,"BITMAP_TYPE_PNG", SWIG_FromInt((int)wxBITMAP_TYPE_PNG
));
43215 PyDict_SetItemString(d
,"BITMAP_TYPE_JPEG", SWIG_FromInt((int)wxBITMAP_TYPE_JPEG
));
43216 PyDict_SetItemString(d
,"BITMAP_TYPE_PNM", SWIG_FromInt((int)wxBITMAP_TYPE_PNM
));
43217 PyDict_SetItemString(d
,"BITMAP_TYPE_PCX", SWIG_FromInt((int)wxBITMAP_TYPE_PCX
));
43218 PyDict_SetItemString(d
,"BITMAP_TYPE_PICT", SWIG_FromInt((int)wxBITMAP_TYPE_PICT
));
43219 PyDict_SetItemString(d
,"BITMAP_TYPE_ICON", SWIG_FromInt((int)wxBITMAP_TYPE_ICON
));
43220 PyDict_SetItemString(d
,"BITMAP_TYPE_ANI", SWIG_FromInt((int)wxBITMAP_TYPE_ANI
));
43221 PyDict_SetItemString(d
,"BITMAP_TYPE_IFF", SWIG_FromInt((int)wxBITMAP_TYPE_IFF
));
43222 PyDict_SetItemString(d
,"BITMAP_TYPE_MACCURSOR", SWIG_FromInt((int)wxBITMAP_TYPE_MACCURSOR
));
43223 PyDict_SetItemString(d
,"BITMAP_TYPE_ANY", SWIG_FromInt((int)wxBITMAP_TYPE_ANY
));
43224 PyDict_SetItemString(d
,"CURSOR_NONE", SWIG_FromInt((int)wxCURSOR_NONE
));
43225 PyDict_SetItemString(d
,"CURSOR_ARROW", SWIG_FromInt((int)wxCURSOR_ARROW
));
43226 PyDict_SetItemString(d
,"CURSOR_RIGHT_ARROW", SWIG_FromInt((int)wxCURSOR_RIGHT_ARROW
));
43227 PyDict_SetItemString(d
,"CURSOR_BULLSEYE", SWIG_FromInt((int)wxCURSOR_BULLSEYE
));
43228 PyDict_SetItemString(d
,"CURSOR_CHAR", SWIG_FromInt((int)wxCURSOR_CHAR
));
43229 PyDict_SetItemString(d
,"CURSOR_CROSS", SWIG_FromInt((int)wxCURSOR_CROSS
));
43230 PyDict_SetItemString(d
,"CURSOR_HAND", SWIG_FromInt((int)wxCURSOR_HAND
));
43231 PyDict_SetItemString(d
,"CURSOR_IBEAM", SWIG_FromInt((int)wxCURSOR_IBEAM
));
43232 PyDict_SetItemString(d
,"CURSOR_LEFT_BUTTON", SWIG_FromInt((int)wxCURSOR_LEFT_BUTTON
));
43233 PyDict_SetItemString(d
,"CURSOR_MAGNIFIER", SWIG_FromInt((int)wxCURSOR_MAGNIFIER
));
43234 PyDict_SetItemString(d
,"CURSOR_MIDDLE_BUTTON", SWIG_FromInt((int)wxCURSOR_MIDDLE_BUTTON
));
43235 PyDict_SetItemString(d
,"CURSOR_NO_ENTRY", SWIG_FromInt((int)wxCURSOR_NO_ENTRY
));
43236 PyDict_SetItemString(d
,"CURSOR_PAINT_BRUSH", SWIG_FromInt((int)wxCURSOR_PAINT_BRUSH
));
43237 PyDict_SetItemString(d
,"CURSOR_PENCIL", SWIG_FromInt((int)wxCURSOR_PENCIL
));
43238 PyDict_SetItemString(d
,"CURSOR_POINT_LEFT", SWIG_FromInt((int)wxCURSOR_POINT_LEFT
));
43239 PyDict_SetItemString(d
,"CURSOR_POINT_RIGHT", SWIG_FromInt((int)wxCURSOR_POINT_RIGHT
));
43240 PyDict_SetItemString(d
,"CURSOR_QUESTION_ARROW", SWIG_FromInt((int)wxCURSOR_QUESTION_ARROW
));
43241 PyDict_SetItemString(d
,"CURSOR_RIGHT_BUTTON", SWIG_FromInt((int)wxCURSOR_RIGHT_BUTTON
));
43242 PyDict_SetItemString(d
,"CURSOR_SIZENESW", SWIG_FromInt((int)wxCURSOR_SIZENESW
));
43243 PyDict_SetItemString(d
,"CURSOR_SIZENS", SWIG_FromInt((int)wxCURSOR_SIZENS
));
43244 PyDict_SetItemString(d
,"CURSOR_SIZENWSE", SWIG_FromInt((int)wxCURSOR_SIZENWSE
));
43245 PyDict_SetItemString(d
,"CURSOR_SIZEWE", SWIG_FromInt((int)wxCURSOR_SIZEWE
));
43246 PyDict_SetItemString(d
,"CURSOR_SIZING", SWIG_FromInt((int)wxCURSOR_SIZING
));
43247 PyDict_SetItemString(d
,"CURSOR_SPRAYCAN", SWIG_FromInt((int)wxCURSOR_SPRAYCAN
));
43248 PyDict_SetItemString(d
,"CURSOR_WAIT", SWIG_FromInt((int)wxCURSOR_WAIT
));
43249 PyDict_SetItemString(d
,"CURSOR_WATCH", SWIG_FromInt((int)wxCURSOR_WATCH
));
43250 PyDict_SetItemString(d
,"CURSOR_BLANK", SWIG_FromInt((int)wxCURSOR_BLANK
));
43251 PyDict_SetItemString(d
,"CURSOR_DEFAULT", SWIG_FromInt((int)wxCURSOR_DEFAULT
));
43252 PyDict_SetItemString(d
,"CURSOR_COPY_ARROW", SWIG_FromInt((int)wxCURSOR_COPY_ARROW
));
43253 PyDict_SetItemString(d
,"CURSOR_ARROWWAIT", SWIG_FromInt((int)wxCURSOR_ARROWWAIT
));
43254 PyDict_SetItemString(d
,"CURSOR_MAX", SWIG_FromInt((int)wxCURSOR_MAX
));
43255 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultPosition",_wrap_DefaultPosition_get
, _wrap_DefaultPosition_set
);
43256 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultSize",_wrap_DefaultSize_get
, _wrap_DefaultSize_set
);
43257 PyDict_SetItemString(d
,"FromStart", SWIG_FromInt((int)wxFromStart
));
43258 PyDict_SetItemString(d
,"FromCurrent", SWIG_FromInt((int)wxFromCurrent
));
43259 PyDict_SetItemString(d
,"FromEnd", SWIG_FromInt((int)wxFromEnd
));
43261 wxPyPtrTypeMap_Add("wxInputStream", "wxPyInputStream");
43264 wxPyPtrTypeMap_Add("wxFileSystemHandler", "wxPyFileSystemHandler");
43266 SWIG_addvarlink(SWIG_globals
,(char*)"NullImage",_wrap_NullImage_get
, _wrap_NullImage_set
);
43267 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_BMP_FORMAT",_wrap_IMAGE_OPTION_BMP_FORMAT_get
, _wrap_IMAGE_OPTION_BMP_FORMAT_set
);
43268 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_CUR_HOTSPOT_X",_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get
, _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set
);
43269 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_CUR_HOTSPOT_Y",_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get
, _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set
);
43270 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTION",_wrap_IMAGE_OPTION_RESOLUTION_get
, _wrap_IMAGE_OPTION_RESOLUTION_set
);
43271 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTIONUNIT",_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get
, _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set
);
43272 PyDict_SetItemString(d
,"IMAGE_RESOLUTION_INCHES", SWIG_FromInt((int)wxIMAGE_RESOLUTION_INCHES
));
43273 PyDict_SetItemString(d
,"IMAGE_RESOLUTION_CM", SWIG_FromInt((int)wxIMAGE_RESOLUTION_CM
));
43274 PyDict_SetItemString(d
,"BMP_24BPP", SWIG_FromInt((int)wxBMP_24BPP
));
43275 PyDict_SetItemString(d
,"BMP_8BPP", SWIG_FromInt((int)wxBMP_8BPP
));
43276 PyDict_SetItemString(d
,"BMP_8BPP_GREY", SWIG_FromInt((int)wxBMP_8BPP_GREY
));
43277 PyDict_SetItemString(d
,"BMP_8BPP_GRAY", SWIG_FromInt((int)wxBMP_8BPP_GRAY
));
43278 PyDict_SetItemString(d
,"BMP_8BPP_RED", SWIG_FromInt((int)wxBMP_8BPP_RED
));
43279 PyDict_SetItemString(d
,"BMP_8BPP_PALETTE", SWIG_FromInt((int)wxBMP_8BPP_PALETTE
));
43280 PyDict_SetItemString(d
,"BMP_4BPP", SWIG_FromInt((int)wxBMP_4BPP
));
43281 PyDict_SetItemString(d
,"BMP_1BPP", SWIG_FromInt((int)wxBMP_1BPP
));
43282 PyDict_SetItemString(d
,"BMP_1BPP_BW", SWIG_FromInt((int)wxBMP_1BPP_BW
));
43283 PyDict_SetItemString(d
,"EVENT_PROPAGATE_NONE", SWIG_FromInt((int)wxEVENT_PROPAGATE_NONE
));
43284 PyDict_SetItemString(d
,"EVENT_PROPAGATE_MAX", SWIG_FromInt((int)wxEVENT_PROPAGATE_MAX
));
43285 PyDict_SetItemString(d
, "wxEVT_NULL", PyInt_FromLong(wxEVT_NULL
));
43286 PyDict_SetItemString(d
, "wxEVT_FIRST", PyInt_FromLong(wxEVT_FIRST
));
43287 PyDict_SetItemString(d
, "wxEVT_USER_FIRST", PyInt_FromLong(wxEVT_USER_FIRST
));
43288 PyDict_SetItemString(d
, "wxEVT_COMMAND_BUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_BUTTON_CLICKED
));
43289 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKBOX_CLICKED", PyInt_FromLong(wxEVT_COMMAND_CHECKBOX_CLICKED
));
43290 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICE_SELECTED", PyInt_FromLong(wxEVT_COMMAND_CHOICE_SELECTED
));
43291 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_SELECTED
));
43292 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_DOUBLECLICKED
));
43293 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKLISTBOX_TOGGLED", PyInt_FromLong(wxEVT_COMMAND_CHECKLISTBOX_TOGGLED
));
43294 PyDict_SetItemString(d
, "wxEVT_COMMAND_MENU_SELECTED", PyInt_FromLong(wxEVT_COMMAND_MENU_SELECTED
));
43295 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_CLICKED
));
43296 PyDict_SetItemString(d
, "wxEVT_COMMAND_SLIDER_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SLIDER_UPDATED
));
43297 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBOX_SELECTED
));
43298 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBUTTON_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBUTTON_SELECTED
));
43299 PyDict_SetItemString(d
, "wxEVT_COMMAND_SCROLLBAR_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SCROLLBAR_UPDATED
));
43300 PyDict_SetItemString(d
, "wxEVT_COMMAND_VLBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_VLBOX_SELECTED
));
43301 PyDict_SetItemString(d
, "wxEVT_COMMAND_COMBOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_COMBOBOX_SELECTED
));
43302 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_RCLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_RCLICKED
));
43303 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_ENTER", PyInt_FromLong(wxEVT_COMMAND_TOOL_ENTER
));
43304 PyDict_SetItemString(d
, "wxEVT_LEFT_DOWN", PyInt_FromLong(wxEVT_LEFT_DOWN
));
43305 PyDict_SetItemString(d
, "wxEVT_LEFT_UP", PyInt_FromLong(wxEVT_LEFT_UP
));
43306 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DOWN", PyInt_FromLong(wxEVT_MIDDLE_DOWN
));
43307 PyDict_SetItemString(d
, "wxEVT_MIDDLE_UP", PyInt_FromLong(wxEVT_MIDDLE_UP
));
43308 PyDict_SetItemString(d
, "wxEVT_RIGHT_DOWN", PyInt_FromLong(wxEVT_RIGHT_DOWN
));
43309 PyDict_SetItemString(d
, "wxEVT_RIGHT_UP", PyInt_FromLong(wxEVT_RIGHT_UP
));
43310 PyDict_SetItemString(d
, "wxEVT_MOTION", PyInt_FromLong(wxEVT_MOTION
));
43311 PyDict_SetItemString(d
, "wxEVT_ENTER_WINDOW", PyInt_FromLong(wxEVT_ENTER_WINDOW
));
43312 PyDict_SetItemString(d
, "wxEVT_LEAVE_WINDOW", PyInt_FromLong(wxEVT_LEAVE_WINDOW
));
43313 PyDict_SetItemString(d
, "wxEVT_LEFT_DCLICK", PyInt_FromLong(wxEVT_LEFT_DCLICK
));
43314 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_MIDDLE_DCLICK
));
43315 PyDict_SetItemString(d
, "wxEVT_RIGHT_DCLICK", PyInt_FromLong(wxEVT_RIGHT_DCLICK
));
43316 PyDict_SetItemString(d
, "wxEVT_SET_FOCUS", PyInt_FromLong(wxEVT_SET_FOCUS
));
43317 PyDict_SetItemString(d
, "wxEVT_KILL_FOCUS", PyInt_FromLong(wxEVT_KILL_FOCUS
));
43318 PyDict_SetItemString(d
, "wxEVT_CHILD_FOCUS", PyInt_FromLong(wxEVT_CHILD_FOCUS
));
43319 PyDict_SetItemString(d
, "wxEVT_MOUSEWHEEL", PyInt_FromLong(wxEVT_MOUSEWHEEL
));
43320 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DOWN", PyInt_FromLong(wxEVT_NC_LEFT_DOWN
));
43321 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_UP", PyInt_FromLong(wxEVT_NC_LEFT_UP
));
43322 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DOWN", PyInt_FromLong(wxEVT_NC_MIDDLE_DOWN
));
43323 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_UP", PyInt_FromLong(wxEVT_NC_MIDDLE_UP
));
43324 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DOWN", PyInt_FromLong(wxEVT_NC_RIGHT_DOWN
));
43325 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_UP", PyInt_FromLong(wxEVT_NC_RIGHT_UP
));
43326 PyDict_SetItemString(d
, "wxEVT_NC_MOTION", PyInt_FromLong(wxEVT_NC_MOTION
));
43327 PyDict_SetItemString(d
, "wxEVT_NC_ENTER_WINDOW", PyInt_FromLong(wxEVT_NC_ENTER_WINDOW
));
43328 PyDict_SetItemString(d
, "wxEVT_NC_LEAVE_WINDOW", PyInt_FromLong(wxEVT_NC_LEAVE_WINDOW
));
43329 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DCLICK", PyInt_FromLong(wxEVT_NC_LEFT_DCLICK
));
43330 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_NC_MIDDLE_DCLICK
));
43331 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DCLICK", PyInt_FromLong(wxEVT_NC_RIGHT_DCLICK
));
43332 PyDict_SetItemString(d
, "wxEVT_CHAR", PyInt_FromLong(wxEVT_CHAR
));
43333 PyDict_SetItemString(d
, "wxEVT_CHAR_HOOK", PyInt_FromLong(wxEVT_CHAR_HOOK
));
43334 PyDict_SetItemString(d
, "wxEVT_NAVIGATION_KEY", PyInt_FromLong(wxEVT_NAVIGATION_KEY
));
43335 PyDict_SetItemString(d
, "wxEVT_KEY_DOWN", PyInt_FromLong(wxEVT_KEY_DOWN
));
43336 PyDict_SetItemString(d
, "wxEVT_KEY_UP", PyInt_FromLong(wxEVT_KEY_UP
));
43337 PyDict_SetItemString(d
, "wxEVT_HOTKEY", PyInt_FromLong(wxEVT_HOTKEY
));
43338 PyDict_SetItemString(d
, "wxEVT_SET_CURSOR", PyInt_FromLong(wxEVT_SET_CURSOR
));
43339 PyDict_SetItemString(d
, "wxEVT_SCROLL_TOP", PyInt_FromLong(wxEVT_SCROLL_TOP
));
43340 PyDict_SetItemString(d
, "wxEVT_SCROLL_BOTTOM", PyInt_FromLong(wxEVT_SCROLL_BOTTOM
));
43341 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEUP", PyInt_FromLong(wxEVT_SCROLL_LINEUP
));
43342 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEDOWN", PyInt_FromLong(wxEVT_SCROLL_LINEDOWN
));
43343 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEUP", PyInt_FromLong(wxEVT_SCROLL_PAGEUP
));
43344 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLL_PAGEDOWN
));
43345 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLL_THUMBTRACK
));
43346 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLL_THUMBRELEASE
));
43347 PyDict_SetItemString(d
, "wxEVT_SCROLL_ENDSCROLL", PyInt_FromLong(wxEVT_SCROLL_ENDSCROLL
));
43348 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_TOP", PyInt_FromLong(wxEVT_SCROLLWIN_TOP
));
43349 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_BOTTOM", PyInt_FromLong(wxEVT_SCROLLWIN_BOTTOM
));
43350 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEUP", PyInt_FromLong(wxEVT_SCROLLWIN_LINEUP
));
43351 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_LINEDOWN
));
43352 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEUP", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEUP
));
43353 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEDOWN
));
43354 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBTRACK
));
43355 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBRELEASE
));
43356 PyDict_SetItemString(d
, "wxEVT_SIZE", PyInt_FromLong(wxEVT_SIZE
));
43357 PyDict_SetItemString(d
, "wxEVT_MOVE", PyInt_FromLong(wxEVT_MOVE
));
43358 PyDict_SetItemString(d
, "wxEVT_CLOSE_WINDOW", PyInt_FromLong(wxEVT_CLOSE_WINDOW
));
43359 PyDict_SetItemString(d
, "wxEVT_END_SESSION", PyInt_FromLong(wxEVT_END_SESSION
));
43360 PyDict_SetItemString(d
, "wxEVT_QUERY_END_SESSION", PyInt_FromLong(wxEVT_QUERY_END_SESSION
));
43361 PyDict_SetItemString(d
, "wxEVT_ACTIVATE_APP", PyInt_FromLong(wxEVT_ACTIVATE_APP
));
43362 PyDict_SetItemString(d
, "wxEVT_POWER", PyInt_FromLong(wxEVT_POWER
));
43363 PyDict_SetItemString(d
, "wxEVT_ACTIVATE", PyInt_FromLong(wxEVT_ACTIVATE
));
43364 PyDict_SetItemString(d
, "wxEVT_CREATE", PyInt_FromLong(wxEVT_CREATE
));
43365 PyDict_SetItemString(d
, "wxEVT_DESTROY", PyInt_FromLong(wxEVT_DESTROY
));
43366 PyDict_SetItemString(d
, "wxEVT_SHOW", PyInt_FromLong(wxEVT_SHOW
));
43367 PyDict_SetItemString(d
, "wxEVT_ICONIZE", PyInt_FromLong(wxEVT_ICONIZE
));
43368 PyDict_SetItemString(d
, "wxEVT_MAXIMIZE", PyInt_FromLong(wxEVT_MAXIMIZE
));
43369 PyDict_SetItemString(d
, "wxEVT_MOUSE_CAPTURE_CHANGED", PyInt_FromLong(wxEVT_MOUSE_CAPTURE_CHANGED
));
43370 PyDict_SetItemString(d
, "wxEVT_PAINT", PyInt_FromLong(wxEVT_PAINT
));
43371 PyDict_SetItemString(d
, "wxEVT_ERASE_BACKGROUND", PyInt_FromLong(wxEVT_ERASE_BACKGROUND
));
43372 PyDict_SetItemString(d
, "wxEVT_NC_PAINT", PyInt_FromLong(wxEVT_NC_PAINT
));
43373 PyDict_SetItemString(d
, "wxEVT_PAINT_ICON", PyInt_FromLong(wxEVT_PAINT_ICON
));
43374 PyDict_SetItemString(d
, "wxEVT_MENU_OPEN", PyInt_FromLong(wxEVT_MENU_OPEN
));
43375 PyDict_SetItemString(d
, "wxEVT_MENU_CLOSE", PyInt_FromLong(wxEVT_MENU_CLOSE
));
43376 PyDict_SetItemString(d
, "wxEVT_MENU_HIGHLIGHT", PyInt_FromLong(wxEVT_MENU_HIGHLIGHT
));
43377 PyDict_SetItemString(d
, "wxEVT_CONTEXT_MENU", PyInt_FromLong(wxEVT_CONTEXT_MENU
));
43378 PyDict_SetItemString(d
, "wxEVT_SYS_COLOUR_CHANGED", PyInt_FromLong(wxEVT_SYS_COLOUR_CHANGED
));
43379 PyDict_SetItemString(d
, "wxEVT_DISPLAY_CHANGED", PyInt_FromLong(wxEVT_DISPLAY_CHANGED
));
43380 PyDict_SetItemString(d
, "wxEVT_SETTING_CHANGED", PyInt_FromLong(wxEVT_SETTING_CHANGED
));
43381 PyDict_SetItemString(d
, "wxEVT_QUERY_NEW_PALETTE", PyInt_FromLong(wxEVT_QUERY_NEW_PALETTE
));
43382 PyDict_SetItemString(d
, "wxEVT_PALETTE_CHANGED", PyInt_FromLong(wxEVT_PALETTE_CHANGED
));
43383 PyDict_SetItemString(d
, "wxEVT_DROP_FILES", PyInt_FromLong(wxEVT_DROP_FILES
));
43384 PyDict_SetItemString(d
, "wxEVT_DRAW_ITEM", PyInt_FromLong(wxEVT_DRAW_ITEM
));
43385 PyDict_SetItemString(d
, "wxEVT_MEASURE_ITEM", PyInt_FromLong(wxEVT_MEASURE_ITEM
));
43386 PyDict_SetItemString(d
, "wxEVT_COMPARE_ITEM", PyInt_FromLong(wxEVT_COMPARE_ITEM
));
43387 PyDict_SetItemString(d
, "wxEVT_INIT_DIALOG", PyInt_FromLong(wxEVT_INIT_DIALOG
));
43388 PyDict_SetItemString(d
, "wxEVT_IDLE", PyInt_FromLong(wxEVT_IDLE
));
43389 PyDict_SetItemString(d
, "wxEVT_UPDATE_UI", PyInt_FromLong(wxEVT_UPDATE_UI
));
43390 PyDict_SetItemString(d
, "wxEVT_SIZING", PyInt_FromLong(wxEVT_SIZING
));
43391 PyDict_SetItemString(d
, "wxEVT_MOVING", PyInt_FromLong(wxEVT_MOVING
));
43392 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_CLICK
));
43393 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_DCLICK
));
43394 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_CLICK
));
43395 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_DCLICK
));
43396 PyDict_SetItemString(d
, "wxEVT_COMMAND_SET_FOCUS", PyInt_FromLong(wxEVT_COMMAND_SET_FOCUS
));
43397 PyDict_SetItemString(d
, "wxEVT_COMMAND_KILL_FOCUS", PyInt_FromLong(wxEVT_COMMAND_KILL_FOCUS
));
43398 PyDict_SetItemString(d
, "wxEVT_COMMAND_ENTER", PyInt_FromLong(wxEVT_COMMAND_ENTER
));
43399 PyDict_SetItemString(d
,"MOUSE_BTN_ANY", SWIG_FromInt((int)wxMOUSE_BTN_ANY
));
43400 PyDict_SetItemString(d
,"MOUSE_BTN_NONE", SWIG_FromInt((int)wxMOUSE_BTN_NONE
));
43401 PyDict_SetItemString(d
,"MOUSE_BTN_LEFT", SWIG_FromInt((int)wxMOUSE_BTN_LEFT
));
43402 PyDict_SetItemString(d
,"MOUSE_BTN_MIDDLE", SWIG_FromInt((int)wxMOUSE_BTN_MIDDLE
));
43403 PyDict_SetItemString(d
,"MOUSE_BTN_RIGHT", SWIG_FromInt((int)wxMOUSE_BTN_RIGHT
));
43404 PyDict_SetItemString(d
,"UPDATE_UI_PROCESS_ALL", SWIG_FromInt((int)wxUPDATE_UI_PROCESS_ALL
));
43405 PyDict_SetItemString(d
,"UPDATE_UI_PROCESS_SPECIFIED", SWIG_FromInt((int)wxUPDATE_UI_PROCESS_SPECIFIED
));
43406 PyDict_SetItemString(d
,"IDLE_PROCESS_ALL", SWIG_FromInt((int)wxIDLE_PROCESS_ALL
));
43407 PyDict_SetItemString(d
,"IDLE_PROCESS_SPECIFIED", SWIG_FromInt((int)wxIDLE_PROCESS_SPECIFIED
));
43408 PyDict_SetItemString(d
,"PYAPP_ASSERT_SUPPRESS", SWIG_FromInt((int)wxPYAPP_ASSERT_SUPPRESS
));
43409 PyDict_SetItemString(d
,"PYAPP_ASSERT_EXCEPTION", SWIG_FromInt((int)wxPYAPP_ASSERT_EXCEPTION
));
43410 PyDict_SetItemString(d
,"PYAPP_ASSERT_DIALOG", SWIG_FromInt((int)wxPYAPP_ASSERT_DIALOG
));
43411 PyDict_SetItemString(d
,"PYAPP_ASSERT_LOG", SWIG_FromInt((int)wxPYAPP_ASSERT_LOG
));
43412 PyDict_SetItemString(d
,"PRINT_WINDOWS", SWIG_FromInt((int)wxPRINT_WINDOWS
));
43413 PyDict_SetItemString(d
,"PRINT_POSTSCRIPT", SWIG_FromInt((int)wxPRINT_POSTSCRIPT
));
43414 SWIG_addvarlink(SWIG_globals
,(char*)"NullAcceleratorTable",_wrap_NullAcceleratorTable_get
, _wrap_NullAcceleratorTable_set
);
43415 SWIG_addvarlink(SWIG_globals
,(char*)"PanelNameStr",_wrap_PanelNameStr_get
, _wrap_PanelNameStr_set
);
43416 PyDict_SetItemString(d
,"WINDOW_VARIANT_NORMAL", SWIG_FromInt((int)wxWINDOW_VARIANT_NORMAL
));
43417 PyDict_SetItemString(d
,"WINDOW_VARIANT_SMALL", SWIG_FromInt((int)wxWINDOW_VARIANT_SMALL
));
43418 PyDict_SetItemString(d
,"WINDOW_VARIANT_MINI", SWIG_FromInt((int)wxWINDOW_VARIANT_MINI
));
43419 PyDict_SetItemString(d
,"WINDOW_VARIANT_LARGE", SWIG_FromInt((int)wxWINDOW_VARIANT_LARGE
));
43420 PyDict_SetItemString(d
,"WINDOW_VARIANT_MAX", SWIG_FromInt((int)wxWINDOW_VARIANT_MAX
));
43421 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultValidator",_wrap_DefaultValidator_get
, _wrap_DefaultValidator_set
);
43422 SWIG_addvarlink(SWIG_globals
,(char*)"ControlNameStr",_wrap_ControlNameStr_get
, _wrap_ControlNameStr_set
);
43423 PyDict_SetItemString(d
,"FLEX_GROWMODE_NONE", SWIG_FromInt((int)wxFLEX_GROWMODE_NONE
));
43424 PyDict_SetItemString(d
,"FLEX_GROWMODE_SPECIFIED", SWIG_FromInt((int)wxFLEX_GROWMODE_SPECIFIED
));
43425 PyDict_SetItemString(d
,"FLEX_GROWMODE_ALL", SWIG_FromInt((int)wxFLEX_GROWMODE_ALL
));
43426 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultSpan",_wrap_DefaultSpan_get
, _wrap_DefaultSpan_set
);
43427 PyDict_SetItemString(d
,"Left", SWIG_FromInt((int)wxLeft
));
43428 PyDict_SetItemString(d
,"Top", SWIG_FromInt((int)wxTop
));
43429 PyDict_SetItemString(d
,"Right", SWIG_FromInt((int)wxRight
));
43430 PyDict_SetItemString(d
,"Bottom", SWIG_FromInt((int)wxBottom
));
43431 PyDict_SetItemString(d
,"Width", SWIG_FromInt((int)wxWidth
));
43432 PyDict_SetItemString(d
,"Height", SWIG_FromInt((int)wxHeight
));
43433 PyDict_SetItemString(d
,"Centre", SWIG_FromInt((int)wxCentre
));
43434 PyDict_SetItemString(d
,"Center", SWIG_FromInt((int)wxCenter
));
43435 PyDict_SetItemString(d
,"CentreX", SWIG_FromInt((int)wxCentreX
));
43436 PyDict_SetItemString(d
,"CentreY", SWIG_FromInt((int)wxCentreY
));
43437 PyDict_SetItemString(d
,"Unconstrained", SWIG_FromInt((int)wxUnconstrained
));
43438 PyDict_SetItemString(d
,"AsIs", SWIG_FromInt((int)wxAsIs
));
43439 PyDict_SetItemString(d
,"PercentOf", SWIG_FromInt((int)wxPercentOf
));
43440 PyDict_SetItemString(d
,"Above", SWIG_FromInt((int)wxAbove
));
43441 PyDict_SetItemString(d
,"Below", SWIG_FromInt((int)wxBelow
));
43442 PyDict_SetItemString(d
,"LeftOf", SWIG_FromInt((int)wxLeftOf
));
43443 PyDict_SetItemString(d
,"RightOf", SWIG_FromInt((int)wxRightOf
));
43444 PyDict_SetItemString(d
,"SameAs", SWIG_FromInt((int)wxSameAs
));
43445 PyDict_SetItemString(d
,"Absolute", SWIG_FromInt((int)wxAbsolute
));
43447 // Initialize threading, some globals and such
43451 // Although these are defined in __version__ they need to be here too so
43452 // that an assert can be done to ensure that the wxPython and the wxWindows
43454 PyDict_SetItemString(d
,"MAJOR_VERSION", PyInt_FromLong((long)wxMAJOR_VERSION
));
43455 PyDict_SetItemString(d
,"MINOR_VERSION", PyInt_FromLong((long)wxMINOR_VERSION
));
43456 PyDict_SetItemString(d
,"RELEASE_VERSION", PyInt_FromLong((long)wxRELEASE_NUMBER
));