1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_NOINCLUDE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
33 /*************************************************************** -*- c -*-
34 * python/precommon.swg
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
39 ************************************************************************/
41 #define SWIG_TypeRegister SWIG_Python_TypeRegister
42 #define SWIG_TypeCheck SWIG_Python_TypeCheck
43 #define SWIG_TypeCast SWIG_Python_TypeCast
44 #define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45 #define SWIG_TypeName SWIG_Python_TypeName
46 #define SWIG_TypeQuery SWIG_Python_TypeQuery
47 #define SWIG_TypeClientData SWIG_Python_TypeClientData
48 #define SWIG_PackData SWIG_Python_PackData
49 #define SWIG_UnpackData SWIG_Python_UnpackData
52 /***********************************************************************
53 * common.swg for wxPython
55 * Include only the function prototypes and such from SWIG's common.swg,
56 * but not the runtime functions themselves. This helps keep the
57 * wrapper files clean of unnecessary stuff that is in the libpy.c file
60 ************************************************************************/
64 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
65 # if defined(_MSC_VER) || defined(__GNUC__)
66 # if defined(STATIC_LINKED)
67 # define SWIGEXPORT(a) a
68 # define SWIGIMPORT(a) extern a
70 # define SWIGEXPORT(a) __declspec(dllexport) a
71 # define SWIGIMPORT(a) extern a
74 # if defined(__BORLANDC__)
75 # define SWIGEXPORT(a) a _export
76 # define SWIGIMPORT(a) a _export
78 # define SWIGEXPORT(a) a
79 # define SWIGIMPORT(a) a
83 # define SWIGEXPORT(a) a
84 # define SWIGIMPORT(a) a
88 # define SWIGRUNTIME(a) SWIGEXPORT(a)
90 # define SWIGRUNTIME(a) static a
97 typedef void *(*swig_converter_func
)(void *);
98 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
100 typedef struct swig_type_info
{
102 swig_converter_func converter
;
105 swig_dycast_func dcast
;
106 struct swig_type_info
*next
;
107 struct swig_type_info
*prev
;
111 SWIGIMPORT(swig_type_info
*) SWIG_TypeRegister(swig_type_info
*);
112 SWIGIMPORT(swig_type_info
*) SWIG_TypeCheck(char *c
, swig_type_info
*);
113 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info
*, void *);
114 SWIGIMPORT(swig_type_info
*) SWIG_TypeDynamicCast(swig_type_info
*, void **);
115 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info
*);
116 SWIGIMPORT(swig_type_info
*) SWIG_TypeQuery(const char *);
117 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info
*, void *);
118 SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
119 SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
126 /***********************************************************************
127 * pyrun.swg for wxPython
129 * Include only the function prototypes and such from SWIG's pyrun.swg,
130 * but not the runtime functions themselves. This helps keep the
131 * wrapper files clean of unnecessary stuff that is in the libpy.c file
134 ************************************************************************/
142 #define SWIG_PY_INT 1
143 #define SWIG_PY_FLOAT 2
144 #define SWIG_PY_STRING 3
145 #define SWIG_PY_POINTER 4
146 #define SWIG_PY_BINARY 5
148 /* Flags for pointer conversion */
150 #define SWIG_POINTER_EXCEPTION 0x1
151 #define SWIG_POINTER_DISOWN 0x2
153 /* Exception handling in wrappers */
154 #define SWIG_fail goto fail
156 /* Constant information structure */
157 typedef struct swig_const_info
{
163 swig_type_info
**ptype
;
166 /* Common SWIG API */
167 #define SWIG_ConvertPtr(obj, pp, type, flags) \
168 SWIG_Python_ConvertPtr(obj, pp, type, flags)
169 #define SWIG_NewPointerObj(p, type, flags) \
170 SWIG_Python_NewPointerObj(p, type, flags)
171 #define SWIG_MustGetPtr(p, type, argnum, flags) \
172 SWIG_Python_MustGetPtr(p, type, argnum, flags)
174 /* Python-specific SWIG API */
175 #define SWIG_newvarlink() \
176 SWIG_Python_newvarlink()
177 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
178 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
179 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
180 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
181 #define SWIG_NewPackedObj(ptr, sz, type) \
182 SWIG_Python_NewPackedObj(ptr, sz, type)
183 #define SWIG_InstallConstants(d, constants) \
184 SWIG_Python_InstallConstants(d, constants)
186 typedef double (*py_objasdbl_conv
)(PyObject
*obj
);
188 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject
*, void **, swig_type_info
*, int);
189 SWIGIMPORT(PyObject
*) SWIG_Python_NewPointerObj(void *, swig_type_info
*,int own
);
190 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject
*, swig_type_info
*, int, int);
191 SWIGIMPORT(PyObject
*) SWIG_Python_newvarlink(void);
192 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
193 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject
*, void *, int sz
, swig_type_info
*, int);
194 SWIGIMPORT(PyObject
*) SWIG_Python_NewPackedObj(void *, int sz
, swig_type_info
*);
195 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]);
198 /* Contract support */
200 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
207 /* -------- TYPES TABLE (BEGIN) -------- */
209 #define SWIGTYPE_p_wxLayoutConstraints swig_types[0]
210 #define SWIGTYPE_p_wxRealPoint swig_types[1]
211 #define SWIGTYPE_p_wxSizerItem swig_types[2]
212 #define SWIGTYPE_p_wxGBSizerItem swig_types[3]
213 #define SWIGTYPE_p_wxScrollEvent swig_types[4]
214 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[5]
215 #define SWIGTYPE_p_wxSizer swig_types[6]
216 #define SWIGTYPE_p_wxBoxSizer swig_types[7]
217 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[8]
218 #define SWIGTYPE_p_wxGridBagSizer swig_types[9]
219 #define SWIGTYPE_p_wxAcceleratorEntry swig_types[10]
220 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[11]
221 #define SWIGTYPE_p_wxMenu swig_types[12]
222 #define SWIGTYPE_p_wxEvent swig_types[13]
223 #define SWIGTYPE_p_wxGridSizer swig_types[14]
224 #define SWIGTYPE_p_wxFlexGridSizer swig_types[15]
225 #define SWIGTYPE_p_wxInitDialogEvent swig_types[16]
226 #define SWIGTYPE_p_wxItemContainer swig_types[17]
227 #define SWIGTYPE_p_wxNcPaintEvent swig_types[18]
228 #define SWIGTYPE_p_wxPaintEvent swig_types[19]
229 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[20]
230 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[21]
231 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[22]
232 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[23]
233 #define SWIGTYPE_p_wxControl swig_types[24]
234 #define SWIGTYPE_p_wxFont swig_types[25]
235 #define SWIGTYPE_p_wxMenuBarBase swig_types[26]
236 #define SWIGTYPE_p_wxSetCursorEvent swig_types[27]
237 #define SWIGTYPE_p_wxFSFile swig_types[28]
238 #define SWIGTYPE_p_wxCaret swig_types[29]
239 #define SWIGTYPE_p_wxRegion swig_types[30]
240 #define SWIGTYPE_p_wxPoint2D swig_types[31]
241 #define SWIGTYPE_p_int swig_types[32]
242 #define SWIGTYPE_p_wxSize swig_types[33]
243 #define SWIGTYPE_p_wxDC swig_types[34]
244 #define SWIGTYPE_p_wxPySizer swig_types[35]
245 #define SWIGTYPE_p_wxVisualAttributes swig_types[36]
246 #define SWIGTYPE_p_wxNotifyEvent swig_types[37]
247 #define SWIGTYPE_p_wxPyEvent swig_types[38]
248 #define SWIGTYPE_p_wxPropagationDisabler swig_types[39]
249 #define SWIGTYPE_p_wxAppTraits swig_types[40]
250 #define SWIGTYPE_p_wxArrayString swig_types[41]
251 #define SWIGTYPE_p_wxShowEvent swig_types[42]
252 #define SWIGTYPE_p_wxToolTip swig_types[43]
253 #define SWIGTYPE_p_wxMaximizeEvent swig_types[44]
254 #define SWIGTYPE_p_wxIconizeEvent swig_types[45]
255 #define SWIGTYPE_p_wxActivateEvent swig_types[46]
256 #define SWIGTYPE_p_wxMoveEvent swig_types[47]
257 #define SWIGTYPE_p_wxSizeEvent swig_types[48]
258 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[49]
259 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[50]
260 #define SWIGTYPE_p_wxIdleEvent swig_types[51]
261 #define SWIGTYPE_p_wxMenuItem swig_types[52]
262 #define SWIGTYPE_p_wxStaticBox swig_types[53]
263 #define SWIGTYPE_p_long swig_types[54]
264 #define SWIGTYPE_p_wxTIFFHandler swig_types[55]
265 #define SWIGTYPE_p_wxXPMHandler swig_types[56]
266 #define SWIGTYPE_p_wxPNMHandler swig_types[57]
267 #define SWIGTYPE_p_wxJPEGHandler swig_types[58]
268 #define SWIGTYPE_p_wxPCXHandler swig_types[59]
269 #define SWIGTYPE_p_wxGIFHandler swig_types[60]
270 #define SWIGTYPE_p_wxPNGHandler swig_types[61]
271 #define SWIGTYPE_p_wxANIHandler swig_types[62]
272 #define SWIGTYPE_p_wxMemoryFSHandler swig_types[63]
273 #define SWIGTYPE_p_wxEvtHandler swig_types[64]
274 #define SWIGTYPE_p_wxCURHandler swig_types[65]
275 #define SWIGTYPE_p_wxICOHandler swig_types[66]
276 #define SWIGTYPE_p_wxBMPHandler swig_types[67]
277 #define SWIGTYPE_p_wxImageHandler swig_types[68]
278 #define SWIGTYPE_p_wxFileSystemHandler swig_types[69]
279 #define SWIGTYPE_p_wxPyFileSystemHandler swig_types[70]
280 #define SWIGTYPE_p_wxInternetFSHandler swig_types[71]
281 #define SWIGTYPE_p_wxZipFSHandler swig_types[72]
282 #define SWIGTYPE_p_wxRect swig_types[73]
283 #define SWIGTYPE_p_wxGBSpan swig_types[74]
284 #define SWIGTYPE_p_wxPropagateOnce swig_types[75]
285 #define SWIGTYPE_p_wxAcceleratorTable swig_types[76]
286 #define SWIGTYPE_p_char swig_types[77]
287 #define SWIGTYPE_p_wxGBPosition swig_types[78]
288 #define SWIGTYPE_p_wxImage swig_types[79]
289 #define SWIGTYPE_p_wxFrame swig_types[80]
290 #define SWIGTYPE_p_wxScrollWinEvent swig_types[81]
291 #define SWIGTYPE_p_wxImageHistogram swig_types[82]
292 #define SWIGTYPE_p_byte swig_types[83]
293 #define SWIGTYPE_p_wxPoint swig_types[84]
294 #define SWIGTYPE_p_wxCursor swig_types[85]
295 #define SWIGTYPE_p_wxObject swig_types[86]
296 #define SWIGTYPE_p_wxPyInputStream swig_types[87]
297 #define SWIGTYPE_p_wxOutputStream swig_types[88]
298 #define SWIGTYPE_p_wxInputStream swig_types[89]
299 #define SWIGTYPE_p_wxDateTime swig_types[90]
300 #define SWIGTYPE_p_wxKeyEvent swig_types[91]
301 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[92]
302 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[93]
303 #define SWIGTYPE_p_wxWindow swig_types[94]
304 #define SWIGTYPE_p_wxMenuBar swig_types[95]
305 #define SWIGTYPE_p_wxFileSystem swig_types[96]
306 #define SWIGTYPE_p_wxBitmap swig_types[97]
307 #define SWIGTYPE_p_wxMenuEvent swig_types[98]
308 #define SWIGTYPE_p_wxContextMenuEvent swig_types[99]
309 #define SWIGTYPE_p_unsigned_char swig_types[100]
310 #define SWIGTYPE_p_wxCloseEvent swig_types[101]
311 #define SWIGTYPE_p_wxEraseEvent swig_types[102]
312 #define SWIGTYPE_p_wxMouseEvent swig_types[103]
313 #define SWIGTYPE_p_wxPyApp swig_types[104]
314 #define SWIGTYPE_p_wxCommandEvent swig_types[105]
315 #define SWIGTYPE_p_wxPyCommandEvent swig_types[106]
316 #define SWIGTYPE_p_wxPyDropTarget swig_types[107]
317 #define SWIGTYPE_p_wxChildFocusEvent swig_types[108]
318 #define SWIGTYPE_p_wxFocusEvent swig_types[109]
319 #define SWIGTYPE_p_wxDropFilesEvent swig_types[110]
320 #define SWIGTYPE_p_wxControlWithItems swig_types[111]
321 #define SWIGTYPE_p_wxColour swig_types[112]
322 #define SWIGTYPE_p_wxValidator swig_types[113]
323 #define SWIGTYPE_p_wxPyValidator swig_types[114]
324 static swig_type_info
*swig_types
[116];
326 /* -------- TYPES TABLE (END) -------- */
329 /*-----------------------------------------------
330 @(target):= _core_.so
331 ------------------------------------------------*/
332 #define SWIG_init init_core_
334 #define SWIG_name "_core_"
336 /* Auxiliar swig macros */
339 #define SWIGSTATICINLINE(a) static inline a
340 #define SWIGSTATIC(a) static a
341 #define swig_new_array(type, size) (new type[(size)])
342 #define swig_delete_array(cptr) delete[] cptr
343 #define swig_const_cast(type,a) const_cast<type>(a)
344 #define swig_static_cast(type,a) static_cast<type>(a)
345 #define swig_reinterpret_cast(type,a) reinterpret_cast<type>(a)
347 #ifdef HAVE_NUMERIC_CAST
348 #define swig_numeric_cast(type,a) numeric_cast<type>(a)
350 #define swig_numeric_cast(type,a) static_cast<type>(a)
355 #define SWIGSTATICINLINE(a) static a
356 #define SWIGSTATIC(a) static a
357 #define swig_new_array(type, size) ((type*) malloc((size)*sizeof(type)))
358 #define swig_delete_array(cptr) free((char*)cptr)
359 #define swig_const_cast(type,a) (type)(a)
360 #define swig_static_cast(type,a) (type)(a)
361 #define swig_reinterpret_cast(type,a) (type)(a)
362 #define swig_numeric_cast(type,a) (type)(a)
364 #endif /* __cplusplus */
367 #define SWIG_FromSignedChar PyInt_FromLong
368 #define SWIG_FromUnsignedChar PyInt_FromLong
369 #define SWIG_FromShort PyInt_FromLong
370 #define SWIG_FromUnsignedShort PyInt_FromLong
371 #define SWIG_FromInt PyInt_FromLong
372 #define SWIG_FromLong PyInt_FromLong
373 #define SWIG_FromFloat PyFloat_FromDouble
374 #define SWIG_FromDouble PyFloat_FromDouble
375 #define SWIG_FromFloat PyFloat_FromDouble
376 #define SWIG_FromDouble PyFloat_FromDouble
379 #include "wx/wxPython/wxPython_int.h"
380 #include "wx/wxPython/pyclasses.h"
383 #ifndef wxPyUSE_EXPORT
384 // Helper functions for dealing with SWIG objects and such. These are
385 // located here so they know about the SWIG types and functions declared
386 // in the wrapper code.
388 #include <wx/hashmap.h>
389 WX_DECLARE_STRING_HASH_MAP( swig_type_info
*, wxPyTypeInfoHashMap
);
392 // Maintains a hashmap of className to swig_type_info pointers. Given the
393 // name of a class either looks up the type info in the cache, or scans the
394 // SWIG tables for it.
395 extern PyObject
* wxPyPtrTypeMap
;
397 swig_type_info
* wxPyFindSwigType(const wxChar
* className
) {
399 static wxPyTypeInfoHashMap
* typeInfoCache
= NULL
;
401 if (typeInfoCache
== NULL
)
402 typeInfoCache
= new wxPyTypeInfoHashMap
;
404 wxString
name(className
);
405 swig_type_info
* swigType
= (*typeInfoCache
)[name
];
408 // it wasn't in the cache, so look it up from SWIG
409 name
.Append(wxT(" *"));
410 swigType
= SWIG_Python_TypeQuery(name
.mb_str());
412 // if it still wasn't found, try looking for a mapped name
417 if ((item
= PyDict_GetItemString(wxPyPtrTypeMap
,
418 (char*)(const char*)name
.mbc_str())) != NULL
) {
419 name
= wxString(PyString_AsString(item
), *wxConvCurrent
);
420 name
.Append(wxT(" *"));
421 swigType
= SWIG_Python_TypeQuery(name
.mb_str());
425 // and add it to the map if found
426 (*typeInfoCache
)[className
] = swigType
;
433 // Check if a class name is a type known to SWIG
434 bool wxPyCheckSwigType(const wxChar
* className
) {
436 swig_type_info
* swigType
= wxPyFindSwigType(className
);
437 return swigType
!= NULL
;
441 // Given a pointer to a C++ object and a class name, construct a Python proxy
443 PyObject
* wxPyConstructObject(void* ptr
,
444 const wxChar
* className
,
447 swig_type_info
* swigType
= wxPyFindSwigType(className
);
448 wxCHECK_MSG(swigType
!= NULL
, NULL
, wxT("Unknown type in wxPyConstructObject"));
450 return SWIG_Python_NewPointerObj(ptr
, swigType
, setThisOwn
);
454 // Extract a pointer to the wrapped C++ object from a Python proxy object.
455 // Ensures that the proxy object is of the specified (or derived) type. If
456 // not able to perform the conversion then a Python exception is set and the
457 // error should be handled properly in the caller. Returns True on success.
458 bool wxPyConvertSwigPtr(PyObject
* obj
, void **ptr
,
459 const wxChar
* className
) {
461 swig_type_info
* swigType
= wxPyFindSwigType(className
);
462 wxCHECK_MSG(swigType
!= NULL
, False
, wxT("Unknown type in wxPyConvertSwigPtr"));
464 return SWIG_Python_ConvertPtr(obj
, ptr
, swigType
, SWIG_POINTER_EXCEPTION
) != -1;
468 // Make a SWIGified pointer object suitable for a .this attribute
469 PyObject
* wxPyMakeSwigPtr(void* ptr
, const wxChar
* className
) {
471 PyObject
* robj
= NULL
;
473 swig_type_info
* swigType
= wxPyFindSwigType(className
);
474 wxCHECK_MSG(swigType
!= NULL
, NULL
, wxT("Unknown type in wxPyConvertSwigPtr"));
476 #ifdef SWIG_COBJECT_TYPES
477 robj
= PyCObject_FromVoidPtrAndDesc((void *) ptr
, (char *) swigType
->name
, NULL
);
483 r
= SWIG_Python_PackData(r
, &ptr
, sizeof(void *));
484 strcpy(r
, swigType
->name
);
485 robj
= PyString_FromString(result
);
495 // Export a C API in a struct. Other modules will be able to load this from
496 // the wx._core_ module and will then have safe access to these functions,
497 // even if they are located in another shared library.
498 static wxPyCoreAPI API
= {
500 (p_SWIG_Python_TypeRegister_t
)SWIG_Python_TypeRegister
,
501 (p_SWIG_Python_TypeCheck_t
)SWIG_Python_TypeCheck
,
502 (p_SWIG_Python_TypeCast_t
)SWIG_Python_TypeCast
,
503 (p_SWIG_Python_TypeDynamicCast_t
)SWIG_Python_TypeDynamicCast
,
504 (p_SWIG_Python_TypeName_t
)SWIG_Python_TypeName
,
505 (p_SWIG_Python_TypeQuery_t
)SWIG_Python_TypeQuery
,
506 (p_SWIG_Python_TypeClientData_t
)SWIG_Python_TypeClientData
,
507 (p_SWIG_Python_newvarlink_t
)SWIG_Python_newvarlink
,
508 (p_SWIG_Python_addvarlink_t
)SWIG_Python_addvarlink
,
509 (p_SWIG_Python_ConvertPtr_t
)SWIG_Python_ConvertPtr
,
510 (p_SWIG_Python_ConvertPacked_t
)SWIG_Python_ConvertPacked
,
511 (p_SWIG_Python_PackData_t
)SWIG_Python_PackData
,
512 (p_SWIG_Python_UnpackData_t
)SWIG_Python_UnpackData
,
513 (p_SWIG_Python_NewPointerObj_t
)SWIG_Python_NewPointerObj
,
514 (p_SWIG_Python_NewPackedObj_t
)SWIG_Python_NewPackedObj
,
515 (p_SWIG_Python_InstallConstants_t
)SWIG_Python_InstallConstants
,
516 (p_SWIG_Python_MustGetPtr_t
)SWIG_Python_MustGetPtr
,
523 wxPyBeginAllowThreads
,
525 wxPyBeginBlockThreads
,
539 wxBitmap_LIST_helper
,
540 wxString_LIST_helper
,
541 wxAcceleratorEntry_LIST_helper
,
550 wxPySimple_typecheck
,
553 wxPyCBH_setCallbackInfo
,
554 wxPyCBH_findCallback
,
555 wxPyCBH_callCallback
,
556 wxPyCBH_callCallbackObj
,
564 wxArrayString2PyList_helper
,
565 wxArrayInt2PyList_helper
,
569 wxPyOORClientData_dtor
,
571 wxPyCBInputStream_create
,
574 wxPySwigInstance_Check
,
584 enum wxHotkeyModifier
592 #define wxEVT_HOTKEY 9999
595 static const wxString
wxPyEmptyString(wxEmptyString
);
596 wxString
wxObject_GetClassName(wxObject
*self
){
597 return self
->GetClassInfo()->GetClassName();
599 void wxObject_Destroy(wxObject
*self
){
604 #define wxCURSOR_COPY_ARROW wxCURSOR_ARROW
611 SWIGSTATICINLINE(long)
612 SWIG_CheckLongInRange(long value
, const char* type
,
613 long min_value
, long max_value
)
615 if (!PyErr_Occurred()) {
616 if (value
< min_value
) {
618 PyString_FromFormat("value %ld is less than '%s' minimum %ld",
619 value
, type
, min_value
);
621 PyErr_SetObject(PyExc_OverflowError
, err
);
623 } else if (value
> max_value
) {
625 PyString_FromFormat("value %ld is greater than '%s' maximum %ld",
626 value
, type
, max_value
);
627 PyErr_SetObject(PyExc_OverflowError
, err
);
635 SWIGSTATICINLINE(long)
636 SWIG_AsLong(PyObject
* obj
)
638 if (PyNumber_Check(obj
))
639 return PyInt_AsLong(obj
);
641 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
642 obj
->ob_type
->tp_name
);
643 PyErr_SetObject(PyExc_TypeError
, errmsg
);
650 #if INT_MAX != LONG_MAX
651 SWIGSTATICINLINE(int)
652 SWIG_AsInt(PyObject
*obj
)
654 return swig_numeric_cast(int,
655 SWIG_CheckLongInRange(SWIG_AsLong(obj
),
656 "int", INT_MIN
, INT_MAX
));
659 #define SWIG_AsInt SWIG_AsLong
663 SWIGSTATICINLINE(int)
664 SWIG_CheckInt(PyObject
* obj
)
667 if (PyErr_Occurred()) {
675 PyObject
*wxSize_Get(wxSize
*self
){
676 bool blocked
= wxPyBeginBlockThreads();
677 PyObject
* tup
= PyTuple_New(2);
678 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
679 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
680 wxPyEndBlockThreads(blocked
);
684 SWIGSTATICINLINE(double)
685 SWIG_AsDouble(PyObject
*obj
)
687 if (PyNumber_Check(obj
))
688 return PyFloat_AsDouble(obj
);
690 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
691 obj
->ob_type
->tp_name
);
692 PyErr_SetObject(PyExc_TypeError
, errmsg
);
699 SWIGSTATICINLINE(int)
700 SWIG_CheckDouble(PyObject
* obj
)
703 if (PyErr_Occurred()) {
711 void wxRealPoint_Set(wxRealPoint
*self
,double x
,double y
){
715 PyObject
*wxRealPoint_Get(wxRealPoint
*self
){
716 bool blocked
= wxPyBeginBlockThreads();
717 PyObject
* tup
= PyTuple_New(2);
718 PyTuple_SET_ITEM(tup
, 0, PyFloat_FromDouble(self
->x
));
719 PyTuple_SET_ITEM(tup
, 1, PyFloat_FromDouble(self
->y
));
720 wxPyEndBlockThreads(blocked
);
724 SWIGSTATICINLINE(int)
725 SWIG_CheckLong(PyObject
* obj
)
728 if (PyErr_Occurred()) {
736 void wxPoint_Set(wxPoint
*self
,long x
,long y
){
740 PyObject
*wxPoint_Get(wxPoint
*self
){
741 bool blocked
= wxPyBeginBlockThreads();
742 PyObject
* tup
= PyTuple_New(2);
743 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
744 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
745 wxPyEndBlockThreads(blocked
);
748 void wxRect_Set(wxRect
*self
,int x
,int y
,int width
,int height
){
752 self
->height
= height
;
754 PyObject
*wxRect_Get(wxRect
*self
){
755 bool blocked
= wxPyBeginBlockThreads();
756 PyObject
* tup
= PyTuple_New(4);
757 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
758 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
759 PyTuple_SET_ITEM(tup
, 2, PyInt_FromLong(self
->width
));
760 PyTuple_SET_ITEM(tup
, 3, PyInt_FromLong(self
->height
));
761 wxPyEndBlockThreads(blocked
);
765 PyObject
* wxIntersectRect(wxRect
* r1
, wxRect
* r2
) {
768 wxRect
dest(0,0,0,0);
771 reg1
.Intersect(reg2
);
772 dest
= reg1
.GetBox();
774 if (dest
!= wxRect(0,0,0,0)) {
775 bool blocked
= wxPyBeginBlockThreads();
776 wxRect
* newRect
= new wxRect(dest
);
777 obj
= wxPyConstructObject((void*)newRect
, wxT("wxRect"), True
);
778 wxPyEndBlockThreads(blocked
);
786 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
792 } else if (target
== Py_None
) {
796 if (!PyTuple_Check(target
)) {
798 target
= PyTuple_New(1);
799 PyTuple_SetItem(target
, 0, o2
);
802 PyTuple_SetItem(o3
, 0, o
);
805 target
= PySequence_Concat(o2
, o3
);
812 void wxPoint2D_Set(wxPoint2D
*self
,double x
,double y
){
816 PyObject
*wxPoint2D_Get(wxPoint2D
*self
){
817 bool blocked
= wxPyBeginBlockThreads();
818 PyObject
* tup
= PyTuple_New(2);
819 PyTuple_SET_ITEM(tup
, 0, PyFloat_FromDouble(self
->m_x
));
820 PyTuple_SET_ITEM(tup
, 1, PyFloat_FromDouble(self
->m_y
));
821 wxPyEndBlockThreads(blocked
);
825 #include "wx/wxPython/pyistream.h"
827 wxPyInputStream
*new_wxPyInputStream(PyObject
*p
){
828 wxInputStream
* wxis
= wxPyCBInputStream::create(p
);
830 return new wxPyInputStream(wxis
);
835 SWIGSTATICINLINE(PyObject
*)
836 SWIG_FromChar(char c
)
838 return PyString_FromStringAndSize(&c
,1);
842 SWIGSTATICINLINE(PyObject
* )
843 SWIG_FromUnsignedLong(unsigned long value
)
845 return (value
> LONG_MAX
) ?
846 PyLong_FromUnsignedLong(value
)
847 : PyInt_FromLong(swig_numeric_cast(long,value
));
851 /* returns '1' if the input is a raw char*, '0' if is a PyString */
853 SWIG_AsCharPtrAndSize(PyObject
*obj
, char** cptr
, size_t* size
)
855 static swig_type_info
* pchar_info
= 0;
857 if (!pchar_info
) pchar_info
= SWIG_TypeQuery("char *");
859 if (SWIG_ConvertPtr(obj
, swig_reinterpret_cast(void **,cptr
), pchar_info
, 0) == -1) {
861 PyString_AsStringAndSize(obj
, cptr
, &psize
);
862 if (PyErr_Occurred()) {
864 PyErr_SetString(PyExc_TypeError
,"a string is expected");
866 if (size
) *size
= psize
;
869 if (size
) *size
= (*cptr
) ? (strlen(*cptr
) + 1) : 0;
876 SWIG_AsCharArray(PyObject
*obj
, char* carray
, size_t size
)
878 char* cptr
; size_t csize
;
879 SWIG_AsCharPtrAndSize(obj
, &cptr
, &csize
);
880 if (PyErr_Occurred()) {
883 PyString_FromFormat("a char array of size %d is expected", size
);
884 PyErr_SetObject(PyExc_TypeError
, err
);
887 /* in C (but not in C++) you can do:
891 ie, assing the array using an extra '0' char.
894 if ((csize
== size
+ 1) && !(cptr
[csize
-1])) --csize
;
898 PyString_FromFormat("a char array of maximum size %d is expected",
900 PyErr_SetObject(PyExc_TypeError
, err
);
903 if (csize
) memcpy(carray
, cptr
, csize
);
904 if (csize
< size
) memset(carray
+ csize
, 0, size
- csize
);
910 SWIGSTATICINLINE(char)
911 SWIG_AsChar(PyObject
*obj
)
914 if (PyInt_Check(obj
) || PyLong_Check(obj
)) {
915 c
= swig_numeric_cast(char,
916 SWIG_CheckLongInRange(SWIG_AsLong(obj
),
917 "char", CHAR_MIN
, CHAR_MAX
));
919 SWIG_AsCharArray(obj
, &c
, 1);
920 if (PyErr_Occurred()) {
922 PyErr_SetString(PyExc_TypeError
, "a char is expected");
929 SWIGSTATICINLINE(int)
930 SWIG_CheckChar(PyObject
* obj
)
933 if (PyErr_Occurred()) {
941 void wxOutputStream_write(wxOutputStream
*self
,PyObject
*obj
){
942 // We use only strings for the streams, not unicode
943 PyObject
* str
= PyObject_Str(obj
);
945 PyErr_SetString(PyExc_TypeError
, "Unable to convert to string");
948 self
->Write(PyString_AS_STRING(str
),
949 PyString_GET_SIZE(str
));
953 #include "wx/wxPython/pyistream.h"
956 class wxPyFileSystemHandler
: public wxFileSystemHandler
959 wxPyFileSystemHandler() : wxFileSystemHandler() {}
961 DEC_PYCALLBACK_BOOL_STRING_pure(CanOpen
);
962 DEC_PYCALLBACK_FSF_FSSTRING_pure(OpenFile
);
963 DEC_PYCALLBACK_STRING_STRINGINT_pure(FindFirst
);
964 DEC_PYCALLBACK_STRING__pure(FindNext
);
966 wxString
GetProtocol(const wxString
& location
) {
967 return wxFileSystemHandler::GetProtocol(location
);
970 wxString
GetLeftLocation(const wxString
& location
) {
971 return wxFileSystemHandler::GetLeftLocation(location
);
974 wxString
GetAnchor(const wxString
& location
) {
975 return wxFileSystemHandler::GetAnchor(location
);
978 wxString
GetRightLocation(const wxString
& location
) {
979 return wxFileSystemHandler::GetRightLocation(location
);
982 wxString
GetMimeTypeFromExt(const wxString
& location
) {
983 return wxFileSystemHandler::GetMimeTypeFromExt(location
);
990 IMP_PYCALLBACK_BOOL_STRING_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, CanOpen
);
991 IMP_PYCALLBACK_FSF_FSSTRING_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, OpenFile
);
992 IMP_PYCALLBACK_STRING_STRINGINT_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, FindFirst
);
993 IMP_PYCALLBACK_STRING__pure(wxPyFileSystemHandler
, wxFileSystemHandler
, FindNext
);
996 SWIGSTATICINLINE(bool)
997 SWIG_AsBool(PyObject
*obj
)
999 return PyObject_IsTrue(obj
) ? true : false;
1003 SWIGSTATICINLINE(int)
1004 SWIG_CheckBool(PyObject
* obj
)
1007 if (PyErr_Occurred()) {
1016 wxString
wxFileSystem_URLToFileName(const wxString
& url
) {
1017 wxFileName fname
= wxFileSystem::URLToFileName(url
);
1018 return fname
.GetFullPath();
1022 void __wxMemoryFSHandler_AddFile_wxImage(const wxString
& filename
,
1025 wxMemoryFSHandler::AddFile(filename
, image
, type
);
1028 void __wxMemoryFSHandler_AddFile_wxBitmap(const wxString
& filename
,
1029 const wxBitmap
& bitmap
,
1031 wxMemoryFSHandler::AddFile(filename
, bitmap
, type
);
1034 void __wxMemoryFSHandler_AddFile_Data(const wxString
& filename
,
1036 wxMemoryFSHandler::AddFile(filename
,
1037 // TODO: Verify data type
1038 (void*)PyString_AsString(data
),
1039 (size_t)PyString_Size(data
));
1043 #include "wx/wxPython/pyistream.h"
1046 SWIGSTATICINLINE(unsigned long)
1047 SWIG_CheckUnsignedLongInRange(unsigned long value
, const char* type
,
1048 unsigned long max_value
)
1050 if (!PyErr_Occurred()) {
1051 if (value
> max_value
) {
1053 PyString_FromFormat("value %ld is greater than '%s' minimum %ld",
1054 value
, type
, max_value
);
1055 PyErr_SetObject(PyExc_OverflowError
, err
);
1063 SWIGSTATICINLINE(unsigned long)
1064 SWIG_AsUnsignedLong(PyObject
* obj
)
1066 if (PyLong_Check(obj
)) {
1067 return PyLong_AsUnsignedLong(obj
);
1069 long i
= SWIG_AsLong(obj
);
1070 if ( !PyErr_Occurred() && (i
< 0)) {
1071 PyErr_SetString(PyExc_TypeError
, "negative value received for unsigned type");
1078 SWIGSTATICINLINE(unsigned char)
1079 SWIG_AsUnsignedChar(PyObject
*obj
)
1081 return swig_numeric_cast(unsigned char,
1082 SWIG_CheckUnsignedLongInRange(SWIG_AsUnsignedLong(obj
),
1083 "unsigned char", UCHAR_MAX
));
1087 SWIGSTATICINLINE(int)
1088 SWIG_CheckUnsignedChar(PyObject
* obj
)
1090 SWIG_AsUnsignedChar(obj
);
1091 if (PyErr_Occurred()) {
1099 wxImage
*new_wxImage(int width
,int height
,bool clear
){
1100 if (width
> 0 && height
> 0)
1101 return new wxImage(width
, height
, clear
);
1105 wxImage
*new_wxImage(wxBitmap
const &bitmap
){
1106 return new wxImage(bitmap
.ConvertToImage());
1108 wxImage
*new_wxImage(int width
,int height
,unsigned char *data
){
1109 // Copy the source data so the wxImage can clean it up later
1110 unsigned char* copy
= (unsigned char*)malloc(width
*height
*3);
1115 memcpy(copy
, data
, width
*height
*3);
1116 return new wxImage(width
, height
, copy
, False
);
1118 wxSize
wxImage_GetSize(wxImage
*self
){
1119 wxSize
size(self
->GetWidth(), self
->GetHeight());
1122 PyObject
*wxImage_GetData(wxImage
*self
){
1123 unsigned char* data
= self
->GetData();
1124 int len
= self
->GetWidth() * self
->GetHeight() * 3;
1126 wxPyBLOCK_THREADS( rv
= PyString_FromStringAndSize((char*)data
, len
));
1129 void wxImage_SetData(wxImage
*self
,PyObject
*data
){
1130 unsigned char* dataPtr
;
1132 if (! PyString_Check(data
)) {
1133 PyErr_SetString(PyExc_TypeError
, "Expected string object");
1137 size_t len
= self
->GetWidth() * self
->GetHeight() * 3;
1138 dataPtr
= (unsigned char*) malloc(len
);
1139 wxPyBLOCK_THREADS( memcpy(dataPtr
, PyString_AsString(data
), len
) );
1140 self
->SetData(dataPtr
);
1141 // wxImage takes ownership of dataPtr...
1143 PyObject
*wxImage_GetDataBuffer(wxImage
*self
){
1144 unsigned char* data
= self
->GetData();
1145 int len
= self
->GetWidth() * self
->GetHeight() * 3;
1147 wxPyBLOCK_THREADS( rv
= PyBuffer_FromReadWriteMemory(data
, len
) );
1150 void wxImage_SetDataBuffer(wxImage
*self
,PyObject
*data
){
1151 unsigned char* buffer
;
1154 bool blocked
= wxPyBeginBlockThreads();
1155 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
1158 if (size
!= self
->GetWidth() * self
->GetHeight() * 3) {
1159 PyErr_SetString(PyExc_TypeError
, "Incorrect buffer size");
1162 self
->SetData(buffer
);
1164 wxPyEndBlockThreads(blocked
);
1166 PyObject
*wxImage_GetAlphaData(wxImage
*self
){
1167 unsigned char* data
= self
->GetAlpha();
1171 int len
= self
->GetWidth() * self
->GetHeight();
1173 wxPyBLOCK_THREADS( rv
= PyString_FromStringAndSize((char*)data
, len
) );
1177 void wxImage_SetAlphaData(wxImage
*self
,PyObject
*data
){
1178 unsigned char* dataPtr
;
1180 if (! PyString_Check(data
)) {
1181 PyErr_SetString(PyExc_TypeError
, "Expected string object");
1185 size_t len
= self
->GetWidth() * self
->GetHeight();
1186 dataPtr
= (unsigned char*) malloc(len
);
1187 wxPyBLOCK_THREADS( memcpy(dataPtr
, PyString_AsString(data
), len
) );
1188 self
->SetAlpha(dataPtr
);
1189 // wxImage takes ownership of dataPtr...
1191 PyObject
*wxImage_GetAlphaBuffer(wxImage
*self
){
1192 unsigned char* data
= self
->GetAlpha();
1193 int len
= self
->GetWidth() * self
->GetHeight();
1195 wxPyBLOCK_THREADS( rv
= PyBuffer_FromReadWriteMemory(data
, len
) );
1198 void wxImage_SetAlphaBuffer(wxImage
*self
,PyObject
*data
){
1199 unsigned char* buffer
;
1202 bool blocked
= wxPyBeginBlockThreads();
1203 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
1206 if (size
!= self
->GetWidth() * self
->GetHeight()) {
1207 PyErr_SetString(PyExc_TypeError
, "Incorrect buffer size");
1210 self
->SetAlpha(buffer
);
1212 wxPyEndBlockThreads(blocked
);
1215 SWIGSTATICINLINE(int)
1216 SWIG_CheckUnsignedLong(PyObject
* obj
)
1218 SWIG_AsUnsignedLong(obj
);
1219 if (PyErr_Occurred()) {
1227 wxBitmap
wxImage_ConvertToBitmap(wxImage
*self
){
1228 wxBitmap
bitmap(*self
);
1231 wxBitmap
wxImage_ConvertToMonoBitmap(wxImage
*self
,unsigned char red
,unsigned char green
,unsigned char blue
){
1232 wxImage mono
= self
->ConvertToMono( red
, green
, blue
);
1233 wxBitmap
bitmap( mono
, 1 );
1236 static const wxString
wxPyIMAGE_OPTION_BMP_FORMAT(wxIMAGE_OPTION_BMP_FORMAT
);
1237 static const wxString
wxPyIMAGE_OPTION_CUR_HOTSPOT_X(wxIMAGE_OPTION_CUR_HOTSPOT_X
);
1238 static const wxString
wxPyIMAGE_OPTION_CUR_HOTSPOT_Y(wxIMAGE_OPTION_CUR_HOTSPOT_Y
);
1239 static const wxString
wxPyIMAGE_OPTION_RESOLUTION(wxIMAGE_OPTION_RESOLUTION
);
1240 static const wxString
wxPyIMAGE_OPTION_RESOLUTIONUNIT(wxIMAGE_OPTION_RESOLUTIONUNIT
);
1241 void wxEvtHandler_Connect(wxEvtHandler
*self
,int id
,int lastId
,int eventType
,PyObject
*func
){
1242 if (PyCallable_Check(func
)) {
1243 self
->Connect(id
, lastId
, eventType
,
1244 (wxObjectEventFunction
) &wxPyCallback::EventThunker
,
1245 new wxPyCallback(func
));
1247 else if (func
== Py_None
) {
1248 self
->Disconnect(id
, lastId
, eventType
,
1249 (wxObjectEventFunction
)
1250 &wxPyCallback::EventThunker
);
1254 PyErr_SetString(PyExc_TypeError
, "Expected callable object or None."));
1257 bool wxEvtHandler_Disconnect(wxEvtHandler
*self
,int id
,int lastId
,wxEventType eventType
){
1258 return self
->Disconnect(id
, lastId
, eventType
,
1259 (wxObjectEventFunction
)
1260 &wxPyCallback::EventThunker
);
1262 void wxEvtHandler__setOORInfo(wxEvtHandler
*self
,PyObject
*_self
){
1263 if (_self
&& _self
!= Py_None
) {
1264 self
->SetClientObject(new wxPyOORClientData(_self
));
1267 wxPyOORClientData
* data
= (wxPyOORClientData
*)self
->GetClientObject();
1269 self
->SetClientObject(NULL
); // This will delete it too
1273 int wxKeyEvent_GetUnicodeKey(wxKeyEvent
*self
){
1275 return self
->GetUnicodeKey();
1281 #if UINT_MAX < LONG_MAX
1282 #define SWIG_FromUnsignedInt SWIG_FromLong
1284 #define SWIG_FromUnsignedInt SWIG_FromUnsignedLong
1288 #if UINT_MAX != ULONG_MAX
1289 SWIGSTATICINLINE(unsigned int)
1290 SWIG_AsUnsignedInt(PyObject
*obj
)
1292 return swig_numeric_cast(unsigned int,
1293 SWIG_CheckUnsignedLongInRange(SWIG_AsUnsignedLong(obj
),
1294 "unsigned int", UINT_MAX
));
1297 #define SWIG_AsUnsignedInt SWIG_AsUnsignedLong
1301 SWIGSTATICINLINE(int)
1302 SWIG_CheckUnsignedInt(PyObject
* obj
)
1304 SWIG_AsUnsignedInt(obj
);
1305 if (PyErr_Occurred()) {
1313 void wxSizeEvent_SetSize(wxSizeEvent
*self
,wxSize size
){
1314 self
->m_size
= size
;
1316 void wxMoveEvent_SetPosition(wxMoveEvent
*self
,wxPoint pos
){
1319 PyObject
*wxDropFilesEvent_GetFiles(wxDropFilesEvent
*self
){
1320 int count
= self
->GetNumberOfFiles();
1321 wxString
* files
= self
->GetFiles();
1322 PyObject
* list
= PyList_New(count
);
1325 PyErr_SetString(PyExc_MemoryError
, "Can't allocate list of files!");
1329 for (int i
=0; i
<count
; i
++) {
1330 PyList_SetItem(list
, i
, wx2PyString(files
[i
]));
1336 wxPyApp
*new_wxPyApp(){
1337 wxPythonApp
= new wxPyApp();
1340 int PyApp_GetComCtl32Version(){ wxPyRaiseNotImplemented(); return 0; }
1342 void wxApp_CleanUp() {
1347 wxPyApp
* wxPyGetApp() { return (wxPyApp
*)wxTheApp
; }
1351 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
1352 wxVisualAttributes
*new_wxVisualAttributes(){ return new wxVisualAttributes
; }
1353 void delete_wxVisualAttributes(wxVisualAttributes
*self
){ delete self
; }
1354 PyObject
*wxWindow_GetChildren(wxWindow
*self
){
1355 wxWindowList
& list
= self
->GetChildren();
1356 return wxPy_ConvertList(&list
);
1358 bool wxWindow_RegisterHotKey(wxWindow
*self
,int hotkeyId
,int modifiers
,int keycode
){
1360 return self
->RegisterHotKey(hotkeyId
, modifiers
, keycode
);
1365 bool wxWindow_UnregisterHotKey(wxWindow
*self
,int hotkeyId
){
1372 long wxWindow_GetHandle(wxWindow
*self
){
1373 return wxPyGetWinHandle(self
);
1376 wxWindow
* wxFindWindowById( long id
, const wxWindow
*parent
= NULL
) {
1377 return wxWindow::FindWindowById(id
, parent
);
1380 wxWindow
* wxFindWindowByName( const wxString
& name
,
1381 const wxWindow
*parent
= NULL
) {
1382 return wxWindow::FindWindowByName(name
, parent
);
1385 wxWindow
* wxFindWindowByLabel( const wxString
& label
,
1386 const wxWindow
*parent
= NULL
) {
1387 return wxWindow::FindWindowByLabel(label
, parent
);
1392 #include <wx/msw/private.h> // to get wxGetWindowId
1396 wxWindow
* wxWindow_FromHWND(wxWindow
* parent
, unsigned long _hWnd
) {
1398 WXHWND hWnd
= (WXHWND
)_hWnd
;
1399 long id
= wxGetWindowId(hWnd
);
1400 wxWindow
* win
= new wxWindow
;
1401 parent
->AddChild(win
);
1402 win
->SetEventHandler(win
);
1405 win
->SubclassWin(hWnd
);
1406 win
->AdoptAttributesFromHWND();
1407 win
->SetupColours();
1410 wxPyRaiseNotImplemented();
1416 IMP_PYCALLBACK_BOOL_WXWIN(wxPyValidator
, wxValidator
, Validate
);
1417 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferToWindow
);
1418 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferFromWindow
);
1420 IMPLEMENT_DYNAMIC_CLASS(wxPyValidator
, wxValidator
);
1422 void wxMenu_Destroy(wxMenu
*self
){ delete self
; }
1423 PyObject
*wxMenu_GetMenuItems(wxMenu
*self
){
1424 wxMenuItemList
& list
= self
->GetMenuItems();
1425 return wxPy_ConvertList(&list
);
1427 int MenuItem_GetDefaultMarginWidth(){ return 0; }
1428 static const wxString
wxPyControlNameStr(wxControlNameStr
);
1429 int wxItemContainer_Append(wxItemContainer
*self
,wxString
const &item
,PyObject
*clientData
){
1431 wxPyClientData
* data
= new wxPyClientData(clientData
);
1432 return self
->Append(item
, data
);
1434 return self
->Append(item
);
1436 int wxItemContainer_Insert(wxItemContainer
*self
,wxString
const &item
,int pos
,PyObject
*clientData
){
1438 wxPyClientData
* data
= new wxPyClientData(clientData
);
1439 return self
->Insert(item
, pos
, data
);
1441 return self
->Insert(item
, pos
);
1443 PyObject
*wxItemContainer_GetClientData(wxItemContainer
*self
,int n
){
1444 wxPyClientData
* data
= (wxPyClientData
*)self
->GetClientObject(n
);
1446 Py_INCREF(data
->m_obj
);
1453 void wxItemContainer_SetClientData(wxItemContainer
*self
,int n
,PyObject
*clientData
){
1454 wxPyClientData
* data
= new wxPyClientData(clientData
);
1455 self
->SetClientObject(n
, data
);
1459 wxSizerItem
*new_wxSizerItem(wxWindow
*window
,int proportion
,int flag
,int border
,PyObject
*userData
){
1460 wxPyUserData
* data
= NULL
;
1462 bool blocked
= wxPyBeginBlockThreads();
1463 data
= new wxPyUserData(userData
);
1464 wxPyEndBlockThreads(blocked
);
1466 return new wxSizerItem(window
, proportion
, flag
, border
, data
);
1468 wxSizerItem
*new_wxSizerItem(int width
,int height
,int proportion
,int flag
,int border
,PyObject
*userData
){
1469 wxPyUserData
* data
= NULL
;
1471 bool blocked
= wxPyBeginBlockThreads();
1472 data
= new wxPyUserData(userData
);
1473 wxPyEndBlockThreads(blocked
);
1475 return new wxSizerItem(width
, height
, proportion
, flag
, border
, data
);
1477 wxSizerItem
*new_wxSizerItem(wxSizer
*sizer
,int proportion
,int flag
,int border
,PyObject
*userData
){
1478 wxPyUserData
* data
= NULL
;
1480 bool blocked
= wxPyBeginBlockThreads();
1481 data
= new wxPyUserData(userData
);
1482 wxPyEndBlockThreads(blocked
);
1484 return new wxSizerItem(sizer
, proportion
, flag
, border
, data
);
1490 SWIG_FloatCast(double value
)
1493 if (!PyErr_Occurred()) {
1494 if (value
< FLT_MIN
) {
1496 PyString_FromFormat("value %g is less than float minimum %g",
1498 PyErr_SetObject(PyExc_OverflowError
, err
);
1500 } else if (value
> FLT_MAX
) {
1502 PyString_FromFormat("value %g is greater than float maximum %g",
1504 PyErr_SetObject(PyExc_OverflowError
, err
);
1507 f
= swig_numeric_cast(float, value
);
1514 SWIGSTATICINLINE(float)
1515 SWIG_AsFloat(PyObject
*obj
)
1517 return SWIG_FloatCast(SWIG_AsDouble(obj
));
1521 SWIGSTATICINLINE(int)
1522 SWIG_CheckFloat(PyObject
* obj
)
1525 if (PyErr_Occurred()) {
1533 PyObject
*wxSizerItem_GetUserData(wxSizerItem
*self
){
1534 wxPyUserData
* data
= (wxPyUserData
*)self
->GetUserData();
1536 Py_INCREF(data
->m_obj
);
1544 // Figure out the type of the sizer item
1546 struct wxPySizerItemInfo
{
1548 : window(NULL
), sizer(NULL
), gotSize(False
),
1549 size(wxDefaultSize
), gotPos(False
), pos(-1)
1560 static wxPySizerItemInfo
wxPySizerItemTypeHelper(PyObject
* item
, bool checkSize
, bool checkIdx
) {
1562 wxPySizerItemInfo info
;
1564 wxSize
* sizePtr
= &size
;
1566 // Find out what the type of the item is
1568 if ( ! wxPyConvertSwigPtr(item
, (void**)&info
.window
, wxT("wxWindow")) ) {
1573 if ( ! wxPyConvertSwigPtr(item
, (void**)&info
.sizer
, wxT("wxSizer")) ) {
1577 // try wxSize or (w,h)
1578 if ( checkSize
&& wxSize_helper(item
, &sizePtr
)) {
1579 info
.size
= *sizePtr
;
1580 info
.gotSize
= True
;
1584 if (checkIdx
&& PyInt_Check(item
)) {
1585 info
.pos
= PyInt_AsLong(item
);
1591 if ( !(info
.window
|| info
.sizer
|| (checkSize
&& info
.gotSize
) || (checkIdx
&& info
.gotPos
)) ) {
1592 // no expected type, figure out what kind of error message to generate
1593 if ( !checkSize
&& !checkIdx
)
1594 PyErr_SetString(PyExc_TypeError
, "wxWindow or wxSizer expected for item");
1595 else if ( checkSize
&& !checkIdx
)
1596 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer, wxSize, or (w,h) expected for item");
1597 else if ( !checkSize
&& checkIdx
)
1598 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer or int (position) expected for item");
1600 // can this one happen?
1601 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer, wxSize, or (w,h) or int (position) expected for item");
1607 void wxSizer__setOORInfo(wxSizer
*self
,PyObject
*_self
){
1608 self
->SetClientObject(new wxPyOORClientData(_self
));
1610 void wxSizer_Add(wxSizer
*self
,PyObject
*item
,int proportion
,int flag
,int border
,PyObject
*userData
){
1612 wxPyUserData
* data
= NULL
;
1613 bool blocked
= wxPyBeginBlockThreads();
1614 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, True
, False
);
1615 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1616 data
= new wxPyUserData(userData
);
1617 wxPyEndBlockThreads(blocked
);
1619 // Now call the real Add method if a valid item type was found
1621 self
->Add(info
.window
, proportion
, flag
, border
, data
);
1622 else if ( info
.sizer
)
1623 self
->Add(info
.sizer
, proportion
, flag
, border
, data
);
1624 else if (info
.gotSize
)
1625 self
->Add(info
.size
.GetWidth(), info
.size
.GetHeight(),
1626 proportion
, flag
, border
, data
);
1628 void wxSizer_Insert(wxSizer
*self
,int before
,PyObject
*item
,int proportion
,int flag
,int border
,PyObject
*userData
){
1630 wxPyUserData
* data
= NULL
;
1631 bool blocked
= wxPyBeginBlockThreads();
1632 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, True
, False
);
1633 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1634 data
= new wxPyUserData(userData
);
1635 wxPyEndBlockThreads(blocked
);
1637 // Now call the real Insert method if a valid item type was found
1639 self
->Insert(before
, info
.window
, proportion
, flag
, border
, data
);
1640 else if ( info
.sizer
)
1641 self
->Insert(before
, info
.sizer
, proportion
, flag
, border
, data
);
1642 else if (info
.gotSize
)
1643 self
->Insert(before
, info
.size
.GetWidth(), info
.size
.GetHeight(),
1644 proportion
, flag
, border
, data
);
1646 void wxSizer_Prepend(wxSizer
*self
,PyObject
*item
,int proportion
,int flag
,int border
,PyObject
*userData
){
1648 wxPyUserData
* data
= NULL
;
1649 bool blocked
= wxPyBeginBlockThreads();
1650 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, True
, False
);
1651 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1652 data
= new wxPyUserData(userData
);
1653 wxPyEndBlockThreads(blocked
);
1655 // Now call the real Prepend method if a valid item type was found
1657 self
->Prepend(info
.window
, proportion
, flag
, border
, data
);
1658 else if ( info
.sizer
)
1659 self
->Prepend(info
.sizer
, proportion
, flag
, border
, data
);
1660 else if (info
.gotSize
)
1661 self
->Prepend(info
.size
.GetWidth(), info
.size
.GetHeight(),
1662 proportion
, flag
, border
, data
);
1664 bool wxSizer_Remove(wxSizer
*self
,PyObject
*item
){
1665 bool blocked
= wxPyBeginBlockThreads();
1666 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, True
);
1667 wxPyEndBlockThreads(blocked
);
1669 return self
->Remove(info
.window
);
1670 else if ( info
.sizer
)
1671 return self
->Remove(info
.sizer
);
1672 else if ( info
.gotPos
)
1673 return self
->Remove(info
.pos
);
1677 bool wxSizer_Detach(wxSizer
*self
,PyObject
*item
){
1678 bool blocked
= wxPyBeginBlockThreads();
1679 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, True
);
1680 wxPyEndBlockThreads(blocked
);
1682 return self
->Detach(info
.window
);
1683 else if ( info
.sizer
)
1684 return self
->Detach(info
.sizer
);
1685 else if ( info
.gotPos
)
1686 return self
->Detach(info
.pos
);
1690 void wxSizer__SetItemMinSize(wxSizer
*self
,PyObject
*item
,wxSize
const &size
){
1691 bool blocked
= wxPyBeginBlockThreads();
1692 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, True
);
1693 wxPyEndBlockThreads(blocked
);
1695 self
->SetItemMinSize(info
.window
, size
);
1696 else if ( info
.sizer
)
1697 self
->SetItemMinSize(info
.sizer
, size
);
1698 else if ( info
.gotPos
)
1699 self
->SetItemMinSize(info
.pos
, size
);
1701 PyObject
*wxSizer_GetChildren(wxSizer
*self
){
1702 wxSizerItemList
& list
= self
->GetChildren();
1703 return wxPy_ConvertList(&list
);
1705 void wxSizer_Show(wxSizer
*self
,PyObject
*item
,bool show
){
1706 bool blocked
= wxPyBeginBlockThreads();
1707 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, True
);
1708 wxPyEndBlockThreads(blocked
);
1710 self
->Show(info
.window
, show
);
1711 else if ( info
.sizer
)
1712 self
->Show(info
.sizer
, show
);
1713 else if ( info
.gotPos
)
1714 self
->Show(info
.pos
, show
);
1716 bool wxSizer_IsShown(wxSizer
*self
,PyObject
*item
){
1717 bool blocked
= wxPyBeginBlockThreads();
1718 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, False
);
1719 wxPyEndBlockThreads(blocked
);
1721 return self
->IsShown(info
.window
);
1722 else if ( info
.sizer
)
1723 return self
->IsShown(info
.sizer
);
1724 else if ( info
.gotPos
)
1725 return self
->IsShown(info
.pos
);
1731 IMP_PYCALLBACK___pure(wxPySizer
, wxSizer
, RecalcSizes
);
1732 IMP_PYCALLBACK_wxSize__pure(wxPySizer
, wxSizer
, CalcMin
);
1733 IMPLEMENT_DYNAMIC_CLASS(wxPySizer
, wxSizer
);
1738 bool wxGBPosition_helper(PyObject
* source
, wxGBPosition
** obj
)
1740 if (source
== Py_None
) {
1741 **obj
= wxGBPosition(-1,-1);
1744 return wxPyTwoIntItem_helper(source
, obj
, wxT("wxGBPosition"));
1747 bool wxGBSpan_helper(PyObject
* source
, wxGBSpan
** obj
)
1749 if (source
== Py_None
) {
1750 **obj
= wxGBSpan(-1,-1);
1753 return wxPyTwoIntItem_helper(source
, obj
, wxT("wxGBSpan"));
1757 void wxGBPosition_Set(wxGBPosition
*self
,int row
,int col
){
1761 PyObject
*wxGBPosition_Get(wxGBPosition
*self
){
1762 bool blocked
= wxPyBeginBlockThreads();
1763 PyObject
* tup
= PyTuple_New(2);
1764 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRow()));
1765 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetCol()));
1766 wxPyEndBlockThreads(blocked
);
1769 void wxGBSpan_Set(wxGBSpan
*self
,int rowspan
,int colspan
){
1770 self
->SetRowspan(rowspan
);
1771 self
->SetColspan(colspan
);
1773 PyObject
*wxGBSpan_Get(wxGBSpan
*self
){
1774 bool blocked
= wxPyBeginBlockThreads();
1775 PyObject
* tup
= PyTuple_New(2);
1776 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRowspan()));
1777 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetColspan()));
1778 wxPyEndBlockThreads(blocked
);
1781 wxGBSizerItem
*new_wxGBSizerItem(wxWindow
*window
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
){
1782 wxPyUserData
* data
= NULL
;
1784 bool blocked
= wxPyBeginBlockThreads();
1785 data
= new wxPyUserData(userData
);
1786 wxPyEndBlockThreads(blocked
);
1788 return new wxGBSizerItem(window
, pos
, span
, flag
, border
, data
);
1790 wxGBSizerItem
*new_wxGBSizerItem(wxSizer
*sizer
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
){
1791 wxPyUserData
* data
= NULL
;
1793 bool blocked
= wxPyBeginBlockThreads();
1794 data
= new wxPyUserData(userData
);
1795 wxPyEndBlockThreads(blocked
);
1797 return new wxGBSizerItem(sizer
, pos
, span
, flag
, border
, data
);
1799 wxGBSizerItem
*new_wxGBSizerItem(int width
,int height
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
){
1800 wxPyUserData
* data
= NULL
;
1802 bool blocked
= wxPyBeginBlockThreads();
1803 data
= new wxPyUserData(userData
);
1804 wxPyEndBlockThreads(blocked
);
1806 return new wxGBSizerItem(width
, height
, pos
, span
, flag
, border
, data
);
1808 wxGBPosition
wxGBSizerItem_GetEndPos(wxGBSizerItem
*self
){
1810 self
->GetEndPos(row
, col
);
1811 return wxGBPosition(row
, col
);
1813 bool wxGridBagSizer_Add(wxGridBagSizer
*self
,PyObject
*item
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
){
1815 wxPyUserData
* data
= NULL
;
1816 bool blocked
= wxPyBeginBlockThreads();
1817 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, True
, False
);
1818 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1819 data
= new wxPyUserData(userData
);
1820 wxPyEndBlockThreads(blocked
);
1822 // Now call the real Add method if a valid item type was found
1824 return self
->Add(info
.window
, pos
, span
, flag
, border
, data
);
1825 else if ( info
.sizer
)
1826 return self
->Add(info
.sizer
, pos
, span
, flag
, border
, data
);
1827 else if (info
.gotSize
)
1828 return self
->Add(info
.size
.GetWidth(), info
.size
.GetHeight(),
1829 pos
, span
, flag
, border
, data
);
1837 static int _wrap_EmptyString_set(PyObject
*_val
) {
1838 PyErr_SetString(PyExc_TypeError
,"Variable EmptyString is read-only.");
1843 static PyObject
*_wrap_EmptyString_get() {
1848 pyobj
= PyUnicode_FromWideChar((&wxPyEmptyString
)->c_str(), (&wxPyEmptyString
)->Len());
1850 pyobj
= PyString_FromStringAndSize((&wxPyEmptyString
)->c_str(), (&wxPyEmptyString
)->Len());
1857 static PyObject
*_wrap_Object_GetClassName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1858 PyObject
*resultobj
;
1859 wxObject
*arg1
= (wxObject
*) 0 ;
1861 PyObject
* obj0
= 0 ;
1863 (char *) "self", NULL
1866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Object_GetClassName",kwnames
,&obj0
)) goto fail
;
1867 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxObject
,
1868 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1871 result
= wxObject_GetClassName(arg1
);
1873 wxPyEndAllowThreads(__tstate
);
1874 if (PyErr_Occurred()) SWIG_fail
;
1878 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
1880 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
1889 static PyObject
*_wrap_Object_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1890 PyObject
*resultobj
;
1891 wxObject
*arg1
= (wxObject
*) 0 ;
1892 PyObject
* obj0
= 0 ;
1894 (char *) "self", NULL
1897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Object_Destroy",kwnames
,&obj0
)) goto fail
;
1898 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxObject
,
1899 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1902 wxObject_Destroy(arg1
);
1904 wxPyEndAllowThreads(__tstate
);
1905 if (PyErr_Occurred()) SWIG_fail
;
1907 Py_INCREF(Py_None
); resultobj
= Py_None
;
1914 static PyObject
* Object_swigregister(PyObject
*self
, PyObject
*args
) {
1916 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1917 SWIG_TypeClientData(SWIGTYPE_p_wxObject
, obj
);
1919 return Py_BuildValue((char *)"");
1921 static PyObject
*_wrap_Size_width_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1922 PyObject
*resultobj
;
1923 wxSize
*arg1
= (wxSize
*) 0 ;
1925 PyObject
* obj0
= 0 ;
1926 PyObject
* obj1
= 0 ;
1928 (char *) "self",(char *) "x", NULL
1931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
1932 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
1933 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1934 arg2
= (int) SWIG_AsInt(obj1
);
1935 if (PyErr_Occurred()) SWIG_fail
;
1936 if (arg1
) (arg1
)->x
= arg2
;
1938 Py_INCREF(Py_None
); resultobj
= Py_None
;
1945 static PyObject
*_wrap_Size_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1946 PyObject
*resultobj
;
1947 wxSize
*arg1
= (wxSize
*) 0 ;
1949 PyObject
* obj0
= 0 ;
1951 (char *) "self", NULL
1954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_width_get",kwnames
,&obj0
)) goto fail
;
1955 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
1956 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1957 result
= (int) ((arg1
)->x
);
1959 resultobj
= SWIG_FromInt((int)result
);
1966 static PyObject
*_wrap_Size_height_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1967 PyObject
*resultobj
;
1968 wxSize
*arg1
= (wxSize
*) 0 ;
1970 PyObject
* obj0
= 0 ;
1971 PyObject
* obj1
= 0 ;
1973 (char *) "self",(char *) "y", NULL
1976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_height_set",kwnames
,&obj0
,&obj1
)) goto fail
;
1977 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
1978 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1979 arg2
= (int) SWIG_AsInt(obj1
);
1980 if (PyErr_Occurred()) SWIG_fail
;
1981 if (arg1
) (arg1
)->y
= arg2
;
1983 Py_INCREF(Py_None
); resultobj
= Py_None
;
1990 static PyObject
*_wrap_Size_height_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1991 PyObject
*resultobj
;
1992 wxSize
*arg1
= (wxSize
*) 0 ;
1994 PyObject
* obj0
= 0 ;
1996 (char *) "self", NULL
1999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_height_get",kwnames
,&obj0
)) goto fail
;
2000 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2001 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2002 result
= (int) ((arg1
)->y
);
2004 resultobj
= SWIG_FromInt((int)result
);
2011 static PyObject
*_wrap_new_Size(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2012 PyObject
*resultobj
;
2013 int arg1
= (int) 0 ;
2014 int arg2
= (int) 0 ;
2016 PyObject
* obj0
= 0 ;
2017 PyObject
* obj1
= 0 ;
2019 (char *) "w",(char *) "h", NULL
2022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Size",kwnames
,&obj0
,&obj1
)) goto fail
;
2024 arg1
= (int) SWIG_AsInt(obj0
);
2025 if (PyErr_Occurred()) SWIG_fail
;
2028 arg2
= (int) SWIG_AsInt(obj1
);
2029 if (PyErr_Occurred()) SWIG_fail
;
2032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2033 result
= (wxSize
*)new wxSize(arg1
,arg2
);
2035 wxPyEndAllowThreads(__tstate
);
2036 if (PyErr_Occurred()) SWIG_fail
;
2038 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 1);
2045 static PyObject
*_wrap_delete_Size(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2046 PyObject
*resultobj
;
2047 wxSize
*arg1
= (wxSize
*) 0 ;
2048 PyObject
* obj0
= 0 ;
2050 (char *) "self", NULL
2053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Size",kwnames
,&obj0
)) goto fail
;
2054 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2055 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2060 wxPyEndAllowThreads(__tstate
);
2061 if (PyErr_Occurred()) SWIG_fail
;
2063 Py_INCREF(Py_None
); resultobj
= Py_None
;
2070 static PyObject
*_wrap_Size___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2071 PyObject
*resultobj
;
2072 wxSize
*arg1
= (wxSize
*) 0 ;
2076 PyObject
* obj0
= 0 ;
2077 PyObject
* obj1
= 0 ;
2079 (char *) "self",(char *) "sz", NULL
2082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
2083 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2084 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2087 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2091 result
= (bool)(arg1
)->operator ==((wxSize
const &)*arg2
);
2093 wxPyEndAllowThreads(__tstate
);
2094 if (PyErr_Occurred()) SWIG_fail
;
2097 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2105 static PyObject
*_wrap_Size___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2106 PyObject
*resultobj
;
2107 wxSize
*arg1
= (wxSize
*) 0 ;
2111 PyObject
* obj0
= 0 ;
2112 PyObject
* obj1
= 0 ;
2114 (char *) "self",(char *) "sz", NULL
2117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
2118 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2119 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2122 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2126 result
= (bool)(arg1
)->operator !=((wxSize
const &)*arg2
);
2128 wxPyEndAllowThreads(__tstate
);
2129 if (PyErr_Occurred()) SWIG_fail
;
2132 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2140 static PyObject
*_wrap_Size___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2141 PyObject
*resultobj
;
2142 wxSize
*arg1
= (wxSize
*) 0 ;
2146 PyObject
* obj0
= 0 ;
2147 PyObject
* obj1
= 0 ;
2149 (char *) "self",(char *) "sz", NULL
2152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
2153 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2154 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2157 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2161 result
= (arg1
)->operator +((wxSize
const &)*arg2
);
2163 wxPyEndAllowThreads(__tstate
);
2164 if (PyErr_Occurred()) SWIG_fail
;
2168 resultptr
= new wxSize((wxSize
&) result
);
2169 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
2177 static PyObject
*_wrap_Size___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2178 PyObject
*resultobj
;
2179 wxSize
*arg1
= (wxSize
*) 0 ;
2183 PyObject
* obj0
= 0 ;
2184 PyObject
* obj1
= 0 ;
2186 (char *) "self",(char *) "sz", NULL
2189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
2190 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2191 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2194 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2198 result
= (arg1
)->operator -((wxSize
const &)*arg2
);
2200 wxPyEndAllowThreads(__tstate
);
2201 if (PyErr_Occurred()) SWIG_fail
;
2205 resultptr
= new wxSize((wxSize
&) result
);
2206 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
2214 static PyObject
*_wrap_Size_IncTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2215 PyObject
*resultobj
;
2216 wxSize
*arg1
= (wxSize
*) 0 ;
2219 PyObject
* obj0
= 0 ;
2220 PyObject
* obj1
= 0 ;
2222 (char *) "self",(char *) "sz", NULL
2225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_IncTo",kwnames
,&obj0
,&obj1
)) goto fail
;
2226 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2227 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2230 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2234 (arg1
)->IncTo((wxSize
const &)*arg2
);
2236 wxPyEndAllowThreads(__tstate
);
2237 if (PyErr_Occurred()) SWIG_fail
;
2239 Py_INCREF(Py_None
); resultobj
= Py_None
;
2246 static PyObject
*_wrap_Size_DecTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2247 PyObject
*resultobj
;
2248 wxSize
*arg1
= (wxSize
*) 0 ;
2251 PyObject
* obj0
= 0 ;
2252 PyObject
* obj1
= 0 ;
2254 (char *) "self",(char *) "sz", NULL
2257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_DecTo",kwnames
,&obj0
,&obj1
)) goto fail
;
2258 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2259 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2262 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2266 (arg1
)->DecTo((wxSize
const &)*arg2
);
2268 wxPyEndAllowThreads(__tstate
);
2269 if (PyErr_Occurred()) SWIG_fail
;
2271 Py_INCREF(Py_None
); resultobj
= Py_None
;
2278 static PyObject
*_wrap_Size_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2279 PyObject
*resultobj
;
2280 wxSize
*arg1
= (wxSize
*) 0 ;
2283 PyObject
* obj0
= 0 ;
2284 PyObject
* obj1
= 0 ;
2285 PyObject
* obj2
= 0 ;
2287 (char *) "self",(char *) "w",(char *) "h", NULL
2290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Size_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2291 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2292 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2293 arg2
= (int) SWIG_AsInt(obj1
);
2294 if (PyErr_Occurred()) SWIG_fail
;
2295 arg3
= (int) SWIG_AsInt(obj2
);
2296 if (PyErr_Occurred()) SWIG_fail
;
2298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2299 (arg1
)->Set(arg2
,arg3
);
2301 wxPyEndAllowThreads(__tstate
);
2302 if (PyErr_Occurred()) SWIG_fail
;
2304 Py_INCREF(Py_None
); resultobj
= Py_None
;
2311 static PyObject
*_wrap_Size_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2312 PyObject
*resultobj
;
2313 wxSize
*arg1
= (wxSize
*) 0 ;
2315 PyObject
* obj0
= 0 ;
2316 PyObject
* obj1
= 0 ;
2318 (char *) "self",(char *) "w", NULL
2321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
2322 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2323 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2324 arg2
= (int) SWIG_AsInt(obj1
);
2325 if (PyErr_Occurred()) SWIG_fail
;
2327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2328 (arg1
)->SetWidth(arg2
);
2330 wxPyEndAllowThreads(__tstate
);
2331 if (PyErr_Occurred()) SWIG_fail
;
2333 Py_INCREF(Py_None
); resultobj
= Py_None
;
2340 static PyObject
*_wrap_Size_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2341 PyObject
*resultobj
;
2342 wxSize
*arg1
= (wxSize
*) 0 ;
2344 PyObject
* obj0
= 0 ;
2345 PyObject
* obj1
= 0 ;
2347 (char *) "self",(char *) "h", NULL
2350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
2351 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2352 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2353 arg2
= (int) SWIG_AsInt(obj1
);
2354 if (PyErr_Occurred()) SWIG_fail
;
2356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2357 (arg1
)->SetHeight(arg2
);
2359 wxPyEndAllowThreads(__tstate
);
2360 if (PyErr_Occurred()) SWIG_fail
;
2362 Py_INCREF(Py_None
); resultobj
= Py_None
;
2369 static PyObject
*_wrap_Size_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2370 PyObject
*resultobj
;
2371 wxSize
*arg1
= (wxSize
*) 0 ;
2373 PyObject
* obj0
= 0 ;
2375 (char *) "self", NULL
2378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_GetWidth",kwnames
,&obj0
)) goto fail
;
2379 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2380 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2383 result
= (int)((wxSize
const *)arg1
)->GetWidth();
2385 wxPyEndAllowThreads(__tstate
);
2386 if (PyErr_Occurred()) SWIG_fail
;
2388 resultobj
= SWIG_FromInt((int)result
);
2395 static PyObject
*_wrap_Size_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2396 PyObject
*resultobj
;
2397 wxSize
*arg1
= (wxSize
*) 0 ;
2399 PyObject
* obj0
= 0 ;
2401 (char *) "self", NULL
2404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_GetHeight",kwnames
,&obj0
)) goto fail
;
2405 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2409 result
= (int)((wxSize
const *)arg1
)->GetHeight();
2411 wxPyEndAllowThreads(__tstate
);
2412 if (PyErr_Occurred()) SWIG_fail
;
2414 resultobj
= SWIG_FromInt((int)result
);
2421 static PyObject
*_wrap_Size_IsFullySpecified(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2422 PyObject
*resultobj
;
2423 wxSize
*arg1
= (wxSize
*) 0 ;
2425 PyObject
* obj0
= 0 ;
2427 (char *) "self", NULL
2430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_IsFullySpecified",kwnames
,&obj0
)) goto fail
;
2431 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2432 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2435 result
= (bool)((wxSize
const *)arg1
)->IsFullySpecified();
2437 wxPyEndAllowThreads(__tstate
);
2438 if (PyErr_Occurred()) SWIG_fail
;
2441 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2449 static PyObject
*_wrap_Size_SetDefaults(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2450 PyObject
*resultobj
;
2451 wxSize
*arg1
= (wxSize
*) 0 ;
2454 PyObject
* obj0
= 0 ;
2455 PyObject
* obj1
= 0 ;
2457 (char *) "self",(char *) "size", NULL
2460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetDefaults",kwnames
,&obj0
,&obj1
)) goto fail
;
2461 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2462 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2465 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2469 (arg1
)->SetDefaults((wxSize
const &)*arg2
);
2471 wxPyEndAllowThreads(__tstate
);
2472 if (PyErr_Occurred()) SWIG_fail
;
2474 Py_INCREF(Py_None
); resultobj
= Py_None
;
2481 static PyObject
*_wrap_Size_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2482 PyObject
*resultobj
;
2483 wxSize
*arg1
= (wxSize
*) 0 ;
2485 PyObject
* obj0
= 0 ;
2487 (char *) "self", NULL
2490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_Get",kwnames
,&obj0
)) goto fail
;
2491 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2492 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2495 result
= (PyObject
*)wxSize_Get(arg1
);
2497 wxPyEndAllowThreads(__tstate
);
2498 if (PyErr_Occurred()) SWIG_fail
;
2507 static PyObject
* Size_swigregister(PyObject
*self
, PyObject
*args
) {
2509 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2510 SWIG_TypeClientData(SWIGTYPE_p_wxSize
, obj
);
2512 return Py_BuildValue((char *)"");
2514 static PyObject
*_wrap_RealPoint_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2515 PyObject
*resultobj
;
2516 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2518 PyObject
* obj0
= 0 ;
2519 PyObject
* obj1
= 0 ;
2521 (char *) "self",(char *) "x", NULL
2524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
2525 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2526 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2527 arg2
= (double) SWIG_AsDouble(obj1
);
2528 if (PyErr_Occurred()) SWIG_fail
;
2529 if (arg1
) (arg1
)->x
= arg2
;
2531 Py_INCREF(Py_None
); resultobj
= Py_None
;
2538 static PyObject
*_wrap_RealPoint_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2539 PyObject
*resultobj
;
2540 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2542 PyObject
* obj0
= 0 ;
2544 (char *) "self", NULL
2547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_x_get",kwnames
,&obj0
)) goto fail
;
2548 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2549 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2550 result
= (double) ((arg1
)->x
);
2552 resultobj
= SWIG_FromDouble((double)result
);
2559 static PyObject
*_wrap_RealPoint_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2560 PyObject
*resultobj
;
2561 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2563 PyObject
* obj0
= 0 ;
2564 PyObject
* obj1
= 0 ;
2566 (char *) "self",(char *) "y", NULL
2569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
2570 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2571 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2572 arg2
= (double) SWIG_AsDouble(obj1
);
2573 if (PyErr_Occurred()) SWIG_fail
;
2574 if (arg1
) (arg1
)->y
= arg2
;
2576 Py_INCREF(Py_None
); resultobj
= Py_None
;
2583 static PyObject
*_wrap_RealPoint_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2584 PyObject
*resultobj
;
2585 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2587 PyObject
* obj0
= 0 ;
2589 (char *) "self", NULL
2592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_y_get",kwnames
,&obj0
)) goto fail
;
2593 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2594 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2595 result
= (double) ((arg1
)->y
);
2597 resultobj
= SWIG_FromDouble((double)result
);
2604 static PyObject
*_wrap_new_RealPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2605 PyObject
*resultobj
;
2606 double arg1
= (double) 0.0 ;
2607 double arg2
= (double) 0.0 ;
2608 wxRealPoint
*result
;
2609 PyObject
* obj0
= 0 ;
2610 PyObject
* obj1
= 0 ;
2612 (char *) "x",(char *) "y", NULL
2615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_RealPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
2617 arg1
= (double) SWIG_AsDouble(obj0
);
2618 if (PyErr_Occurred()) SWIG_fail
;
2621 arg2
= (double) SWIG_AsDouble(obj1
);
2622 if (PyErr_Occurred()) SWIG_fail
;
2625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2626 result
= (wxRealPoint
*)new wxRealPoint(arg1
,arg2
);
2628 wxPyEndAllowThreads(__tstate
);
2629 if (PyErr_Occurred()) SWIG_fail
;
2631 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRealPoint
, 1);
2638 static PyObject
*_wrap_delete_RealPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2639 PyObject
*resultobj
;
2640 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2641 PyObject
* obj0
= 0 ;
2643 (char *) "self", NULL
2646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_RealPoint",kwnames
,&obj0
)) goto fail
;
2647 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2648 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2653 wxPyEndAllowThreads(__tstate
);
2654 if (PyErr_Occurred()) SWIG_fail
;
2656 Py_INCREF(Py_None
); resultobj
= Py_None
;
2663 static PyObject
*_wrap_RealPoint___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2664 PyObject
*resultobj
;
2665 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2666 wxRealPoint
*arg2
= 0 ;
2669 PyObject
* obj0
= 0 ;
2670 PyObject
* obj1
= 0 ;
2672 (char *) "self",(char *) "pt", NULL
2675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
2676 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2677 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2680 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2684 result
= (bool)(arg1
)->operator ==((wxRealPoint
const &)*arg2
);
2686 wxPyEndAllowThreads(__tstate
);
2687 if (PyErr_Occurred()) SWIG_fail
;
2690 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2698 static PyObject
*_wrap_RealPoint___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2699 PyObject
*resultobj
;
2700 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2701 wxRealPoint
*arg2
= 0 ;
2704 PyObject
* obj0
= 0 ;
2705 PyObject
* obj1
= 0 ;
2707 (char *) "self",(char *) "pt", NULL
2710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
2711 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2712 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2715 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2719 result
= (bool)(arg1
)->operator !=((wxRealPoint
const &)*arg2
);
2721 wxPyEndAllowThreads(__tstate
);
2722 if (PyErr_Occurred()) SWIG_fail
;
2725 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2733 static PyObject
*_wrap_RealPoint___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2734 PyObject
*resultobj
;
2735 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2736 wxRealPoint
*arg2
= 0 ;
2739 PyObject
* obj0
= 0 ;
2740 PyObject
* obj1
= 0 ;
2742 (char *) "self",(char *) "pt", NULL
2745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
2746 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2747 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2750 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2754 result
= (arg1
)->operator +((wxRealPoint
const &)*arg2
);
2756 wxPyEndAllowThreads(__tstate
);
2757 if (PyErr_Occurred()) SWIG_fail
;
2760 wxRealPoint
* resultptr
;
2761 resultptr
= new wxRealPoint((wxRealPoint
&) result
);
2762 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRealPoint
, 1);
2770 static PyObject
*_wrap_RealPoint___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2771 PyObject
*resultobj
;
2772 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2773 wxRealPoint
*arg2
= 0 ;
2776 PyObject
* obj0
= 0 ;
2777 PyObject
* obj1
= 0 ;
2779 (char *) "self",(char *) "pt", NULL
2782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
2783 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2784 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2787 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2791 result
= (arg1
)->operator -((wxRealPoint
const &)*arg2
);
2793 wxPyEndAllowThreads(__tstate
);
2794 if (PyErr_Occurred()) SWIG_fail
;
2797 wxRealPoint
* resultptr
;
2798 resultptr
= new wxRealPoint((wxRealPoint
&) result
);
2799 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRealPoint
, 1);
2807 static PyObject
*_wrap_RealPoint_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2808 PyObject
*resultobj
;
2809 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2812 PyObject
* obj0
= 0 ;
2813 PyObject
* obj1
= 0 ;
2814 PyObject
* obj2
= 0 ;
2816 (char *) "self",(char *) "x",(char *) "y", NULL
2819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RealPoint_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2820 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2821 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2822 arg2
= (double) SWIG_AsDouble(obj1
);
2823 if (PyErr_Occurred()) SWIG_fail
;
2824 arg3
= (double) SWIG_AsDouble(obj2
);
2825 if (PyErr_Occurred()) SWIG_fail
;
2827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2828 wxRealPoint_Set(arg1
,arg2
,arg3
);
2830 wxPyEndAllowThreads(__tstate
);
2831 if (PyErr_Occurred()) SWIG_fail
;
2833 Py_INCREF(Py_None
); resultobj
= Py_None
;
2840 static PyObject
*_wrap_RealPoint_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2841 PyObject
*resultobj
;
2842 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2844 PyObject
* obj0
= 0 ;
2846 (char *) "self", NULL
2849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_Get",kwnames
,&obj0
)) goto fail
;
2850 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2851 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2854 result
= (PyObject
*)wxRealPoint_Get(arg1
);
2856 wxPyEndAllowThreads(__tstate
);
2857 if (PyErr_Occurred()) SWIG_fail
;
2866 static PyObject
* RealPoint_swigregister(PyObject
*self
, PyObject
*args
) {
2868 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2869 SWIG_TypeClientData(SWIGTYPE_p_wxRealPoint
, obj
);
2871 return Py_BuildValue((char *)"");
2873 static PyObject
*_wrap_Point_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2874 PyObject
*resultobj
;
2875 wxPoint
*arg1
= (wxPoint
*) 0 ;
2877 PyObject
* obj0
= 0 ;
2878 PyObject
* obj1
= 0 ;
2880 (char *) "self",(char *) "x", NULL
2883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
2884 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
2885 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2886 arg2
= (int) SWIG_AsInt(obj1
);
2887 if (PyErr_Occurred()) SWIG_fail
;
2888 if (arg1
) (arg1
)->x
= arg2
;
2890 Py_INCREF(Py_None
); resultobj
= Py_None
;
2897 static PyObject
*_wrap_Point_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2898 PyObject
*resultobj
;
2899 wxPoint
*arg1
= (wxPoint
*) 0 ;
2901 PyObject
* obj0
= 0 ;
2903 (char *) "self", NULL
2906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_x_get",kwnames
,&obj0
)) goto fail
;
2907 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
2908 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2909 result
= (int) ((arg1
)->x
);
2911 resultobj
= SWIG_FromInt((int)result
);
2918 static PyObject
*_wrap_Point_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2919 PyObject
*resultobj
;
2920 wxPoint
*arg1
= (wxPoint
*) 0 ;
2922 PyObject
* obj0
= 0 ;
2923 PyObject
* obj1
= 0 ;
2925 (char *) "self",(char *) "y", NULL
2928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
2929 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
2930 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2931 arg2
= (int) SWIG_AsInt(obj1
);
2932 if (PyErr_Occurred()) SWIG_fail
;
2933 if (arg1
) (arg1
)->y
= arg2
;
2935 Py_INCREF(Py_None
); resultobj
= Py_None
;
2942 static PyObject
*_wrap_Point_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2943 PyObject
*resultobj
;
2944 wxPoint
*arg1
= (wxPoint
*) 0 ;
2946 PyObject
* obj0
= 0 ;
2948 (char *) "self", NULL
2951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_y_get",kwnames
,&obj0
)) goto fail
;
2952 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
2953 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2954 result
= (int) ((arg1
)->y
);
2956 resultobj
= SWIG_FromInt((int)result
);
2963 static PyObject
*_wrap_new_Point(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2964 PyObject
*resultobj
;
2965 int arg1
= (int) 0 ;
2966 int arg2
= (int) 0 ;
2968 PyObject
* obj0
= 0 ;
2969 PyObject
* obj1
= 0 ;
2971 (char *) "x",(char *) "y", NULL
2974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Point",kwnames
,&obj0
,&obj1
)) goto fail
;
2976 arg1
= (int) SWIG_AsInt(obj0
);
2977 if (PyErr_Occurred()) SWIG_fail
;
2980 arg2
= (int) SWIG_AsInt(obj1
);
2981 if (PyErr_Occurred()) SWIG_fail
;
2984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2985 result
= (wxPoint
*)new wxPoint(arg1
,arg2
);
2987 wxPyEndAllowThreads(__tstate
);
2988 if (PyErr_Occurred()) SWIG_fail
;
2990 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 1);
2997 static PyObject
*_wrap_delete_Point(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2998 PyObject
*resultobj
;
2999 wxPoint
*arg1
= (wxPoint
*) 0 ;
3000 PyObject
* obj0
= 0 ;
3002 (char *) "self", NULL
3005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Point",kwnames
,&obj0
)) goto fail
;
3006 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3007 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3012 wxPyEndAllowThreads(__tstate
);
3013 if (PyErr_Occurred()) SWIG_fail
;
3015 Py_INCREF(Py_None
); resultobj
= Py_None
;
3022 static PyObject
*_wrap_Point___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3023 PyObject
*resultobj
;
3024 wxPoint
*arg1
= (wxPoint
*) 0 ;
3028 PyObject
* obj0
= 0 ;
3029 PyObject
* obj1
= 0 ;
3031 (char *) "self",(char *) "pt", NULL
3034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
3035 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3036 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3039 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3043 result
= (bool)(arg1
)->operator ==((wxPoint
const &)*arg2
);
3045 wxPyEndAllowThreads(__tstate
);
3046 if (PyErr_Occurred()) SWIG_fail
;
3049 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3057 static PyObject
*_wrap_Point___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3058 PyObject
*resultobj
;
3059 wxPoint
*arg1
= (wxPoint
*) 0 ;
3063 PyObject
* obj0
= 0 ;
3064 PyObject
* obj1
= 0 ;
3066 (char *) "self",(char *) "pt", NULL
3069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
3070 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3071 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3074 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3078 result
= (bool)(arg1
)->operator !=((wxPoint
const &)*arg2
);
3080 wxPyEndAllowThreads(__tstate
);
3081 if (PyErr_Occurred()) SWIG_fail
;
3084 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3092 static PyObject
*_wrap_Point___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3093 PyObject
*resultobj
;
3094 wxPoint
*arg1
= (wxPoint
*) 0 ;
3098 PyObject
* obj0
= 0 ;
3099 PyObject
* obj1
= 0 ;
3101 (char *) "self",(char *) "pt", NULL
3104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
3105 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3106 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3109 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3113 result
= (arg1
)->operator +((wxPoint
const &)*arg2
);
3115 wxPyEndAllowThreads(__tstate
);
3116 if (PyErr_Occurred()) SWIG_fail
;
3119 wxPoint
* resultptr
;
3120 resultptr
= new wxPoint((wxPoint
&) result
);
3121 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3129 static PyObject
*_wrap_Point___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3130 PyObject
*resultobj
;
3131 wxPoint
*arg1
= (wxPoint
*) 0 ;
3135 PyObject
* obj0
= 0 ;
3136 PyObject
* obj1
= 0 ;
3138 (char *) "self",(char *) "pt", NULL
3141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
3142 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3143 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3146 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3150 result
= (arg1
)->operator -((wxPoint
const &)*arg2
);
3152 wxPyEndAllowThreads(__tstate
);
3153 if (PyErr_Occurred()) SWIG_fail
;
3156 wxPoint
* resultptr
;
3157 resultptr
= new wxPoint((wxPoint
&) result
);
3158 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3166 static PyObject
*_wrap_Point___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3167 PyObject
*resultobj
;
3168 wxPoint
*arg1
= (wxPoint
*) 0 ;
3172 PyObject
* obj0
= 0 ;
3173 PyObject
* obj1
= 0 ;
3175 (char *) "self",(char *) "pt", NULL
3178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
3179 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3180 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3183 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3188 wxPoint
&_result_ref
= (arg1
)->operator +=((wxPoint
const &)*arg2
);
3189 result
= (wxPoint
*) &_result_ref
;
3192 wxPyEndAllowThreads(__tstate
);
3193 if (PyErr_Occurred()) SWIG_fail
;
3195 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
3202 static PyObject
*_wrap_Point___isub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3203 PyObject
*resultobj
;
3204 wxPoint
*arg1
= (wxPoint
*) 0 ;
3208 PyObject
* obj0
= 0 ;
3209 PyObject
* obj1
= 0 ;
3211 (char *) "self",(char *) "pt", NULL
3214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
3215 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3216 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3219 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3224 wxPoint
&_result_ref
= (arg1
)->operator -=((wxPoint
const &)*arg2
);
3225 result
= (wxPoint
*) &_result_ref
;
3228 wxPyEndAllowThreads(__tstate
);
3229 if (PyErr_Occurred()) SWIG_fail
;
3231 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
3238 static PyObject
*_wrap_Point_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3239 PyObject
*resultobj
;
3240 wxPoint
*arg1
= (wxPoint
*) 0 ;
3243 PyObject
* obj0
= 0 ;
3244 PyObject
* obj1
= 0 ;
3245 PyObject
* obj2
= 0 ;
3247 (char *) "self",(char *) "x",(char *) "y", NULL
3250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Point_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3251 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3252 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3253 arg2
= (long) SWIG_AsLong(obj1
);
3254 if (PyErr_Occurred()) SWIG_fail
;
3255 arg3
= (long) SWIG_AsLong(obj2
);
3256 if (PyErr_Occurred()) SWIG_fail
;
3258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3259 wxPoint_Set(arg1
,arg2
,arg3
);
3261 wxPyEndAllowThreads(__tstate
);
3262 if (PyErr_Occurred()) SWIG_fail
;
3264 Py_INCREF(Py_None
); resultobj
= Py_None
;
3271 static PyObject
*_wrap_Point_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3272 PyObject
*resultobj
;
3273 wxPoint
*arg1
= (wxPoint
*) 0 ;
3275 PyObject
* obj0
= 0 ;
3277 (char *) "self", NULL
3280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_Get",kwnames
,&obj0
)) goto fail
;
3281 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3282 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3285 result
= (PyObject
*)wxPoint_Get(arg1
);
3287 wxPyEndAllowThreads(__tstate
);
3288 if (PyErr_Occurred()) SWIG_fail
;
3297 static PyObject
* Point_swigregister(PyObject
*self
, PyObject
*args
) {
3299 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3300 SWIG_TypeClientData(SWIGTYPE_p_wxPoint
, obj
);
3302 return Py_BuildValue((char *)"");
3304 static PyObject
*_wrap_new_Rect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3305 PyObject
*resultobj
;
3306 int arg1
= (int) 0 ;
3307 int arg2
= (int) 0 ;
3308 int arg3
= (int) 0 ;
3309 int arg4
= (int) 0 ;
3311 PyObject
* obj0
= 0 ;
3312 PyObject
* obj1
= 0 ;
3313 PyObject
* obj2
= 0 ;
3314 PyObject
* obj3
= 0 ;
3316 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
3319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Rect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3321 arg1
= (int) SWIG_AsInt(obj0
);
3322 if (PyErr_Occurred()) SWIG_fail
;
3325 arg2
= (int) SWIG_AsInt(obj1
);
3326 if (PyErr_Occurred()) SWIG_fail
;
3329 arg3
= (int) SWIG_AsInt(obj2
);
3330 if (PyErr_Occurred()) SWIG_fail
;
3333 arg4
= (int) SWIG_AsInt(obj3
);
3334 if (PyErr_Occurred()) SWIG_fail
;
3337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3338 result
= (wxRect
*)new wxRect(arg1
,arg2
,arg3
,arg4
);
3340 wxPyEndAllowThreads(__tstate
);
3341 if (PyErr_Occurred()) SWIG_fail
;
3343 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
3350 static PyObject
*_wrap_new_RectPP(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3351 PyObject
*resultobj
;
3357 PyObject
* obj0
= 0 ;
3358 PyObject
* obj1
= 0 ;
3360 (char *) "topLeft",(char *) "bottomRight", NULL
3363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RectPP",kwnames
,&obj0
,&obj1
)) goto fail
;
3366 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
3370 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3374 result
= (wxRect
*)new wxRect((wxPoint
const &)*arg1
,(wxPoint
const &)*arg2
);
3376 wxPyEndAllowThreads(__tstate
);
3377 if (PyErr_Occurred()) SWIG_fail
;
3379 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
3386 static PyObject
*_wrap_new_RectPS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3387 PyObject
*resultobj
;
3393 PyObject
* obj0
= 0 ;
3394 PyObject
* obj1
= 0 ;
3396 (char *) "pos",(char *) "size", NULL
3399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RectPS",kwnames
,&obj0
,&obj1
)) goto fail
;
3402 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
3406 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3410 result
= (wxRect
*)new wxRect((wxPoint
const &)*arg1
,(wxSize
const &)*arg2
);
3412 wxPyEndAllowThreads(__tstate
);
3413 if (PyErr_Occurred()) SWIG_fail
;
3415 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
3422 static PyObject
*_wrap_delete_Rect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3423 PyObject
*resultobj
;
3424 wxRect
*arg1
= (wxRect
*) 0 ;
3425 PyObject
* obj0
= 0 ;
3427 (char *) "self", NULL
3430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Rect",kwnames
,&obj0
)) goto fail
;
3431 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3432 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3437 wxPyEndAllowThreads(__tstate
);
3438 if (PyErr_Occurred()) SWIG_fail
;
3440 Py_INCREF(Py_None
); resultobj
= Py_None
;
3447 static PyObject
*_wrap_Rect_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3448 PyObject
*resultobj
;
3449 wxRect
*arg1
= (wxRect
*) 0 ;
3451 PyObject
* obj0
= 0 ;
3453 (char *) "self", NULL
3456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetX",kwnames
,&obj0
)) goto fail
;
3457 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3458 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3461 result
= (int)((wxRect
const *)arg1
)->GetX();
3463 wxPyEndAllowThreads(__tstate
);
3464 if (PyErr_Occurred()) SWIG_fail
;
3466 resultobj
= SWIG_FromInt((int)result
);
3473 static PyObject
*_wrap_Rect_SetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3474 PyObject
*resultobj
;
3475 wxRect
*arg1
= (wxRect
*) 0 ;
3477 PyObject
* obj0
= 0 ;
3478 PyObject
* obj1
= 0 ;
3480 (char *) "self",(char *) "x", NULL
3483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetX",kwnames
,&obj0
,&obj1
)) goto fail
;
3484 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3485 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3486 arg2
= (int) SWIG_AsInt(obj1
);
3487 if (PyErr_Occurred()) SWIG_fail
;
3489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3492 wxPyEndAllowThreads(__tstate
);
3493 if (PyErr_Occurred()) SWIG_fail
;
3495 Py_INCREF(Py_None
); resultobj
= Py_None
;
3502 static PyObject
*_wrap_Rect_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3503 PyObject
*resultobj
;
3504 wxRect
*arg1
= (wxRect
*) 0 ;
3506 PyObject
* obj0
= 0 ;
3508 (char *) "self", NULL
3511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetY",kwnames
,&obj0
)) goto fail
;
3512 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3513 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3516 result
= (int)(arg1
)->GetY();
3518 wxPyEndAllowThreads(__tstate
);
3519 if (PyErr_Occurred()) SWIG_fail
;
3521 resultobj
= SWIG_FromInt((int)result
);
3528 static PyObject
*_wrap_Rect_SetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3529 PyObject
*resultobj
;
3530 wxRect
*arg1
= (wxRect
*) 0 ;
3532 PyObject
* obj0
= 0 ;
3533 PyObject
* obj1
= 0 ;
3535 (char *) "self",(char *) "y", NULL
3538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetY",kwnames
,&obj0
,&obj1
)) goto fail
;
3539 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3540 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3541 arg2
= (int) SWIG_AsInt(obj1
);
3542 if (PyErr_Occurred()) SWIG_fail
;
3544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3547 wxPyEndAllowThreads(__tstate
);
3548 if (PyErr_Occurred()) SWIG_fail
;
3550 Py_INCREF(Py_None
); resultobj
= Py_None
;
3557 static PyObject
*_wrap_Rect_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3558 PyObject
*resultobj
;
3559 wxRect
*arg1
= (wxRect
*) 0 ;
3561 PyObject
* obj0
= 0 ;
3563 (char *) "self", NULL
3566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetWidth",kwnames
,&obj0
)) goto fail
;
3567 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3568 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3571 result
= (int)((wxRect
const *)arg1
)->GetWidth();
3573 wxPyEndAllowThreads(__tstate
);
3574 if (PyErr_Occurred()) SWIG_fail
;
3576 resultobj
= SWIG_FromInt((int)result
);
3583 static PyObject
*_wrap_Rect_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3584 PyObject
*resultobj
;
3585 wxRect
*arg1
= (wxRect
*) 0 ;
3587 PyObject
* obj0
= 0 ;
3588 PyObject
* obj1
= 0 ;
3590 (char *) "self",(char *) "w", NULL
3593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
3594 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3595 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3596 arg2
= (int) SWIG_AsInt(obj1
);
3597 if (PyErr_Occurred()) SWIG_fail
;
3599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3600 (arg1
)->SetWidth(arg2
);
3602 wxPyEndAllowThreads(__tstate
);
3603 if (PyErr_Occurred()) SWIG_fail
;
3605 Py_INCREF(Py_None
); resultobj
= Py_None
;
3612 static PyObject
*_wrap_Rect_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3613 PyObject
*resultobj
;
3614 wxRect
*arg1
= (wxRect
*) 0 ;
3616 PyObject
* obj0
= 0 ;
3618 (char *) "self", NULL
3621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetHeight",kwnames
,&obj0
)) goto fail
;
3622 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3623 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3626 result
= (int)((wxRect
const *)arg1
)->GetHeight();
3628 wxPyEndAllowThreads(__tstate
);
3629 if (PyErr_Occurred()) SWIG_fail
;
3631 resultobj
= SWIG_FromInt((int)result
);
3638 static PyObject
*_wrap_Rect_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3639 PyObject
*resultobj
;
3640 wxRect
*arg1
= (wxRect
*) 0 ;
3642 PyObject
* obj0
= 0 ;
3643 PyObject
* obj1
= 0 ;
3645 (char *) "self",(char *) "h", NULL
3648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
3649 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3650 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3651 arg2
= (int) SWIG_AsInt(obj1
);
3652 if (PyErr_Occurred()) SWIG_fail
;
3654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3655 (arg1
)->SetHeight(arg2
);
3657 wxPyEndAllowThreads(__tstate
);
3658 if (PyErr_Occurred()) SWIG_fail
;
3660 Py_INCREF(Py_None
); resultobj
= Py_None
;
3667 static PyObject
*_wrap_Rect_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3668 PyObject
*resultobj
;
3669 wxRect
*arg1
= (wxRect
*) 0 ;
3671 PyObject
* obj0
= 0 ;
3673 (char *) "self", NULL
3676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetPosition",kwnames
,&obj0
)) goto fail
;
3677 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3678 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3681 result
= ((wxRect
const *)arg1
)->GetPosition();
3683 wxPyEndAllowThreads(__tstate
);
3684 if (PyErr_Occurred()) SWIG_fail
;
3687 wxPoint
* resultptr
;
3688 resultptr
= new wxPoint((wxPoint
&) result
);
3689 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3697 static PyObject
*_wrap_Rect_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3698 PyObject
*resultobj
;
3699 wxRect
*arg1
= (wxRect
*) 0 ;
3702 PyObject
* obj0
= 0 ;
3703 PyObject
* obj1
= 0 ;
3705 (char *) "self",(char *) "p", NULL
3708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
3709 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3710 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3713 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3717 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
3719 wxPyEndAllowThreads(__tstate
);
3720 if (PyErr_Occurred()) SWIG_fail
;
3722 Py_INCREF(Py_None
); resultobj
= Py_None
;
3729 static PyObject
*_wrap_Rect_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3730 PyObject
*resultobj
;
3731 wxRect
*arg1
= (wxRect
*) 0 ;
3733 PyObject
* obj0
= 0 ;
3735 (char *) "self", NULL
3738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetSize",kwnames
,&obj0
)) goto fail
;
3739 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3740 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3743 result
= ((wxRect
const *)arg1
)->GetSize();
3745 wxPyEndAllowThreads(__tstate
);
3746 if (PyErr_Occurred()) SWIG_fail
;
3750 resultptr
= new wxSize((wxSize
&) result
);
3751 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
3759 static PyObject
*_wrap_Rect_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3760 PyObject
*resultobj
;
3761 wxRect
*arg1
= (wxRect
*) 0 ;
3764 PyObject
* obj0
= 0 ;
3765 PyObject
* obj1
= 0 ;
3767 (char *) "self",(char *) "s", NULL
3770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
3771 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3772 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3775 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3779 (arg1
)->SetSize((wxSize
const &)*arg2
);
3781 wxPyEndAllowThreads(__tstate
);
3782 if (PyErr_Occurred()) SWIG_fail
;
3784 Py_INCREF(Py_None
); resultobj
= Py_None
;
3791 static PyObject
*_wrap_Rect_GetTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3792 PyObject
*resultobj
;
3793 wxRect
*arg1
= (wxRect
*) 0 ;
3795 PyObject
* obj0
= 0 ;
3797 (char *) "self", NULL
3800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetTopLeft",kwnames
,&obj0
)) goto fail
;
3801 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3802 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3805 result
= ((wxRect
const *)arg1
)->GetTopLeft();
3807 wxPyEndAllowThreads(__tstate
);
3808 if (PyErr_Occurred()) SWIG_fail
;
3811 wxPoint
* resultptr
;
3812 resultptr
= new wxPoint((wxPoint
&) result
);
3813 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3821 static PyObject
*_wrap_Rect_SetTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3822 PyObject
*resultobj
;
3823 wxRect
*arg1
= (wxRect
*) 0 ;
3826 PyObject
* obj0
= 0 ;
3827 PyObject
* obj1
= 0 ;
3829 (char *) "self",(char *) "p", NULL
3832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
3833 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3834 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3837 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3841 (arg1
)->SetTopLeft((wxPoint
const &)*arg2
);
3843 wxPyEndAllowThreads(__tstate
);
3844 if (PyErr_Occurred()) SWIG_fail
;
3846 Py_INCREF(Py_None
); resultobj
= Py_None
;
3853 static PyObject
*_wrap_Rect_GetBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3854 PyObject
*resultobj
;
3855 wxRect
*arg1
= (wxRect
*) 0 ;
3857 PyObject
* obj0
= 0 ;
3859 (char *) "self", NULL
3862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetBottomRight",kwnames
,&obj0
)) goto fail
;
3863 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3864 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3867 result
= ((wxRect
const *)arg1
)->GetBottomRight();
3869 wxPyEndAllowThreads(__tstate
);
3870 if (PyErr_Occurred()) SWIG_fail
;
3873 wxPoint
* resultptr
;
3874 resultptr
= new wxPoint((wxPoint
&) result
);
3875 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3883 static PyObject
*_wrap_Rect_SetBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3884 PyObject
*resultobj
;
3885 wxRect
*arg1
= (wxRect
*) 0 ;
3888 PyObject
* obj0
= 0 ;
3889 PyObject
* obj1
= 0 ;
3891 (char *) "self",(char *) "p", NULL
3894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
3895 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3896 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3899 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3903 (arg1
)->SetBottomRight((wxPoint
const &)*arg2
);
3905 wxPyEndAllowThreads(__tstate
);
3906 if (PyErr_Occurred()) SWIG_fail
;
3908 Py_INCREF(Py_None
); resultobj
= Py_None
;
3915 static PyObject
*_wrap_Rect_GetLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3916 PyObject
*resultobj
;
3917 wxRect
*arg1
= (wxRect
*) 0 ;
3919 PyObject
* obj0
= 0 ;
3921 (char *) "self", NULL
3924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetLeft",kwnames
,&obj0
)) goto fail
;
3925 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3926 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3929 result
= (int)((wxRect
const *)arg1
)->GetLeft();
3931 wxPyEndAllowThreads(__tstate
);
3932 if (PyErr_Occurred()) SWIG_fail
;
3934 resultobj
= SWIG_FromInt((int)result
);
3941 static PyObject
*_wrap_Rect_GetTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3942 PyObject
*resultobj
;
3943 wxRect
*arg1
= (wxRect
*) 0 ;
3945 PyObject
* obj0
= 0 ;
3947 (char *) "self", NULL
3950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetTop",kwnames
,&obj0
)) goto fail
;
3951 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3952 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3955 result
= (int)((wxRect
const *)arg1
)->GetTop();
3957 wxPyEndAllowThreads(__tstate
);
3958 if (PyErr_Occurred()) SWIG_fail
;
3960 resultobj
= SWIG_FromInt((int)result
);
3967 static PyObject
*_wrap_Rect_GetBottom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3968 PyObject
*resultobj
;
3969 wxRect
*arg1
= (wxRect
*) 0 ;
3971 PyObject
* obj0
= 0 ;
3973 (char *) "self", NULL
3976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetBottom",kwnames
,&obj0
)) goto fail
;
3977 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3978 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3981 result
= (int)((wxRect
const *)arg1
)->GetBottom();
3983 wxPyEndAllowThreads(__tstate
);
3984 if (PyErr_Occurred()) SWIG_fail
;
3986 resultobj
= SWIG_FromInt((int)result
);
3993 static PyObject
*_wrap_Rect_GetRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3994 PyObject
*resultobj
;
3995 wxRect
*arg1
= (wxRect
*) 0 ;
3997 PyObject
* obj0
= 0 ;
3999 (char *) "self", NULL
4002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetRight",kwnames
,&obj0
)) goto fail
;
4003 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4004 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4007 result
= (int)((wxRect
const *)arg1
)->GetRight();
4009 wxPyEndAllowThreads(__tstate
);
4010 if (PyErr_Occurred()) SWIG_fail
;
4012 resultobj
= SWIG_FromInt((int)result
);
4019 static PyObject
*_wrap_Rect_SetLeft(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 *) "left", NULL
4029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetLeft",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
)->SetLeft(arg2
);
4038 wxPyEndAllowThreads(__tstate
);
4039 if (PyErr_Occurred()) SWIG_fail
;
4041 Py_INCREF(Py_None
); resultobj
= Py_None
;
4048 static PyObject
*_wrap_Rect_SetRight(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 *) "right", NULL
4058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetRight",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
)->SetRight(arg2
);
4067 wxPyEndAllowThreads(__tstate
);
4068 if (PyErr_Occurred()) SWIG_fail
;
4070 Py_INCREF(Py_None
); resultobj
= Py_None
;
4077 static PyObject
*_wrap_Rect_SetTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4078 PyObject
*resultobj
;
4079 wxRect
*arg1
= (wxRect
*) 0 ;
4081 PyObject
* obj0
= 0 ;
4082 PyObject
* obj1
= 0 ;
4084 (char *) "self",(char *) "top", NULL
4087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetTop",kwnames
,&obj0
,&obj1
)) goto fail
;
4088 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4089 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4090 arg2
= (int) SWIG_AsInt(obj1
);
4091 if (PyErr_Occurred()) SWIG_fail
;
4093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4094 (arg1
)->SetTop(arg2
);
4096 wxPyEndAllowThreads(__tstate
);
4097 if (PyErr_Occurred()) SWIG_fail
;
4099 Py_INCREF(Py_None
); resultobj
= Py_None
;
4106 static PyObject
*_wrap_Rect_SetBottom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4107 PyObject
*resultobj
;
4108 wxRect
*arg1
= (wxRect
*) 0 ;
4110 PyObject
* obj0
= 0 ;
4111 PyObject
* obj1
= 0 ;
4113 (char *) "self",(char *) "bottom", NULL
4116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetBottom",kwnames
,&obj0
,&obj1
)) goto fail
;
4117 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4118 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4119 arg2
= (int) SWIG_AsInt(obj1
);
4120 if (PyErr_Occurred()) SWIG_fail
;
4122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4123 (arg1
)->SetBottom(arg2
);
4125 wxPyEndAllowThreads(__tstate
);
4126 if (PyErr_Occurred()) SWIG_fail
;
4128 Py_INCREF(Py_None
); resultobj
= Py_None
;
4135 static PyObject
*_wrap_Rect_Inflate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4136 PyObject
*resultobj
;
4137 wxRect
*arg1
= (wxRect
*) 0 ;
4141 PyObject
* obj0
= 0 ;
4142 PyObject
* obj1
= 0 ;
4143 PyObject
* obj2
= 0 ;
4145 (char *) "self",(char *) "dx",(char *) "dy", NULL
4148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_Inflate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4149 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4150 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4151 arg2
= (int) SWIG_AsInt(obj1
);
4152 if (PyErr_Occurred()) SWIG_fail
;
4153 arg3
= (int) SWIG_AsInt(obj2
);
4154 if (PyErr_Occurred()) SWIG_fail
;
4156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4158 wxRect
&_result_ref
= (arg1
)->Inflate(arg2
,arg3
);
4159 result
= (wxRect
*) &_result_ref
;
4162 wxPyEndAllowThreads(__tstate
);
4163 if (PyErr_Occurred()) SWIG_fail
;
4165 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
4172 static PyObject
*_wrap_Rect_Deflate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4173 PyObject
*resultobj
;
4174 wxRect
*arg1
= (wxRect
*) 0 ;
4178 PyObject
* obj0
= 0 ;
4179 PyObject
* obj1
= 0 ;
4180 PyObject
* obj2
= 0 ;
4182 (char *) "self",(char *) "dx",(char *) "dy", NULL
4185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_Deflate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4186 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4187 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4188 arg2
= (int) SWIG_AsInt(obj1
);
4189 if (PyErr_Occurred()) SWIG_fail
;
4190 arg3
= (int) SWIG_AsInt(obj2
);
4191 if (PyErr_Occurred()) SWIG_fail
;
4193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4195 wxRect
&_result_ref
= (arg1
)->Deflate(arg2
,arg3
);
4196 result
= (wxRect
*) &_result_ref
;
4199 wxPyEndAllowThreads(__tstate
);
4200 if (PyErr_Occurred()) SWIG_fail
;
4202 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
4209 static PyObject
*_wrap_Rect_OffsetXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4210 PyObject
*resultobj
;
4211 wxRect
*arg1
= (wxRect
*) 0 ;
4214 PyObject
* obj0
= 0 ;
4215 PyObject
* obj1
= 0 ;
4216 PyObject
* obj2
= 0 ;
4218 (char *) "self",(char *) "dx",(char *) "dy", NULL
4221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_OffsetXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4222 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4223 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4224 arg2
= (int) SWIG_AsInt(obj1
);
4225 if (PyErr_Occurred()) SWIG_fail
;
4226 arg3
= (int) SWIG_AsInt(obj2
);
4227 if (PyErr_Occurred()) SWIG_fail
;
4229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4230 (arg1
)->Offset(arg2
,arg3
);
4232 wxPyEndAllowThreads(__tstate
);
4233 if (PyErr_Occurred()) SWIG_fail
;
4235 Py_INCREF(Py_None
); resultobj
= Py_None
;
4242 static PyObject
*_wrap_Rect_Offset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4243 PyObject
*resultobj
;
4244 wxRect
*arg1
= (wxRect
*) 0 ;
4247 PyObject
* obj0
= 0 ;
4248 PyObject
* obj1
= 0 ;
4250 (char *) "self",(char *) "pt", NULL
4253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Offset",kwnames
,&obj0
,&obj1
)) goto fail
;
4254 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4255 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4258 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4262 (arg1
)->Offset((wxPoint
const &)*arg2
);
4264 wxPyEndAllowThreads(__tstate
);
4265 if (PyErr_Occurred()) SWIG_fail
;
4267 Py_INCREF(Py_None
); resultobj
= Py_None
;
4274 static PyObject
*_wrap_Rect_Intersect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4275 PyObject
*resultobj
;
4276 wxRect
*arg1
= (wxRect
*) 0 ;
4280 PyObject
* obj0
= 0 ;
4281 PyObject
* obj1
= 0 ;
4283 (char *) "self",(char *) "rect", NULL
4286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Intersect",kwnames
,&obj0
,&obj1
)) goto fail
;
4287 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4288 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4291 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4296 wxRect
&_result_ref
= (arg1
)->Intersect((wxRect
const &)*arg2
);
4297 result
= (wxRect
*) &_result_ref
;
4300 wxPyEndAllowThreads(__tstate
);
4301 if (PyErr_Occurred()) SWIG_fail
;
4303 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
4310 static PyObject
*_wrap_Rect___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4311 PyObject
*resultobj
;
4312 wxRect
*arg1
= (wxRect
*) 0 ;
4316 PyObject
* obj0
= 0 ;
4317 PyObject
* obj1
= 0 ;
4319 (char *) "self",(char *) "rect", NULL
4322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
4323 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4324 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4327 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4331 result
= ((wxRect
const *)arg1
)->operator +((wxRect
const &)*arg2
);
4333 wxPyEndAllowThreads(__tstate
);
4334 if (PyErr_Occurred()) SWIG_fail
;
4338 resultptr
= new wxRect((wxRect
&) result
);
4339 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
4347 static PyObject
*_wrap_Rect___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4348 PyObject
*resultobj
;
4349 wxRect
*arg1
= (wxRect
*) 0 ;
4353 PyObject
* obj0
= 0 ;
4354 PyObject
* obj1
= 0 ;
4356 (char *) "self",(char *) "rect", NULL
4359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
4360 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4361 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4364 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4369 wxRect
&_result_ref
= (arg1
)->operator +=((wxRect
const &)*arg2
);
4370 result
= (wxRect
*) &_result_ref
;
4373 wxPyEndAllowThreads(__tstate
);
4374 if (PyErr_Occurred()) SWIG_fail
;
4376 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
4383 static PyObject
*_wrap_Rect___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4384 PyObject
*resultobj
;
4385 wxRect
*arg1
= (wxRect
*) 0 ;
4389 PyObject
* obj0
= 0 ;
4390 PyObject
* obj1
= 0 ;
4392 (char *) "self",(char *) "rect", NULL
4395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
4396 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4397 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4400 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4404 result
= (bool)((wxRect
const *)arg1
)->operator ==((wxRect
const &)*arg2
);
4406 wxPyEndAllowThreads(__tstate
);
4407 if (PyErr_Occurred()) SWIG_fail
;
4410 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4418 static PyObject
*_wrap_Rect___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4419 PyObject
*resultobj
;
4420 wxRect
*arg1
= (wxRect
*) 0 ;
4424 PyObject
* obj0
= 0 ;
4425 PyObject
* obj1
= 0 ;
4427 (char *) "self",(char *) "rect", NULL
4430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
4431 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4432 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4435 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4439 result
= (bool)((wxRect
const *)arg1
)->operator !=((wxRect
const &)*arg2
);
4441 wxPyEndAllowThreads(__tstate
);
4442 if (PyErr_Occurred()) SWIG_fail
;
4445 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4453 static PyObject
*_wrap_Rect_InsideXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4454 PyObject
*resultobj
;
4455 wxRect
*arg1
= (wxRect
*) 0 ;
4459 PyObject
* obj0
= 0 ;
4460 PyObject
* obj1
= 0 ;
4461 PyObject
* obj2
= 0 ;
4463 (char *) "self",(char *) "x",(char *) "y", NULL
4466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_InsideXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4467 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4468 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4469 arg2
= (int) SWIG_AsInt(obj1
);
4470 if (PyErr_Occurred()) SWIG_fail
;
4471 arg3
= (int) SWIG_AsInt(obj2
);
4472 if (PyErr_Occurred()) SWIG_fail
;
4474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4475 result
= (bool)((wxRect
const *)arg1
)->Inside(arg2
,arg3
);
4477 wxPyEndAllowThreads(__tstate
);
4478 if (PyErr_Occurred()) SWIG_fail
;
4481 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4489 static PyObject
*_wrap_Rect_Inside(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4490 PyObject
*resultobj
;
4491 wxRect
*arg1
= (wxRect
*) 0 ;
4495 PyObject
* obj0
= 0 ;
4496 PyObject
* obj1
= 0 ;
4498 (char *) "self",(char *) "pt", NULL
4501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Inside",kwnames
,&obj0
,&obj1
)) goto fail
;
4502 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4503 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4506 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4510 result
= (bool)((wxRect
const *)arg1
)->Inside((wxPoint
const &)*arg2
);
4512 wxPyEndAllowThreads(__tstate
);
4513 if (PyErr_Occurred()) SWIG_fail
;
4516 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4524 static PyObject
*_wrap_Rect_Intersects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4525 PyObject
*resultobj
;
4526 wxRect
*arg1
= (wxRect
*) 0 ;
4530 PyObject
* obj0
= 0 ;
4531 PyObject
* obj1
= 0 ;
4533 (char *) "self",(char *) "rect", NULL
4536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Intersects",kwnames
,&obj0
,&obj1
)) goto fail
;
4537 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4538 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4541 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4545 result
= (bool)((wxRect
const *)arg1
)->Intersects((wxRect
const &)*arg2
);
4547 wxPyEndAllowThreads(__tstate
);
4548 if (PyErr_Occurred()) SWIG_fail
;
4551 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4559 static PyObject
*_wrap_Rect_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4560 PyObject
*resultobj
;
4561 wxRect
*arg1
= (wxRect
*) 0 ;
4563 PyObject
* obj0
= 0 ;
4564 PyObject
* obj1
= 0 ;
4566 (char *) "self",(char *) "x", NULL
4569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4570 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4571 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4572 arg2
= (int) SWIG_AsInt(obj1
);
4573 if (PyErr_Occurred()) SWIG_fail
;
4574 if (arg1
) (arg1
)->x
= arg2
;
4576 Py_INCREF(Py_None
); resultobj
= Py_None
;
4583 static PyObject
*_wrap_Rect_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4584 PyObject
*resultobj
;
4585 wxRect
*arg1
= (wxRect
*) 0 ;
4587 PyObject
* obj0
= 0 ;
4589 (char *) "self", NULL
4592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_x_get",kwnames
,&obj0
)) goto fail
;
4593 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4594 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4595 result
= (int) ((arg1
)->x
);
4597 resultobj
= SWIG_FromInt((int)result
);
4604 static PyObject
*_wrap_Rect_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4605 PyObject
*resultobj
;
4606 wxRect
*arg1
= (wxRect
*) 0 ;
4608 PyObject
* obj0
= 0 ;
4609 PyObject
* obj1
= 0 ;
4611 (char *) "self",(char *) "y", NULL
4614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4615 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4616 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4617 arg2
= (int) SWIG_AsInt(obj1
);
4618 if (PyErr_Occurred()) SWIG_fail
;
4619 if (arg1
) (arg1
)->y
= arg2
;
4621 Py_INCREF(Py_None
); resultobj
= Py_None
;
4628 static PyObject
*_wrap_Rect_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4629 PyObject
*resultobj
;
4630 wxRect
*arg1
= (wxRect
*) 0 ;
4632 PyObject
* obj0
= 0 ;
4634 (char *) "self", NULL
4637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_y_get",kwnames
,&obj0
)) goto fail
;
4638 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4639 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4640 result
= (int) ((arg1
)->y
);
4642 resultobj
= SWIG_FromInt((int)result
);
4649 static PyObject
*_wrap_Rect_width_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4650 PyObject
*resultobj
;
4651 wxRect
*arg1
= (wxRect
*) 0 ;
4653 PyObject
* obj0
= 0 ;
4654 PyObject
* obj1
= 0 ;
4656 (char *) "self",(char *) "width", NULL
4659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4660 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4661 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4662 arg2
= (int) SWIG_AsInt(obj1
);
4663 if (PyErr_Occurred()) SWIG_fail
;
4664 if (arg1
) (arg1
)->width
= arg2
;
4666 Py_INCREF(Py_None
); resultobj
= Py_None
;
4673 static PyObject
*_wrap_Rect_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4674 PyObject
*resultobj
;
4675 wxRect
*arg1
= (wxRect
*) 0 ;
4677 PyObject
* obj0
= 0 ;
4679 (char *) "self", NULL
4682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_width_get",kwnames
,&obj0
)) goto fail
;
4683 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4684 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4685 result
= (int) ((arg1
)->width
);
4687 resultobj
= SWIG_FromInt((int)result
);
4694 static PyObject
*_wrap_Rect_height_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4695 PyObject
*resultobj
;
4696 wxRect
*arg1
= (wxRect
*) 0 ;
4698 PyObject
* obj0
= 0 ;
4699 PyObject
* obj1
= 0 ;
4701 (char *) "self",(char *) "height", NULL
4704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_height_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4705 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4706 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4707 arg2
= (int) SWIG_AsInt(obj1
);
4708 if (PyErr_Occurred()) SWIG_fail
;
4709 if (arg1
) (arg1
)->height
= arg2
;
4711 Py_INCREF(Py_None
); resultobj
= Py_None
;
4718 static PyObject
*_wrap_Rect_height_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4719 PyObject
*resultobj
;
4720 wxRect
*arg1
= (wxRect
*) 0 ;
4722 PyObject
* obj0
= 0 ;
4724 (char *) "self", NULL
4727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_height_get",kwnames
,&obj0
)) goto fail
;
4728 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4729 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4730 result
= (int) ((arg1
)->height
);
4732 resultobj
= SWIG_FromInt((int)result
);
4739 static PyObject
*_wrap_Rect_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4740 PyObject
*resultobj
;
4741 wxRect
*arg1
= (wxRect
*) 0 ;
4742 int arg2
= (int) 0 ;
4743 int arg3
= (int) 0 ;
4744 int arg4
= (int) 0 ;
4745 int arg5
= (int) 0 ;
4746 PyObject
* obj0
= 0 ;
4747 PyObject
* obj1
= 0 ;
4748 PyObject
* obj2
= 0 ;
4749 PyObject
* obj3
= 0 ;
4750 PyObject
* obj4
= 0 ;
4752 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
4755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Rect_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
4756 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4757 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4759 arg2
= (int) SWIG_AsInt(obj1
);
4760 if (PyErr_Occurred()) SWIG_fail
;
4763 arg3
= (int) SWIG_AsInt(obj2
);
4764 if (PyErr_Occurred()) SWIG_fail
;
4767 arg4
= (int) SWIG_AsInt(obj3
);
4768 if (PyErr_Occurred()) SWIG_fail
;
4771 arg5
= (int) SWIG_AsInt(obj4
);
4772 if (PyErr_Occurred()) SWIG_fail
;
4775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4776 wxRect_Set(arg1
,arg2
,arg3
,arg4
,arg5
);
4778 wxPyEndAllowThreads(__tstate
);
4779 if (PyErr_Occurred()) SWIG_fail
;
4781 Py_INCREF(Py_None
); resultobj
= Py_None
;
4788 static PyObject
*_wrap_Rect_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4789 PyObject
*resultobj
;
4790 wxRect
*arg1
= (wxRect
*) 0 ;
4792 PyObject
* obj0
= 0 ;
4794 (char *) "self", NULL
4797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_Get",kwnames
,&obj0
)) goto fail
;
4798 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4799 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4802 result
= (PyObject
*)wxRect_Get(arg1
);
4804 wxPyEndAllowThreads(__tstate
);
4805 if (PyErr_Occurred()) SWIG_fail
;
4814 static PyObject
* Rect_swigregister(PyObject
*self
, PyObject
*args
) {
4816 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4817 SWIG_TypeClientData(SWIGTYPE_p_wxRect
, obj
);
4819 return Py_BuildValue((char *)"");
4821 static PyObject
*_wrap_IntersectRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4822 PyObject
*resultobj
;
4823 wxRect
*arg1
= (wxRect
*) 0 ;
4824 wxRect
*arg2
= (wxRect
*) 0 ;
4826 PyObject
* obj0
= 0 ;
4827 PyObject
* obj1
= 0 ;
4829 (char *) "r1",(char *) "r2", NULL
4832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IntersectRect",kwnames
,&obj0
,&obj1
)) goto fail
;
4833 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4834 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4835 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRect
,
4836 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4838 if (!wxPyCheckForApp()) SWIG_fail
;
4839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4840 result
= (PyObject
*)wxIntersectRect(arg1
,arg2
);
4842 wxPyEndAllowThreads(__tstate
);
4843 if (PyErr_Occurred()) SWIG_fail
;
4852 static PyObject
*_wrap_new_Point2D(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4853 PyObject
*resultobj
;
4854 double arg1
= (double) 0.0 ;
4855 double arg2
= (double) 0.0 ;
4857 PyObject
* obj0
= 0 ;
4858 PyObject
* obj1
= 0 ;
4860 (char *) "x",(char *) "y", NULL
4863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Point2D",kwnames
,&obj0
,&obj1
)) goto fail
;
4865 arg1
= (double) SWIG_AsDouble(obj0
);
4866 if (PyErr_Occurred()) SWIG_fail
;
4869 arg2
= (double) SWIG_AsDouble(obj1
);
4870 if (PyErr_Occurred()) SWIG_fail
;
4873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4874 result
= (wxPoint2D
*)new wxPoint2D(arg1
,arg2
);
4876 wxPyEndAllowThreads(__tstate
);
4877 if (PyErr_Occurred()) SWIG_fail
;
4879 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
4886 static PyObject
*_wrap_new_Point2DCopy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4887 PyObject
*resultobj
;
4888 wxPoint2D
*arg1
= 0 ;
4891 PyObject
* obj0
= 0 ;
4896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Point2DCopy",kwnames
,&obj0
)) goto fail
;
4899 if ( ! wxPoint2D_helper(obj0
, &arg1
)) SWIG_fail
;
4902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4903 result
= (wxPoint2D
*)new wxPoint2D((wxPoint2D
const &)*arg1
);
4905 wxPyEndAllowThreads(__tstate
);
4906 if (PyErr_Occurred()) SWIG_fail
;
4908 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
4915 static PyObject
*_wrap_new_Point2DFromPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4916 PyObject
*resultobj
;
4920 PyObject
* obj0
= 0 ;
4925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Point2DFromPoint",kwnames
,&obj0
)) goto fail
;
4928 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
4931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4932 result
= (wxPoint2D
*)new wxPoint2D((wxPoint
const &)*arg1
);
4934 wxPyEndAllowThreads(__tstate
);
4935 if (PyErr_Occurred()) SWIG_fail
;
4937 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
4944 static PyObject
*_wrap_Point2D_GetFloor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4945 PyObject
*resultobj
;
4946 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4947 int *arg2
= (int *) 0 ;
4948 int *arg3
= (int *) 0 ;
4951 PyObject
* obj0
= 0 ;
4953 (char *) "self", NULL
4958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetFloor",kwnames
,&obj0
)) goto fail
;
4959 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
4960 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4963 ((wxPoint2D
const *)arg1
)->GetFloor(arg2
,arg3
);
4965 wxPyEndAllowThreads(__tstate
);
4966 if (PyErr_Occurred()) SWIG_fail
;
4968 Py_INCREF(Py_None
); resultobj
= Py_None
;
4970 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4971 resultobj
= t_output_helper(resultobj
,o
);
4974 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
4975 resultobj
= t_output_helper(resultobj
,o
);
4983 static PyObject
*_wrap_Point2D_GetRounded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4984 PyObject
*resultobj
;
4985 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4986 int *arg2
= (int *) 0 ;
4987 int *arg3
= (int *) 0 ;
4990 PyObject
* obj0
= 0 ;
4992 (char *) "self", NULL
4997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetRounded",kwnames
,&obj0
)) goto fail
;
4998 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
4999 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5002 ((wxPoint2D
const *)arg1
)->GetRounded(arg2
,arg3
);
5004 wxPyEndAllowThreads(__tstate
);
5005 if (PyErr_Occurred()) SWIG_fail
;
5007 Py_INCREF(Py_None
); resultobj
= Py_None
;
5009 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
5010 resultobj
= t_output_helper(resultobj
,o
);
5013 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
5014 resultobj
= t_output_helper(resultobj
,o
);
5022 static PyObject
*_wrap_Point2D_GetVectorLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5023 PyObject
*resultobj
;
5024 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5026 PyObject
* obj0
= 0 ;
5028 (char *) "self", NULL
5031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetVectorLength",kwnames
,&obj0
)) goto fail
;
5032 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5033 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5036 result
= (double)((wxPoint2D
const *)arg1
)->GetVectorLength();
5038 wxPyEndAllowThreads(__tstate
);
5039 if (PyErr_Occurred()) SWIG_fail
;
5041 resultobj
= SWIG_FromDouble((double)result
);
5048 static PyObject
*_wrap_Point2D_GetVectorAngle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5049 PyObject
*resultobj
;
5050 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5052 PyObject
* obj0
= 0 ;
5054 (char *) "self", NULL
5057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetVectorAngle",kwnames
,&obj0
)) goto fail
;
5058 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5059 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5062 result
= (double)((wxPoint2D
const *)arg1
)->GetVectorAngle();
5064 wxPyEndAllowThreads(__tstate
);
5065 if (PyErr_Occurred()) SWIG_fail
;
5067 resultobj
= SWIG_FromDouble((double)result
);
5074 static PyObject
*_wrap_Point2D_SetVectorLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5075 PyObject
*resultobj
;
5076 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5078 PyObject
* obj0
= 0 ;
5079 PyObject
* obj1
= 0 ;
5081 (char *) "self",(char *) "length", NULL
5084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_SetVectorLength",kwnames
,&obj0
,&obj1
)) goto fail
;
5085 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5086 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5087 arg2
= (double) SWIG_AsDouble(obj1
);
5088 if (PyErr_Occurred()) SWIG_fail
;
5090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5091 (arg1
)->SetVectorLength(arg2
);
5093 wxPyEndAllowThreads(__tstate
);
5094 if (PyErr_Occurred()) SWIG_fail
;
5096 Py_INCREF(Py_None
); resultobj
= Py_None
;
5103 static PyObject
*_wrap_Point2D_SetVectorAngle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5104 PyObject
*resultobj
;
5105 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5107 PyObject
* obj0
= 0 ;
5108 PyObject
* obj1
= 0 ;
5110 (char *) "self",(char *) "degrees", NULL
5113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_SetVectorAngle",kwnames
,&obj0
,&obj1
)) goto fail
;
5114 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5115 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5116 arg2
= (double) SWIG_AsDouble(obj1
);
5117 if (PyErr_Occurred()) SWIG_fail
;
5119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5120 (arg1
)->SetVectorAngle(arg2
);
5122 wxPyEndAllowThreads(__tstate
);
5123 if (PyErr_Occurred()) SWIG_fail
;
5125 Py_INCREF(Py_None
); resultobj
= Py_None
;
5132 static PyObject
*_wrap_Point2D_GetDistance(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5133 PyObject
*resultobj
;
5134 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5135 wxPoint2D
*arg2
= 0 ;
5138 PyObject
* obj0
= 0 ;
5139 PyObject
* obj1
= 0 ;
5141 (char *) "self",(char *) "pt", NULL
5144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDistance",kwnames
,&obj0
,&obj1
)) goto fail
;
5145 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5146 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5149 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5153 result
= (double)((wxPoint2D
const *)arg1
)->GetDistance((wxPoint2D
const &)*arg2
);
5155 wxPyEndAllowThreads(__tstate
);
5156 if (PyErr_Occurred()) SWIG_fail
;
5158 resultobj
= SWIG_FromDouble((double)result
);
5165 static PyObject
*_wrap_Point2D_GetDistanceSquare(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5166 PyObject
*resultobj
;
5167 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5168 wxPoint2D
*arg2
= 0 ;
5171 PyObject
* obj0
= 0 ;
5172 PyObject
* obj1
= 0 ;
5174 (char *) "self",(char *) "pt", NULL
5177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDistanceSquare",kwnames
,&obj0
,&obj1
)) goto fail
;
5178 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5179 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5182 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5186 result
= (double)((wxPoint2D
const *)arg1
)->GetDistanceSquare((wxPoint2D
const &)*arg2
);
5188 wxPyEndAllowThreads(__tstate
);
5189 if (PyErr_Occurred()) SWIG_fail
;
5191 resultobj
= SWIG_FromDouble((double)result
);
5198 static PyObject
*_wrap_Point2D_GetDotProduct(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5199 PyObject
*resultobj
;
5200 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5201 wxPoint2D
*arg2
= 0 ;
5204 PyObject
* obj0
= 0 ;
5205 PyObject
* obj1
= 0 ;
5207 (char *) "self",(char *) "vec", NULL
5210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDotProduct",kwnames
,&obj0
,&obj1
)) goto fail
;
5211 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5212 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5215 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5219 result
= (double)((wxPoint2D
const *)arg1
)->GetDotProduct((wxPoint2D
const &)*arg2
);
5221 wxPyEndAllowThreads(__tstate
);
5222 if (PyErr_Occurred()) SWIG_fail
;
5224 resultobj
= SWIG_FromDouble((double)result
);
5231 static PyObject
*_wrap_Point2D_GetCrossProduct(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5232 PyObject
*resultobj
;
5233 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5234 wxPoint2D
*arg2
= 0 ;
5237 PyObject
* obj0
= 0 ;
5238 PyObject
* obj1
= 0 ;
5240 (char *) "self",(char *) "vec", NULL
5243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetCrossProduct",kwnames
,&obj0
,&obj1
)) goto fail
;
5244 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5245 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5248 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5252 result
= (double)((wxPoint2D
const *)arg1
)->GetCrossProduct((wxPoint2D
const &)*arg2
);
5254 wxPyEndAllowThreads(__tstate
);
5255 if (PyErr_Occurred()) SWIG_fail
;
5257 resultobj
= SWIG_FromDouble((double)result
);
5264 static PyObject
*_wrap_Point2D___neg__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5265 PyObject
*resultobj
;
5266 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5268 PyObject
* obj0
= 0 ;
5270 (char *) "self", NULL
5273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D___neg__",kwnames
,&obj0
)) goto fail
;
5274 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5275 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5278 result
= (arg1
)->operator -();
5280 wxPyEndAllowThreads(__tstate
);
5281 if (PyErr_Occurred()) SWIG_fail
;
5284 wxPoint2D
* resultptr
;
5285 resultptr
= new wxPoint2D((wxPoint2D
&) result
);
5286 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint2D
, 1);
5294 static PyObject
*_wrap_Point2D___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5295 PyObject
*resultobj
;
5296 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5297 wxPoint2D
*arg2
= 0 ;
5300 PyObject
* obj0
= 0 ;
5301 PyObject
* obj1
= 0 ;
5303 (char *) "self",(char *) "pt", NULL
5306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
5307 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5308 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5311 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5316 wxPoint2D
&_result_ref
= (arg1
)->operator +=((wxPoint2D
const &)*arg2
);
5317 result
= (wxPoint2D
*) &_result_ref
;
5320 wxPyEndAllowThreads(__tstate
);
5321 if (PyErr_Occurred()) SWIG_fail
;
5323 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 0);
5330 static PyObject
*_wrap_Point2D___isub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5331 PyObject
*resultobj
;
5332 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5333 wxPoint2D
*arg2
= 0 ;
5336 PyObject
* obj0
= 0 ;
5337 PyObject
* obj1
= 0 ;
5339 (char *) "self",(char *) "pt", NULL
5342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
5343 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5344 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5347 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5352 wxPoint2D
&_result_ref
= (arg1
)->operator -=((wxPoint2D
const &)*arg2
);
5353 result
= (wxPoint2D
*) &_result_ref
;
5356 wxPyEndAllowThreads(__tstate
);
5357 if (PyErr_Occurred()) SWIG_fail
;
5359 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 0);
5366 static PyObject
*_wrap_Point2D___imul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5367 PyObject
*resultobj
;
5368 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5369 wxPoint2D
*arg2
= 0 ;
5372 PyObject
* obj0
= 0 ;
5373 PyObject
* obj1
= 0 ;
5375 (char *) "self",(char *) "pt", NULL
5378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
5379 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5380 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5383 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5388 wxPoint2D
&_result_ref
= (arg1
)->operator *=((wxPoint2D
const &)*arg2
);
5389 result
= (wxPoint2D
*) &_result_ref
;
5392 wxPyEndAllowThreads(__tstate
);
5393 if (PyErr_Occurred()) SWIG_fail
;
5395 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 0);
5402 static PyObject
*_wrap_Point2D___idiv__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5403 PyObject
*resultobj
;
5404 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5405 wxPoint2D
*arg2
= 0 ;
5408 PyObject
* obj0
= 0 ;
5409 PyObject
* obj1
= 0 ;
5411 (char *) "self",(char *) "pt", NULL
5414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___idiv__",kwnames
,&obj0
,&obj1
)) goto fail
;
5415 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5416 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5419 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5424 wxPoint2D
&_result_ref
= (arg1
)->operator /=((wxPoint2D
const &)*arg2
);
5425 result
= (wxPoint2D
*) &_result_ref
;
5428 wxPyEndAllowThreads(__tstate
);
5429 if (PyErr_Occurred()) SWIG_fail
;
5431 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 0);
5438 static PyObject
*_wrap_Point2D___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5439 PyObject
*resultobj
;
5440 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5441 wxPoint2D
*arg2
= 0 ;
5444 PyObject
* obj0
= 0 ;
5445 PyObject
* obj1
= 0 ;
5447 (char *) "self",(char *) "pt", NULL
5450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
5451 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5452 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5455 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5459 result
= (bool)((wxPoint2D
const *)arg1
)->operator ==((wxPoint2D
const &)*arg2
);
5461 wxPyEndAllowThreads(__tstate
);
5462 if (PyErr_Occurred()) SWIG_fail
;
5465 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5473 static PyObject
*_wrap_Point2D___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5474 PyObject
*resultobj
;
5475 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5476 wxPoint2D
*arg2
= 0 ;
5479 PyObject
* obj0
= 0 ;
5480 PyObject
* obj1
= 0 ;
5482 (char *) "self",(char *) "pt", NULL
5485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
5486 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5487 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5490 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5494 result
= (bool)((wxPoint2D
const *)arg1
)->operator !=((wxPoint2D
const &)*arg2
);
5496 wxPyEndAllowThreads(__tstate
);
5497 if (PyErr_Occurred()) SWIG_fail
;
5500 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5508 static PyObject
*_wrap_Point2D_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5509 PyObject
*resultobj
;
5510 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5512 PyObject
* obj0
= 0 ;
5513 PyObject
* obj1
= 0 ;
5515 (char *) "self",(char *) "m_x", NULL
5518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
5519 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5520 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5521 arg2
= (double) SWIG_AsDouble(obj1
);
5522 if (PyErr_Occurred()) SWIG_fail
;
5523 if (arg1
) (arg1
)->m_x
= arg2
;
5525 Py_INCREF(Py_None
); resultobj
= Py_None
;
5532 static PyObject
*_wrap_Point2D_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5533 PyObject
*resultobj
;
5534 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5536 PyObject
* obj0
= 0 ;
5538 (char *) "self", NULL
5541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_x_get",kwnames
,&obj0
)) goto fail
;
5542 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5543 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5544 result
= (double) ((arg1
)->m_x
);
5546 resultobj
= SWIG_FromDouble((double)result
);
5553 static PyObject
*_wrap_Point2D_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5554 PyObject
*resultobj
;
5555 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5557 PyObject
* obj0
= 0 ;
5558 PyObject
* obj1
= 0 ;
5560 (char *) "self",(char *) "m_y", NULL
5563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
5564 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5565 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5566 arg2
= (double) SWIG_AsDouble(obj1
);
5567 if (PyErr_Occurred()) SWIG_fail
;
5568 if (arg1
) (arg1
)->m_y
= arg2
;
5570 Py_INCREF(Py_None
); resultobj
= Py_None
;
5577 static PyObject
*_wrap_Point2D_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5578 PyObject
*resultobj
;
5579 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5581 PyObject
* obj0
= 0 ;
5583 (char *) "self", NULL
5586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_y_get",kwnames
,&obj0
)) goto fail
;
5587 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5588 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5589 result
= (double) ((arg1
)->m_y
);
5591 resultobj
= SWIG_FromDouble((double)result
);
5598 static PyObject
*_wrap_Point2D_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5599 PyObject
*resultobj
;
5600 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5601 double arg2
= (double) 0 ;
5602 double arg3
= (double) 0 ;
5603 PyObject
* obj0
= 0 ;
5604 PyObject
* obj1
= 0 ;
5605 PyObject
* obj2
= 0 ;
5607 (char *) "self",(char *) "x",(char *) "y", NULL
5610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Point2D_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5611 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5612 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5614 arg2
= (double) SWIG_AsDouble(obj1
);
5615 if (PyErr_Occurred()) SWIG_fail
;
5618 arg3
= (double) SWIG_AsDouble(obj2
);
5619 if (PyErr_Occurred()) SWIG_fail
;
5622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5623 wxPoint2D_Set(arg1
,arg2
,arg3
);
5625 wxPyEndAllowThreads(__tstate
);
5626 if (PyErr_Occurred()) SWIG_fail
;
5628 Py_INCREF(Py_None
); resultobj
= Py_None
;
5635 static PyObject
*_wrap_Point2D_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5636 PyObject
*resultobj
;
5637 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5639 PyObject
* obj0
= 0 ;
5641 (char *) "self", NULL
5644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_Get",kwnames
,&obj0
)) goto fail
;
5645 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5646 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5649 result
= (PyObject
*)wxPoint2D_Get(arg1
);
5651 wxPyEndAllowThreads(__tstate
);
5652 if (PyErr_Occurred()) SWIG_fail
;
5661 static PyObject
* Point2D_swigregister(PyObject
*self
, PyObject
*args
) {
5663 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5664 SWIG_TypeClientData(SWIGTYPE_p_wxPoint2D
, obj
);
5666 return Py_BuildValue((char *)"");
5668 static int _wrap_DefaultPosition_set(PyObject
*_val
) {
5669 PyErr_SetString(PyExc_TypeError
,"Variable DefaultPosition is read-only.");
5674 static PyObject
*_wrap_DefaultPosition_get() {
5677 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultPosition
), SWIGTYPE_p_wxPoint
, 0);
5682 static int _wrap_DefaultSize_set(PyObject
*_val
) {
5683 PyErr_SetString(PyExc_TypeError
,"Variable DefaultSize is read-only.");
5688 static PyObject
*_wrap_DefaultSize_get() {
5691 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultSize
), SWIGTYPE_p_wxSize
, 0);
5696 static PyObject
*_wrap_new_InputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5697 PyObject
*resultobj
;
5698 PyObject
*arg1
= (PyObject
*) 0 ;
5699 wxPyInputStream
*result
;
5700 PyObject
* obj0
= 0 ;
5705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_InputStream",kwnames
,&obj0
)) goto fail
;
5708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5709 result
= (wxPyInputStream
*)new_wxPyInputStream(arg1
);
5711 wxPyEndAllowThreads(__tstate
);
5712 if (PyErr_Occurred()) SWIG_fail
;
5714 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyInputStream
, 1);
5721 static PyObject
*_wrap_InputStream_close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5722 PyObject
*resultobj
;
5723 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5724 PyObject
* obj0
= 0 ;
5726 (char *) "self", NULL
5729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_close",kwnames
,&obj0
)) goto fail
;
5730 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5731 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5736 wxPyEndAllowThreads(__tstate
);
5737 if (PyErr_Occurred()) SWIG_fail
;
5739 Py_INCREF(Py_None
); resultobj
= Py_None
;
5746 static PyObject
*_wrap_InputStream_flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5747 PyObject
*resultobj
;
5748 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5749 PyObject
* obj0
= 0 ;
5751 (char *) "self", NULL
5754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_flush",kwnames
,&obj0
)) goto fail
;
5755 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5761 wxPyEndAllowThreads(__tstate
);
5762 if (PyErr_Occurred()) SWIG_fail
;
5764 Py_INCREF(Py_None
); resultobj
= Py_None
;
5771 static PyObject
*_wrap_InputStream_eof(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5772 PyObject
*resultobj
;
5773 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5775 PyObject
* obj0
= 0 ;
5777 (char *) "self", NULL
5780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_eof",kwnames
,&obj0
)) goto fail
;
5781 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5782 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5785 result
= (bool)(arg1
)->eof();
5787 wxPyEndAllowThreads(__tstate
);
5788 if (PyErr_Occurred()) SWIG_fail
;
5791 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5799 static PyObject
*_wrap_InputStream_read(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5800 PyObject
*resultobj
;
5801 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5802 int arg2
= (int) -1 ;
5804 PyObject
* obj0
= 0 ;
5805 PyObject
* obj1
= 0 ;
5807 (char *) "self",(char *) "size", NULL
5810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_read",kwnames
,&obj0
,&obj1
)) goto fail
;
5811 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5812 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5814 arg2
= (int) SWIG_AsInt(obj1
);
5815 if (PyErr_Occurred()) SWIG_fail
;
5818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5819 result
= (PyObject
*)(arg1
)->read(arg2
);
5821 wxPyEndAllowThreads(__tstate
);
5822 if (PyErr_Occurred()) SWIG_fail
;
5831 static PyObject
*_wrap_InputStream_readline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5832 PyObject
*resultobj
;
5833 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5834 int arg2
= (int) -1 ;
5836 PyObject
* obj0
= 0 ;
5837 PyObject
* obj1
= 0 ;
5839 (char *) "self",(char *) "size", NULL
5842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_readline",kwnames
,&obj0
,&obj1
)) goto fail
;
5843 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5844 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5846 arg2
= (int) SWIG_AsInt(obj1
);
5847 if (PyErr_Occurred()) SWIG_fail
;
5850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5851 result
= (PyObject
*)(arg1
)->readline(arg2
);
5853 wxPyEndAllowThreads(__tstate
);
5854 if (PyErr_Occurred()) SWIG_fail
;
5863 static PyObject
*_wrap_InputStream_readlines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5864 PyObject
*resultobj
;
5865 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5866 int arg2
= (int) -1 ;
5868 PyObject
* obj0
= 0 ;
5869 PyObject
* obj1
= 0 ;
5871 (char *) "self",(char *) "sizehint", NULL
5874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_readlines",kwnames
,&obj0
,&obj1
)) goto fail
;
5875 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5876 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5878 arg2
= (int) SWIG_AsInt(obj1
);
5879 if (PyErr_Occurred()) SWIG_fail
;
5882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5883 result
= (PyObject
*)(arg1
)->readlines(arg2
);
5885 wxPyEndAllowThreads(__tstate
);
5886 if (PyErr_Occurred()) SWIG_fail
;
5895 static PyObject
*_wrap_InputStream_seek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5896 PyObject
*resultobj
;
5897 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5899 int arg3
= (int) 0 ;
5900 PyObject
* obj0
= 0 ;
5901 PyObject
* obj1
= 0 ;
5902 PyObject
* obj2
= 0 ;
5904 (char *) "self",(char *) "offset",(char *) "whence", NULL
5907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:InputStream_seek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5908 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5909 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5910 arg2
= (int) SWIG_AsInt(obj1
);
5911 if (PyErr_Occurred()) SWIG_fail
;
5913 arg3
= (int) SWIG_AsInt(obj2
);
5914 if (PyErr_Occurred()) SWIG_fail
;
5917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5918 (arg1
)->seek(arg2
,arg3
);
5920 wxPyEndAllowThreads(__tstate
);
5921 if (PyErr_Occurred()) SWIG_fail
;
5923 Py_INCREF(Py_None
); resultobj
= Py_None
;
5930 static PyObject
*_wrap_InputStream_tell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5931 PyObject
*resultobj
;
5932 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5934 PyObject
* obj0
= 0 ;
5936 (char *) "self", NULL
5939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_tell",kwnames
,&obj0
)) goto fail
;
5940 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5941 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5944 result
= (int)(arg1
)->tell();
5946 wxPyEndAllowThreads(__tstate
);
5947 if (PyErr_Occurred()) SWIG_fail
;
5949 resultobj
= SWIG_FromInt((int)result
);
5956 static PyObject
*_wrap_InputStream_Peek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5957 PyObject
*resultobj
;
5958 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5960 PyObject
* obj0
= 0 ;
5962 (char *) "self", NULL
5965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_Peek",kwnames
,&obj0
)) goto fail
;
5966 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5967 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5970 result
= (char)(arg1
)->Peek();
5972 wxPyEndAllowThreads(__tstate
);
5973 if (PyErr_Occurred()) SWIG_fail
;
5975 resultobj
= SWIG_FromChar((char)result
);
5982 static PyObject
*_wrap_InputStream_GetC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5983 PyObject
*resultobj
;
5984 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5986 PyObject
* obj0
= 0 ;
5988 (char *) "self", NULL
5991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_GetC",kwnames
,&obj0
)) goto fail
;
5992 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5993 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5996 result
= (char)(arg1
)->GetC();
5998 wxPyEndAllowThreads(__tstate
);
5999 if (PyErr_Occurred()) SWIG_fail
;
6001 resultobj
= SWIG_FromChar((char)result
);
6008 static PyObject
*_wrap_InputStream_LastRead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6009 PyObject
*resultobj
;
6010 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6012 PyObject
* obj0
= 0 ;
6014 (char *) "self", NULL
6017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_LastRead",kwnames
,&obj0
)) goto fail
;
6018 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6019 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6022 result
= (size_t)(arg1
)->LastRead();
6024 wxPyEndAllowThreads(__tstate
);
6025 if (PyErr_Occurred()) SWIG_fail
;
6027 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
6034 static PyObject
*_wrap_InputStream_CanRead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6035 PyObject
*resultobj
;
6036 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6038 PyObject
* obj0
= 0 ;
6040 (char *) "self", NULL
6043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_CanRead",kwnames
,&obj0
)) goto fail
;
6044 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6045 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6048 result
= (bool)(arg1
)->CanRead();
6050 wxPyEndAllowThreads(__tstate
);
6051 if (PyErr_Occurred()) SWIG_fail
;
6054 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6062 static PyObject
*_wrap_InputStream_Eof(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6063 PyObject
*resultobj
;
6064 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6066 PyObject
* obj0
= 0 ;
6068 (char *) "self", NULL
6071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_Eof",kwnames
,&obj0
)) goto fail
;
6072 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6073 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6076 result
= (bool)(arg1
)->Eof();
6078 wxPyEndAllowThreads(__tstate
);
6079 if (PyErr_Occurred()) SWIG_fail
;
6082 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6090 static PyObject
*_wrap_InputStream_Ungetch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6091 PyObject
*resultobj
;
6092 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6095 PyObject
* obj0
= 0 ;
6096 PyObject
* obj1
= 0 ;
6098 (char *) "self",(char *) "c", NULL
6101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:InputStream_Ungetch",kwnames
,&obj0
,&obj1
)) goto fail
;
6102 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6103 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6104 arg2
= (char) SWIG_AsChar(obj1
);
6105 if (PyErr_Occurred()) SWIG_fail
;
6107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6108 result
= (bool)(arg1
)->Ungetch(arg2
);
6110 wxPyEndAllowThreads(__tstate
);
6111 if (PyErr_Occurred()) SWIG_fail
;
6114 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6122 static PyObject
*_wrap_InputStream_SeekI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6123 PyObject
*resultobj
;
6124 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6126 int arg3
= (int) wxFromStart
;
6128 PyObject
* obj0
= 0 ;
6129 PyObject
* obj1
= 0 ;
6130 PyObject
* obj2
= 0 ;
6132 (char *) "self",(char *) "pos",(char *) "mode", NULL
6135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:InputStream_SeekI",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6136 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6137 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6138 arg2
= (long) SWIG_AsLong(obj1
);
6139 if (PyErr_Occurred()) SWIG_fail
;
6141 arg3
= (wxSeekMode
) SWIG_AsInt(obj2
);
6142 if (PyErr_Occurred()) SWIG_fail
;
6145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6146 result
= (long)(arg1
)->SeekI(arg2
,(wxSeekMode
)arg3
);
6148 wxPyEndAllowThreads(__tstate
);
6149 if (PyErr_Occurred()) SWIG_fail
;
6151 resultobj
= SWIG_FromLong((long)result
);
6158 static PyObject
*_wrap_InputStream_TellI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6159 PyObject
*resultobj
;
6160 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6162 PyObject
* obj0
= 0 ;
6164 (char *) "self", NULL
6167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_TellI",kwnames
,&obj0
)) goto fail
;
6168 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6169 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6172 result
= (long)(arg1
)->TellI();
6174 wxPyEndAllowThreads(__tstate
);
6175 if (PyErr_Occurred()) SWIG_fail
;
6177 resultobj
= SWIG_FromLong((long)result
);
6184 static PyObject
* InputStream_swigregister(PyObject
*self
, PyObject
*args
) {
6186 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6187 SWIG_TypeClientData(SWIGTYPE_p_wxPyInputStream
, obj
);
6189 return Py_BuildValue((char *)"");
6191 static PyObject
*_wrap_OutputStream_write(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6192 PyObject
*resultobj
;
6193 wxOutputStream
*arg1
= (wxOutputStream
*) 0 ;
6194 PyObject
*arg2
= (PyObject
*) 0 ;
6195 PyObject
* obj0
= 0 ;
6196 PyObject
* obj1
= 0 ;
6198 (char *) "self",(char *) "obj", NULL
6201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:OutputStream_write",kwnames
,&obj0
,&obj1
)) goto fail
;
6202 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxOutputStream
,
6203 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6207 wxOutputStream_write(arg1
,arg2
);
6209 wxPyEndAllowThreads(__tstate
);
6210 if (PyErr_Occurred()) SWIG_fail
;
6212 Py_INCREF(Py_None
); resultobj
= Py_None
;
6219 static PyObject
* OutputStream_swigregister(PyObject
*self
, PyObject
*args
) {
6221 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6222 SWIG_TypeClientData(SWIGTYPE_p_wxOutputStream
, obj
);
6224 return Py_BuildValue((char *)"");
6226 static PyObject
*_wrap_new_FSFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6227 PyObject
*resultobj
;
6228 wxInputStream
*arg1
= (wxInputStream
*) 0 ;
6229 wxString
*arg2
= 0 ;
6230 wxString
*arg3
= 0 ;
6231 wxString
*arg4
= 0 ;
6234 wxPyInputStream
*temp1
;
6236 bool temp2
= False
;
6237 bool temp3
= False
;
6238 bool temp4
= False
;
6240 PyObject
* obj0
= 0 ;
6241 PyObject
* obj1
= 0 ;
6242 PyObject
* obj2
= 0 ;
6243 PyObject
* obj3
= 0 ;
6244 PyObject
* obj4
= 0 ;
6246 (char *) "stream",(char *) "loc",(char *) "mimetype",(char *) "anchor",(char *) "modif", NULL
6249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:new_FSFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
6251 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
6252 arg1
= temp1
->m_wxis
;
6255 PyErr_Clear(); // clear the failure of the wxPyConvert above
6256 arg1
= wxPyCBInputStream_create(obj0
, False
);
6258 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
6265 arg2
= wxString_in_helper(obj1
);
6266 if (arg2
== NULL
) SWIG_fail
;
6270 arg3
= wxString_in_helper(obj2
);
6271 if (arg3
== NULL
) SWIG_fail
;
6275 arg4
= wxString_in_helper(obj3
);
6276 if (arg4
== NULL
) SWIG_fail
;
6279 if ((SWIG_ConvertPtr(obj4
,(void **)(&argp5
),SWIGTYPE_p_wxDateTime
,
6280 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
6283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6284 result
= (wxFSFile
*)new wxFSFile(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
6286 wxPyEndAllowThreads(__tstate
);
6287 if (PyErr_Occurred()) SWIG_fail
;
6290 resultobj
= wxPyMake_wxObject(result
, 1);
6330 static PyObject
*_wrap_delete_FSFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6331 PyObject
*resultobj
;
6332 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6333 PyObject
* obj0
= 0 ;
6335 (char *) "self", NULL
6338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FSFile",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();
6345 wxPyEndAllowThreads(__tstate
);
6346 if (PyErr_Occurred()) SWIG_fail
;
6348 Py_INCREF(Py_None
); resultobj
= Py_None
;
6355 static PyObject
*_wrap_FSFile_GetStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6356 PyObject
*resultobj
;
6357 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6358 wxInputStream
*result
;
6359 PyObject
* obj0
= 0 ;
6361 (char *) "self", NULL
6364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetStream",kwnames
,&obj0
)) goto fail
;
6365 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6366 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6369 result
= (wxInputStream
*)(arg1
)->GetStream();
6371 wxPyEndAllowThreads(__tstate
);
6372 if (PyErr_Occurred()) SWIG_fail
;
6375 wxPyInputStream
* _ptr
= NULL
;
6378 _ptr
= new wxPyInputStream(result
);
6380 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), True
);
6388 static PyObject
*_wrap_FSFile_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6389 PyObject
*resultobj
;
6390 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6392 PyObject
* obj0
= 0 ;
6394 (char *) "self", NULL
6397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetMimeType",kwnames
,&obj0
)) goto fail
;
6398 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6399 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6403 wxString
const &_result_ref
= (arg1
)->GetMimeType();
6404 result
= (wxString
*) &_result_ref
;
6407 wxPyEndAllowThreads(__tstate
);
6408 if (PyErr_Occurred()) SWIG_fail
;
6412 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
6414 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
6423 static PyObject
*_wrap_FSFile_GetLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6424 PyObject
*resultobj
;
6425 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6427 PyObject
* obj0
= 0 ;
6429 (char *) "self", NULL
6432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetLocation",kwnames
,&obj0
)) goto fail
;
6433 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6434 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6438 wxString
const &_result_ref
= (arg1
)->GetLocation();
6439 result
= (wxString
*) &_result_ref
;
6442 wxPyEndAllowThreads(__tstate
);
6443 if (PyErr_Occurred()) SWIG_fail
;
6447 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
6449 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
6458 static PyObject
*_wrap_FSFile_GetAnchor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6459 PyObject
*resultobj
;
6460 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6462 PyObject
* obj0
= 0 ;
6464 (char *) "self", NULL
6467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetAnchor",kwnames
,&obj0
)) goto fail
;
6468 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6469 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6473 wxString
const &_result_ref
= (arg1
)->GetAnchor();
6474 result
= (wxString
*) &_result_ref
;
6477 wxPyEndAllowThreads(__tstate
);
6478 if (PyErr_Occurred()) SWIG_fail
;
6482 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
6484 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
6493 static PyObject
*_wrap_FSFile_GetModificationTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6494 PyObject
*resultobj
;
6495 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6497 PyObject
* obj0
= 0 ;
6499 (char *) "self", NULL
6502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetModificationTime",kwnames
,&obj0
)) goto fail
;
6503 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6504 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6507 result
= (arg1
)->GetModificationTime();
6509 wxPyEndAllowThreads(__tstate
);
6510 if (PyErr_Occurred()) SWIG_fail
;
6513 wxDateTime
* resultptr
;
6514 resultptr
= new wxDateTime((wxDateTime
&) result
);
6515 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
6523 static PyObject
* FSFile_swigregister(PyObject
*self
, PyObject
*args
) {
6525 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6526 SWIG_TypeClientData(SWIGTYPE_p_wxFSFile
, obj
);
6528 return Py_BuildValue((char *)"");
6530 static PyObject
* CPPFileSystemHandler_swigregister(PyObject
*self
, PyObject
*args
) {
6532 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6533 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystemHandler
, obj
);
6535 return Py_BuildValue((char *)"");
6537 static PyObject
*_wrap_new_FileSystemHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6538 PyObject
*resultobj
;
6539 wxPyFileSystemHandler
*result
;
6544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileSystemHandler",kwnames
)) goto fail
;
6546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6547 result
= (wxPyFileSystemHandler
*)new wxPyFileSystemHandler();
6549 wxPyEndAllowThreads(__tstate
);
6550 if (PyErr_Occurred()) SWIG_fail
;
6552 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFileSystemHandler
, 1);
6559 static PyObject
*_wrap_FileSystemHandler__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6560 PyObject
*resultobj
;
6561 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6562 PyObject
*arg2
= (PyObject
*) 0 ;
6563 PyObject
*arg3
= (PyObject
*) 0 ;
6564 PyObject
* obj0
= 0 ;
6565 PyObject
* obj1
= 0 ;
6566 PyObject
* obj2
= 0 ;
6568 (char *) "self",(char *) "self",(char *) "_class", NULL
6571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileSystemHandler__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6572 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6573 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6578 (arg1
)->_setCallbackInfo(arg2
,arg3
);
6580 wxPyEndAllowThreads(__tstate
);
6581 if (PyErr_Occurred()) SWIG_fail
;
6583 Py_INCREF(Py_None
); resultobj
= Py_None
;
6590 static PyObject
*_wrap_FileSystemHandler_CanOpen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6591 PyObject
*resultobj
;
6592 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6593 wxString
*arg2
= 0 ;
6595 bool temp2
= False
;
6596 PyObject
* obj0
= 0 ;
6597 PyObject
* obj1
= 0 ;
6599 (char *) "self",(char *) "location", NULL
6602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
6603 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6604 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6606 arg2
= wxString_in_helper(obj1
);
6607 if (arg2
== NULL
) SWIG_fail
;
6611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6612 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
6614 wxPyEndAllowThreads(__tstate
);
6615 if (PyErr_Occurred()) SWIG_fail
;
6618 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6634 static PyObject
*_wrap_FileSystemHandler_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6635 PyObject
*resultobj
;
6636 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6637 wxFileSystem
*arg2
= 0 ;
6638 wxString
*arg3
= 0 ;
6640 bool temp3
= False
;
6641 PyObject
* obj0
= 0 ;
6642 PyObject
* obj1
= 0 ;
6643 PyObject
* obj2
= 0 ;
6645 (char *) "self",(char *) "fs",(char *) "location", NULL
6648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileSystemHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6649 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6650 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6651 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileSystem
,
6652 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6655 PyErr_SetString(PyExc_TypeError
,"null reference");
6659 arg3
= wxString_in_helper(obj2
);
6660 if (arg3
== NULL
) SWIG_fail
;
6664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6665 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
6667 wxPyEndAllowThreads(__tstate
);
6668 if (PyErr_Occurred()) SWIG_fail
;
6671 resultobj
= wxPyMake_wxObject(result
, 0);
6687 static PyObject
*_wrap_FileSystemHandler_FindFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6688 PyObject
*resultobj
;
6689 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6690 wxString
*arg2
= 0 ;
6691 int arg3
= (int) 0 ;
6693 bool temp2
= False
;
6694 PyObject
* obj0
= 0 ;
6695 PyObject
* obj1
= 0 ;
6696 PyObject
* obj2
= 0 ;
6698 (char *) "self",(char *) "spec",(char *) "flags", NULL
6701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystemHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6702 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6703 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6705 arg2
= wxString_in_helper(obj1
);
6706 if (arg2
== NULL
) SWIG_fail
;
6710 arg3
= (int) SWIG_AsInt(obj2
);
6711 if (PyErr_Occurred()) SWIG_fail
;
6714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6715 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
6717 wxPyEndAllowThreads(__tstate
);
6718 if (PyErr_Occurred()) SWIG_fail
;
6722 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6724 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6741 static PyObject
*_wrap_FileSystemHandler_FindNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6742 PyObject
*resultobj
;
6743 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6745 PyObject
* obj0
= 0 ;
6747 (char *) "self", NULL
6750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystemHandler_FindNext",kwnames
,&obj0
)) goto fail
;
6751 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6752 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6755 result
= (arg1
)->FindNext();
6757 wxPyEndAllowThreads(__tstate
);
6758 if (PyErr_Occurred()) SWIG_fail
;
6762 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6764 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6773 static PyObject
*_wrap_FileSystemHandler_GetProtocol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6774 PyObject
*resultobj
;
6775 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6776 wxString
*arg2
= 0 ;
6778 bool temp2
= False
;
6779 PyObject
* obj0
= 0 ;
6780 PyObject
* obj1
= 0 ;
6782 (char *) "self",(char *) "location", NULL
6785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetProtocol",kwnames
,&obj0
,&obj1
)) goto fail
;
6786 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6787 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6789 arg2
= wxString_in_helper(obj1
);
6790 if (arg2
== NULL
) SWIG_fail
;
6794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6795 result
= (arg1
)->GetProtocol((wxString
const &)*arg2
);
6797 wxPyEndAllowThreads(__tstate
);
6798 if (PyErr_Occurred()) SWIG_fail
;
6802 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6804 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6821 static PyObject
*_wrap_FileSystemHandler_GetLeftLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6822 PyObject
*resultobj
;
6823 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6824 wxString
*arg2
= 0 ;
6826 bool temp2
= False
;
6827 PyObject
* obj0
= 0 ;
6828 PyObject
* obj1
= 0 ;
6830 (char *) "self",(char *) "location", NULL
6833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetLeftLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
6834 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6835 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6837 arg2
= wxString_in_helper(obj1
);
6838 if (arg2
== NULL
) SWIG_fail
;
6842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6843 result
= (arg1
)->GetLeftLocation((wxString
const &)*arg2
);
6845 wxPyEndAllowThreads(__tstate
);
6846 if (PyErr_Occurred()) SWIG_fail
;
6850 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6852 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6869 static PyObject
*_wrap_FileSystemHandler_GetAnchor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6870 PyObject
*resultobj
;
6871 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6872 wxString
*arg2
= 0 ;
6874 bool temp2
= False
;
6875 PyObject
* obj0
= 0 ;
6876 PyObject
* obj1
= 0 ;
6878 (char *) "self",(char *) "location", NULL
6881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetAnchor",kwnames
,&obj0
,&obj1
)) goto fail
;
6882 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6885 arg2
= wxString_in_helper(obj1
);
6886 if (arg2
== NULL
) SWIG_fail
;
6890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6891 result
= (arg1
)->GetAnchor((wxString
const &)*arg2
);
6893 wxPyEndAllowThreads(__tstate
);
6894 if (PyErr_Occurred()) SWIG_fail
;
6898 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6900 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6917 static PyObject
*_wrap_FileSystemHandler_GetRightLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6918 PyObject
*resultobj
;
6919 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6920 wxString
*arg2
= 0 ;
6922 bool temp2
= False
;
6923 PyObject
* obj0
= 0 ;
6924 PyObject
* obj1
= 0 ;
6926 (char *) "self",(char *) "location", NULL
6929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetRightLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
6930 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6931 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6933 arg2
= wxString_in_helper(obj1
);
6934 if (arg2
== NULL
) SWIG_fail
;
6938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6939 result
= (arg1
)->GetRightLocation((wxString
const &)*arg2
);
6941 wxPyEndAllowThreads(__tstate
);
6942 if (PyErr_Occurred()) SWIG_fail
;
6946 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6948 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6965 static PyObject
*_wrap_FileSystemHandler_GetMimeTypeFromExt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6966 PyObject
*resultobj
;
6967 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6968 wxString
*arg2
= 0 ;
6970 bool temp2
= False
;
6971 PyObject
* obj0
= 0 ;
6972 PyObject
* obj1
= 0 ;
6974 (char *) "self",(char *) "location", NULL
6977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetMimeTypeFromExt",kwnames
,&obj0
,&obj1
)) goto fail
;
6978 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6979 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6981 arg2
= wxString_in_helper(obj1
);
6982 if (arg2
== NULL
) SWIG_fail
;
6986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6987 result
= (arg1
)->GetMimeTypeFromExt((wxString
const &)*arg2
);
6989 wxPyEndAllowThreads(__tstate
);
6990 if (PyErr_Occurred()) SWIG_fail
;
6994 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6996 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7013 static PyObject
* FileSystemHandler_swigregister(PyObject
*self
, PyObject
*args
) {
7015 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7016 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileSystemHandler
, obj
);
7018 return Py_BuildValue((char *)"");
7020 static PyObject
*_wrap_new_FileSystem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7021 PyObject
*resultobj
;
7022 wxFileSystem
*result
;
7027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileSystem",kwnames
)) goto fail
;
7029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7030 result
= (wxFileSystem
*)new wxFileSystem();
7032 wxPyEndAllowThreads(__tstate
);
7033 if (PyErr_Occurred()) SWIG_fail
;
7036 resultobj
= wxPyMake_wxObject(result
, 1);
7044 static PyObject
*_wrap_delete_FileSystem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7045 PyObject
*resultobj
;
7046 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7047 PyObject
* obj0
= 0 ;
7049 (char *) "self", NULL
7052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileSystem",kwnames
,&obj0
)) goto fail
;
7053 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7054 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7059 wxPyEndAllowThreads(__tstate
);
7060 if (PyErr_Occurred()) SWIG_fail
;
7062 Py_INCREF(Py_None
); resultobj
= Py_None
;
7069 static PyObject
*_wrap_FileSystem_ChangePathTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7070 PyObject
*resultobj
;
7071 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7072 wxString
*arg2
= 0 ;
7073 bool arg3
= (bool) False
;
7074 bool temp2
= False
;
7075 PyObject
* obj0
= 0 ;
7076 PyObject
* obj1
= 0 ;
7077 PyObject
* obj2
= 0 ;
7079 (char *) "self",(char *) "location",(char *) "is_dir", NULL
7082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystem_ChangePathTo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7083 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7084 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7086 arg2
= wxString_in_helper(obj1
);
7087 if (arg2
== NULL
) SWIG_fail
;
7091 arg3
= (bool) SWIG_AsBool(obj2
);
7092 if (PyErr_Occurred()) SWIG_fail
;
7095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7096 (arg1
)->ChangePathTo((wxString
const &)*arg2
,arg3
);
7098 wxPyEndAllowThreads(__tstate
);
7099 if (PyErr_Occurred()) SWIG_fail
;
7101 Py_INCREF(Py_None
); resultobj
= Py_None
;
7116 static PyObject
*_wrap_FileSystem_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7117 PyObject
*resultobj
;
7118 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7120 PyObject
* obj0
= 0 ;
7122 (char *) "self", NULL
7125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_GetPath",kwnames
,&obj0
)) goto fail
;
7126 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7127 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7130 result
= (arg1
)->GetPath();
7132 wxPyEndAllowThreads(__tstate
);
7133 if (PyErr_Occurred()) SWIG_fail
;
7137 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7139 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7148 static PyObject
*_wrap_FileSystem_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7149 PyObject
*resultobj
;
7150 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7151 wxString
*arg2
= 0 ;
7153 bool temp2
= False
;
7154 PyObject
* obj0
= 0 ;
7155 PyObject
* obj1
= 0 ;
7157 (char *) "self",(char *) "location", NULL
7160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystem_OpenFile",kwnames
,&obj0
,&obj1
)) goto fail
;
7161 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7162 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7164 arg2
= wxString_in_helper(obj1
);
7165 if (arg2
== NULL
) SWIG_fail
;
7169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7170 result
= (wxFSFile
*)(arg1
)->OpenFile((wxString
const &)*arg2
);
7172 wxPyEndAllowThreads(__tstate
);
7173 if (PyErr_Occurred()) SWIG_fail
;
7176 resultobj
= wxPyMake_wxObject(result
, 0);
7192 static PyObject
*_wrap_FileSystem_FindFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7193 PyObject
*resultobj
;
7194 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7195 wxString
*arg2
= 0 ;
7196 int arg3
= (int) 0 ;
7198 bool temp2
= False
;
7199 PyObject
* obj0
= 0 ;
7200 PyObject
* obj1
= 0 ;
7201 PyObject
* obj2
= 0 ;
7203 (char *) "self",(char *) "spec",(char *) "flags", NULL
7206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystem_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7207 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7208 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7210 arg2
= wxString_in_helper(obj1
);
7211 if (arg2
== NULL
) SWIG_fail
;
7215 arg3
= (int) SWIG_AsInt(obj2
);
7216 if (PyErr_Occurred()) SWIG_fail
;
7219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7220 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
7222 wxPyEndAllowThreads(__tstate
);
7223 if (PyErr_Occurred()) SWIG_fail
;
7227 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7229 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7246 static PyObject
*_wrap_FileSystem_FindNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7247 PyObject
*resultobj
;
7248 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7250 PyObject
* obj0
= 0 ;
7252 (char *) "self", NULL
7255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_FindNext",kwnames
,&obj0
)) goto fail
;
7256 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7257 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7260 result
= (arg1
)->FindNext();
7262 wxPyEndAllowThreads(__tstate
);
7263 if (PyErr_Occurred()) SWIG_fail
;
7267 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7269 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7278 static PyObject
*_wrap_FileSystem_AddHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7279 PyObject
*resultobj
;
7280 wxFileSystemHandler
*arg1
= (wxFileSystemHandler
*) 0 ;
7281 PyObject
* obj0
= 0 ;
7283 (char *) "handler", NULL
7286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_AddHandler",kwnames
,&obj0
)) goto fail
;
7287 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystemHandler
,
7288 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7291 wxFileSystem::AddHandler(arg1
);
7293 wxPyEndAllowThreads(__tstate
);
7294 if (PyErr_Occurred()) SWIG_fail
;
7296 Py_INCREF(Py_None
); resultobj
= Py_None
;
7303 static PyObject
*_wrap_FileSystem_CleanUpHandlers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7304 PyObject
*resultobj
;
7309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FileSystem_CleanUpHandlers",kwnames
)) goto fail
;
7311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7312 wxFileSystem::CleanUpHandlers();
7314 wxPyEndAllowThreads(__tstate
);
7315 if (PyErr_Occurred()) SWIG_fail
;
7317 Py_INCREF(Py_None
); resultobj
= Py_None
;
7324 static PyObject
*_wrap_FileSystem_FileNameToURL(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7325 PyObject
*resultobj
;
7326 wxString
*arg1
= 0 ;
7328 bool temp1
= False
;
7329 PyObject
* obj0
= 0 ;
7331 (char *) "filename", NULL
7334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_FileNameToURL",kwnames
,&obj0
)) goto fail
;
7336 arg1
= wxString_in_helper(obj0
);
7337 if (arg1
== NULL
) SWIG_fail
;
7341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7342 result
= wxFileSystem::FileNameToURL((wxString
const &)*arg1
);
7344 wxPyEndAllowThreads(__tstate
);
7345 if (PyErr_Occurred()) SWIG_fail
;
7349 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7351 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7368 static PyObject
* FileSystem_swigregister(PyObject
*self
, PyObject
*args
) {
7370 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7371 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystem
, obj
);
7373 return Py_BuildValue((char *)"");
7375 static PyObject
*_wrap_FileSystem_URLToFileName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7376 PyObject
*resultobj
;
7377 wxString
*arg1
= 0 ;
7379 bool temp1
= False
;
7380 PyObject
* obj0
= 0 ;
7382 (char *) "url", NULL
7385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_URLToFileName",kwnames
,&obj0
)) goto fail
;
7387 arg1
= wxString_in_helper(obj0
);
7388 if (arg1
== NULL
) SWIG_fail
;
7392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7393 result
= wxFileSystem_URLToFileName((wxString
const &)*arg1
);
7395 wxPyEndAllowThreads(__tstate
);
7396 if (PyErr_Occurred()) SWIG_fail
;
7400 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7402 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7419 static PyObject
*_wrap_new_InternetFSHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7420 PyObject
*resultobj
;
7421 wxInternetFSHandler
*result
;
7426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_InternetFSHandler",kwnames
)) goto fail
;
7428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7429 result
= (wxInternetFSHandler
*)new wxInternetFSHandler();
7431 wxPyEndAllowThreads(__tstate
);
7432 if (PyErr_Occurred()) SWIG_fail
;
7434 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxInternetFSHandler
, 1);
7441 static PyObject
*_wrap_InternetFSHandler_CanOpen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7442 PyObject
*resultobj
;
7443 wxInternetFSHandler
*arg1
= (wxInternetFSHandler
*) 0 ;
7444 wxString
*arg2
= 0 ;
7446 bool temp2
= False
;
7447 PyObject
* obj0
= 0 ;
7448 PyObject
* obj1
= 0 ;
7450 (char *) "self",(char *) "location", NULL
7453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:InternetFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
7454 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxInternetFSHandler
,
7455 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7457 arg2
= wxString_in_helper(obj1
);
7458 if (arg2
== NULL
) SWIG_fail
;
7462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7463 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
7465 wxPyEndAllowThreads(__tstate
);
7466 if (PyErr_Occurred()) SWIG_fail
;
7469 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7485 static PyObject
*_wrap_InternetFSHandler_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7486 PyObject
*resultobj
;
7487 wxInternetFSHandler
*arg1
= (wxInternetFSHandler
*) 0 ;
7488 wxFileSystem
*arg2
= 0 ;
7489 wxString
*arg3
= 0 ;
7491 bool temp3
= False
;
7492 PyObject
* obj0
= 0 ;
7493 PyObject
* obj1
= 0 ;
7494 PyObject
* obj2
= 0 ;
7496 (char *) "self",(char *) "fs",(char *) "location", NULL
7499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:InternetFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7500 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxInternetFSHandler
,
7501 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7502 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileSystem
,
7503 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7506 PyErr_SetString(PyExc_TypeError
,"null reference");
7510 arg3
= wxString_in_helper(obj2
);
7511 if (arg3
== NULL
) SWIG_fail
;
7515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7516 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
7518 wxPyEndAllowThreads(__tstate
);
7519 if (PyErr_Occurred()) SWIG_fail
;
7522 resultobj
= wxPyMake_wxObject(result
, 0);
7538 static PyObject
* InternetFSHandler_swigregister(PyObject
*self
, PyObject
*args
) {
7540 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7541 SWIG_TypeClientData(SWIGTYPE_p_wxInternetFSHandler
, obj
);
7543 return Py_BuildValue((char *)"");
7545 static PyObject
*_wrap_new_ZipFSHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7546 PyObject
*resultobj
;
7547 wxZipFSHandler
*result
;
7552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ZipFSHandler",kwnames
)) goto fail
;
7554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7555 result
= (wxZipFSHandler
*)new wxZipFSHandler();
7557 wxPyEndAllowThreads(__tstate
);
7558 if (PyErr_Occurred()) SWIG_fail
;
7560 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxZipFSHandler
, 1);
7567 static PyObject
*_wrap_ZipFSHandler_CanOpen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7568 PyObject
*resultobj
;
7569 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
7570 wxString
*arg2
= 0 ;
7572 bool temp2
= False
;
7573 PyObject
* obj0
= 0 ;
7574 PyObject
* obj1
= 0 ;
7576 (char *) "self",(char *) "location", NULL
7579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ZipFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
7580 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxZipFSHandler
,
7581 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7583 arg2
= wxString_in_helper(obj1
);
7584 if (arg2
== NULL
) SWIG_fail
;
7588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7589 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
7591 wxPyEndAllowThreads(__tstate
);
7592 if (PyErr_Occurred()) SWIG_fail
;
7595 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7611 static PyObject
*_wrap_ZipFSHandler_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7612 PyObject
*resultobj
;
7613 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
7614 wxFileSystem
*arg2
= 0 ;
7615 wxString
*arg3
= 0 ;
7617 bool temp3
= False
;
7618 PyObject
* obj0
= 0 ;
7619 PyObject
* obj1
= 0 ;
7620 PyObject
* obj2
= 0 ;
7622 (char *) "self",(char *) "fs",(char *) "location", NULL
7625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ZipFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7626 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxZipFSHandler
,
7627 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7628 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileSystem
,
7629 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7632 PyErr_SetString(PyExc_TypeError
,"null reference");
7636 arg3
= wxString_in_helper(obj2
);
7637 if (arg3
== NULL
) SWIG_fail
;
7641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7642 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
7644 wxPyEndAllowThreads(__tstate
);
7645 if (PyErr_Occurred()) SWIG_fail
;
7648 resultobj
= wxPyMake_wxObject(result
, 0);
7664 static PyObject
*_wrap_ZipFSHandler_FindFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7665 PyObject
*resultobj
;
7666 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
7667 wxString
*arg2
= 0 ;
7668 int arg3
= (int) 0 ;
7670 bool temp2
= False
;
7671 PyObject
* obj0
= 0 ;
7672 PyObject
* obj1
= 0 ;
7673 PyObject
* obj2
= 0 ;
7675 (char *) "self",(char *) "spec",(char *) "flags", NULL
7678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ZipFSHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7679 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxZipFSHandler
,
7680 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7682 arg2
= wxString_in_helper(obj1
);
7683 if (arg2
== NULL
) SWIG_fail
;
7687 arg3
= (int) SWIG_AsInt(obj2
);
7688 if (PyErr_Occurred()) SWIG_fail
;
7691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7692 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
7694 wxPyEndAllowThreads(__tstate
);
7695 if (PyErr_Occurred()) SWIG_fail
;
7699 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7701 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7718 static PyObject
*_wrap_ZipFSHandler_FindNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7719 PyObject
*resultobj
;
7720 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
7722 PyObject
* obj0
= 0 ;
7724 (char *) "self", NULL
7727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ZipFSHandler_FindNext",kwnames
,&obj0
)) goto fail
;
7728 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxZipFSHandler
,
7729 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7732 result
= (arg1
)->FindNext();
7734 wxPyEndAllowThreads(__tstate
);
7735 if (PyErr_Occurred()) SWIG_fail
;
7739 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7741 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7750 static PyObject
* ZipFSHandler_swigregister(PyObject
*self
, PyObject
*args
) {
7752 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7753 SWIG_TypeClientData(SWIGTYPE_p_wxZipFSHandler
, obj
);
7755 return Py_BuildValue((char *)"");
7757 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7758 PyObject
*resultobj
;
7759 wxString
*arg1
= 0 ;
7762 bool temp1
= False
;
7763 PyObject
* obj0
= 0 ;
7764 PyObject
* obj1
= 0 ;
7765 PyObject
* obj2
= 0 ;
7767 (char *) "filename",(char *) "image",(char *) "type", NULL
7770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7772 arg1
= wxString_in_helper(obj0
);
7773 if (arg1
== NULL
) SWIG_fail
;
7776 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImage
,
7777 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7780 PyErr_SetString(PyExc_TypeError
,"null reference");
7783 arg3
= (long) SWIG_AsLong(obj2
);
7784 if (PyErr_Occurred()) SWIG_fail
;
7786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7787 __wxMemoryFSHandler_AddFile_wxImage((wxString
const &)*arg1
,*arg2
,arg3
);
7789 wxPyEndAllowThreads(__tstate
);
7790 if (PyErr_Occurred()) SWIG_fail
;
7792 Py_INCREF(Py_None
); resultobj
= Py_None
;
7807 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7808 PyObject
*resultobj
;
7809 wxString
*arg1
= 0 ;
7810 wxBitmap
*arg2
= 0 ;
7812 bool temp1
= False
;
7813 PyObject
* obj0
= 0 ;
7814 PyObject
* obj1
= 0 ;
7815 PyObject
* obj2
= 0 ;
7817 (char *) "filename",(char *) "bitmap",(char *) "type", NULL
7820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7822 arg1
= wxString_in_helper(obj0
);
7823 if (arg1
== NULL
) SWIG_fail
;
7826 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
7827 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7830 PyErr_SetString(PyExc_TypeError
,"null reference");
7833 arg3
= (long) SWIG_AsLong(obj2
);
7834 if (PyErr_Occurred()) SWIG_fail
;
7836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7837 __wxMemoryFSHandler_AddFile_wxBitmap((wxString
const &)*arg1
,(wxBitmap
const &)*arg2
,arg3
);
7839 wxPyEndAllowThreads(__tstate
);
7840 if (PyErr_Occurred()) SWIG_fail
;
7842 Py_INCREF(Py_None
); resultobj
= Py_None
;
7857 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_Data(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7858 PyObject
*resultobj
;
7859 wxString
*arg1
= 0 ;
7860 PyObject
*arg2
= (PyObject
*) 0 ;
7861 bool temp1
= False
;
7862 PyObject
* obj0
= 0 ;
7863 PyObject
* obj1
= 0 ;
7865 (char *) "filename",(char *) "data", NULL
7868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:__wxMemoryFSHandler_AddFile_Data",kwnames
,&obj0
,&obj1
)) goto fail
;
7870 arg1
= wxString_in_helper(obj0
);
7871 if (arg1
== NULL
) SWIG_fail
;
7876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7877 __wxMemoryFSHandler_AddFile_Data((wxString
const &)*arg1
,arg2
);
7879 wxPyEndAllowThreads(__tstate
);
7880 if (PyErr_Occurred()) SWIG_fail
;
7882 Py_INCREF(Py_None
); resultobj
= Py_None
;
7897 static PyObject
*_wrap_new_MemoryFSHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7898 PyObject
*resultobj
;
7899 wxMemoryFSHandler
*result
;
7904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MemoryFSHandler",kwnames
)) goto fail
;
7906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7907 result
= (wxMemoryFSHandler
*)new wxMemoryFSHandler();
7909 wxPyEndAllowThreads(__tstate
);
7910 if (PyErr_Occurred()) SWIG_fail
;
7912 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMemoryFSHandler
, 1);
7919 static PyObject
*_wrap_MemoryFSHandler_RemoveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7920 PyObject
*resultobj
;
7921 wxString
*arg1
= 0 ;
7922 bool temp1
= False
;
7923 PyObject
* obj0
= 0 ;
7925 (char *) "filename", NULL
7928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MemoryFSHandler_RemoveFile",kwnames
,&obj0
)) goto fail
;
7930 arg1
= wxString_in_helper(obj0
);
7931 if (arg1
== NULL
) SWIG_fail
;
7935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7936 wxMemoryFSHandler::RemoveFile((wxString
const &)*arg1
);
7938 wxPyEndAllowThreads(__tstate
);
7939 if (PyErr_Occurred()) SWIG_fail
;
7941 Py_INCREF(Py_None
); resultobj
= Py_None
;
7956 static PyObject
*_wrap_MemoryFSHandler_CanOpen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7957 PyObject
*resultobj
;
7958 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
7959 wxString
*arg2
= 0 ;
7961 bool temp2
= False
;
7962 PyObject
* obj0
= 0 ;
7963 PyObject
* obj1
= 0 ;
7965 (char *) "self",(char *) "location", NULL
7968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
7969 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryFSHandler
,
7970 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7972 arg2
= wxString_in_helper(obj1
);
7973 if (arg2
== NULL
) SWIG_fail
;
7977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7978 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
7980 wxPyEndAllowThreads(__tstate
);
7981 if (PyErr_Occurred()) SWIG_fail
;
7984 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8000 static PyObject
*_wrap_MemoryFSHandler_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8001 PyObject
*resultobj
;
8002 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
8003 wxFileSystem
*arg2
= 0 ;
8004 wxString
*arg3
= 0 ;
8006 bool temp3
= False
;
8007 PyObject
* obj0
= 0 ;
8008 PyObject
* obj1
= 0 ;
8009 PyObject
* obj2
= 0 ;
8011 (char *) "self",(char *) "fs",(char *) "location", NULL
8014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MemoryFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8015 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryFSHandler
,
8016 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8017 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileSystem
,
8018 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8021 PyErr_SetString(PyExc_TypeError
,"null reference");
8025 arg3
= wxString_in_helper(obj2
);
8026 if (arg3
== NULL
) SWIG_fail
;
8030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8031 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
8033 wxPyEndAllowThreads(__tstate
);
8034 if (PyErr_Occurred()) SWIG_fail
;
8037 resultobj
= wxPyMake_wxObject(result
, 0);
8053 static PyObject
*_wrap_MemoryFSHandler_FindFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8054 PyObject
*resultobj
;
8055 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
8056 wxString
*arg2
= 0 ;
8057 int arg3
= (int) 0 ;
8059 bool temp2
= False
;
8060 PyObject
* obj0
= 0 ;
8061 PyObject
* obj1
= 0 ;
8062 PyObject
* obj2
= 0 ;
8064 (char *) "self",(char *) "spec",(char *) "flags", NULL
8067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MemoryFSHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8068 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryFSHandler
,
8069 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8071 arg2
= wxString_in_helper(obj1
);
8072 if (arg2
== NULL
) SWIG_fail
;
8076 arg3
= (int) SWIG_AsInt(obj2
);
8077 if (PyErr_Occurred()) SWIG_fail
;
8080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8081 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
8083 wxPyEndAllowThreads(__tstate
);
8084 if (PyErr_Occurred()) SWIG_fail
;
8088 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8090 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8107 static PyObject
*_wrap_MemoryFSHandler_FindNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8108 PyObject
*resultobj
;
8109 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
8111 PyObject
* obj0
= 0 ;
8113 (char *) "self", NULL
8116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MemoryFSHandler_FindNext",kwnames
,&obj0
)) goto fail
;
8117 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryFSHandler
,
8118 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8121 result
= (arg1
)->FindNext();
8123 wxPyEndAllowThreads(__tstate
);
8124 if (PyErr_Occurred()) SWIG_fail
;
8128 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8130 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8139 static PyObject
* MemoryFSHandler_swigregister(PyObject
*self
, PyObject
*args
) {
8141 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8142 SWIG_TypeClientData(SWIGTYPE_p_wxMemoryFSHandler
, obj
);
8144 return Py_BuildValue((char *)"");
8146 static PyObject
*_wrap_ImageHandler_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8147 PyObject
*resultobj
;
8148 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8150 PyObject
* obj0
= 0 ;
8152 (char *) "self", NULL
8155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetName",kwnames
,&obj0
)) goto fail
;
8156 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8157 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8160 result
= (arg1
)->GetName();
8162 wxPyEndAllowThreads(__tstate
);
8163 if (PyErr_Occurred()) SWIG_fail
;
8167 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8169 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8178 static PyObject
*_wrap_ImageHandler_GetExtension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8179 PyObject
*resultobj
;
8180 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8182 PyObject
* obj0
= 0 ;
8184 (char *) "self", NULL
8187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetExtension",kwnames
,&obj0
)) goto fail
;
8188 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8189 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8192 result
= (arg1
)->GetExtension();
8194 wxPyEndAllowThreads(__tstate
);
8195 if (PyErr_Occurred()) SWIG_fail
;
8199 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8201 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8210 static PyObject
*_wrap_ImageHandler_GetType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8211 PyObject
*resultobj
;
8212 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8214 PyObject
* obj0
= 0 ;
8216 (char *) "self", NULL
8219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetType",kwnames
,&obj0
)) goto fail
;
8220 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8221 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8224 result
= (long)(arg1
)->GetType();
8226 wxPyEndAllowThreads(__tstate
);
8227 if (PyErr_Occurred()) SWIG_fail
;
8229 resultobj
= SWIG_FromLong((long)result
);
8236 static PyObject
*_wrap_ImageHandler_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8237 PyObject
*resultobj
;
8238 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8240 PyObject
* obj0
= 0 ;
8242 (char *) "self", NULL
8245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetMimeType",kwnames
,&obj0
)) goto fail
;
8246 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8247 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8250 result
= (arg1
)->GetMimeType();
8252 wxPyEndAllowThreads(__tstate
);
8253 if (PyErr_Occurred()) SWIG_fail
;
8257 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8259 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8268 static PyObject
*_wrap_ImageHandler_CanRead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8269 PyObject
*resultobj
;
8270 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8271 wxString
*arg2
= 0 ;
8273 bool temp2
= False
;
8274 PyObject
* obj0
= 0 ;
8275 PyObject
* obj1
= 0 ;
8277 (char *) "self",(char *) "name", NULL
8280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_CanRead",kwnames
,&obj0
,&obj1
)) goto fail
;
8281 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8282 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8284 arg2
= wxString_in_helper(obj1
);
8285 if (arg2
== NULL
) SWIG_fail
;
8289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8290 result
= (bool)(arg1
)->CanRead((wxString
const &)*arg2
);
8292 wxPyEndAllowThreads(__tstate
);
8293 if (PyErr_Occurred()) SWIG_fail
;
8296 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8312 static PyObject
*_wrap_ImageHandler_SetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8313 PyObject
*resultobj
;
8314 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8315 wxString
*arg2
= 0 ;
8316 bool temp2
= False
;
8317 PyObject
* obj0
= 0 ;
8318 PyObject
* obj1
= 0 ;
8320 (char *) "self",(char *) "name", NULL
8323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetName",kwnames
,&obj0
,&obj1
)) goto fail
;
8324 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8325 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8327 arg2
= wxString_in_helper(obj1
);
8328 if (arg2
== NULL
) SWIG_fail
;
8332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8333 (arg1
)->SetName((wxString
const &)*arg2
);
8335 wxPyEndAllowThreads(__tstate
);
8336 if (PyErr_Occurred()) SWIG_fail
;
8338 Py_INCREF(Py_None
); resultobj
= Py_None
;
8353 static PyObject
*_wrap_ImageHandler_SetExtension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8354 PyObject
*resultobj
;
8355 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8356 wxString
*arg2
= 0 ;
8357 bool temp2
= False
;
8358 PyObject
* obj0
= 0 ;
8359 PyObject
* obj1
= 0 ;
8361 (char *) "self",(char *) "extension", NULL
8364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetExtension",kwnames
,&obj0
,&obj1
)) goto fail
;
8365 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8366 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8368 arg2
= wxString_in_helper(obj1
);
8369 if (arg2
== NULL
) SWIG_fail
;
8373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8374 (arg1
)->SetExtension((wxString
const &)*arg2
);
8376 wxPyEndAllowThreads(__tstate
);
8377 if (PyErr_Occurred()) SWIG_fail
;
8379 Py_INCREF(Py_None
); resultobj
= Py_None
;
8394 static PyObject
*_wrap_ImageHandler_SetType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8395 PyObject
*resultobj
;
8396 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8398 PyObject
* obj0
= 0 ;
8399 PyObject
* obj1
= 0 ;
8401 (char *) "self",(char *) "type", NULL
8404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetType",kwnames
,&obj0
,&obj1
)) goto fail
;
8405 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8407 arg2
= (long) SWIG_AsLong(obj1
);
8408 if (PyErr_Occurred()) SWIG_fail
;
8410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8411 (arg1
)->SetType(arg2
);
8413 wxPyEndAllowThreads(__tstate
);
8414 if (PyErr_Occurred()) SWIG_fail
;
8416 Py_INCREF(Py_None
); resultobj
= Py_None
;
8423 static PyObject
*_wrap_ImageHandler_SetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8424 PyObject
*resultobj
;
8425 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8426 wxString
*arg2
= 0 ;
8427 bool temp2
= False
;
8428 PyObject
* obj0
= 0 ;
8429 PyObject
* obj1
= 0 ;
8431 (char *) "self",(char *) "mimetype", NULL
8434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetMimeType",kwnames
,&obj0
,&obj1
)) goto fail
;
8435 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8436 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8438 arg2
= wxString_in_helper(obj1
);
8439 if (arg2
== NULL
) SWIG_fail
;
8443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8444 (arg1
)->SetMimeType((wxString
const &)*arg2
);
8446 wxPyEndAllowThreads(__tstate
);
8447 if (PyErr_Occurred()) SWIG_fail
;
8449 Py_INCREF(Py_None
); resultobj
= Py_None
;
8464 static PyObject
* ImageHandler_swigregister(PyObject
*self
, PyObject
*args
) {
8466 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8467 SWIG_TypeClientData(SWIGTYPE_p_wxImageHandler
, obj
);
8469 return Py_BuildValue((char *)"");
8471 static PyObject
*_wrap_new_ImageHistogram(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8472 PyObject
*resultobj
;
8473 wxImageHistogram
*result
;
8478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ImageHistogram",kwnames
)) goto fail
;
8480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8481 result
= (wxImageHistogram
*)new wxImageHistogram();
8483 wxPyEndAllowThreads(__tstate
);
8484 if (PyErr_Occurred()) SWIG_fail
;
8486 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImageHistogram
, 1);
8493 static PyObject
*_wrap_ImageHistogram_MakeKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8494 PyObject
*resultobj
;
8495 unsigned char arg1
;
8496 unsigned char arg2
;
8497 unsigned char arg3
;
8498 unsigned long result
;
8499 PyObject
* obj0
= 0 ;
8500 PyObject
* obj1
= 0 ;
8501 PyObject
* obj2
= 0 ;
8503 (char *) "r",(char *) "g",(char *) "b", NULL
8506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageHistogram_MakeKey",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8507 arg1
= (unsigned char) SWIG_AsUnsignedChar(obj0
);
8508 if (PyErr_Occurred()) SWIG_fail
;
8509 arg2
= (unsigned char) SWIG_AsUnsignedChar(obj1
);
8510 if (PyErr_Occurred()) SWIG_fail
;
8511 arg3
= (unsigned char) SWIG_AsUnsignedChar(obj2
);
8512 if (PyErr_Occurred()) SWIG_fail
;
8514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8515 result
= (unsigned long)wxImageHistogram::MakeKey(arg1
,arg2
,arg3
);
8517 wxPyEndAllowThreads(__tstate
);
8518 if (PyErr_Occurred()) SWIG_fail
;
8520 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
8527 static PyObject
*_wrap_ImageHistogram_FindFirstUnusedColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8528 PyObject
*resultobj
;
8529 wxImageHistogram
*arg1
= (wxImageHistogram
*) 0 ;
8530 unsigned char *arg2
= (unsigned char *) 0 ;
8531 unsigned char *arg3
= (unsigned char *) 0 ;
8532 unsigned char *arg4
= (unsigned char *) 0 ;
8533 unsigned char arg5
= (unsigned char) 1 ;
8534 unsigned char arg6
= (unsigned char) 0 ;
8535 unsigned char arg7
= (unsigned char) 0 ;
8537 unsigned char temp2
;
8538 unsigned char temp3
;
8539 unsigned char temp4
;
8540 PyObject
* obj0
= 0 ;
8541 PyObject
* obj1
= 0 ;
8542 PyObject
* obj2
= 0 ;
8543 PyObject
* obj3
= 0 ;
8545 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
8551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:ImageHistogram_FindFirstUnusedColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8552 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHistogram
,
8553 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8555 arg5
= (unsigned char) SWIG_AsUnsignedChar(obj1
);
8556 if (PyErr_Occurred()) SWIG_fail
;
8559 arg6
= (unsigned char) SWIG_AsUnsignedChar(obj2
);
8560 if (PyErr_Occurred()) SWIG_fail
;
8563 arg7
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
8564 if (PyErr_Occurred()) SWIG_fail
;
8567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8568 result
= (bool)((wxImageHistogram
const *)arg1
)->FindFirstUnusedColour(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
8570 wxPyEndAllowThreads(__tstate
);
8571 if (PyErr_Occurred()) SWIG_fail
;
8574 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8577 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
8578 resultobj
= t_output_helper(resultobj
,o
);
8581 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
8582 resultobj
= t_output_helper(resultobj
,o
);
8585 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
8586 resultobj
= t_output_helper(resultobj
,o
);
8594 static PyObject
* ImageHistogram_swigregister(PyObject
*self
, PyObject
*args
) {
8596 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8597 SWIG_TypeClientData(SWIGTYPE_p_wxImageHistogram
, obj
);
8599 return Py_BuildValue((char *)"");
8601 static PyObject
*_wrap_new_Image(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8602 PyObject
*resultobj
;
8603 wxString
*arg1
= 0 ;
8604 long arg2
= (long) wxBITMAP_TYPE_ANY
;
8605 int arg3
= (int) -1 ;
8607 bool temp1
= False
;
8608 PyObject
* obj0
= 0 ;
8609 PyObject
* obj1
= 0 ;
8610 PyObject
* obj2
= 0 ;
8612 (char *) "name",(char *) "type",(char *) "index", NULL
8615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Image",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8617 arg1
= wxString_in_helper(obj0
);
8618 if (arg1
== NULL
) SWIG_fail
;
8622 arg2
= (long) SWIG_AsLong(obj1
);
8623 if (PyErr_Occurred()) SWIG_fail
;
8626 arg3
= (int) SWIG_AsInt(obj2
);
8627 if (PyErr_Occurred()) SWIG_fail
;
8630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8631 result
= (wxImage
*)new wxImage((wxString
const &)*arg1
,arg2
,arg3
);
8633 wxPyEndAllowThreads(__tstate
);
8634 if (PyErr_Occurred()) SWIG_fail
;
8636 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8651 static PyObject
*_wrap_delete_Image(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8652 PyObject
*resultobj
;
8653 wxImage
*arg1
= (wxImage
*) 0 ;
8654 PyObject
* obj0
= 0 ;
8656 (char *) "self", NULL
8659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Image",kwnames
,&obj0
)) goto fail
;
8660 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
8661 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8666 wxPyEndAllowThreads(__tstate
);
8667 if (PyErr_Occurred()) SWIG_fail
;
8669 Py_INCREF(Py_None
); resultobj
= Py_None
;
8676 static PyObject
*_wrap_new_ImageFromMime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8677 PyObject
*resultobj
;
8678 wxString
*arg1
= 0 ;
8679 wxString
*arg2
= 0 ;
8680 int arg3
= (int) -1 ;
8682 bool temp1
= False
;
8683 bool temp2
= False
;
8684 PyObject
* obj0
= 0 ;
8685 PyObject
* obj1
= 0 ;
8686 PyObject
* obj2
= 0 ;
8688 (char *) "name",(char *) "mimetype",(char *) "index", NULL
8691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_ImageFromMime",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8693 arg1
= wxString_in_helper(obj0
);
8694 if (arg1
== NULL
) SWIG_fail
;
8698 arg2
= wxString_in_helper(obj1
);
8699 if (arg2
== NULL
) SWIG_fail
;
8703 arg3
= (int) SWIG_AsInt(obj2
);
8704 if (PyErr_Occurred()) SWIG_fail
;
8707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8708 result
= (wxImage
*)new wxImage((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
8710 wxPyEndAllowThreads(__tstate
);
8711 if (PyErr_Occurred()) SWIG_fail
;
8713 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8736 static PyObject
*_wrap_new_ImageFromStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8737 PyObject
*resultobj
;
8738 wxInputStream
*arg1
= 0 ;
8739 long arg2
= (long) wxBITMAP_TYPE_ANY
;
8740 int arg3
= (int) -1 ;
8742 wxPyInputStream
*temp1
;
8744 PyObject
* obj0
= 0 ;
8745 PyObject
* obj1
= 0 ;
8746 PyObject
* obj2
= 0 ;
8748 (char *) "stream",(char *) "type",(char *) "index", NULL
8751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_ImageFromStream",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8753 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
8754 arg1
= temp1
->m_wxis
;
8757 PyErr_Clear(); // clear the failure of the wxPyConvert above
8758 arg1
= wxPyCBInputStream_create(obj0
, False
);
8760 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
8767 arg2
= (long) SWIG_AsLong(obj1
);
8768 if (PyErr_Occurred()) SWIG_fail
;
8771 arg3
= (int) SWIG_AsInt(obj2
);
8772 if (PyErr_Occurred()) SWIG_fail
;
8775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8776 result
= (wxImage
*)new wxImage(*arg1
,arg2
,arg3
);
8778 wxPyEndAllowThreads(__tstate
);
8779 if (PyErr_Occurred()) SWIG_fail
;
8781 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8796 static PyObject
*_wrap_new_ImageFromStreamMime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8797 PyObject
*resultobj
;
8798 wxInputStream
*arg1
= 0 ;
8799 wxString
*arg2
= 0 ;
8800 int arg3
= (int) -1 ;
8802 wxPyInputStream
*temp1
;
8804 bool temp2
= False
;
8805 PyObject
* obj0
= 0 ;
8806 PyObject
* obj1
= 0 ;
8807 PyObject
* obj2
= 0 ;
8809 (char *) "stream",(char *) "mimetype",(char *) "index", NULL
8812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_ImageFromStreamMime",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8814 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
8815 arg1
= temp1
->m_wxis
;
8818 PyErr_Clear(); // clear the failure of the wxPyConvert above
8819 arg1
= wxPyCBInputStream_create(obj0
, False
);
8821 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
8828 arg2
= wxString_in_helper(obj1
);
8829 if (arg2
== NULL
) SWIG_fail
;
8833 arg3
= (int) SWIG_AsInt(obj2
);
8834 if (PyErr_Occurred()) SWIG_fail
;
8837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8838 result
= (wxImage
*)new wxImage(*arg1
,(wxString
const &)*arg2
,arg3
);
8840 wxPyEndAllowThreads(__tstate
);
8841 if (PyErr_Occurred()) SWIG_fail
;
8843 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8866 static PyObject
*_wrap_new_EmptyImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8867 PyObject
*resultobj
;
8868 int arg1
= (int) 0 ;
8869 int arg2
= (int) 0 ;
8870 bool arg3
= (bool) True
;
8872 PyObject
* obj0
= 0 ;
8873 PyObject
* obj1
= 0 ;
8874 PyObject
* obj2
= 0 ;
8876 (char *) "width",(char *) "height",(char *) "clear", NULL
8879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_EmptyImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8881 arg1
= (int) SWIG_AsInt(obj0
);
8882 if (PyErr_Occurred()) SWIG_fail
;
8885 arg2
= (int) SWIG_AsInt(obj1
);
8886 if (PyErr_Occurred()) SWIG_fail
;
8889 arg3
= (bool) SWIG_AsBool(obj2
);
8890 if (PyErr_Occurred()) SWIG_fail
;
8893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8894 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
);
8896 wxPyEndAllowThreads(__tstate
);
8897 if (PyErr_Occurred()) SWIG_fail
;
8899 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8906 static PyObject
*_wrap_new_ImageFromBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8907 PyObject
*resultobj
;
8908 wxBitmap
*arg1
= 0 ;
8910 PyObject
* obj0
= 0 ;
8912 (char *) "bitmap", NULL
8915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ImageFromBitmap",kwnames
,&obj0
)) goto fail
;
8916 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
8917 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8920 PyErr_SetString(PyExc_TypeError
,"null reference");
8924 if (!wxPyCheckForApp()) SWIG_fail
;
8925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8926 result
= (wxImage
*)new_wxImage((wxBitmap
const &)*arg1
);
8928 wxPyEndAllowThreads(__tstate
);
8929 if (PyErr_Occurred()) SWIG_fail
;
8931 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8938 static PyObject
*_wrap_new_ImageFromData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8939 PyObject
*resultobj
;
8942 unsigned char *arg3
= (unsigned char *) 0 ;
8944 PyObject
* obj0
= 0 ;
8945 PyObject
* obj1
= 0 ;
8946 PyObject
* obj2
= 0 ;
8948 (char *) "width",(char *) "height",(char *) "data", NULL
8951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_ImageFromData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8952 arg1
= (int) SWIG_AsInt(obj0
);
8953 if (PyErr_Occurred()) SWIG_fail
;
8954 arg2
= (int) SWIG_AsInt(obj1
);
8955 if (PyErr_Occurred()) SWIG_fail
;
8956 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_unsigned_char
,
8957 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8960 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
);
8962 wxPyEndAllowThreads(__tstate
);
8963 if (PyErr_Occurred()) SWIG_fail
;
8965 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8972 static PyObject
*_wrap_Image_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8973 PyObject
*resultobj
;
8974 wxImage
*arg1
= (wxImage
*) 0 ;
8977 PyObject
* obj0
= 0 ;
8978 PyObject
* obj1
= 0 ;
8979 PyObject
* obj2
= 0 ;
8981 (char *) "self",(char *) "width",(char *) "height", NULL
8984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8985 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
8986 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8987 arg2
= (int) SWIG_AsInt(obj1
);
8988 if (PyErr_Occurred()) SWIG_fail
;
8989 arg3
= (int) SWIG_AsInt(obj2
);
8990 if (PyErr_Occurred()) SWIG_fail
;
8992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8993 (arg1
)->Create(arg2
,arg3
);
8995 wxPyEndAllowThreads(__tstate
);
8996 if (PyErr_Occurred()) SWIG_fail
;
8998 Py_INCREF(Py_None
); resultobj
= Py_None
;
9005 static PyObject
*_wrap_Image_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9006 PyObject
*resultobj
;
9007 wxImage
*arg1
= (wxImage
*) 0 ;
9008 PyObject
* obj0
= 0 ;
9010 (char *) "self", NULL
9013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Destroy",kwnames
,&obj0
)) goto fail
;
9014 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9015 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9020 wxPyEndAllowThreads(__tstate
);
9021 if (PyErr_Occurred()) SWIG_fail
;
9023 Py_INCREF(Py_None
); resultobj
= Py_None
;
9030 static PyObject
*_wrap_Image_Scale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9031 PyObject
*resultobj
;
9032 wxImage
*arg1
= (wxImage
*) 0 ;
9035 SwigValueWrapper
< wxImage
> result
;
9036 PyObject
* obj0
= 0 ;
9037 PyObject
* obj1
= 0 ;
9038 PyObject
* obj2
= 0 ;
9040 (char *) "self",(char *) "width",(char *) "height", NULL
9043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9044 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9045 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9046 arg2
= (int) SWIG_AsInt(obj1
);
9047 if (PyErr_Occurred()) SWIG_fail
;
9048 arg3
= (int) SWIG_AsInt(obj2
);
9049 if (PyErr_Occurred()) SWIG_fail
;
9051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9052 result
= (arg1
)->Scale(arg2
,arg3
);
9054 wxPyEndAllowThreads(__tstate
);
9055 if (PyErr_Occurred()) SWIG_fail
;
9058 wxImage
* resultptr
;
9059 resultptr
= new wxImage((wxImage
&) result
);
9060 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
9068 static PyObject
*_wrap_Image_ShrinkBy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9069 PyObject
*resultobj
;
9070 wxImage
*arg1
= (wxImage
*) 0 ;
9073 SwigValueWrapper
< wxImage
> result
;
9074 PyObject
* obj0
= 0 ;
9075 PyObject
* obj1
= 0 ;
9076 PyObject
* obj2
= 0 ;
9078 (char *) "self",(char *) "xFactor",(char *) "yFactor", NULL
9081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_ShrinkBy",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9082 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9083 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9084 arg2
= (int) SWIG_AsInt(obj1
);
9085 if (PyErr_Occurred()) SWIG_fail
;
9086 arg3
= (int) SWIG_AsInt(obj2
);
9087 if (PyErr_Occurred()) SWIG_fail
;
9089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9090 result
= ((wxImage
const *)arg1
)->ShrinkBy(arg2
,arg3
);
9092 wxPyEndAllowThreads(__tstate
);
9093 if (PyErr_Occurred()) SWIG_fail
;
9096 wxImage
* resultptr
;
9097 resultptr
= new wxImage((wxImage
&) result
);
9098 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
9106 static PyObject
*_wrap_Image_Rescale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9107 PyObject
*resultobj
;
9108 wxImage
*arg1
= (wxImage
*) 0 ;
9112 PyObject
* obj0
= 0 ;
9113 PyObject
* obj1
= 0 ;
9114 PyObject
* obj2
= 0 ;
9116 (char *) "self",(char *) "width",(char *) "height", NULL
9119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Rescale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9120 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9121 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9122 arg2
= (int) SWIG_AsInt(obj1
);
9123 if (PyErr_Occurred()) SWIG_fail
;
9124 arg3
= (int) SWIG_AsInt(obj2
);
9125 if (PyErr_Occurred()) SWIG_fail
;
9127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9129 wxImage
&_result_ref
= (arg1
)->Rescale(arg2
,arg3
);
9130 result
= (wxImage
*) &_result_ref
;
9133 wxPyEndAllowThreads(__tstate
);
9134 if (PyErr_Occurred()) SWIG_fail
;
9136 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 0);
9143 static PyObject
*_wrap_Image_SetRGB(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9144 PyObject
*resultobj
;
9145 wxImage
*arg1
= (wxImage
*) 0 ;
9148 unsigned char arg4
;
9149 unsigned char arg5
;
9150 unsigned char arg6
;
9151 PyObject
* obj0
= 0 ;
9152 PyObject
* obj1
= 0 ;
9153 PyObject
* obj2
= 0 ;
9154 PyObject
* obj3
= 0 ;
9155 PyObject
* obj4
= 0 ;
9156 PyObject
* obj5
= 0 ;
9158 (char *) "self",(char *) "x",(char *) "y",(char *) "r",(char *) "g",(char *) "b", NULL
9161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Image_SetRGB",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9162 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9163 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9164 arg2
= (int) SWIG_AsInt(obj1
);
9165 if (PyErr_Occurred()) SWIG_fail
;
9166 arg3
= (int) SWIG_AsInt(obj2
);
9167 if (PyErr_Occurred()) SWIG_fail
;
9168 arg4
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
9169 if (PyErr_Occurred()) SWIG_fail
;
9170 arg5
= (unsigned char) SWIG_AsUnsignedChar(obj4
);
9171 if (PyErr_Occurred()) SWIG_fail
;
9172 arg6
= (unsigned char) SWIG_AsUnsignedChar(obj5
);
9173 if (PyErr_Occurred()) SWIG_fail
;
9175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9176 (arg1
)->SetRGB(arg2
,arg3
,arg4
,arg5
,arg6
);
9178 wxPyEndAllowThreads(__tstate
);
9179 if (PyErr_Occurred()) SWIG_fail
;
9181 Py_INCREF(Py_None
); resultobj
= Py_None
;
9188 static PyObject
*_wrap_Image_GetRed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9189 PyObject
*resultobj
;
9190 wxImage
*arg1
= (wxImage
*) 0 ;
9193 unsigned char result
;
9194 PyObject
* obj0
= 0 ;
9195 PyObject
* obj1
= 0 ;
9196 PyObject
* obj2
= 0 ;
9198 (char *) "self",(char *) "x",(char *) "y", NULL
9201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetRed",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9202 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9203 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9204 arg2
= (int) SWIG_AsInt(obj1
);
9205 if (PyErr_Occurred()) SWIG_fail
;
9206 arg3
= (int) SWIG_AsInt(obj2
);
9207 if (PyErr_Occurred()) SWIG_fail
;
9209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9210 result
= (unsigned char)(arg1
)->GetRed(arg2
,arg3
);
9212 wxPyEndAllowThreads(__tstate
);
9213 if (PyErr_Occurred()) SWIG_fail
;
9215 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
9222 static PyObject
*_wrap_Image_GetGreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9223 PyObject
*resultobj
;
9224 wxImage
*arg1
= (wxImage
*) 0 ;
9227 unsigned char result
;
9228 PyObject
* obj0
= 0 ;
9229 PyObject
* obj1
= 0 ;
9230 PyObject
* obj2
= 0 ;
9232 (char *) "self",(char *) "x",(char *) "y", NULL
9235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetGreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9236 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9237 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9238 arg2
= (int) SWIG_AsInt(obj1
);
9239 if (PyErr_Occurred()) SWIG_fail
;
9240 arg3
= (int) SWIG_AsInt(obj2
);
9241 if (PyErr_Occurred()) SWIG_fail
;
9243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9244 result
= (unsigned char)(arg1
)->GetGreen(arg2
,arg3
);
9246 wxPyEndAllowThreads(__tstate
);
9247 if (PyErr_Occurred()) SWIG_fail
;
9249 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
9256 static PyObject
*_wrap_Image_GetBlue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9257 PyObject
*resultobj
;
9258 wxImage
*arg1
= (wxImage
*) 0 ;
9261 unsigned char result
;
9262 PyObject
* obj0
= 0 ;
9263 PyObject
* obj1
= 0 ;
9264 PyObject
* obj2
= 0 ;
9266 (char *) "self",(char *) "x",(char *) "y", NULL
9269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetBlue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9270 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9271 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9272 arg2
= (int) SWIG_AsInt(obj1
);
9273 if (PyErr_Occurred()) SWIG_fail
;
9274 arg3
= (int) SWIG_AsInt(obj2
);
9275 if (PyErr_Occurred()) SWIG_fail
;
9277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9278 result
= (unsigned char)(arg1
)->GetBlue(arg2
,arg3
);
9280 wxPyEndAllowThreads(__tstate
);
9281 if (PyErr_Occurred()) SWIG_fail
;
9283 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
9290 static PyObject
*_wrap_Image_SetAlpha(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9291 PyObject
*resultobj
;
9292 wxImage
*arg1
= (wxImage
*) 0 ;
9295 unsigned char arg4
;
9296 PyObject
* obj0
= 0 ;
9297 PyObject
* obj1
= 0 ;
9298 PyObject
* obj2
= 0 ;
9299 PyObject
* obj3
= 0 ;
9301 (char *) "self",(char *) "x",(char *) "y",(char *) "alpha", NULL
9304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_SetAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9305 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9306 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9307 arg2
= (int) SWIG_AsInt(obj1
);
9308 if (PyErr_Occurred()) SWIG_fail
;
9309 arg3
= (int) SWIG_AsInt(obj2
);
9310 if (PyErr_Occurred()) SWIG_fail
;
9311 arg4
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
9312 if (PyErr_Occurred()) SWIG_fail
;
9314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9315 (arg1
)->SetAlpha(arg2
,arg3
,arg4
);
9317 wxPyEndAllowThreads(__tstate
);
9318 if (PyErr_Occurred()) SWIG_fail
;
9320 Py_INCREF(Py_None
); resultobj
= Py_None
;
9327 static PyObject
*_wrap_Image_GetAlpha(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9328 PyObject
*resultobj
;
9329 wxImage
*arg1
= (wxImage
*) 0 ;
9332 unsigned char result
;
9333 PyObject
* obj0
= 0 ;
9334 PyObject
* obj1
= 0 ;
9335 PyObject
* obj2
= 0 ;
9337 (char *) "self",(char *) "x",(char *) "y", NULL
9340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetAlpha",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9341 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9342 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9343 arg2
= (int) SWIG_AsInt(obj1
);
9344 if (PyErr_Occurred()) SWIG_fail
;
9345 arg3
= (int) SWIG_AsInt(obj2
);
9346 if (PyErr_Occurred()) SWIG_fail
;
9348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9349 result
= (unsigned char)(arg1
)->GetAlpha(arg2
,arg3
);
9351 wxPyEndAllowThreads(__tstate
);
9352 if (PyErr_Occurred()) SWIG_fail
;
9354 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
9361 static PyObject
*_wrap_Image_HasAlpha(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9362 PyObject
*resultobj
;
9363 wxImage
*arg1
= (wxImage
*) 0 ;
9365 PyObject
* obj0
= 0 ;
9367 (char *) "self", NULL
9370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HasAlpha",kwnames
,&obj0
)) goto fail
;
9371 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9372 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9375 result
= (bool)(arg1
)->HasAlpha();
9377 wxPyEndAllowThreads(__tstate
);
9378 if (PyErr_Occurred()) SWIG_fail
;
9381 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9389 static PyObject
*_wrap_Image_FindFirstUnusedColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9390 PyObject
*resultobj
;
9391 wxImage
*arg1
= (wxImage
*) 0 ;
9392 byte
*arg2
= (byte
*) 0 ;
9393 byte
*arg3
= (byte
*) 0 ;
9394 byte
*arg4
= (byte
*) 0 ;
9395 byte arg5
= (byte
) 0 ;
9396 byte arg6
= (byte
) 0 ;
9397 byte arg7
= (byte
) 0 ;
9402 PyObject
* obj0
= 0 ;
9403 PyObject
* obj1
= 0 ;
9404 PyObject
* obj2
= 0 ;
9405 PyObject
* obj3
= 0 ;
9407 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
9413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Image_FindFirstUnusedColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9414 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9415 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9417 arg5
= (byte
) SWIG_AsUnsignedChar(obj1
);
9418 if (PyErr_Occurred()) SWIG_fail
;
9421 arg6
= (byte
) SWIG_AsUnsignedChar(obj2
);
9422 if (PyErr_Occurred()) SWIG_fail
;
9425 arg7
= (byte
) SWIG_AsUnsignedChar(obj3
);
9426 if (PyErr_Occurred()) SWIG_fail
;
9429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9430 result
= (bool)((wxImage
const *)arg1
)->FindFirstUnusedColour(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
9432 wxPyEndAllowThreads(__tstate
);
9433 if (PyErr_Occurred()) SWIG_fail
;
9436 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9439 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
9440 resultobj
= t_output_helper(resultobj
,o
);
9443 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
9444 resultobj
= t_output_helper(resultobj
,o
);
9447 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
9448 resultobj
= t_output_helper(resultobj
,o
);
9456 static PyObject
*_wrap_Image_SetMaskFromImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9457 PyObject
*resultobj
;
9458 wxImage
*arg1
= (wxImage
*) 0 ;
9464 PyObject
* obj0
= 0 ;
9465 PyObject
* obj1
= 0 ;
9466 PyObject
* obj2
= 0 ;
9467 PyObject
* obj3
= 0 ;
9468 PyObject
* obj4
= 0 ;
9470 (char *) "self",(char *) "mask",(char *) "mr",(char *) "mg",(char *) "mb", NULL
9473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Image_SetMaskFromImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
9474 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9475 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9476 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImage
,
9477 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9480 PyErr_SetString(PyExc_TypeError
,"null reference");
9483 arg3
= (byte
) SWIG_AsUnsignedChar(obj2
);
9484 if (PyErr_Occurred()) SWIG_fail
;
9485 arg4
= (byte
) SWIG_AsUnsignedChar(obj3
);
9486 if (PyErr_Occurred()) SWIG_fail
;
9487 arg5
= (byte
) SWIG_AsUnsignedChar(obj4
);
9488 if (PyErr_Occurred()) SWIG_fail
;
9490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9491 result
= (bool)(arg1
)->SetMaskFromImage((wxImage
const &)*arg2
,arg3
,arg4
,arg5
);
9493 wxPyEndAllowThreads(__tstate
);
9494 if (PyErr_Occurred()) SWIG_fail
;
9497 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9505 static PyObject
*_wrap_Image_CanRead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9506 PyObject
*resultobj
;
9507 wxString
*arg1
= 0 ;
9509 bool temp1
= False
;
9510 PyObject
* obj0
= 0 ;
9512 (char *) "name", NULL
9515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_CanRead",kwnames
,&obj0
)) goto fail
;
9517 arg1
= wxString_in_helper(obj0
);
9518 if (arg1
== NULL
) SWIG_fail
;
9522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9523 result
= (bool)wxImage::CanRead((wxString
const &)*arg1
);
9525 wxPyEndAllowThreads(__tstate
);
9526 if (PyErr_Occurred()) SWIG_fail
;
9529 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9545 static PyObject
*_wrap_Image_GetImageCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9546 PyObject
*resultobj
;
9547 wxString
*arg1
= 0 ;
9548 long arg2
= (long) wxBITMAP_TYPE_ANY
;
9550 bool temp1
= False
;
9551 PyObject
* obj0
= 0 ;
9552 PyObject
* obj1
= 0 ;
9554 (char *) "name",(char *) "type", NULL
9557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_GetImageCount",kwnames
,&obj0
,&obj1
)) goto fail
;
9559 arg1
= wxString_in_helper(obj0
);
9560 if (arg1
== NULL
) SWIG_fail
;
9564 arg2
= (long) SWIG_AsLong(obj1
);
9565 if (PyErr_Occurred()) SWIG_fail
;
9568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9569 result
= (int)wxImage::GetImageCount((wxString
const &)*arg1
,arg2
);
9571 wxPyEndAllowThreads(__tstate
);
9572 if (PyErr_Occurred()) SWIG_fail
;
9574 resultobj
= SWIG_FromInt((int)result
);
9589 static PyObject
*_wrap_Image_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9590 PyObject
*resultobj
;
9591 wxImage
*arg1
= (wxImage
*) 0 ;
9592 wxString
*arg2
= 0 ;
9593 long arg3
= (long) wxBITMAP_TYPE_ANY
;
9594 int arg4
= (int) -1 ;
9596 bool temp2
= False
;
9597 PyObject
* obj0
= 0 ;
9598 PyObject
* obj1
= 0 ;
9599 PyObject
* obj2
= 0 ;
9600 PyObject
* obj3
= 0 ;
9602 (char *) "self",(char *) "name",(char *) "type",(char *) "index", NULL
9605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Image_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9606 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9607 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9609 arg2
= wxString_in_helper(obj1
);
9610 if (arg2
== NULL
) SWIG_fail
;
9614 arg3
= (long) SWIG_AsLong(obj2
);
9615 if (PyErr_Occurred()) SWIG_fail
;
9618 arg4
= (int) SWIG_AsInt(obj3
);
9619 if (PyErr_Occurred()) SWIG_fail
;
9622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9623 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
,arg4
);
9625 wxPyEndAllowThreads(__tstate
);
9626 if (PyErr_Occurred()) SWIG_fail
;
9629 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9645 static PyObject
*_wrap_Image_LoadMimeFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9646 PyObject
*resultobj
;
9647 wxImage
*arg1
= (wxImage
*) 0 ;
9648 wxString
*arg2
= 0 ;
9649 wxString
*arg3
= 0 ;
9650 int arg4
= (int) -1 ;
9652 bool temp2
= False
;
9653 bool temp3
= False
;
9654 PyObject
* obj0
= 0 ;
9655 PyObject
* obj1
= 0 ;
9656 PyObject
* obj2
= 0 ;
9657 PyObject
* obj3
= 0 ;
9659 (char *) "self",(char *) "name",(char *) "mimetype",(char *) "index", NULL
9662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_LoadMimeFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9663 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9664 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9666 arg2
= wxString_in_helper(obj1
);
9667 if (arg2
== NULL
) SWIG_fail
;
9671 arg3
= wxString_in_helper(obj2
);
9672 if (arg3
== NULL
) SWIG_fail
;
9676 arg4
= (int) SWIG_AsInt(obj3
);
9677 if (PyErr_Occurred()) SWIG_fail
;
9680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9681 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
9683 wxPyEndAllowThreads(__tstate
);
9684 if (PyErr_Occurred()) SWIG_fail
;
9687 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9711 static PyObject
*_wrap_Image_SaveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9712 PyObject
*resultobj
;
9713 wxImage
*arg1
= (wxImage
*) 0 ;
9714 wxString
*arg2
= 0 ;
9717 bool temp2
= False
;
9718 PyObject
* obj0
= 0 ;
9719 PyObject
* obj1
= 0 ;
9720 PyObject
* obj2
= 0 ;
9722 (char *) "self",(char *) "name",(char *) "type", NULL
9725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9726 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9727 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9729 arg2
= wxString_in_helper(obj1
);
9730 if (arg2
== NULL
) SWIG_fail
;
9733 arg3
= (int) SWIG_AsInt(obj2
);
9734 if (PyErr_Occurred()) SWIG_fail
;
9736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9737 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
);
9739 wxPyEndAllowThreads(__tstate
);
9740 if (PyErr_Occurred()) SWIG_fail
;
9743 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9759 static PyObject
*_wrap_Image_SaveMimeFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9760 PyObject
*resultobj
;
9761 wxImage
*arg1
= (wxImage
*) 0 ;
9762 wxString
*arg2
= 0 ;
9763 wxString
*arg3
= 0 ;
9765 bool temp2
= False
;
9766 bool temp3
= False
;
9767 PyObject
* obj0
= 0 ;
9768 PyObject
* obj1
= 0 ;
9769 PyObject
* obj2
= 0 ;
9771 (char *) "self",(char *) "name",(char *) "mimetype", NULL
9774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SaveMimeFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9775 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9776 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9778 arg2
= wxString_in_helper(obj1
);
9779 if (arg2
== NULL
) SWIG_fail
;
9783 arg3
= wxString_in_helper(obj2
);
9784 if (arg3
== NULL
) SWIG_fail
;
9788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9789 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,(wxString
const &)*arg3
);
9791 wxPyEndAllowThreads(__tstate
);
9792 if (PyErr_Occurred()) SWIG_fail
;
9795 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9819 static PyObject
*_wrap_Image_CanReadStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9820 PyObject
*resultobj
;
9821 wxInputStream
*arg1
= 0 ;
9823 wxPyInputStream
*temp1
;
9825 PyObject
* obj0
= 0 ;
9827 (char *) "stream", NULL
9830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_CanReadStream",kwnames
,&obj0
)) goto fail
;
9832 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
9833 arg1
= temp1
->m_wxis
;
9836 PyErr_Clear(); // clear the failure of the wxPyConvert above
9837 arg1
= wxPyCBInputStream_create(obj0
, False
);
9839 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
9846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9847 result
= (bool)wxImage::CanRead(*arg1
);
9849 wxPyEndAllowThreads(__tstate
);
9850 if (PyErr_Occurred()) SWIG_fail
;
9853 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9869 static PyObject
*_wrap_Image_LoadStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9870 PyObject
*resultobj
;
9871 wxImage
*arg1
= (wxImage
*) 0 ;
9872 wxInputStream
*arg2
= 0 ;
9873 long arg3
= (long) wxBITMAP_TYPE_ANY
;
9874 int arg4
= (int) -1 ;
9876 wxPyInputStream
*temp2
;
9878 PyObject
* obj0
= 0 ;
9879 PyObject
* obj1
= 0 ;
9880 PyObject
* obj2
= 0 ;
9881 PyObject
* obj3
= 0 ;
9883 (char *) "self",(char *) "stream",(char *) "type",(char *) "index", NULL
9886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Image_LoadStream",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9887 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9888 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9890 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
9891 arg2
= temp2
->m_wxis
;
9894 PyErr_Clear(); // clear the failure of the wxPyConvert above
9895 arg2
= wxPyCBInputStream_create(obj1
, False
);
9897 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
9904 arg3
= (long) SWIG_AsLong(obj2
);
9905 if (PyErr_Occurred()) SWIG_fail
;
9908 arg4
= (int) SWIG_AsInt(obj3
);
9909 if (PyErr_Occurred()) SWIG_fail
;
9912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9913 result
= (bool)(arg1
)->LoadFile(*arg2
,arg3
,arg4
);
9915 wxPyEndAllowThreads(__tstate
);
9916 if (PyErr_Occurred()) SWIG_fail
;
9919 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9935 static PyObject
*_wrap_Image_LoadMimeStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9936 PyObject
*resultobj
;
9937 wxImage
*arg1
= (wxImage
*) 0 ;
9938 wxInputStream
*arg2
= 0 ;
9939 wxString
*arg3
= 0 ;
9940 int arg4
= (int) -1 ;
9942 wxPyInputStream
*temp2
;
9944 bool temp3
= False
;
9945 PyObject
* obj0
= 0 ;
9946 PyObject
* obj1
= 0 ;
9947 PyObject
* obj2
= 0 ;
9948 PyObject
* obj3
= 0 ;
9950 (char *) "self",(char *) "stream",(char *) "mimetype",(char *) "index", NULL
9953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_LoadMimeStream",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9954 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9955 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9957 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
9958 arg2
= temp2
->m_wxis
;
9961 PyErr_Clear(); // clear the failure of the wxPyConvert above
9962 arg2
= wxPyCBInputStream_create(obj1
, False
);
9964 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
9971 arg3
= wxString_in_helper(obj2
);
9972 if (arg3
== NULL
) SWIG_fail
;
9976 arg4
= (int) SWIG_AsInt(obj3
);
9977 if (PyErr_Occurred()) SWIG_fail
;
9980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9981 result
= (bool)(arg1
)->LoadFile(*arg2
,(wxString
const &)*arg3
,arg4
);
9983 wxPyEndAllowThreads(__tstate
);
9984 if (PyErr_Occurred()) SWIG_fail
;
9987 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10011 static PyObject
*_wrap_Image_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10012 PyObject
*resultobj
;
10013 wxImage
*arg1
= (wxImage
*) 0 ;
10015 PyObject
* obj0
= 0 ;
10016 char *kwnames
[] = {
10017 (char *) "self", NULL
10020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Ok",kwnames
,&obj0
)) goto fail
;
10021 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10022 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10025 result
= (bool)(arg1
)->Ok();
10027 wxPyEndAllowThreads(__tstate
);
10028 if (PyErr_Occurred()) SWIG_fail
;
10031 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10039 static PyObject
*_wrap_Image_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10040 PyObject
*resultobj
;
10041 wxImage
*arg1
= (wxImage
*) 0 ;
10043 PyObject
* obj0
= 0 ;
10044 char *kwnames
[] = {
10045 (char *) "self", NULL
10048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetWidth",kwnames
,&obj0
)) goto fail
;
10049 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10050 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10053 result
= (int)(arg1
)->GetWidth();
10055 wxPyEndAllowThreads(__tstate
);
10056 if (PyErr_Occurred()) SWIG_fail
;
10058 resultobj
= SWIG_FromInt((int)result
);
10065 static PyObject
*_wrap_Image_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10066 PyObject
*resultobj
;
10067 wxImage
*arg1
= (wxImage
*) 0 ;
10069 PyObject
* obj0
= 0 ;
10070 char *kwnames
[] = {
10071 (char *) "self", NULL
10074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetHeight",kwnames
,&obj0
)) goto fail
;
10075 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10076 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10079 result
= (int)(arg1
)->GetHeight();
10081 wxPyEndAllowThreads(__tstate
);
10082 if (PyErr_Occurred()) SWIG_fail
;
10084 resultobj
= SWIG_FromInt((int)result
);
10091 static PyObject
*_wrap_Image_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10092 PyObject
*resultobj
;
10093 wxImage
*arg1
= (wxImage
*) 0 ;
10095 PyObject
* obj0
= 0 ;
10096 char *kwnames
[] = {
10097 (char *) "self", NULL
10100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetSize",kwnames
,&obj0
)) goto fail
;
10101 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10102 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10105 result
= wxImage_GetSize(arg1
);
10107 wxPyEndAllowThreads(__tstate
);
10108 if (PyErr_Occurred()) SWIG_fail
;
10111 wxSize
* resultptr
;
10112 resultptr
= new wxSize((wxSize
&) result
);
10113 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
10121 static PyObject
*_wrap_Image_GetSubImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10122 PyObject
*resultobj
;
10123 wxImage
*arg1
= (wxImage
*) 0 ;
10125 SwigValueWrapper
< wxImage
> result
;
10127 PyObject
* obj0
= 0 ;
10128 PyObject
* obj1
= 0 ;
10129 char *kwnames
[] = {
10130 (char *) "self",(char *) "rect", NULL
10133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetSubImage",kwnames
,&obj0
,&obj1
)) goto fail
;
10134 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10135 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10138 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10142 result
= (arg1
)->GetSubImage((wxRect
const &)*arg2
);
10144 wxPyEndAllowThreads(__tstate
);
10145 if (PyErr_Occurred()) SWIG_fail
;
10148 wxImage
* resultptr
;
10149 resultptr
= new wxImage((wxImage
&) result
);
10150 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10158 static PyObject
*_wrap_Image_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10159 PyObject
*resultobj
;
10160 wxImage
*arg1
= (wxImage
*) 0 ;
10161 SwigValueWrapper
< wxImage
> result
;
10162 PyObject
* obj0
= 0 ;
10163 char *kwnames
[] = {
10164 (char *) "self", NULL
10167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Copy",kwnames
,&obj0
)) goto fail
;
10168 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10169 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10172 result
= (arg1
)->Copy();
10174 wxPyEndAllowThreads(__tstate
);
10175 if (PyErr_Occurred()) SWIG_fail
;
10178 wxImage
* resultptr
;
10179 resultptr
= new wxImage((wxImage
&) result
);
10180 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10188 static PyObject
*_wrap_Image_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10189 PyObject
*resultobj
;
10190 wxImage
*arg1
= (wxImage
*) 0 ;
10191 wxImage
*arg2
= 0 ;
10194 PyObject
* obj0
= 0 ;
10195 PyObject
* obj1
= 0 ;
10196 PyObject
* obj2
= 0 ;
10197 PyObject
* obj3
= 0 ;
10198 char *kwnames
[] = {
10199 (char *) "self",(char *) "image",(char *) "x",(char *) "y", NULL
10202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_Paste",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10203 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10204 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10205 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImage
,
10206 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10208 if (arg2
== NULL
) {
10209 PyErr_SetString(PyExc_TypeError
,"null reference");
10212 arg3
= (int) SWIG_AsInt(obj2
);
10213 if (PyErr_Occurred()) SWIG_fail
;
10214 arg4
= (int) SWIG_AsInt(obj3
);
10215 if (PyErr_Occurred()) SWIG_fail
;
10217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10218 (arg1
)->Paste((wxImage
const &)*arg2
,arg3
,arg4
);
10220 wxPyEndAllowThreads(__tstate
);
10221 if (PyErr_Occurred()) SWIG_fail
;
10223 Py_INCREF(Py_None
); resultobj
= Py_None
;
10230 static PyObject
*_wrap_Image_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10231 PyObject
*resultobj
;
10232 wxImage
*arg1
= (wxImage
*) 0 ;
10234 PyObject
* obj0
= 0 ;
10235 char *kwnames
[] = {
10236 (char *) "self", NULL
10239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetData",kwnames
,&obj0
)) goto fail
;
10240 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10241 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10244 result
= (PyObject
*)wxImage_GetData(arg1
);
10246 wxPyEndAllowThreads(__tstate
);
10247 if (PyErr_Occurred()) SWIG_fail
;
10249 resultobj
= result
;
10256 static PyObject
*_wrap_Image_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10257 PyObject
*resultobj
;
10258 wxImage
*arg1
= (wxImage
*) 0 ;
10259 PyObject
*arg2
= (PyObject
*) 0 ;
10260 PyObject
* obj0
= 0 ;
10261 PyObject
* obj1
= 0 ;
10262 char *kwnames
[] = {
10263 (char *) "self",(char *) "data", NULL
10266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
10267 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10268 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10272 wxImage_SetData(arg1
,arg2
);
10274 wxPyEndAllowThreads(__tstate
);
10275 if (PyErr_Occurred()) SWIG_fail
;
10277 Py_INCREF(Py_None
); resultobj
= Py_None
;
10284 static PyObject
*_wrap_Image_GetDataBuffer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10285 PyObject
*resultobj
;
10286 wxImage
*arg1
= (wxImage
*) 0 ;
10288 PyObject
* obj0
= 0 ;
10289 char *kwnames
[] = {
10290 (char *) "self", NULL
10293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetDataBuffer",kwnames
,&obj0
)) goto fail
;
10294 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10295 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10298 result
= (PyObject
*)wxImage_GetDataBuffer(arg1
);
10300 wxPyEndAllowThreads(__tstate
);
10301 if (PyErr_Occurred()) SWIG_fail
;
10303 resultobj
= result
;
10310 static PyObject
*_wrap_Image_SetDataBuffer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10311 PyObject
*resultobj
;
10312 wxImage
*arg1
= (wxImage
*) 0 ;
10313 PyObject
*arg2
= (PyObject
*) 0 ;
10314 PyObject
* obj0
= 0 ;
10315 PyObject
* obj1
= 0 ;
10316 char *kwnames
[] = {
10317 (char *) "self",(char *) "data", NULL
10320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetDataBuffer",kwnames
,&obj0
,&obj1
)) goto fail
;
10321 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10322 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10326 wxImage_SetDataBuffer(arg1
,arg2
);
10328 wxPyEndAllowThreads(__tstate
);
10329 if (PyErr_Occurred()) SWIG_fail
;
10331 Py_INCREF(Py_None
); resultobj
= Py_None
;
10338 static PyObject
*_wrap_Image_GetAlphaData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10339 PyObject
*resultobj
;
10340 wxImage
*arg1
= (wxImage
*) 0 ;
10342 PyObject
* obj0
= 0 ;
10343 char *kwnames
[] = {
10344 (char *) "self", NULL
10347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetAlphaData",kwnames
,&obj0
)) goto fail
;
10348 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10349 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10352 result
= (PyObject
*)wxImage_GetAlphaData(arg1
);
10354 wxPyEndAllowThreads(__tstate
);
10355 if (PyErr_Occurred()) SWIG_fail
;
10357 resultobj
= result
;
10364 static PyObject
*_wrap_Image_SetAlphaData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10365 PyObject
*resultobj
;
10366 wxImage
*arg1
= (wxImage
*) 0 ;
10367 PyObject
*arg2
= (PyObject
*) 0 ;
10368 PyObject
* obj0
= 0 ;
10369 PyObject
* obj1
= 0 ;
10370 char *kwnames
[] = {
10371 (char *) "self",(char *) "data", NULL
10374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetAlphaData",kwnames
,&obj0
,&obj1
)) goto fail
;
10375 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10380 wxImage_SetAlphaData(arg1
,arg2
);
10382 wxPyEndAllowThreads(__tstate
);
10383 if (PyErr_Occurred()) SWIG_fail
;
10385 Py_INCREF(Py_None
); resultobj
= Py_None
;
10392 static PyObject
*_wrap_Image_GetAlphaBuffer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10393 PyObject
*resultobj
;
10394 wxImage
*arg1
= (wxImage
*) 0 ;
10396 PyObject
* obj0
= 0 ;
10397 char *kwnames
[] = {
10398 (char *) "self", NULL
10401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetAlphaBuffer",kwnames
,&obj0
)) goto fail
;
10402 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10403 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10406 result
= (PyObject
*)wxImage_GetAlphaBuffer(arg1
);
10408 wxPyEndAllowThreads(__tstate
);
10409 if (PyErr_Occurred()) SWIG_fail
;
10411 resultobj
= result
;
10418 static PyObject
*_wrap_Image_SetAlphaBuffer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10419 PyObject
*resultobj
;
10420 wxImage
*arg1
= (wxImage
*) 0 ;
10421 PyObject
*arg2
= (PyObject
*) 0 ;
10422 PyObject
* obj0
= 0 ;
10423 PyObject
* obj1
= 0 ;
10424 char *kwnames
[] = {
10425 (char *) "self",(char *) "data", NULL
10428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetAlphaBuffer",kwnames
,&obj0
,&obj1
)) goto fail
;
10429 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10430 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10434 wxImage_SetAlphaBuffer(arg1
,arg2
);
10436 wxPyEndAllowThreads(__tstate
);
10437 if (PyErr_Occurred()) SWIG_fail
;
10439 Py_INCREF(Py_None
); resultobj
= Py_None
;
10446 static PyObject
*_wrap_Image_SetMaskColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10447 PyObject
*resultobj
;
10448 wxImage
*arg1
= (wxImage
*) 0 ;
10449 unsigned char arg2
;
10450 unsigned char arg3
;
10451 unsigned char arg4
;
10452 PyObject
* obj0
= 0 ;
10453 PyObject
* obj1
= 0 ;
10454 PyObject
* obj2
= 0 ;
10455 PyObject
* obj3
= 0 ;
10456 char *kwnames
[] = {
10457 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
10460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_SetMaskColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10461 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10462 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10463 arg2
= (unsigned char) SWIG_AsUnsignedChar(obj1
);
10464 if (PyErr_Occurred()) SWIG_fail
;
10465 arg3
= (unsigned char) SWIG_AsUnsignedChar(obj2
);
10466 if (PyErr_Occurred()) SWIG_fail
;
10467 arg4
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
10468 if (PyErr_Occurred()) SWIG_fail
;
10470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10471 (arg1
)->SetMaskColour(arg2
,arg3
,arg4
);
10473 wxPyEndAllowThreads(__tstate
);
10474 if (PyErr_Occurred()) SWIG_fail
;
10476 Py_INCREF(Py_None
); resultobj
= Py_None
;
10483 static PyObject
*_wrap_Image_GetMaskRed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10484 PyObject
*resultobj
;
10485 wxImage
*arg1
= (wxImage
*) 0 ;
10486 unsigned char result
;
10487 PyObject
* obj0
= 0 ;
10488 char *kwnames
[] = {
10489 (char *) "self", NULL
10492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskRed",kwnames
,&obj0
)) goto fail
;
10493 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10494 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10497 result
= (unsigned char)(arg1
)->GetMaskRed();
10499 wxPyEndAllowThreads(__tstate
);
10500 if (PyErr_Occurred()) SWIG_fail
;
10502 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
10509 static PyObject
*_wrap_Image_GetMaskGreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10510 PyObject
*resultobj
;
10511 wxImage
*arg1
= (wxImage
*) 0 ;
10512 unsigned char result
;
10513 PyObject
* obj0
= 0 ;
10514 char *kwnames
[] = {
10515 (char *) "self", NULL
10518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskGreen",kwnames
,&obj0
)) goto fail
;
10519 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10520 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10523 result
= (unsigned char)(arg1
)->GetMaskGreen();
10525 wxPyEndAllowThreads(__tstate
);
10526 if (PyErr_Occurred()) SWIG_fail
;
10528 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
10535 static PyObject
*_wrap_Image_GetMaskBlue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10536 PyObject
*resultobj
;
10537 wxImage
*arg1
= (wxImage
*) 0 ;
10538 unsigned char result
;
10539 PyObject
* obj0
= 0 ;
10540 char *kwnames
[] = {
10541 (char *) "self", NULL
10544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskBlue",kwnames
,&obj0
)) goto fail
;
10545 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10546 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10549 result
= (unsigned char)(arg1
)->GetMaskBlue();
10551 wxPyEndAllowThreads(__tstate
);
10552 if (PyErr_Occurred()) SWIG_fail
;
10554 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
10561 static PyObject
*_wrap_Image_SetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10562 PyObject
*resultobj
;
10563 wxImage
*arg1
= (wxImage
*) 0 ;
10564 bool arg2
= (bool) True
;
10565 PyObject
* obj0
= 0 ;
10566 PyObject
* obj1
= 0 ;
10567 char *kwnames
[] = {
10568 (char *) "self",(char *) "mask", NULL
10571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
10572 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10573 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10575 arg2
= (bool) SWIG_AsBool(obj1
);
10576 if (PyErr_Occurred()) SWIG_fail
;
10579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10580 (arg1
)->SetMask(arg2
);
10582 wxPyEndAllowThreads(__tstate
);
10583 if (PyErr_Occurred()) SWIG_fail
;
10585 Py_INCREF(Py_None
); resultobj
= Py_None
;
10592 static PyObject
*_wrap_Image_HasMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10593 PyObject
*resultobj
;
10594 wxImage
*arg1
= (wxImage
*) 0 ;
10596 PyObject
* obj0
= 0 ;
10597 char *kwnames
[] = {
10598 (char *) "self", NULL
10601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HasMask",kwnames
,&obj0
)) goto fail
;
10602 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10603 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10606 result
= (bool)(arg1
)->HasMask();
10608 wxPyEndAllowThreads(__tstate
);
10609 if (PyErr_Occurred()) SWIG_fail
;
10612 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10620 static PyObject
*_wrap_Image_Rotate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10621 PyObject
*resultobj
;
10622 wxImage
*arg1
= (wxImage
*) 0 ;
10624 wxPoint
*arg3
= 0 ;
10625 bool arg4
= (bool) True
;
10626 wxPoint
*arg5
= (wxPoint
*) NULL
;
10627 SwigValueWrapper
< wxImage
> result
;
10629 PyObject
* obj0
= 0 ;
10630 PyObject
* obj1
= 0 ;
10631 PyObject
* obj2
= 0 ;
10632 PyObject
* obj3
= 0 ;
10633 PyObject
* obj4
= 0 ;
10634 char *kwnames
[] = {
10635 (char *) "self",(char *) "angle",(char *) "centre_of_rotation",(char *) "interpolating",(char *) "offset_after_rotation", NULL
10638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Image_Rotate",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
10639 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10640 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10641 arg2
= (double) SWIG_AsDouble(obj1
);
10642 if (PyErr_Occurred()) SWIG_fail
;
10645 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10648 arg4
= (bool) SWIG_AsBool(obj3
);
10649 if (PyErr_Occurred()) SWIG_fail
;
10652 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxPoint
,
10653 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10657 result
= ((wxImage
const *)arg1
)->Rotate(arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
10659 wxPyEndAllowThreads(__tstate
);
10660 if (PyErr_Occurred()) SWIG_fail
;
10663 wxImage
* resultptr
;
10664 resultptr
= new wxImage((wxImage
&) result
);
10665 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10673 static PyObject
*_wrap_Image_Rotate90(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10674 PyObject
*resultobj
;
10675 wxImage
*arg1
= (wxImage
*) 0 ;
10676 bool arg2
= (bool) True
;
10677 SwigValueWrapper
< wxImage
> result
;
10678 PyObject
* obj0
= 0 ;
10679 PyObject
* obj1
= 0 ;
10680 char *kwnames
[] = {
10681 (char *) "self",(char *) "clockwise", NULL
10684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_Rotate90",kwnames
,&obj0
,&obj1
)) goto fail
;
10685 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10686 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10688 arg2
= (bool) SWIG_AsBool(obj1
);
10689 if (PyErr_Occurred()) SWIG_fail
;
10692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10693 result
= (arg1
)->Rotate90(arg2
);
10695 wxPyEndAllowThreads(__tstate
);
10696 if (PyErr_Occurred()) SWIG_fail
;
10699 wxImage
* resultptr
;
10700 resultptr
= new wxImage((wxImage
&) result
);
10701 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10709 static PyObject
*_wrap_Image_Mirror(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10710 PyObject
*resultobj
;
10711 wxImage
*arg1
= (wxImage
*) 0 ;
10712 bool arg2
= (bool) True
;
10713 SwigValueWrapper
< wxImage
> result
;
10714 PyObject
* obj0
= 0 ;
10715 PyObject
* obj1
= 0 ;
10716 char *kwnames
[] = {
10717 (char *) "self",(char *) "horizontally", NULL
10720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_Mirror",kwnames
,&obj0
,&obj1
)) goto fail
;
10721 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10722 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10724 arg2
= (bool) SWIG_AsBool(obj1
);
10725 if (PyErr_Occurred()) SWIG_fail
;
10728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10729 result
= (arg1
)->Mirror(arg2
);
10731 wxPyEndAllowThreads(__tstate
);
10732 if (PyErr_Occurred()) SWIG_fail
;
10735 wxImage
* resultptr
;
10736 resultptr
= new wxImage((wxImage
&) result
);
10737 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10745 static PyObject
*_wrap_Image_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10746 PyObject
*resultobj
;
10747 wxImage
*arg1
= (wxImage
*) 0 ;
10748 unsigned char arg2
;
10749 unsigned char arg3
;
10750 unsigned char arg4
;
10751 unsigned char arg5
;
10752 unsigned char arg6
;
10753 unsigned char arg7
;
10754 PyObject
* obj0
= 0 ;
10755 PyObject
* obj1
= 0 ;
10756 PyObject
* obj2
= 0 ;
10757 PyObject
* obj3
= 0 ;
10758 PyObject
* obj4
= 0 ;
10759 PyObject
* obj5
= 0 ;
10760 PyObject
* obj6
= 0 ;
10761 char *kwnames
[] = {
10762 (char *) "self",(char *) "r1",(char *) "g1",(char *) "b1",(char *) "r2",(char *) "g2",(char *) "b2", NULL
10765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:Image_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10766 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10767 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10768 arg2
= (unsigned char) SWIG_AsUnsignedChar(obj1
);
10769 if (PyErr_Occurred()) SWIG_fail
;
10770 arg3
= (unsigned char) SWIG_AsUnsignedChar(obj2
);
10771 if (PyErr_Occurred()) SWIG_fail
;
10772 arg4
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
10773 if (PyErr_Occurred()) SWIG_fail
;
10774 arg5
= (unsigned char) SWIG_AsUnsignedChar(obj4
);
10775 if (PyErr_Occurred()) SWIG_fail
;
10776 arg6
= (unsigned char) SWIG_AsUnsignedChar(obj5
);
10777 if (PyErr_Occurred()) SWIG_fail
;
10778 arg7
= (unsigned char) SWIG_AsUnsignedChar(obj6
);
10779 if (PyErr_Occurred()) SWIG_fail
;
10781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10782 (arg1
)->Replace(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
10784 wxPyEndAllowThreads(__tstate
);
10785 if (PyErr_Occurred()) SWIG_fail
;
10787 Py_INCREF(Py_None
); resultobj
= Py_None
;
10794 static PyObject
*_wrap_Image_ConvertToMono(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10795 PyObject
*resultobj
;
10796 wxImage
*arg1
= (wxImage
*) 0 ;
10797 unsigned char arg2
;
10798 unsigned char arg3
;
10799 unsigned char arg4
;
10800 SwigValueWrapper
< wxImage
> result
;
10801 PyObject
* obj0
= 0 ;
10802 PyObject
* obj1
= 0 ;
10803 PyObject
* obj2
= 0 ;
10804 PyObject
* obj3
= 0 ;
10805 char *kwnames
[] = {
10806 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
10809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertToMono",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10810 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10811 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10812 arg2
= (unsigned char) SWIG_AsUnsignedChar(obj1
);
10813 if (PyErr_Occurred()) SWIG_fail
;
10814 arg3
= (unsigned char) SWIG_AsUnsignedChar(obj2
);
10815 if (PyErr_Occurred()) SWIG_fail
;
10816 arg4
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
10817 if (PyErr_Occurred()) SWIG_fail
;
10819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10820 result
= ((wxImage
const *)arg1
)->ConvertToMono(arg2
,arg3
,arg4
);
10822 wxPyEndAllowThreads(__tstate
);
10823 if (PyErr_Occurred()) SWIG_fail
;
10826 wxImage
* resultptr
;
10827 resultptr
= new wxImage((wxImage
&) result
);
10828 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10836 static PyObject
*_wrap_Image_SetOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10837 PyObject
*resultobj
;
10838 wxImage
*arg1
= (wxImage
*) 0 ;
10839 wxString
*arg2
= 0 ;
10840 wxString
*arg3
= 0 ;
10841 bool temp2
= False
;
10842 bool temp3
= False
;
10843 PyObject
* obj0
= 0 ;
10844 PyObject
* obj1
= 0 ;
10845 PyObject
* obj2
= 0 ;
10846 char *kwnames
[] = {
10847 (char *) "self",(char *) "name",(char *) "value", NULL
10850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SetOption",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10851 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10852 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10854 arg2
= wxString_in_helper(obj1
);
10855 if (arg2
== NULL
) SWIG_fail
;
10859 arg3
= wxString_in_helper(obj2
);
10860 if (arg3
== NULL
) SWIG_fail
;
10864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10865 (arg1
)->SetOption((wxString
const &)*arg2
,(wxString
const &)*arg3
);
10867 wxPyEndAllowThreads(__tstate
);
10868 if (PyErr_Occurred()) SWIG_fail
;
10870 Py_INCREF(Py_None
); resultobj
= Py_None
;
10893 static PyObject
*_wrap_Image_SetOptionInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10894 PyObject
*resultobj
;
10895 wxImage
*arg1
= (wxImage
*) 0 ;
10896 wxString
*arg2
= 0 ;
10898 bool temp2
= False
;
10899 PyObject
* obj0
= 0 ;
10900 PyObject
* obj1
= 0 ;
10901 PyObject
* obj2
= 0 ;
10902 char *kwnames
[] = {
10903 (char *) "self",(char *) "name",(char *) "value", NULL
10906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SetOptionInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10907 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10908 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10910 arg2
= wxString_in_helper(obj1
);
10911 if (arg2
== NULL
) SWIG_fail
;
10914 arg3
= (int) SWIG_AsInt(obj2
);
10915 if (PyErr_Occurred()) SWIG_fail
;
10917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10918 (arg1
)->SetOption((wxString
const &)*arg2
,arg3
);
10920 wxPyEndAllowThreads(__tstate
);
10921 if (PyErr_Occurred()) SWIG_fail
;
10923 Py_INCREF(Py_None
); resultobj
= Py_None
;
10938 static PyObject
*_wrap_Image_GetOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10939 PyObject
*resultobj
;
10940 wxImage
*arg1
= (wxImage
*) 0 ;
10941 wxString
*arg2
= 0 ;
10943 bool temp2
= False
;
10944 PyObject
* obj0
= 0 ;
10945 PyObject
* obj1
= 0 ;
10946 char *kwnames
[] = {
10947 (char *) "self",(char *) "name", NULL
10950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetOption",kwnames
,&obj0
,&obj1
)) goto fail
;
10951 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10952 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10954 arg2
= wxString_in_helper(obj1
);
10955 if (arg2
== NULL
) SWIG_fail
;
10959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10960 result
= ((wxImage
const *)arg1
)->GetOption((wxString
const &)*arg2
);
10962 wxPyEndAllowThreads(__tstate
);
10963 if (PyErr_Occurred()) SWIG_fail
;
10967 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10969 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10986 static PyObject
*_wrap_Image_GetOptionInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10987 PyObject
*resultobj
;
10988 wxImage
*arg1
= (wxImage
*) 0 ;
10989 wxString
*arg2
= 0 ;
10991 bool temp2
= False
;
10992 PyObject
* obj0
= 0 ;
10993 PyObject
* obj1
= 0 ;
10994 char *kwnames
[] = {
10995 (char *) "self",(char *) "name", NULL
10998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetOptionInt",kwnames
,&obj0
,&obj1
)) goto fail
;
10999 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11000 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11002 arg2
= wxString_in_helper(obj1
);
11003 if (arg2
== NULL
) SWIG_fail
;
11007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11008 result
= (int)((wxImage
const *)arg1
)->GetOptionInt((wxString
const &)*arg2
);
11010 wxPyEndAllowThreads(__tstate
);
11011 if (PyErr_Occurred()) SWIG_fail
;
11013 resultobj
= SWIG_FromInt((int)result
);
11028 static PyObject
*_wrap_Image_HasOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11029 PyObject
*resultobj
;
11030 wxImage
*arg1
= (wxImage
*) 0 ;
11031 wxString
*arg2
= 0 ;
11033 bool temp2
= False
;
11034 PyObject
* obj0
= 0 ;
11035 PyObject
* obj1
= 0 ;
11036 char *kwnames
[] = {
11037 (char *) "self",(char *) "name", NULL
11040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_HasOption",kwnames
,&obj0
,&obj1
)) goto fail
;
11041 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11042 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11044 arg2
= wxString_in_helper(obj1
);
11045 if (arg2
== NULL
) SWIG_fail
;
11049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11050 result
= (bool)((wxImage
const *)arg1
)->HasOption((wxString
const &)*arg2
);
11052 wxPyEndAllowThreads(__tstate
);
11053 if (PyErr_Occurred()) SWIG_fail
;
11056 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11072 static PyObject
*_wrap_Image_CountColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11073 PyObject
*resultobj
;
11074 wxImage
*arg1
= (wxImage
*) 0 ;
11075 unsigned long arg2
= (unsigned long) (unsigned long) -1 ;
11076 unsigned long result
;
11077 PyObject
* obj0
= 0 ;
11078 PyObject
* obj1
= 0 ;
11079 char *kwnames
[] = {
11080 (char *) "self",(char *) "stopafter", NULL
11083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_CountColours",kwnames
,&obj0
,&obj1
)) goto fail
;
11084 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11085 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11087 arg2
= (unsigned long) SWIG_AsUnsignedLong(obj1
);
11088 if (PyErr_Occurred()) SWIG_fail
;
11091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11092 result
= (unsigned long)(arg1
)->CountColours(arg2
);
11094 wxPyEndAllowThreads(__tstate
);
11095 if (PyErr_Occurred()) SWIG_fail
;
11097 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
11104 static PyObject
*_wrap_Image_ComputeHistogram(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11105 PyObject
*resultobj
;
11106 wxImage
*arg1
= (wxImage
*) 0 ;
11107 wxImageHistogram
*arg2
= 0 ;
11108 unsigned long result
;
11109 PyObject
* obj0
= 0 ;
11110 PyObject
* obj1
= 0 ;
11111 char *kwnames
[] = {
11112 (char *) "self",(char *) "h", NULL
11115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_ComputeHistogram",kwnames
,&obj0
,&obj1
)) goto fail
;
11116 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11117 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11118 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageHistogram
,
11119 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11121 if (arg2
== NULL
) {
11122 PyErr_SetString(PyExc_TypeError
,"null reference");
11126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11127 result
= (unsigned long)(arg1
)->ComputeHistogram(*arg2
);
11129 wxPyEndAllowThreads(__tstate
);
11130 if (PyErr_Occurred()) SWIG_fail
;
11132 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
11139 static PyObject
*_wrap_Image_AddHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11140 PyObject
*resultobj
;
11141 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
11142 PyObject
* obj0
= 0 ;
11143 char *kwnames
[] = {
11144 (char *) "handler", NULL
11147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_AddHandler",kwnames
,&obj0
)) goto fail
;
11148 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
11149 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11152 wxImage::AddHandler(arg1
);
11154 wxPyEndAllowThreads(__tstate
);
11155 if (PyErr_Occurred()) SWIG_fail
;
11157 Py_INCREF(Py_None
); resultobj
= Py_None
;
11164 static PyObject
*_wrap_Image_InsertHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11165 PyObject
*resultobj
;
11166 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
11167 PyObject
* obj0
= 0 ;
11168 char *kwnames
[] = {
11169 (char *) "handler", NULL
11172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_InsertHandler",kwnames
,&obj0
)) goto fail
;
11173 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
11174 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11177 wxImage::InsertHandler(arg1
);
11179 wxPyEndAllowThreads(__tstate
);
11180 if (PyErr_Occurred()) SWIG_fail
;
11182 Py_INCREF(Py_None
); resultobj
= Py_None
;
11189 static PyObject
*_wrap_Image_RemoveHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11190 PyObject
*resultobj
;
11191 wxString
*arg1
= 0 ;
11193 bool temp1
= False
;
11194 PyObject
* obj0
= 0 ;
11195 char *kwnames
[] = {
11196 (char *) "name", NULL
11199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_RemoveHandler",kwnames
,&obj0
)) goto fail
;
11201 arg1
= wxString_in_helper(obj0
);
11202 if (arg1
== NULL
) SWIG_fail
;
11206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11207 result
= (bool)wxImage::RemoveHandler((wxString
const &)*arg1
);
11209 wxPyEndAllowThreads(__tstate
);
11210 if (PyErr_Occurred()) SWIG_fail
;
11213 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11229 static PyObject
*_wrap_Image_GetImageExtWildcard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11230 PyObject
*resultobj
;
11232 char *kwnames
[] = {
11236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Image_GetImageExtWildcard",kwnames
)) goto fail
;
11238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11239 result
= wxImage::GetImageExtWildcard();
11241 wxPyEndAllowThreads(__tstate
);
11242 if (PyErr_Occurred()) SWIG_fail
;
11246 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11248 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11257 static PyObject
*_wrap_Image_ConvertToBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11258 PyObject
*resultobj
;
11259 wxImage
*arg1
= (wxImage
*) 0 ;
11261 PyObject
* obj0
= 0 ;
11262 char *kwnames
[] = {
11263 (char *) "self", NULL
11266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_ConvertToBitmap",kwnames
,&obj0
)) goto fail
;
11267 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11268 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11270 if (!wxPyCheckForApp()) SWIG_fail
;
11271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11272 result
= wxImage_ConvertToBitmap(arg1
);
11274 wxPyEndAllowThreads(__tstate
);
11275 if (PyErr_Occurred()) SWIG_fail
;
11278 wxBitmap
* resultptr
;
11279 resultptr
= new wxBitmap((wxBitmap
&) result
);
11280 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
11288 static PyObject
*_wrap_Image_ConvertToMonoBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11289 PyObject
*resultobj
;
11290 wxImage
*arg1
= (wxImage
*) 0 ;
11291 unsigned char arg2
;
11292 unsigned char arg3
;
11293 unsigned char arg4
;
11295 PyObject
* obj0
= 0 ;
11296 PyObject
* obj1
= 0 ;
11297 PyObject
* obj2
= 0 ;
11298 PyObject
* obj3
= 0 ;
11299 char *kwnames
[] = {
11300 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
11303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertToMonoBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11304 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11305 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11306 arg2
= (unsigned char) SWIG_AsUnsignedChar(obj1
);
11307 if (PyErr_Occurred()) SWIG_fail
;
11308 arg3
= (unsigned char) SWIG_AsUnsignedChar(obj2
);
11309 if (PyErr_Occurred()) SWIG_fail
;
11310 arg4
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
11311 if (PyErr_Occurred()) SWIG_fail
;
11313 if (!wxPyCheckForApp()) SWIG_fail
;
11314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11315 result
= wxImage_ConvertToMonoBitmap(arg1
,arg2
,arg3
,arg4
);
11317 wxPyEndAllowThreads(__tstate
);
11318 if (PyErr_Occurred()) SWIG_fail
;
11321 wxBitmap
* resultptr
;
11322 resultptr
= new wxBitmap((wxBitmap
&) result
);
11323 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
11331 static PyObject
* Image_swigregister(PyObject
*self
, PyObject
*args
) {
11333 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11334 SWIG_TypeClientData(SWIGTYPE_p_wxImage
, obj
);
11336 return Py_BuildValue((char *)"");
11338 static int _wrap_NullImage_set(PyObject
*_val
) {
11339 PyErr_SetString(PyExc_TypeError
,"Variable NullImage is read-only.");
11344 static PyObject
*_wrap_NullImage_get() {
11347 pyobj
= SWIG_NewPointerObj((void *)(&wxNullImage
), SWIGTYPE_p_wxImage
, 0);
11352 static int _wrap_IMAGE_OPTION_BMP_FORMAT_set(PyObject
*_val
) {
11353 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_BMP_FORMAT is read-only.");
11358 static PyObject
*_wrap_IMAGE_OPTION_BMP_FORMAT_get() {
11363 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
11365 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
11372 static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set(PyObject
*_val
) {
11373 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_X is read-only.");
11378 static PyObject
*_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get() {
11383 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
11385 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
11392 static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set(PyObject
*_val
) {
11393 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_Y is read-only.");
11398 static PyObject
*_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get() {
11403 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
11405 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
11412 static int _wrap_IMAGE_OPTION_RESOLUTION_set(PyObject
*_val
) {
11413 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTION is read-only.");
11418 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTION_get() {
11423 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
11425 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
11432 static int _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set(PyObject
*_val
) {
11433 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTIONUNIT is read-only.");
11438 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get() {
11443 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
11445 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
11452 static PyObject
*_wrap_new_BMPHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11453 PyObject
*resultobj
;
11454 wxBMPHandler
*result
;
11455 char *kwnames
[] = {
11459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_BMPHandler",kwnames
)) goto fail
;
11461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11462 result
= (wxBMPHandler
*)new wxBMPHandler();
11464 wxPyEndAllowThreads(__tstate
);
11465 if (PyErr_Occurred()) SWIG_fail
;
11467 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBMPHandler
, 1);
11474 static PyObject
* BMPHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11476 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11477 SWIG_TypeClientData(SWIGTYPE_p_wxBMPHandler
, obj
);
11479 return Py_BuildValue((char *)"");
11481 static PyObject
*_wrap_new_ICOHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11482 PyObject
*resultobj
;
11483 wxICOHandler
*result
;
11484 char *kwnames
[] = {
11488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ICOHandler",kwnames
)) goto fail
;
11490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11491 result
= (wxICOHandler
*)new wxICOHandler();
11493 wxPyEndAllowThreads(__tstate
);
11494 if (PyErr_Occurred()) SWIG_fail
;
11496 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxICOHandler
, 1);
11503 static PyObject
* ICOHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11505 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11506 SWIG_TypeClientData(SWIGTYPE_p_wxICOHandler
, obj
);
11508 return Py_BuildValue((char *)"");
11510 static PyObject
*_wrap_new_CURHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11511 PyObject
*resultobj
;
11512 wxCURHandler
*result
;
11513 char *kwnames
[] = {
11517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_CURHandler",kwnames
)) goto fail
;
11519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11520 result
= (wxCURHandler
*)new wxCURHandler();
11522 wxPyEndAllowThreads(__tstate
);
11523 if (PyErr_Occurred()) SWIG_fail
;
11525 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCURHandler
, 1);
11532 static PyObject
* CURHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11534 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11535 SWIG_TypeClientData(SWIGTYPE_p_wxCURHandler
, obj
);
11537 return Py_BuildValue((char *)"");
11539 static PyObject
*_wrap_new_ANIHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11540 PyObject
*resultobj
;
11541 wxANIHandler
*result
;
11542 char *kwnames
[] = {
11546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ANIHandler",kwnames
)) goto fail
;
11548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11549 result
= (wxANIHandler
*)new wxANIHandler();
11551 wxPyEndAllowThreads(__tstate
);
11552 if (PyErr_Occurred()) SWIG_fail
;
11554 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxANIHandler
, 1);
11561 static PyObject
* ANIHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11563 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11564 SWIG_TypeClientData(SWIGTYPE_p_wxANIHandler
, obj
);
11566 return Py_BuildValue((char *)"");
11568 static PyObject
*_wrap_new_PNGHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11569 PyObject
*resultobj
;
11570 wxPNGHandler
*result
;
11571 char *kwnames
[] = {
11575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PNGHandler",kwnames
)) goto fail
;
11577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11578 result
= (wxPNGHandler
*)new wxPNGHandler();
11580 wxPyEndAllowThreads(__tstate
);
11581 if (PyErr_Occurred()) SWIG_fail
;
11583 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPNGHandler
, 1);
11590 static PyObject
* PNGHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11592 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11593 SWIG_TypeClientData(SWIGTYPE_p_wxPNGHandler
, obj
);
11595 return Py_BuildValue((char *)"");
11597 static PyObject
*_wrap_new_GIFHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11598 PyObject
*resultobj
;
11599 wxGIFHandler
*result
;
11600 char *kwnames
[] = {
11604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GIFHandler",kwnames
)) goto fail
;
11606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11607 result
= (wxGIFHandler
*)new wxGIFHandler();
11609 wxPyEndAllowThreads(__tstate
);
11610 if (PyErr_Occurred()) SWIG_fail
;
11612 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGIFHandler
, 1);
11619 static PyObject
* GIFHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11621 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11622 SWIG_TypeClientData(SWIGTYPE_p_wxGIFHandler
, obj
);
11624 return Py_BuildValue((char *)"");
11626 static PyObject
*_wrap_new_PCXHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11627 PyObject
*resultobj
;
11628 wxPCXHandler
*result
;
11629 char *kwnames
[] = {
11633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PCXHandler",kwnames
)) goto fail
;
11635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11636 result
= (wxPCXHandler
*)new wxPCXHandler();
11638 wxPyEndAllowThreads(__tstate
);
11639 if (PyErr_Occurred()) SWIG_fail
;
11641 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPCXHandler
, 1);
11648 static PyObject
* PCXHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11650 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11651 SWIG_TypeClientData(SWIGTYPE_p_wxPCXHandler
, obj
);
11653 return Py_BuildValue((char *)"");
11655 static PyObject
*_wrap_new_JPEGHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11656 PyObject
*resultobj
;
11657 wxJPEGHandler
*result
;
11658 char *kwnames
[] = {
11662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_JPEGHandler",kwnames
)) goto fail
;
11664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11665 result
= (wxJPEGHandler
*)new wxJPEGHandler();
11667 wxPyEndAllowThreads(__tstate
);
11668 if (PyErr_Occurred()) SWIG_fail
;
11670 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJPEGHandler
, 1);
11677 static PyObject
* JPEGHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11679 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11680 SWIG_TypeClientData(SWIGTYPE_p_wxJPEGHandler
, obj
);
11682 return Py_BuildValue((char *)"");
11684 static PyObject
*_wrap_new_PNMHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11685 PyObject
*resultobj
;
11686 wxPNMHandler
*result
;
11687 char *kwnames
[] = {
11691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PNMHandler",kwnames
)) goto fail
;
11693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11694 result
= (wxPNMHandler
*)new wxPNMHandler();
11696 wxPyEndAllowThreads(__tstate
);
11697 if (PyErr_Occurred()) SWIG_fail
;
11699 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPNMHandler
, 1);
11706 static PyObject
* PNMHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11708 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11709 SWIG_TypeClientData(SWIGTYPE_p_wxPNMHandler
, obj
);
11711 return Py_BuildValue((char *)"");
11713 static PyObject
*_wrap_new_XPMHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11714 PyObject
*resultobj
;
11715 wxXPMHandler
*result
;
11716 char *kwnames
[] = {
11720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_XPMHandler",kwnames
)) goto fail
;
11722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11723 result
= (wxXPMHandler
*)new wxXPMHandler();
11725 wxPyEndAllowThreads(__tstate
);
11726 if (PyErr_Occurred()) SWIG_fail
;
11728 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxXPMHandler
, 1);
11735 static PyObject
* XPMHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11737 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11738 SWIG_TypeClientData(SWIGTYPE_p_wxXPMHandler
, obj
);
11740 return Py_BuildValue((char *)"");
11742 static PyObject
*_wrap_new_TIFFHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11743 PyObject
*resultobj
;
11744 wxTIFFHandler
*result
;
11745 char *kwnames
[] = {
11749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TIFFHandler",kwnames
)) goto fail
;
11751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11752 result
= (wxTIFFHandler
*)new wxTIFFHandler();
11754 wxPyEndAllowThreads(__tstate
);
11755 if (PyErr_Occurred()) SWIG_fail
;
11757 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTIFFHandler
, 1);
11764 static PyObject
* TIFFHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11766 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11767 SWIG_TypeClientData(SWIGTYPE_p_wxTIFFHandler
, obj
);
11769 return Py_BuildValue((char *)"");
11771 static PyObject
*_wrap_new_EvtHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11772 PyObject
*resultobj
;
11773 wxEvtHandler
*result
;
11774 char *kwnames
[] = {
11778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EvtHandler",kwnames
)) goto fail
;
11780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11781 result
= (wxEvtHandler
*)new wxEvtHandler();
11783 wxPyEndAllowThreads(__tstate
);
11784 if (PyErr_Occurred()) SWIG_fail
;
11787 resultobj
= wxPyMake_wxObject(result
, 1);
11795 static PyObject
*_wrap_EvtHandler_GetNextHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11796 PyObject
*resultobj
;
11797 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11798 wxEvtHandler
*result
;
11799 PyObject
* obj0
= 0 ;
11800 char *kwnames
[] = {
11801 (char *) "self", NULL
11804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetNextHandler",kwnames
,&obj0
)) goto fail
;
11805 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11806 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11809 result
= (wxEvtHandler
*)(arg1
)->GetNextHandler();
11811 wxPyEndAllowThreads(__tstate
);
11812 if (PyErr_Occurred()) SWIG_fail
;
11815 resultobj
= wxPyMake_wxObject(result
, 0);
11823 static PyObject
*_wrap_EvtHandler_GetPreviousHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11824 PyObject
*resultobj
;
11825 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11826 wxEvtHandler
*result
;
11827 PyObject
* obj0
= 0 ;
11828 char *kwnames
[] = {
11829 (char *) "self", NULL
11832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetPreviousHandler",kwnames
,&obj0
)) goto fail
;
11833 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11834 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11837 result
= (wxEvtHandler
*)(arg1
)->GetPreviousHandler();
11839 wxPyEndAllowThreads(__tstate
);
11840 if (PyErr_Occurred()) SWIG_fail
;
11843 resultobj
= wxPyMake_wxObject(result
, 0);
11851 static PyObject
*_wrap_EvtHandler_SetNextHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11852 PyObject
*resultobj
;
11853 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11854 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
11855 PyObject
* obj0
= 0 ;
11856 PyObject
* obj1
= 0 ;
11857 char *kwnames
[] = {
11858 (char *) "self",(char *) "handler", NULL
11861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetNextHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
11862 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11863 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11864 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
11865 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11868 (arg1
)->SetNextHandler(arg2
);
11870 wxPyEndAllowThreads(__tstate
);
11871 if (PyErr_Occurred()) SWIG_fail
;
11873 Py_INCREF(Py_None
); resultobj
= Py_None
;
11880 static PyObject
*_wrap_EvtHandler_SetPreviousHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11881 PyObject
*resultobj
;
11882 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11883 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
11884 PyObject
* obj0
= 0 ;
11885 PyObject
* obj1
= 0 ;
11886 char *kwnames
[] = {
11887 (char *) "self",(char *) "handler", NULL
11890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetPreviousHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
11891 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11892 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11893 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
11894 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11897 (arg1
)->SetPreviousHandler(arg2
);
11899 wxPyEndAllowThreads(__tstate
);
11900 if (PyErr_Occurred()) SWIG_fail
;
11902 Py_INCREF(Py_None
); resultobj
= Py_None
;
11909 static PyObject
*_wrap_EvtHandler_GetEvtHandlerEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11910 PyObject
*resultobj
;
11911 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11913 PyObject
* obj0
= 0 ;
11914 char *kwnames
[] = {
11915 (char *) "self", NULL
11918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetEvtHandlerEnabled",kwnames
,&obj0
)) goto fail
;
11919 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11923 result
= (bool)(arg1
)->GetEvtHandlerEnabled();
11925 wxPyEndAllowThreads(__tstate
);
11926 if (PyErr_Occurred()) SWIG_fail
;
11929 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11937 static PyObject
*_wrap_EvtHandler_SetEvtHandlerEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11938 PyObject
*resultobj
;
11939 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11941 PyObject
* obj0
= 0 ;
11942 PyObject
* obj1
= 0 ;
11943 char *kwnames
[] = {
11944 (char *) "self",(char *) "enabled", NULL
11947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetEvtHandlerEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
11948 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11949 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11950 arg2
= (bool) SWIG_AsBool(obj1
);
11951 if (PyErr_Occurred()) SWIG_fail
;
11953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11954 (arg1
)->SetEvtHandlerEnabled(arg2
);
11956 wxPyEndAllowThreads(__tstate
);
11957 if (PyErr_Occurred()) SWIG_fail
;
11959 Py_INCREF(Py_None
); resultobj
= Py_None
;
11966 static PyObject
*_wrap_EvtHandler_ProcessEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11967 PyObject
*resultobj
;
11968 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11969 wxEvent
*arg2
= 0 ;
11971 PyObject
* obj0
= 0 ;
11972 PyObject
* obj1
= 0 ;
11973 char *kwnames
[] = {
11974 (char *) "self",(char *) "event", NULL
11977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_ProcessEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
11978 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11979 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11980 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvent
,
11981 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11983 if (arg2
== NULL
) {
11984 PyErr_SetString(PyExc_TypeError
,"null reference");
11988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11989 result
= (bool)(arg1
)->ProcessEvent(*arg2
);
11991 wxPyEndAllowThreads(__tstate
);
11992 if (PyErr_Occurred()) SWIG_fail
;
11995 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12003 static PyObject
*_wrap_EvtHandler_AddPendingEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12004 PyObject
*resultobj
;
12005 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12006 wxEvent
*arg2
= 0 ;
12007 PyObject
* obj0
= 0 ;
12008 PyObject
* obj1
= 0 ;
12009 char *kwnames
[] = {
12010 (char *) "self",(char *) "event", NULL
12013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_AddPendingEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
12014 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12015 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12016 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvent
,
12017 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12019 if (arg2
== NULL
) {
12020 PyErr_SetString(PyExc_TypeError
,"null reference");
12024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12025 (arg1
)->AddPendingEvent(*arg2
);
12027 wxPyEndAllowThreads(__tstate
);
12028 if (PyErr_Occurred()) SWIG_fail
;
12030 Py_INCREF(Py_None
); resultobj
= Py_None
;
12037 static PyObject
*_wrap_EvtHandler_ProcessPendingEvents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12038 PyObject
*resultobj
;
12039 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12040 PyObject
* obj0
= 0 ;
12041 char *kwnames
[] = {
12042 (char *) "self", NULL
12045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_ProcessPendingEvents",kwnames
,&obj0
)) goto fail
;
12046 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12047 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12050 (arg1
)->ProcessPendingEvents();
12052 wxPyEndAllowThreads(__tstate
);
12053 if (PyErr_Occurred()) SWIG_fail
;
12055 Py_INCREF(Py_None
); resultobj
= Py_None
;
12062 static PyObject
*_wrap_EvtHandler_Connect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12063 PyObject
*resultobj
;
12064 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12068 PyObject
*arg5
= (PyObject
*) 0 ;
12069 PyObject
* obj0
= 0 ;
12070 PyObject
* obj1
= 0 ;
12071 PyObject
* obj2
= 0 ;
12072 PyObject
* obj3
= 0 ;
12073 PyObject
* obj4
= 0 ;
12074 char *kwnames
[] = {
12075 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType",(char *) "func", NULL
12078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:EvtHandler_Connect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12079 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12081 arg2
= (int) SWIG_AsInt(obj1
);
12082 if (PyErr_Occurred()) SWIG_fail
;
12083 arg3
= (int) SWIG_AsInt(obj2
);
12084 if (PyErr_Occurred()) SWIG_fail
;
12085 arg4
= (int) SWIG_AsInt(obj3
);
12086 if (PyErr_Occurred()) SWIG_fail
;
12089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12090 wxEvtHandler_Connect(arg1
,arg2
,arg3
,arg4
,arg5
);
12092 wxPyEndAllowThreads(__tstate
);
12093 if (PyErr_Occurred()) SWIG_fail
;
12095 Py_INCREF(Py_None
); resultobj
= Py_None
;
12102 static PyObject
*_wrap_EvtHandler_Disconnect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12103 PyObject
*resultobj
;
12104 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12106 int arg3
= (int) -1 ;
12107 wxEventType arg4
= (wxEventType
) wxEVT_NULL
;
12109 PyObject
* obj0
= 0 ;
12110 PyObject
* obj1
= 0 ;
12111 PyObject
* obj2
= 0 ;
12112 PyObject
* obj3
= 0 ;
12113 char *kwnames
[] = {
12114 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType", NULL
12117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:EvtHandler_Disconnect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12118 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12119 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12120 arg2
= (int) SWIG_AsInt(obj1
);
12121 if (PyErr_Occurred()) SWIG_fail
;
12123 arg3
= (int) SWIG_AsInt(obj2
);
12124 if (PyErr_Occurred()) SWIG_fail
;
12127 arg4
= (wxEventType
) SWIG_AsInt(obj3
);
12128 if (PyErr_Occurred()) SWIG_fail
;
12131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12132 result
= (bool)wxEvtHandler_Disconnect(arg1
,arg2
,arg3
,arg4
);
12134 wxPyEndAllowThreads(__tstate
);
12135 if (PyErr_Occurred()) SWIG_fail
;
12138 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12146 static PyObject
*_wrap_EvtHandler__setOORInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12147 PyObject
*resultobj
;
12148 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12149 PyObject
*arg2
= (PyObject
*) 0 ;
12150 PyObject
* obj0
= 0 ;
12151 PyObject
* obj1
= 0 ;
12152 char *kwnames
[] = {
12153 (char *) "self",(char *) "_self", NULL
12156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
12157 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12158 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12162 wxEvtHandler__setOORInfo(arg1
,arg2
);
12164 wxPyEndAllowThreads(__tstate
);
12165 if (PyErr_Occurred()) SWIG_fail
;
12167 Py_INCREF(Py_None
); resultobj
= Py_None
;
12174 static PyObject
* EvtHandler_swigregister(PyObject
*self
, PyObject
*args
) {
12176 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12177 SWIG_TypeClientData(SWIGTYPE_p_wxEvtHandler
, obj
);
12179 return Py_BuildValue((char *)"");
12181 static PyObject
*_wrap_NewEventType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12182 PyObject
*resultobj
;
12183 wxEventType result
;
12184 char *kwnames
[] = {
12188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":NewEventType",kwnames
)) goto fail
;
12190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12191 result
= (wxEventType
)wxNewEventType();
12193 wxPyEndAllowThreads(__tstate
);
12194 if (PyErr_Occurred()) SWIG_fail
;
12196 resultobj
= SWIG_FromInt((int)result
);
12203 static PyObject
*_wrap_delete_Event(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12204 PyObject
*resultobj
;
12205 wxEvent
*arg1
= (wxEvent
*) 0 ;
12206 PyObject
* obj0
= 0 ;
12207 char *kwnames
[] = {
12208 (char *) "self", NULL
12211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Event",kwnames
,&obj0
)) goto fail
;
12212 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12213 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12218 wxPyEndAllowThreads(__tstate
);
12219 if (PyErr_Occurred()) SWIG_fail
;
12221 Py_INCREF(Py_None
); resultobj
= Py_None
;
12228 static PyObject
*_wrap_Event_SetEventType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12229 PyObject
*resultobj
;
12230 wxEvent
*arg1
= (wxEvent
*) 0 ;
12232 PyObject
* obj0
= 0 ;
12233 PyObject
* obj1
= 0 ;
12234 char *kwnames
[] = {
12235 (char *) "self",(char *) "typ", NULL
12238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetEventType",kwnames
,&obj0
,&obj1
)) goto fail
;
12239 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12240 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12241 arg2
= (wxEventType
) SWIG_AsInt(obj1
);
12242 if (PyErr_Occurred()) SWIG_fail
;
12244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12245 (arg1
)->SetEventType(arg2
);
12247 wxPyEndAllowThreads(__tstate
);
12248 if (PyErr_Occurred()) SWIG_fail
;
12250 Py_INCREF(Py_None
); resultobj
= Py_None
;
12257 static PyObject
*_wrap_Event_GetEventType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12258 PyObject
*resultobj
;
12259 wxEvent
*arg1
= (wxEvent
*) 0 ;
12260 wxEventType result
;
12261 PyObject
* obj0
= 0 ;
12262 char *kwnames
[] = {
12263 (char *) "self", NULL
12266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetEventType",kwnames
,&obj0
)) goto fail
;
12267 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12268 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12271 result
= (wxEventType
)((wxEvent
const *)arg1
)->GetEventType();
12273 wxPyEndAllowThreads(__tstate
);
12274 if (PyErr_Occurred()) SWIG_fail
;
12276 resultobj
= SWIG_FromInt((int)result
);
12283 static PyObject
*_wrap_Event_GetEventObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12284 PyObject
*resultobj
;
12285 wxEvent
*arg1
= (wxEvent
*) 0 ;
12287 PyObject
* obj0
= 0 ;
12288 char *kwnames
[] = {
12289 (char *) "self", NULL
12292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetEventObject",kwnames
,&obj0
)) goto fail
;
12293 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12294 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12297 result
= (wxObject
*)((wxEvent
const *)arg1
)->GetEventObject();
12299 wxPyEndAllowThreads(__tstate
);
12300 if (PyErr_Occurred()) SWIG_fail
;
12303 resultobj
= wxPyMake_wxObject(result
, 0);
12311 static PyObject
*_wrap_Event_SetEventObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12312 PyObject
*resultobj
;
12313 wxEvent
*arg1
= (wxEvent
*) 0 ;
12314 wxObject
*arg2
= (wxObject
*) 0 ;
12315 PyObject
* obj0
= 0 ;
12316 PyObject
* obj1
= 0 ;
12317 char *kwnames
[] = {
12318 (char *) "self",(char *) "obj", NULL
12321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetEventObject",kwnames
,&obj0
,&obj1
)) goto fail
;
12322 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12323 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12324 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxObject
,
12325 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12328 (arg1
)->SetEventObject(arg2
);
12330 wxPyEndAllowThreads(__tstate
);
12331 if (PyErr_Occurred()) SWIG_fail
;
12333 Py_INCREF(Py_None
); resultobj
= Py_None
;
12340 static PyObject
*_wrap_Event_GetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12341 PyObject
*resultobj
;
12342 wxEvent
*arg1
= (wxEvent
*) 0 ;
12344 PyObject
* obj0
= 0 ;
12345 char *kwnames
[] = {
12346 (char *) "self", NULL
12349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetTimestamp",kwnames
,&obj0
)) goto fail
;
12350 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12351 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12354 result
= (long)((wxEvent
const *)arg1
)->GetTimestamp();
12356 wxPyEndAllowThreads(__tstate
);
12357 if (PyErr_Occurred()) SWIG_fail
;
12359 resultobj
= SWIG_FromLong((long)result
);
12366 static PyObject
*_wrap_Event_SetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12367 PyObject
*resultobj
;
12368 wxEvent
*arg1
= (wxEvent
*) 0 ;
12369 long arg2
= (long) 0 ;
12370 PyObject
* obj0
= 0 ;
12371 PyObject
* obj1
= 0 ;
12372 char *kwnames
[] = {
12373 (char *) "self",(char *) "ts", NULL
12376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Event_SetTimestamp",kwnames
,&obj0
,&obj1
)) goto fail
;
12377 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12378 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12380 arg2
= (long) SWIG_AsLong(obj1
);
12381 if (PyErr_Occurred()) SWIG_fail
;
12384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12385 (arg1
)->SetTimestamp(arg2
);
12387 wxPyEndAllowThreads(__tstate
);
12388 if (PyErr_Occurred()) SWIG_fail
;
12390 Py_INCREF(Py_None
); resultobj
= Py_None
;
12397 static PyObject
*_wrap_Event_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12398 PyObject
*resultobj
;
12399 wxEvent
*arg1
= (wxEvent
*) 0 ;
12401 PyObject
* obj0
= 0 ;
12402 char *kwnames
[] = {
12403 (char *) "self", NULL
12406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetId",kwnames
,&obj0
)) goto fail
;
12407 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12408 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12411 result
= (int)((wxEvent
const *)arg1
)->GetId();
12413 wxPyEndAllowThreads(__tstate
);
12414 if (PyErr_Occurred()) SWIG_fail
;
12416 resultobj
= SWIG_FromInt((int)result
);
12423 static PyObject
*_wrap_Event_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12424 PyObject
*resultobj
;
12425 wxEvent
*arg1
= (wxEvent
*) 0 ;
12427 PyObject
* obj0
= 0 ;
12428 PyObject
* obj1
= 0 ;
12429 char *kwnames
[] = {
12430 (char *) "self",(char *) "Id", NULL
12433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
12434 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12435 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12436 arg2
= (int) SWIG_AsInt(obj1
);
12437 if (PyErr_Occurred()) SWIG_fail
;
12439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12440 (arg1
)->SetId(arg2
);
12442 wxPyEndAllowThreads(__tstate
);
12443 if (PyErr_Occurred()) SWIG_fail
;
12445 Py_INCREF(Py_None
); resultobj
= Py_None
;
12452 static PyObject
*_wrap_Event_IsCommandEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12453 PyObject
*resultobj
;
12454 wxEvent
*arg1
= (wxEvent
*) 0 ;
12456 PyObject
* obj0
= 0 ;
12457 char *kwnames
[] = {
12458 (char *) "self", NULL
12461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_IsCommandEvent",kwnames
,&obj0
)) goto fail
;
12462 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12463 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12466 result
= (bool)((wxEvent
const *)arg1
)->IsCommandEvent();
12468 wxPyEndAllowThreads(__tstate
);
12469 if (PyErr_Occurred()) SWIG_fail
;
12472 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12480 static PyObject
*_wrap_Event_Skip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12481 PyObject
*resultobj
;
12482 wxEvent
*arg1
= (wxEvent
*) 0 ;
12483 bool arg2
= (bool) True
;
12484 PyObject
* obj0
= 0 ;
12485 PyObject
* obj1
= 0 ;
12486 char *kwnames
[] = {
12487 (char *) "self",(char *) "skip", NULL
12490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Event_Skip",kwnames
,&obj0
,&obj1
)) goto fail
;
12491 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12492 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12494 arg2
= (bool) SWIG_AsBool(obj1
);
12495 if (PyErr_Occurred()) SWIG_fail
;
12498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12499 (arg1
)->Skip(arg2
);
12501 wxPyEndAllowThreads(__tstate
);
12502 if (PyErr_Occurred()) SWIG_fail
;
12504 Py_INCREF(Py_None
); resultobj
= Py_None
;
12511 static PyObject
*_wrap_Event_GetSkipped(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12512 PyObject
*resultobj
;
12513 wxEvent
*arg1
= (wxEvent
*) 0 ;
12515 PyObject
* obj0
= 0 ;
12516 char *kwnames
[] = {
12517 (char *) "self", NULL
12520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetSkipped",kwnames
,&obj0
)) goto fail
;
12521 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12522 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12525 result
= (bool)((wxEvent
const *)arg1
)->GetSkipped();
12527 wxPyEndAllowThreads(__tstate
);
12528 if (PyErr_Occurred()) SWIG_fail
;
12531 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12539 static PyObject
*_wrap_Event_ShouldPropagate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12540 PyObject
*resultobj
;
12541 wxEvent
*arg1
= (wxEvent
*) 0 ;
12543 PyObject
* obj0
= 0 ;
12544 char *kwnames
[] = {
12545 (char *) "self", NULL
12548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_ShouldPropagate",kwnames
,&obj0
)) goto fail
;
12549 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12550 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12553 result
= (bool)((wxEvent
const *)arg1
)->ShouldPropagate();
12555 wxPyEndAllowThreads(__tstate
);
12556 if (PyErr_Occurred()) SWIG_fail
;
12559 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12567 static PyObject
*_wrap_Event_StopPropagation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12568 PyObject
*resultobj
;
12569 wxEvent
*arg1
= (wxEvent
*) 0 ;
12571 PyObject
* obj0
= 0 ;
12572 char *kwnames
[] = {
12573 (char *) "self", NULL
12576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_StopPropagation",kwnames
,&obj0
)) goto fail
;
12577 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12578 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12581 result
= (int)(arg1
)->StopPropagation();
12583 wxPyEndAllowThreads(__tstate
);
12584 if (PyErr_Occurred()) SWIG_fail
;
12586 resultobj
= SWIG_FromInt((int)result
);
12593 static PyObject
*_wrap_Event_ResumePropagation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12594 PyObject
*resultobj
;
12595 wxEvent
*arg1
= (wxEvent
*) 0 ;
12597 PyObject
* obj0
= 0 ;
12598 PyObject
* obj1
= 0 ;
12599 char *kwnames
[] = {
12600 (char *) "self",(char *) "propagationLevel", NULL
12603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_ResumePropagation",kwnames
,&obj0
,&obj1
)) goto fail
;
12604 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12605 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12606 arg2
= (int) SWIG_AsInt(obj1
);
12607 if (PyErr_Occurred()) SWIG_fail
;
12609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12610 (arg1
)->ResumePropagation(arg2
);
12612 wxPyEndAllowThreads(__tstate
);
12613 if (PyErr_Occurred()) SWIG_fail
;
12615 Py_INCREF(Py_None
); resultobj
= Py_None
;
12622 static PyObject
*_wrap_Event_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12623 PyObject
*resultobj
;
12624 wxEvent
*arg1
= (wxEvent
*) 0 ;
12626 PyObject
* obj0
= 0 ;
12627 char *kwnames
[] = {
12628 (char *) "self", NULL
12631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_Clone",kwnames
,&obj0
)) goto fail
;
12632 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12633 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12636 result
= (wxEvent
*)(arg1
)->Clone();
12638 wxPyEndAllowThreads(__tstate
);
12639 if (PyErr_Occurred()) SWIG_fail
;
12641 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvent
, 0);
12648 static PyObject
* Event_swigregister(PyObject
*self
, PyObject
*args
) {
12650 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12651 SWIG_TypeClientData(SWIGTYPE_p_wxEvent
, obj
);
12653 return Py_BuildValue((char *)"");
12655 static PyObject
*_wrap_new_PropagationDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12656 PyObject
*resultobj
;
12657 wxEvent
*arg1
= 0 ;
12658 wxPropagationDisabler
*result
;
12659 PyObject
* obj0
= 0 ;
12660 char *kwnames
[] = {
12661 (char *) "event", NULL
12664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagationDisabler",kwnames
,&obj0
)) goto fail
;
12665 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12666 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12668 if (arg1
== NULL
) {
12669 PyErr_SetString(PyExc_TypeError
,"null reference");
12673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12674 result
= (wxPropagationDisabler
*)new wxPropagationDisabler(*arg1
);
12676 wxPyEndAllowThreads(__tstate
);
12677 if (PyErr_Occurred()) SWIG_fail
;
12679 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPropagationDisabler
, 1);
12686 static PyObject
*_wrap_delete_PropagationDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12687 PyObject
*resultobj
;
12688 wxPropagationDisabler
*arg1
= (wxPropagationDisabler
*) 0 ;
12689 PyObject
* obj0
= 0 ;
12690 char *kwnames
[] = {
12691 (char *) "self", NULL
12694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PropagationDisabler",kwnames
,&obj0
)) goto fail
;
12695 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPropagationDisabler
,
12696 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12701 wxPyEndAllowThreads(__tstate
);
12702 if (PyErr_Occurred()) SWIG_fail
;
12704 Py_INCREF(Py_None
); resultobj
= Py_None
;
12711 static PyObject
* PropagationDisabler_swigregister(PyObject
*self
, PyObject
*args
) {
12713 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12714 SWIG_TypeClientData(SWIGTYPE_p_wxPropagationDisabler
, obj
);
12716 return Py_BuildValue((char *)"");
12718 static PyObject
*_wrap_new_PropagateOnce(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12719 PyObject
*resultobj
;
12720 wxEvent
*arg1
= 0 ;
12721 wxPropagateOnce
*result
;
12722 PyObject
* obj0
= 0 ;
12723 char *kwnames
[] = {
12724 (char *) "event", NULL
12727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagateOnce",kwnames
,&obj0
)) goto fail
;
12728 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12729 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12731 if (arg1
== NULL
) {
12732 PyErr_SetString(PyExc_TypeError
,"null reference");
12736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12737 result
= (wxPropagateOnce
*)new wxPropagateOnce(*arg1
);
12739 wxPyEndAllowThreads(__tstate
);
12740 if (PyErr_Occurred()) SWIG_fail
;
12742 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPropagateOnce
, 1);
12749 static PyObject
*_wrap_delete_PropagateOnce(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12750 PyObject
*resultobj
;
12751 wxPropagateOnce
*arg1
= (wxPropagateOnce
*) 0 ;
12752 PyObject
* obj0
= 0 ;
12753 char *kwnames
[] = {
12754 (char *) "self", NULL
12757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PropagateOnce",kwnames
,&obj0
)) goto fail
;
12758 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPropagateOnce
,
12759 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12764 wxPyEndAllowThreads(__tstate
);
12765 if (PyErr_Occurred()) SWIG_fail
;
12767 Py_INCREF(Py_None
); resultobj
= Py_None
;
12774 static PyObject
* PropagateOnce_swigregister(PyObject
*self
, PyObject
*args
) {
12776 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12777 SWIG_TypeClientData(SWIGTYPE_p_wxPropagateOnce
, obj
);
12779 return Py_BuildValue((char *)"");
12781 static PyObject
*_wrap_new_CommandEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12782 PyObject
*resultobj
;
12783 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
12784 int arg2
= (int) 0 ;
12785 wxCommandEvent
*result
;
12786 PyObject
* obj0
= 0 ;
12787 PyObject
* obj1
= 0 ;
12788 char *kwnames
[] = {
12789 (char *) "commandType",(char *) "winid", NULL
12792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_CommandEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
12794 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
12795 if (PyErr_Occurred()) SWIG_fail
;
12798 arg2
= (int) SWIG_AsInt(obj1
);
12799 if (PyErr_Occurred()) SWIG_fail
;
12802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12803 result
= (wxCommandEvent
*)new wxCommandEvent(arg1
,arg2
);
12805 wxPyEndAllowThreads(__tstate
);
12806 if (PyErr_Occurred()) SWIG_fail
;
12808 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCommandEvent
, 1);
12815 static PyObject
*_wrap_CommandEvent_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12816 PyObject
*resultobj
;
12817 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12819 PyObject
* obj0
= 0 ;
12820 char *kwnames
[] = {
12821 (char *) "self", NULL
12824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetSelection",kwnames
,&obj0
)) goto fail
;
12825 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12826 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12829 result
= (int)((wxCommandEvent
const *)arg1
)->GetSelection();
12831 wxPyEndAllowThreads(__tstate
);
12832 if (PyErr_Occurred()) SWIG_fail
;
12834 resultobj
= SWIG_FromInt((int)result
);
12841 static PyObject
*_wrap_CommandEvent_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12842 PyObject
*resultobj
;
12843 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12844 wxString
*arg2
= 0 ;
12845 bool temp2
= False
;
12846 PyObject
* obj0
= 0 ;
12847 PyObject
* obj1
= 0 ;
12848 char *kwnames
[] = {
12849 (char *) "self",(char *) "s", NULL
12852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetString",kwnames
,&obj0
,&obj1
)) goto fail
;
12853 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12854 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12856 arg2
= wxString_in_helper(obj1
);
12857 if (arg2
== NULL
) SWIG_fail
;
12861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12862 (arg1
)->SetString((wxString
const &)*arg2
);
12864 wxPyEndAllowThreads(__tstate
);
12865 if (PyErr_Occurred()) SWIG_fail
;
12867 Py_INCREF(Py_None
); resultobj
= Py_None
;
12882 static PyObject
*_wrap_CommandEvent_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12883 PyObject
*resultobj
;
12884 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12886 PyObject
* obj0
= 0 ;
12887 char *kwnames
[] = {
12888 (char *) "self", NULL
12891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetString",kwnames
,&obj0
)) goto fail
;
12892 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12893 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12896 result
= ((wxCommandEvent
const *)arg1
)->GetString();
12898 wxPyEndAllowThreads(__tstate
);
12899 if (PyErr_Occurred()) SWIG_fail
;
12903 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12905 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12914 static PyObject
*_wrap_CommandEvent_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12915 PyObject
*resultobj
;
12916 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12918 PyObject
* obj0
= 0 ;
12919 char *kwnames
[] = {
12920 (char *) "self", NULL
12923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_IsChecked",kwnames
,&obj0
)) goto fail
;
12924 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12925 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12928 result
= (bool)((wxCommandEvent
const *)arg1
)->IsChecked();
12930 wxPyEndAllowThreads(__tstate
);
12931 if (PyErr_Occurred()) SWIG_fail
;
12934 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12942 static PyObject
*_wrap_CommandEvent_IsSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12943 PyObject
*resultobj
;
12944 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12946 PyObject
* obj0
= 0 ;
12947 char *kwnames
[] = {
12948 (char *) "self", NULL
12951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_IsSelection",kwnames
,&obj0
)) goto fail
;
12952 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12953 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12956 result
= (bool)((wxCommandEvent
const *)arg1
)->IsSelection();
12958 wxPyEndAllowThreads(__tstate
);
12959 if (PyErr_Occurred()) SWIG_fail
;
12962 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12970 static PyObject
*_wrap_CommandEvent_SetExtraLong(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12971 PyObject
*resultobj
;
12972 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12974 PyObject
* obj0
= 0 ;
12975 PyObject
* obj1
= 0 ;
12976 char *kwnames
[] = {
12977 (char *) "self",(char *) "extraLong", NULL
12980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetExtraLong",kwnames
,&obj0
,&obj1
)) goto fail
;
12981 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12982 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12983 arg2
= (long) SWIG_AsLong(obj1
);
12984 if (PyErr_Occurred()) SWIG_fail
;
12986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12987 (arg1
)->SetExtraLong(arg2
);
12989 wxPyEndAllowThreads(__tstate
);
12990 if (PyErr_Occurred()) SWIG_fail
;
12992 Py_INCREF(Py_None
); resultobj
= Py_None
;
12999 static PyObject
*_wrap_CommandEvent_GetExtraLong(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13000 PyObject
*resultobj
;
13001 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13003 PyObject
* obj0
= 0 ;
13004 char *kwnames
[] = {
13005 (char *) "self", NULL
13008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetExtraLong",kwnames
,&obj0
)) goto fail
;
13009 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13010 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13013 result
= (long)((wxCommandEvent
const *)arg1
)->GetExtraLong();
13015 wxPyEndAllowThreads(__tstate
);
13016 if (PyErr_Occurred()) SWIG_fail
;
13018 resultobj
= SWIG_FromLong((long)result
);
13025 static PyObject
*_wrap_CommandEvent_SetInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13026 PyObject
*resultobj
;
13027 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13029 PyObject
* obj0
= 0 ;
13030 PyObject
* obj1
= 0 ;
13031 char *kwnames
[] = {
13032 (char *) "self",(char *) "i", NULL
13035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetInt",kwnames
,&obj0
,&obj1
)) goto fail
;
13036 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13037 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13038 arg2
= (int) SWIG_AsInt(obj1
);
13039 if (PyErr_Occurred()) SWIG_fail
;
13041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13042 (arg1
)->SetInt(arg2
);
13044 wxPyEndAllowThreads(__tstate
);
13045 if (PyErr_Occurred()) SWIG_fail
;
13047 Py_INCREF(Py_None
); resultobj
= Py_None
;
13054 static PyObject
*_wrap_CommandEvent_GetInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13055 PyObject
*resultobj
;
13056 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13058 PyObject
* obj0
= 0 ;
13059 char *kwnames
[] = {
13060 (char *) "self", NULL
13063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetInt",kwnames
,&obj0
)) goto fail
;
13064 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13065 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13068 result
= (long)((wxCommandEvent
const *)arg1
)->GetInt();
13070 wxPyEndAllowThreads(__tstate
);
13071 if (PyErr_Occurred()) SWIG_fail
;
13073 resultobj
= SWIG_FromLong((long)result
);
13080 static PyObject
*_wrap_CommandEvent_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13081 PyObject
*resultobj
;
13082 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13084 PyObject
* obj0
= 0 ;
13085 char *kwnames
[] = {
13086 (char *) "self", NULL
13089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_Clone",kwnames
,&obj0
)) goto fail
;
13090 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13091 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13094 result
= (wxEvent
*)((wxCommandEvent
const *)arg1
)->Clone();
13096 wxPyEndAllowThreads(__tstate
);
13097 if (PyErr_Occurred()) SWIG_fail
;
13099 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvent
, 0);
13106 static PyObject
* CommandEvent_swigregister(PyObject
*self
, PyObject
*args
) {
13108 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13109 SWIG_TypeClientData(SWIGTYPE_p_wxCommandEvent
, obj
);
13111 return Py_BuildValue((char *)"");
13113 static PyObject
*_wrap_new_NotifyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13114 PyObject
*resultobj
;
13115 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13116 int arg2
= (int) 0 ;
13117 wxNotifyEvent
*result
;
13118 PyObject
* obj0
= 0 ;
13119 PyObject
* obj1
= 0 ;
13120 char *kwnames
[] = {
13121 (char *) "commandType",(char *) "winid", NULL
13124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_NotifyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
13126 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
13127 if (PyErr_Occurred()) SWIG_fail
;
13130 arg2
= (int) SWIG_AsInt(obj1
);
13131 if (PyErr_Occurred()) SWIG_fail
;
13134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13135 result
= (wxNotifyEvent
*)new wxNotifyEvent(arg1
,arg2
);
13137 wxPyEndAllowThreads(__tstate
);
13138 if (PyErr_Occurred()) SWIG_fail
;
13140 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotifyEvent
, 1);
13147 static PyObject
*_wrap_NotifyEvent_Veto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13148 PyObject
*resultobj
;
13149 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
13150 PyObject
* obj0
= 0 ;
13151 char *kwnames
[] = {
13152 (char *) "self", NULL
13155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_Veto",kwnames
,&obj0
)) goto fail
;
13156 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotifyEvent
,
13157 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13162 wxPyEndAllowThreads(__tstate
);
13163 if (PyErr_Occurred()) SWIG_fail
;
13165 Py_INCREF(Py_None
); resultobj
= Py_None
;
13172 static PyObject
*_wrap_NotifyEvent_Allow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13173 PyObject
*resultobj
;
13174 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
13175 PyObject
* obj0
= 0 ;
13176 char *kwnames
[] = {
13177 (char *) "self", NULL
13180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_Allow",kwnames
,&obj0
)) goto fail
;
13181 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotifyEvent
,
13182 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13187 wxPyEndAllowThreads(__tstate
);
13188 if (PyErr_Occurred()) SWIG_fail
;
13190 Py_INCREF(Py_None
); resultobj
= Py_None
;
13197 static PyObject
*_wrap_NotifyEvent_IsAllowed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13198 PyObject
*resultobj
;
13199 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
13201 PyObject
* obj0
= 0 ;
13202 char *kwnames
[] = {
13203 (char *) "self", NULL
13206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_IsAllowed",kwnames
,&obj0
)) goto fail
;
13207 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotifyEvent
,
13208 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13211 result
= (bool)(arg1
)->IsAllowed();
13213 wxPyEndAllowThreads(__tstate
);
13214 if (PyErr_Occurred()) SWIG_fail
;
13217 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13225 static PyObject
* NotifyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
13227 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13228 SWIG_TypeClientData(SWIGTYPE_p_wxNotifyEvent
, obj
);
13230 return Py_BuildValue((char *)"");
13232 static PyObject
*_wrap_new_ScrollEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13233 PyObject
*resultobj
;
13234 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13235 int arg2
= (int) 0 ;
13236 int arg3
= (int) 0 ;
13237 int arg4
= (int) 0 ;
13238 wxScrollEvent
*result
;
13239 PyObject
* obj0
= 0 ;
13240 PyObject
* obj1
= 0 ;
13241 PyObject
* obj2
= 0 ;
13242 PyObject
* obj3
= 0 ;
13243 char *kwnames
[] = {
13244 (char *) "commandType",(char *) "winid",(char *) "pos",(char *) "orient", NULL
13247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ScrollEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13249 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
13250 if (PyErr_Occurred()) SWIG_fail
;
13253 arg2
= (int) SWIG_AsInt(obj1
);
13254 if (PyErr_Occurred()) SWIG_fail
;
13257 arg3
= (int) SWIG_AsInt(obj2
);
13258 if (PyErr_Occurred()) SWIG_fail
;
13261 arg4
= (int) SWIG_AsInt(obj3
);
13262 if (PyErr_Occurred()) SWIG_fail
;
13265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13266 result
= (wxScrollEvent
*)new wxScrollEvent(arg1
,arg2
,arg3
,arg4
);
13268 wxPyEndAllowThreads(__tstate
);
13269 if (PyErr_Occurred()) SWIG_fail
;
13271 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollEvent
, 1);
13278 static PyObject
*_wrap_ScrollEvent_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13279 PyObject
*resultobj
;
13280 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
13282 PyObject
* obj0
= 0 ;
13283 char *kwnames
[] = {
13284 (char *) "self", NULL
13287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
13288 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollEvent
,
13289 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13292 result
= (int)((wxScrollEvent
const *)arg1
)->GetOrientation();
13294 wxPyEndAllowThreads(__tstate
);
13295 if (PyErr_Occurred()) SWIG_fail
;
13297 resultobj
= SWIG_FromInt((int)result
);
13304 static PyObject
*_wrap_ScrollEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13305 PyObject
*resultobj
;
13306 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
13308 PyObject
* obj0
= 0 ;
13309 char *kwnames
[] = {
13310 (char *) "self", NULL
13313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
13314 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollEvent
,
13315 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13318 result
= (int)((wxScrollEvent
const *)arg1
)->GetPosition();
13320 wxPyEndAllowThreads(__tstate
);
13321 if (PyErr_Occurred()) SWIG_fail
;
13323 resultobj
= SWIG_FromInt((int)result
);
13330 static PyObject
*_wrap_ScrollEvent_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13331 PyObject
*resultobj
;
13332 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
13334 PyObject
* obj0
= 0 ;
13335 PyObject
* obj1
= 0 ;
13336 char *kwnames
[] = {
13337 (char *) "self",(char *) "orient", NULL
13340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
13341 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollEvent
,
13342 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13343 arg2
= (int) SWIG_AsInt(obj1
);
13344 if (PyErr_Occurred()) SWIG_fail
;
13346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13347 (arg1
)->SetOrientation(arg2
);
13349 wxPyEndAllowThreads(__tstate
);
13350 if (PyErr_Occurred()) SWIG_fail
;
13352 Py_INCREF(Py_None
); resultobj
= Py_None
;
13359 static PyObject
*_wrap_ScrollEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13360 PyObject
*resultobj
;
13361 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
13363 PyObject
* obj0
= 0 ;
13364 PyObject
* obj1
= 0 ;
13365 char *kwnames
[] = {
13366 (char *) "self",(char *) "pos", NULL
13369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
13370 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollEvent
,
13371 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13372 arg2
= (int) SWIG_AsInt(obj1
);
13373 if (PyErr_Occurred()) SWIG_fail
;
13375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13376 (arg1
)->SetPosition(arg2
);
13378 wxPyEndAllowThreads(__tstate
);
13379 if (PyErr_Occurred()) SWIG_fail
;
13381 Py_INCREF(Py_None
); resultobj
= Py_None
;
13388 static PyObject
* ScrollEvent_swigregister(PyObject
*self
, PyObject
*args
) {
13390 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13391 SWIG_TypeClientData(SWIGTYPE_p_wxScrollEvent
, obj
);
13393 return Py_BuildValue((char *)"");
13395 static PyObject
*_wrap_new_ScrollWinEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13396 PyObject
*resultobj
;
13397 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13398 int arg2
= (int) 0 ;
13399 int arg3
= (int) 0 ;
13400 wxScrollWinEvent
*result
;
13401 PyObject
* obj0
= 0 ;
13402 PyObject
* obj1
= 0 ;
13403 PyObject
* obj2
= 0 ;
13404 char *kwnames
[] = {
13405 (char *) "commandType",(char *) "pos",(char *) "orient", NULL
13408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ScrollWinEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13410 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
13411 if (PyErr_Occurred()) SWIG_fail
;
13414 arg2
= (int) SWIG_AsInt(obj1
);
13415 if (PyErr_Occurred()) SWIG_fail
;
13418 arg3
= (int) SWIG_AsInt(obj2
);
13419 if (PyErr_Occurred()) SWIG_fail
;
13422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13423 result
= (wxScrollWinEvent
*)new wxScrollWinEvent(arg1
,arg2
,arg3
);
13425 wxPyEndAllowThreads(__tstate
);
13426 if (PyErr_Occurred()) SWIG_fail
;
13428 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollWinEvent
, 1);
13435 static PyObject
*_wrap_ScrollWinEvent_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13436 PyObject
*resultobj
;
13437 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
13439 PyObject
* obj0
= 0 ;
13440 char *kwnames
[] = {
13441 (char *) "self", NULL
13444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollWinEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
13445 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollWinEvent
,
13446 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13449 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetOrientation();
13451 wxPyEndAllowThreads(__tstate
);
13452 if (PyErr_Occurred()) SWIG_fail
;
13454 resultobj
= SWIG_FromInt((int)result
);
13461 static PyObject
*_wrap_ScrollWinEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13462 PyObject
*resultobj
;
13463 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
13465 PyObject
* obj0
= 0 ;
13466 char *kwnames
[] = {
13467 (char *) "self", NULL
13470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollWinEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
13471 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollWinEvent
,
13472 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13475 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetPosition();
13477 wxPyEndAllowThreads(__tstate
);
13478 if (PyErr_Occurred()) SWIG_fail
;
13480 resultobj
= SWIG_FromInt((int)result
);
13487 static PyObject
*_wrap_ScrollWinEvent_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13488 PyObject
*resultobj
;
13489 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
13491 PyObject
* obj0
= 0 ;
13492 PyObject
* obj1
= 0 ;
13493 char *kwnames
[] = {
13494 (char *) "self",(char *) "orient", NULL
13497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollWinEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
13498 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollWinEvent
,
13499 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13500 arg2
= (int) SWIG_AsInt(obj1
);
13501 if (PyErr_Occurred()) SWIG_fail
;
13503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13504 (arg1
)->SetOrientation(arg2
);
13506 wxPyEndAllowThreads(__tstate
);
13507 if (PyErr_Occurred()) SWIG_fail
;
13509 Py_INCREF(Py_None
); resultobj
= Py_None
;
13516 static PyObject
*_wrap_ScrollWinEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13517 PyObject
*resultobj
;
13518 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
13520 PyObject
* obj0
= 0 ;
13521 PyObject
* obj1
= 0 ;
13522 char *kwnames
[] = {
13523 (char *) "self",(char *) "pos", NULL
13526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollWinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
13527 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollWinEvent
,
13528 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13529 arg2
= (int) SWIG_AsInt(obj1
);
13530 if (PyErr_Occurred()) SWIG_fail
;
13532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13533 (arg1
)->SetPosition(arg2
);
13535 wxPyEndAllowThreads(__tstate
);
13536 if (PyErr_Occurred()) SWIG_fail
;
13538 Py_INCREF(Py_None
); resultobj
= Py_None
;
13545 static PyObject
* ScrollWinEvent_swigregister(PyObject
*self
, PyObject
*args
) {
13547 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13548 SWIG_TypeClientData(SWIGTYPE_p_wxScrollWinEvent
, obj
);
13550 return Py_BuildValue((char *)"");
13552 static PyObject
*_wrap_new_MouseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13553 PyObject
*resultobj
;
13554 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13555 wxMouseEvent
*result
;
13556 PyObject
* obj0
= 0 ;
13557 char *kwnames
[] = {
13558 (char *) "mouseType", NULL
13561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MouseEvent",kwnames
,&obj0
)) goto fail
;
13563 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
13564 if (PyErr_Occurred()) SWIG_fail
;
13567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13568 result
= (wxMouseEvent
*)new wxMouseEvent(arg1
);
13570 wxPyEndAllowThreads(__tstate
);
13571 if (PyErr_Occurred()) SWIG_fail
;
13574 resultobj
= wxPyMake_wxObject(result
, 1);
13582 static PyObject
*_wrap_MouseEvent_IsButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13583 PyObject
*resultobj
;
13584 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13586 PyObject
* obj0
= 0 ;
13587 char *kwnames
[] = {
13588 (char *) "self", NULL
13591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_IsButton",kwnames
,&obj0
)) goto fail
;
13592 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13593 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13596 result
= (bool)((wxMouseEvent
const *)arg1
)->IsButton();
13598 wxPyEndAllowThreads(__tstate
);
13599 if (PyErr_Occurred()) SWIG_fail
;
13602 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13610 static PyObject
*_wrap_MouseEvent_ButtonDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13611 PyObject
*resultobj
;
13612 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13613 int arg2
= (int) wxMOUSE_BTN_ANY
;
13615 PyObject
* obj0
= 0 ;
13616 PyObject
* obj1
= 0 ;
13617 char *kwnames
[] = {
13618 (char *) "self",(char *) "but", NULL
13621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonDown",kwnames
,&obj0
,&obj1
)) goto fail
;
13622 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13623 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13625 arg2
= (int) SWIG_AsInt(obj1
);
13626 if (PyErr_Occurred()) SWIG_fail
;
13629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13630 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDown(arg2
);
13632 wxPyEndAllowThreads(__tstate
);
13633 if (PyErr_Occurred()) SWIG_fail
;
13636 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13644 static PyObject
*_wrap_MouseEvent_ButtonDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13645 PyObject
*resultobj
;
13646 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13647 int arg2
= (int) wxMOUSE_BTN_ANY
;
13649 PyObject
* obj0
= 0 ;
13650 PyObject
* obj1
= 0 ;
13651 char *kwnames
[] = {
13652 (char *) "self",(char *) "but", NULL
13655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonDClick",kwnames
,&obj0
,&obj1
)) goto fail
;
13656 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13657 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13659 arg2
= (int) SWIG_AsInt(obj1
);
13660 if (PyErr_Occurred()) SWIG_fail
;
13663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13664 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDClick(arg2
);
13666 wxPyEndAllowThreads(__tstate
);
13667 if (PyErr_Occurred()) SWIG_fail
;
13670 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13678 static PyObject
*_wrap_MouseEvent_ButtonUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13679 PyObject
*resultobj
;
13680 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13681 int arg2
= (int) wxMOUSE_BTN_ANY
;
13683 PyObject
* obj0
= 0 ;
13684 PyObject
* obj1
= 0 ;
13685 char *kwnames
[] = {
13686 (char *) "self",(char *) "but", NULL
13689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonUp",kwnames
,&obj0
,&obj1
)) goto fail
;
13690 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13691 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13693 arg2
= (int) SWIG_AsInt(obj1
);
13694 if (PyErr_Occurred()) SWIG_fail
;
13697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13698 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonUp(arg2
);
13700 wxPyEndAllowThreads(__tstate
);
13701 if (PyErr_Occurred()) SWIG_fail
;
13704 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13712 static PyObject
*_wrap_MouseEvent_Button(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13713 PyObject
*resultobj
;
13714 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13717 PyObject
* obj0
= 0 ;
13718 PyObject
* obj1
= 0 ;
13719 char *kwnames
[] = {
13720 (char *) "self",(char *) "but", NULL
13723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_Button",kwnames
,&obj0
,&obj1
)) goto fail
;
13724 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13725 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13726 arg2
= (int) SWIG_AsInt(obj1
);
13727 if (PyErr_Occurred()) SWIG_fail
;
13729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13730 result
= (bool)((wxMouseEvent
const *)arg1
)->Button(arg2
);
13732 wxPyEndAllowThreads(__tstate
);
13733 if (PyErr_Occurred()) SWIG_fail
;
13736 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13744 static PyObject
*_wrap_MouseEvent_ButtonIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13745 PyObject
*resultobj
;
13746 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13749 PyObject
* obj0
= 0 ;
13750 PyObject
* obj1
= 0 ;
13751 char *kwnames
[] = {
13752 (char *) "self",(char *) "but", NULL
13755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_ButtonIsDown",kwnames
,&obj0
,&obj1
)) goto fail
;
13756 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13757 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13758 arg2
= (int) SWIG_AsInt(obj1
);
13759 if (PyErr_Occurred()) SWIG_fail
;
13761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13762 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonIsDown(arg2
);
13764 wxPyEndAllowThreads(__tstate
);
13765 if (PyErr_Occurred()) SWIG_fail
;
13768 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13776 static PyObject
*_wrap_MouseEvent_GetButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13777 PyObject
*resultobj
;
13778 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13780 PyObject
* obj0
= 0 ;
13781 char *kwnames
[] = {
13782 (char *) "self", NULL
13785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetButton",kwnames
,&obj0
)) goto fail
;
13786 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13787 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13790 result
= (int)((wxMouseEvent
const *)arg1
)->GetButton();
13792 wxPyEndAllowThreads(__tstate
);
13793 if (PyErr_Occurred()) SWIG_fail
;
13795 resultobj
= SWIG_FromInt((int)result
);
13802 static PyObject
*_wrap_MouseEvent_ControlDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13803 PyObject
*resultobj
;
13804 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13806 PyObject
* obj0
= 0 ;
13807 char *kwnames
[] = {
13808 (char *) "self", NULL
13811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
13812 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13813 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13816 result
= (bool)((wxMouseEvent
const *)arg1
)->ControlDown();
13818 wxPyEndAllowThreads(__tstate
);
13819 if (PyErr_Occurred()) SWIG_fail
;
13822 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13830 static PyObject
*_wrap_MouseEvent_MetaDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13831 PyObject
*resultobj
;
13832 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13834 PyObject
* obj0
= 0 ;
13835 char *kwnames
[] = {
13836 (char *) "self", NULL
13839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
13840 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13841 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13844 result
= (bool)((wxMouseEvent
const *)arg1
)->MetaDown();
13846 wxPyEndAllowThreads(__tstate
);
13847 if (PyErr_Occurred()) SWIG_fail
;
13850 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13858 static PyObject
*_wrap_MouseEvent_AltDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13859 PyObject
*resultobj
;
13860 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13862 PyObject
* obj0
= 0 ;
13863 char *kwnames
[] = {
13864 (char *) "self", NULL
13867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_AltDown",kwnames
,&obj0
)) goto fail
;
13868 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13869 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13872 result
= (bool)((wxMouseEvent
const *)arg1
)->AltDown();
13874 wxPyEndAllowThreads(__tstate
);
13875 if (PyErr_Occurred()) SWIG_fail
;
13878 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13886 static PyObject
*_wrap_MouseEvent_ShiftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13887 PyObject
*resultobj
;
13888 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13890 PyObject
* obj0
= 0 ;
13891 char *kwnames
[] = {
13892 (char *) "self", NULL
13895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
13896 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13897 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13900 result
= (bool)((wxMouseEvent
const *)arg1
)->ShiftDown();
13902 wxPyEndAllowThreads(__tstate
);
13903 if (PyErr_Occurred()) SWIG_fail
;
13906 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13914 static PyObject
*_wrap_MouseEvent_CmdDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13915 PyObject
*resultobj
;
13916 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13918 PyObject
* obj0
= 0 ;
13919 char *kwnames
[] = {
13920 (char *) "self", NULL
13923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_CmdDown",kwnames
,&obj0
)) goto fail
;
13924 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13925 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13928 result
= (bool)((wxMouseEvent
const *)arg1
)->CmdDown();
13930 wxPyEndAllowThreads(__tstate
);
13931 if (PyErr_Occurred()) SWIG_fail
;
13934 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13942 static PyObject
*_wrap_MouseEvent_LeftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13943 PyObject
*resultobj
;
13944 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13946 PyObject
* obj0
= 0 ;
13947 char *kwnames
[] = {
13948 (char *) "self", NULL
13951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftDown",kwnames
,&obj0
)) goto fail
;
13952 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13953 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13956 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDown();
13958 wxPyEndAllowThreads(__tstate
);
13959 if (PyErr_Occurred()) SWIG_fail
;
13962 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13970 static PyObject
*_wrap_MouseEvent_MiddleDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13971 PyObject
*resultobj
;
13972 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13974 PyObject
* obj0
= 0 ;
13975 char *kwnames
[] = {
13976 (char *) "self", NULL
13979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleDown",kwnames
,&obj0
)) goto fail
;
13980 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13981 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13984 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDown();
13986 wxPyEndAllowThreads(__tstate
);
13987 if (PyErr_Occurred()) SWIG_fail
;
13990 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13998 static PyObject
*_wrap_MouseEvent_RightDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13999 PyObject
*resultobj
;
14000 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14002 PyObject
* obj0
= 0 ;
14003 char *kwnames
[] = {
14004 (char *) "self", NULL
14007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightDown",kwnames
,&obj0
)) goto fail
;
14008 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14009 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14012 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDown();
14014 wxPyEndAllowThreads(__tstate
);
14015 if (PyErr_Occurred()) SWIG_fail
;
14018 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14026 static PyObject
*_wrap_MouseEvent_LeftUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14027 PyObject
*resultobj
;
14028 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14030 PyObject
* obj0
= 0 ;
14031 char *kwnames
[] = {
14032 (char *) "self", NULL
14035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftUp",kwnames
,&obj0
)) goto fail
;
14036 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14037 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14040 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftUp();
14042 wxPyEndAllowThreads(__tstate
);
14043 if (PyErr_Occurred()) SWIG_fail
;
14046 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14054 static PyObject
*_wrap_MouseEvent_MiddleUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14055 PyObject
*resultobj
;
14056 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14058 PyObject
* obj0
= 0 ;
14059 char *kwnames
[] = {
14060 (char *) "self", NULL
14063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleUp",kwnames
,&obj0
)) goto fail
;
14064 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14065 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14068 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleUp();
14070 wxPyEndAllowThreads(__tstate
);
14071 if (PyErr_Occurred()) SWIG_fail
;
14074 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14082 static PyObject
*_wrap_MouseEvent_RightUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14083 PyObject
*resultobj
;
14084 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14086 PyObject
* obj0
= 0 ;
14087 char *kwnames
[] = {
14088 (char *) "self", NULL
14091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightUp",kwnames
,&obj0
)) goto fail
;
14092 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14093 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14096 result
= (bool)((wxMouseEvent
const *)arg1
)->RightUp();
14098 wxPyEndAllowThreads(__tstate
);
14099 if (PyErr_Occurred()) SWIG_fail
;
14102 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14110 static PyObject
*_wrap_MouseEvent_LeftDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14111 PyObject
*resultobj
;
14112 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14114 PyObject
* obj0
= 0 ;
14115 char *kwnames
[] = {
14116 (char *) "self", NULL
14119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftDClick",kwnames
,&obj0
)) goto fail
;
14120 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14121 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14124 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDClick();
14126 wxPyEndAllowThreads(__tstate
);
14127 if (PyErr_Occurred()) SWIG_fail
;
14130 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14138 static PyObject
*_wrap_MouseEvent_MiddleDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14139 PyObject
*resultobj
;
14140 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14142 PyObject
* obj0
= 0 ;
14143 char *kwnames
[] = {
14144 (char *) "self", NULL
14147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleDClick",kwnames
,&obj0
)) goto fail
;
14148 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14149 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14152 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDClick();
14154 wxPyEndAllowThreads(__tstate
);
14155 if (PyErr_Occurred()) SWIG_fail
;
14158 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14166 static PyObject
*_wrap_MouseEvent_RightDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14167 PyObject
*resultobj
;
14168 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14170 PyObject
* obj0
= 0 ;
14171 char *kwnames
[] = {
14172 (char *) "self", NULL
14175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightDClick",kwnames
,&obj0
)) goto fail
;
14176 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14177 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14180 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDClick();
14182 wxPyEndAllowThreads(__tstate
);
14183 if (PyErr_Occurred()) SWIG_fail
;
14186 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14194 static PyObject
*_wrap_MouseEvent_LeftIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14195 PyObject
*resultobj
;
14196 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14198 PyObject
* obj0
= 0 ;
14199 char *kwnames
[] = {
14200 (char *) "self", NULL
14203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftIsDown",kwnames
,&obj0
)) goto fail
;
14204 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14205 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14208 result
= (bool)(arg1
)->LeftIsDown();
14210 wxPyEndAllowThreads(__tstate
);
14211 if (PyErr_Occurred()) SWIG_fail
;
14214 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14222 static PyObject
*_wrap_MouseEvent_MiddleIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14223 PyObject
*resultobj
;
14224 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14226 PyObject
* obj0
= 0 ;
14227 char *kwnames
[] = {
14228 (char *) "self", NULL
14231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleIsDown",kwnames
,&obj0
)) goto fail
;
14232 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14233 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14236 result
= (bool)(arg1
)->MiddleIsDown();
14238 wxPyEndAllowThreads(__tstate
);
14239 if (PyErr_Occurred()) SWIG_fail
;
14242 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14250 static PyObject
*_wrap_MouseEvent_RightIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14251 PyObject
*resultobj
;
14252 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14254 PyObject
* obj0
= 0 ;
14255 char *kwnames
[] = {
14256 (char *) "self", NULL
14259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightIsDown",kwnames
,&obj0
)) goto fail
;
14260 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14261 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14264 result
= (bool)(arg1
)->RightIsDown();
14266 wxPyEndAllowThreads(__tstate
);
14267 if (PyErr_Occurred()) SWIG_fail
;
14270 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14278 static PyObject
*_wrap_MouseEvent_Dragging(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14279 PyObject
*resultobj
;
14280 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14282 PyObject
* obj0
= 0 ;
14283 char *kwnames
[] = {
14284 (char *) "self", NULL
14287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Dragging",kwnames
,&obj0
)) goto fail
;
14288 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14289 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14292 result
= (bool)((wxMouseEvent
const *)arg1
)->Dragging();
14294 wxPyEndAllowThreads(__tstate
);
14295 if (PyErr_Occurred()) SWIG_fail
;
14298 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14306 static PyObject
*_wrap_MouseEvent_Moving(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14307 PyObject
*resultobj
;
14308 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14310 PyObject
* obj0
= 0 ;
14311 char *kwnames
[] = {
14312 (char *) "self", NULL
14315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Moving",kwnames
,&obj0
)) goto fail
;
14316 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14317 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14320 result
= (bool)((wxMouseEvent
const *)arg1
)->Moving();
14322 wxPyEndAllowThreads(__tstate
);
14323 if (PyErr_Occurred()) SWIG_fail
;
14326 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14334 static PyObject
*_wrap_MouseEvent_Entering(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14335 PyObject
*resultobj
;
14336 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14338 PyObject
* obj0
= 0 ;
14339 char *kwnames
[] = {
14340 (char *) "self", NULL
14343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Entering",kwnames
,&obj0
)) goto fail
;
14344 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14345 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14348 result
= (bool)((wxMouseEvent
const *)arg1
)->Entering();
14350 wxPyEndAllowThreads(__tstate
);
14351 if (PyErr_Occurred()) SWIG_fail
;
14354 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14362 static PyObject
*_wrap_MouseEvent_Leaving(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14363 PyObject
*resultobj
;
14364 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14366 PyObject
* obj0
= 0 ;
14367 char *kwnames
[] = {
14368 (char *) "self", NULL
14371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Leaving",kwnames
,&obj0
)) goto fail
;
14372 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14373 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14376 result
= (bool)((wxMouseEvent
const *)arg1
)->Leaving();
14378 wxPyEndAllowThreads(__tstate
);
14379 if (PyErr_Occurred()) SWIG_fail
;
14382 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14390 static PyObject
*_wrap_MouseEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14391 PyObject
*resultobj
;
14392 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14394 PyObject
* obj0
= 0 ;
14395 char *kwnames
[] = {
14396 (char *) "self", NULL
14399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
14400 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14401 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14404 result
= (arg1
)->GetPosition();
14406 wxPyEndAllowThreads(__tstate
);
14407 if (PyErr_Occurred()) SWIG_fail
;
14410 wxPoint
* resultptr
;
14411 resultptr
= new wxPoint((wxPoint
&) result
);
14412 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
14420 static PyObject
*_wrap_MouseEvent_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14421 PyObject
*resultobj
;
14422 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14423 long *arg2
= (long *) 0 ;
14424 long *arg3
= (long *) 0 ;
14427 PyObject
* obj0
= 0 ;
14428 char *kwnames
[] = {
14429 (char *) "self", NULL
14434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
14435 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14436 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14439 (arg1
)->GetPosition(arg2
,arg3
);
14441 wxPyEndAllowThreads(__tstate
);
14442 if (PyErr_Occurred()) SWIG_fail
;
14444 Py_INCREF(Py_None
); resultobj
= Py_None
;
14446 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
14447 resultobj
= t_output_helper(resultobj
,o
);
14450 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
14451 resultobj
= t_output_helper(resultobj
,o
);
14459 static PyObject
*_wrap_MouseEvent_GetLogicalPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14460 PyObject
*resultobj
;
14461 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14464 PyObject
* obj0
= 0 ;
14465 PyObject
* obj1
= 0 ;
14466 char *kwnames
[] = {
14467 (char *) "self",(char *) "dc", NULL
14470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_GetLogicalPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
14471 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14472 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14473 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
14474 SWIG_POINTER_EXCEPTION
| 0)) == -1)
14476 if (arg2
== NULL
) {
14477 PyErr_SetString(PyExc_TypeError
,"null reference");
14481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14482 result
= ((wxMouseEvent
const *)arg1
)->GetLogicalPosition((wxDC
const &)*arg2
);
14484 wxPyEndAllowThreads(__tstate
);
14485 if (PyErr_Occurred()) SWIG_fail
;
14488 wxPoint
* resultptr
;
14489 resultptr
= new wxPoint((wxPoint
&) result
);
14490 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
14498 static PyObject
*_wrap_MouseEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14499 PyObject
*resultobj
;
14500 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14502 PyObject
* obj0
= 0 ;
14503 char *kwnames
[] = {
14504 (char *) "self", NULL
14507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetX",kwnames
,&obj0
)) goto fail
;
14508 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14509 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14512 result
= (int)((wxMouseEvent
const *)arg1
)->GetX();
14514 wxPyEndAllowThreads(__tstate
);
14515 if (PyErr_Occurred()) SWIG_fail
;
14517 resultobj
= SWIG_FromInt((int)result
);
14524 static PyObject
*_wrap_MouseEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14525 PyObject
*resultobj
;
14526 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14528 PyObject
* obj0
= 0 ;
14529 char *kwnames
[] = {
14530 (char *) "self", NULL
14533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetY",kwnames
,&obj0
)) goto fail
;
14534 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14535 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14538 result
= (int)((wxMouseEvent
const *)arg1
)->GetY();
14540 wxPyEndAllowThreads(__tstate
);
14541 if (PyErr_Occurred()) SWIG_fail
;
14543 resultobj
= SWIG_FromInt((int)result
);
14550 static PyObject
*_wrap_MouseEvent_GetWheelRotation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14551 PyObject
*resultobj
;
14552 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14554 PyObject
* obj0
= 0 ;
14555 char *kwnames
[] = {
14556 (char *) "self", NULL
14559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetWheelRotation",kwnames
,&obj0
)) goto fail
;
14560 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14561 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14564 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelRotation();
14566 wxPyEndAllowThreads(__tstate
);
14567 if (PyErr_Occurred()) SWIG_fail
;
14569 resultobj
= SWIG_FromInt((int)result
);
14576 static PyObject
*_wrap_MouseEvent_GetWheelDelta(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14577 PyObject
*resultobj
;
14578 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14580 PyObject
* obj0
= 0 ;
14581 char *kwnames
[] = {
14582 (char *) "self", NULL
14585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetWheelDelta",kwnames
,&obj0
)) goto fail
;
14586 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14587 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14590 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelDelta();
14592 wxPyEndAllowThreads(__tstate
);
14593 if (PyErr_Occurred()) SWIG_fail
;
14595 resultobj
= SWIG_FromInt((int)result
);
14602 static PyObject
*_wrap_MouseEvent_GetLinesPerAction(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14603 PyObject
*resultobj
;
14604 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14606 PyObject
* obj0
= 0 ;
14607 char *kwnames
[] = {
14608 (char *) "self", NULL
14611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetLinesPerAction",kwnames
,&obj0
)) goto fail
;
14612 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14613 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14616 result
= (int)((wxMouseEvent
const *)arg1
)->GetLinesPerAction();
14618 wxPyEndAllowThreads(__tstate
);
14619 if (PyErr_Occurred()) SWIG_fail
;
14621 resultobj
= SWIG_FromInt((int)result
);
14628 static PyObject
*_wrap_MouseEvent_IsPageScroll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14629 PyObject
*resultobj
;
14630 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14632 PyObject
* obj0
= 0 ;
14633 char *kwnames
[] = {
14634 (char *) "self", NULL
14637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_IsPageScroll",kwnames
,&obj0
)) goto fail
;
14638 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14639 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14642 result
= (bool)((wxMouseEvent
const *)arg1
)->IsPageScroll();
14644 wxPyEndAllowThreads(__tstate
);
14645 if (PyErr_Occurred()) SWIG_fail
;
14648 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14656 static PyObject
*_wrap_MouseEvent_m_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14657 PyObject
*resultobj
;
14658 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14660 PyObject
* obj0
= 0 ;
14661 PyObject
* obj1
= 0 ;
14662 char *kwnames
[] = {
14663 (char *) "self",(char *) "m_x", NULL
14666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14667 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14668 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14669 arg2
= (int) SWIG_AsInt(obj1
);
14670 if (PyErr_Occurred()) SWIG_fail
;
14671 if (arg1
) (arg1
)->m_x
= arg2
;
14673 Py_INCREF(Py_None
); resultobj
= Py_None
;
14680 static PyObject
*_wrap_MouseEvent_m_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14681 PyObject
*resultobj
;
14682 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14684 PyObject
* obj0
= 0 ;
14685 char *kwnames
[] = {
14686 (char *) "self", NULL
14689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_x_get",kwnames
,&obj0
)) goto fail
;
14690 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14691 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14692 result
= (int) ((arg1
)->m_x
);
14694 resultobj
= SWIG_FromInt((int)result
);
14701 static PyObject
*_wrap_MouseEvent_m_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14702 PyObject
*resultobj
;
14703 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14705 PyObject
* obj0
= 0 ;
14706 PyObject
* obj1
= 0 ;
14707 char *kwnames
[] = {
14708 (char *) "self",(char *) "m_y", NULL
14711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14712 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14713 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14714 arg2
= (int) SWIG_AsInt(obj1
);
14715 if (PyErr_Occurred()) SWIG_fail
;
14716 if (arg1
) (arg1
)->m_y
= arg2
;
14718 Py_INCREF(Py_None
); resultobj
= Py_None
;
14725 static PyObject
*_wrap_MouseEvent_m_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14726 PyObject
*resultobj
;
14727 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14729 PyObject
* obj0
= 0 ;
14730 char *kwnames
[] = {
14731 (char *) "self", NULL
14734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_y_get",kwnames
,&obj0
)) goto fail
;
14735 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14736 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14737 result
= (int) ((arg1
)->m_y
);
14739 resultobj
= SWIG_FromInt((int)result
);
14746 static PyObject
*_wrap_MouseEvent_m_leftDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14747 PyObject
*resultobj
;
14748 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14750 PyObject
* obj0
= 0 ;
14751 PyObject
* obj1
= 0 ;
14752 char *kwnames
[] = {
14753 (char *) "self",(char *) "m_leftDown", NULL
14756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_leftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14757 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14758 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14759 arg2
= (bool) SWIG_AsBool(obj1
);
14760 if (PyErr_Occurred()) SWIG_fail
;
14761 if (arg1
) (arg1
)->m_leftDown
= arg2
;
14763 Py_INCREF(Py_None
); resultobj
= Py_None
;
14770 static PyObject
*_wrap_MouseEvent_m_leftDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14771 PyObject
*resultobj
;
14772 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14774 PyObject
* obj0
= 0 ;
14775 char *kwnames
[] = {
14776 (char *) "self", NULL
14779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_leftDown_get",kwnames
,&obj0
)) goto fail
;
14780 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14781 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14782 result
= (bool) ((arg1
)->m_leftDown
);
14785 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14793 static PyObject
*_wrap_MouseEvent_m_middleDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14794 PyObject
*resultobj
;
14795 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14797 PyObject
* obj0
= 0 ;
14798 PyObject
* obj1
= 0 ;
14799 char *kwnames
[] = {
14800 (char *) "self",(char *) "m_middleDown", NULL
14803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_middleDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14804 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14805 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14806 arg2
= (bool) SWIG_AsBool(obj1
);
14807 if (PyErr_Occurred()) SWIG_fail
;
14808 if (arg1
) (arg1
)->m_middleDown
= arg2
;
14810 Py_INCREF(Py_None
); resultobj
= Py_None
;
14817 static PyObject
*_wrap_MouseEvent_m_middleDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14818 PyObject
*resultobj
;
14819 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14821 PyObject
* obj0
= 0 ;
14822 char *kwnames
[] = {
14823 (char *) "self", NULL
14826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_middleDown_get",kwnames
,&obj0
)) goto fail
;
14827 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14828 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14829 result
= (bool) ((arg1
)->m_middleDown
);
14832 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14840 static PyObject
*_wrap_MouseEvent_m_rightDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14841 PyObject
*resultobj
;
14842 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14844 PyObject
* obj0
= 0 ;
14845 PyObject
* obj1
= 0 ;
14846 char *kwnames
[] = {
14847 (char *) "self",(char *) "m_rightDown", NULL
14850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_rightDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14851 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14852 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14853 arg2
= (bool) SWIG_AsBool(obj1
);
14854 if (PyErr_Occurred()) SWIG_fail
;
14855 if (arg1
) (arg1
)->m_rightDown
= arg2
;
14857 Py_INCREF(Py_None
); resultobj
= Py_None
;
14864 static PyObject
*_wrap_MouseEvent_m_rightDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14865 PyObject
*resultobj
;
14866 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14868 PyObject
* obj0
= 0 ;
14869 char *kwnames
[] = {
14870 (char *) "self", NULL
14873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_rightDown_get",kwnames
,&obj0
)) goto fail
;
14874 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14875 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14876 result
= (bool) ((arg1
)->m_rightDown
);
14879 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14887 static PyObject
*_wrap_MouseEvent_m_controlDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14888 PyObject
*resultobj
;
14889 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14891 PyObject
* obj0
= 0 ;
14892 PyObject
* obj1
= 0 ;
14893 char *kwnames
[] = {
14894 (char *) "self",(char *) "m_controlDown", NULL
14897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_controlDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14898 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14899 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14900 arg2
= (bool) SWIG_AsBool(obj1
);
14901 if (PyErr_Occurred()) SWIG_fail
;
14902 if (arg1
) (arg1
)->m_controlDown
= arg2
;
14904 Py_INCREF(Py_None
); resultobj
= Py_None
;
14911 static PyObject
*_wrap_MouseEvent_m_controlDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14912 PyObject
*resultobj
;
14913 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14915 PyObject
* obj0
= 0 ;
14916 char *kwnames
[] = {
14917 (char *) "self", NULL
14920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_controlDown_get",kwnames
,&obj0
)) goto fail
;
14921 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14923 result
= (bool) ((arg1
)->m_controlDown
);
14926 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14934 static PyObject
*_wrap_MouseEvent_m_shiftDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14935 PyObject
*resultobj
;
14936 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14938 PyObject
* obj0
= 0 ;
14939 PyObject
* obj1
= 0 ;
14940 char *kwnames
[] = {
14941 (char *) "self",(char *) "m_shiftDown", NULL
14944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_shiftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14945 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14946 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14947 arg2
= (bool) SWIG_AsBool(obj1
);
14948 if (PyErr_Occurred()) SWIG_fail
;
14949 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
14951 Py_INCREF(Py_None
); resultobj
= Py_None
;
14958 static PyObject
*_wrap_MouseEvent_m_shiftDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14959 PyObject
*resultobj
;
14960 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14962 PyObject
* obj0
= 0 ;
14963 char *kwnames
[] = {
14964 (char *) "self", NULL
14967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_shiftDown_get",kwnames
,&obj0
)) goto fail
;
14968 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14969 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14970 result
= (bool) ((arg1
)->m_shiftDown
);
14973 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14981 static PyObject
*_wrap_MouseEvent_m_altDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14982 PyObject
*resultobj
;
14983 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14985 PyObject
* obj0
= 0 ;
14986 PyObject
* obj1
= 0 ;
14987 char *kwnames
[] = {
14988 (char *) "self",(char *) "m_altDown", NULL
14991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_altDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14992 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14993 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14994 arg2
= (bool) SWIG_AsBool(obj1
);
14995 if (PyErr_Occurred()) SWIG_fail
;
14996 if (arg1
) (arg1
)->m_altDown
= arg2
;
14998 Py_INCREF(Py_None
); resultobj
= Py_None
;
15005 static PyObject
*_wrap_MouseEvent_m_altDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15006 PyObject
*resultobj
;
15007 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15009 PyObject
* obj0
= 0 ;
15010 char *kwnames
[] = {
15011 (char *) "self", NULL
15014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_altDown_get",kwnames
,&obj0
)) goto fail
;
15015 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15016 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15017 result
= (bool) ((arg1
)->m_altDown
);
15020 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15028 static PyObject
*_wrap_MouseEvent_m_metaDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15029 PyObject
*resultobj
;
15030 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15032 PyObject
* obj0
= 0 ;
15033 PyObject
* obj1
= 0 ;
15034 char *kwnames
[] = {
15035 (char *) "self",(char *) "m_metaDown", NULL
15038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_metaDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15039 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15040 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15041 arg2
= (bool) SWIG_AsBool(obj1
);
15042 if (PyErr_Occurred()) SWIG_fail
;
15043 if (arg1
) (arg1
)->m_metaDown
= arg2
;
15045 Py_INCREF(Py_None
); resultobj
= Py_None
;
15052 static PyObject
*_wrap_MouseEvent_m_metaDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15053 PyObject
*resultobj
;
15054 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15056 PyObject
* obj0
= 0 ;
15057 char *kwnames
[] = {
15058 (char *) "self", NULL
15061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_metaDown_get",kwnames
,&obj0
)) goto fail
;
15062 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15063 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15064 result
= (bool) ((arg1
)->m_metaDown
);
15067 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15075 static PyObject
*_wrap_MouseEvent_m_wheelRotation_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15076 PyObject
*resultobj
;
15077 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15079 PyObject
* obj0
= 0 ;
15080 PyObject
* obj1
= 0 ;
15081 char *kwnames
[] = {
15082 (char *) "self",(char *) "m_wheelRotation", NULL
15085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_wheelRotation_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15086 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15087 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15088 arg2
= (int) SWIG_AsInt(obj1
);
15089 if (PyErr_Occurred()) SWIG_fail
;
15090 if (arg1
) (arg1
)->m_wheelRotation
= arg2
;
15092 Py_INCREF(Py_None
); resultobj
= Py_None
;
15099 static PyObject
*_wrap_MouseEvent_m_wheelRotation_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15100 PyObject
*resultobj
;
15101 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15103 PyObject
* obj0
= 0 ;
15104 char *kwnames
[] = {
15105 (char *) "self", NULL
15108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_wheelRotation_get",kwnames
,&obj0
)) goto fail
;
15109 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15110 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15111 result
= (int) ((arg1
)->m_wheelRotation
);
15113 resultobj
= SWIG_FromInt((int)result
);
15120 static PyObject
*_wrap_MouseEvent_m_wheelDelta_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15121 PyObject
*resultobj
;
15122 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15124 PyObject
* obj0
= 0 ;
15125 PyObject
* obj1
= 0 ;
15126 char *kwnames
[] = {
15127 (char *) "self",(char *) "m_wheelDelta", NULL
15130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_wheelDelta_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15131 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15132 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15133 arg2
= (int) SWIG_AsInt(obj1
);
15134 if (PyErr_Occurred()) SWIG_fail
;
15135 if (arg1
) (arg1
)->m_wheelDelta
= arg2
;
15137 Py_INCREF(Py_None
); resultobj
= Py_None
;
15144 static PyObject
*_wrap_MouseEvent_m_wheelDelta_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15145 PyObject
*resultobj
;
15146 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15148 PyObject
* obj0
= 0 ;
15149 char *kwnames
[] = {
15150 (char *) "self", NULL
15153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_wheelDelta_get",kwnames
,&obj0
)) goto fail
;
15154 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15155 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15156 result
= (int) ((arg1
)->m_wheelDelta
);
15158 resultobj
= SWIG_FromInt((int)result
);
15165 static PyObject
*_wrap_MouseEvent_m_linesPerAction_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15166 PyObject
*resultobj
;
15167 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15169 PyObject
* obj0
= 0 ;
15170 PyObject
* obj1
= 0 ;
15171 char *kwnames
[] = {
15172 (char *) "self",(char *) "m_linesPerAction", NULL
15175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_linesPerAction_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15176 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15177 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15178 arg2
= (int) SWIG_AsInt(obj1
);
15179 if (PyErr_Occurred()) SWIG_fail
;
15180 if (arg1
) (arg1
)->m_linesPerAction
= arg2
;
15182 Py_INCREF(Py_None
); resultobj
= Py_None
;
15189 static PyObject
*_wrap_MouseEvent_m_linesPerAction_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15190 PyObject
*resultobj
;
15191 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15193 PyObject
* obj0
= 0 ;
15194 char *kwnames
[] = {
15195 (char *) "self", NULL
15198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_linesPerAction_get",kwnames
,&obj0
)) goto fail
;
15199 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15200 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15201 result
= (int) ((arg1
)->m_linesPerAction
);
15203 resultobj
= SWIG_FromInt((int)result
);
15210 static PyObject
* MouseEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15212 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15213 SWIG_TypeClientData(SWIGTYPE_p_wxMouseEvent
, obj
);
15215 return Py_BuildValue((char *)"");
15217 static PyObject
*_wrap_new_SetCursorEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15218 PyObject
*resultobj
;
15219 int arg1
= (int) 0 ;
15220 int arg2
= (int) 0 ;
15221 wxSetCursorEvent
*result
;
15222 PyObject
* obj0
= 0 ;
15223 PyObject
* obj1
= 0 ;
15224 char *kwnames
[] = {
15225 (char *) "x",(char *) "y", NULL
15228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SetCursorEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
15230 arg1
= (int) SWIG_AsInt(obj0
);
15231 if (PyErr_Occurred()) SWIG_fail
;
15234 arg2
= (int) SWIG_AsInt(obj1
);
15235 if (PyErr_Occurred()) SWIG_fail
;
15238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15239 result
= (wxSetCursorEvent
*)new wxSetCursorEvent(arg1
,arg2
);
15241 wxPyEndAllowThreads(__tstate
);
15242 if (PyErr_Occurred()) SWIG_fail
;
15244 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSetCursorEvent
, 1);
15251 static PyObject
*_wrap_SetCursorEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15252 PyObject
*resultobj
;
15253 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15255 PyObject
* obj0
= 0 ;
15256 char *kwnames
[] = {
15257 (char *) "self", NULL
15260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetX",kwnames
,&obj0
)) goto fail
;
15261 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15262 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15265 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetX();
15267 wxPyEndAllowThreads(__tstate
);
15268 if (PyErr_Occurred()) SWIG_fail
;
15270 resultobj
= SWIG_FromInt((int)result
);
15277 static PyObject
*_wrap_SetCursorEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15278 PyObject
*resultobj
;
15279 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15281 PyObject
* obj0
= 0 ;
15282 char *kwnames
[] = {
15283 (char *) "self", NULL
15286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetY",kwnames
,&obj0
)) goto fail
;
15287 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15288 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15291 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetY();
15293 wxPyEndAllowThreads(__tstate
);
15294 if (PyErr_Occurred()) SWIG_fail
;
15296 resultobj
= SWIG_FromInt((int)result
);
15303 static PyObject
*_wrap_SetCursorEvent_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15304 PyObject
*resultobj
;
15305 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15306 wxCursor
*arg2
= 0 ;
15307 PyObject
* obj0
= 0 ;
15308 PyObject
* obj1
= 0 ;
15309 char *kwnames
[] = {
15310 (char *) "self",(char *) "cursor", NULL
15313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SetCursorEvent_SetCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
15314 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15315 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15316 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
15317 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15319 if (arg2
== NULL
) {
15320 PyErr_SetString(PyExc_TypeError
,"null reference");
15324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15325 (arg1
)->SetCursor((wxCursor
const &)*arg2
);
15327 wxPyEndAllowThreads(__tstate
);
15328 if (PyErr_Occurred()) SWIG_fail
;
15330 Py_INCREF(Py_None
); resultobj
= Py_None
;
15337 static PyObject
*_wrap_SetCursorEvent_GetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15338 PyObject
*resultobj
;
15339 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15341 PyObject
* obj0
= 0 ;
15342 char *kwnames
[] = {
15343 (char *) "self", NULL
15346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetCursor",kwnames
,&obj0
)) goto fail
;
15347 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15348 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15352 wxCursor
const &_result_ref
= ((wxSetCursorEvent
const *)arg1
)->GetCursor();
15353 result
= (wxCursor
*) &_result_ref
;
15356 wxPyEndAllowThreads(__tstate
);
15357 if (PyErr_Occurred()) SWIG_fail
;
15360 wxCursor
* resultptr
= new wxCursor(*result
);
15361 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxCursor
, 1);
15369 static PyObject
*_wrap_SetCursorEvent_HasCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15370 PyObject
*resultobj
;
15371 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15373 PyObject
* obj0
= 0 ;
15374 char *kwnames
[] = {
15375 (char *) "self", NULL
15378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_HasCursor",kwnames
,&obj0
)) goto fail
;
15379 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15380 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15383 result
= (bool)((wxSetCursorEvent
const *)arg1
)->HasCursor();
15385 wxPyEndAllowThreads(__tstate
);
15386 if (PyErr_Occurred()) SWIG_fail
;
15389 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15397 static PyObject
* SetCursorEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15399 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15400 SWIG_TypeClientData(SWIGTYPE_p_wxSetCursorEvent
, obj
);
15402 return Py_BuildValue((char *)"");
15404 static PyObject
*_wrap_new_KeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15405 PyObject
*resultobj
;
15406 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15407 wxKeyEvent
*result
;
15408 PyObject
* obj0
= 0 ;
15409 char *kwnames
[] = {
15410 (char *) "keyType", NULL
15413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_KeyEvent",kwnames
,&obj0
)) goto fail
;
15415 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
15416 if (PyErr_Occurred()) SWIG_fail
;
15419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15420 result
= (wxKeyEvent
*)new wxKeyEvent(arg1
);
15422 wxPyEndAllowThreads(__tstate
);
15423 if (PyErr_Occurred()) SWIG_fail
;
15425 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxKeyEvent
, 1);
15432 static PyObject
*_wrap_KeyEvent_ControlDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15433 PyObject
*resultobj
;
15434 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15436 PyObject
* obj0
= 0 ;
15437 char *kwnames
[] = {
15438 (char *) "self", NULL
15441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
15442 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15443 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15446 result
= (bool)((wxKeyEvent
const *)arg1
)->ControlDown();
15448 wxPyEndAllowThreads(__tstate
);
15449 if (PyErr_Occurred()) SWIG_fail
;
15452 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15460 static PyObject
*_wrap_KeyEvent_MetaDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15461 PyObject
*resultobj
;
15462 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15464 PyObject
* obj0
= 0 ;
15465 char *kwnames
[] = {
15466 (char *) "self", NULL
15469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
15470 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15471 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15474 result
= (bool)((wxKeyEvent
const *)arg1
)->MetaDown();
15476 wxPyEndAllowThreads(__tstate
);
15477 if (PyErr_Occurred()) SWIG_fail
;
15480 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15488 static PyObject
*_wrap_KeyEvent_AltDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15489 PyObject
*resultobj
;
15490 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15492 PyObject
* obj0
= 0 ;
15493 char *kwnames
[] = {
15494 (char *) "self", NULL
15497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_AltDown",kwnames
,&obj0
)) goto fail
;
15498 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15499 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15502 result
= (bool)((wxKeyEvent
const *)arg1
)->AltDown();
15504 wxPyEndAllowThreads(__tstate
);
15505 if (PyErr_Occurred()) SWIG_fail
;
15508 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15516 static PyObject
*_wrap_KeyEvent_ShiftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15517 PyObject
*resultobj
;
15518 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15520 PyObject
* obj0
= 0 ;
15521 char *kwnames
[] = {
15522 (char *) "self", NULL
15525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
15526 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15527 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15530 result
= (bool)((wxKeyEvent
const *)arg1
)->ShiftDown();
15532 wxPyEndAllowThreads(__tstate
);
15533 if (PyErr_Occurred()) SWIG_fail
;
15536 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15544 static PyObject
*_wrap_KeyEvent_CmdDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15545 PyObject
*resultobj
;
15546 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15548 PyObject
* obj0
= 0 ;
15549 char *kwnames
[] = {
15550 (char *) "self", NULL
15553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_CmdDown",kwnames
,&obj0
)) goto fail
;
15554 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15555 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15558 result
= (bool)((wxKeyEvent
const *)arg1
)->CmdDown();
15560 wxPyEndAllowThreads(__tstate
);
15561 if (PyErr_Occurred()) SWIG_fail
;
15564 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15572 static PyObject
*_wrap_KeyEvent_HasModifiers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15573 PyObject
*resultobj
;
15574 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15576 PyObject
* obj0
= 0 ;
15577 char *kwnames
[] = {
15578 (char *) "self", NULL
15581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_HasModifiers",kwnames
,&obj0
)) goto fail
;
15582 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15583 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15586 result
= (bool)((wxKeyEvent
const *)arg1
)->HasModifiers();
15588 wxPyEndAllowThreads(__tstate
);
15589 if (PyErr_Occurred()) SWIG_fail
;
15592 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15600 static PyObject
*_wrap_KeyEvent_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15601 PyObject
*resultobj
;
15602 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15604 PyObject
* obj0
= 0 ;
15605 char *kwnames
[] = {
15606 (char *) "self", NULL
15609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
15610 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15611 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15614 result
= (int)((wxKeyEvent
const *)arg1
)->GetKeyCode();
15616 wxPyEndAllowThreads(__tstate
);
15617 if (PyErr_Occurred()) SWIG_fail
;
15619 resultobj
= SWIG_FromInt((int)result
);
15626 static PyObject
*_wrap_KeyEvent_GetUnicodeKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15627 PyObject
*resultobj
;
15628 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15630 PyObject
* obj0
= 0 ;
15631 char *kwnames
[] = {
15632 (char *) "self", NULL
15635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetUnicodeKey",kwnames
,&obj0
)) goto fail
;
15636 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15637 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15640 result
= (int)wxKeyEvent_GetUnicodeKey(arg1
);
15642 wxPyEndAllowThreads(__tstate
);
15643 if (PyErr_Occurred()) SWIG_fail
;
15645 resultobj
= SWIG_FromInt((int)result
);
15652 static PyObject
*_wrap_KeyEvent_GetRawKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15653 PyObject
*resultobj
;
15654 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15655 unsigned int result
;
15656 PyObject
* obj0
= 0 ;
15657 char *kwnames
[] = {
15658 (char *) "self", NULL
15661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetRawKeyCode",kwnames
,&obj0
)) goto fail
;
15662 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15663 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15666 result
= (unsigned int)((wxKeyEvent
const *)arg1
)->GetRawKeyCode();
15668 wxPyEndAllowThreads(__tstate
);
15669 if (PyErr_Occurred()) SWIG_fail
;
15671 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
15678 static PyObject
*_wrap_KeyEvent_GetRawKeyFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15679 PyObject
*resultobj
;
15680 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15681 unsigned int result
;
15682 PyObject
* obj0
= 0 ;
15683 char *kwnames
[] = {
15684 (char *) "self", NULL
15687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetRawKeyFlags",kwnames
,&obj0
)) goto fail
;
15688 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15689 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15692 result
= (unsigned int)((wxKeyEvent
const *)arg1
)->GetRawKeyFlags();
15694 wxPyEndAllowThreads(__tstate
);
15695 if (PyErr_Occurred()) SWIG_fail
;
15697 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
15704 static PyObject
*_wrap_KeyEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15705 PyObject
*resultobj
;
15706 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15708 PyObject
* obj0
= 0 ;
15709 char *kwnames
[] = {
15710 (char *) "self", NULL
15713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
15714 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15715 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15718 result
= (arg1
)->GetPosition();
15720 wxPyEndAllowThreads(__tstate
);
15721 if (PyErr_Occurred()) SWIG_fail
;
15724 wxPoint
* resultptr
;
15725 resultptr
= new wxPoint((wxPoint
&) result
);
15726 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
15734 static PyObject
*_wrap_KeyEvent_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15735 PyObject
*resultobj
;
15736 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15737 long *arg2
= (long *) 0 ;
15738 long *arg3
= (long *) 0 ;
15741 PyObject
* obj0
= 0 ;
15742 char *kwnames
[] = {
15743 (char *) "self", NULL
15748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
15749 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15750 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15753 (arg1
)->GetPosition(arg2
,arg3
);
15755 wxPyEndAllowThreads(__tstate
);
15756 if (PyErr_Occurred()) SWIG_fail
;
15758 Py_INCREF(Py_None
); resultobj
= Py_None
;
15760 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
15761 resultobj
= t_output_helper(resultobj
,o
);
15764 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15765 resultobj
= t_output_helper(resultobj
,o
);
15773 static PyObject
*_wrap_KeyEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15774 PyObject
*resultobj
;
15775 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15777 PyObject
* obj0
= 0 ;
15778 char *kwnames
[] = {
15779 (char *) "self", NULL
15782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetX",kwnames
,&obj0
)) goto fail
;
15783 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15784 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15787 result
= (int)((wxKeyEvent
const *)arg1
)->GetX();
15789 wxPyEndAllowThreads(__tstate
);
15790 if (PyErr_Occurred()) SWIG_fail
;
15792 resultobj
= SWIG_FromInt((int)result
);
15799 static PyObject
*_wrap_KeyEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15800 PyObject
*resultobj
;
15801 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15803 PyObject
* obj0
= 0 ;
15804 char *kwnames
[] = {
15805 (char *) "self", NULL
15808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetY",kwnames
,&obj0
)) goto fail
;
15809 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15810 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15813 result
= (int)((wxKeyEvent
const *)arg1
)->GetY();
15815 wxPyEndAllowThreads(__tstate
);
15816 if (PyErr_Occurred()) SWIG_fail
;
15818 resultobj
= SWIG_FromInt((int)result
);
15825 static PyObject
*_wrap_KeyEvent_m_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15826 PyObject
*resultobj
;
15827 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15829 PyObject
* obj0
= 0 ;
15830 PyObject
* obj1
= 0 ;
15831 char *kwnames
[] = {
15832 (char *) "self",(char *) "m_x", NULL
15835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15836 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15837 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15838 arg2
= (int) SWIG_AsInt(obj1
);
15839 if (PyErr_Occurred()) SWIG_fail
;
15840 if (arg1
) (arg1
)->m_x
= arg2
;
15842 Py_INCREF(Py_None
); resultobj
= Py_None
;
15849 static PyObject
*_wrap_KeyEvent_m_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15850 PyObject
*resultobj
;
15851 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15853 PyObject
* obj0
= 0 ;
15854 char *kwnames
[] = {
15855 (char *) "self", NULL
15858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_x_get",kwnames
,&obj0
)) goto fail
;
15859 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15860 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15861 result
= (int) ((arg1
)->m_x
);
15863 resultobj
= SWIG_FromInt((int)result
);
15870 static PyObject
*_wrap_KeyEvent_m_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15871 PyObject
*resultobj
;
15872 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15874 PyObject
* obj0
= 0 ;
15875 PyObject
* obj1
= 0 ;
15876 char *kwnames
[] = {
15877 (char *) "self",(char *) "m_y", NULL
15880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15881 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15882 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15883 arg2
= (int) SWIG_AsInt(obj1
);
15884 if (PyErr_Occurred()) SWIG_fail
;
15885 if (arg1
) (arg1
)->m_y
= arg2
;
15887 Py_INCREF(Py_None
); resultobj
= Py_None
;
15894 static PyObject
*_wrap_KeyEvent_m_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15895 PyObject
*resultobj
;
15896 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15898 PyObject
* obj0
= 0 ;
15899 char *kwnames
[] = {
15900 (char *) "self", NULL
15903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_y_get",kwnames
,&obj0
)) goto fail
;
15904 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15905 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15906 result
= (int) ((arg1
)->m_y
);
15908 resultobj
= SWIG_FromInt((int)result
);
15915 static PyObject
*_wrap_KeyEvent_m_keyCode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15916 PyObject
*resultobj
;
15917 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15919 PyObject
* obj0
= 0 ;
15920 PyObject
* obj1
= 0 ;
15921 char *kwnames
[] = {
15922 (char *) "self",(char *) "m_keyCode", NULL
15925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_keyCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15926 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15927 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15928 arg2
= (long) SWIG_AsLong(obj1
);
15929 if (PyErr_Occurred()) SWIG_fail
;
15930 if (arg1
) (arg1
)->m_keyCode
= arg2
;
15932 Py_INCREF(Py_None
); resultobj
= Py_None
;
15939 static PyObject
*_wrap_KeyEvent_m_keyCode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15940 PyObject
*resultobj
;
15941 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15943 PyObject
* obj0
= 0 ;
15944 char *kwnames
[] = {
15945 (char *) "self", NULL
15948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_keyCode_get",kwnames
,&obj0
)) goto fail
;
15949 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15950 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15951 result
= (long) ((arg1
)->m_keyCode
);
15953 resultobj
= SWIG_FromLong((long)result
);
15960 static PyObject
*_wrap_KeyEvent_m_controlDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15961 PyObject
*resultobj
;
15962 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15964 PyObject
* obj0
= 0 ;
15965 PyObject
* obj1
= 0 ;
15966 char *kwnames
[] = {
15967 (char *) "self",(char *) "m_controlDown", NULL
15970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_controlDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15971 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15972 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15973 arg2
= (bool) SWIG_AsBool(obj1
);
15974 if (PyErr_Occurred()) SWIG_fail
;
15975 if (arg1
) (arg1
)->m_controlDown
= arg2
;
15977 Py_INCREF(Py_None
); resultobj
= Py_None
;
15984 static PyObject
*_wrap_KeyEvent_m_controlDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15985 PyObject
*resultobj
;
15986 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15988 PyObject
* obj0
= 0 ;
15989 char *kwnames
[] = {
15990 (char *) "self", NULL
15993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_controlDown_get",kwnames
,&obj0
)) goto fail
;
15994 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15995 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15996 result
= (bool) ((arg1
)->m_controlDown
);
15999 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16007 static PyObject
*_wrap_KeyEvent_m_shiftDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16008 PyObject
*resultobj
;
16009 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16011 PyObject
* obj0
= 0 ;
16012 PyObject
* obj1
= 0 ;
16013 char *kwnames
[] = {
16014 (char *) "self",(char *) "m_shiftDown", NULL
16017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_shiftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16018 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16019 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16020 arg2
= (bool) SWIG_AsBool(obj1
);
16021 if (PyErr_Occurred()) SWIG_fail
;
16022 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
16024 Py_INCREF(Py_None
); resultobj
= Py_None
;
16031 static PyObject
*_wrap_KeyEvent_m_shiftDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16032 PyObject
*resultobj
;
16033 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16035 PyObject
* obj0
= 0 ;
16036 char *kwnames
[] = {
16037 (char *) "self", NULL
16040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_shiftDown_get",kwnames
,&obj0
)) goto fail
;
16041 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16042 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16043 result
= (bool) ((arg1
)->m_shiftDown
);
16046 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16054 static PyObject
*_wrap_KeyEvent_m_altDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16055 PyObject
*resultobj
;
16056 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16058 PyObject
* obj0
= 0 ;
16059 PyObject
* obj1
= 0 ;
16060 char *kwnames
[] = {
16061 (char *) "self",(char *) "m_altDown", NULL
16064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_altDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16065 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16066 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16067 arg2
= (bool) SWIG_AsBool(obj1
);
16068 if (PyErr_Occurred()) SWIG_fail
;
16069 if (arg1
) (arg1
)->m_altDown
= arg2
;
16071 Py_INCREF(Py_None
); resultobj
= Py_None
;
16078 static PyObject
*_wrap_KeyEvent_m_altDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16079 PyObject
*resultobj
;
16080 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16082 PyObject
* obj0
= 0 ;
16083 char *kwnames
[] = {
16084 (char *) "self", NULL
16087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_altDown_get",kwnames
,&obj0
)) goto fail
;
16088 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16089 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16090 result
= (bool) ((arg1
)->m_altDown
);
16093 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16101 static PyObject
*_wrap_KeyEvent_m_metaDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16102 PyObject
*resultobj
;
16103 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16105 PyObject
* obj0
= 0 ;
16106 PyObject
* obj1
= 0 ;
16107 char *kwnames
[] = {
16108 (char *) "self",(char *) "m_metaDown", NULL
16111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_metaDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16112 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16113 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16114 arg2
= (bool) SWIG_AsBool(obj1
);
16115 if (PyErr_Occurred()) SWIG_fail
;
16116 if (arg1
) (arg1
)->m_metaDown
= arg2
;
16118 Py_INCREF(Py_None
); resultobj
= Py_None
;
16125 static PyObject
*_wrap_KeyEvent_m_metaDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16126 PyObject
*resultobj
;
16127 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16129 PyObject
* obj0
= 0 ;
16130 char *kwnames
[] = {
16131 (char *) "self", NULL
16134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_metaDown_get",kwnames
,&obj0
)) goto fail
;
16135 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16136 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16137 result
= (bool) ((arg1
)->m_metaDown
);
16140 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16148 static PyObject
*_wrap_KeyEvent_m_scanCode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16149 PyObject
*resultobj
;
16150 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16152 PyObject
* obj0
= 0 ;
16153 PyObject
* obj1
= 0 ;
16154 char *kwnames
[] = {
16155 (char *) "self",(char *) "m_scanCode", NULL
16158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_scanCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16159 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16160 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16161 arg2
= (bool) SWIG_AsBool(obj1
);
16162 if (PyErr_Occurred()) SWIG_fail
;
16163 if (arg1
) (arg1
)->m_scanCode
= arg2
;
16165 Py_INCREF(Py_None
); resultobj
= Py_None
;
16172 static PyObject
*_wrap_KeyEvent_m_scanCode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16173 PyObject
*resultobj
;
16174 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16176 PyObject
* obj0
= 0 ;
16177 char *kwnames
[] = {
16178 (char *) "self", NULL
16181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_scanCode_get",kwnames
,&obj0
)) goto fail
;
16182 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16183 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16184 result
= (bool) ((arg1
)->m_scanCode
);
16187 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16195 static PyObject
*_wrap_KeyEvent_m_rawCode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16196 PyObject
*resultobj
;
16197 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16198 unsigned int arg2
;
16199 PyObject
* obj0
= 0 ;
16200 PyObject
* obj1
= 0 ;
16201 char *kwnames
[] = {
16202 (char *) "self",(char *) "m_rawCode", NULL
16205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_rawCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16206 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16207 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16208 arg2
= (unsigned int) SWIG_AsUnsignedInt(obj1
);
16209 if (PyErr_Occurred()) SWIG_fail
;
16210 if (arg1
) (arg1
)->m_rawCode
= arg2
;
16212 Py_INCREF(Py_None
); resultobj
= Py_None
;
16219 static PyObject
*_wrap_KeyEvent_m_rawCode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16220 PyObject
*resultobj
;
16221 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16222 unsigned int result
;
16223 PyObject
* obj0
= 0 ;
16224 char *kwnames
[] = {
16225 (char *) "self", NULL
16228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_rawCode_get",kwnames
,&obj0
)) goto fail
;
16229 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16230 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16231 result
= (unsigned int) ((arg1
)->m_rawCode
);
16233 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
16240 static PyObject
*_wrap_KeyEvent_m_rawFlags_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16241 PyObject
*resultobj
;
16242 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16243 unsigned int arg2
;
16244 PyObject
* obj0
= 0 ;
16245 PyObject
* obj1
= 0 ;
16246 char *kwnames
[] = {
16247 (char *) "self",(char *) "m_rawFlags", NULL
16250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_rawFlags_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16251 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16252 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16253 arg2
= (unsigned int) SWIG_AsUnsignedInt(obj1
);
16254 if (PyErr_Occurred()) SWIG_fail
;
16255 if (arg1
) (arg1
)->m_rawFlags
= arg2
;
16257 Py_INCREF(Py_None
); resultobj
= Py_None
;
16264 static PyObject
*_wrap_KeyEvent_m_rawFlags_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16265 PyObject
*resultobj
;
16266 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16267 unsigned int result
;
16268 PyObject
* obj0
= 0 ;
16269 char *kwnames
[] = {
16270 (char *) "self", NULL
16273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_rawFlags_get",kwnames
,&obj0
)) goto fail
;
16274 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16275 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16276 result
= (unsigned int) ((arg1
)->m_rawFlags
);
16278 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
16285 static PyObject
* KeyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16287 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16288 SWIG_TypeClientData(SWIGTYPE_p_wxKeyEvent
, obj
);
16290 return Py_BuildValue((char *)"");
16292 static PyObject
*_wrap_new_SizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16293 PyObject
*resultobj
;
16294 wxSize
const &arg1_defvalue
= wxDefaultSize
;
16295 wxSize
*arg1
= (wxSize
*) &arg1_defvalue
;
16296 int arg2
= (int) 0 ;
16297 wxSizeEvent
*result
;
16299 PyObject
* obj0
= 0 ;
16300 PyObject
* obj1
= 0 ;
16301 char *kwnames
[] = {
16302 (char *) "sz",(char *) "winid", NULL
16305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SizeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
16309 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
16313 arg2
= (int) SWIG_AsInt(obj1
);
16314 if (PyErr_Occurred()) SWIG_fail
;
16317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16318 result
= (wxSizeEvent
*)new wxSizeEvent((wxSize
const &)*arg1
,arg2
);
16320 wxPyEndAllowThreads(__tstate
);
16321 if (PyErr_Occurred()) SWIG_fail
;
16323 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizeEvent
, 1);
16330 static PyObject
*_wrap_SizeEvent_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16331 PyObject
*resultobj
;
16332 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16334 PyObject
* obj0
= 0 ;
16335 char *kwnames
[] = {
16336 (char *) "self", NULL
16339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_GetSize",kwnames
,&obj0
)) goto fail
;
16340 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16344 result
= ((wxSizeEvent
const *)arg1
)->GetSize();
16346 wxPyEndAllowThreads(__tstate
);
16347 if (PyErr_Occurred()) SWIG_fail
;
16350 wxSize
* resultptr
;
16351 resultptr
= new wxSize((wxSize
&) result
);
16352 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16360 static PyObject
*_wrap_SizeEvent_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16361 PyObject
*resultobj
;
16362 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16364 PyObject
* obj0
= 0 ;
16365 char *kwnames
[] = {
16366 (char *) "self", NULL
16369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_GetRect",kwnames
,&obj0
)) goto fail
;
16370 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16371 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16374 result
= ((wxSizeEvent
const *)arg1
)->GetRect();
16376 wxPyEndAllowThreads(__tstate
);
16377 if (PyErr_Occurred()) SWIG_fail
;
16380 wxRect
* resultptr
;
16381 resultptr
= new wxRect((wxRect
&) result
);
16382 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
16390 static PyObject
*_wrap_SizeEvent_SetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16391 PyObject
*resultobj
;
16392 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16395 PyObject
* obj0
= 0 ;
16396 PyObject
* obj1
= 0 ;
16397 char *kwnames
[] = {
16398 (char *) "self",(char *) "rect", NULL
16401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
16402 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16403 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16404 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxRect
,
16405 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
16408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16409 (arg1
)->SetRect(arg2
);
16411 wxPyEndAllowThreads(__tstate
);
16412 if (PyErr_Occurred()) SWIG_fail
;
16414 Py_INCREF(Py_None
); resultobj
= Py_None
;
16421 static PyObject
*_wrap_SizeEvent_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16422 PyObject
*resultobj
;
16423 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16426 PyObject
* obj0
= 0 ;
16427 PyObject
* obj1
= 0 ;
16428 char *kwnames
[] = {
16429 (char *) "self",(char *) "size", NULL
16432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
16433 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16434 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16435 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxSize
,
16436 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
16439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16440 wxSizeEvent_SetSize(arg1
,arg2
);
16442 wxPyEndAllowThreads(__tstate
);
16443 if (PyErr_Occurred()) SWIG_fail
;
16445 Py_INCREF(Py_None
); resultobj
= Py_None
;
16452 static PyObject
*_wrap_SizeEvent_m_size_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16453 PyObject
*resultobj
;
16454 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16455 wxSize
*arg2
= (wxSize
*) 0 ;
16456 PyObject
* obj0
= 0 ;
16457 PyObject
* obj1
= 0 ;
16458 char *kwnames
[] = {
16459 (char *) "self",(char *) "m_size", NULL
16462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_m_size_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16463 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16464 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16465 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSize
,
16466 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16467 if (arg1
) (arg1
)->m_size
= *arg2
;
16469 Py_INCREF(Py_None
); resultobj
= Py_None
;
16476 static PyObject
*_wrap_SizeEvent_m_size_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16477 PyObject
*resultobj
;
16478 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16480 PyObject
* obj0
= 0 ;
16481 char *kwnames
[] = {
16482 (char *) "self", NULL
16485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_m_size_get",kwnames
,&obj0
)) goto fail
;
16486 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16487 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16488 result
= (wxSize
*)& ((arg1
)->m_size
);
16490 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
16497 static PyObject
*_wrap_SizeEvent_m_rect_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16498 PyObject
*resultobj
;
16499 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16500 wxRect
*arg2
= (wxRect
*) 0 ;
16501 PyObject
* obj0
= 0 ;
16502 PyObject
* obj1
= 0 ;
16503 char *kwnames
[] = {
16504 (char *) "self",(char *) "m_rect", NULL
16507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_m_rect_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16508 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16509 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16510 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRect
,
16511 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16512 if (arg1
) (arg1
)->m_rect
= *arg2
;
16514 Py_INCREF(Py_None
); resultobj
= Py_None
;
16521 static PyObject
*_wrap_SizeEvent_m_rect_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16522 PyObject
*resultobj
;
16523 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16525 PyObject
* obj0
= 0 ;
16526 char *kwnames
[] = {
16527 (char *) "self", NULL
16530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_m_rect_get",kwnames
,&obj0
)) goto fail
;
16531 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16532 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16533 result
= (wxRect
*)& ((arg1
)->m_rect
);
16535 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
16542 static PyObject
* SizeEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16544 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16545 SWIG_TypeClientData(SWIGTYPE_p_wxSizeEvent
, obj
);
16547 return Py_BuildValue((char *)"");
16549 static PyObject
*_wrap_new_MoveEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16550 PyObject
*resultobj
;
16551 wxPoint
const &arg1_defvalue
= wxDefaultPosition
;
16552 wxPoint
*arg1
= (wxPoint
*) &arg1_defvalue
;
16553 int arg2
= (int) 0 ;
16554 wxMoveEvent
*result
;
16556 PyObject
* obj0
= 0 ;
16557 PyObject
* obj1
= 0 ;
16558 char *kwnames
[] = {
16559 (char *) "pos",(char *) "winid", NULL
16562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_MoveEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
16566 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
16570 arg2
= (int) SWIG_AsInt(obj1
);
16571 if (PyErr_Occurred()) SWIG_fail
;
16574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16575 result
= (wxMoveEvent
*)new wxMoveEvent((wxPoint
const &)*arg1
,arg2
);
16577 wxPyEndAllowThreads(__tstate
);
16578 if (PyErr_Occurred()) SWIG_fail
;
16580 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMoveEvent
, 1);
16587 static PyObject
*_wrap_MoveEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16588 PyObject
*resultobj
;
16589 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16591 PyObject
* obj0
= 0 ;
16592 char *kwnames
[] = {
16593 (char *) "self", NULL
16596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
16597 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16598 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16601 result
= ((wxMoveEvent
const *)arg1
)->GetPosition();
16603 wxPyEndAllowThreads(__tstate
);
16604 if (PyErr_Occurred()) SWIG_fail
;
16607 wxPoint
* resultptr
;
16608 resultptr
= new wxPoint((wxPoint
&) result
);
16609 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
16617 static PyObject
*_wrap_MoveEvent_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16618 PyObject
*resultobj
;
16619 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16621 PyObject
* obj0
= 0 ;
16622 char *kwnames
[] = {
16623 (char *) "self", NULL
16626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_GetRect",kwnames
,&obj0
)) goto fail
;
16627 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16628 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16631 result
= ((wxMoveEvent
const *)arg1
)->GetRect();
16633 wxPyEndAllowThreads(__tstate
);
16634 if (PyErr_Occurred()) SWIG_fail
;
16637 wxRect
* resultptr
;
16638 resultptr
= new wxRect((wxRect
&) result
);
16639 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
16647 static PyObject
*_wrap_MoveEvent_SetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16648 PyObject
*resultobj
;
16649 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16652 PyObject
* obj0
= 0 ;
16653 PyObject
* obj1
= 0 ;
16654 char *kwnames
[] = {
16655 (char *) "self",(char *) "rect", NULL
16658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
16659 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16660 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16661 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxRect
,
16662 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
16665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16666 (arg1
)->SetRect(arg2
);
16668 wxPyEndAllowThreads(__tstate
);
16669 if (PyErr_Occurred()) SWIG_fail
;
16671 Py_INCREF(Py_None
); resultobj
= Py_None
;
16678 static PyObject
*_wrap_MoveEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16679 PyObject
*resultobj
;
16680 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16683 PyObject
* obj0
= 0 ;
16684 PyObject
* obj1
= 0 ;
16685 char *kwnames
[] = {
16686 (char *) "self",(char *) "pos", NULL
16689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
16690 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16691 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16692 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxPoint
,
16693 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
16696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16697 wxMoveEvent_SetPosition(arg1
,arg2
);
16699 wxPyEndAllowThreads(__tstate
);
16700 if (PyErr_Occurred()) SWIG_fail
;
16702 Py_INCREF(Py_None
); resultobj
= Py_None
;
16709 static PyObject
*_wrap_MoveEvent_m_pos_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16710 PyObject
*resultobj
;
16711 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16712 wxPoint
*arg2
= (wxPoint
*) 0 ;
16713 PyObject
* obj0
= 0 ;
16714 PyObject
* obj1
= 0 ;
16715 char *kwnames
[] = {
16716 (char *) "self",(char *) "m_pos", NULL
16719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_m_pos_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16720 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16721 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16722 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPoint
,
16723 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16724 if (arg1
) (arg1
)->m_pos
= *arg2
;
16726 Py_INCREF(Py_None
); resultobj
= Py_None
;
16733 static PyObject
*_wrap_MoveEvent_m_pos_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16734 PyObject
*resultobj
;
16735 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16737 PyObject
* obj0
= 0 ;
16738 char *kwnames
[] = {
16739 (char *) "self", NULL
16742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_m_pos_get",kwnames
,&obj0
)) goto fail
;
16743 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16744 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16745 result
= (wxPoint
*)& ((arg1
)->m_pos
);
16747 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
16754 static PyObject
*_wrap_MoveEvent_m_rect_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16755 PyObject
*resultobj
;
16756 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16757 wxRect
*arg2
= (wxRect
*) 0 ;
16758 PyObject
* obj0
= 0 ;
16759 PyObject
* obj1
= 0 ;
16760 char *kwnames
[] = {
16761 (char *) "self",(char *) "m_rect", NULL
16764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_m_rect_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16765 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16766 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16767 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRect
,
16768 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16769 if (arg1
) (arg1
)->m_rect
= *arg2
;
16771 Py_INCREF(Py_None
); resultobj
= Py_None
;
16778 static PyObject
*_wrap_MoveEvent_m_rect_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16779 PyObject
*resultobj
;
16780 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16782 PyObject
* obj0
= 0 ;
16783 char *kwnames
[] = {
16784 (char *) "self", NULL
16787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_m_rect_get",kwnames
,&obj0
)) goto fail
;
16788 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16789 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16790 result
= (wxRect
*)& ((arg1
)->m_rect
);
16792 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
16799 static PyObject
* MoveEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16801 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16802 SWIG_TypeClientData(SWIGTYPE_p_wxMoveEvent
, obj
);
16804 return Py_BuildValue((char *)"");
16806 static PyObject
*_wrap_new_PaintEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16807 PyObject
*resultobj
;
16808 int arg1
= (int) 0 ;
16809 wxPaintEvent
*result
;
16810 PyObject
* obj0
= 0 ;
16811 char *kwnames
[] = {
16812 (char *) "Id", NULL
16815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PaintEvent",kwnames
,&obj0
)) goto fail
;
16817 arg1
= (int) SWIG_AsInt(obj0
);
16818 if (PyErr_Occurred()) SWIG_fail
;
16821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16822 result
= (wxPaintEvent
*)new wxPaintEvent(arg1
);
16824 wxPyEndAllowThreads(__tstate
);
16825 if (PyErr_Occurred()) SWIG_fail
;
16827 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaintEvent
, 1);
16834 static PyObject
* PaintEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16836 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16837 SWIG_TypeClientData(SWIGTYPE_p_wxPaintEvent
, obj
);
16839 return Py_BuildValue((char *)"");
16841 static PyObject
*_wrap_new_NcPaintEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16842 PyObject
*resultobj
;
16843 int arg1
= (int) 0 ;
16844 wxNcPaintEvent
*result
;
16845 PyObject
* obj0
= 0 ;
16846 char *kwnames
[] = {
16847 (char *) "winid", NULL
16850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_NcPaintEvent",kwnames
,&obj0
)) goto fail
;
16852 arg1
= (int) SWIG_AsInt(obj0
);
16853 if (PyErr_Occurred()) SWIG_fail
;
16856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16857 result
= (wxNcPaintEvent
*)new wxNcPaintEvent(arg1
);
16859 wxPyEndAllowThreads(__tstate
);
16860 if (PyErr_Occurred()) SWIG_fail
;
16862 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNcPaintEvent
, 1);
16869 static PyObject
* NcPaintEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16871 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16872 SWIG_TypeClientData(SWIGTYPE_p_wxNcPaintEvent
, obj
);
16874 return Py_BuildValue((char *)"");
16876 static PyObject
*_wrap_new_EraseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16877 PyObject
*resultobj
;
16878 int arg1
= (int) 0 ;
16879 wxDC
*arg2
= (wxDC
*) (wxDC
*) NULL
;
16880 wxEraseEvent
*result
;
16881 PyObject
* obj0
= 0 ;
16882 PyObject
* obj1
= 0 ;
16883 char *kwnames
[] = {
16884 (char *) "Id",(char *) "dc", NULL
16887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_EraseEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
16889 arg1
= (int) SWIG_AsInt(obj0
);
16890 if (PyErr_Occurred()) SWIG_fail
;
16893 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
16894 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16898 result
= (wxEraseEvent
*)new wxEraseEvent(arg1
,arg2
);
16900 wxPyEndAllowThreads(__tstate
);
16901 if (PyErr_Occurred()) SWIG_fail
;
16903 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEraseEvent
, 1);
16910 static PyObject
*_wrap_EraseEvent_GetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16911 PyObject
*resultobj
;
16912 wxEraseEvent
*arg1
= (wxEraseEvent
*) 0 ;
16914 PyObject
* obj0
= 0 ;
16915 char *kwnames
[] = {
16916 (char *) "self", NULL
16919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EraseEvent_GetDC",kwnames
,&obj0
)) goto fail
;
16920 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEraseEvent
,
16921 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16924 result
= (wxDC
*)((wxEraseEvent
const *)arg1
)->GetDC();
16926 wxPyEndAllowThreads(__tstate
);
16927 if (PyErr_Occurred()) SWIG_fail
;
16930 resultobj
= wxPyMake_wxObject(result
, 0);
16938 static PyObject
* EraseEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16940 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16941 SWIG_TypeClientData(SWIGTYPE_p_wxEraseEvent
, obj
);
16943 return Py_BuildValue((char *)"");
16945 static PyObject
*_wrap_new_FocusEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16946 PyObject
*resultobj
;
16947 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16948 int arg2
= (int) 0 ;
16949 wxFocusEvent
*result
;
16950 PyObject
* obj0
= 0 ;
16951 PyObject
* obj1
= 0 ;
16952 char *kwnames
[] = {
16953 (char *) "type",(char *) "winid", NULL
16956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FocusEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
16958 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
16959 if (PyErr_Occurred()) SWIG_fail
;
16962 arg2
= (int) SWIG_AsInt(obj1
);
16963 if (PyErr_Occurred()) SWIG_fail
;
16966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16967 result
= (wxFocusEvent
*)new wxFocusEvent(arg1
,arg2
);
16969 wxPyEndAllowThreads(__tstate
);
16970 if (PyErr_Occurred()) SWIG_fail
;
16972 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFocusEvent
, 1);
16979 static PyObject
*_wrap_FocusEvent_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16980 PyObject
*resultobj
;
16981 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
16983 PyObject
* obj0
= 0 ;
16984 char *kwnames
[] = {
16985 (char *) "self", NULL
16988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FocusEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
16989 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFocusEvent
,
16990 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16993 result
= (wxWindow
*)((wxFocusEvent
const *)arg1
)->GetWindow();
16995 wxPyEndAllowThreads(__tstate
);
16996 if (PyErr_Occurred()) SWIG_fail
;
16999 resultobj
= wxPyMake_wxObject(result
, 0);
17007 static PyObject
*_wrap_FocusEvent_SetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17008 PyObject
*resultobj
;
17009 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
17010 wxWindow
*arg2
= (wxWindow
*) 0 ;
17011 PyObject
* obj0
= 0 ;
17012 PyObject
* obj1
= 0 ;
17013 char *kwnames
[] = {
17014 (char *) "self",(char *) "win", NULL
17017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FocusEvent_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
17018 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFocusEvent
,
17019 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17020 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
17021 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17024 (arg1
)->SetWindow(arg2
);
17026 wxPyEndAllowThreads(__tstate
);
17027 if (PyErr_Occurred()) SWIG_fail
;
17029 Py_INCREF(Py_None
); resultobj
= Py_None
;
17036 static PyObject
* FocusEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17038 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17039 SWIG_TypeClientData(SWIGTYPE_p_wxFocusEvent
, obj
);
17041 return Py_BuildValue((char *)"");
17043 static PyObject
*_wrap_new_ChildFocusEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17044 PyObject
*resultobj
;
17045 wxWindow
*arg1
= (wxWindow
*) NULL
;
17046 wxChildFocusEvent
*result
;
17047 PyObject
* obj0
= 0 ;
17048 char *kwnames
[] = {
17049 (char *) "win", NULL
17052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ChildFocusEvent",kwnames
,&obj0
)) goto fail
;
17054 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
17055 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17059 result
= (wxChildFocusEvent
*)new wxChildFocusEvent(arg1
);
17061 wxPyEndAllowThreads(__tstate
);
17062 if (PyErr_Occurred()) SWIG_fail
;
17064 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChildFocusEvent
, 1);
17071 static PyObject
*_wrap_ChildFocusEvent_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17072 PyObject
*resultobj
;
17073 wxChildFocusEvent
*arg1
= (wxChildFocusEvent
*) 0 ;
17075 PyObject
* obj0
= 0 ;
17076 char *kwnames
[] = {
17077 (char *) "self", NULL
17080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ChildFocusEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
17081 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChildFocusEvent
,
17082 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17085 result
= (wxWindow
*)((wxChildFocusEvent
const *)arg1
)->GetWindow();
17087 wxPyEndAllowThreads(__tstate
);
17088 if (PyErr_Occurred()) SWIG_fail
;
17091 resultobj
= wxPyMake_wxObject(result
, 0);
17099 static PyObject
* ChildFocusEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17101 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17102 SWIG_TypeClientData(SWIGTYPE_p_wxChildFocusEvent
, obj
);
17104 return Py_BuildValue((char *)"");
17106 static PyObject
*_wrap_new_ActivateEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17107 PyObject
*resultobj
;
17108 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17109 bool arg2
= (bool) True
;
17110 int arg3
= (int) 0 ;
17111 wxActivateEvent
*result
;
17112 PyObject
* obj0
= 0 ;
17113 PyObject
* obj1
= 0 ;
17114 PyObject
* obj2
= 0 ;
17115 char *kwnames
[] = {
17116 (char *) "type",(char *) "active",(char *) "Id", NULL
17119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ActivateEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17121 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
17122 if (PyErr_Occurred()) SWIG_fail
;
17125 arg2
= (bool) SWIG_AsBool(obj1
);
17126 if (PyErr_Occurred()) SWIG_fail
;
17129 arg3
= (int) SWIG_AsInt(obj2
);
17130 if (PyErr_Occurred()) SWIG_fail
;
17133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17134 result
= (wxActivateEvent
*)new wxActivateEvent(arg1
,arg2
,arg3
);
17136 wxPyEndAllowThreads(__tstate
);
17137 if (PyErr_Occurred()) SWIG_fail
;
17139 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxActivateEvent
, 1);
17146 static PyObject
*_wrap_ActivateEvent_GetActive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17147 PyObject
*resultobj
;
17148 wxActivateEvent
*arg1
= (wxActivateEvent
*) 0 ;
17150 PyObject
* obj0
= 0 ;
17151 char *kwnames
[] = {
17152 (char *) "self", NULL
17155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ActivateEvent_GetActive",kwnames
,&obj0
)) goto fail
;
17156 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxActivateEvent
,
17157 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17160 result
= (bool)((wxActivateEvent
const *)arg1
)->GetActive();
17162 wxPyEndAllowThreads(__tstate
);
17163 if (PyErr_Occurred()) SWIG_fail
;
17166 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17174 static PyObject
* ActivateEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17176 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17177 SWIG_TypeClientData(SWIGTYPE_p_wxActivateEvent
, obj
);
17179 return Py_BuildValue((char *)"");
17181 static PyObject
*_wrap_new_InitDialogEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17182 PyObject
*resultobj
;
17183 int arg1
= (int) 0 ;
17184 wxInitDialogEvent
*result
;
17185 PyObject
* obj0
= 0 ;
17186 char *kwnames
[] = {
17187 (char *) "Id", NULL
17190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_InitDialogEvent",kwnames
,&obj0
)) goto fail
;
17192 arg1
= (int) SWIG_AsInt(obj0
);
17193 if (PyErr_Occurred()) SWIG_fail
;
17196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17197 result
= (wxInitDialogEvent
*)new wxInitDialogEvent(arg1
);
17199 wxPyEndAllowThreads(__tstate
);
17200 if (PyErr_Occurred()) SWIG_fail
;
17202 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxInitDialogEvent
, 1);
17209 static PyObject
* InitDialogEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17211 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17212 SWIG_TypeClientData(SWIGTYPE_p_wxInitDialogEvent
, obj
);
17214 return Py_BuildValue((char *)"");
17216 static PyObject
*_wrap_new_MenuEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17217 PyObject
*resultobj
;
17218 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17219 int arg2
= (int) 0 ;
17220 wxMenu
*arg3
= (wxMenu
*) NULL
;
17221 wxMenuEvent
*result
;
17222 PyObject
* obj0
= 0 ;
17223 PyObject
* obj1
= 0 ;
17224 PyObject
* obj2
= 0 ;
17225 char *kwnames
[] = {
17226 (char *) "type",(char *) "winid",(char *) "menu", NULL
17229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_MenuEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17231 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
17232 if (PyErr_Occurred()) SWIG_fail
;
17235 arg2
= (int) SWIG_AsInt(obj1
);
17236 if (PyErr_Occurred()) SWIG_fail
;
17239 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMenu
,
17240 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17244 result
= (wxMenuEvent
*)new wxMenuEvent(arg1
,arg2
,arg3
);
17246 wxPyEndAllowThreads(__tstate
);
17247 if (PyErr_Occurred()) SWIG_fail
;
17249 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMenuEvent
, 1);
17256 static PyObject
*_wrap_MenuEvent_GetMenuId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17257 PyObject
*resultobj
;
17258 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
17260 PyObject
* obj0
= 0 ;
17261 char *kwnames
[] = {
17262 (char *) "self", NULL
17265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_GetMenuId",kwnames
,&obj0
)) goto fail
;
17266 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuEvent
,
17267 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17270 result
= (int)((wxMenuEvent
const *)arg1
)->GetMenuId();
17272 wxPyEndAllowThreads(__tstate
);
17273 if (PyErr_Occurred()) SWIG_fail
;
17275 resultobj
= SWIG_FromInt((int)result
);
17282 static PyObject
*_wrap_MenuEvent_IsPopup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17283 PyObject
*resultobj
;
17284 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
17286 PyObject
* obj0
= 0 ;
17287 char *kwnames
[] = {
17288 (char *) "self", NULL
17291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_IsPopup",kwnames
,&obj0
)) goto fail
;
17292 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuEvent
,
17293 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17296 result
= (bool)((wxMenuEvent
const *)arg1
)->IsPopup();
17298 wxPyEndAllowThreads(__tstate
);
17299 if (PyErr_Occurred()) SWIG_fail
;
17302 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17310 static PyObject
*_wrap_MenuEvent_GetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17311 PyObject
*resultobj
;
17312 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
17314 PyObject
* obj0
= 0 ;
17315 char *kwnames
[] = {
17316 (char *) "self", NULL
17319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_GetMenu",kwnames
,&obj0
)) goto fail
;
17320 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuEvent
,
17321 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17324 result
= (wxMenu
*)((wxMenuEvent
const *)arg1
)->GetMenu();
17326 wxPyEndAllowThreads(__tstate
);
17327 if (PyErr_Occurred()) SWIG_fail
;
17330 resultobj
= wxPyMake_wxObject(result
, 0);
17338 static PyObject
* MenuEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17340 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17341 SWIG_TypeClientData(SWIGTYPE_p_wxMenuEvent
, obj
);
17343 return Py_BuildValue((char *)"");
17345 static PyObject
*_wrap_new_CloseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17346 PyObject
*resultobj
;
17347 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17348 int arg2
= (int) 0 ;
17349 wxCloseEvent
*result
;
17350 PyObject
* obj0
= 0 ;
17351 PyObject
* obj1
= 0 ;
17352 char *kwnames
[] = {
17353 (char *) "type",(char *) "winid", NULL
17356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_CloseEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
17358 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
17359 if (PyErr_Occurred()) SWIG_fail
;
17362 arg2
= (int) SWIG_AsInt(obj1
);
17363 if (PyErr_Occurred()) SWIG_fail
;
17366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17367 result
= (wxCloseEvent
*)new wxCloseEvent(arg1
,arg2
);
17369 wxPyEndAllowThreads(__tstate
);
17370 if (PyErr_Occurred()) SWIG_fail
;
17372 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCloseEvent
, 1);
17379 static PyObject
*_wrap_CloseEvent_SetLoggingOff(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17380 PyObject
*resultobj
;
17381 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17383 PyObject
* obj0
= 0 ;
17384 PyObject
* obj1
= 0 ;
17385 char *kwnames
[] = {
17386 (char *) "self",(char *) "logOff", NULL
17389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetLoggingOff",kwnames
,&obj0
,&obj1
)) goto fail
;
17390 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17391 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17392 arg2
= (bool) SWIG_AsBool(obj1
);
17393 if (PyErr_Occurred()) SWIG_fail
;
17395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17396 (arg1
)->SetLoggingOff(arg2
);
17398 wxPyEndAllowThreads(__tstate
);
17399 if (PyErr_Occurred()) SWIG_fail
;
17401 Py_INCREF(Py_None
); resultobj
= Py_None
;
17408 static PyObject
*_wrap_CloseEvent_GetLoggingOff(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17409 PyObject
*resultobj
;
17410 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17412 PyObject
* obj0
= 0 ;
17413 char *kwnames
[] = {
17414 (char *) "self", NULL
17417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_GetLoggingOff",kwnames
,&obj0
)) goto fail
;
17418 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17419 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17422 result
= (bool)((wxCloseEvent
const *)arg1
)->GetLoggingOff();
17424 wxPyEndAllowThreads(__tstate
);
17425 if (PyErr_Occurred()) SWIG_fail
;
17428 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17436 static PyObject
*_wrap_CloseEvent_Veto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17437 PyObject
*resultobj
;
17438 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17439 bool arg2
= (bool) True
;
17440 PyObject
* obj0
= 0 ;
17441 PyObject
* obj1
= 0 ;
17442 char *kwnames
[] = {
17443 (char *) "self",(char *) "veto", NULL
17446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CloseEvent_Veto",kwnames
,&obj0
,&obj1
)) goto fail
;
17447 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17448 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17450 arg2
= (bool) SWIG_AsBool(obj1
);
17451 if (PyErr_Occurred()) SWIG_fail
;
17454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17455 (arg1
)->Veto(arg2
);
17457 wxPyEndAllowThreads(__tstate
);
17458 if (PyErr_Occurred()) SWIG_fail
;
17460 Py_INCREF(Py_None
); resultobj
= Py_None
;
17467 static PyObject
*_wrap_CloseEvent_SetCanVeto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17468 PyObject
*resultobj
;
17469 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17471 PyObject
* obj0
= 0 ;
17472 PyObject
* obj1
= 0 ;
17473 char *kwnames
[] = {
17474 (char *) "self",(char *) "canVeto", NULL
17477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetCanVeto",kwnames
,&obj0
,&obj1
)) goto fail
;
17478 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17479 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17480 arg2
= (bool) SWIG_AsBool(obj1
);
17481 if (PyErr_Occurred()) SWIG_fail
;
17483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17484 (arg1
)->SetCanVeto(arg2
);
17486 wxPyEndAllowThreads(__tstate
);
17487 if (PyErr_Occurred()) SWIG_fail
;
17489 Py_INCREF(Py_None
); resultobj
= Py_None
;
17496 static PyObject
*_wrap_CloseEvent_CanVeto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17497 PyObject
*resultobj
;
17498 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17500 PyObject
* obj0
= 0 ;
17501 char *kwnames
[] = {
17502 (char *) "self", NULL
17505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_CanVeto",kwnames
,&obj0
)) goto fail
;
17506 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17507 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17510 result
= (bool)((wxCloseEvent
const *)arg1
)->CanVeto();
17512 wxPyEndAllowThreads(__tstate
);
17513 if (PyErr_Occurred()) SWIG_fail
;
17516 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17524 static PyObject
*_wrap_CloseEvent_GetVeto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17525 PyObject
*resultobj
;
17526 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17528 PyObject
* obj0
= 0 ;
17529 char *kwnames
[] = {
17530 (char *) "self", NULL
17533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_GetVeto",kwnames
,&obj0
)) goto fail
;
17534 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17535 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17538 result
= (bool)((wxCloseEvent
const *)arg1
)->GetVeto();
17540 wxPyEndAllowThreads(__tstate
);
17541 if (PyErr_Occurred()) SWIG_fail
;
17544 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17552 static PyObject
* CloseEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17554 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17555 SWIG_TypeClientData(SWIGTYPE_p_wxCloseEvent
, obj
);
17557 return Py_BuildValue((char *)"");
17559 static PyObject
*_wrap_new_ShowEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17560 PyObject
*resultobj
;
17561 int arg1
= (int) 0 ;
17562 bool arg2
= (bool) False
;
17563 wxShowEvent
*result
;
17564 PyObject
* obj0
= 0 ;
17565 PyObject
* obj1
= 0 ;
17566 char *kwnames
[] = {
17567 (char *) "winid",(char *) "show", NULL
17570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ShowEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
17572 arg1
= (int) SWIG_AsInt(obj0
);
17573 if (PyErr_Occurred()) SWIG_fail
;
17576 arg2
= (bool) SWIG_AsBool(obj1
);
17577 if (PyErr_Occurred()) SWIG_fail
;
17580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17581 result
= (wxShowEvent
*)new wxShowEvent(arg1
,arg2
);
17583 wxPyEndAllowThreads(__tstate
);
17584 if (PyErr_Occurred()) SWIG_fail
;
17586 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxShowEvent
, 1);
17593 static PyObject
*_wrap_ShowEvent_SetShow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17594 PyObject
*resultobj
;
17595 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
17597 PyObject
* obj0
= 0 ;
17598 PyObject
* obj1
= 0 ;
17599 char *kwnames
[] = {
17600 (char *) "self",(char *) "show", NULL
17603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ShowEvent_SetShow",kwnames
,&obj0
,&obj1
)) goto fail
;
17604 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShowEvent
,
17605 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17606 arg2
= (bool) SWIG_AsBool(obj1
);
17607 if (PyErr_Occurred()) SWIG_fail
;
17609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17610 (arg1
)->SetShow(arg2
);
17612 wxPyEndAllowThreads(__tstate
);
17613 if (PyErr_Occurred()) SWIG_fail
;
17615 Py_INCREF(Py_None
); resultobj
= Py_None
;
17622 static PyObject
*_wrap_ShowEvent_GetShow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17623 PyObject
*resultobj
;
17624 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
17626 PyObject
* obj0
= 0 ;
17627 char *kwnames
[] = {
17628 (char *) "self", NULL
17631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShowEvent_GetShow",kwnames
,&obj0
)) goto fail
;
17632 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShowEvent
,
17633 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17636 result
= (bool)((wxShowEvent
const *)arg1
)->GetShow();
17638 wxPyEndAllowThreads(__tstate
);
17639 if (PyErr_Occurred()) SWIG_fail
;
17642 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17650 static PyObject
* ShowEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17652 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17653 SWIG_TypeClientData(SWIGTYPE_p_wxShowEvent
, obj
);
17655 return Py_BuildValue((char *)"");
17657 static PyObject
*_wrap_new_IconizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17658 PyObject
*resultobj
;
17659 int arg1
= (int) 0 ;
17660 bool arg2
= (bool) True
;
17661 wxIconizeEvent
*result
;
17662 PyObject
* obj0
= 0 ;
17663 PyObject
* obj1
= 0 ;
17664 char *kwnames
[] = {
17665 (char *) "id",(char *) "iconized", NULL
17668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconizeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
17670 arg1
= (int) SWIG_AsInt(obj0
);
17671 if (PyErr_Occurred()) SWIG_fail
;
17674 arg2
= (bool) SWIG_AsBool(obj1
);
17675 if (PyErr_Occurred()) SWIG_fail
;
17678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17679 result
= (wxIconizeEvent
*)new wxIconizeEvent(arg1
,arg2
);
17681 wxPyEndAllowThreads(__tstate
);
17682 if (PyErr_Occurred()) SWIG_fail
;
17684 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconizeEvent
, 1);
17691 static PyObject
*_wrap_IconizeEvent_Iconized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17692 PyObject
*resultobj
;
17693 wxIconizeEvent
*arg1
= (wxIconizeEvent
*) 0 ;
17695 PyObject
* obj0
= 0 ;
17696 char *kwnames
[] = {
17697 (char *) "self", NULL
17700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconizeEvent_Iconized",kwnames
,&obj0
)) goto fail
;
17701 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconizeEvent
,
17702 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17705 result
= (bool)(arg1
)->Iconized();
17707 wxPyEndAllowThreads(__tstate
);
17708 if (PyErr_Occurred()) SWIG_fail
;
17711 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17719 static PyObject
* IconizeEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17721 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17722 SWIG_TypeClientData(SWIGTYPE_p_wxIconizeEvent
, obj
);
17724 return Py_BuildValue((char *)"");
17726 static PyObject
*_wrap_new_MaximizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17727 PyObject
*resultobj
;
17728 int arg1
= (int) 0 ;
17729 wxMaximizeEvent
*result
;
17730 PyObject
* obj0
= 0 ;
17731 char *kwnames
[] = {
17732 (char *) "id", NULL
17735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MaximizeEvent",kwnames
,&obj0
)) goto fail
;
17737 arg1
= (int) SWIG_AsInt(obj0
);
17738 if (PyErr_Occurred()) SWIG_fail
;
17741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17742 result
= (wxMaximizeEvent
*)new wxMaximizeEvent(arg1
);
17744 wxPyEndAllowThreads(__tstate
);
17745 if (PyErr_Occurred()) SWIG_fail
;
17747 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMaximizeEvent
, 1);
17754 static PyObject
* MaximizeEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17756 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17757 SWIG_TypeClientData(SWIGTYPE_p_wxMaximizeEvent
, obj
);
17759 return Py_BuildValue((char *)"");
17761 static PyObject
*_wrap_DropFilesEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17762 PyObject
*resultobj
;
17763 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
17765 PyObject
* obj0
= 0 ;
17766 char *kwnames
[] = {
17767 (char *) "self", NULL
17770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
17771 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDropFilesEvent
,
17772 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17775 result
= (arg1
)->GetPosition();
17777 wxPyEndAllowThreads(__tstate
);
17778 if (PyErr_Occurred()) SWIG_fail
;
17781 wxPoint
* resultptr
;
17782 resultptr
= new wxPoint((wxPoint
&) result
);
17783 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
17791 static PyObject
*_wrap_DropFilesEvent_GetNumberOfFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17792 PyObject
*resultobj
;
17793 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
17795 PyObject
* obj0
= 0 ;
17796 char *kwnames
[] = {
17797 (char *) "self", NULL
17800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetNumberOfFiles",kwnames
,&obj0
)) goto fail
;
17801 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDropFilesEvent
,
17802 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17805 result
= (int)(arg1
)->GetNumberOfFiles();
17807 wxPyEndAllowThreads(__tstate
);
17808 if (PyErr_Occurred()) SWIG_fail
;
17810 resultobj
= SWIG_FromInt((int)result
);
17817 static PyObject
*_wrap_DropFilesEvent_GetFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17818 PyObject
*resultobj
;
17819 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
17821 PyObject
* obj0
= 0 ;
17822 char *kwnames
[] = {
17823 (char *) "self", NULL
17826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetFiles",kwnames
,&obj0
)) goto fail
;
17827 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDropFilesEvent
,
17828 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17831 result
= (PyObject
*)wxDropFilesEvent_GetFiles(arg1
);
17833 wxPyEndAllowThreads(__tstate
);
17834 if (PyErr_Occurred()) SWIG_fail
;
17836 resultobj
= result
;
17843 static PyObject
* DropFilesEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17845 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17846 SWIG_TypeClientData(SWIGTYPE_p_wxDropFilesEvent
, obj
);
17848 return Py_BuildValue((char *)"");
17850 static PyObject
*_wrap_new_UpdateUIEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17851 PyObject
*resultobj
;
17852 int arg1
= (int) 0 ;
17853 wxUpdateUIEvent
*result
;
17854 PyObject
* obj0
= 0 ;
17855 char *kwnames
[] = {
17856 (char *) "commandId", NULL
17859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_UpdateUIEvent",kwnames
,&obj0
)) goto fail
;
17861 arg1
= (int) SWIG_AsInt(obj0
);
17862 if (PyErr_Occurred()) SWIG_fail
;
17865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17866 result
= (wxUpdateUIEvent
*)new wxUpdateUIEvent(arg1
);
17868 wxPyEndAllowThreads(__tstate
);
17869 if (PyErr_Occurred()) SWIG_fail
;
17871 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxUpdateUIEvent
, 1);
17878 static PyObject
*_wrap_UpdateUIEvent_GetChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17879 PyObject
*resultobj
;
17880 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17882 PyObject
* obj0
= 0 ;
17883 char *kwnames
[] = {
17884 (char *) "self", NULL
17887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetChecked",kwnames
,&obj0
)) goto fail
;
17888 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
17889 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17892 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetChecked();
17894 wxPyEndAllowThreads(__tstate
);
17895 if (PyErr_Occurred()) SWIG_fail
;
17898 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17906 static PyObject
*_wrap_UpdateUIEvent_GetEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17907 PyObject
*resultobj
;
17908 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17910 PyObject
* obj0
= 0 ;
17911 char *kwnames
[] = {
17912 (char *) "self", NULL
17915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetEnabled",kwnames
,&obj0
)) goto fail
;
17916 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
17917 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17920 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetEnabled();
17922 wxPyEndAllowThreads(__tstate
);
17923 if (PyErr_Occurred()) SWIG_fail
;
17926 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17934 static PyObject
*_wrap_UpdateUIEvent_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17935 PyObject
*resultobj
;
17936 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17938 PyObject
* obj0
= 0 ;
17939 char *kwnames
[] = {
17940 (char *) "self", NULL
17943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetText",kwnames
,&obj0
)) goto fail
;
17944 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
17945 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17948 result
= ((wxUpdateUIEvent
const *)arg1
)->GetText();
17950 wxPyEndAllowThreads(__tstate
);
17951 if (PyErr_Occurred()) SWIG_fail
;
17955 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17957 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17966 static PyObject
*_wrap_UpdateUIEvent_GetSetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17967 PyObject
*resultobj
;
17968 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17970 PyObject
* obj0
= 0 ;
17971 char *kwnames
[] = {
17972 (char *) "self", NULL
17975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetText",kwnames
,&obj0
)) goto fail
;
17976 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
17977 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17980 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetText();
17982 wxPyEndAllowThreads(__tstate
);
17983 if (PyErr_Occurred()) SWIG_fail
;
17986 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17994 static PyObject
*_wrap_UpdateUIEvent_GetSetChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17995 PyObject
*resultobj
;
17996 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17998 PyObject
* obj0
= 0 ;
17999 char *kwnames
[] = {
18000 (char *) "self", NULL
18003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetChecked",kwnames
,&obj0
)) goto fail
;
18004 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18005 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18008 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetChecked();
18010 wxPyEndAllowThreads(__tstate
);
18011 if (PyErr_Occurred()) SWIG_fail
;
18014 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18022 static PyObject
*_wrap_UpdateUIEvent_GetSetEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18023 PyObject
*resultobj
;
18024 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18026 PyObject
* obj0
= 0 ;
18027 char *kwnames
[] = {
18028 (char *) "self", NULL
18031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetEnabled",kwnames
,&obj0
)) goto fail
;
18032 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18033 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18036 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetEnabled();
18038 wxPyEndAllowThreads(__tstate
);
18039 if (PyErr_Occurred()) SWIG_fail
;
18042 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18050 static PyObject
*_wrap_UpdateUIEvent_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18051 PyObject
*resultobj
;
18052 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18054 PyObject
* obj0
= 0 ;
18055 PyObject
* obj1
= 0 ;
18056 char *kwnames
[] = {
18057 (char *) "self",(char *) "check", NULL
18060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Check",kwnames
,&obj0
,&obj1
)) goto fail
;
18061 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18062 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18063 arg2
= (bool) SWIG_AsBool(obj1
);
18064 if (PyErr_Occurred()) SWIG_fail
;
18066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18067 (arg1
)->Check(arg2
);
18069 wxPyEndAllowThreads(__tstate
);
18070 if (PyErr_Occurred()) SWIG_fail
;
18072 Py_INCREF(Py_None
); resultobj
= Py_None
;
18079 static PyObject
*_wrap_UpdateUIEvent_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18080 PyObject
*resultobj
;
18081 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18083 PyObject
* obj0
= 0 ;
18084 PyObject
* obj1
= 0 ;
18085 char *kwnames
[] = {
18086 (char *) "self",(char *) "enable", NULL
18089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
18090 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18091 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18092 arg2
= (bool) SWIG_AsBool(obj1
);
18093 if (PyErr_Occurred()) SWIG_fail
;
18095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18096 (arg1
)->Enable(arg2
);
18098 wxPyEndAllowThreads(__tstate
);
18099 if (PyErr_Occurred()) SWIG_fail
;
18101 Py_INCREF(Py_None
); resultobj
= Py_None
;
18108 static PyObject
*_wrap_UpdateUIEvent_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18109 PyObject
*resultobj
;
18110 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18111 wxString
*arg2
= 0 ;
18112 bool temp2
= False
;
18113 PyObject
* obj0
= 0 ;
18114 PyObject
* obj1
= 0 ;
18115 char *kwnames
[] = {
18116 (char *) "self",(char *) "text", NULL
18119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
18120 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18121 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18123 arg2
= wxString_in_helper(obj1
);
18124 if (arg2
== NULL
) SWIG_fail
;
18128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18129 (arg1
)->SetText((wxString
const &)*arg2
);
18131 wxPyEndAllowThreads(__tstate
);
18132 if (PyErr_Occurred()) SWIG_fail
;
18134 Py_INCREF(Py_None
); resultobj
= Py_None
;
18149 static PyObject
*_wrap_UpdateUIEvent_SetUpdateInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18150 PyObject
*resultobj
;
18152 PyObject
* obj0
= 0 ;
18153 char *kwnames
[] = {
18154 (char *) "updateInterval", NULL
18157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_SetUpdateInterval",kwnames
,&obj0
)) goto fail
;
18158 arg1
= (long) SWIG_AsLong(obj0
);
18159 if (PyErr_Occurred()) SWIG_fail
;
18161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18162 wxUpdateUIEvent::SetUpdateInterval(arg1
);
18164 wxPyEndAllowThreads(__tstate
);
18165 if (PyErr_Occurred()) SWIG_fail
;
18167 Py_INCREF(Py_None
); resultobj
= Py_None
;
18174 static PyObject
*_wrap_UpdateUIEvent_GetUpdateInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18175 PyObject
*resultobj
;
18177 char *kwnames
[] = {
18181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_GetUpdateInterval",kwnames
)) goto fail
;
18183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18184 result
= (long)wxUpdateUIEvent::GetUpdateInterval();
18186 wxPyEndAllowThreads(__tstate
);
18187 if (PyErr_Occurred()) SWIG_fail
;
18189 resultobj
= SWIG_FromLong((long)result
);
18196 static PyObject
*_wrap_UpdateUIEvent_CanUpdate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18197 PyObject
*resultobj
;
18198 wxWindow
*arg1
= (wxWindow
*) 0 ;
18200 PyObject
* obj0
= 0 ;
18201 char *kwnames
[] = {
18202 (char *) "win", NULL
18205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_CanUpdate",kwnames
,&obj0
)) goto fail
;
18206 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
18207 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18210 result
= (bool)wxUpdateUIEvent::CanUpdate(arg1
);
18212 wxPyEndAllowThreads(__tstate
);
18213 if (PyErr_Occurred()) SWIG_fail
;
18216 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18224 static PyObject
*_wrap_UpdateUIEvent_ResetUpdateTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18225 PyObject
*resultobj
;
18226 char *kwnames
[] = {
18230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_ResetUpdateTime",kwnames
)) goto fail
;
18232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18233 wxUpdateUIEvent::ResetUpdateTime();
18235 wxPyEndAllowThreads(__tstate
);
18236 if (PyErr_Occurred()) SWIG_fail
;
18238 Py_INCREF(Py_None
); resultobj
= Py_None
;
18245 static PyObject
*_wrap_UpdateUIEvent_SetMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18246 PyObject
*resultobj
;
18248 PyObject
* obj0
= 0 ;
18249 char *kwnames
[] = {
18250 (char *) "mode", NULL
18253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_SetMode",kwnames
,&obj0
)) goto fail
;
18254 arg1
= (wxUpdateUIMode
) SWIG_AsInt(obj0
);
18255 if (PyErr_Occurred()) SWIG_fail
;
18257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18258 wxUpdateUIEvent::SetMode((wxUpdateUIMode
)arg1
);
18260 wxPyEndAllowThreads(__tstate
);
18261 if (PyErr_Occurred()) SWIG_fail
;
18263 Py_INCREF(Py_None
); resultobj
= Py_None
;
18270 static PyObject
*_wrap_UpdateUIEvent_GetMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18271 PyObject
*resultobj
;
18273 char *kwnames
[] = {
18277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_GetMode",kwnames
)) goto fail
;
18279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18280 result
= (int)wxUpdateUIEvent::GetMode();
18282 wxPyEndAllowThreads(__tstate
);
18283 if (PyErr_Occurred()) SWIG_fail
;
18285 resultobj
= SWIG_FromInt((int)result
);
18292 static PyObject
* UpdateUIEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18294 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18295 SWIG_TypeClientData(SWIGTYPE_p_wxUpdateUIEvent
, obj
);
18297 return Py_BuildValue((char *)"");
18299 static PyObject
*_wrap_new_SysColourChangedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18300 PyObject
*resultobj
;
18301 wxSysColourChangedEvent
*result
;
18302 char *kwnames
[] = {
18306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SysColourChangedEvent",kwnames
)) goto fail
;
18308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18309 result
= (wxSysColourChangedEvent
*)new wxSysColourChangedEvent();
18311 wxPyEndAllowThreads(__tstate
);
18312 if (PyErr_Occurred()) SWIG_fail
;
18314 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSysColourChangedEvent
, 1);
18321 static PyObject
* SysColourChangedEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18323 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18324 SWIG_TypeClientData(SWIGTYPE_p_wxSysColourChangedEvent
, obj
);
18326 return Py_BuildValue((char *)"");
18328 static PyObject
*_wrap_new_MouseCaptureChangedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18329 PyObject
*resultobj
;
18330 int arg1
= (int) 0 ;
18331 wxWindow
*arg2
= (wxWindow
*) NULL
;
18332 wxMouseCaptureChangedEvent
*result
;
18333 PyObject
* obj0
= 0 ;
18334 PyObject
* obj1
= 0 ;
18335 char *kwnames
[] = {
18336 (char *) "winid",(char *) "gainedCapture", NULL
18339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_MouseCaptureChangedEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
18341 arg1
= (int) SWIG_AsInt(obj0
);
18342 if (PyErr_Occurred()) SWIG_fail
;
18345 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
18346 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18350 result
= (wxMouseCaptureChangedEvent
*)new wxMouseCaptureChangedEvent(arg1
,arg2
);
18352 wxPyEndAllowThreads(__tstate
);
18353 if (PyErr_Occurred()) SWIG_fail
;
18355 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMouseCaptureChangedEvent
, 1);
18362 static PyObject
*_wrap_MouseCaptureChangedEvent_GetCapturedWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18363 PyObject
*resultobj
;
18364 wxMouseCaptureChangedEvent
*arg1
= (wxMouseCaptureChangedEvent
*) 0 ;
18366 PyObject
* obj0
= 0 ;
18367 char *kwnames
[] = {
18368 (char *) "self", NULL
18371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseCaptureChangedEvent_GetCapturedWindow",kwnames
,&obj0
)) goto fail
;
18372 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseCaptureChangedEvent
,
18373 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18376 result
= (wxWindow
*)((wxMouseCaptureChangedEvent
const *)arg1
)->GetCapturedWindow();
18378 wxPyEndAllowThreads(__tstate
);
18379 if (PyErr_Occurred()) SWIG_fail
;
18382 resultobj
= wxPyMake_wxObject(result
, 0);
18390 static PyObject
* MouseCaptureChangedEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18392 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18393 SWIG_TypeClientData(SWIGTYPE_p_wxMouseCaptureChangedEvent
, obj
);
18395 return Py_BuildValue((char *)"");
18397 static PyObject
*_wrap_new_DisplayChangedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18398 PyObject
*resultobj
;
18399 wxDisplayChangedEvent
*result
;
18400 char *kwnames
[] = {
18404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DisplayChangedEvent",kwnames
)) goto fail
;
18406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18407 result
= (wxDisplayChangedEvent
*)new wxDisplayChangedEvent();
18409 wxPyEndAllowThreads(__tstate
);
18410 if (PyErr_Occurred()) SWIG_fail
;
18412 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDisplayChangedEvent
, 1);
18419 static PyObject
* DisplayChangedEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18421 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18422 SWIG_TypeClientData(SWIGTYPE_p_wxDisplayChangedEvent
, obj
);
18424 return Py_BuildValue((char *)"");
18426 static PyObject
*_wrap_new_PaletteChangedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18427 PyObject
*resultobj
;
18428 int arg1
= (int) 0 ;
18429 wxPaletteChangedEvent
*result
;
18430 PyObject
* obj0
= 0 ;
18431 char *kwnames
[] = {
18432 (char *) "id", NULL
18435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PaletteChangedEvent",kwnames
,&obj0
)) goto fail
;
18437 arg1
= (int) SWIG_AsInt(obj0
);
18438 if (PyErr_Occurred()) SWIG_fail
;
18441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18442 result
= (wxPaletteChangedEvent
*)new wxPaletteChangedEvent(arg1
);
18444 wxPyEndAllowThreads(__tstate
);
18445 if (PyErr_Occurred()) SWIG_fail
;
18447 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaletteChangedEvent
, 1);
18454 static PyObject
*_wrap_PaletteChangedEvent_SetChangedWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18455 PyObject
*resultobj
;
18456 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
18457 wxWindow
*arg2
= (wxWindow
*) 0 ;
18458 PyObject
* obj0
= 0 ;
18459 PyObject
* obj1
= 0 ;
18460 char *kwnames
[] = {
18461 (char *) "self",(char *) "win", NULL
18464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PaletteChangedEvent_SetChangedWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
18465 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPaletteChangedEvent
,
18466 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18467 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
18468 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18471 (arg1
)->SetChangedWindow(arg2
);
18473 wxPyEndAllowThreads(__tstate
);
18474 if (PyErr_Occurred()) SWIG_fail
;
18476 Py_INCREF(Py_None
); resultobj
= Py_None
;
18483 static PyObject
*_wrap_PaletteChangedEvent_GetChangedWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18484 PyObject
*resultobj
;
18485 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
18487 PyObject
* obj0
= 0 ;
18488 char *kwnames
[] = {
18489 (char *) "self", NULL
18492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PaletteChangedEvent_GetChangedWindow",kwnames
,&obj0
)) goto fail
;
18493 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPaletteChangedEvent
,
18494 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18497 result
= (wxWindow
*)(arg1
)->GetChangedWindow();
18499 wxPyEndAllowThreads(__tstate
);
18500 if (PyErr_Occurred()) SWIG_fail
;
18503 resultobj
= wxPyMake_wxObject(result
, 0);
18511 static PyObject
* PaletteChangedEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18513 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18514 SWIG_TypeClientData(SWIGTYPE_p_wxPaletteChangedEvent
, obj
);
18516 return Py_BuildValue((char *)"");
18518 static PyObject
*_wrap_new_QueryNewPaletteEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18519 PyObject
*resultobj
;
18520 int arg1
= (int) 0 ;
18521 wxQueryNewPaletteEvent
*result
;
18522 PyObject
* obj0
= 0 ;
18523 char *kwnames
[] = {
18524 (char *) "winid", NULL
18527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryNewPaletteEvent",kwnames
,&obj0
)) goto fail
;
18529 arg1
= (int) SWIG_AsInt(obj0
);
18530 if (PyErr_Occurred()) SWIG_fail
;
18533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18534 result
= (wxQueryNewPaletteEvent
*)new wxQueryNewPaletteEvent(arg1
);
18536 wxPyEndAllowThreads(__tstate
);
18537 if (PyErr_Occurred()) SWIG_fail
;
18539 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxQueryNewPaletteEvent
, 1);
18546 static PyObject
*_wrap_QueryNewPaletteEvent_SetPaletteRealized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18547 PyObject
*resultobj
;
18548 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
18550 PyObject
* obj0
= 0 ;
18551 PyObject
* obj1
= 0 ;
18552 char *kwnames
[] = {
18553 (char *) "self",(char *) "realized", NULL
18556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryNewPaletteEvent_SetPaletteRealized",kwnames
,&obj0
,&obj1
)) goto fail
;
18557 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryNewPaletteEvent
,
18558 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18559 arg2
= (bool) SWIG_AsBool(obj1
);
18560 if (PyErr_Occurred()) SWIG_fail
;
18562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18563 (arg1
)->SetPaletteRealized(arg2
);
18565 wxPyEndAllowThreads(__tstate
);
18566 if (PyErr_Occurred()) SWIG_fail
;
18568 Py_INCREF(Py_None
); resultobj
= Py_None
;
18575 static PyObject
*_wrap_QueryNewPaletteEvent_GetPaletteRealized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18576 PyObject
*resultobj
;
18577 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
18579 PyObject
* obj0
= 0 ;
18580 char *kwnames
[] = {
18581 (char *) "self", NULL
18584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryNewPaletteEvent_GetPaletteRealized",kwnames
,&obj0
)) goto fail
;
18585 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryNewPaletteEvent
,
18586 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18589 result
= (bool)((wxQueryNewPaletteEvent
const *)arg1
)->GetPaletteRealized();
18591 wxPyEndAllowThreads(__tstate
);
18592 if (PyErr_Occurred()) SWIG_fail
;
18595 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18603 static PyObject
* QueryNewPaletteEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18605 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18606 SWIG_TypeClientData(SWIGTYPE_p_wxQueryNewPaletteEvent
, obj
);
18608 return Py_BuildValue((char *)"");
18610 static PyObject
*_wrap_new_NavigationKeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18611 PyObject
*resultobj
;
18612 wxNavigationKeyEvent
*result
;
18613 char *kwnames
[] = {
18617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NavigationKeyEvent",kwnames
)) goto fail
;
18619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18620 result
= (wxNavigationKeyEvent
*)new wxNavigationKeyEvent();
18622 wxPyEndAllowThreads(__tstate
);
18623 if (PyErr_Occurred()) SWIG_fail
;
18625 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNavigationKeyEvent
, 1);
18632 static PyObject
*_wrap_NavigationKeyEvent_GetDirection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18633 PyObject
*resultobj
;
18634 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18636 PyObject
* obj0
= 0 ;
18637 char *kwnames
[] = {
18638 (char *) "self", NULL
18641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_GetDirection",kwnames
,&obj0
)) goto fail
;
18642 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18643 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18646 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->GetDirection();
18648 wxPyEndAllowThreads(__tstate
);
18649 if (PyErr_Occurred()) SWIG_fail
;
18652 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18660 static PyObject
*_wrap_NavigationKeyEvent_SetDirection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18661 PyObject
*resultobj
;
18662 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18664 PyObject
* obj0
= 0 ;
18665 PyObject
* obj1
= 0 ;
18666 char *kwnames
[] = {
18667 (char *) "self",(char *) "forward", NULL
18670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetDirection",kwnames
,&obj0
,&obj1
)) goto fail
;
18671 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18672 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18673 arg2
= (bool) SWIG_AsBool(obj1
);
18674 if (PyErr_Occurred()) SWIG_fail
;
18676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18677 (arg1
)->SetDirection(arg2
);
18679 wxPyEndAllowThreads(__tstate
);
18680 if (PyErr_Occurred()) SWIG_fail
;
18682 Py_INCREF(Py_None
); resultobj
= Py_None
;
18689 static PyObject
*_wrap_NavigationKeyEvent_IsWindowChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18690 PyObject
*resultobj
;
18691 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18693 PyObject
* obj0
= 0 ;
18694 char *kwnames
[] = {
18695 (char *) "self", NULL
18698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_IsWindowChange",kwnames
,&obj0
)) goto fail
;
18699 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18700 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18703 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->IsWindowChange();
18705 wxPyEndAllowThreads(__tstate
);
18706 if (PyErr_Occurred()) SWIG_fail
;
18709 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18717 static PyObject
*_wrap_NavigationKeyEvent_SetWindowChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18718 PyObject
*resultobj
;
18719 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18721 PyObject
* obj0
= 0 ;
18722 PyObject
* obj1
= 0 ;
18723 char *kwnames
[] = {
18724 (char *) "self",(char *) "ischange", NULL
18727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetWindowChange",kwnames
,&obj0
,&obj1
)) goto fail
;
18728 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18729 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18730 arg2
= (bool) SWIG_AsBool(obj1
);
18731 if (PyErr_Occurred()) SWIG_fail
;
18733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18734 (arg1
)->SetWindowChange(arg2
);
18736 wxPyEndAllowThreads(__tstate
);
18737 if (PyErr_Occurred()) SWIG_fail
;
18739 Py_INCREF(Py_None
); resultobj
= Py_None
;
18746 static PyObject
*_wrap_NavigationKeyEvent_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18747 PyObject
*resultobj
;
18748 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18750 PyObject
* obj0
= 0 ;
18751 PyObject
* obj1
= 0 ;
18752 char *kwnames
[] = {
18753 (char *) "self",(char *) "flags", NULL
18756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
18757 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18758 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18759 arg2
= (long) SWIG_AsLong(obj1
);
18760 if (PyErr_Occurred()) SWIG_fail
;
18762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18763 (arg1
)->SetFlags(arg2
);
18765 wxPyEndAllowThreads(__tstate
);
18766 if (PyErr_Occurred()) SWIG_fail
;
18768 Py_INCREF(Py_None
); resultobj
= Py_None
;
18775 static PyObject
*_wrap_NavigationKeyEvent_GetCurrentFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18776 PyObject
*resultobj
;
18777 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18779 PyObject
* obj0
= 0 ;
18780 char *kwnames
[] = {
18781 (char *) "self", NULL
18784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_GetCurrentFocus",kwnames
,&obj0
)) goto fail
;
18785 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18786 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18789 result
= (wxWindow
*)((wxNavigationKeyEvent
const *)arg1
)->GetCurrentFocus();
18791 wxPyEndAllowThreads(__tstate
);
18792 if (PyErr_Occurred()) SWIG_fail
;
18795 resultobj
= wxPyMake_wxObject(result
, 0);
18803 static PyObject
*_wrap_NavigationKeyEvent_SetCurrentFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18804 PyObject
*resultobj
;
18805 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18806 wxWindow
*arg2
= (wxWindow
*) 0 ;
18807 PyObject
* obj0
= 0 ;
18808 PyObject
* obj1
= 0 ;
18809 char *kwnames
[] = {
18810 (char *) "self",(char *) "win", NULL
18813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetCurrentFocus",kwnames
,&obj0
,&obj1
)) goto fail
;
18814 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18816 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
18817 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18820 (arg1
)->SetCurrentFocus(arg2
);
18822 wxPyEndAllowThreads(__tstate
);
18823 if (PyErr_Occurred()) SWIG_fail
;
18825 Py_INCREF(Py_None
); resultobj
= Py_None
;
18832 static PyObject
* NavigationKeyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18834 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18835 SWIG_TypeClientData(SWIGTYPE_p_wxNavigationKeyEvent
, obj
);
18837 return Py_BuildValue((char *)"");
18839 static PyObject
*_wrap_new_WindowCreateEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18840 PyObject
*resultobj
;
18841 wxWindow
*arg1
= (wxWindow
*) NULL
;
18842 wxWindowCreateEvent
*result
;
18843 PyObject
* obj0
= 0 ;
18844 char *kwnames
[] = {
18845 (char *) "win", NULL
18848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowCreateEvent",kwnames
,&obj0
)) goto fail
;
18850 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
18851 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18855 result
= (wxWindowCreateEvent
*)new wxWindowCreateEvent(arg1
);
18857 wxPyEndAllowThreads(__tstate
);
18858 if (PyErr_Occurred()) SWIG_fail
;
18860 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowCreateEvent
, 1);
18867 static PyObject
*_wrap_WindowCreateEvent_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18868 PyObject
*resultobj
;
18869 wxWindowCreateEvent
*arg1
= (wxWindowCreateEvent
*) 0 ;
18871 PyObject
* obj0
= 0 ;
18872 char *kwnames
[] = {
18873 (char *) "self", NULL
18876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WindowCreateEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
18877 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindowCreateEvent
,
18878 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18881 result
= (wxWindow
*)((wxWindowCreateEvent
const *)arg1
)->GetWindow();
18883 wxPyEndAllowThreads(__tstate
);
18884 if (PyErr_Occurred()) SWIG_fail
;
18887 resultobj
= wxPyMake_wxObject(result
, 0);
18895 static PyObject
* WindowCreateEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18897 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18898 SWIG_TypeClientData(SWIGTYPE_p_wxWindowCreateEvent
, obj
);
18900 return Py_BuildValue((char *)"");
18902 static PyObject
*_wrap_new_WindowDestroyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18903 PyObject
*resultobj
;
18904 wxWindow
*arg1
= (wxWindow
*) NULL
;
18905 wxWindowDestroyEvent
*result
;
18906 PyObject
* obj0
= 0 ;
18907 char *kwnames
[] = {
18908 (char *) "win", NULL
18911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDestroyEvent",kwnames
,&obj0
)) goto fail
;
18913 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
18914 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18918 result
= (wxWindowDestroyEvent
*)new wxWindowDestroyEvent(arg1
);
18920 wxPyEndAllowThreads(__tstate
);
18921 if (PyErr_Occurred()) SWIG_fail
;
18923 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDestroyEvent
, 1);
18930 static PyObject
*_wrap_WindowDestroyEvent_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18931 PyObject
*resultobj
;
18932 wxWindowDestroyEvent
*arg1
= (wxWindowDestroyEvent
*) 0 ;
18934 PyObject
* obj0
= 0 ;
18935 char *kwnames
[] = {
18936 (char *) "self", NULL
18939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WindowDestroyEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
18940 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindowDestroyEvent
,
18941 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18944 result
= (wxWindow
*)((wxWindowDestroyEvent
const *)arg1
)->GetWindow();
18946 wxPyEndAllowThreads(__tstate
);
18947 if (PyErr_Occurred()) SWIG_fail
;
18950 resultobj
= wxPyMake_wxObject(result
, 0);
18958 static PyObject
* WindowDestroyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18960 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18961 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDestroyEvent
, obj
);
18963 return Py_BuildValue((char *)"");
18965 static PyObject
*_wrap_new_ContextMenuEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18966 PyObject
*resultobj
;
18967 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
18968 int arg2
= (int) 0 ;
18969 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
18970 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
18971 wxContextMenuEvent
*result
;
18973 PyObject
* obj0
= 0 ;
18974 PyObject
* obj1
= 0 ;
18975 PyObject
* obj2
= 0 ;
18976 char *kwnames
[] = {
18977 (char *) "type",(char *) "winid",(char *) "pt", NULL
18980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ContextMenuEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18982 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
18983 if (PyErr_Occurred()) SWIG_fail
;
18986 arg2
= (int) SWIG_AsInt(obj1
);
18987 if (PyErr_Occurred()) SWIG_fail
;
18992 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18997 result
= (wxContextMenuEvent
*)new wxContextMenuEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
18999 wxPyEndAllowThreads(__tstate
);
19000 if (PyErr_Occurred()) SWIG_fail
;
19002 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextMenuEvent
, 1);
19009 static PyObject
*_wrap_ContextMenuEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19010 PyObject
*resultobj
;
19011 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
19013 PyObject
* obj0
= 0 ;
19014 char *kwnames
[] = {
19015 (char *) "self", NULL
19018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ContextMenuEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
19019 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextMenuEvent
,
19020 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19024 wxPoint
const &_result_ref
= ((wxContextMenuEvent
const *)arg1
)->GetPosition();
19025 result
= (wxPoint
*) &_result_ref
;
19028 wxPyEndAllowThreads(__tstate
);
19029 if (PyErr_Occurred()) SWIG_fail
;
19031 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
19038 static PyObject
*_wrap_ContextMenuEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19039 PyObject
*resultobj
;
19040 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
19041 wxPoint
*arg2
= 0 ;
19043 PyObject
* obj0
= 0 ;
19044 PyObject
* obj1
= 0 ;
19045 char *kwnames
[] = {
19046 (char *) "self",(char *) "pos", NULL
19049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ContextMenuEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
19050 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextMenuEvent
,
19051 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19054 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19058 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
19060 wxPyEndAllowThreads(__tstate
);
19061 if (PyErr_Occurred()) SWIG_fail
;
19063 Py_INCREF(Py_None
); resultobj
= Py_None
;
19070 static PyObject
* ContextMenuEvent_swigregister(PyObject
*self
, PyObject
*args
) {
19072 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19073 SWIG_TypeClientData(SWIGTYPE_p_wxContextMenuEvent
, obj
);
19075 return Py_BuildValue((char *)"");
19077 static PyObject
*_wrap_new_IdleEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19078 PyObject
*resultobj
;
19079 wxIdleEvent
*result
;
19080 char *kwnames
[] = {
19084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_IdleEvent",kwnames
)) goto fail
;
19086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19087 result
= (wxIdleEvent
*)new wxIdleEvent();
19089 wxPyEndAllowThreads(__tstate
);
19090 if (PyErr_Occurred()) SWIG_fail
;
19092 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIdleEvent
, 1);
19099 static PyObject
*_wrap_IdleEvent_RequestMore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19100 PyObject
*resultobj
;
19101 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
19102 bool arg2
= (bool) True
;
19103 PyObject
* obj0
= 0 ;
19104 PyObject
* obj1
= 0 ;
19105 char *kwnames
[] = {
19106 (char *) "self",(char *) "needMore", NULL
19109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:IdleEvent_RequestMore",kwnames
,&obj0
,&obj1
)) goto fail
;
19110 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIdleEvent
,
19111 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19113 arg2
= (bool) SWIG_AsBool(obj1
);
19114 if (PyErr_Occurred()) SWIG_fail
;
19117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19118 (arg1
)->RequestMore(arg2
);
19120 wxPyEndAllowThreads(__tstate
);
19121 if (PyErr_Occurred()) SWIG_fail
;
19123 Py_INCREF(Py_None
); resultobj
= Py_None
;
19130 static PyObject
*_wrap_IdleEvent_MoreRequested(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19131 PyObject
*resultobj
;
19132 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
19134 PyObject
* obj0
= 0 ;
19135 char *kwnames
[] = {
19136 (char *) "self", NULL
19139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_MoreRequested",kwnames
,&obj0
)) goto fail
;
19140 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIdleEvent
,
19141 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19144 result
= (bool)((wxIdleEvent
const *)arg1
)->MoreRequested();
19146 wxPyEndAllowThreads(__tstate
);
19147 if (PyErr_Occurred()) SWIG_fail
;
19150 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19158 static PyObject
*_wrap_IdleEvent_SetMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19159 PyObject
*resultobj
;
19161 PyObject
* obj0
= 0 ;
19162 char *kwnames
[] = {
19163 (char *) "mode", NULL
19166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_SetMode",kwnames
,&obj0
)) goto fail
;
19167 arg1
= (wxIdleMode
) SWIG_AsInt(obj0
);
19168 if (PyErr_Occurred()) SWIG_fail
;
19170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19171 wxIdleEvent::SetMode((wxIdleMode
)arg1
);
19173 wxPyEndAllowThreads(__tstate
);
19174 if (PyErr_Occurred()) SWIG_fail
;
19176 Py_INCREF(Py_None
); resultobj
= Py_None
;
19183 static PyObject
*_wrap_IdleEvent_GetMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19184 PyObject
*resultobj
;
19186 char *kwnames
[] = {
19190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":IdleEvent_GetMode",kwnames
)) goto fail
;
19192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19193 result
= (int)wxIdleEvent::GetMode();
19195 wxPyEndAllowThreads(__tstate
);
19196 if (PyErr_Occurred()) SWIG_fail
;
19198 resultobj
= SWIG_FromInt((int)result
);
19205 static PyObject
*_wrap_IdleEvent_CanSend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19206 PyObject
*resultobj
;
19207 wxWindow
*arg1
= (wxWindow
*) 0 ;
19209 PyObject
* obj0
= 0 ;
19210 char *kwnames
[] = {
19211 (char *) "win", NULL
19214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_CanSend",kwnames
,&obj0
)) goto fail
;
19215 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
19216 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19219 result
= (bool)wxIdleEvent::CanSend(arg1
);
19221 wxPyEndAllowThreads(__tstate
);
19222 if (PyErr_Occurred()) SWIG_fail
;
19225 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19233 static PyObject
* IdleEvent_swigregister(PyObject
*self
, PyObject
*args
) {
19235 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19236 SWIG_TypeClientData(SWIGTYPE_p_wxIdleEvent
, obj
);
19238 return Py_BuildValue((char *)"");
19240 static PyObject
*_wrap_new_PyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19241 PyObject
*resultobj
;
19242 int arg1
= (int) 0 ;
19243 wxEventType arg2
= (wxEventType
) wxEVT_NULL
;
19245 PyObject
* obj0
= 0 ;
19246 PyObject
* obj1
= 0 ;
19247 char *kwnames
[] = {
19248 (char *) "winid",(char *) "commandType", NULL
19251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19253 arg1
= (int) SWIG_AsInt(obj0
);
19254 if (PyErr_Occurred()) SWIG_fail
;
19257 arg2
= (wxEventType
) SWIG_AsInt(obj1
);
19258 if (PyErr_Occurred()) SWIG_fail
;
19261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19262 result
= (wxPyEvent
*)new wxPyEvent(arg1
,arg2
);
19264 wxPyEndAllowThreads(__tstate
);
19265 if (PyErr_Occurred()) SWIG_fail
;
19267 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyEvent
, 1);
19274 static PyObject
*_wrap_delete_PyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19275 PyObject
*resultobj
;
19276 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
19277 PyObject
* obj0
= 0 ;
19278 char *kwnames
[] = {
19279 (char *) "self", NULL
19282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyEvent",kwnames
,&obj0
)) goto fail
;
19283 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEvent
,
19284 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19289 wxPyEndAllowThreads(__tstate
);
19290 if (PyErr_Occurred()) SWIG_fail
;
19292 Py_INCREF(Py_None
); resultobj
= Py_None
;
19299 static PyObject
*_wrap_PyEvent_SetSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19300 PyObject
*resultobj
;
19301 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
19302 PyObject
*arg2
= (PyObject
*) 0 ;
19303 PyObject
* obj0
= 0 ;
19304 PyObject
* obj1
= 0 ;
19305 char *kwnames
[] = {
19306 (char *) "self",(char *) "self", NULL
19309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEvent_SetSelf",kwnames
,&obj0
,&obj1
)) goto fail
;
19310 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEvent
,
19311 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19315 (arg1
)->SetSelf(arg2
);
19317 wxPyEndAllowThreads(__tstate
);
19318 if (PyErr_Occurred()) SWIG_fail
;
19320 Py_INCREF(Py_None
); resultobj
= Py_None
;
19327 static PyObject
*_wrap_PyEvent_GetSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19328 PyObject
*resultobj
;
19329 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
19331 PyObject
* obj0
= 0 ;
19332 char *kwnames
[] = {
19333 (char *) "self", NULL
19336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyEvent_GetSelf",kwnames
,&obj0
)) goto fail
;
19337 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEvent
,
19338 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19341 result
= (PyObject
*)(arg1
)->GetSelf();
19343 wxPyEndAllowThreads(__tstate
);
19344 if (PyErr_Occurred()) SWIG_fail
;
19346 resultobj
= result
;
19353 static PyObject
* PyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
19355 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19356 SWIG_TypeClientData(SWIGTYPE_p_wxPyEvent
, obj
);
19358 return Py_BuildValue((char *)"");
19360 static PyObject
*_wrap_new_PyCommandEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19361 PyObject
*resultobj
;
19362 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19363 int arg2
= (int) 0 ;
19364 wxPyCommandEvent
*result
;
19365 PyObject
* obj0
= 0 ;
19366 PyObject
* obj1
= 0 ;
19367 char *kwnames
[] = {
19368 (char *) "commandType",(char *) "id", NULL
19371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyCommandEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19373 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
19374 if (PyErr_Occurred()) SWIG_fail
;
19377 arg2
= (int) SWIG_AsInt(obj1
);
19378 if (PyErr_Occurred()) SWIG_fail
;
19381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19382 result
= (wxPyCommandEvent
*)new wxPyCommandEvent(arg1
,arg2
);
19384 wxPyEndAllowThreads(__tstate
);
19385 if (PyErr_Occurred()) SWIG_fail
;
19387 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyCommandEvent
, 1);
19394 static PyObject
*_wrap_delete_PyCommandEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19395 PyObject
*resultobj
;
19396 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
19397 PyObject
* obj0
= 0 ;
19398 char *kwnames
[] = {
19399 (char *) "self", NULL
19402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyCommandEvent",kwnames
,&obj0
)) goto fail
;
19403 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCommandEvent
,
19404 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19409 wxPyEndAllowThreads(__tstate
);
19410 if (PyErr_Occurred()) SWIG_fail
;
19412 Py_INCREF(Py_None
); resultobj
= Py_None
;
19419 static PyObject
*_wrap_PyCommandEvent_SetSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19420 PyObject
*resultobj
;
19421 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
19422 PyObject
*arg2
= (PyObject
*) 0 ;
19423 PyObject
* obj0
= 0 ;
19424 PyObject
* obj1
= 0 ;
19425 char *kwnames
[] = {
19426 (char *) "self",(char *) "self", NULL
19429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCommandEvent_SetSelf",kwnames
,&obj0
,&obj1
)) goto fail
;
19430 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCommandEvent
,
19431 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19435 (arg1
)->SetSelf(arg2
);
19437 wxPyEndAllowThreads(__tstate
);
19438 if (PyErr_Occurred()) SWIG_fail
;
19440 Py_INCREF(Py_None
); resultobj
= Py_None
;
19447 static PyObject
*_wrap_PyCommandEvent_GetSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19448 PyObject
*resultobj
;
19449 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
19451 PyObject
* obj0
= 0 ;
19452 char *kwnames
[] = {
19453 (char *) "self", NULL
19456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyCommandEvent_GetSelf",kwnames
,&obj0
)) goto fail
;
19457 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCommandEvent
,
19458 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19461 result
= (PyObject
*)(arg1
)->GetSelf();
19463 wxPyEndAllowThreads(__tstate
);
19464 if (PyErr_Occurred()) SWIG_fail
;
19466 resultobj
= result
;
19473 static PyObject
* PyCommandEvent_swigregister(PyObject
*self
, PyObject
*args
) {
19475 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19476 SWIG_TypeClientData(SWIGTYPE_p_wxPyCommandEvent
, obj
);
19478 return Py_BuildValue((char *)"");
19480 static PyObject
*_wrap_new_PyApp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19481 PyObject
*resultobj
;
19483 char *kwnames
[] = {
19487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyApp",kwnames
)) goto fail
;
19489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19490 result
= (wxPyApp
*)new_wxPyApp();
19492 wxPyEndAllowThreads(__tstate
);
19493 if (PyErr_Occurred()) SWIG_fail
;
19496 resultobj
= wxPyMake_wxObject(result
, 1);
19504 static PyObject
*_wrap_delete_PyApp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19505 PyObject
*resultobj
;
19506 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19507 PyObject
* obj0
= 0 ;
19508 char *kwnames
[] = {
19509 (char *) "self", NULL
19512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyApp",kwnames
,&obj0
)) goto fail
;
19513 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19514 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19519 wxPyEndAllowThreads(__tstate
);
19520 if (PyErr_Occurred()) SWIG_fail
;
19522 Py_INCREF(Py_None
); resultobj
= Py_None
;
19529 static PyObject
*_wrap_PyApp__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19530 PyObject
*resultobj
;
19531 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19532 PyObject
*arg2
= (PyObject
*) 0 ;
19533 PyObject
*arg3
= (PyObject
*) 0 ;
19534 PyObject
* obj0
= 0 ;
19535 PyObject
* obj1
= 0 ;
19536 PyObject
* obj2
= 0 ;
19537 char *kwnames
[] = {
19538 (char *) "self",(char *) "self",(char *) "_class", NULL
19541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyApp__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19542 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19543 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19548 (arg1
)->_setCallbackInfo(arg2
,arg3
);
19550 wxPyEndAllowThreads(__tstate
);
19551 if (PyErr_Occurred()) SWIG_fail
;
19553 Py_INCREF(Py_None
); resultobj
= Py_None
;
19560 static PyObject
*_wrap_PyApp_GetAppName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19561 PyObject
*resultobj
;
19562 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19564 PyObject
* obj0
= 0 ;
19565 char *kwnames
[] = {
19566 (char *) "self", NULL
19569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetAppName",kwnames
,&obj0
)) goto fail
;
19570 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19571 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19574 result
= ((wxPyApp
const *)arg1
)->GetAppName();
19576 wxPyEndAllowThreads(__tstate
);
19577 if (PyErr_Occurred()) SWIG_fail
;
19581 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19583 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19592 static PyObject
*_wrap_PyApp_SetAppName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19593 PyObject
*resultobj
;
19594 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19595 wxString
*arg2
= 0 ;
19596 bool temp2
= False
;
19597 PyObject
* obj0
= 0 ;
19598 PyObject
* obj1
= 0 ;
19599 char *kwnames
[] = {
19600 (char *) "self",(char *) "name", NULL
19603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetAppName",kwnames
,&obj0
,&obj1
)) goto fail
;
19604 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19605 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19607 arg2
= wxString_in_helper(obj1
);
19608 if (arg2
== NULL
) SWIG_fail
;
19612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19613 (arg1
)->SetAppName((wxString
const &)*arg2
);
19615 wxPyEndAllowThreads(__tstate
);
19616 if (PyErr_Occurred()) SWIG_fail
;
19618 Py_INCREF(Py_None
); resultobj
= Py_None
;
19633 static PyObject
*_wrap_PyApp_GetClassName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19634 PyObject
*resultobj
;
19635 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19637 PyObject
* obj0
= 0 ;
19638 char *kwnames
[] = {
19639 (char *) "self", NULL
19642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetClassName",kwnames
,&obj0
)) goto fail
;
19643 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19644 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19647 result
= ((wxPyApp
const *)arg1
)->GetClassName();
19649 wxPyEndAllowThreads(__tstate
);
19650 if (PyErr_Occurred()) SWIG_fail
;
19654 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19656 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19665 static PyObject
*_wrap_PyApp_SetClassName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19666 PyObject
*resultobj
;
19667 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19668 wxString
*arg2
= 0 ;
19669 bool temp2
= False
;
19670 PyObject
* obj0
= 0 ;
19671 PyObject
* obj1
= 0 ;
19672 char *kwnames
[] = {
19673 (char *) "self",(char *) "name", NULL
19676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetClassName",kwnames
,&obj0
,&obj1
)) goto fail
;
19677 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19678 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19680 arg2
= wxString_in_helper(obj1
);
19681 if (arg2
== NULL
) SWIG_fail
;
19685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19686 (arg1
)->SetClassName((wxString
const &)*arg2
);
19688 wxPyEndAllowThreads(__tstate
);
19689 if (PyErr_Occurred()) SWIG_fail
;
19691 Py_INCREF(Py_None
); resultobj
= Py_None
;
19706 static PyObject
*_wrap_PyApp_GetVendorName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19707 PyObject
*resultobj
;
19708 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19710 PyObject
* obj0
= 0 ;
19711 char *kwnames
[] = {
19712 (char *) "self", NULL
19715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetVendorName",kwnames
,&obj0
)) goto fail
;
19716 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19717 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19721 wxString
const &_result_ref
= ((wxPyApp
const *)arg1
)->GetVendorName();
19722 result
= (wxString
*) &_result_ref
;
19725 wxPyEndAllowThreads(__tstate
);
19726 if (PyErr_Occurred()) SWIG_fail
;
19730 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19732 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19741 static PyObject
*_wrap_PyApp_SetVendorName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19742 PyObject
*resultobj
;
19743 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19744 wxString
*arg2
= 0 ;
19745 bool temp2
= False
;
19746 PyObject
* obj0
= 0 ;
19747 PyObject
* obj1
= 0 ;
19748 char *kwnames
[] = {
19749 (char *) "self",(char *) "name", NULL
19752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetVendorName",kwnames
,&obj0
,&obj1
)) goto fail
;
19753 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19754 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19756 arg2
= wxString_in_helper(obj1
);
19757 if (arg2
== NULL
) SWIG_fail
;
19761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19762 (arg1
)->SetVendorName((wxString
const &)*arg2
);
19764 wxPyEndAllowThreads(__tstate
);
19765 if (PyErr_Occurred()) SWIG_fail
;
19767 Py_INCREF(Py_None
); resultobj
= Py_None
;
19782 static PyObject
*_wrap_PyApp_GetTraits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19783 PyObject
*resultobj
;
19784 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19785 wxAppTraits
*result
;
19786 PyObject
* obj0
= 0 ;
19787 char *kwnames
[] = {
19788 (char *) "self", NULL
19791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetTraits",kwnames
,&obj0
)) goto fail
;
19792 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19793 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19796 result
= (wxAppTraits
*)(arg1
)->GetTraits();
19798 wxPyEndAllowThreads(__tstate
);
19799 if (PyErr_Occurred()) SWIG_fail
;
19801 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAppTraits
, 0);
19808 static PyObject
*_wrap_PyApp_ProcessPendingEvents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19809 PyObject
*resultobj
;
19810 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19811 PyObject
* obj0
= 0 ;
19812 char *kwnames
[] = {
19813 (char *) "self", NULL
19816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ProcessPendingEvents",kwnames
,&obj0
)) goto fail
;
19817 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19818 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19821 (arg1
)->ProcessPendingEvents();
19823 wxPyEndAllowThreads(__tstate
);
19824 if (PyErr_Occurred()) SWIG_fail
;
19826 Py_INCREF(Py_None
); resultobj
= Py_None
;
19833 static PyObject
*_wrap_PyApp_Yield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19834 PyObject
*resultobj
;
19835 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19836 bool arg2
= (bool) False
;
19838 PyObject
* obj0
= 0 ;
19839 PyObject
* obj1
= 0 ;
19840 char *kwnames
[] = {
19841 (char *) "self",(char *) "onlyIfNeeded", NULL
19844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyApp_Yield",kwnames
,&obj0
,&obj1
)) goto fail
;
19845 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19846 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19848 arg2
= (bool) SWIG_AsBool(obj1
);
19849 if (PyErr_Occurred()) SWIG_fail
;
19852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19853 result
= (bool)(arg1
)->Yield(arg2
);
19855 wxPyEndAllowThreads(__tstate
);
19856 if (PyErr_Occurred()) SWIG_fail
;
19859 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19867 static PyObject
*_wrap_PyApp_WakeUpIdle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19868 PyObject
*resultobj
;
19869 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19870 PyObject
* obj0
= 0 ;
19871 char *kwnames
[] = {
19872 (char *) "self", NULL
19875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_WakeUpIdle",kwnames
,&obj0
)) goto fail
;
19876 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19877 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19880 (arg1
)->WakeUpIdle();
19882 wxPyEndAllowThreads(__tstate
);
19883 if (PyErr_Occurred()) SWIG_fail
;
19885 Py_INCREF(Py_None
); resultobj
= Py_None
;
19892 static PyObject
*_wrap_PyApp_MainLoop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19893 PyObject
*resultobj
;
19894 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19896 PyObject
* obj0
= 0 ;
19897 char *kwnames
[] = {
19898 (char *) "self", NULL
19901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_MainLoop",kwnames
,&obj0
)) goto fail
;
19902 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19903 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19906 result
= (int)(arg1
)->MainLoop();
19908 wxPyEndAllowThreads(__tstate
);
19909 if (PyErr_Occurred()) SWIG_fail
;
19911 resultobj
= SWIG_FromInt((int)result
);
19918 static PyObject
*_wrap_PyApp_Exit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19919 PyObject
*resultobj
;
19920 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19921 PyObject
* obj0
= 0 ;
19922 char *kwnames
[] = {
19923 (char *) "self", NULL
19926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Exit",kwnames
,&obj0
)) goto fail
;
19927 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19928 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19933 wxPyEndAllowThreads(__tstate
);
19934 if (PyErr_Occurred()) SWIG_fail
;
19936 Py_INCREF(Py_None
); resultobj
= Py_None
;
19943 static PyObject
*_wrap_PyApp_ExitMainLoop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19944 PyObject
*resultobj
;
19945 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19946 PyObject
* obj0
= 0 ;
19947 char *kwnames
[] = {
19948 (char *) "self", NULL
19951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ExitMainLoop",kwnames
,&obj0
)) goto fail
;
19952 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19953 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19956 (arg1
)->ExitMainLoop();
19958 wxPyEndAllowThreads(__tstate
);
19959 if (PyErr_Occurred()) SWIG_fail
;
19961 Py_INCREF(Py_None
); resultobj
= Py_None
;
19968 static PyObject
*_wrap_PyApp_Pending(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19969 PyObject
*resultobj
;
19970 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19972 PyObject
* obj0
= 0 ;
19973 char *kwnames
[] = {
19974 (char *) "self", NULL
19977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Pending",kwnames
,&obj0
)) goto fail
;
19978 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19979 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19982 result
= (bool)(arg1
)->Pending();
19984 wxPyEndAllowThreads(__tstate
);
19985 if (PyErr_Occurred()) SWIG_fail
;
19988 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19996 static PyObject
*_wrap_PyApp_Dispatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19997 PyObject
*resultobj
;
19998 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20000 PyObject
* obj0
= 0 ;
20001 char *kwnames
[] = {
20002 (char *) "self", NULL
20005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Dispatch",kwnames
,&obj0
)) goto fail
;
20006 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20007 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20010 result
= (bool)(arg1
)->Dispatch();
20012 wxPyEndAllowThreads(__tstate
);
20013 if (PyErr_Occurred()) SWIG_fail
;
20016 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20024 static PyObject
*_wrap_PyApp_ProcessIdle(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_ProcessIdle",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
= (bool)(arg1
)->ProcessIdle();
20040 wxPyEndAllowThreads(__tstate
);
20041 if (PyErr_Occurred()) SWIG_fail
;
20044 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20052 static PyObject
*_wrap_PyApp_SendIdleEvents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20053 PyObject
*resultobj
;
20054 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20055 wxWindow
*arg2
= (wxWindow
*) 0 ;
20056 wxIdleEvent
*arg3
= 0 ;
20058 PyObject
* obj0
= 0 ;
20059 PyObject
* obj1
= 0 ;
20060 PyObject
* obj2
= 0 ;
20061 char *kwnames
[] = {
20062 (char *) "self",(char *) "win",(char *) "event", NULL
20065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyApp_SendIdleEvents",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20066 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20067 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20068 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
20069 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20070 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxIdleEvent
,
20071 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20073 if (arg3
== NULL
) {
20074 PyErr_SetString(PyExc_TypeError
,"null reference");
20078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20079 result
= (bool)(arg1
)->SendIdleEvents(arg2
,*arg3
);
20081 wxPyEndAllowThreads(__tstate
);
20082 if (PyErr_Occurred()) SWIG_fail
;
20085 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20093 static PyObject
*_wrap_PyApp_IsActive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20094 PyObject
*resultobj
;
20095 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20097 PyObject
* obj0
= 0 ;
20098 char *kwnames
[] = {
20099 (char *) "self", NULL
20102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_IsActive",kwnames
,&obj0
)) goto fail
;
20103 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20104 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20107 result
= (bool)((wxPyApp
const *)arg1
)->IsActive();
20109 wxPyEndAllowThreads(__tstate
);
20110 if (PyErr_Occurred()) SWIG_fail
;
20113 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20121 static PyObject
*_wrap_PyApp_SetTopWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20122 PyObject
*resultobj
;
20123 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20124 wxWindow
*arg2
= (wxWindow
*) 0 ;
20125 PyObject
* obj0
= 0 ;
20126 PyObject
* obj1
= 0 ;
20127 char *kwnames
[] = {
20128 (char *) "self",(char *) "win", NULL
20131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetTopWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
20132 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20133 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20134 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
20135 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20138 (arg1
)->SetTopWindow(arg2
);
20140 wxPyEndAllowThreads(__tstate
);
20141 if (PyErr_Occurred()) SWIG_fail
;
20143 Py_INCREF(Py_None
); resultobj
= Py_None
;
20150 static PyObject
*_wrap_PyApp_GetTopWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20151 PyObject
*resultobj
;
20152 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20154 PyObject
* obj0
= 0 ;
20155 char *kwnames
[] = {
20156 (char *) "self", NULL
20159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetTopWindow",kwnames
,&obj0
)) goto fail
;
20160 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20161 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20164 result
= (wxWindow
*)((wxPyApp
const *)arg1
)->GetTopWindow();
20166 wxPyEndAllowThreads(__tstate
);
20167 if (PyErr_Occurred()) SWIG_fail
;
20170 resultobj
= wxPyMake_wxObject(result
, 0);
20178 static PyObject
*_wrap_PyApp_SetExitOnFrameDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20179 PyObject
*resultobj
;
20180 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20182 PyObject
* obj0
= 0 ;
20183 PyObject
* obj1
= 0 ;
20184 char *kwnames
[] = {
20185 (char *) "self",(char *) "flag", NULL
20188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetExitOnFrameDelete",kwnames
,&obj0
,&obj1
)) goto fail
;
20189 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20190 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20191 arg2
= (bool) SWIG_AsBool(obj1
);
20192 if (PyErr_Occurred()) SWIG_fail
;
20194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20195 (arg1
)->SetExitOnFrameDelete(arg2
);
20197 wxPyEndAllowThreads(__tstate
);
20198 if (PyErr_Occurred()) SWIG_fail
;
20200 Py_INCREF(Py_None
); resultobj
= Py_None
;
20207 static PyObject
*_wrap_PyApp_GetExitOnFrameDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20208 PyObject
*resultobj
;
20209 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20211 PyObject
* obj0
= 0 ;
20212 char *kwnames
[] = {
20213 (char *) "self", NULL
20216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetExitOnFrameDelete",kwnames
,&obj0
)) goto fail
;
20217 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20218 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20221 result
= (bool)((wxPyApp
const *)arg1
)->GetExitOnFrameDelete();
20223 wxPyEndAllowThreads(__tstate
);
20224 if (PyErr_Occurred()) SWIG_fail
;
20227 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20235 static PyObject
*_wrap_PyApp_SetUseBestVisual(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20236 PyObject
*resultobj
;
20237 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20239 PyObject
* obj0
= 0 ;
20240 PyObject
* obj1
= 0 ;
20241 char *kwnames
[] = {
20242 (char *) "self",(char *) "flag", NULL
20245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetUseBestVisual",kwnames
,&obj0
,&obj1
)) goto fail
;
20246 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20247 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20248 arg2
= (bool) SWIG_AsBool(obj1
);
20249 if (PyErr_Occurred()) SWIG_fail
;
20251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20252 (arg1
)->SetUseBestVisual(arg2
);
20254 wxPyEndAllowThreads(__tstate
);
20255 if (PyErr_Occurred()) SWIG_fail
;
20257 Py_INCREF(Py_None
); resultobj
= Py_None
;
20264 static PyObject
*_wrap_PyApp_GetUseBestVisual(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20265 PyObject
*resultobj
;
20266 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20268 PyObject
* obj0
= 0 ;
20269 char *kwnames
[] = {
20270 (char *) "self", NULL
20273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetUseBestVisual",kwnames
,&obj0
)) goto fail
;
20274 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20275 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20278 result
= (bool)((wxPyApp
const *)arg1
)->GetUseBestVisual();
20280 wxPyEndAllowThreads(__tstate
);
20281 if (PyErr_Occurred()) SWIG_fail
;
20284 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20292 static PyObject
*_wrap_PyApp_SetPrintMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20293 PyObject
*resultobj
;
20294 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20296 PyObject
* obj0
= 0 ;
20297 PyObject
* obj1
= 0 ;
20298 char *kwnames
[] = {
20299 (char *) "self",(char *) "mode", NULL
20302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetPrintMode",kwnames
,&obj0
,&obj1
)) goto fail
;
20303 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20304 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20305 arg2
= (int) SWIG_AsInt(obj1
);
20306 if (PyErr_Occurred()) SWIG_fail
;
20308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20309 (arg1
)->SetPrintMode(arg2
);
20311 wxPyEndAllowThreads(__tstate
);
20312 if (PyErr_Occurred()) SWIG_fail
;
20314 Py_INCREF(Py_None
); resultobj
= Py_None
;
20321 static PyObject
*_wrap_PyApp_GetPrintMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20322 PyObject
*resultobj
;
20323 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20325 PyObject
* obj0
= 0 ;
20326 char *kwnames
[] = {
20327 (char *) "self", NULL
20330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetPrintMode",kwnames
,&obj0
)) goto fail
;
20331 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20332 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20335 result
= (int)((wxPyApp
const *)arg1
)->GetPrintMode();
20337 wxPyEndAllowThreads(__tstate
);
20338 if (PyErr_Occurred()) SWIG_fail
;
20340 resultobj
= SWIG_FromInt((int)result
);
20347 static PyObject
*_wrap_PyApp_SetAssertMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20348 PyObject
*resultobj
;
20349 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20351 PyObject
* obj0
= 0 ;
20352 PyObject
* obj1
= 0 ;
20353 char *kwnames
[] = {
20354 (char *) "self",(char *) "mode", NULL
20357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetAssertMode",kwnames
,&obj0
,&obj1
)) goto fail
;
20358 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20359 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20360 arg2
= (int) SWIG_AsInt(obj1
);
20361 if (PyErr_Occurred()) SWIG_fail
;
20363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20364 (arg1
)->SetAssertMode(arg2
);
20366 wxPyEndAllowThreads(__tstate
);
20367 if (PyErr_Occurred()) SWIG_fail
;
20369 Py_INCREF(Py_None
); resultobj
= Py_None
;
20376 static PyObject
*_wrap_PyApp_GetAssertMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20377 PyObject
*resultobj
;
20378 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20380 PyObject
* obj0
= 0 ;
20381 char *kwnames
[] = {
20382 (char *) "self", NULL
20385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetAssertMode",kwnames
,&obj0
)) goto fail
;
20386 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20387 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20390 result
= (int)(arg1
)->GetAssertMode();
20392 wxPyEndAllowThreads(__tstate
);
20393 if (PyErr_Occurred()) SWIG_fail
;
20395 resultobj
= SWIG_FromInt((int)result
);
20402 static PyObject
*_wrap_PyApp_GetMacSupportPCMenuShortcuts(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20403 PyObject
*resultobj
;
20405 char *kwnames
[] = {
20409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacSupportPCMenuShortcuts",kwnames
)) goto fail
;
20411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20412 result
= (bool)wxPyApp::GetMacSupportPCMenuShortcuts();
20414 wxPyEndAllowThreads(__tstate
);
20415 if (PyErr_Occurred()) SWIG_fail
;
20418 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20426 static PyObject
*_wrap_PyApp_GetMacAboutMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20427 PyObject
*resultobj
;
20429 char *kwnames
[] = {
20433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacAboutMenuItemId",kwnames
)) goto fail
;
20435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20436 result
= (long)wxPyApp::GetMacAboutMenuItemId();
20438 wxPyEndAllowThreads(__tstate
);
20439 if (PyErr_Occurred()) SWIG_fail
;
20441 resultobj
= SWIG_FromLong((long)result
);
20448 static PyObject
*_wrap_PyApp_GetMacPreferencesMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20449 PyObject
*resultobj
;
20451 char *kwnames
[] = {
20455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacPreferencesMenuItemId",kwnames
)) goto fail
;
20457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20458 result
= (long)wxPyApp::GetMacPreferencesMenuItemId();
20460 wxPyEndAllowThreads(__tstate
);
20461 if (PyErr_Occurred()) SWIG_fail
;
20463 resultobj
= SWIG_FromLong((long)result
);
20470 static PyObject
*_wrap_PyApp_GetMacExitMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20471 PyObject
*resultobj
;
20473 char *kwnames
[] = {
20477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacExitMenuItemId",kwnames
)) goto fail
;
20479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20480 result
= (long)wxPyApp::GetMacExitMenuItemId();
20482 wxPyEndAllowThreads(__tstate
);
20483 if (PyErr_Occurred()) SWIG_fail
;
20485 resultobj
= SWIG_FromLong((long)result
);
20492 static PyObject
*_wrap_PyApp_GetMacHelpMenuTitleName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20493 PyObject
*resultobj
;
20495 char *kwnames
[] = {
20499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacHelpMenuTitleName",kwnames
)) goto fail
;
20501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20502 result
= wxPyApp::GetMacHelpMenuTitleName();
20504 wxPyEndAllowThreads(__tstate
);
20505 if (PyErr_Occurred()) SWIG_fail
;
20509 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20511 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20520 static PyObject
*_wrap_PyApp_SetMacSupportPCMenuShortcuts(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20521 PyObject
*resultobj
;
20523 PyObject
* obj0
= 0 ;
20524 char *kwnames
[] = {
20525 (char *) "val", NULL
20528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacSupportPCMenuShortcuts",kwnames
,&obj0
)) goto fail
;
20529 arg1
= (bool) SWIG_AsBool(obj0
);
20530 if (PyErr_Occurred()) SWIG_fail
;
20532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20533 wxPyApp::SetMacSupportPCMenuShortcuts(arg1
);
20535 wxPyEndAllowThreads(__tstate
);
20536 if (PyErr_Occurred()) SWIG_fail
;
20538 Py_INCREF(Py_None
); resultobj
= Py_None
;
20545 static PyObject
*_wrap_PyApp_SetMacAboutMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20546 PyObject
*resultobj
;
20548 PyObject
* obj0
= 0 ;
20549 char *kwnames
[] = {
20550 (char *) "val", NULL
20553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacAboutMenuItemId",kwnames
,&obj0
)) goto fail
;
20554 arg1
= (long) SWIG_AsLong(obj0
);
20555 if (PyErr_Occurred()) SWIG_fail
;
20557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20558 wxPyApp::SetMacAboutMenuItemId(arg1
);
20560 wxPyEndAllowThreads(__tstate
);
20561 if (PyErr_Occurred()) SWIG_fail
;
20563 Py_INCREF(Py_None
); resultobj
= Py_None
;
20570 static PyObject
*_wrap_PyApp_SetMacPreferencesMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20571 PyObject
*resultobj
;
20573 PyObject
* obj0
= 0 ;
20574 char *kwnames
[] = {
20575 (char *) "val", NULL
20578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacPreferencesMenuItemId",kwnames
,&obj0
)) goto fail
;
20579 arg1
= (long) SWIG_AsLong(obj0
);
20580 if (PyErr_Occurred()) SWIG_fail
;
20582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20583 wxPyApp::SetMacPreferencesMenuItemId(arg1
);
20585 wxPyEndAllowThreads(__tstate
);
20586 if (PyErr_Occurred()) SWIG_fail
;
20588 Py_INCREF(Py_None
); resultobj
= Py_None
;
20595 static PyObject
*_wrap_PyApp_SetMacExitMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20596 PyObject
*resultobj
;
20598 PyObject
* obj0
= 0 ;
20599 char *kwnames
[] = {
20600 (char *) "val", NULL
20603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacExitMenuItemId",kwnames
,&obj0
)) goto fail
;
20604 arg1
= (long) SWIG_AsLong(obj0
);
20605 if (PyErr_Occurred()) SWIG_fail
;
20607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20608 wxPyApp::SetMacExitMenuItemId(arg1
);
20610 wxPyEndAllowThreads(__tstate
);
20611 if (PyErr_Occurred()) SWIG_fail
;
20613 Py_INCREF(Py_None
); resultobj
= Py_None
;
20620 static PyObject
*_wrap_PyApp_SetMacHelpMenuTitleName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20621 PyObject
*resultobj
;
20622 wxString
*arg1
= 0 ;
20623 bool temp1
= False
;
20624 PyObject
* obj0
= 0 ;
20625 char *kwnames
[] = {
20626 (char *) "val", NULL
20629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacHelpMenuTitleName",kwnames
,&obj0
)) goto fail
;
20631 arg1
= wxString_in_helper(obj0
);
20632 if (arg1
== NULL
) SWIG_fail
;
20636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20637 wxPyApp::SetMacHelpMenuTitleName((wxString
const &)*arg1
);
20639 wxPyEndAllowThreads(__tstate
);
20640 if (PyErr_Occurred()) SWIG_fail
;
20642 Py_INCREF(Py_None
); resultobj
= Py_None
;
20657 static PyObject
*_wrap_PyApp__BootstrapApp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20658 PyObject
*resultobj
;
20659 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20660 PyObject
* obj0
= 0 ;
20661 char *kwnames
[] = {
20662 (char *) "self", NULL
20665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp__BootstrapApp",kwnames
,&obj0
)) goto fail
;
20666 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20667 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20670 (arg1
)->_BootstrapApp();
20672 wxPyEndAllowThreads(__tstate
);
20673 if (PyErr_Occurred()) SWIG_fail
;
20675 Py_INCREF(Py_None
); resultobj
= Py_None
;
20682 static PyObject
*_wrap_PyApp_GetComCtl32Version(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20683 PyObject
*resultobj
;
20685 char *kwnames
[] = {
20689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetComCtl32Version",kwnames
)) goto fail
;
20691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20692 result
= (int)PyApp_GetComCtl32Version();
20694 wxPyEndAllowThreads(__tstate
);
20695 if (PyErr_Occurred()) SWIG_fail
;
20697 resultobj
= SWIG_FromInt((int)result
);
20704 static PyObject
* PyApp_swigregister(PyObject
*self
, PyObject
*args
) {
20706 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20707 SWIG_TypeClientData(SWIGTYPE_p_wxPyApp
, obj
);
20709 return Py_BuildValue((char *)"");
20711 static PyObject
*_wrap_Exit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20712 PyObject
*resultobj
;
20713 char *kwnames
[] = {
20717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Exit",kwnames
)) goto fail
;
20719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20722 wxPyEndAllowThreads(__tstate
);
20723 if (PyErr_Occurred()) SWIG_fail
;
20725 Py_INCREF(Py_None
); resultobj
= Py_None
;
20732 static PyObject
*_wrap_Yield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20733 PyObject
*resultobj
;
20735 char *kwnames
[] = {
20739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Yield",kwnames
)) goto fail
;
20741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20742 result
= (bool)wxYield();
20744 wxPyEndAllowThreads(__tstate
);
20745 if (PyErr_Occurred()) SWIG_fail
;
20748 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20756 static PyObject
*_wrap_YieldIfNeeded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20757 PyObject
*resultobj
;
20759 char *kwnames
[] = {
20763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":YieldIfNeeded",kwnames
)) goto fail
;
20765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20766 result
= (bool)wxYieldIfNeeded();
20768 wxPyEndAllowThreads(__tstate
);
20769 if (PyErr_Occurred()) SWIG_fail
;
20772 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20780 static PyObject
*_wrap_SafeYield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20781 PyObject
*resultobj
;
20782 wxWindow
*arg1
= (wxWindow
*) NULL
;
20783 bool arg2
= (bool) False
;
20785 PyObject
* obj0
= 0 ;
20786 PyObject
* obj1
= 0 ;
20787 char *kwnames
[] = {
20788 (char *) "win",(char *) "onlyIfNeeded", NULL
20791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:SafeYield",kwnames
,&obj0
,&obj1
)) goto fail
;
20793 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
20794 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20797 arg2
= (bool) SWIG_AsBool(obj1
);
20798 if (PyErr_Occurred()) SWIG_fail
;
20801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20802 result
= (bool)wxSafeYield(arg1
,arg2
);
20804 wxPyEndAllowThreads(__tstate
);
20805 if (PyErr_Occurred()) SWIG_fail
;
20808 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20816 static PyObject
*_wrap_WakeUpIdle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20817 PyObject
*resultobj
;
20818 char *kwnames
[] = {
20822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":WakeUpIdle",kwnames
)) goto fail
;
20824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20827 wxPyEndAllowThreads(__tstate
);
20828 if (PyErr_Occurred()) SWIG_fail
;
20830 Py_INCREF(Py_None
); resultobj
= Py_None
;
20837 static PyObject
*_wrap_PostEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20838 PyObject
*resultobj
;
20839 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
20840 wxEvent
*arg2
= 0 ;
20841 PyObject
* obj0
= 0 ;
20842 PyObject
* obj1
= 0 ;
20843 char *kwnames
[] = {
20844 (char *) "dest",(char *) "event", NULL
20847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
20848 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
20849 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20850 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvent
,
20851 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20853 if (arg2
== NULL
) {
20854 PyErr_SetString(PyExc_TypeError
,"null reference");
20858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20859 wxPostEvent(arg1
,*arg2
);
20861 wxPyEndAllowThreads(__tstate
);
20862 if (PyErr_Occurred()) SWIG_fail
;
20864 Py_INCREF(Py_None
); resultobj
= Py_None
;
20871 static PyObject
*_wrap_App_CleanUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20872 PyObject
*resultobj
;
20873 char *kwnames
[] = {
20877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":App_CleanUp",kwnames
)) goto fail
;
20879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20882 wxPyEndAllowThreads(__tstate
);
20883 if (PyErr_Occurred()) SWIG_fail
;
20885 Py_INCREF(Py_None
); resultobj
= Py_None
;
20892 static PyObject
*_wrap_GetApp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20893 PyObject
*resultobj
;
20895 char *kwnames
[] = {
20899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetApp",kwnames
)) goto fail
;
20901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20902 result
= (wxPyApp
*)wxPyGetApp();
20904 wxPyEndAllowThreads(__tstate
);
20905 if (PyErr_Occurred()) SWIG_fail
;
20908 resultobj
= wxPyMake_wxObject(result
, 0);
20916 static PyObject
*_wrap_new_AcceleratorEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20917 PyObject
*resultobj
;
20918 int arg1
= (int) 0 ;
20919 int arg2
= (int) 0 ;
20920 int arg3
= (int) 0 ;
20921 wxAcceleratorEntry
*result
;
20922 PyObject
* obj0
= 0 ;
20923 PyObject
* obj1
= 0 ;
20924 PyObject
* obj2
= 0 ;
20925 char *kwnames
[] = {
20926 (char *) "flags",(char *) "keyCode",(char *) "cmdID", NULL
20929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_AcceleratorEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20931 arg1
= (int) SWIG_AsInt(obj0
);
20932 if (PyErr_Occurred()) SWIG_fail
;
20935 arg2
= (int) SWIG_AsInt(obj1
);
20936 if (PyErr_Occurred()) SWIG_fail
;
20939 arg3
= (int) SWIG_AsInt(obj2
);
20940 if (PyErr_Occurred()) SWIG_fail
;
20943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20944 result
= (wxAcceleratorEntry
*)new wxAcceleratorEntry(arg1
,arg2
,arg3
);
20946 wxPyEndAllowThreads(__tstate
);
20947 if (PyErr_Occurred()) SWIG_fail
;
20949 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 1);
20956 static PyObject
*_wrap_delete_AcceleratorEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20957 PyObject
*resultobj
;
20958 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
20959 PyObject
* obj0
= 0 ;
20960 char *kwnames
[] = {
20961 (char *) "self", NULL
20964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_AcceleratorEntry",kwnames
,&obj0
)) goto fail
;
20965 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
20966 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20971 wxPyEndAllowThreads(__tstate
);
20972 if (PyErr_Occurred()) SWIG_fail
;
20974 Py_INCREF(Py_None
); resultobj
= Py_None
;
20981 static PyObject
*_wrap_AcceleratorEntry_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20982 PyObject
*resultobj
;
20983 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
20987 PyObject
* obj0
= 0 ;
20988 PyObject
* obj1
= 0 ;
20989 PyObject
* obj2
= 0 ;
20990 PyObject
* obj3
= 0 ;
20991 char *kwnames
[] = {
20992 (char *) "self",(char *) "flags",(char *) "keyCode",(char *) "cmd", NULL
20995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AcceleratorEntry_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20996 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
20997 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20998 arg2
= (int) SWIG_AsInt(obj1
);
20999 if (PyErr_Occurred()) SWIG_fail
;
21000 arg3
= (int) SWIG_AsInt(obj2
);
21001 if (PyErr_Occurred()) SWIG_fail
;
21002 arg4
= (int) SWIG_AsInt(obj3
);
21003 if (PyErr_Occurred()) SWIG_fail
;
21005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21006 (arg1
)->Set(arg2
,arg3
,arg4
);
21008 wxPyEndAllowThreads(__tstate
);
21009 if (PyErr_Occurred()) SWIG_fail
;
21011 Py_INCREF(Py_None
); resultobj
= Py_None
;
21018 static PyObject
*_wrap_AcceleratorEntry_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21019 PyObject
*resultobj
;
21020 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
21022 PyObject
* obj0
= 0 ;
21023 char *kwnames
[] = {
21024 (char *) "self", NULL
21027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetFlags",kwnames
,&obj0
)) goto fail
;
21028 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
21029 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21032 result
= (int)(arg1
)->GetFlags();
21034 wxPyEndAllowThreads(__tstate
);
21035 if (PyErr_Occurred()) SWIG_fail
;
21037 resultobj
= SWIG_FromInt((int)result
);
21044 static PyObject
*_wrap_AcceleratorEntry_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21045 PyObject
*resultobj
;
21046 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
21048 PyObject
* obj0
= 0 ;
21049 char *kwnames
[] = {
21050 (char *) "self", NULL
21053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetKeyCode",kwnames
,&obj0
)) goto fail
;
21054 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
21055 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21058 result
= (int)(arg1
)->GetKeyCode();
21060 wxPyEndAllowThreads(__tstate
);
21061 if (PyErr_Occurred()) SWIG_fail
;
21063 resultobj
= SWIG_FromInt((int)result
);
21070 static PyObject
*_wrap_AcceleratorEntry_GetCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21071 PyObject
*resultobj
;
21072 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
21074 PyObject
* obj0
= 0 ;
21075 char *kwnames
[] = {
21076 (char *) "self", NULL
21079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetCommand",kwnames
,&obj0
)) goto fail
;
21080 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
21081 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21084 result
= (int)(arg1
)->GetCommand();
21086 wxPyEndAllowThreads(__tstate
);
21087 if (PyErr_Occurred()) SWIG_fail
;
21089 resultobj
= SWIG_FromInt((int)result
);
21096 static PyObject
* AcceleratorEntry_swigregister(PyObject
*self
, PyObject
*args
) {
21098 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21099 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorEntry
, obj
);
21101 return Py_BuildValue((char *)"");
21103 static PyObject
*_wrap_new_AcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21104 PyObject
*resultobj
;
21106 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
21107 wxAcceleratorTable
*result
;
21108 PyObject
* obj0
= 0 ;
21109 char *kwnames
[] = {
21113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_AcceleratorTable",kwnames
,&obj0
)) goto fail
;
21115 arg2
= wxAcceleratorEntry_LIST_helper(obj0
);
21116 if (arg2
) arg1
= PyList_Size(obj0
);
21120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21121 result
= (wxAcceleratorTable
*)new wxAcceleratorTable(arg1
,(wxAcceleratorEntry
const *)arg2
);
21123 wxPyEndAllowThreads(__tstate
);
21124 if (PyErr_Occurred()) SWIG_fail
;
21126 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorTable
, 1);
21139 static PyObject
*_wrap_delete_AcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21140 PyObject
*resultobj
;
21141 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
21142 PyObject
* obj0
= 0 ;
21143 char *kwnames
[] = {
21144 (char *) "self", NULL
21147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_AcceleratorTable",kwnames
,&obj0
)) goto fail
;
21148 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorTable
,
21149 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21154 wxPyEndAllowThreads(__tstate
);
21155 if (PyErr_Occurred()) SWIG_fail
;
21157 Py_INCREF(Py_None
); resultobj
= Py_None
;
21164 static PyObject
*_wrap_AcceleratorTable_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21165 PyObject
*resultobj
;
21166 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
21168 PyObject
* obj0
= 0 ;
21169 char *kwnames
[] = {
21170 (char *) "self", NULL
21173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorTable_Ok",kwnames
,&obj0
)) goto fail
;
21174 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorTable
,
21175 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21178 result
= (bool)((wxAcceleratorTable
const *)arg1
)->Ok();
21180 wxPyEndAllowThreads(__tstate
);
21181 if (PyErr_Occurred()) SWIG_fail
;
21184 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21192 static PyObject
* AcceleratorTable_swigregister(PyObject
*self
, PyObject
*args
) {
21194 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21195 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorTable
, obj
);
21197 return Py_BuildValue((char *)"");
21199 static int _wrap_NullAcceleratorTable_set(PyObject
*_val
) {
21200 PyErr_SetString(PyExc_TypeError
,"Variable NullAcceleratorTable is read-only.");
21205 static PyObject
*_wrap_NullAcceleratorTable_get() {
21208 pyobj
= SWIG_NewPointerObj((void *)(&wxNullAcceleratorTable
), SWIGTYPE_p_wxAcceleratorTable
, 0);
21213 static PyObject
*_wrap_GetAccelFromString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21214 PyObject
*resultobj
;
21215 wxString
*arg1
= 0 ;
21216 wxAcceleratorEntry
*result
;
21217 bool temp1
= False
;
21218 PyObject
* obj0
= 0 ;
21219 char *kwnames
[] = {
21220 (char *) "label", NULL
21223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetAccelFromString",kwnames
,&obj0
)) goto fail
;
21225 arg1
= wxString_in_helper(obj0
);
21226 if (arg1
== NULL
) SWIG_fail
;
21230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21231 result
= (wxAcceleratorEntry
*)wxGetAccelFromString((wxString
const &)*arg1
);
21233 wxPyEndAllowThreads(__tstate
);
21234 if (PyErr_Occurred()) SWIG_fail
;
21236 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 0);
21251 static int _wrap_PanelNameStr_set(PyObject
*_val
) {
21252 PyErr_SetString(PyExc_TypeError
,"Variable PanelNameStr is read-only.");
21257 static PyObject
*_wrap_PanelNameStr_get() {
21262 pyobj
= PyUnicode_FromWideChar((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
21264 pyobj
= PyString_FromStringAndSize((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
21271 static PyObject
*_wrap_new_VisualAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21272 PyObject
*resultobj
;
21273 wxVisualAttributes
*result
;
21274 char *kwnames
[] = {
21278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_VisualAttributes",kwnames
)) goto fail
;
21280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21281 result
= (wxVisualAttributes
*)new_wxVisualAttributes();
21283 wxPyEndAllowThreads(__tstate
);
21284 if (PyErr_Occurred()) SWIG_fail
;
21286 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxVisualAttributes
, 1);
21293 static PyObject
*_wrap_delete_VisualAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21294 PyObject
*resultobj
;
21295 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21296 PyObject
* obj0
= 0 ;
21297 char *kwnames
[] = {
21298 (char *) "self", NULL
21301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_VisualAttributes",kwnames
,&obj0
)) goto fail
;
21302 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21303 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21306 delete_wxVisualAttributes(arg1
);
21308 wxPyEndAllowThreads(__tstate
);
21309 if (PyErr_Occurred()) SWIG_fail
;
21311 Py_INCREF(Py_None
); resultobj
= Py_None
;
21318 static PyObject
*_wrap_VisualAttributes_font_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21319 PyObject
*resultobj
;
21320 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21321 wxFont
*arg2
= (wxFont
*) 0 ;
21322 PyObject
* obj0
= 0 ;
21323 PyObject
* obj1
= 0 ;
21324 char *kwnames
[] = {
21325 (char *) "self",(char *) "font", NULL
21328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_font_set",kwnames
,&obj0
,&obj1
)) goto fail
;
21329 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21330 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21331 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
21332 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21333 if (arg1
) (arg1
)->font
= *arg2
;
21335 Py_INCREF(Py_None
); resultobj
= Py_None
;
21342 static PyObject
*_wrap_VisualAttributes_font_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21343 PyObject
*resultobj
;
21344 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21346 PyObject
* obj0
= 0 ;
21347 char *kwnames
[] = {
21348 (char *) "self", NULL
21351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_font_get",kwnames
,&obj0
)) goto fail
;
21352 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21353 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21354 result
= (wxFont
*)& ((arg1
)->font
);
21356 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 0);
21363 static PyObject
*_wrap_VisualAttributes_colFg_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21364 PyObject
*resultobj
;
21365 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21366 wxColour
*arg2
= (wxColour
*) 0 ;
21367 PyObject
* obj0
= 0 ;
21368 PyObject
* obj1
= 0 ;
21369 char *kwnames
[] = {
21370 (char *) "self",(char *) "colFg", NULL
21373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_colFg_set",kwnames
,&obj0
,&obj1
)) goto fail
;
21374 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21375 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21376 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxColour
,
21377 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21378 if (arg1
) (arg1
)->colFg
= *arg2
;
21380 Py_INCREF(Py_None
); resultobj
= Py_None
;
21387 static PyObject
*_wrap_VisualAttributes_colFg_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21388 PyObject
*resultobj
;
21389 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21391 PyObject
* obj0
= 0 ;
21392 char *kwnames
[] = {
21393 (char *) "self", NULL
21396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_colFg_get",kwnames
,&obj0
)) goto fail
;
21397 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21398 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21399 result
= (wxColour
*)& ((arg1
)->colFg
);
21401 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
21408 static PyObject
*_wrap_VisualAttributes_colBg_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21409 PyObject
*resultobj
;
21410 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21411 wxColour
*arg2
= (wxColour
*) 0 ;
21412 PyObject
* obj0
= 0 ;
21413 PyObject
* obj1
= 0 ;
21414 char *kwnames
[] = {
21415 (char *) "self",(char *) "colBg", NULL
21418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_colBg_set",kwnames
,&obj0
,&obj1
)) goto fail
;
21419 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21420 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21421 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxColour
,
21422 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21423 if (arg1
) (arg1
)->colBg
= *arg2
;
21425 Py_INCREF(Py_None
); resultobj
= Py_None
;
21432 static PyObject
*_wrap_VisualAttributes_colBg_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21433 PyObject
*resultobj
;
21434 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21436 PyObject
* obj0
= 0 ;
21437 char *kwnames
[] = {
21438 (char *) "self", NULL
21441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_colBg_get",kwnames
,&obj0
)) goto fail
;
21442 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21443 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21444 result
= (wxColour
*)& ((arg1
)->colBg
);
21446 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
21453 static PyObject
* VisualAttributes_swigregister(PyObject
*self
, PyObject
*args
) {
21455 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21456 SWIG_TypeClientData(SWIGTYPE_p_wxVisualAttributes
, obj
);
21458 return Py_BuildValue((char *)"");
21460 static PyObject
*_wrap_new_Window(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21461 PyObject
*resultobj
;
21462 wxWindow
*arg1
= (wxWindow
*) 0 ;
21463 int arg2
= (int) (int)-1 ;
21464 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21465 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21466 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21467 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21468 long arg5
= (long) 0 ;
21469 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
21470 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21474 bool temp6
= False
;
21475 PyObject
* obj0
= 0 ;
21476 PyObject
* obj1
= 0 ;
21477 PyObject
* obj2
= 0 ;
21478 PyObject
* obj3
= 0 ;
21479 PyObject
* obj4
= 0 ;
21480 PyObject
* obj5
= 0 ;
21481 char *kwnames
[] = {
21482 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Window",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
21486 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21487 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21489 arg2
= (int const) SWIG_AsInt(obj1
);
21490 if (PyErr_Occurred()) SWIG_fail
;
21495 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21501 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21505 arg5
= (long) SWIG_AsLong(obj4
);
21506 if (PyErr_Occurred()) SWIG_fail
;
21510 arg6
= wxString_in_helper(obj5
);
21511 if (arg6
== NULL
) SWIG_fail
;
21516 if (!wxPyCheckForApp()) SWIG_fail
;
21517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21518 result
= (wxWindow
*)new wxWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21520 wxPyEndAllowThreads(__tstate
);
21521 if (PyErr_Occurred()) SWIG_fail
;
21524 resultobj
= wxPyMake_wxObject(result
, 1);
21540 static PyObject
*_wrap_new_PreWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21541 PyObject
*resultobj
;
21543 char *kwnames
[] = {
21547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreWindow",kwnames
)) goto fail
;
21549 if (!wxPyCheckForApp()) SWIG_fail
;
21550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21551 result
= (wxWindow
*)new wxWindow();
21553 wxPyEndAllowThreads(__tstate
);
21554 if (PyErr_Occurred()) SWIG_fail
;
21557 resultobj
= wxPyMake_wxObject(result
, 1);
21565 static PyObject
*_wrap_Window_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21566 PyObject
*resultobj
;
21567 wxWindow
*arg1
= (wxWindow
*) 0 ;
21568 wxWindow
*arg2
= (wxWindow
*) 0 ;
21569 int arg3
= (int) (int)-1 ;
21570 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21571 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21572 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21573 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21574 long arg6
= (long) 0 ;
21575 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
21576 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21580 bool temp7
= False
;
21581 PyObject
* obj0
= 0 ;
21582 PyObject
* obj1
= 0 ;
21583 PyObject
* obj2
= 0 ;
21584 PyObject
* obj3
= 0 ;
21585 PyObject
* obj4
= 0 ;
21586 PyObject
* obj5
= 0 ;
21587 PyObject
* obj6
= 0 ;
21588 char *kwnames
[] = {
21589 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Window_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
21593 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21594 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21595 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
21596 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21598 arg3
= (int const) SWIG_AsInt(obj2
);
21599 if (PyErr_Occurred()) SWIG_fail
;
21604 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21610 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21614 arg6
= (long) SWIG_AsLong(obj5
);
21615 if (PyErr_Occurred()) SWIG_fail
;
21619 arg7
= wxString_in_helper(obj6
);
21620 if (arg7
== NULL
) SWIG_fail
;
21625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21626 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21628 wxPyEndAllowThreads(__tstate
);
21629 if (PyErr_Occurred()) SWIG_fail
;
21632 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21648 static PyObject
*_wrap_Window_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21649 PyObject
*resultobj
;
21650 wxWindow
*arg1
= (wxWindow
*) 0 ;
21651 bool arg2
= (bool) False
;
21653 PyObject
* obj0
= 0 ;
21654 PyObject
* obj1
= 0 ;
21655 char *kwnames
[] = {
21656 (char *) "self",(char *) "force", NULL
21659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Close",kwnames
,&obj0
,&obj1
)) goto fail
;
21660 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21661 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21663 arg2
= (bool) SWIG_AsBool(obj1
);
21664 if (PyErr_Occurred()) SWIG_fail
;
21667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21668 result
= (bool)(arg1
)->Close(arg2
);
21670 wxPyEndAllowThreads(__tstate
);
21671 if (PyErr_Occurred()) SWIG_fail
;
21674 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21682 static PyObject
*_wrap_Window_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21683 PyObject
*resultobj
;
21684 wxWindow
*arg1
= (wxWindow
*) 0 ;
21686 PyObject
* obj0
= 0 ;
21687 char *kwnames
[] = {
21688 (char *) "self", NULL
21691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Destroy",kwnames
,&obj0
)) goto fail
;
21692 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21693 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21696 result
= (bool)(arg1
)->Destroy();
21698 wxPyEndAllowThreads(__tstate
);
21699 if (PyErr_Occurred()) SWIG_fail
;
21702 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21710 static PyObject
*_wrap_Window_DestroyChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21711 PyObject
*resultobj
;
21712 wxWindow
*arg1
= (wxWindow
*) 0 ;
21714 PyObject
* obj0
= 0 ;
21715 char *kwnames
[] = {
21716 (char *) "self", NULL
21719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_DestroyChildren",kwnames
,&obj0
)) goto fail
;
21720 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21721 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21724 result
= (bool)(arg1
)->DestroyChildren();
21726 wxPyEndAllowThreads(__tstate
);
21727 if (PyErr_Occurred()) SWIG_fail
;
21730 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21738 static PyObject
*_wrap_Window_IsBeingDeleted(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21739 PyObject
*resultobj
;
21740 wxWindow
*arg1
= (wxWindow
*) 0 ;
21742 PyObject
* obj0
= 0 ;
21743 char *kwnames
[] = {
21744 (char *) "self", NULL
21747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsBeingDeleted",kwnames
,&obj0
)) goto fail
;
21748 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21749 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21752 result
= (bool)((wxWindow
const *)arg1
)->IsBeingDeleted();
21754 wxPyEndAllowThreads(__tstate
);
21755 if (PyErr_Occurred()) SWIG_fail
;
21758 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21766 static PyObject
*_wrap_Window_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21767 PyObject
*resultobj
;
21768 wxWindow
*arg1
= (wxWindow
*) 0 ;
21769 wxString
*arg2
= 0 ;
21770 bool temp2
= False
;
21771 PyObject
* obj0
= 0 ;
21772 PyObject
* obj1
= 0 ;
21773 char *kwnames
[] = {
21774 (char *) "self",(char *) "title", NULL
21777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
21778 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21779 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21781 arg2
= wxString_in_helper(obj1
);
21782 if (arg2
== NULL
) SWIG_fail
;
21786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21787 (arg1
)->SetTitle((wxString
const &)*arg2
);
21789 wxPyEndAllowThreads(__tstate
);
21790 if (PyErr_Occurred()) SWIG_fail
;
21792 Py_INCREF(Py_None
); resultobj
= Py_None
;
21807 static PyObject
*_wrap_Window_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21808 PyObject
*resultobj
;
21809 wxWindow
*arg1
= (wxWindow
*) 0 ;
21811 PyObject
* obj0
= 0 ;
21812 char *kwnames
[] = {
21813 (char *) "self", NULL
21816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetTitle",kwnames
,&obj0
)) goto fail
;
21817 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21818 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21821 result
= ((wxWindow
const *)arg1
)->GetTitle();
21823 wxPyEndAllowThreads(__tstate
);
21824 if (PyErr_Occurred()) SWIG_fail
;
21828 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21830 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21839 static PyObject
*_wrap_Window_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21840 PyObject
*resultobj
;
21841 wxWindow
*arg1
= (wxWindow
*) 0 ;
21842 wxString
*arg2
= 0 ;
21843 bool temp2
= False
;
21844 PyObject
* obj0
= 0 ;
21845 PyObject
* obj1
= 0 ;
21846 char *kwnames
[] = {
21847 (char *) "self",(char *) "label", NULL
21850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
21851 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21852 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21854 arg2
= wxString_in_helper(obj1
);
21855 if (arg2
== NULL
) SWIG_fail
;
21859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21860 (arg1
)->SetLabel((wxString
const &)*arg2
);
21862 wxPyEndAllowThreads(__tstate
);
21863 if (PyErr_Occurred()) SWIG_fail
;
21865 Py_INCREF(Py_None
); resultobj
= Py_None
;
21880 static PyObject
*_wrap_Window_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21881 PyObject
*resultobj
;
21882 wxWindow
*arg1
= (wxWindow
*) 0 ;
21884 PyObject
* obj0
= 0 ;
21885 char *kwnames
[] = {
21886 (char *) "self", NULL
21889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetLabel",kwnames
,&obj0
)) goto fail
;
21890 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21894 result
= ((wxWindow
const *)arg1
)->GetLabel();
21896 wxPyEndAllowThreads(__tstate
);
21897 if (PyErr_Occurred()) SWIG_fail
;
21901 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21903 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21912 static PyObject
*_wrap_Window_SetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21913 PyObject
*resultobj
;
21914 wxWindow
*arg1
= (wxWindow
*) 0 ;
21915 wxString
*arg2
= 0 ;
21916 bool temp2
= False
;
21917 PyObject
* obj0
= 0 ;
21918 PyObject
* obj1
= 0 ;
21919 char *kwnames
[] = {
21920 (char *) "self",(char *) "name", NULL
21923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetName",kwnames
,&obj0
,&obj1
)) goto fail
;
21924 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21925 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21927 arg2
= wxString_in_helper(obj1
);
21928 if (arg2
== NULL
) SWIG_fail
;
21932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21933 (arg1
)->SetName((wxString
const &)*arg2
);
21935 wxPyEndAllowThreads(__tstate
);
21936 if (PyErr_Occurred()) SWIG_fail
;
21938 Py_INCREF(Py_None
); resultobj
= Py_None
;
21953 static PyObject
*_wrap_Window_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21954 PyObject
*resultobj
;
21955 wxWindow
*arg1
= (wxWindow
*) 0 ;
21957 PyObject
* obj0
= 0 ;
21958 char *kwnames
[] = {
21959 (char *) "self", NULL
21962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetName",kwnames
,&obj0
)) goto fail
;
21963 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21964 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21967 result
= ((wxWindow
const *)arg1
)->GetName();
21969 wxPyEndAllowThreads(__tstate
);
21970 if (PyErr_Occurred()) SWIG_fail
;
21974 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21976 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21985 static PyObject
*_wrap_Window_SetWindowVariant(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21986 PyObject
*resultobj
;
21987 wxWindow
*arg1
= (wxWindow
*) 0 ;
21989 PyObject
* obj0
= 0 ;
21990 PyObject
* obj1
= 0 ;
21991 char *kwnames
[] = {
21992 (char *) "self",(char *) "variant", NULL
21995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetWindowVariant",kwnames
,&obj0
,&obj1
)) goto fail
;
21996 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21997 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21998 arg2
= (wxWindowVariant
) SWIG_AsInt(obj1
);
21999 if (PyErr_Occurred()) SWIG_fail
;
22001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22002 (arg1
)->SetWindowVariant((wxWindowVariant
)arg2
);
22004 wxPyEndAllowThreads(__tstate
);
22005 if (PyErr_Occurred()) SWIG_fail
;
22007 Py_INCREF(Py_None
); resultobj
= Py_None
;
22014 static PyObject
*_wrap_Window_GetWindowVariant(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22015 PyObject
*resultobj
;
22016 wxWindow
*arg1
= (wxWindow
*) 0 ;
22018 PyObject
* obj0
= 0 ;
22019 char *kwnames
[] = {
22020 (char *) "self", NULL
22023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetWindowVariant",kwnames
,&obj0
)) goto fail
;
22024 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22025 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22028 result
= (int)((wxWindow
const *)arg1
)->GetWindowVariant();
22030 wxPyEndAllowThreads(__tstate
);
22031 if (PyErr_Occurred()) SWIG_fail
;
22033 resultobj
= SWIG_FromInt((int)result
);
22040 static PyObject
*_wrap_Window_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22041 PyObject
*resultobj
;
22042 wxWindow
*arg1
= (wxWindow
*) 0 ;
22044 PyObject
* obj0
= 0 ;
22045 PyObject
* obj1
= 0 ;
22046 char *kwnames
[] = {
22047 (char *) "self",(char *) "winid", NULL
22050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
22051 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22052 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22053 arg2
= (int) SWIG_AsInt(obj1
);
22054 if (PyErr_Occurred()) SWIG_fail
;
22056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22057 (arg1
)->SetId(arg2
);
22059 wxPyEndAllowThreads(__tstate
);
22060 if (PyErr_Occurred()) SWIG_fail
;
22062 Py_INCREF(Py_None
); resultobj
= Py_None
;
22069 static PyObject
*_wrap_Window_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22070 PyObject
*resultobj
;
22071 wxWindow
*arg1
= (wxWindow
*) 0 ;
22073 PyObject
* obj0
= 0 ;
22074 char *kwnames
[] = {
22075 (char *) "self", NULL
22078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetId",kwnames
,&obj0
)) goto fail
;
22079 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22083 result
= (int)((wxWindow
const *)arg1
)->GetId();
22085 wxPyEndAllowThreads(__tstate
);
22086 if (PyErr_Occurred()) SWIG_fail
;
22088 resultobj
= SWIG_FromInt((int)result
);
22095 static PyObject
*_wrap_Window_NewControlId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22096 PyObject
*resultobj
;
22098 char *kwnames
[] = {
22102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_NewControlId",kwnames
)) goto fail
;
22104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22105 result
= (int)wxWindow::NewControlId();
22107 wxPyEndAllowThreads(__tstate
);
22108 if (PyErr_Occurred()) SWIG_fail
;
22110 resultobj
= SWIG_FromInt((int)result
);
22117 static PyObject
*_wrap_Window_NextControlId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22118 PyObject
*resultobj
;
22121 PyObject
* obj0
= 0 ;
22122 char *kwnames
[] = {
22123 (char *) "winid", NULL
22126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_NextControlId",kwnames
,&obj0
)) goto fail
;
22127 arg1
= (int) SWIG_AsInt(obj0
);
22128 if (PyErr_Occurred()) SWIG_fail
;
22130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22131 result
= (int)wxWindow::NextControlId(arg1
);
22133 wxPyEndAllowThreads(__tstate
);
22134 if (PyErr_Occurred()) SWIG_fail
;
22136 resultobj
= SWIG_FromInt((int)result
);
22143 static PyObject
*_wrap_Window_PrevControlId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22144 PyObject
*resultobj
;
22147 PyObject
* obj0
= 0 ;
22148 char *kwnames
[] = {
22149 (char *) "winid", NULL
22152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PrevControlId",kwnames
,&obj0
)) goto fail
;
22153 arg1
= (int) SWIG_AsInt(obj0
);
22154 if (PyErr_Occurred()) SWIG_fail
;
22156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22157 result
= (int)wxWindow::PrevControlId(arg1
);
22159 wxPyEndAllowThreads(__tstate
);
22160 if (PyErr_Occurred()) SWIG_fail
;
22162 resultobj
= SWIG_FromInt((int)result
);
22169 static PyObject
*_wrap_Window_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22170 PyObject
*resultobj
;
22171 wxWindow
*arg1
= (wxWindow
*) 0 ;
22174 PyObject
* obj0
= 0 ;
22175 PyObject
* obj1
= 0 ;
22176 char *kwnames
[] = {
22177 (char *) "self",(char *) "size", NULL
22180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
22181 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22182 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22185 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
22188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22189 (arg1
)->SetSize((wxSize
const &)*arg2
);
22191 wxPyEndAllowThreads(__tstate
);
22192 if (PyErr_Occurred()) SWIG_fail
;
22194 Py_INCREF(Py_None
); resultobj
= Py_None
;
22201 static PyObject
*_wrap_Window_SetDimensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22202 PyObject
*resultobj
;
22203 wxWindow
*arg1
= (wxWindow
*) 0 ;
22208 int arg6
= (int) wxSIZE_AUTO
;
22209 PyObject
* obj0
= 0 ;
22210 PyObject
* obj1
= 0 ;
22211 PyObject
* obj2
= 0 ;
22212 PyObject
* obj3
= 0 ;
22213 PyObject
* obj4
= 0 ;
22214 PyObject
* obj5
= 0 ;
22215 char *kwnames
[] = {
22216 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
22219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Window_SetDimensions",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
22220 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22221 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22222 arg2
= (int) SWIG_AsInt(obj1
);
22223 if (PyErr_Occurred()) SWIG_fail
;
22224 arg3
= (int) SWIG_AsInt(obj2
);
22225 if (PyErr_Occurred()) SWIG_fail
;
22226 arg4
= (int) SWIG_AsInt(obj3
);
22227 if (PyErr_Occurred()) SWIG_fail
;
22228 arg5
= (int) SWIG_AsInt(obj4
);
22229 if (PyErr_Occurred()) SWIG_fail
;
22231 arg6
= (int) SWIG_AsInt(obj5
);
22232 if (PyErr_Occurred()) SWIG_fail
;
22235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22236 (arg1
)->SetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
22238 wxPyEndAllowThreads(__tstate
);
22239 if (PyErr_Occurred()) SWIG_fail
;
22241 Py_INCREF(Py_None
); resultobj
= Py_None
;
22248 static PyObject
*_wrap_Window_SetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22249 PyObject
*resultobj
;
22250 wxWindow
*arg1
= (wxWindow
*) 0 ;
22252 int arg3
= (int) wxSIZE_AUTO
;
22254 PyObject
* obj0
= 0 ;
22255 PyObject
* obj1
= 0 ;
22256 PyObject
* obj2
= 0 ;
22257 char *kwnames
[] = {
22258 (char *) "self",(char *) "rect",(char *) "sizeFlags", NULL
22261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22262 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22263 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22266 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
22269 arg3
= (int) SWIG_AsInt(obj2
);
22270 if (PyErr_Occurred()) SWIG_fail
;
22273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22274 (arg1
)->SetSize((wxRect
const &)*arg2
,arg3
);
22276 wxPyEndAllowThreads(__tstate
);
22277 if (PyErr_Occurred()) SWIG_fail
;
22279 Py_INCREF(Py_None
); resultobj
= Py_None
;
22286 static PyObject
*_wrap_Window_SetSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22287 PyObject
*resultobj
;
22288 wxWindow
*arg1
= (wxWindow
*) 0 ;
22291 PyObject
* obj0
= 0 ;
22292 PyObject
* obj1
= 0 ;
22293 PyObject
* obj2
= 0 ;
22294 char *kwnames
[] = {
22295 (char *) "self",(char *) "width",(char *) "height", NULL
22298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22299 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22300 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22301 arg2
= (int) SWIG_AsInt(obj1
);
22302 if (PyErr_Occurred()) SWIG_fail
;
22303 arg3
= (int) SWIG_AsInt(obj2
);
22304 if (PyErr_Occurred()) SWIG_fail
;
22306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22307 (arg1
)->SetSize(arg2
,arg3
);
22309 wxPyEndAllowThreads(__tstate
);
22310 if (PyErr_Occurred()) SWIG_fail
;
22312 Py_INCREF(Py_None
); resultobj
= Py_None
;
22319 static PyObject
*_wrap_Window_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22320 PyObject
*resultobj
;
22321 wxWindow
*arg1
= (wxWindow
*) 0 ;
22322 wxPoint
*arg2
= 0 ;
22323 int arg3
= (int) wxSIZE_USE_EXISTING
;
22325 PyObject
* obj0
= 0 ;
22326 PyObject
* obj1
= 0 ;
22327 PyObject
* obj2
= 0 ;
22328 char *kwnames
[] = {
22329 (char *) "self",(char *) "pt",(char *) "flags", NULL
22332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_Move",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22333 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22334 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22337 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22340 arg3
= (int) SWIG_AsInt(obj2
);
22341 if (PyErr_Occurred()) SWIG_fail
;
22344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22345 (arg1
)->Move((wxPoint
const &)*arg2
,arg3
);
22347 wxPyEndAllowThreads(__tstate
);
22348 if (PyErr_Occurred()) SWIG_fail
;
22350 Py_INCREF(Py_None
); resultobj
= Py_None
;
22357 static PyObject
*_wrap_Window_MoveXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22358 PyObject
*resultobj
;
22359 wxWindow
*arg1
= (wxWindow
*) 0 ;
22362 int arg4
= (int) wxSIZE_USE_EXISTING
;
22363 PyObject
* obj0
= 0 ;
22364 PyObject
* obj1
= 0 ;
22365 PyObject
* obj2
= 0 ;
22366 PyObject
* obj3
= 0 ;
22367 char *kwnames
[] = {
22368 (char *) "self",(char *) "x",(char *) "y",(char *) "flags", NULL
22371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_MoveXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22372 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22373 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22374 arg2
= (int) SWIG_AsInt(obj1
);
22375 if (PyErr_Occurred()) SWIG_fail
;
22376 arg3
= (int) SWIG_AsInt(obj2
);
22377 if (PyErr_Occurred()) SWIG_fail
;
22379 arg4
= (int) SWIG_AsInt(obj3
);
22380 if (PyErr_Occurred()) SWIG_fail
;
22383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22384 (arg1
)->Move(arg2
,arg3
,arg4
);
22386 wxPyEndAllowThreads(__tstate
);
22387 if (PyErr_Occurred()) SWIG_fail
;
22389 Py_INCREF(Py_None
); resultobj
= Py_None
;
22396 static PyObject
*_wrap_Window_SetBestFittingSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22397 PyObject
*resultobj
;
22398 wxWindow
*arg1
= (wxWindow
*) 0 ;
22399 wxSize
const &arg2_defvalue
= wxDefaultSize
;
22400 wxSize
*arg2
= (wxSize
*) &arg2_defvalue
;
22402 PyObject
* obj0
= 0 ;
22403 PyObject
* obj1
= 0 ;
22404 char *kwnames
[] = {
22405 (char *) "self",(char *) "size", NULL
22408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_SetBestFittingSize",kwnames
,&obj0
,&obj1
)) goto fail
;
22409 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22410 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22414 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
22418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22419 (arg1
)->SetBestFittingSize((wxSize
const &)*arg2
);
22421 wxPyEndAllowThreads(__tstate
);
22422 if (PyErr_Occurred()) SWIG_fail
;
22424 Py_INCREF(Py_None
); resultobj
= Py_None
;
22431 static PyObject
*_wrap_Window_Raise(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22432 PyObject
*resultobj
;
22433 wxWindow
*arg1
= (wxWindow
*) 0 ;
22434 PyObject
* obj0
= 0 ;
22435 char *kwnames
[] = {
22436 (char *) "self", NULL
22439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Raise",kwnames
,&obj0
)) goto fail
;
22440 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22441 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22446 wxPyEndAllowThreads(__tstate
);
22447 if (PyErr_Occurred()) SWIG_fail
;
22449 Py_INCREF(Py_None
); resultobj
= Py_None
;
22456 static PyObject
*_wrap_Window_Lower(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22457 PyObject
*resultobj
;
22458 wxWindow
*arg1
= (wxWindow
*) 0 ;
22459 PyObject
* obj0
= 0 ;
22460 char *kwnames
[] = {
22461 (char *) "self", NULL
22464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Lower",kwnames
,&obj0
)) goto fail
;
22465 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22466 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22471 wxPyEndAllowThreads(__tstate
);
22472 if (PyErr_Occurred()) SWIG_fail
;
22474 Py_INCREF(Py_None
); resultobj
= Py_None
;
22481 static PyObject
*_wrap_Window_SetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22482 PyObject
*resultobj
;
22483 wxWindow
*arg1
= (wxWindow
*) 0 ;
22486 PyObject
* obj0
= 0 ;
22487 PyObject
* obj1
= 0 ;
22488 char *kwnames
[] = {
22489 (char *) "self",(char *) "size", NULL
22492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientSize",kwnames
,&obj0
,&obj1
)) goto fail
;
22493 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22494 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22497 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
22500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22501 (arg1
)->SetClientSize((wxSize
const &)*arg2
);
22503 wxPyEndAllowThreads(__tstate
);
22504 if (PyErr_Occurred()) SWIG_fail
;
22506 Py_INCREF(Py_None
); resultobj
= Py_None
;
22513 static PyObject
*_wrap_Window_SetClientSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22514 PyObject
*resultobj
;
22515 wxWindow
*arg1
= (wxWindow
*) 0 ;
22518 PyObject
* obj0
= 0 ;
22519 PyObject
* obj1
= 0 ;
22520 PyObject
* obj2
= 0 ;
22521 char *kwnames
[] = {
22522 (char *) "self",(char *) "width",(char *) "height", NULL
22525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetClientSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22526 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22527 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22528 arg2
= (int) SWIG_AsInt(obj1
);
22529 if (PyErr_Occurred()) SWIG_fail
;
22530 arg3
= (int) SWIG_AsInt(obj2
);
22531 if (PyErr_Occurred()) SWIG_fail
;
22533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22534 (arg1
)->SetClientSize(arg2
,arg3
);
22536 wxPyEndAllowThreads(__tstate
);
22537 if (PyErr_Occurred()) SWIG_fail
;
22539 Py_INCREF(Py_None
); resultobj
= Py_None
;
22546 static PyObject
*_wrap_Window_SetClientRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22547 PyObject
*resultobj
;
22548 wxWindow
*arg1
= (wxWindow
*) 0 ;
22551 PyObject
* obj0
= 0 ;
22552 PyObject
* obj1
= 0 ;
22553 char *kwnames
[] = {
22554 (char *) "self",(char *) "rect", NULL
22557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientRect",kwnames
,&obj0
,&obj1
)) goto fail
;
22558 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22559 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22562 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
22565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22566 (arg1
)->SetClientSize((wxRect
const &)*arg2
);
22568 wxPyEndAllowThreads(__tstate
);
22569 if (PyErr_Occurred()) SWIG_fail
;
22571 Py_INCREF(Py_None
); resultobj
= Py_None
;
22578 static PyObject
*_wrap_Window_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22579 PyObject
*resultobj
;
22580 wxWindow
*arg1
= (wxWindow
*) 0 ;
22582 PyObject
* obj0
= 0 ;
22583 char *kwnames
[] = {
22584 (char *) "self", NULL
22587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetPosition",kwnames
,&obj0
)) goto fail
;
22588 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22589 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22592 result
= (arg1
)->GetPosition();
22594 wxPyEndAllowThreads(__tstate
);
22595 if (PyErr_Occurred()) SWIG_fail
;
22598 wxPoint
* resultptr
;
22599 resultptr
= new wxPoint((wxPoint
&) result
);
22600 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
22608 static PyObject
*_wrap_Window_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22609 PyObject
*resultobj
;
22610 wxWindow
*arg1
= (wxWindow
*) 0 ;
22611 int *arg2
= (int *) 0 ;
22612 int *arg3
= (int *) 0 ;
22615 PyObject
* obj0
= 0 ;
22616 char *kwnames
[] = {
22617 (char *) "self", NULL
22622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
22623 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22624 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22627 (arg1
)->GetPosition(arg2
,arg3
);
22629 wxPyEndAllowThreads(__tstate
);
22630 if (PyErr_Occurred()) SWIG_fail
;
22632 Py_INCREF(Py_None
); resultobj
= Py_None
;
22634 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
22635 resultobj
= t_output_helper(resultobj
,o
);
22638 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22639 resultobj
= t_output_helper(resultobj
,o
);
22647 static PyObject
*_wrap_Window_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22648 PyObject
*resultobj
;
22649 wxWindow
*arg1
= (wxWindow
*) 0 ;
22651 PyObject
* obj0
= 0 ;
22652 char *kwnames
[] = {
22653 (char *) "self", NULL
22656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSize",kwnames
,&obj0
)) goto fail
;
22657 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22658 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22661 result
= ((wxWindow
const *)arg1
)->GetSize();
22663 wxPyEndAllowThreads(__tstate
);
22664 if (PyErr_Occurred()) SWIG_fail
;
22667 wxSize
* resultptr
;
22668 resultptr
= new wxSize((wxSize
&) result
);
22669 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
22677 static PyObject
*_wrap_Window_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22678 PyObject
*resultobj
;
22679 wxWindow
*arg1
= (wxWindow
*) 0 ;
22680 int *arg2
= (int *) 0 ;
22681 int *arg3
= (int *) 0 ;
22684 PyObject
* obj0
= 0 ;
22685 char *kwnames
[] = {
22686 (char *) "self", NULL
22691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSizeTuple",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 ((wxWindow
const *)arg1
)->GetSize(arg2
,arg3
);
22698 wxPyEndAllowThreads(__tstate
);
22699 if (PyErr_Occurred()) SWIG_fail
;
22701 Py_INCREF(Py_None
); resultobj
= Py_None
;
22703 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
22704 resultobj
= t_output_helper(resultobj
,o
);
22707 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22708 resultobj
= t_output_helper(resultobj
,o
);
22716 static PyObject
*_wrap_Window_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22717 PyObject
*resultobj
;
22718 wxWindow
*arg1
= (wxWindow
*) 0 ;
22720 PyObject
* obj0
= 0 ;
22721 char *kwnames
[] = {
22722 (char *) "self", NULL
22725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetRect",kwnames
,&obj0
)) goto fail
;
22726 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22727 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22730 result
= ((wxWindow
const *)arg1
)->GetRect();
22732 wxPyEndAllowThreads(__tstate
);
22733 if (PyErr_Occurred()) SWIG_fail
;
22736 wxRect
* resultptr
;
22737 resultptr
= new wxRect((wxRect
&) result
);
22738 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
22746 static PyObject
*_wrap_Window_GetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22747 PyObject
*resultobj
;
22748 wxWindow
*arg1
= (wxWindow
*) 0 ;
22750 PyObject
* obj0
= 0 ;
22751 char *kwnames
[] = {
22752 (char *) "self", NULL
22755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientSize",kwnames
,&obj0
)) goto fail
;
22756 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22757 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22760 result
= ((wxWindow
const *)arg1
)->GetClientSize();
22762 wxPyEndAllowThreads(__tstate
);
22763 if (PyErr_Occurred()) SWIG_fail
;
22766 wxSize
* resultptr
;
22767 resultptr
= new wxSize((wxSize
&) result
);
22768 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
22776 static PyObject
*_wrap_Window_GetClientSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22777 PyObject
*resultobj
;
22778 wxWindow
*arg1
= (wxWindow
*) 0 ;
22779 int *arg2
= (int *) 0 ;
22780 int *arg3
= (int *) 0 ;
22783 PyObject
* obj0
= 0 ;
22784 char *kwnames
[] = {
22785 (char *) "self", NULL
22790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientSizeTuple",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 ((wxWindow
const *)arg1
)->GetClientSize(arg2
,arg3
);
22797 wxPyEndAllowThreads(__tstate
);
22798 if (PyErr_Occurred()) SWIG_fail
;
22800 Py_INCREF(Py_None
); resultobj
= Py_None
;
22802 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
22803 resultobj
= t_output_helper(resultobj
,o
);
22806 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22807 resultobj
= t_output_helper(resultobj
,o
);
22815 static PyObject
*_wrap_Window_GetClientAreaOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22816 PyObject
*resultobj
;
22817 wxWindow
*arg1
= (wxWindow
*) 0 ;
22819 PyObject
* obj0
= 0 ;
22820 char *kwnames
[] = {
22821 (char *) "self", NULL
22824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientAreaOrigin",kwnames
,&obj0
)) goto fail
;
22825 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22826 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22829 result
= ((wxWindow
const *)arg1
)->GetClientAreaOrigin();
22831 wxPyEndAllowThreads(__tstate
);
22832 if (PyErr_Occurred()) SWIG_fail
;
22835 wxPoint
* resultptr
;
22836 resultptr
= new wxPoint((wxPoint
&) result
);
22837 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
22845 static PyObject
*_wrap_Window_GetClientRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22846 PyObject
*resultobj
;
22847 wxWindow
*arg1
= (wxWindow
*) 0 ;
22849 PyObject
* obj0
= 0 ;
22850 char *kwnames
[] = {
22851 (char *) "self", NULL
22854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientRect",kwnames
,&obj0
)) goto fail
;
22855 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22856 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22859 result
= ((wxWindow
const *)arg1
)->GetClientRect();
22861 wxPyEndAllowThreads(__tstate
);
22862 if (PyErr_Occurred()) SWIG_fail
;
22865 wxRect
* resultptr
;
22866 resultptr
= new wxRect((wxRect
&) result
);
22867 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
22875 static PyObject
*_wrap_Window_GetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22876 PyObject
*resultobj
;
22877 wxWindow
*arg1
= (wxWindow
*) 0 ;
22879 PyObject
* obj0
= 0 ;
22880 char *kwnames
[] = {
22881 (char *) "self", NULL
22884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestSize",kwnames
,&obj0
)) goto fail
;
22885 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22886 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22889 result
= ((wxWindow
const *)arg1
)->GetBestSize();
22891 wxPyEndAllowThreads(__tstate
);
22892 if (PyErr_Occurred()) SWIG_fail
;
22895 wxSize
* resultptr
;
22896 resultptr
= new wxSize((wxSize
&) result
);
22897 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
22905 static PyObject
*_wrap_Window_GetBestSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22906 PyObject
*resultobj
;
22907 wxWindow
*arg1
= (wxWindow
*) 0 ;
22908 int *arg2
= (int *) 0 ;
22909 int *arg3
= (int *) 0 ;
22912 PyObject
* obj0
= 0 ;
22913 char *kwnames
[] = {
22914 (char *) "self", NULL
22919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestSizeTuple",kwnames
,&obj0
)) goto fail
;
22920 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22921 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22924 ((wxWindow
const *)arg1
)->GetBestSize(arg2
,arg3
);
22926 wxPyEndAllowThreads(__tstate
);
22927 if (PyErr_Occurred()) SWIG_fail
;
22929 Py_INCREF(Py_None
); resultobj
= Py_None
;
22931 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
22932 resultobj
= t_output_helper(resultobj
,o
);
22935 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22936 resultobj
= t_output_helper(resultobj
,o
);
22944 static PyObject
*_wrap_Window_InvalidateBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22945 PyObject
*resultobj
;
22946 wxWindow
*arg1
= (wxWindow
*) 0 ;
22947 PyObject
* obj0
= 0 ;
22948 char *kwnames
[] = {
22949 (char *) "self", NULL
22952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InvalidateBestSize",kwnames
,&obj0
)) goto fail
;
22953 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22954 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22957 (arg1
)->InvalidateBestSize();
22959 wxPyEndAllowThreads(__tstate
);
22960 if (PyErr_Occurred()) SWIG_fail
;
22962 Py_INCREF(Py_None
); resultobj
= Py_None
;
22969 static PyObject
*_wrap_Window_GetBestFittingSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22970 PyObject
*resultobj
;
22971 wxWindow
*arg1
= (wxWindow
*) 0 ;
22973 PyObject
* obj0
= 0 ;
22974 char *kwnames
[] = {
22975 (char *) "self", NULL
22978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestFittingSize",kwnames
,&obj0
)) goto fail
;
22979 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22980 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22983 result
= ((wxWindow
const *)arg1
)->GetBestFittingSize();
22985 wxPyEndAllowThreads(__tstate
);
22986 if (PyErr_Occurred()) SWIG_fail
;
22989 wxSize
* resultptr
;
22990 resultptr
= new wxSize((wxSize
&) result
);
22991 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
22999 static PyObject
*_wrap_Window_GetAdjustedBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23000 PyObject
*resultobj
;
23001 wxWindow
*arg1
= (wxWindow
*) 0 ;
23003 PyObject
* obj0
= 0 ;
23004 char *kwnames
[] = {
23005 (char *) "self", NULL
23008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAdjustedBestSize",kwnames
,&obj0
)) goto fail
;
23009 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23010 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23013 result
= ((wxWindow
const *)arg1
)->GetAdjustedBestSize();
23015 wxPyEndAllowThreads(__tstate
);
23016 if (PyErr_Occurred()) SWIG_fail
;
23019 wxSize
* resultptr
;
23020 resultptr
= new wxSize((wxSize
&) result
);
23021 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23029 static PyObject
*_wrap_Window_Center(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23030 PyObject
*resultobj
;
23031 wxWindow
*arg1
= (wxWindow
*) 0 ;
23032 int arg2
= (int) wxBOTH
;
23033 PyObject
* obj0
= 0 ;
23034 PyObject
* obj1
= 0 ;
23035 char *kwnames
[] = {
23036 (char *) "self",(char *) "direction", NULL
23039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Center",kwnames
,&obj0
,&obj1
)) goto fail
;
23040 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23041 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23043 arg2
= (int) SWIG_AsInt(obj1
);
23044 if (PyErr_Occurred()) SWIG_fail
;
23047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23048 (arg1
)->Center(arg2
);
23050 wxPyEndAllowThreads(__tstate
);
23051 if (PyErr_Occurred()) SWIG_fail
;
23053 Py_INCREF(Py_None
); resultobj
= Py_None
;
23060 static PyObject
*_wrap_Window_CenterOnScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23061 PyObject
*resultobj
;
23062 wxWindow
*arg1
= (wxWindow
*) 0 ;
23063 int arg2
= (int) wxBOTH
;
23064 PyObject
* obj0
= 0 ;
23065 PyObject
* obj1
= 0 ;
23066 char *kwnames
[] = {
23067 (char *) "self",(char *) "dir", NULL
23070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_CenterOnScreen",kwnames
,&obj0
,&obj1
)) goto fail
;
23071 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23072 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23074 arg2
= (int) SWIG_AsInt(obj1
);
23075 if (PyErr_Occurred()) SWIG_fail
;
23078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23079 (arg1
)->CenterOnScreen(arg2
);
23081 wxPyEndAllowThreads(__tstate
);
23082 if (PyErr_Occurred()) SWIG_fail
;
23084 Py_INCREF(Py_None
); resultobj
= Py_None
;
23091 static PyObject
*_wrap_Window_CenterOnParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23092 PyObject
*resultobj
;
23093 wxWindow
*arg1
= (wxWindow
*) 0 ;
23094 int arg2
= (int) wxBOTH
;
23095 PyObject
* obj0
= 0 ;
23096 PyObject
* obj1
= 0 ;
23097 char *kwnames
[] = {
23098 (char *) "self",(char *) "dir", NULL
23101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_CenterOnParent",kwnames
,&obj0
,&obj1
)) goto fail
;
23102 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23103 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23105 arg2
= (int) SWIG_AsInt(obj1
);
23106 if (PyErr_Occurred()) SWIG_fail
;
23109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23110 (arg1
)->CenterOnParent(arg2
);
23112 wxPyEndAllowThreads(__tstate
);
23113 if (PyErr_Occurred()) SWIG_fail
;
23115 Py_INCREF(Py_None
); resultobj
= Py_None
;
23122 static PyObject
*_wrap_Window_Fit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23123 PyObject
*resultobj
;
23124 wxWindow
*arg1
= (wxWindow
*) 0 ;
23125 PyObject
* obj0
= 0 ;
23126 char *kwnames
[] = {
23127 (char *) "self", NULL
23130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Fit",kwnames
,&obj0
)) goto fail
;
23131 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23132 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23137 wxPyEndAllowThreads(__tstate
);
23138 if (PyErr_Occurred()) SWIG_fail
;
23140 Py_INCREF(Py_None
); resultobj
= Py_None
;
23147 static PyObject
*_wrap_Window_FitInside(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23148 PyObject
*resultobj
;
23149 wxWindow
*arg1
= (wxWindow
*) 0 ;
23150 PyObject
* obj0
= 0 ;
23151 char *kwnames
[] = {
23152 (char *) "self", NULL
23155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_FitInside",kwnames
,&obj0
)) goto fail
;
23156 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23157 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23160 (arg1
)->FitInside();
23162 wxPyEndAllowThreads(__tstate
);
23163 if (PyErr_Occurred()) SWIG_fail
;
23165 Py_INCREF(Py_None
); resultobj
= Py_None
;
23172 static PyObject
*_wrap_Window_SetSizeHints__SWIG_0(PyObject
*self
, PyObject
*args
) {
23173 PyObject
*resultobj
;
23174 wxWindow
*arg1
= (wxWindow
*) 0 ;
23176 wxSize
const &arg3_defvalue
= wxDefaultSize
;
23177 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
23178 wxSize
const &arg4_defvalue
= wxDefaultSize
;
23179 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
23183 PyObject
* obj0
= 0 ;
23184 PyObject
* obj1
= 0 ;
23185 PyObject
* obj2
= 0 ;
23186 PyObject
* obj3
= 0 ;
23188 if(!PyArg_ParseTuple(args
,(char *)"OO|OO:Window_SetSizeHints",&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
23189 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23190 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23193 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
23198 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
23204 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
23208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23209 (arg1
)->SetSizeHints((wxSize
const &)*arg2
,(wxSize
const &)*arg3
,(wxSize
const &)*arg4
);
23211 wxPyEndAllowThreads(__tstate
);
23212 if (PyErr_Occurred()) SWIG_fail
;
23214 Py_INCREF(Py_None
); resultobj
= Py_None
;
23221 static PyObject
*_wrap_Window_SetSizeHints__SWIG_1(PyObject
*self
, PyObject
*args
) {
23222 PyObject
*resultobj
;
23223 wxWindow
*arg1
= (wxWindow
*) 0 ;
23226 int arg4
= (int) -1 ;
23227 int arg5
= (int) -1 ;
23228 int arg6
= (int) -1 ;
23229 int arg7
= (int) -1 ;
23230 PyObject
* obj0
= 0 ;
23231 PyObject
* obj1
= 0 ;
23232 PyObject
* obj2
= 0 ;
23233 PyObject
* obj3
= 0 ;
23234 PyObject
* obj4
= 0 ;
23235 PyObject
* obj5
= 0 ;
23236 PyObject
* obj6
= 0 ;
23238 if(!PyArg_ParseTuple(args
,(char *)"OOO|OOOO:Window_SetSizeHints",&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
23239 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23240 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23241 arg2
= (int) SWIG_AsInt(obj1
);
23242 if (PyErr_Occurred()) SWIG_fail
;
23243 arg3
= (int) SWIG_AsInt(obj2
);
23244 if (PyErr_Occurred()) SWIG_fail
;
23246 arg4
= (int) SWIG_AsInt(obj3
);
23247 if (PyErr_Occurred()) SWIG_fail
;
23250 arg5
= (int) SWIG_AsInt(obj4
);
23251 if (PyErr_Occurred()) SWIG_fail
;
23254 arg6
= (int) SWIG_AsInt(obj5
);
23255 if (PyErr_Occurred()) SWIG_fail
;
23258 arg7
= (int) SWIG_AsInt(obj6
);
23259 if (PyErr_Occurred()) SWIG_fail
;
23262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23263 (arg1
)->SetSizeHints(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
23265 wxPyEndAllowThreads(__tstate
);
23266 if (PyErr_Occurred()) SWIG_fail
;
23268 Py_INCREF(Py_None
); resultobj
= Py_None
;
23275 static PyObject
*_wrap_Window_SetSizeHints(PyObject
*self
, PyObject
*args
) {
23280 argc
= PyObject_Length(args
);
23281 for (ii
= 0; (ii
< argc
) && (ii
< 7); ii
++) {
23282 argv
[ii
] = PyTuple_GetItem(args
,ii
);
23284 if ((argc
>= 2) && (argc
<= 4)) {
23288 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
23297 _v
= wxPySimple_typecheck(argv
[1], wxT("wxSize"), 2);
23301 return _wrap_Window_SetSizeHints__SWIG_0(self
,args
);
23304 _v
= wxPySimple_typecheck(argv
[2], wxT("wxSize"), 2);
23308 return _wrap_Window_SetSizeHints__SWIG_0(self
,args
);
23311 _v
= wxPySimple_typecheck(argv
[3], wxT("wxSize"), 2);
23314 return _wrap_Window_SetSizeHints__SWIG_0(self
,args
);
23320 if ((argc
>= 3) && (argc
<= 7)) {
23324 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
23332 _v
= SWIG_CheckInt(argv
[1]);
23334 _v
= SWIG_CheckInt(argv
[2]);
23337 return _wrap_Window_SetSizeHints__SWIG_1(self
,args
);
23339 _v
= SWIG_CheckInt(argv
[3]);
23342 return _wrap_Window_SetSizeHints__SWIG_1(self
,args
);
23344 _v
= SWIG_CheckInt(argv
[4]);
23347 return _wrap_Window_SetSizeHints__SWIG_1(self
,args
);
23349 _v
= SWIG_CheckInt(argv
[5]);
23352 return _wrap_Window_SetSizeHints__SWIG_1(self
,args
);
23354 _v
= SWIG_CheckInt(argv
[6]);
23356 return _wrap_Window_SetSizeHints__SWIG_1(self
,args
);
23366 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'Window_SetSizeHints'");
23371 static PyObject
*_wrap_Window_SetVirtualSizeHints__SWIG_0(PyObject
*self
, PyObject
*args
) {
23372 PyObject
*resultobj
;
23373 wxWindow
*arg1
= (wxWindow
*) 0 ;
23375 wxSize
const &arg3_defvalue
= wxDefaultSize
;
23376 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
23379 PyObject
* obj0
= 0 ;
23380 PyObject
* obj1
= 0 ;
23381 PyObject
* obj2
= 0 ;
23383 if(!PyArg_ParseTuple(args
,(char *)"OO|O:Window_SetVirtualSizeHints",&obj0
,&obj1
,&obj2
)) goto fail
;
23384 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23385 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23388 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
23393 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
23397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23398 (arg1
)->SetVirtualSizeHints((wxSize
const &)*arg2
,(wxSize
const &)*arg3
);
23400 wxPyEndAllowThreads(__tstate
);
23401 if (PyErr_Occurred()) SWIG_fail
;
23403 Py_INCREF(Py_None
); resultobj
= Py_None
;
23410 static PyObject
*_wrap_Window_SetVirtualSizeHints__SWIG_1(PyObject
*self
, PyObject
*args
) {
23411 PyObject
*resultobj
;
23412 wxWindow
*arg1
= (wxWindow
*) 0 ;
23415 int arg4
= (int) -1 ;
23416 int arg5
= (int) -1 ;
23417 PyObject
* obj0
= 0 ;
23418 PyObject
* obj1
= 0 ;
23419 PyObject
* obj2
= 0 ;
23420 PyObject
* obj3
= 0 ;
23421 PyObject
* obj4
= 0 ;
23423 if(!PyArg_ParseTuple(args
,(char *)"OOO|OO:Window_SetVirtualSizeHints",&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
23424 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23425 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23426 arg2
= (int) SWIG_AsInt(obj1
);
23427 if (PyErr_Occurred()) SWIG_fail
;
23428 arg3
= (int) SWIG_AsInt(obj2
);
23429 if (PyErr_Occurred()) SWIG_fail
;
23431 arg4
= (int) SWIG_AsInt(obj3
);
23432 if (PyErr_Occurred()) SWIG_fail
;
23435 arg5
= (int) SWIG_AsInt(obj4
);
23436 if (PyErr_Occurred()) SWIG_fail
;
23439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23440 (arg1
)->SetVirtualSizeHints(arg2
,arg3
,arg4
,arg5
);
23442 wxPyEndAllowThreads(__tstate
);
23443 if (PyErr_Occurred()) SWIG_fail
;
23445 Py_INCREF(Py_None
); resultobj
= Py_None
;
23452 static PyObject
*_wrap_Window_SetVirtualSizeHints(PyObject
*self
, PyObject
*args
) {
23457 argc
= PyObject_Length(args
);
23458 for (ii
= 0; (ii
< argc
) && (ii
< 5); ii
++) {
23459 argv
[ii
] = PyTuple_GetItem(args
,ii
);
23461 if ((argc
>= 2) && (argc
<= 3)) {
23465 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
23474 _v
= wxPySimple_typecheck(argv
[1], wxT("wxSize"), 2);
23478 return _wrap_Window_SetVirtualSizeHints__SWIG_0(self
,args
);
23481 _v
= wxPySimple_typecheck(argv
[2], wxT("wxSize"), 2);
23484 return _wrap_Window_SetVirtualSizeHints__SWIG_0(self
,args
);
23489 if ((argc
>= 3) && (argc
<= 5)) {
23493 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
23501 _v
= SWIG_CheckInt(argv
[1]);
23503 _v
= SWIG_CheckInt(argv
[2]);
23506 return _wrap_Window_SetVirtualSizeHints__SWIG_1(self
,args
);
23508 _v
= SWIG_CheckInt(argv
[3]);
23511 return _wrap_Window_SetVirtualSizeHints__SWIG_1(self
,args
);
23513 _v
= SWIG_CheckInt(argv
[4]);
23515 return _wrap_Window_SetVirtualSizeHints__SWIG_1(self
,args
);
23523 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'Window_SetVirtualSizeHints'");
23528 static PyObject
*_wrap_Window_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23529 PyObject
*resultobj
;
23530 wxWindow
*arg1
= (wxWindow
*) 0 ;
23532 PyObject
* obj0
= 0 ;
23533 char *kwnames
[] = {
23534 (char *) "self", NULL
23537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxSize",kwnames
,&obj0
)) goto fail
;
23538 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23539 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23542 result
= ((wxWindow
const *)arg1
)->GetMaxSize();
23544 wxPyEndAllowThreads(__tstate
);
23545 if (PyErr_Occurred()) SWIG_fail
;
23548 wxSize
* resultptr
;
23549 resultptr
= new wxSize((wxSize
&) result
);
23550 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23558 static PyObject
*_wrap_Window_GetMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23559 PyObject
*resultobj
;
23560 wxWindow
*arg1
= (wxWindow
*) 0 ;
23562 PyObject
* obj0
= 0 ;
23563 char *kwnames
[] = {
23564 (char *) "self", NULL
23567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinSize",kwnames
,&obj0
)) goto fail
;
23568 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23569 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23572 result
= ((wxWindow
const *)arg1
)->GetMinSize();
23574 wxPyEndAllowThreads(__tstate
);
23575 if (PyErr_Occurred()) SWIG_fail
;
23578 wxSize
* resultptr
;
23579 resultptr
= new wxSize((wxSize
&) result
);
23580 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23588 static PyObject
*_wrap_Window_SetMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23589 PyObject
*resultobj
;
23590 wxWindow
*arg1
= (wxWindow
*) 0 ;
23593 PyObject
* obj0
= 0 ;
23594 PyObject
* obj1
= 0 ;
23595 char *kwnames
[] = {
23596 (char *) "self",(char *) "minSize", NULL
23599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetMinSize",kwnames
,&obj0
,&obj1
)) goto fail
;
23600 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23601 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23604 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
23607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23608 (arg1
)->SetMinSize((wxSize
const &)*arg2
);
23610 wxPyEndAllowThreads(__tstate
);
23611 if (PyErr_Occurred()) SWIG_fail
;
23613 Py_INCREF(Py_None
); resultobj
= Py_None
;
23620 static PyObject
*_wrap_Window_SetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23621 PyObject
*resultobj
;
23622 wxWindow
*arg1
= (wxWindow
*) 0 ;
23625 PyObject
* obj0
= 0 ;
23626 PyObject
* obj1
= 0 ;
23627 char *kwnames
[] = {
23628 (char *) "self",(char *) "maxSize", NULL
23631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetMaxSize",kwnames
,&obj0
,&obj1
)) goto fail
;
23632 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23633 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23636 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
23639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23640 (arg1
)->SetMaxSize((wxSize
const &)*arg2
);
23642 wxPyEndAllowThreads(__tstate
);
23643 if (PyErr_Occurred()) SWIG_fail
;
23645 Py_INCREF(Py_None
); resultobj
= Py_None
;
23652 static PyObject
*_wrap_Window_GetMinWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23653 PyObject
*resultobj
;
23654 wxWindow
*arg1
= (wxWindow
*) 0 ;
23656 PyObject
* obj0
= 0 ;
23657 char *kwnames
[] = {
23658 (char *) "self", NULL
23661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinWidth",kwnames
,&obj0
)) goto fail
;
23662 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23663 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23666 result
= (int)((wxWindow
const *)arg1
)->GetMinWidth();
23668 wxPyEndAllowThreads(__tstate
);
23669 if (PyErr_Occurred()) SWIG_fail
;
23671 resultobj
= SWIG_FromInt((int)result
);
23678 static PyObject
*_wrap_Window_GetMinHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23679 PyObject
*resultobj
;
23680 wxWindow
*arg1
= (wxWindow
*) 0 ;
23682 PyObject
* obj0
= 0 ;
23683 char *kwnames
[] = {
23684 (char *) "self", NULL
23687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinHeight",kwnames
,&obj0
)) goto fail
;
23688 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23689 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23692 result
= (int)((wxWindow
const *)arg1
)->GetMinHeight();
23694 wxPyEndAllowThreads(__tstate
);
23695 if (PyErr_Occurred()) SWIG_fail
;
23697 resultobj
= SWIG_FromInt((int)result
);
23704 static PyObject
*_wrap_Window_GetMaxWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23705 PyObject
*resultobj
;
23706 wxWindow
*arg1
= (wxWindow
*) 0 ;
23708 PyObject
* obj0
= 0 ;
23709 char *kwnames
[] = {
23710 (char *) "self", NULL
23713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxWidth",kwnames
,&obj0
)) goto fail
;
23714 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23715 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23718 result
= (int)((wxWindow
const *)arg1
)->GetMaxWidth();
23720 wxPyEndAllowThreads(__tstate
);
23721 if (PyErr_Occurred()) SWIG_fail
;
23723 resultobj
= SWIG_FromInt((int)result
);
23730 static PyObject
*_wrap_Window_GetMaxHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23731 PyObject
*resultobj
;
23732 wxWindow
*arg1
= (wxWindow
*) 0 ;
23734 PyObject
* obj0
= 0 ;
23735 char *kwnames
[] = {
23736 (char *) "self", NULL
23739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxHeight",kwnames
,&obj0
)) goto fail
;
23740 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23741 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23744 result
= (int)((wxWindow
const *)arg1
)->GetMaxHeight();
23746 wxPyEndAllowThreads(__tstate
);
23747 if (PyErr_Occurred()) SWIG_fail
;
23749 resultobj
= SWIG_FromInt((int)result
);
23756 static PyObject
*_wrap_Window_SetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23757 PyObject
*resultobj
;
23758 wxWindow
*arg1
= (wxWindow
*) 0 ;
23761 PyObject
* obj0
= 0 ;
23762 PyObject
* obj1
= 0 ;
23763 char *kwnames
[] = {
23764 (char *) "self",(char *) "size", NULL
23767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetVirtualSize",kwnames
,&obj0
,&obj1
)) goto fail
;
23768 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23769 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23772 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
23775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23776 (arg1
)->SetVirtualSize((wxSize
const &)*arg2
);
23778 wxPyEndAllowThreads(__tstate
);
23779 if (PyErr_Occurred()) SWIG_fail
;
23781 Py_INCREF(Py_None
); resultobj
= Py_None
;
23788 static PyObject
*_wrap_Window_SetVirtualSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23789 PyObject
*resultobj
;
23790 wxWindow
*arg1
= (wxWindow
*) 0 ;
23793 PyObject
* obj0
= 0 ;
23794 PyObject
* obj1
= 0 ;
23795 PyObject
* obj2
= 0 ;
23796 char *kwnames
[] = {
23797 (char *) "self",(char *) "w",(char *) "h", NULL
23800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetVirtualSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23801 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23802 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23803 arg2
= (int) SWIG_AsInt(obj1
);
23804 if (PyErr_Occurred()) SWIG_fail
;
23805 arg3
= (int) SWIG_AsInt(obj2
);
23806 if (PyErr_Occurred()) SWIG_fail
;
23808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23809 (arg1
)->SetVirtualSize(arg2
,arg3
);
23811 wxPyEndAllowThreads(__tstate
);
23812 if (PyErr_Occurred()) SWIG_fail
;
23814 Py_INCREF(Py_None
); resultobj
= Py_None
;
23821 static PyObject
*_wrap_Window_GetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23822 PyObject
*resultobj
;
23823 wxWindow
*arg1
= (wxWindow
*) 0 ;
23825 PyObject
* obj0
= 0 ;
23826 char *kwnames
[] = {
23827 (char *) "self", NULL
23830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetVirtualSize",kwnames
,&obj0
)) goto fail
;
23831 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23832 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23835 result
= ((wxWindow
const *)arg1
)->GetVirtualSize();
23837 wxPyEndAllowThreads(__tstate
);
23838 if (PyErr_Occurred()) SWIG_fail
;
23841 wxSize
* resultptr
;
23842 resultptr
= new wxSize((wxSize
&) result
);
23843 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23851 static PyObject
*_wrap_Window_GetVirtualSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23852 PyObject
*resultobj
;
23853 wxWindow
*arg1
= (wxWindow
*) 0 ;
23854 int *arg2
= (int *) 0 ;
23855 int *arg3
= (int *) 0 ;
23858 PyObject
* obj0
= 0 ;
23859 char *kwnames
[] = {
23860 (char *) "self", NULL
23865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetVirtualSizeTuple",kwnames
,&obj0
)) goto fail
;
23866 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23867 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23870 ((wxWindow
const *)arg1
)->GetVirtualSize(arg2
,arg3
);
23872 wxPyEndAllowThreads(__tstate
);
23873 if (PyErr_Occurred()) SWIG_fail
;
23875 Py_INCREF(Py_None
); resultobj
= Py_None
;
23877 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
23878 resultobj
= t_output_helper(resultobj
,o
);
23881 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
23882 resultobj
= t_output_helper(resultobj
,o
);
23890 static PyObject
*_wrap_Window_GetBestVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23891 PyObject
*resultobj
;
23892 wxWindow
*arg1
= (wxWindow
*) 0 ;
23894 PyObject
* obj0
= 0 ;
23895 char *kwnames
[] = {
23896 (char *) "self", NULL
23899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestVirtualSize",kwnames
,&obj0
)) goto fail
;
23900 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23901 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23904 result
= ((wxWindow
const *)arg1
)->GetBestVirtualSize();
23906 wxPyEndAllowThreads(__tstate
);
23907 if (PyErr_Occurred()) SWIG_fail
;
23910 wxSize
* resultptr
;
23911 resultptr
= new wxSize((wxSize
&) result
);
23912 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23920 static PyObject
*_wrap_Window_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23921 PyObject
*resultobj
;
23922 wxWindow
*arg1
= (wxWindow
*) 0 ;
23923 bool arg2
= (bool) True
;
23925 PyObject
* obj0
= 0 ;
23926 PyObject
* obj1
= 0 ;
23927 char *kwnames
[] = {
23928 (char *) "self",(char *) "show", NULL
23931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
23932 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23933 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23935 arg2
= (bool) SWIG_AsBool(obj1
);
23936 if (PyErr_Occurred()) SWIG_fail
;
23939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23940 result
= (bool)(arg1
)->Show(arg2
);
23942 wxPyEndAllowThreads(__tstate
);
23943 if (PyErr_Occurred()) SWIG_fail
;
23946 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23954 static PyObject
*_wrap_Window_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23955 PyObject
*resultobj
;
23956 wxWindow
*arg1
= (wxWindow
*) 0 ;
23958 PyObject
* obj0
= 0 ;
23959 char *kwnames
[] = {
23960 (char *) "self", NULL
23963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Hide",kwnames
,&obj0
)) goto fail
;
23964 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23965 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23968 result
= (bool)(arg1
)->Hide();
23970 wxPyEndAllowThreads(__tstate
);
23971 if (PyErr_Occurred()) SWIG_fail
;
23974 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23982 static PyObject
*_wrap_Window_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23983 PyObject
*resultobj
;
23984 wxWindow
*arg1
= (wxWindow
*) 0 ;
23985 bool arg2
= (bool) True
;
23987 PyObject
* obj0
= 0 ;
23988 PyObject
* obj1
= 0 ;
23989 char *kwnames
[] = {
23990 (char *) "self",(char *) "enable", NULL
23993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
23994 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23995 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23997 arg2
= (bool) SWIG_AsBool(obj1
);
23998 if (PyErr_Occurred()) SWIG_fail
;
24001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24002 result
= (bool)(arg1
)->Enable(arg2
);
24004 wxPyEndAllowThreads(__tstate
);
24005 if (PyErr_Occurred()) SWIG_fail
;
24008 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24016 static PyObject
*_wrap_Window_Disable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24017 PyObject
*resultobj
;
24018 wxWindow
*arg1
= (wxWindow
*) 0 ;
24020 PyObject
* obj0
= 0 ;
24021 char *kwnames
[] = {
24022 (char *) "self", NULL
24025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Disable",kwnames
,&obj0
)) goto fail
;
24026 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24027 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24030 result
= (bool)(arg1
)->Disable();
24032 wxPyEndAllowThreads(__tstate
);
24033 if (PyErr_Occurred()) SWIG_fail
;
24036 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24044 static PyObject
*_wrap_Window_IsShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24045 PyObject
*resultobj
;
24046 wxWindow
*arg1
= (wxWindow
*) 0 ;
24048 PyObject
* obj0
= 0 ;
24049 char *kwnames
[] = {
24050 (char *) "self", NULL
24053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsShown",kwnames
,&obj0
)) goto fail
;
24054 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24055 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24058 result
= (bool)((wxWindow
const *)arg1
)->IsShown();
24060 wxPyEndAllowThreads(__tstate
);
24061 if (PyErr_Occurred()) SWIG_fail
;
24064 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24072 static PyObject
*_wrap_Window_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24073 PyObject
*resultobj
;
24074 wxWindow
*arg1
= (wxWindow
*) 0 ;
24076 PyObject
* obj0
= 0 ;
24077 char *kwnames
[] = {
24078 (char *) "self", NULL
24081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsEnabled",kwnames
,&obj0
)) goto fail
;
24082 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24083 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24086 result
= (bool)((wxWindow
const *)arg1
)->IsEnabled();
24088 wxPyEndAllowThreads(__tstate
);
24089 if (PyErr_Occurred()) SWIG_fail
;
24092 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24100 static PyObject
*_wrap_Window_SetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24101 PyObject
*resultobj
;
24102 wxWindow
*arg1
= (wxWindow
*) 0 ;
24104 PyObject
* obj0
= 0 ;
24105 PyObject
* obj1
= 0 ;
24106 char *kwnames
[] = {
24107 (char *) "self",(char *) "style", NULL
24110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetWindowStyleFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
24111 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24112 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24113 arg2
= (long) SWIG_AsLong(obj1
);
24114 if (PyErr_Occurred()) SWIG_fail
;
24116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24117 (arg1
)->SetWindowStyleFlag(arg2
);
24119 wxPyEndAllowThreads(__tstate
);
24120 if (PyErr_Occurred()) SWIG_fail
;
24122 Py_INCREF(Py_None
); resultobj
= Py_None
;
24129 static PyObject
*_wrap_Window_GetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24130 PyObject
*resultobj
;
24131 wxWindow
*arg1
= (wxWindow
*) 0 ;
24133 PyObject
* obj0
= 0 ;
24134 char *kwnames
[] = {
24135 (char *) "self", NULL
24138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetWindowStyleFlag",kwnames
,&obj0
)) goto fail
;
24139 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24140 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24143 result
= (long)((wxWindow
const *)arg1
)->GetWindowStyleFlag();
24145 wxPyEndAllowThreads(__tstate
);
24146 if (PyErr_Occurred()) SWIG_fail
;
24148 resultobj
= SWIG_FromLong((long)result
);
24155 static PyObject
*_wrap_Window_HasFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24156 PyObject
*resultobj
;
24157 wxWindow
*arg1
= (wxWindow
*) 0 ;
24160 PyObject
* obj0
= 0 ;
24161 PyObject
* obj1
= 0 ;
24162 char *kwnames
[] = {
24163 (char *) "self",(char *) "flag", NULL
24166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HasFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
24167 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24168 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24169 arg2
= (int) SWIG_AsInt(obj1
);
24170 if (PyErr_Occurred()) SWIG_fail
;
24172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24173 result
= (bool)((wxWindow
const *)arg1
)->HasFlag(arg2
);
24175 wxPyEndAllowThreads(__tstate
);
24176 if (PyErr_Occurred()) SWIG_fail
;
24179 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24187 static PyObject
*_wrap_Window_IsRetained(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24188 PyObject
*resultobj
;
24189 wxWindow
*arg1
= (wxWindow
*) 0 ;
24191 PyObject
* obj0
= 0 ;
24192 char *kwnames
[] = {
24193 (char *) "self", NULL
24196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsRetained",kwnames
,&obj0
)) goto fail
;
24197 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24198 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24201 result
= (bool)((wxWindow
const *)arg1
)->IsRetained();
24203 wxPyEndAllowThreads(__tstate
);
24204 if (PyErr_Occurred()) SWIG_fail
;
24207 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24215 static PyObject
*_wrap_Window_SetExtraStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24216 PyObject
*resultobj
;
24217 wxWindow
*arg1
= (wxWindow
*) 0 ;
24219 PyObject
* obj0
= 0 ;
24220 PyObject
* obj1
= 0 ;
24221 char *kwnames
[] = {
24222 (char *) "self",(char *) "exStyle", NULL
24225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetExtraStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
24226 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24227 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24228 arg2
= (long) SWIG_AsLong(obj1
);
24229 if (PyErr_Occurred()) SWIG_fail
;
24231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24232 (arg1
)->SetExtraStyle(arg2
);
24234 wxPyEndAllowThreads(__tstate
);
24235 if (PyErr_Occurred()) SWIG_fail
;
24237 Py_INCREF(Py_None
); resultobj
= Py_None
;
24244 static PyObject
*_wrap_Window_GetExtraStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24245 PyObject
*resultobj
;
24246 wxWindow
*arg1
= (wxWindow
*) 0 ;
24248 PyObject
* obj0
= 0 ;
24249 char *kwnames
[] = {
24250 (char *) "self", NULL
24253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetExtraStyle",kwnames
,&obj0
)) goto fail
;
24254 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24255 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24258 result
= (long)((wxWindow
const *)arg1
)->GetExtraStyle();
24260 wxPyEndAllowThreads(__tstate
);
24261 if (PyErr_Occurred()) SWIG_fail
;
24263 resultobj
= SWIG_FromLong((long)result
);
24270 static PyObject
*_wrap_Window_MakeModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24271 PyObject
*resultobj
;
24272 wxWindow
*arg1
= (wxWindow
*) 0 ;
24273 bool arg2
= (bool) True
;
24274 PyObject
* obj0
= 0 ;
24275 PyObject
* obj1
= 0 ;
24276 char *kwnames
[] = {
24277 (char *) "self",(char *) "modal", NULL
24280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_MakeModal",kwnames
,&obj0
,&obj1
)) goto fail
;
24281 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24282 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24284 arg2
= (bool) SWIG_AsBool(obj1
);
24285 if (PyErr_Occurred()) SWIG_fail
;
24288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24289 (arg1
)->MakeModal(arg2
);
24291 wxPyEndAllowThreads(__tstate
);
24292 if (PyErr_Occurred()) SWIG_fail
;
24294 Py_INCREF(Py_None
); resultobj
= Py_None
;
24301 static PyObject
*_wrap_Window_SetThemeEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24302 PyObject
*resultobj
;
24303 wxWindow
*arg1
= (wxWindow
*) 0 ;
24305 PyObject
* obj0
= 0 ;
24306 PyObject
* obj1
= 0 ;
24307 char *kwnames
[] = {
24308 (char *) "self",(char *) "enableTheme", NULL
24311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetThemeEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
24312 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24313 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24314 arg2
= (bool) SWIG_AsBool(obj1
);
24315 if (PyErr_Occurred()) SWIG_fail
;
24317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24318 (arg1
)->SetThemeEnabled(arg2
);
24320 wxPyEndAllowThreads(__tstate
);
24321 if (PyErr_Occurred()) SWIG_fail
;
24323 Py_INCREF(Py_None
); resultobj
= Py_None
;
24330 static PyObject
*_wrap_Window_GetThemeEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24331 PyObject
*resultobj
;
24332 wxWindow
*arg1
= (wxWindow
*) 0 ;
24334 PyObject
* obj0
= 0 ;
24335 char *kwnames
[] = {
24336 (char *) "self", NULL
24339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetThemeEnabled",kwnames
,&obj0
)) goto fail
;
24340 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24344 result
= (bool)((wxWindow
const *)arg1
)->GetThemeEnabled();
24346 wxPyEndAllowThreads(__tstate
);
24347 if (PyErr_Occurred()) SWIG_fail
;
24350 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24358 static PyObject
*_wrap_Window_SetFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24359 PyObject
*resultobj
;
24360 wxWindow
*arg1
= (wxWindow
*) 0 ;
24361 PyObject
* obj0
= 0 ;
24362 char *kwnames
[] = {
24363 (char *) "self", NULL
24366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_SetFocus",kwnames
,&obj0
)) goto fail
;
24367 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24368 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24371 (arg1
)->SetFocus();
24373 wxPyEndAllowThreads(__tstate
);
24374 if (PyErr_Occurred()) SWIG_fail
;
24376 Py_INCREF(Py_None
); resultobj
= Py_None
;
24383 static PyObject
*_wrap_Window_SetFocusFromKbd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24384 PyObject
*resultobj
;
24385 wxWindow
*arg1
= (wxWindow
*) 0 ;
24386 PyObject
* obj0
= 0 ;
24387 char *kwnames
[] = {
24388 (char *) "self", NULL
24391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_SetFocusFromKbd",kwnames
,&obj0
)) goto fail
;
24392 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24393 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24396 (arg1
)->SetFocusFromKbd();
24398 wxPyEndAllowThreads(__tstate
);
24399 if (PyErr_Occurred()) SWIG_fail
;
24401 Py_INCREF(Py_None
); resultobj
= Py_None
;
24408 static PyObject
*_wrap_Window_FindFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24409 PyObject
*resultobj
;
24411 char *kwnames
[] = {
24415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_FindFocus",kwnames
)) goto fail
;
24417 if (!wxPyCheckForApp()) SWIG_fail
;
24418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24419 result
= (wxWindow
*)wxWindow::FindFocus();
24421 wxPyEndAllowThreads(__tstate
);
24422 if (PyErr_Occurred()) SWIG_fail
;
24425 resultobj
= wxPyMake_wxObject(result
, 0);
24433 static PyObject
*_wrap_Window_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24434 PyObject
*resultobj
;
24435 wxWindow
*arg1
= (wxWindow
*) 0 ;
24437 PyObject
* obj0
= 0 ;
24438 char *kwnames
[] = {
24439 (char *) "self", NULL
24442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
24443 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24444 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24447 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocus();
24449 wxPyEndAllowThreads(__tstate
);
24450 if (PyErr_Occurred()) SWIG_fail
;
24453 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24461 static PyObject
*_wrap_Window_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24462 PyObject
*resultobj
;
24463 wxWindow
*arg1
= (wxWindow
*) 0 ;
24465 PyObject
* obj0
= 0 ;
24466 char *kwnames
[] = {
24467 (char *) "self", NULL
24470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
24471 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24472 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24475 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocusFromKeyboard();
24477 wxPyEndAllowThreads(__tstate
);
24478 if (PyErr_Occurred()) SWIG_fail
;
24481 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24489 static PyObject
*_wrap_Window_GetDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24490 PyObject
*resultobj
;
24491 wxWindow
*arg1
= (wxWindow
*) 0 ;
24493 PyObject
* obj0
= 0 ;
24494 char *kwnames
[] = {
24495 (char *) "self", NULL
24498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDefaultItem",kwnames
,&obj0
)) goto fail
;
24499 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24500 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24503 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetDefaultItem();
24505 wxPyEndAllowThreads(__tstate
);
24506 if (PyErr_Occurred()) SWIG_fail
;
24509 resultobj
= wxPyMake_wxObject(result
, 0);
24517 static PyObject
*_wrap_Window_SetDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24518 PyObject
*resultobj
;
24519 wxWindow
*arg1
= (wxWindow
*) 0 ;
24520 wxWindow
*arg2
= (wxWindow
*) 0 ;
24522 PyObject
* obj0
= 0 ;
24523 PyObject
* obj1
= 0 ;
24524 char *kwnames
[] = {
24525 (char *) "self",(char *) "child", NULL
24528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDefaultItem",kwnames
,&obj0
,&obj1
)) goto fail
;
24529 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24530 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24531 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
24532 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24535 result
= (wxWindow
*)(arg1
)->SetDefaultItem(arg2
);
24537 wxPyEndAllowThreads(__tstate
);
24538 if (PyErr_Occurred()) SWIG_fail
;
24541 resultobj
= wxPyMake_wxObject(result
, 0);
24549 static PyObject
*_wrap_Window_SetTmpDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24550 PyObject
*resultobj
;
24551 wxWindow
*arg1
= (wxWindow
*) 0 ;
24552 wxWindow
*arg2
= (wxWindow
*) 0 ;
24553 PyObject
* obj0
= 0 ;
24554 PyObject
* obj1
= 0 ;
24555 char *kwnames
[] = {
24556 (char *) "self",(char *) "win", NULL
24559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetTmpDefaultItem",kwnames
,&obj0
,&obj1
)) goto fail
;
24560 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24561 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24562 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
24563 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24566 (arg1
)->SetTmpDefaultItem(arg2
);
24568 wxPyEndAllowThreads(__tstate
);
24569 if (PyErr_Occurred()) SWIG_fail
;
24571 Py_INCREF(Py_None
); resultobj
= Py_None
;
24578 static PyObject
*_wrap_Window_Navigate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24579 PyObject
*resultobj
;
24580 wxWindow
*arg1
= (wxWindow
*) 0 ;
24581 int arg2
= (int) wxNavigationKeyEvent::IsForward
;
24583 PyObject
* obj0
= 0 ;
24584 PyObject
* obj1
= 0 ;
24585 char *kwnames
[] = {
24586 (char *) "self",(char *) "flags", NULL
24589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Navigate",kwnames
,&obj0
,&obj1
)) goto fail
;
24590 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24591 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24593 arg2
= (int) SWIG_AsInt(obj1
);
24594 if (PyErr_Occurred()) SWIG_fail
;
24597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24598 result
= (bool)(arg1
)->Navigate(arg2
);
24600 wxPyEndAllowThreads(__tstate
);
24601 if (PyErr_Occurred()) SWIG_fail
;
24604 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24612 static PyObject
*_wrap_Window_MoveAfterInTabOrder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24613 PyObject
*resultobj
;
24614 wxWindow
*arg1
= (wxWindow
*) 0 ;
24615 wxWindow
*arg2
= (wxWindow
*) 0 ;
24616 PyObject
* obj0
= 0 ;
24617 PyObject
* obj1
= 0 ;
24618 char *kwnames
[] = {
24619 (char *) "self",(char *) "win", NULL
24622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_MoveAfterInTabOrder",kwnames
,&obj0
,&obj1
)) goto fail
;
24623 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24624 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24625 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
24626 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24629 (arg1
)->MoveAfterInTabOrder(arg2
);
24631 wxPyEndAllowThreads(__tstate
);
24632 if (PyErr_Occurred()) SWIG_fail
;
24634 Py_INCREF(Py_None
); resultobj
= Py_None
;
24641 static PyObject
*_wrap_Window_MoveBeforeInTabOrder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24642 PyObject
*resultobj
;
24643 wxWindow
*arg1
= (wxWindow
*) 0 ;
24644 wxWindow
*arg2
= (wxWindow
*) 0 ;
24645 PyObject
* obj0
= 0 ;
24646 PyObject
* obj1
= 0 ;
24647 char *kwnames
[] = {
24648 (char *) "self",(char *) "win", NULL
24651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_MoveBeforeInTabOrder",kwnames
,&obj0
,&obj1
)) goto fail
;
24652 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24653 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24654 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
24655 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24658 (arg1
)->MoveBeforeInTabOrder(arg2
);
24660 wxPyEndAllowThreads(__tstate
);
24661 if (PyErr_Occurred()) SWIG_fail
;
24663 Py_INCREF(Py_None
); resultobj
= Py_None
;
24670 static PyObject
*_wrap_Window_GetChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24671 PyObject
*resultobj
;
24672 wxWindow
*arg1
= (wxWindow
*) 0 ;
24674 PyObject
* obj0
= 0 ;
24675 char *kwnames
[] = {
24676 (char *) "self", NULL
24679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetChildren",kwnames
,&obj0
)) goto fail
;
24680 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24681 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24684 result
= (PyObject
*)wxWindow_GetChildren(arg1
);
24686 wxPyEndAllowThreads(__tstate
);
24687 if (PyErr_Occurred()) SWIG_fail
;
24689 resultobj
= result
;
24696 static PyObject
*_wrap_Window_GetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24697 PyObject
*resultobj
;
24698 wxWindow
*arg1
= (wxWindow
*) 0 ;
24700 PyObject
* obj0
= 0 ;
24701 char *kwnames
[] = {
24702 (char *) "self", NULL
24705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetParent",kwnames
,&obj0
)) goto fail
;
24706 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24707 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24710 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetParent();
24712 wxPyEndAllowThreads(__tstate
);
24713 if (PyErr_Occurred()) SWIG_fail
;
24716 resultobj
= wxPyMake_wxObject(result
, 0);
24724 static PyObject
*_wrap_Window_GetGrandParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24725 PyObject
*resultobj
;
24726 wxWindow
*arg1
= (wxWindow
*) 0 ;
24728 PyObject
* obj0
= 0 ;
24729 char *kwnames
[] = {
24730 (char *) "self", NULL
24733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetGrandParent",kwnames
,&obj0
)) goto fail
;
24734 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24735 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24738 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetGrandParent();
24740 wxPyEndAllowThreads(__tstate
);
24741 if (PyErr_Occurred()) SWIG_fail
;
24744 resultobj
= wxPyMake_wxObject(result
, 0);
24752 static PyObject
*_wrap_Window_IsTopLevel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24753 PyObject
*resultobj
;
24754 wxWindow
*arg1
= (wxWindow
*) 0 ;
24756 PyObject
* obj0
= 0 ;
24757 char *kwnames
[] = {
24758 (char *) "self", NULL
24761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsTopLevel",kwnames
,&obj0
)) goto fail
;
24762 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24763 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24766 result
= (bool)((wxWindow
const *)arg1
)->IsTopLevel();
24768 wxPyEndAllowThreads(__tstate
);
24769 if (PyErr_Occurred()) SWIG_fail
;
24772 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24780 static PyObject
*_wrap_Window_Reparent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24781 PyObject
*resultobj
;
24782 wxWindow
*arg1
= (wxWindow
*) 0 ;
24783 wxWindow
*arg2
= (wxWindow
*) 0 ;
24785 PyObject
* obj0
= 0 ;
24786 PyObject
* obj1
= 0 ;
24787 char *kwnames
[] = {
24788 (char *) "self",(char *) "newParent", NULL
24791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_Reparent",kwnames
,&obj0
,&obj1
)) goto fail
;
24792 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24793 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24794 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
24795 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24798 result
= (bool)(arg1
)->Reparent(arg2
);
24800 wxPyEndAllowThreads(__tstate
);
24801 if (PyErr_Occurred()) SWIG_fail
;
24804 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24812 static PyObject
*_wrap_Window_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24813 PyObject
*resultobj
;
24814 wxWindow
*arg1
= (wxWindow
*) 0 ;
24815 wxWindow
*arg2
= (wxWindow
*) 0 ;
24816 PyObject
* obj0
= 0 ;
24817 PyObject
* obj1
= 0 ;
24818 char *kwnames
[] = {
24819 (char *) "self",(char *) "child", NULL
24822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
24823 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24824 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24825 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
24826 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24829 (arg1
)->AddChild(arg2
);
24831 wxPyEndAllowThreads(__tstate
);
24832 if (PyErr_Occurred()) SWIG_fail
;
24834 Py_INCREF(Py_None
); resultobj
= Py_None
;
24841 static PyObject
*_wrap_Window_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24842 PyObject
*resultobj
;
24843 wxWindow
*arg1
= (wxWindow
*) 0 ;
24844 wxWindow
*arg2
= (wxWindow
*) 0 ;
24845 PyObject
* obj0
= 0 ;
24846 PyObject
* obj1
= 0 ;
24847 char *kwnames
[] = {
24848 (char *) "self",(char *) "child", NULL
24851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
24852 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24853 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24854 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
24855 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24858 (arg1
)->RemoveChild(arg2
);
24860 wxPyEndAllowThreads(__tstate
);
24861 if (PyErr_Occurred()) SWIG_fail
;
24863 Py_INCREF(Py_None
); resultobj
= Py_None
;
24870 static PyObject
*_wrap_Window_FindWindowById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24871 PyObject
*resultobj
;
24872 wxWindow
*arg1
= (wxWindow
*) 0 ;
24875 PyObject
* obj0
= 0 ;
24876 PyObject
* obj1
= 0 ;
24877 char *kwnames
[] = {
24878 (char *) "self",(char *) "winid", NULL
24881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FindWindowById",kwnames
,&obj0
,&obj1
)) goto fail
;
24882 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24884 arg2
= (long) SWIG_AsLong(obj1
);
24885 if (PyErr_Occurred()) SWIG_fail
;
24887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24888 result
= (wxWindow
*)(arg1
)->FindWindow(arg2
);
24890 wxPyEndAllowThreads(__tstate
);
24891 if (PyErr_Occurred()) SWIG_fail
;
24894 resultobj
= wxPyMake_wxObject(result
, 0);
24902 static PyObject
*_wrap_Window_FindWindowByName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24903 PyObject
*resultobj
;
24904 wxWindow
*arg1
= (wxWindow
*) 0 ;
24905 wxString
*arg2
= 0 ;
24907 bool temp2
= False
;
24908 PyObject
* obj0
= 0 ;
24909 PyObject
* obj1
= 0 ;
24910 char *kwnames
[] = {
24911 (char *) "self",(char *) "name", NULL
24914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FindWindowByName",kwnames
,&obj0
,&obj1
)) goto fail
;
24915 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24916 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24918 arg2
= wxString_in_helper(obj1
);
24919 if (arg2
== NULL
) SWIG_fail
;
24923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24924 result
= (wxWindow
*)(arg1
)->FindWindow((wxString
const &)*arg2
);
24926 wxPyEndAllowThreads(__tstate
);
24927 if (PyErr_Occurred()) SWIG_fail
;
24930 resultobj
= wxPyMake_wxObject(result
, 0);
24946 static PyObject
*_wrap_Window_GetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24947 PyObject
*resultobj
;
24948 wxWindow
*arg1
= (wxWindow
*) 0 ;
24949 wxEvtHandler
*result
;
24950 PyObject
* obj0
= 0 ;
24951 char *kwnames
[] = {
24952 (char *) "self", NULL
24955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetEventHandler",kwnames
,&obj0
)) goto fail
;
24956 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24957 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24960 result
= (wxEvtHandler
*)((wxWindow
const *)arg1
)->GetEventHandler();
24962 wxPyEndAllowThreads(__tstate
);
24963 if (PyErr_Occurred()) SWIG_fail
;
24966 resultobj
= wxPyMake_wxObject(result
, 0);
24974 static PyObject
*_wrap_Window_SetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24975 PyObject
*resultobj
;
24976 wxWindow
*arg1
= (wxWindow
*) 0 ;
24977 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
24978 PyObject
* obj0
= 0 ;
24979 PyObject
* obj1
= 0 ;
24980 char *kwnames
[] = {
24981 (char *) "self",(char *) "handler", NULL
24984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
24985 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24986 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24987 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
24988 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24991 (arg1
)->SetEventHandler(arg2
);
24993 wxPyEndAllowThreads(__tstate
);
24994 if (PyErr_Occurred()) SWIG_fail
;
24996 Py_INCREF(Py_None
); resultobj
= Py_None
;
25003 static PyObject
*_wrap_Window_PushEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25004 PyObject
*resultobj
;
25005 wxWindow
*arg1
= (wxWindow
*) 0 ;
25006 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
25007 PyObject
* obj0
= 0 ;
25008 PyObject
* obj1
= 0 ;
25009 char *kwnames
[] = {
25010 (char *) "self",(char *) "handler", NULL
25013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PushEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
25014 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25015 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25016 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
25017 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25020 (arg1
)->PushEventHandler(arg2
);
25022 wxPyEndAllowThreads(__tstate
);
25023 if (PyErr_Occurred()) SWIG_fail
;
25025 Py_INCREF(Py_None
); resultobj
= Py_None
;
25032 static PyObject
*_wrap_Window_PopEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25033 PyObject
*resultobj
;
25034 wxWindow
*arg1
= (wxWindow
*) 0 ;
25035 bool arg2
= (bool) False
;
25036 wxEvtHandler
*result
;
25037 PyObject
* obj0
= 0 ;
25038 PyObject
* obj1
= 0 ;
25039 char *kwnames
[] = {
25040 (char *) "self",(char *) "deleteHandler", NULL
25043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_PopEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
25044 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25045 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25047 arg2
= (bool) SWIG_AsBool(obj1
);
25048 if (PyErr_Occurred()) SWIG_fail
;
25051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25052 result
= (wxEvtHandler
*)(arg1
)->PopEventHandler(arg2
);
25054 wxPyEndAllowThreads(__tstate
);
25055 if (PyErr_Occurred()) SWIG_fail
;
25058 resultobj
= wxPyMake_wxObject(result
, 0);
25066 static PyObject
*_wrap_Window_RemoveEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25067 PyObject
*resultobj
;
25068 wxWindow
*arg1
= (wxWindow
*) 0 ;
25069 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
25071 PyObject
* obj0
= 0 ;
25072 PyObject
* obj1
= 0 ;
25073 char *kwnames
[] = {
25074 (char *) "self",(char *) "handler", NULL
25077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
25078 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25079 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25080 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
25081 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25084 result
= (bool)(arg1
)->RemoveEventHandler(arg2
);
25086 wxPyEndAllowThreads(__tstate
);
25087 if (PyErr_Occurred()) SWIG_fail
;
25090 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25098 static PyObject
*_wrap_Window_SetValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25099 PyObject
*resultobj
;
25100 wxWindow
*arg1
= (wxWindow
*) 0 ;
25101 wxValidator
*arg2
= 0 ;
25102 PyObject
* obj0
= 0 ;
25103 PyObject
* obj1
= 0 ;
25104 char *kwnames
[] = {
25105 (char *) "self",(char *) "validator", NULL
25108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetValidator",kwnames
,&obj0
,&obj1
)) goto fail
;
25109 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25110 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25111 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxValidator
,
25112 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25114 if (arg2
== NULL
) {
25115 PyErr_SetString(PyExc_TypeError
,"null reference");
25119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25120 (arg1
)->SetValidator((wxValidator
const &)*arg2
);
25122 wxPyEndAllowThreads(__tstate
);
25123 if (PyErr_Occurred()) SWIG_fail
;
25125 Py_INCREF(Py_None
); resultobj
= Py_None
;
25132 static PyObject
*_wrap_Window_GetValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25133 PyObject
*resultobj
;
25134 wxWindow
*arg1
= (wxWindow
*) 0 ;
25135 wxValidator
*result
;
25136 PyObject
* obj0
= 0 ;
25137 char *kwnames
[] = {
25138 (char *) "self", NULL
25141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetValidator",kwnames
,&obj0
)) goto fail
;
25142 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25143 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25146 result
= (wxValidator
*)(arg1
)->GetValidator();
25148 wxPyEndAllowThreads(__tstate
);
25149 if (PyErr_Occurred()) SWIG_fail
;
25152 resultobj
= wxPyMake_wxObject(result
, 0);
25160 static PyObject
*_wrap_Window_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25161 PyObject
*resultobj
;
25162 wxWindow
*arg1
= (wxWindow
*) 0 ;
25164 PyObject
* obj0
= 0 ;
25165 char *kwnames
[] = {
25166 (char *) "self", NULL
25169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Validate",kwnames
,&obj0
)) goto fail
;
25170 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25171 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25174 result
= (bool)(arg1
)->Validate();
25176 wxPyEndAllowThreads(__tstate
);
25177 if (PyErr_Occurred()) SWIG_fail
;
25180 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25188 static PyObject
*_wrap_Window_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25189 PyObject
*resultobj
;
25190 wxWindow
*arg1
= (wxWindow
*) 0 ;
25192 PyObject
* obj0
= 0 ;
25193 char *kwnames
[] = {
25194 (char *) "self", NULL
25197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
25198 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25199 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25202 result
= (bool)(arg1
)->TransferDataToWindow();
25204 wxPyEndAllowThreads(__tstate
);
25205 if (PyErr_Occurred()) SWIG_fail
;
25208 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25216 static PyObject
*_wrap_Window_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25217 PyObject
*resultobj
;
25218 wxWindow
*arg1
= (wxWindow
*) 0 ;
25220 PyObject
* obj0
= 0 ;
25221 char *kwnames
[] = {
25222 (char *) "self", NULL
25225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
25226 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25227 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25230 result
= (bool)(arg1
)->TransferDataFromWindow();
25232 wxPyEndAllowThreads(__tstate
);
25233 if (PyErr_Occurred()) SWIG_fail
;
25236 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25244 static PyObject
*_wrap_Window_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25245 PyObject
*resultobj
;
25246 wxWindow
*arg1
= (wxWindow
*) 0 ;
25247 PyObject
* obj0
= 0 ;
25248 char *kwnames
[] = {
25249 (char *) "self", NULL
25252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InitDialog",kwnames
,&obj0
)) goto fail
;
25253 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25254 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25257 (arg1
)->InitDialog();
25259 wxPyEndAllowThreads(__tstate
);
25260 if (PyErr_Occurred()) SWIG_fail
;
25262 Py_INCREF(Py_None
); resultobj
= Py_None
;
25269 static PyObject
*_wrap_Window_SetAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25270 PyObject
*resultobj
;
25271 wxWindow
*arg1
= (wxWindow
*) 0 ;
25272 wxAcceleratorTable
*arg2
= 0 ;
25273 PyObject
* obj0
= 0 ;
25274 PyObject
* obj1
= 0 ;
25275 char *kwnames
[] = {
25276 (char *) "self",(char *) "accel", NULL
25279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAcceleratorTable",kwnames
,&obj0
,&obj1
)) goto fail
;
25280 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25281 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25282 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxAcceleratorTable
,
25283 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25285 if (arg2
== NULL
) {
25286 PyErr_SetString(PyExc_TypeError
,"null reference");
25290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25291 (arg1
)->SetAcceleratorTable((wxAcceleratorTable
const &)*arg2
);
25293 wxPyEndAllowThreads(__tstate
);
25294 if (PyErr_Occurred()) SWIG_fail
;
25296 Py_INCREF(Py_None
); resultobj
= Py_None
;
25303 static PyObject
*_wrap_Window_GetAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25304 PyObject
*resultobj
;
25305 wxWindow
*arg1
= (wxWindow
*) 0 ;
25306 wxAcceleratorTable
*result
;
25307 PyObject
* obj0
= 0 ;
25308 char *kwnames
[] = {
25309 (char *) "self", NULL
25312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAcceleratorTable",kwnames
,&obj0
)) goto fail
;
25313 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25314 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25317 result
= (wxAcceleratorTable
*)(arg1
)->GetAcceleratorTable();
25319 wxPyEndAllowThreads(__tstate
);
25320 if (PyErr_Occurred()) SWIG_fail
;
25322 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorTable
, 0);
25329 static PyObject
*_wrap_Window_RegisterHotKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25330 PyObject
*resultobj
;
25331 wxWindow
*arg1
= (wxWindow
*) 0 ;
25336 PyObject
* obj0
= 0 ;
25337 PyObject
* obj1
= 0 ;
25338 PyObject
* obj2
= 0 ;
25339 PyObject
* obj3
= 0 ;
25340 char *kwnames
[] = {
25341 (char *) "self",(char *) "hotkeyId",(char *) "modifiers",(char *) "keycode", NULL
25344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Window_RegisterHotKey",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25345 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25346 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25347 arg2
= (int) SWIG_AsInt(obj1
);
25348 if (PyErr_Occurred()) SWIG_fail
;
25349 arg3
= (int) SWIG_AsInt(obj2
);
25350 if (PyErr_Occurred()) SWIG_fail
;
25351 arg4
= (int) SWIG_AsInt(obj3
);
25352 if (PyErr_Occurred()) SWIG_fail
;
25354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25355 result
= (bool)wxWindow_RegisterHotKey(arg1
,arg2
,arg3
,arg4
);
25357 wxPyEndAllowThreads(__tstate
);
25358 if (PyErr_Occurred()) SWIG_fail
;
25361 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25369 static PyObject
*_wrap_Window_UnregisterHotKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25370 PyObject
*resultobj
;
25371 wxWindow
*arg1
= (wxWindow
*) 0 ;
25374 PyObject
* obj0
= 0 ;
25375 PyObject
* obj1
= 0 ;
25376 char *kwnames
[] = {
25377 (char *) "self",(char *) "hotkeyId", NULL
25380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_UnregisterHotKey",kwnames
,&obj0
,&obj1
)) goto fail
;
25381 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25382 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25383 arg2
= (int) SWIG_AsInt(obj1
);
25384 if (PyErr_Occurred()) SWIG_fail
;
25386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25387 result
= (bool)wxWindow_UnregisterHotKey(arg1
,arg2
);
25389 wxPyEndAllowThreads(__tstate
);
25390 if (PyErr_Occurred()) SWIG_fail
;
25393 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25401 static PyObject
*_wrap_Window_ConvertDialogPointToPixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25402 PyObject
*resultobj
;
25403 wxWindow
*arg1
= (wxWindow
*) 0 ;
25404 wxPoint
*arg2
= 0 ;
25407 PyObject
* obj0
= 0 ;
25408 PyObject
* obj1
= 0 ;
25409 char *kwnames
[] = {
25410 (char *) "self",(char *) "pt", NULL
25413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogPointToPixels",kwnames
,&obj0
,&obj1
)) goto fail
;
25414 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25415 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25418 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25422 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
25424 wxPyEndAllowThreads(__tstate
);
25425 if (PyErr_Occurred()) SWIG_fail
;
25428 wxPoint
* resultptr
;
25429 resultptr
= new wxPoint((wxPoint
&) result
);
25430 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
25438 static PyObject
*_wrap_Window_ConvertDialogSizeToPixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25439 PyObject
*resultobj
;
25440 wxWindow
*arg1
= (wxWindow
*) 0 ;
25444 PyObject
* obj0
= 0 ;
25445 PyObject
* obj1
= 0 ;
25446 char *kwnames
[] = {
25447 (char *) "self",(char *) "sz", NULL
25450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogSizeToPixels",kwnames
,&obj0
,&obj1
)) goto fail
;
25451 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25452 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25455 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25459 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
25461 wxPyEndAllowThreads(__tstate
);
25462 if (PyErr_Occurred()) SWIG_fail
;
25465 wxSize
* resultptr
;
25466 resultptr
= new wxSize((wxSize
&) result
);
25467 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
25475 static PyObject
*_wrap_Window_DLG_PNT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25476 PyObject
*resultobj
;
25477 wxWindow
*arg1
= (wxWindow
*) 0 ;
25478 wxPoint
*arg2
= 0 ;
25481 PyObject
* obj0
= 0 ;
25482 PyObject
* obj1
= 0 ;
25483 char *kwnames
[] = {
25484 (char *) "self",(char *) "pt", NULL
25487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_PNT",kwnames
,&obj0
,&obj1
)) goto fail
;
25488 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25489 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25492 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25496 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
25498 wxPyEndAllowThreads(__tstate
);
25499 if (PyErr_Occurred()) SWIG_fail
;
25502 wxPoint
* resultptr
;
25503 resultptr
= new wxPoint((wxPoint
&) result
);
25504 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
25512 static PyObject
*_wrap_Window_DLG_SZE(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25513 PyObject
*resultobj
;
25514 wxWindow
*arg1
= (wxWindow
*) 0 ;
25518 PyObject
* obj0
= 0 ;
25519 PyObject
* obj1
= 0 ;
25520 char *kwnames
[] = {
25521 (char *) "self",(char *) "sz", NULL
25524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_SZE",kwnames
,&obj0
,&obj1
)) goto fail
;
25525 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25526 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25529 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25533 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
25535 wxPyEndAllowThreads(__tstate
);
25536 if (PyErr_Occurred()) SWIG_fail
;
25539 wxSize
* resultptr
;
25540 resultptr
= new wxSize((wxSize
&) result
);
25541 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
25549 static PyObject
*_wrap_Window_ConvertPixelPointToDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25550 PyObject
*resultobj
;
25551 wxWindow
*arg1
= (wxWindow
*) 0 ;
25552 wxPoint
*arg2
= 0 ;
25555 PyObject
* obj0
= 0 ;
25556 PyObject
* obj1
= 0 ;
25557 char *kwnames
[] = {
25558 (char *) "self",(char *) "pt", NULL
25561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelPointToDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
25562 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25563 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25566 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25570 result
= (arg1
)->ConvertPixelsToDialog((wxPoint
const &)*arg2
);
25572 wxPyEndAllowThreads(__tstate
);
25573 if (PyErr_Occurred()) SWIG_fail
;
25576 wxPoint
* resultptr
;
25577 resultptr
= new wxPoint((wxPoint
&) result
);
25578 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
25586 static PyObject
*_wrap_Window_ConvertPixelSizeToDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25587 PyObject
*resultobj
;
25588 wxWindow
*arg1
= (wxWindow
*) 0 ;
25592 PyObject
* obj0
= 0 ;
25593 PyObject
* obj1
= 0 ;
25594 char *kwnames
[] = {
25595 (char *) "self",(char *) "sz", NULL
25598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelSizeToDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
25599 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25600 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25603 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25607 result
= (arg1
)->ConvertPixelsToDialog((wxSize
const &)*arg2
);
25609 wxPyEndAllowThreads(__tstate
);
25610 if (PyErr_Occurred()) SWIG_fail
;
25613 wxSize
* resultptr
;
25614 resultptr
= new wxSize((wxSize
&) result
);
25615 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
25623 static PyObject
*_wrap_Window_WarpPointer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25624 PyObject
*resultobj
;
25625 wxWindow
*arg1
= (wxWindow
*) 0 ;
25628 PyObject
* obj0
= 0 ;
25629 PyObject
* obj1
= 0 ;
25630 PyObject
* obj2
= 0 ;
25631 char *kwnames
[] = {
25632 (char *) "self",(char *) "x",(char *) "y", NULL
25635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_WarpPointer",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25636 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25637 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25638 arg2
= (int) SWIG_AsInt(obj1
);
25639 if (PyErr_Occurred()) SWIG_fail
;
25640 arg3
= (int) SWIG_AsInt(obj2
);
25641 if (PyErr_Occurred()) SWIG_fail
;
25643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25644 (arg1
)->WarpPointer(arg2
,arg3
);
25646 wxPyEndAllowThreads(__tstate
);
25647 if (PyErr_Occurred()) SWIG_fail
;
25649 Py_INCREF(Py_None
); resultobj
= Py_None
;
25656 static PyObject
*_wrap_Window_CaptureMouse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25657 PyObject
*resultobj
;
25658 wxWindow
*arg1
= (wxWindow
*) 0 ;
25659 PyObject
* obj0
= 0 ;
25660 char *kwnames
[] = {
25661 (char *) "self", NULL
25664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_CaptureMouse",kwnames
,&obj0
)) goto fail
;
25665 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25666 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25669 (arg1
)->CaptureMouse();
25671 wxPyEndAllowThreads(__tstate
);
25672 if (PyErr_Occurred()) SWIG_fail
;
25674 Py_INCREF(Py_None
); resultobj
= Py_None
;
25681 static PyObject
*_wrap_Window_ReleaseMouse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25682 PyObject
*resultobj
;
25683 wxWindow
*arg1
= (wxWindow
*) 0 ;
25684 PyObject
* obj0
= 0 ;
25685 char *kwnames
[] = {
25686 (char *) "self", NULL
25689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ReleaseMouse",kwnames
,&obj0
)) goto fail
;
25690 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25691 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25694 (arg1
)->ReleaseMouse();
25696 wxPyEndAllowThreads(__tstate
);
25697 if (PyErr_Occurred()) SWIG_fail
;
25699 Py_INCREF(Py_None
); resultobj
= Py_None
;
25706 static PyObject
*_wrap_Window_GetCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25707 PyObject
*resultobj
;
25709 char *kwnames
[] = {
25713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_GetCapture",kwnames
)) goto fail
;
25715 if (!wxPyCheckForApp()) SWIG_fail
;
25716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25717 result
= (wxWindow
*)wxWindow::GetCapture();
25719 wxPyEndAllowThreads(__tstate
);
25720 if (PyErr_Occurred()) SWIG_fail
;
25723 resultobj
= wxPyMake_wxObject(result
, 0);
25731 static PyObject
*_wrap_Window_HasCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25732 PyObject
*resultobj
;
25733 wxWindow
*arg1
= (wxWindow
*) 0 ;
25735 PyObject
* obj0
= 0 ;
25736 char *kwnames
[] = {
25737 (char *) "self", NULL
25740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_HasCapture",kwnames
,&obj0
)) goto fail
;
25741 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25742 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25745 result
= (bool)((wxWindow
const *)arg1
)->HasCapture();
25747 wxPyEndAllowThreads(__tstate
);
25748 if (PyErr_Occurred()) SWIG_fail
;
25751 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25759 static PyObject
*_wrap_Window_Refresh(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25760 PyObject
*resultobj
;
25761 wxWindow
*arg1
= (wxWindow
*) 0 ;
25762 bool arg2
= (bool) True
;
25763 wxRect
*arg3
= (wxRect
*) NULL
;
25764 PyObject
* obj0
= 0 ;
25765 PyObject
* obj1
= 0 ;
25766 PyObject
* obj2
= 0 ;
25767 char *kwnames
[] = {
25768 (char *) "self",(char *) "eraseBackground",(char *) "rect", NULL
25771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Window_Refresh",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25772 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25773 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25775 arg2
= (bool) SWIG_AsBool(obj1
);
25776 if (PyErr_Occurred()) SWIG_fail
;
25779 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxRect
,
25780 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25784 (arg1
)->Refresh(arg2
,(wxRect
const *)arg3
);
25786 wxPyEndAllowThreads(__tstate
);
25787 if (PyErr_Occurred()) SWIG_fail
;
25789 Py_INCREF(Py_None
); resultobj
= Py_None
;
25796 static PyObject
*_wrap_Window_RefreshRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25797 PyObject
*resultobj
;
25798 wxWindow
*arg1
= (wxWindow
*) 0 ;
25801 PyObject
* obj0
= 0 ;
25802 PyObject
* obj1
= 0 ;
25803 char *kwnames
[] = {
25804 (char *) "self",(char *) "rect", NULL
25807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RefreshRect",kwnames
,&obj0
,&obj1
)) goto fail
;
25808 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25809 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25812 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
25815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25816 (arg1
)->RefreshRect((wxRect
const &)*arg2
);
25818 wxPyEndAllowThreads(__tstate
);
25819 if (PyErr_Occurred()) SWIG_fail
;
25821 Py_INCREF(Py_None
); resultobj
= Py_None
;
25828 static PyObject
*_wrap_Window_Update(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25829 PyObject
*resultobj
;
25830 wxWindow
*arg1
= (wxWindow
*) 0 ;
25831 PyObject
* obj0
= 0 ;
25832 char *kwnames
[] = {
25833 (char *) "self", NULL
25836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Update",kwnames
,&obj0
)) goto fail
;
25837 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25838 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25843 wxPyEndAllowThreads(__tstate
);
25844 if (PyErr_Occurred()) SWIG_fail
;
25846 Py_INCREF(Py_None
); resultobj
= Py_None
;
25853 static PyObject
*_wrap_Window_ClearBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25854 PyObject
*resultobj
;
25855 wxWindow
*arg1
= (wxWindow
*) 0 ;
25856 PyObject
* obj0
= 0 ;
25857 char *kwnames
[] = {
25858 (char *) "self", NULL
25861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ClearBackground",kwnames
,&obj0
)) goto fail
;
25862 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25863 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25866 (arg1
)->ClearBackground();
25868 wxPyEndAllowThreads(__tstate
);
25869 if (PyErr_Occurred()) SWIG_fail
;
25871 Py_INCREF(Py_None
); resultobj
= Py_None
;
25878 static PyObject
*_wrap_Window_Freeze(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25879 PyObject
*resultobj
;
25880 wxWindow
*arg1
= (wxWindow
*) 0 ;
25881 PyObject
* obj0
= 0 ;
25882 char *kwnames
[] = {
25883 (char *) "self", NULL
25886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Freeze",kwnames
,&obj0
)) goto fail
;
25887 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25888 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25893 wxPyEndAllowThreads(__tstate
);
25894 if (PyErr_Occurred()) SWIG_fail
;
25896 Py_INCREF(Py_None
); resultobj
= Py_None
;
25903 static PyObject
*_wrap_Window_Thaw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25904 PyObject
*resultobj
;
25905 wxWindow
*arg1
= (wxWindow
*) 0 ;
25906 PyObject
* obj0
= 0 ;
25907 char *kwnames
[] = {
25908 (char *) "self", NULL
25911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Thaw",kwnames
,&obj0
)) goto fail
;
25912 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25913 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25918 wxPyEndAllowThreads(__tstate
);
25919 if (PyErr_Occurred()) SWIG_fail
;
25921 Py_INCREF(Py_None
); resultobj
= Py_None
;
25928 static PyObject
*_wrap_Window_PrepareDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25929 PyObject
*resultobj
;
25930 wxWindow
*arg1
= (wxWindow
*) 0 ;
25932 PyObject
* obj0
= 0 ;
25933 PyObject
* obj1
= 0 ;
25934 char *kwnames
[] = {
25935 (char *) "self",(char *) "dc", NULL
25938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PrepareDC",kwnames
,&obj0
,&obj1
)) goto fail
;
25939 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25940 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25941 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
25942 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25944 if (arg2
== NULL
) {
25945 PyErr_SetString(PyExc_TypeError
,"null reference");
25949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25950 (arg1
)->PrepareDC(*arg2
);
25952 wxPyEndAllowThreads(__tstate
);
25953 if (PyErr_Occurred()) SWIG_fail
;
25955 Py_INCREF(Py_None
); resultobj
= Py_None
;
25962 static PyObject
*_wrap_Window_GetUpdateRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25963 PyObject
*resultobj
;
25964 wxWindow
*arg1
= (wxWindow
*) 0 ;
25966 PyObject
* obj0
= 0 ;
25967 char *kwnames
[] = {
25968 (char *) "self", NULL
25971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetUpdateRegion",kwnames
,&obj0
)) goto fail
;
25972 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25973 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25977 wxRegion
&_result_ref
= (arg1
)->GetUpdateRegion();
25978 result
= (wxRegion
*) &_result_ref
;
25981 wxPyEndAllowThreads(__tstate
);
25982 if (PyErr_Occurred()) SWIG_fail
;
25984 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 0);
25991 static PyObject
*_wrap_Window_GetUpdateClientRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25992 PyObject
*resultobj
;
25993 wxWindow
*arg1
= (wxWindow
*) 0 ;
25995 PyObject
* obj0
= 0 ;
25996 char *kwnames
[] = {
25997 (char *) "self", NULL
26000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetUpdateClientRect",kwnames
,&obj0
)) goto fail
;
26001 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26002 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26005 result
= ((wxWindow
const *)arg1
)->GetUpdateClientRect();
26007 wxPyEndAllowThreads(__tstate
);
26008 if (PyErr_Occurred()) SWIG_fail
;
26011 wxRect
* resultptr
;
26012 resultptr
= new wxRect((wxRect
&) result
);
26013 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
26021 static PyObject
*_wrap_Window_IsExposed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26022 PyObject
*resultobj
;
26023 wxWindow
*arg1
= (wxWindow
*) 0 ;
26026 int arg4
= (int) 1 ;
26027 int arg5
= (int) 1 ;
26029 PyObject
* obj0
= 0 ;
26030 PyObject
* obj1
= 0 ;
26031 PyObject
* obj2
= 0 ;
26032 PyObject
* obj3
= 0 ;
26033 PyObject
* obj4
= 0 ;
26034 char *kwnames
[] = {
26035 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
26038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Window_IsExposed",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
26039 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26040 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26041 arg2
= (int) SWIG_AsInt(obj1
);
26042 if (PyErr_Occurred()) SWIG_fail
;
26043 arg3
= (int) SWIG_AsInt(obj2
);
26044 if (PyErr_Occurred()) SWIG_fail
;
26046 arg4
= (int) SWIG_AsInt(obj3
);
26047 if (PyErr_Occurred()) SWIG_fail
;
26050 arg5
= (int) SWIG_AsInt(obj4
);
26051 if (PyErr_Occurred()) SWIG_fail
;
26054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26055 result
= (bool)((wxWindow
const *)arg1
)->IsExposed(arg2
,arg3
,arg4
,arg5
);
26057 wxPyEndAllowThreads(__tstate
);
26058 if (PyErr_Occurred()) SWIG_fail
;
26061 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26069 static PyObject
*_wrap_Window_IsExposedPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26070 PyObject
*resultobj
;
26071 wxWindow
*arg1
= (wxWindow
*) 0 ;
26072 wxPoint
*arg2
= 0 ;
26075 PyObject
* obj0
= 0 ;
26076 PyObject
* obj1
= 0 ;
26077 char *kwnames
[] = {
26078 (char *) "self",(char *) "pt", NULL
26081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_IsExposedPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
26082 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26083 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26086 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26090 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxPoint
const &)*arg2
);
26092 wxPyEndAllowThreads(__tstate
);
26093 if (PyErr_Occurred()) SWIG_fail
;
26096 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26104 static PyObject
*_wrap_Window_IsExposedRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26105 PyObject
*resultobj
;
26106 wxWindow
*arg1
= (wxWindow
*) 0 ;
26110 PyObject
* obj0
= 0 ;
26111 PyObject
* obj1
= 0 ;
26112 char *kwnames
[] = {
26113 (char *) "self",(char *) "rect", NULL
26116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_IsExposedRect",kwnames
,&obj0
,&obj1
)) goto fail
;
26117 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26118 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26121 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
26124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26125 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxRect
const &)*arg2
);
26127 wxPyEndAllowThreads(__tstate
);
26128 if (PyErr_Occurred()) SWIG_fail
;
26131 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26139 static PyObject
*_wrap_Window_GetDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26140 PyObject
*resultobj
;
26141 wxWindow
*arg1
= (wxWindow
*) 0 ;
26142 wxVisualAttributes result
;
26143 PyObject
* obj0
= 0 ;
26144 char *kwnames
[] = {
26145 (char *) "self", NULL
26148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
26149 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26150 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26153 result
= ((wxWindow
const *)arg1
)->GetDefaultAttributes();
26155 wxPyEndAllowThreads(__tstate
);
26156 if (PyErr_Occurred()) SWIG_fail
;
26159 wxVisualAttributes
* resultptr
;
26160 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
26161 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
26169 static PyObject
*_wrap_Window_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26170 PyObject
*resultobj
;
26171 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
26172 wxVisualAttributes result
;
26173 PyObject
* obj0
= 0 ;
26174 char *kwnames
[] = {
26175 (char *) "variant", NULL
26178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Window_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
26180 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
26181 if (PyErr_Occurred()) SWIG_fail
;
26184 if (!wxPyCheckForApp()) SWIG_fail
;
26185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26186 result
= wxWindow::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
26188 wxPyEndAllowThreads(__tstate
);
26189 if (PyErr_Occurred()) SWIG_fail
;
26192 wxVisualAttributes
* resultptr
;
26193 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
26194 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
26202 static PyObject
*_wrap_Window_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26203 PyObject
*resultobj
;
26204 wxWindow
*arg1
= (wxWindow
*) 0 ;
26205 wxColour
*arg2
= 0 ;
26208 PyObject
* obj0
= 0 ;
26209 PyObject
* obj1
= 0 ;
26210 char *kwnames
[] = {
26211 (char *) "self",(char *) "colour", NULL
26214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
26215 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26216 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26219 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26223 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
26225 wxPyEndAllowThreads(__tstate
);
26226 if (PyErr_Occurred()) SWIG_fail
;
26229 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26237 static PyObject
*_wrap_Window_SetOwnBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26238 PyObject
*resultobj
;
26239 wxWindow
*arg1
= (wxWindow
*) 0 ;
26240 wxColour
*arg2
= 0 ;
26242 PyObject
* obj0
= 0 ;
26243 PyObject
* obj1
= 0 ;
26244 char *kwnames
[] = {
26245 (char *) "self",(char *) "colour", NULL
26248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
26249 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26250 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26253 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26257 (arg1
)->SetOwnBackgroundColour((wxColour
const &)*arg2
);
26259 wxPyEndAllowThreads(__tstate
);
26260 if (PyErr_Occurred()) SWIG_fail
;
26262 Py_INCREF(Py_None
); resultobj
= Py_None
;
26269 static PyObject
*_wrap_Window_SetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26270 PyObject
*resultobj
;
26271 wxWindow
*arg1
= (wxWindow
*) 0 ;
26272 wxColour
*arg2
= 0 ;
26275 PyObject
* obj0
= 0 ;
26276 PyObject
* obj1
= 0 ;
26277 char *kwnames
[] = {
26278 (char *) "self",(char *) "colour", NULL
26281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
26282 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26283 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26286 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26290 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
26292 wxPyEndAllowThreads(__tstate
);
26293 if (PyErr_Occurred()) SWIG_fail
;
26296 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26304 static PyObject
*_wrap_Window_SetOwnForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26305 PyObject
*resultobj
;
26306 wxWindow
*arg1
= (wxWindow
*) 0 ;
26307 wxColour
*arg2
= 0 ;
26309 PyObject
* obj0
= 0 ;
26310 PyObject
* obj1
= 0 ;
26311 char *kwnames
[] = {
26312 (char *) "self",(char *) "colour", NULL
26315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
26316 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26317 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26320 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26324 (arg1
)->SetOwnForegroundColour((wxColour
const &)*arg2
);
26326 wxPyEndAllowThreads(__tstate
);
26327 if (PyErr_Occurred()) SWIG_fail
;
26329 Py_INCREF(Py_None
); resultobj
= Py_None
;
26336 static PyObject
*_wrap_Window_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26337 PyObject
*resultobj
;
26338 wxWindow
*arg1
= (wxWindow
*) 0 ;
26340 PyObject
* obj0
= 0 ;
26341 char *kwnames
[] = {
26342 (char *) "self", NULL
26345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
26346 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26347 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26350 result
= ((wxWindow
const *)arg1
)->GetBackgroundColour();
26352 wxPyEndAllowThreads(__tstate
);
26353 if (PyErr_Occurred()) SWIG_fail
;
26356 wxColour
* resultptr
;
26357 resultptr
= new wxColour((wxColour
&) result
);
26358 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
26366 static PyObject
*_wrap_Window_GetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26367 PyObject
*resultobj
;
26368 wxWindow
*arg1
= (wxWindow
*) 0 ;
26370 PyObject
* obj0
= 0 ;
26371 char *kwnames
[] = {
26372 (char *) "self", NULL
26375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetForegroundColour",kwnames
,&obj0
)) goto fail
;
26376 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26377 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26380 result
= ((wxWindow
const *)arg1
)->GetForegroundColour();
26382 wxPyEndAllowThreads(__tstate
);
26383 if (PyErr_Occurred()) SWIG_fail
;
26386 wxColour
* resultptr
;
26387 resultptr
= new wxColour((wxColour
&) result
);
26388 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
26396 static PyObject
*_wrap_Window_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26397 PyObject
*resultobj
;
26398 wxWindow
*arg1
= (wxWindow
*) 0 ;
26399 wxCursor
*arg2
= 0 ;
26401 PyObject
* obj0
= 0 ;
26402 PyObject
* obj1
= 0 ;
26403 char *kwnames
[] = {
26404 (char *) "self",(char *) "cursor", NULL
26407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
26408 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26409 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26410 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
26411 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26413 if (arg2
== NULL
) {
26414 PyErr_SetString(PyExc_TypeError
,"null reference");
26418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26419 result
= (bool)(arg1
)->SetCursor((wxCursor
const &)*arg2
);
26421 wxPyEndAllowThreads(__tstate
);
26422 if (PyErr_Occurred()) SWIG_fail
;
26425 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26433 static PyObject
*_wrap_Window_GetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26434 PyObject
*resultobj
;
26435 wxWindow
*arg1
= (wxWindow
*) 0 ;
26437 PyObject
* obj0
= 0 ;
26438 char *kwnames
[] = {
26439 (char *) "self", NULL
26442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCursor",kwnames
,&obj0
)) goto fail
;
26443 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26444 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26447 result
= (arg1
)->GetCursor();
26449 wxPyEndAllowThreads(__tstate
);
26450 if (PyErr_Occurred()) SWIG_fail
;
26453 wxCursor
* resultptr
;
26454 resultptr
= new wxCursor((wxCursor
&) result
);
26455 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxCursor
, 1);
26463 static PyObject
*_wrap_Window_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26464 PyObject
*resultobj
;
26465 wxWindow
*arg1
= (wxWindow
*) 0 ;
26468 PyObject
* obj0
= 0 ;
26469 PyObject
* obj1
= 0 ;
26470 char *kwnames
[] = {
26471 (char *) "self",(char *) "font", NULL
26474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
26475 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26476 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26477 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
26478 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26480 if (arg2
== NULL
) {
26481 PyErr_SetString(PyExc_TypeError
,"null reference");
26485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26486 result
= (bool)(arg1
)->SetFont((wxFont
const &)*arg2
);
26488 wxPyEndAllowThreads(__tstate
);
26489 if (PyErr_Occurred()) SWIG_fail
;
26492 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26500 static PyObject
*_wrap_Window_SetOwnFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26501 PyObject
*resultobj
;
26502 wxWindow
*arg1
= (wxWindow
*) 0 ;
26504 PyObject
* obj0
= 0 ;
26505 PyObject
* obj1
= 0 ;
26506 char *kwnames
[] = {
26507 (char *) "self",(char *) "font", NULL
26510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnFont",kwnames
,&obj0
,&obj1
)) goto fail
;
26511 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26512 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26513 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
26514 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26516 if (arg2
== NULL
) {
26517 PyErr_SetString(PyExc_TypeError
,"null reference");
26521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26522 (arg1
)->SetOwnFont((wxFont
const &)*arg2
);
26524 wxPyEndAllowThreads(__tstate
);
26525 if (PyErr_Occurred()) SWIG_fail
;
26527 Py_INCREF(Py_None
); resultobj
= Py_None
;
26534 static PyObject
*_wrap_Window_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26535 PyObject
*resultobj
;
26536 wxWindow
*arg1
= (wxWindow
*) 0 ;
26538 PyObject
* obj0
= 0 ;
26539 char *kwnames
[] = {
26540 (char *) "self", NULL
26543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetFont",kwnames
,&obj0
)) goto fail
;
26544 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26545 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26548 result
= (arg1
)->GetFont();
26550 wxPyEndAllowThreads(__tstate
);
26551 if (PyErr_Occurred()) SWIG_fail
;
26554 wxFont
* resultptr
;
26555 resultptr
= new wxFont((wxFont
&) result
);
26556 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
26564 static PyObject
*_wrap_Window_SetCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26565 PyObject
*resultobj
;
26566 wxWindow
*arg1
= (wxWindow
*) 0 ;
26567 wxCaret
*arg2
= (wxCaret
*) 0 ;
26568 PyObject
* obj0
= 0 ;
26569 PyObject
* obj1
= 0 ;
26570 char *kwnames
[] = {
26571 (char *) "self",(char *) "caret", NULL
26574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCaret",kwnames
,&obj0
,&obj1
)) goto fail
;
26575 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26576 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26577 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCaret
,
26578 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26581 (arg1
)->SetCaret(arg2
);
26583 wxPyEndAllowThreads(__tstate
);
26584 if (PyErr_Occurred()) SWIG_fail
;
26586 Py_INCREF(Py_None
); resultobj
= Py_None
;
26593 static PyObject
*_wrap_Window_GetCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26594 PyObject
*resultobj
;
26595 wxWindow
*arg1
= (wxWindow
*) 0 ;
26597 PyObject
* obj0
= 0 ;
26598 char *kwnames
[] = {
26599 (char *) "self", NULL
26602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCaret",kwnames
,&obj0
)) goto fail
;
26603 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26604 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26607 result
= (wxCaret
*)((wxWindow
const *)arg1
)->GetCaret();
26609 wxPyEndAllowThreads(__tstate
);
26610 if (PyErr_Occurred()) SWIG_fail
;
26612 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCaret
, 0);
26619 static PyObject
*_wrap_Window_GetCharHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26620 PyObject
*resultobj
;
26621 wxWindow
*arg1
= (wxWindow
*) 0 ;
26623 PyObject
* obj0
= 0 ;
26624 char *kwnames
[] = {
26625 (char *) "self", NULL
26628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCharHeight",kwnames
,&obj0
)) goto fail
;
26629 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26630 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26633 result
= (int)((wxWindow
const *)arg1
)->GetCharHeight();
26635 wxPyEndAllowThreads(__tstate
);
26636 if (PyErr_Occurred()) SWIG_fail
;
26638 resultobj
= SWIG_FromInt((int)result
);
26645 static PyObject
*_wrap_Window_GetCharWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26646 PyObject
*resultobj
;
26647 wxWindow
*arg1
= (wxWindow
*) 0 ;
26649 PyObject
* obj0
= 0 ;
26650 char *kwnames
[] = {
26651 (char *) "self", NULL
26654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCharWidth",kwnames
,&obj0
)) goto fail
;
26655 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26656 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26659 result
= (int)((wxWindow
const *)arg1
)->GetCharWidth();
26661 wxPyEndAllowThreads(__tstate
);
26662 if (PyErr_Occurred()) SWIG_fail
;
26664 resultobj
= SWIG_FromInt((int)result
);
26671 static PyObject
*_wrap_Window_GetTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26672 PyObject
*resultobj
;
26673 wxWindow
*arg1
= (wxWindow
*) 0 ;
26674 wxString
*arg2
= 0 ;
26675 int *arg3
= (int *) 0 ;
26676 int *arg4
= (int *) 0 ;
26677 bool temp2
= False
;
26680 PyObject
* obj0
= 0 ;
26681 PyObject
* obj1
= 0 ;
26682 char *kwnames
[] = {
26683 (char *) "self",(char *) "string", NULL
26688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetTextExtent",kwnames
,&obj0
,&obj1
)) goto fail
;
26689 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26690 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26692 arg2
= wxString_in_helper(obj1
);
26693 if (arg2
== NULL
) SWIG_fail
;
26697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26698 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
26700 wxPyEndAllowThreads(__tstate
);
26701 if (PyErr_Occurred()) SWIG_fail
;
26703 Py_INCREF(Py_None
); resultobj
= Py_None
;
26705 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
26706 resultobj
= t_output_helper(resultobj
,o
);
26709 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
26710 resultobj
= t_output_helper(resultobj
,o
);
26726 static PyObject
*_wrap_Window_GetFullTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26727 PyObject
*resultobj
;
26728 wxWindow
*arg1
= (wxWindow
*) 0 ;
26729 wxString
*arg2
= 0 ;
26730 int *arg3
= (int *) 0 ;
26731 int *arg4
= (int *) 0 ;
26732 int *arg5
= (int *) 0 ;
26733 int *arg6
= (int *) 0 ;
26734 wxFont
*arg7
= (wxFont
*) NULL
;
26735 bool temp2
= False
;
26740 PyObject
* obj0
= 0 ;
26741 PyObject
* obj1
= 0 ;
26742 PyObject
* obj2
= 0 ;
26743 char *kwnames
[] = {
26744 (char *) "self",(char *) "string",(char *) "font", NULL
26751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26752 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26753 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26755 arg2
= wxString_in_helper(obj1
);
26756 if (arg2
== NULL
) SWIG_fail
;
26760 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg7
),SWIGTYPE_p_wxFont
,
26761 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26765 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,(wxFont
const *)arg7
);
26767 wxPyEndAllowThreads(__tstate
);
26768 if (PyErr_Occurred()) SWIG_fail
;
26770 Py_INCREF(Py_None
); resultobj
= Py_None
;
26772 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
26773 resultobj
= t_output_helper(resultobj
,o
);
26776 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
26777 resultobj
= t_output_helper(resultobj
,o
);
26780 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
26781 resultobj
= t_output_helper(resultobj
,o
);
26784 PyObject
*o
= PyInt_FromLong((long) (*arg6
));
26785 resultobj
= t_output_helper(resultobj
,o
);
26801 static PyObject
*_wrap_Window_ClientToScreenXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26802 PyObject
*resultobj
;
26803 wxWindow
*arg1
= (wxWindow
*) 0 ;
26804 int *arg2
= (int *) 0 ;
26805 int *arg3
= (int *) 0 ;
26808 PyObject
* obj0
= 0 ;
26809 PyObject
* obj1
= 0 ;
26810 PyObject
* obj2
= 0 ;
26811 char *kwnames
[] = {
26812 (char *) "self",(char *) "x",(char *) "y", NULL
26815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ClientToScreenXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26816 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26817 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26819 temp2
= PyInt_AsLong(obj1
);
26820 if (PyErr_Occurred()) SWIG_fail
;
26824 temp3
= PyInt_AsLong(obj2
);
26825 if (PyErr_Occurred()) SWIG_fail
;
26829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26830 ((wxWindow
const *)arg1
)->ClientToScreen(arg2
,arg3
);
26832 wxPyEndAllowThreads(__tstate
);
26833 if (PyErr_Occurred()) SWIG_fail
;
26835 Py_INCREF(Py_None
); resultobj
= Py_None
;
26837 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
26838 resultobj
= t_output_helper(resultobj
,o
);
26841 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
26842 resultobj
= t_output_helper(resultobj
,o
);
26850 static PyObject
*_wrap_Window_ScreenToClientXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26851 PyObject
*resultobj
;
26852 wxWindow
*arg1
= (wxWindow
*) 0 ;
26853 int *arg2
= (int *) 0 ;
26854 int *arg3
= (int *) 0 ;
26857 PyObject
* obj0
= 0 ;
26858 PyObject
* obj1
= 0 ;
26859 PyObject
* obj2
= 0 ;
26860 char *kwnames
[] = {
26861 (char *) "self",(char *) "x",(char *) "y", NULL
26864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ScreenToClientXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26865 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26866 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26868 temp2
= PyInt_AsLong(obj1
);
26869 if (PyErr_Occurred()) SWIG_fail
;
26873 temp3
= PyInt_AsLong(obj2
);
26874 if (PyErr_Occurred()) SWIG_fail
;
26878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26879 ((wxWindow
const *)arg1
)->ScreenToClient(arg2
,arg3
);
26881 wxPyEndAllowThreads(__tstate
);
26882 if (PyErr_Occurred()) SWIG_fail
;
26884 Py_INCREF(Py_None
); resultobj
= Py_None
;
26886 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
26887 resultobj
= t_output_helper(resultobj
,o
);
26890 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
26891 resultobj
= t_output_helper(resultobj
,o
);
26899 static PyObject
*_wrap_Window_ClientToScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26900 PyObject
*resultobj
;
26901 wxWindow
*arg1
= (wxWindow
*) 0 ;
26902 wxPoint
*arg2
= 0 ;
26905 PyObject
* obj0
= 0 ;
26906 PyObject
* obj1
= 0 ;
26907 char *kwnames
[] = {
26908 (char *) "self",(char *) "pt", NULL
26911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ClientToScreen",kwnames
,&obj0
,&obj1
)) goto fail
;
26912 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26913 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26916 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26920 result
= ((wxWindow
const *)arg1
)->ClientToScreen((wxPoint
const &)*arg2
);
26922 wxPyEndAllowThreads(__tstate
);
26923 if (PyErr_Occurred()) SWIG_fail
;
26926 wxPoint
* resultptr
;
26927 resultptr
= new wxPoint((wxPoint
&) result
);
26928 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
26936 static PyObject
*_wrap_Window_ScreenToClient(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26937 PyObject
*resultobj
;
26938 wxWindow
*arg1
= (wxWindow
*) 0 ;
26939 wxPoint
*arg2
= 0 ;
26942 PyObject
* obj0
= 0 ;
26943 PyObject
* obj1
= 0 ;
26944 char *kwnames
[] = {
26945 (char *) "self",(char *) "pt", NULL
26948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScreenToClient",kwnames
,&obj0
,&obj1
)) goto fail
;
26949 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26950 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26953 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26957 result
= ((wxWindow
const *)arg1
)->ScreenToClient((wxPoint
const &)*arg2
);
26959 wxPyEndAllowThreads(__tstate
);
26960 if (PyErr_Occurred()) SWIG_fail
;
26963 wxPoint
* resultptr
;
26964 resultptr
= new wxPoint((wxPoint
&) result
);
26965 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
26973 static PyObject
*_wrap_Window_HitTestXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26974 PyObject
*resultobj
;
26975 wxWindow
*arg1
= (wxWindow
*) 0 ;
26979 PyObject
* obj0
= 0 ;
26980 PyObject
* obj1
= 0 ;
26981 PyObject
* obj2
= 0 ;
26982 char *kwnames
[] = {
26983 (char *) "self",(char *) "x",(char *) "y", NULL
26986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26987 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26988 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26989 arg2
= (int) SWIG_AsInt(obj1
);
26990 if (PyErr_Occurred()) SWIG_fail
;
26991 arg3
= (int) SWIG_AsInt(obj2
);
26992 if (PyErr_Occurred()) SWIG_fail
;
26994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26995 result
= (int)((wxWindow
const *)arg1
)->HitTest(arg2
,arg3
);
26997 wxPyEndAllowThreads(__tstate
);
26998 if (PyErr_Occurred()) SWIG_fail
;
27000 resultobj
= SWIG_FromInt((int)result
);
27007 static PyObject
*_wrap_Window_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27008 PyObject
*resultobj
;
27009 wxWindow
*arg1
= (wxWindow
*) 0 ;
27010 wxPoint
*arg2
= 0 ;
27013 PyObject
* obj0
= 0 ;
27014 PyObject
* obj1
= 0 ;
27015 char *kwnames
[] = {
27016 (char *) "self",(char *) "pt", NULL
27019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
27020 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27021 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27024 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
27027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27028 result
= (int)((wxWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
27030 wxPyEndAllowThreads(__tstate
);
27031 if (PyErr_Occurred()) SWIG_fail
;
27033 resultobj
= SWIG_FromInt((int)result
);
27040 static PyObject
*_wrap_Window_GetBorder__SWIG_0(PyObject
*self
, PyObject
*args
) {
27041 PyObject
*resultobj
;
27042 wxWindow
*arg1
= (wxWindow
*) 0 ;
27045 PyObject
* obj0
= 0 ;
27046 PyObject
* obj1
= 0 ;
27048 if(!PyArg_ParseTuple(args
,(char *)"OO:Window_GetBorder",&obj0
,&obj1
)) goto fail
;
27049 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27050 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27051 arg2
= (long) SWIG_AsLong(obj1
);
27052 if (PyErr_Occurred()) SWIG_fail
;
27054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27055 result
= (int)((wxWindow
const *)arg1
)->GetBorder(arg2
);
27057 wxPyEndAllowThreads(__tstate
);
27058 if (PyErr_Occurred()) SWIG_fail
;
27060 resultobj
= SWIG_FromInt((int)result
);
27067 static PyObject
*_wrap_Window_GetBorder__SWIG_1(PyObject
*self
, PyObject
*args
) {
27068 PyObject
*resultobj
;
27069 wxWindow
*arg1
= (wxWindow
*) 0 ;
27071 PyObject
* obj0
= 0 ;
27073 if(!PyArg_ParseTuple(args
,(char *)"O:Window_GetBorder",&obj0
)) goto fail
;
27074 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27075 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27078 result
= (int)((wxWindow
const *)arg1
)->GetBorder();
27080 wxPyEndAllowThreads(__tstate
);
27081 if (PyErr_Occurred()) SWIG_fail
;
27083 resultobj
= SWIG_FromInt((int)result
);
27090 static PyObject
*_wrap_Window_GetBorder(PyObject
*self
, PyObject
*args
) {
27095 argc
= PyObject_Length(args
);
27096 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
27097 argv
[ii
] = PyTuple_GetItem(args
,ii
);
27103 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
27111 return _wrap_Window_GetBorder__SWIG_1(self
,args
);
27118 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
27126 _v
= SWIG_CheckLong(argv
[1]);
27128 return _wrap_Window_GetBorder__SWIG_0(self
,args
);
27133 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'Window_GetBorder'");
27138 static PyObject
*_wrap_Window_UpdateWindowUI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27139 PyObject
*resultobj
;
27140 wxWindow
*arg1
= (wxWindow
*) 0 ;
27141 long arg2
= (long) wxUPDATE_UI_NONE
;
27142 PyObject
* obj0
= 0 ;
27143 PyObject
* obj1
= 0 ;
27144 char *kwnames
[] = {
27145 (char *) "self",(char *) "flags", NULL
27148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_UpdateWindowUI",kwnames
,&obj0
,&obj1
)) goto fail
;
27149 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27150 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27152 arg2
= (long) SWIG_AsLong(obj1
);
27153 if (PyErr_Occurred()) SWIG_fail
;
27156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27157 (arg1
)->UpdateWindowUI(arg2
);
27159 wxPyEndAllowThreads(__tstate
);
27160 if (PyErr_Occurred()) SWIG_fail
;
27162 Py_INCREF(Py_None
); resultobj
= Py_None
;
27169 static PyObject
*_wrap_Window_PopupMenuXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27170 PyObject
*resultobj
;
27171 wxWindow
*arg1
= (wxWindow
*) 0 ;
27172 wxMenu
*arg2
= (wxMenu
*) 0 ;
27173 int arg3
= (int) -1 ;
27174 int arg4
= (int) -1 ;
27176 PyObject
* obj0
= 0 ;
27177 PyObject
* obj1
= 0 ;
27178 PyObject
* obj2
= 0 ;
27179 PyObject
* obj3
= 0 ;
27180 char *kwnames
[] = {
27181 (char *) "self",(char *) "menu",(char *) "x",(char *) "y", NULL
27184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Window_PopupMenuXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27185 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27186 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27187 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
27188 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27190 arg3
= (int) SWIG_AsInt(obj2
);
27191 if (PyErr_Occurred()) SWIG_fail
;
27194 arg4
= (int) SWIG_AsInt(obj3
);
27195 if (PyErr_Occurred()) SWIG_fail
;
27198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27199 result
= (bool)(arg1
)->PopupMenu(arg2
,arg3
,arg4
);
27201 wxPyEndAllowThreads(__tstate
);
27202 if (PyErr_Occurred()) SWIG_fail
;
27205 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27213 static PyObject
*_wrap_Window_PopupMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27214 PyObject
*resultobj
;
27215 wxWindow
*arg1
= (wxWindow
*) 0 ;
27216 wxMenu
*arg2
= (wxMenu
*) 0 ;
27217 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
27218 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
27221 PyObject
* obj0
= 0 ;
27222 PyObject
* obj1
= 0 ;
27223 PyObject
* obj2
= 0 ;
27224 char *kwnames
[] = {
27225 (char *) "self",(char *) "menu",(char *) "pos", NULL
27228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_PopupMenu",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27229 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27230 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27231 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
27232 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27236 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
27240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27241 result
= (bool)(arg1
)->PopupMenu(arg2
,(wxPoint
const &)*arg3
);
27243 wxPyEndAllowThreads(__tstate
);
27244 if (PyErr_Occurred()) SWIG_fail
;
27247 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27255 static PyObject
*_wrap_Window_GetHandle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27256 PyObject
*resultobj
;
27257 wxWindow
*arg1
= (wxWindow
*) 0 ;
27259 PyObject
* obj0
= 0 ;
27260 char *kwnames
[] = {
27261 (char *) "self", NULL
27264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetHandle",kwnames
,&obj0
)) goto fail
;
27265 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27266 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27269 result
= (long)wxWindow_GetHandle(arg1
);
27271 wxPyEndAllowThreads(__tstate
);
27272 if (PyErr_Occurred()) SWIG_fail
;
27274 resultobj
= SWIG_FromLong((long)result
);
27281 static PyObject
*_wrap_Window_HasScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27282 PyObject
*resultobj
;
27283 wxWindow
*arg1
= (wxWindow
*) 0 ;
27286 PyObject
* obj0
= 0 ;
27287 PyObject
* obj1
= 0 ;
27288 char *kwnames
[] = {
27289 (char *) "self",(char *) "orient", NULL
27292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HasScrollbar",kwnames
,&obj0
,&obj1
)) goto fail
;
27293 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27294 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27295 arg2
= (int) SWIG_AsInt(obj1
);
27296 if (PyErr_Occurred()) SWIG_fail
;
27298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27299 result
= (bool)((wxWindow
const *)arg1
)->HasScrollbar(arg2
);
27301 wxPyEndAllowThreads(__tstate
);
27302 if (PyErr_Occurred()) SWIG_fail
;
27305 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27313 static PyObject
*_wrap_Window_SetScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27314 PyObject
*resultobj
;
27315 wxWindow
*arg1
= (wxWindow
*) 0 ;
27320 bool arg6
= (bool) True
;
27321 PyObject
* obj0
= 0 ;
27322 PyObject
* obj1
= 0 ;
27323 PyObject
* obj2
= 0 ;
27324 PyObject
* obj3
= 0 ;
27325 PyObject
* obj4
= 0 ;
27326 PyObject
* obj5
= 0 ;
27327 char *kwnames
[] = {
27328 (char *) "self",(char *) "orientation",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "refresh", NULL
27331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Window_SetScrollbar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
27332 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27333 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27334 arg2
= (int) SWIG_AsInt(obj1
);
27335 if (PyErr_Occurred()) SWIG_fail
;
27336 arg3
= (int) SWIG_AsInt(obj2
);
27337 if (PyErr_Occurred()) SWIG_fail
;
27338 arg4
= (int) SWIG_AsInt(obj3
);
27339 if (PyErr_Occurred()) SWIG_fail
;
27340 arg5
= (int) SWIG_AsInt(obj4
);
27341 if (PyErr_Occurred()) SWIG_fail
;
27343 arg6
= (bool) SWIG_AsBool(obj5
);
27344 if (PyErr_Occurred()) SWIG_fail
;
27347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27348 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
27350 wxPyEndAllowThreads(__tstate
);
27351 if (PyErr_Occurred()) SWIG_fail
;
27353 Py_INCREF(Py_None
); resultobj
= Py_None
;
27360 static PyObject
*_wrap_Window_SetScrollPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27361 PyObject
*resultobj
;
27362 wxWindow
*arg1
= (wxWindow
*) 0 ;
27365 bool arg4
= (bool) True
;
27366 PyObject
* obj0
= 0 ;
27367 PyObject
* obj1
= 0 ;
27368 PyObject
* obj2
= 0 ;
27369 PyObject
* obj3
= 0 ;
27370 char *kwnames
[] = {
27371 (char *) "self",(char *) "orientation",(char *) "pos",(char *) "refresh", NULL
27374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_SetScrollPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27375 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27377 arg2
= (int) SWIG_AsInt(obj1
);
27378 if (PyErr_Occurred()) SWIG_fail
;
27379 arg3
= (int) SWIG_AsInt(obj2
);
27380 if (PyErr_Occurred()) SWIG_fail
;
27382 arg4
= (bool) SWIG_AsBool(obj3
);
27383 if (PyErr_Occurred()) SWIG_fail
;
27386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27387 (arg1
)->SetScrollPos(arg2
,arg3
,arg4
);
27389 wxPyEndAllowThreads(__tstate
);
27390 if (PyErr_Occurred()) SWIG_fail
;
27392 Py_INCREF(Py_None
); resultobj
= Py_None
;
27399 static PyObject
*_wrap_Window_GetScrollPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27400 PyObject
*resultobj
;
27401 wxWindow
*arg1
= (wxWindow
*) 0 ;
27404 PyObject
* obj0
= 0 ;
27405 PyObject
* obj1
= 0 ;
27406 char *kwnames
[] = {
27407 (char *) "self",(char *) "orientation", NULL
27410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollPos",kwnames
,&obj0
,&obj1
)) goto fail
;
27411 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27412 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27413 arg2
= (int) SWIG_AsInt(obj1
);
27414 if (PyErr_Occurred()) SWIG_fail
;
27416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27417 result
= (int)((wxWindow
const *)arg1
)->GetScrollPos(arg2
);
27419 wxPyEndAllowThreads(__tstate
);
27420 if (PyErr_Occurred()) SWIG_fail
;
27422 resultobj
= SWIG_FromInt((int)result
);
27429 static PyObject
*_wrap_Window_GetScrollThumb(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27430 PyObject
*resultobj
;
27431 wxWindow
*arg1
= (wxWindow
*) 0 ;
27434 PyObject
* obj0
= 0 ;
27435 PyObject
* obj1
= 0 ;
27436 char *kwnames
[] = {
27437 (char *) "self",(char *) "orientation", NULL
27440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollThumb",kwnames
,&obj0
,&obj1
)) goto fail
;
27441 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27442 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27443 arg2
= (int) SWIG_AsInt(obj1
);
27444 if (PyErr_Occurred()) SWIG_fail
;
27446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27447 result
= (int)((wxWindow
const *)arg1
)->GetScrollThumb(arg2
);
27449 wxPyEndAllowThreads(__tstate
);
27450 if (PyErr_Occurred()) SWIG_fail
;
27452 resultobj
= SWIG_FromInt((int)result
);
27459 static PyObject
*_wrap_Window_GetScrollRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27460 PyObject
*resultobj
;
27461 wxWindow
*arg1
= (wxWindow
*) 0 ;
27464 PyObject
* obj0
= 0 ;
27465 PyObject
* obj1
= 0 ;
27466 char *kwnames
[] = {
27467 (char *) "self",(char *) "orientation", NULL
27470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollRange",kwnames
,&obj0
,&obj1
)) goto fail
;
27471 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27472 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27473 arg2
= (int) SWIG_AsInt(obj1
);
27474 if (PyErr_Occurred()) SWIG_fail
;
27476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27477 result
= (int)((wxWindow
const *)arg1
)->GetScrollRange(arg2
);
27479 wxPyEndAllowThreads(__tstate
);
27480 if (PyErr_Occurred()) SWIG_fail
;
27482 resultobj
= SWIG_FromInt((int)result
);
27489 static PyObject
*_wrap_Window_ScrollWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27490 PyObject
*resultobj
;
27491 wxWindow
*arg1
= (wxWindow
*) 0 ;
27494 wxRect
*arg4
= (wxRect
*) NULL
;
27495 PyObject
* obj0
= 0 ;
27496 PyObject
* obj1
= 0 ;
27497 PyObject
* obj2
= 0 ;
27498 PyObject
* obj3
= 0 ;
27499 char *kwnames
[] = {
27500 (char *) "self",(char *) "dx",(char *) "dy",(char *) "rect", NULL
27503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_ScrollWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27504 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27505 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27506 arg2
= (int) SWIG_AsInt(obj1
);
27507 if (PyErr_Occurred()) SWIG_fail
;
27508 arg3
= (int) SWIG_AsInt(obj2
);
27509 if (PyErr_Occurred()) SWIG_fail
;
27511 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxRect
,
27512 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27516 (arg1
)->ScrollWindow(arg2
,arg3
,(wxRect
const *)arg4
);
27518 wxPyEndAllowThreads(__tstate
);
27519 if (PyErr_Occurred()) SWIG_fail
;
27521 Py_INCREF(Py_None
); resultobj
= Py_None
;
27528 static PyObject
*_wrap_Window_ScrollLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27529 PyObject
*resultobj
;
27530 wxWindow
*arg1
= (wxWindow
*) 0 ;
27533 PyObject
* obj0
= 0 ;
27534 PyObject
* obj1
= 0 ;
27535 char *kwnames
[] = {
27536 (char *) "self",(char *) "lines", NULL
27539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScrollLines",kwnames
,&obj0
,&obj1
)) goto fail
;
27540 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27541 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27542 arg2
= (int) SWIG_AsInt(obj1
);
27543 if (PyErr_Occurred()) SWIG_fail
;
27545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27546 result
= (bool)(arg1
)->ScrollLines(arg2
);
27548 wxPyEndAllowThreads(__tstate
);
27549 if (PyErr_Occurred()) SWIG_fail
;
27552 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27560 static PyObject
*_wrap_Window_ScrollPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27561 PyObject
*resultobj
;
27562 wxWindow
*arg1
= (wxWindow
*) 0 ;
27565 PyObject
* obj0
= 0 ;
27566 PyObject
* obj1
= 0 ;
27567 char *kwnames
[] = {
27568 (char *) "self",(char *) "pages", NULL
27571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScrollPages",kwnames
,&obj0
,&obj1
)) goto fail
;
27572 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27573 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27574 arg2
= (int) SWIG_AsInt(obj1
);
27575 if (PyErr_Occurred()) SWIG_fail
;
27577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27578 result
= (bool)(arg1
)->ScrollPages(arg2
);
27580 wxPyEndAllowThreads(__tstate
);
27581 if (PyErr_Occurred()) SWIG_fail
;
27584 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27592 static PyObject
*_wrap_Window_LineUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27593 PyObject
*resultobj
;
27594 wxWindow
*arg1
= (wxWindow
*) 0 ;
27596 PyObject
* obj0
= 0 ;
27597 char *kwnames
[] = {
27598 (char *) "self", NULL
27601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_LineUp",kwnames
,&obj0
)) goto fail
;
27602 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27603 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27606 result
= (bool)(arg1
)->LineUp();
27608 wxPyEndAllowThreads(__tstate
);
27609 if (PyErr_Occurred()) SWIG_fail
;
27612 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27620 static PyObject
*_wrap_Window_LineDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27621 PyObject
*resultobj
;
27622 wxWindow
*arg1
= (wxWindow
*) 0 ;
27624 PyObject
* obj0
= 0 ;
27625 char *kwnames
[] = {
27626 (char *) "self", NULL
27629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_LineDown",kwnames
,&obj0
)) goto fail
;
27630 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27631 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27634 result
= (bool)(arg1
)->LineDown();
27636 wxPyEndAllowThreads(__tstate
);
27637 if (PyErr_Occurred()) SWIG_fail
;
27640 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27648 static PyObject
*_wrap_Window_PageUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27649 PyObject
*resultobj
;
27650 wxWindow
*arg1
= (wxWindow
*) 0 ;
27652 PyObject
* obj0
= 0 ;
27653 char *kwnames
[] = {
27654 (char *) "self", NULL
27657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PageUp",kwnames
,&obj0
)) goto fail
;
27658 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27659 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27662 result
= (bool)(arg1
)->PageUp();
27664 wxPyEndAllowThreads(__tstate
);
27665 if (PyErr_Occurred()) SWIG_fail
;
27668 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27676 static PyObject
*_wrap_Window_PageDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27677 PyObject
*resultobj
;
27678 wxWindow
*arg1
= (wxWindow
*) 0 ;
27680 PyObject
* obj0
= 0 ;
27681 char *kwnames
[] = {
27682 (char *) "self", NULL
27685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PageDown",kwnames
,&obj0
)) goto fail
;
27686 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27687 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27690 result
= (bool)(arg1
)->PageDown();
27692 wxPyEndAllowThreads(__tstate
);
27693 if (PyErr_Occurred()) SWIG_fail
;
27696 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27704 static PyObject
*_wrap_Window_SetHelpText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27705 PyObject
*resultobj
;
27706 wxWindow
*arg1
= (wxWindow
*) 0 ;
27707 wxString
*arg2
= 0 ;
27708 bool temp2
= False
;
27709 PyObject
* obj0
= 0 ;
27710 PyObject
* obj1
= 0 ;
27711 char *kwnames
[] = {
27712 (char *) "self",(char *) "text", NULL
27715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpText",kwnames
,&obj0
,&obj1
)) goto fail
;
27716 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27717 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27719 arg2
= wxString_in_helper(obj1
);
27720 if (arg2
== NULL
) SWIG_fail
;
27724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27725 (arg1
)->SetHelpText((wxString
const &)*arg2
);
27727 wxPyEndAllowThreads(__tstate
);
27728 if (PyErr_Occurred()) SWIG_fail
;
27730 Py_INCREF(Py_None
); resultobj
= Py_None
;
27745 static PyObject
*_wrap_Window_SetHelpTextForId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27746 PyObject
*resultobj
;
27747 wxWindow
*arg1
= (wxWindow
*) 0 ;
27748 wxString
*arg2
= 0 ;
27749 bool temp2
= False
;
27750 PyObject
* obj0
= 0 ;
27751 PyObject
* obj1
= 0 ;
27752 char *kwnames
[] = {
27753 (char *) "self",(char *) "text", NULL
27756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpTextForId",kwnames
,&obj0
,&obj1
)) goto fail
;
27757 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27758 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27760 arg2
= wxString_in_helper(obj1
);
27761 if (arg2
== NULL
) SWIG_fail
;
27765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27766 (arg1
)->SetHelpTextForId((wxString
const &)*arg2
);
27768 wxPyEndAllowThreads(__tstate
);
27769 if (PyErr_Occurred()) SWIG_fail
;
27771 Py_INCREF(Py_None
); resultobj
= Py_None
;
27786 static PyObject
*_wrap_Window_GetHelpText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27787 PyObject
*resultobj
;
27788 wxWindow
*arg1
= (wxWindow
*) 0 ;
27790 PyObject
* obj0
= 0 ;
27791 char *kwnames
[] = {
27792 (char *) "self", NULL
27795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetHelpText",kwnames
,&obj0
)) goto fail
;
27796 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27797 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27800 result
= ((wxWindow
const *)arg1
)->GetHelpText();
27802 wxPyEndAllowThreads(__tstate
);
27803 if (PyErr_Occurred()) SWIG_fail
;
27807 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27809 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27818 static PyObject
*_wrap_Window_SetToolTipString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27819 PyObject
*resultobj
;
27820 wxWindow
*arg1
= (wxWindow
*) 0 ;
27821 wxString
*arg2
= 0 ;
27822 bool temp2
= False
;
27823 PyObject
* obj0
= 0 ;
27824 PyObject
* obj1
= 0 ;
27825 char *kwnames
[] = {
27826 (char *) "self",(char *) "tip", NULL
27829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTipString",kwnames
,&obj0
,&obj1
)) goto fail
;
27830 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27831 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27833 arg2
= wxString_in_helper(obj1
);
27834 if (arg2
== NULL
) SWIG_fail
;
27838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27839 (arg1
)->SetToolTip((wxString
const &)*arg2
);
27841 wxPyEndAllowThreads(__tstate
);
27842 if (PyErr_Occurred()) SWIG_fail
;
27844 Py_INCREF(Py_None
); resultobj
= Py_None
;
27859 static PyObject
*_wrap_Window_SetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27860 PyObject
*resultobj
;
27861 wxWindow
*arg1
= (wxWindow
*) 0 ;
27862 wxToolTip
*arg2
= (wxToolTip
*) 0 ;
27863 PyObject
* obj0
= 0 ;
27864 PyObject
* obj1
= 0 ;
27865 char *kwnames
[] = {
27866 (char *) "self",(char *) "tip", NULL
27869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTip",kwnames
,&obj0
,&obj1
)) goto fail
;
27870 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27871 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27872 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolTip
,
27873 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27876 (arg1
)->SetToolTip(arg2
);
27878 wxPyEndAllowThreads(__tstate
);
27879 if (PyErr_Occurred()) SWIG_fail
;
27881 Py_INCREF(Py_None
); resultobj
= Py_None
;
27888 static PyObject
*_wrap_Window_GetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27889 PyObject
*resultobj
;
27890 wxWindow
*arg1
= (wxWindow
*) 0 ;
27892 PyObject
* obj0
= 0 ;
27893 char *kwnames
[] = {
27894 (char *) "self", NULL
27897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetToolTip",kwnames
,&obj0
)) goto fail
;
27898 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27899 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27902 result
= (wxToolTip
*)((wxWindow
const *)arg1
)->GetToolTip();
27904 wxPyEndAllowThreads(__tstate
);
27905 if (PyErr_Occurred()) SWIG_fail
;
27908 resultobj
= wxPyMake_wxObject(result
, 0);
27916 static PyObject
*_wrap_Window_SetDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27917 PyObject
*resultobj
;
27918 wxWindow
*arg1
= (wxWindow
*) 0 ;
27919 wxPyDropTarget
*arg2
= (wxPyDropTarget
*) 0 ;
27920 PyObject
* obj0
= 0 ;
27921 PyObject
* obj1
= 0 ;
27922 char *kwnames
[] = {
27923 (char *) "self",(char *) "dropTarget", NULL
27926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDropTarget",kwnames
,&obj0
,&obj1
)) goto fail
;
27927 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27928 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27929 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyDropTarget
,
27930 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
27932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27933 (arg1
)->SetDropTarget(arg2
);
27935 wxPyEndAllowThreads(__tstate
);
27936 if (PyErr_Occurred()) SWIG_fail
;
27938 Py_INCREF(Py_None
); resultobj
= Py_None
;
27945 static PyObject
*_wrap_Window_GetDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27946 PyObject
*resultobj
;
27947 wxWindow
*arg1
= (wxWindow
*) 0 ;
27948 wxPyDropTarget
*result
;
27949 PyObject
* obj0
= 0 ;
27950 char *kwnames
[] = {
27951 (char *) "self", NULL
27954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDropTarget",kwnames
,&obj0
)) goto fail
;
27955 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27956 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27959 result
= (wxPyDropTarget
*)((wxWindow
const *)arg1
)->GetDropTarget();
27961 wxPyEndAllowThreads(__tstate
);
27962 if (PyErr_Occurred()) SWIG_fail
;
27964 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropTarget
, 0);
27971 static PyObject
*_wrap_Window_SetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27972 PyObject
*resultobj
;
27973 wxWindow
*arg1
= (wxWindow
*) 0 ;
27974 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
27975 PyObject
* obj0
= 0 ;
27976 PyObject
* obj1
= 0 ;
27977 char *kwnames
[] = {
27978 (char *) "self",(char *) "constraints", NULL
27981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetConstraints",kwnames
,&obj0
,&obj1
)) goto fail
;
27982 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27983 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27984 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxLayoutConstraints
,
27985 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27988 (arg1
)->SetConstraints(arg2
);
27990 wxPyEndAllowThreads(__tstate
);
27991 if (PyErr_Occurred()) SWIG_fail
;
27993 Py_INCREF(Py_None
); resultobj
= Py_None
;
28000 static PyObject
*_wrap_Window_GetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28001 PyObject
*resultobj
;
28002 wxWindow
*arg1
= (wxWindow
*) 0 ;
28003 wxLayoutConstraints
*result
;
28004 PyObject
* obj0
= 0 ;
28005 char *kwnames
[] = {
28006 (char *) "self", NULL
28009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetConstraints",kwnames
,&obj0
)) goto fail
;
28010 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28011 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28014 result
= (wxLayoutConstraints
*)((wxWindow
const *)arg1
)->GetConstraints();
28016 wxPyEndAllowThreads(__tstate
);
28017 if (PyErr_Occurred()) SWIG_fail
;
28019 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutConstraints
, 0);
28026 static PyObject
*_wrap_Window_SetAutoLayout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28027 PyObject
*resultobj
;
28028 wxWindow
*arg1
= (wxWindow
*) 0 ;
28030 PyObject
* obj0
= 0 ;
28031 PyObject
* obj1
= 0 ;
28032 char *kwnames
[] = {
28033 (char *) "self",(char *) "autoLayout", NULL
28036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAutoLayout",kwnames
,&obj0
,&obj1
)) goto fail
;
28037 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28038 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28039 arg2
= (bool) SWIG_AsBool(obj1
);
28040 if (PyErr_Occurred()) SWIG_fail
;
28042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28043 (arg1
)->SetAutoLayout(arg2
);
28045 wxPyEndAllowThreads(__tstate
);
28046 if (PyErr_Occurred()) SWIG_fail
;
28048 Py_INCREF(Py_None
); resultobj
= Py_None
;
28055 static PyObject
*_wrap_Window_GetAutoLayout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28056 PyObject
*resultobj
;
28057 wxWindow
*arg1
= (wxWindow
*) 0 ;
28059 PyObject
* obj0
= 0 ;
28060 char *kwnames
[] = {
28061 (char *) "self", NULL
28064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAutoLayout",kwnames
,&obj0
)) goto fail
;
28065 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28066 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28069 result
= (bool)((wxWindow
const *)arg1
)->GetAutoLayout();
28071 wxPyEndAllowThreads(__tstate
);
28072 if (PyErr_Occurred()) SWIG_fail
;
28075 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28083 static PyObject
*_wrap_Window_Layout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28084 PyObject
*resultobj
;
28085 wxWindow
*arg1
= (wxWindow
*) 0 ;
28087 PyObject
* obj0
= 0 ;
28088 char *kwnames
[] = {
28089 (char *) "self", NULL
28092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Layout",kwnames
,&obj0
)) goto fail
;
28093 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28094 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28097 result
= (bool)(arg1
)->Layout();
28099 wxPyEndAllowThreads(__tstate
);
28100 if (PyErr_Occurred()) SWIG_fail
;
28103 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28111 static PyObject
*_wrap_Window_SetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28112 PyObject
*resultobj
;
28113 wxWindow
*arg1
= (wxWindow
*) 0 ;
28114 wxSizer
*arg2
= (wxSizer
*) 0 ;
28115 bool arg3
= (bool) True
;
28116 PyObject
* obj0
= 0 ;
28117 PyObject
* obj1
= 0 ;
28118 PyObject
* obj2
= 0 ;
28119 char *kwnames
[] = {
28120 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
28123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizer",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28124 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28125 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28126 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
28127 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28129 arg3
= (bool) SWIG_AsBool(obj2
);
28130 if (PyErr_Occurred()) SWIG_fail
;
28133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28134 (arg1
)->SetSizer(arg2
,arg3
);
28136 wxPyEndAllowThreads(__tstate
);
28137 if (PyErr_Occurred()) SWIG_fail
;
28139 Py_INCREF(Py_None
); resultobj
= Py_None
;
28146 static PyObject
*_wrap_Window_SetSizerAndFit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28147 PyObject
*resultobj
;
28148 wxWindow
*arg1
= (wxWindow
*) 0 ;
28149 wxSizer
*arg2
= (wxSizer
*) 0 ;
28150 bool arg3
= (bool) True
;
28151 PyObject
* obj0
= 0 ;
28152 PyObject
* obj1
= 0 ;
28153 PyObject
* obj2
= 0 ;
28154 char *kwnames
[] = {
28155 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
28158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizerAndFit",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28159 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28160 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28161 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
28162 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28164 arg3
= (bool) SWIG_AsBool(obj2
);
28165 if (PyErr_Occurred()) SWIG_fail
;
28168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28169 (arg1
)->SetSizerAndFit(arg2
,arg3
);
28171 wxPyEndAllowThreads(__tstate
);
28172 if (PyErr_Occurred()) SWIG_fail
;
28174 Py_INCREF(Py_None
); resultobj
= Py_None
;
28181 static PyObject
*_wrap_Window_GetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28182 PyObject
*resultobj
;
28183 wxWindow
*arg1
= (wxWindow
*) 0 ;
28185 PyObject
* obj0
= 0 ;
28186 char *kwnames
[] = {
28187 (char *) "self", NULL
28190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSizer",kwnames
,&obj0
)) goto fail
;
28191 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28192 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28195 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetSizer();
28197 wxPyEndAllowThreads(__tstate
);
28198 if (PyErr_Occurred()) SWIG_fail
;
28201 resultobj
= wxPyMake_wxSizer(result
, 0);
28209 static PyObject
*_wrap_Window_SetContainingSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28210 PyObject
*resultobj
;
28211 wxWindow
*arg1
= (wxWindow
*) 0 ;
28212 wxSizer
*arg2
= (wxSizer
*) 0 ;
28213 PyObject
* obj0
= 0 ;
28214 PyObject
* obj1
= 0 ;
28215 char *kwnames
[] = {
28216 (char *) "self",(char *) "sizer", NULL
28219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetContainingSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
28220 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28221 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28222 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
28223 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28226 (arg1
)->SetContainingSizer(arg2
);
28228 wxPyEndAllowThreads(__tstate
);
28229 if (PyErr_Occurred()) SWIG_fail
;
28231 Py_INCREF(Py_None
); resultobj
= Py_None
;
28238 static PyObject
*_wrap_Window_GetContainingSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28239 PyObject
*resultobj
;
28240 wxWindow
*arg1
= (wxWindow
*) 0 ;
28242 PyObject
* obj0
= 0 ;
28243 char *kwnames
[] = {
28244 (char *) "self", NULL
28247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetContainingSizer",kwnames
,&obj0
)) goto fail
;
28248 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28249 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28252 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetContainingSizer();
28254 wxPyEndAllowThreads(__tstate
);
28255 if (PyErr_Occurred()) SWIG_fail
;
28258 resultobj
= wxPyMake_wxSizer(result
, 0);
28266 static PyObject
*_wrap_Window_InheritAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28267 PyObject
*resultobj
;
28268 wxWindow
*arg1
= (wxWindow
*) 0 ;
28269 PyObject
* obj0
= 0 ;
28270 char *kwnames
[] = {
28271 (char *) "self", NULL
28274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InheritAttributes",kwnames
,&obj0
)) goto fail
;
28275 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28276 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28279 (arg1
)->InheritAttributes();
28281 wxPyEndAllowThreads(__tstate
);
28282 if (PyErr_Occurred()) SWIG_fail
;
28284 Py_INCREF(Py_None
); resultobj
= Py_None
;
28291 static PyObject
*_wrap_Window_ShouldInheritColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28292 PyObject
*resultobj
;
28293 wxWindow
*arg1
= (wxWindow
*) 0 ;
28295 PyObject
* obj0
= 0 ;
28296 char *kwnames
[] = {
28297 (char *) "self", NULL
28300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
28301 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28302 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28305 result
= (bool)((wxWindow
const *)arg1
)->ShouldInheritColours();
28307 wxPyEndAllowThreads(__tstate
);
28308 if (PyErr_Occurred()) SWIG_fail
;
28311 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28319 static PyObject
* Window_swigregister(PyObject
*self
, PyObject
*args
) {
28321 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28322 SWIG_TypeClientData(SWIGTYPE_p_wxWindow
, obj
);
28324 return Py_BuildValue((char *)"");
28326 static PyObject
*_wrap_FindWindowById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28327 PyObject
*resultobj
;
28329 wxWindow
*arg2
= (wxWindow
*) NULL
;
28331 PyObject
* obj0
= 0 ;
28332 PyObject
* obj1
= 0 ;
28333 char *kwnames
[] = {
28334 (char *) "id",(char *) "parent", NULL
28337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowById",kwnames
,&obj0
,&obj1
)) goto fail
;
28338 arg1
= (long) SWIG_AsLong(obj0
);
28339 if (PyErr_Occurred()) SWIG_fail
;
28341 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28342 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28345 if (!wxPyCheckForApp()) SWIG_fail
;
28346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28347 result
= (wxWindow
*)wxFindWindowById(arg1
,(wxWindow
const *)arg2
);
28349 wxPyEndAllowThreads(__tstate
);
28350 if (PyErr_Occurred()) SWIG_fail
;
28353 resultobj
= wxPyMake_wxObject(result
, 0);
28361 static PyObject
*_wrap_FindWindowByName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28362 PyObject
*resultobj
;
28363 wxString
*arg1
= 0 ;
28364 wxWindow
*arg2
= (wxWindow
*) NULL
;
28366 bool temp1
= False
;
28367 PyObject
* obj0
= 0 ;
28368 PyObject
* obj1
= 0 ;
28369 char *kwnames
[] = {
28370 (char *) "name",(char *) "parent", NULL
28373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByName",kwnames
,&obj0
,&obj1
)) goto fail
;
28375 arg1
= wxString_in_helper(obj0
);
28376 if (arg1
== NULL
) SWIG_fail
;
28380 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28381 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28384 if (!wxPyCheckForApp()) SWIG_fail
;
28385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28386 result
= (wxWindow
*)wxFindWindowByName((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
28388 wxPyEndAllowThreads(__tstate
);
28389 if (PyErr_Occurred()) SWIG_fail
;
28392 resultobj
= wxPyMake_wxObject(result
, 0);
28408 static PyObject
*_wrap_FindWindowByLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28409 PyObject
*resultobj
;
28410 wxString
*arg1
= 0 ;
28411 wxWindow
*arg2
= (wxWindow
*) NULL
;
28413 bool temp1
= False
;
28414 PyObject
* obj0
= 0 ;
28415 PyObject
* obj1
= 0 ;
28416 char *kwnames
[] = {
28417 (char *) "label",(char *) "parent", NULL
28420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
28422 arg1
= wxString_in_helper(obj0
);
28423 if (arg1
== NULL
) SWIG_fail
;
28427 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28428 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28431 if (!wxPyCheckForApp()) SWIG_fail
;
28432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28433 result
= (wxWindow
*)wxFindWindowByLabel((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
28435 wxPyEndAllowThreads(__tstate
);
28436 if (PyErr_Occurred()) SWIG_fail
;
28439 resultobj
= wxPyMake_wxObject(result
, 0);
28455 static PyObject
*_wrap_Window_FromHWND(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28456 PyObject
*resultobj
;
28457 wxWindow
*arg1
= (wxWindow
*) 0 ;
28458 unsigned long arg2
;
28460 PyObject
* obj0
= 0 ;
28461 PyObject
* obj1
= 0 ;
28462 char *kwnames
[] = {
28463 (char *) "parent",(char *) "_hWnd", NULL
28466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FromHWND",kwnames
,&obj0
,&obj1
)) goto fail
;
28467 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28468 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28469 arg2
= (unsigned long) SWIG_AsUnsignedLong(obj1
);
28470 if (PyErr_Occurred()) SWIG_fail
;
28472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28473 result
= (wxWindow
*)wxWindow_FromHWND(arg1
,arg2
);
28475 wxPyEndAllowThreads(__tstate
);
28476 if (PyErr_Occurred()) SWIG_fail
;
28479 resultobj
= wxPyMake_wxObject(result
, 0);
28487 static PyObject
*_wrap_new_Validator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28488 PyObject
*resultobj
;
28489 wxValidator
*result
;
28490 char *kwnames
[] = {
28494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Validator",kwnames
)) goto fail
;
28496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28497 result
= (wxValidator
*)new wxValidator();
28499 wxPyEndAllowThreads(__tstate
);
28500 if (PyErr_Occurred()) SWIG_fail
;
28503 resultobj
= wxPyMake_wxObject(result
, 1);
28511 static PyObject
*_wrap_Validator_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28512 PyObject
*resultobj
;
28513 wxValidator
*arg1
= (wxValidator
*) 0 ;
28514 wxValidator
*result
;
28515 PyObject
* obj0
= 0 ;
28516 char *kwnames
[] = {
28517 (char *) "self", NULL
28520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_Clone",kwnames
,&obj0
)) goto fail
;
28521 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
28522 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28525 result
= (wxValidator
*)(arg1
)->Clone();
28527 wxPyEndAllowThreads(__tstate
);
28528 if (PyErr_Occurred()) SWIG_fail
;
28531 resultobj
= wxPyMake_wxObject(result
, 0);
28539 static PyObject
*_wrap_Validator_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28540 PyObject
*resultobj
;
28541 wxValidator
*arg1
= (wxValidator
*) 0 ;
28542 wxWindow
*arg2
= (wxWindow
*) 0 ;
28544 PyObject
* obj0
= 0 ;
28545 PyObject
* obj1
= 0 ;
28546 char *kwnames
[] = {
28547 (char *) "self",(char *) "parent", NULL
28550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_Validate",kwnames
,&obj0
,&obj1
)) goto fail
;
28551 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
28552 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28553 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28554 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28557 result
= (bool)(arg1
)->Validate(arg2
);
28559 wxPyEndAllowThreads(__tstate
);
28560 if (PyErr_Occurred()) SWIG_fail
;
28563 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28571 static PyObject
*_wrap_Validator_TransferToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28572 PyObject
*resultobj
;
28573 wxValidator
*arg1
= (wxValidator
*) 0 ;
28575 PyObject
* obj0
= 0 ;
28576 char *kwnames
[] = {
28577 (char *) "self", NULL
28580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_TransferToWindow",kwnames
,&obj0
)) goto fail
;
28581 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
28582 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28585 result
= (bool)(arg1
)->TransferToWindow();
28587 wxPyEndAllowThreads(__tstate
);
28588 if (PyErr_Occurred()) SWIG_fail
;
28591 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28599 static PyObject
*_wrap_Validator_TransferFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28600 PyObject
*resultobj
;
28601 wxValidator
*arg1
= (wxValidator
*) 0 ;
28603 PyObject
* obj0
= 0 ;
28604 char *kwnames
[] = {
28605 (char *) "self", NULL
28608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_TransferFromWindow",kwnames
,&obj0
)) goto fail
;
28609 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
28610 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28613 result
= (bool)(arg1
)->TransferFromWindow();
28615 wxPyEndAllowThreads(__tstate
);
28616 if (PyErr_Occurred()) SWIG_fail
;
28619 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28627 static PyObject
*_wrap_Validator_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28628 PyObject
*resultobj
;
28629 wxValidator
*arg1
= (wxValidator
*) 0 ;
28631 PyObject
* obj0
= 0 ;
28632 char *kwnames
[] = {
28633 (char *) "self", NULL
28636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_GetWindow",kwnames
,&obj0
)) goto fail
;
28637 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
28638 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28641 result
= (wxWindow
*)(arg1
)->GetWindow();
28643 wxPyEndAllowThreads(__tstate
);
28644 if (PyErr_Occurred()) SWIG_fail
;
28647 resultobj
= wxPyMake_wxObject(result
, 0);
28655 static PyObject
*_wrap_Validator_SetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28656 PyObject
*resultobj
;
28657 wxValidator
*arg1
= (wxValidator
*) 0 ;
28658 wxWindow
*arg2
= (wxWindow
*) 0 ;
28659 PyObject
* obj0
= 0 ;
28660 PyObject
* obj1
= 0 ;
28661 char *kwnames
[] = {
28662 (char *) "self",(char *) "window", NULL
28665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
28666 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
28667 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28668 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28669 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28672 (arg1
)->SetWindow(arg2
);
28674 wxPyEndAllowThreads(__tstate
);
28675 if (PyErr_Occurred()) SWIG_fail
;
28677 Py_INCREF(Py_None
); resultobj
= Py_None
;
28684 static PyObject
*_wrap_Validator_IsSilent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28685 PyObject
*resultobj
;
28687 char *kwnames
[] = {
28691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Validator_IsSilent",kwnames
)) goto fail
;
28693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28694 result
= (bool)wxValidator::IsSilent();
28696 wxPyEndAllowThreads(__tstate
);
28697 if (PyErr_Occurred()) SWIG_fail
;
28700 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28708 static PyObject
*_wrap_Validator_SetBellOnError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28709 PyObject
*resultobj
;
28710 int arg1
= (int) True
;
28711 PyObject
* obj0
= 0 ;
28712 char *kwnames
[] = {
28713 (char *) "doIt", NULL
28716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Validator_SetBellOnError",kwnames
,&obj0
)) goto fail
;
28718 arg1
= (int) SWIG_AsInt(obj0
);
28719 if (PyErr_Occurred()) SWIG_fail
;
28722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28723 wxValidator::SetBellOnError(arg1
);
28725 wxPyEndAllowThreads(__tstate
);
28726 if (PyErr_Occurred()) SWIG_fail
;
28728 Py_INCREF(Py_None
); resultobj
= Py_None
;
28735 static PyObject
* Validator_swigregister(PyObject
*self
, PyObject
*args
) {
28737 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28738 SWIG_TypeClientData(SWIGTYPE_p_wxValidator
, obj
);
28740 return Py_BuildValue((char *)"");
28742 static PyObject
*_wrap_new_PyValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28743 PyObject
*resultobj
;
28744 wxPyValidator
*result
;
28745 char *kwnames
[] = {
28749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyValidator",kwnames
)) goto fail
;
28751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28752 result
= (wxPyValidator
*)new wxPyValidator();
28754 wxPyEndAllowThreads(__tstate
);
28755 if (PyErr_Occurred()) SWIG_fail
;
28757 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyValidator
, 1);
28764 static PyObject
*_wrap_PyValidator__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28765 PyObject
*resultobj
;
28766 wxPyValidator
*arg1
= (wxPyValidator
*) 0 ;
28767 PyObject
*arg2
= (PyObject
*) 0 ;
28768 PyObject
*arg3
= (PyObject
*) 0 ;
28769 int arg4
= (int) True
;
28770 PyObject
* obj0
= 0 ;
28771 PyObject
* obj1
= 0 ;
28772 PyObject
* obj2
= 0 ;
28773 PyObject
* obj3
= 0 ;
28774 char *kwnames
[] = {
28775 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
28778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PyValidator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28779 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyValidator
,
28780 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28784 arg4
= (int) SWIG_AsInt(obj3
);
28785 if (PyErr_Occurred()) SWIG_fail
;
28788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28789 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
28791 wxPyEndAllowThreads(__tstate
);
28792 if (PyErr_Occurred()) SWIG_fail
;
28794 Py_INCREF(Py_None
); resultobj
= Py_None
;
28801 static PyObject
* PyValidator_swigregister(PyObject
*self
, PyObject
*args
) {
28803 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28804 SWIG_TypeClientData(SWIGTYPE_p_wxPyValidator
, obj
);
28806 return Py_BuildValue((char *)"");
28808 static int _wrap_DefaultValidator_set(PyObject
*_val
) {
28809 PyErr_SetString(PyExc_TypeError
,"Variable DefaultValidator is read-only.");
28814 static PyObject
*_wrap_DefaultValidator_get() {
28817 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultValidator
), SWIGTYPE_p_wxValidator
, 0);
28822 static PyObject
*_wrap_new_Menu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28823 PyObject
*resultobj
;
28824 wxString
const &arg1_defvalue
= wxPyEmptyString
;
28825 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
28826 long arg2
= (long) 0 ;
28828 bool temp1
= False
;
28829 PyObject
* obj0
= 0 ;
28830 PyObject
* obj1
= 0 ;
28831 char *kwnames
[] = {
28832 (char *) "title",(char *) "style", NULL
28835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Menu",kwnames
,&obj0
,&obj1
)) goto fail
;
28838 arg1
= wxString_in_helper(obj0
);
28839 if (arg1
== NULL
) SWIG_fail
;
28844 arg2
= (long) SWIG_AsLong(obj1
);
28845 if (PyErr_Occurred()) SWIG_fail
;
28848 if (!wxPyCheckForApp()) SWIG_fail
;
28849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28850 result
= (wxMenu
*)new wxMenu((wxString
const &)*arg1
,arg2
);
28852 wxPyEndAllowThreads(__tstate
);
28853 if (PyErr_Occurred()) SWIG_fail
;
28856 resultobj
= wxPyMake_wxObject(result
, 1);
28872 static PyObject
*_wrap_Menu_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28873 PyObject
*resultobj
;
28874 wxMenu
*arg1
= (wxMenu
*) 0 ;
28876 wxString
*arg3
= 0 ;
28877 wxString
const &arg4_defvalue
= wxPyEmptyString
;
28878 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
28879 int arg5
= (int) wxITEM_NORMAL
;
28880 wxMenuItem
*result
;
28881 bool temp3
= False
;
28882 bool temp4
= False
;
28883 PyObject
* obj0
= 0 ;
28884 PyObject
* obj1
= 0 ;
28885 PyObject
* obj2
= 0 ;
28886 PyObject
* obj3
= 0 ;
28887 PyObject
* obj4
= 0 ;
28888 char *kwnames
[] = {
28889 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
28892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Menu_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
28893 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28894 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28895 arg2
= (int) SWIG_AsInt(obj1
);
28896 if (PyErr_Occurred()) SWIG_fail
;
28898 arg3
= wxString_in_helper(obj2
);
28899 if (arg3
== NULL
) SWIG_fail
;
28904 arg4
= wxString_in_helper(obj3
);
28905 if (arg4
== NULL
) SWIG_fail
;
28910 arg5
= (wxItemKind
) SWIG_AsInt(obj4
);
28911 if (PyErr_Occurred()) SWIG_fail
;
28914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28915 result
= (wxMenuItem
*)(arg1
)->Append(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
);
28917 wxPyEndAllowThreads(__tstate
);
28918 if (PyErr_Occurred()) SWIG_fail
;
28921 resultobj
= wxPyMake_wxObject(result
, 0);
28945 static PyObject
*_wrap_Menu_AppendSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28946 PyObject
*resultobj
;
28947 wxMenu
*arg1
= (wxMenu
*) 0 ;
28948 wxMenuItem
*result
;
28949 PyObject
* obj0
= 0 ;
28950 char *kwnames
[] = {
28951 (char *) "self", NULL
28954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_AppendSeparator",kwnames
,&obj0
)) goto fail
;
28955 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28956 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28959 result
= (wxMenuItem
*)(arg1
)->AppendSeparator();
28961 wxPyEndAllowThreads(__tstate
);
28962 if (PyErr_Occurred()) SWIG_fail
;
28965 resultobj
= wxPyMake_wxObject(result
, 0);
28973 static PyObject
*_wrap_Menu_AppendCheckItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28974 PyObject
*resultobj
;
28975 wxMenu
*arg1
= (wxMenu
*) 0 ;
28977 wxString
*arg3
= 0 ;
28978 wxString
const &arg4_defvalue
= wxPyEmptyString
;
28979 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
28980 wxMenuItem
*result
;
28981 bool temp3
= False
;
28982 bool temp4
= False
;
28983 PyObject
* obj0
= 0 ;
28984 PyObject
* obj1
= 0 ;
28985 PyObject
* obj2
= 0 ;
28986 PyObject
* obj3
= 0 ;
28987 char *kwnames
[] = {
28988 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
28991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_AppendCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28992 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28993 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28994 arg2
= (int) SWIG_AsInt(obj1
);
28995 if (PyErr_Occurred()) SWIG_fail
;
28997 arg3
= wxString_in_helper(obj2
);
28998 if (arg3
== NULL
) SWIG_fail
;
29003 arg4
= wxString_in_helper(obj3
);
29004 if (arg4
== NULL
) SWIG_fail
;
29009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29010 result
= (wxMenuItem
*)(arg1
)->AppendCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
29012 wxPyEndAllowThreads(__tstate
);
29013 if (PyErr_Occurred()) SWIG_fail
;
29016 resultobj
= wxPyMake_wxObject(result
, 0);
29040 static PyObject
*_wrap_Menu_AppendRadioItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29041 PyObject
*resultobj
;
29042 wxMenu
*arg1
= (wxMenu
*) 0 ;
29044 wxString
*arg3
= 0 ;
29045 wxString
const &arg4_defvalue
= wxPyEmptyString
;
29046 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
29047 wxMenuItem
*result
;
29048 bool temp3
= False
;
29049 bool temp4
= False
;
29050 PyObject
* obj0
= 0 ;
29051 PyObject
* obj1
= 0 ;
29052 PyObject
* obj2
= 0 ;
29053 PyObject
* obj3
= 0 ;
29054 char *kwnames
[] = {
29055 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
29058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_AppendRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29059 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29060 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29061 arg2
= (int) SWIG_AsInt(obj1
);
29062 if (PyErr_Occurred()) SWIG_fail
;
29064 arg3
= wxString_in_helper(obj2
);
29065 if (arg3
== NULL
) SWIG_fail
;
29070 arg4
= wxString_in_helper(obj3
);
29071 if (arg4
== NULL
) SWIG_fail
;
29076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29077 result
= (wxMenuItem
*)(arg1
)->AppendRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
29079 wxPyEndAllowThreads(__tstate
);
29080 if (PyErr_Occurred()) SWIG_fail
;
29083 resultobj
= wxPyMake_wxObject(result
, 0);
29107 static PyObject
*_wrap_Menu_AppendMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29108 PyObject
*resultobj
;
29109 wxMenu
*arg1
= (wxMenu
*) 0 ;
29111 wxString
*arg3
= 0 ;
29112 wxMenu
*arg4
= (wxMenu
*) 0 ;
29113 wxString
const &arg5_defvalue
= wxPyEmptyString
;
29114 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
29115 wxMenuItem
*result
;
29116 bool temp3
= False
;
29117 bool temp5
= False
;
29118 PyObject
* obj0
= 0 ;
29119 PyObject
* obj1
= 0 ;
29120 PyObject
* obj2
= 0 ;
29121 PyObject
* obj3
= 0 ;
29122 PyObject
* obj4
= 0 ;
29123 char *kwnames
[] = {
29124 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
29127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_AppendMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29128 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29129 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29130 arg2
= (int) SWIG_AsInt(obj1
);
29131 if (PyErr_Occurred()) SWIG_fail
;
29133 arg3
= wxString_in_helper(obj2
);
29134 if (arg3
== NULL
) SWIG_fail
;
29137 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxMenu
,
29138 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29141 arg5
= wxString_in_helper(obj4
);
29142 if (arg5
== NULL
) SWIG_fail
;
29147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29148 result
= (wxMenuItem
*)(arg1
)->Append(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
29150 wxPyEndAllowThreads(__tstate
);
29151 if (PyErr_Occurred()) SWIG_fail
;
29154 resultobj
= wxPyMake_wxObject(result
, 0);
29178 static PyObject
*_wrap_Menu_AppendItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29179 PyObject
*resultobj
;
29180 wxMenu
*arg1
= (wxMenu
*) 0 ;
29181 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
29182 wxMenuItem
*result
;
29183 PyObject
* obj0
= 0 ;
29184 PyObject
* obj1
= 0 ;
29185 char *kwnames
[] = {
29186 (char *) "self",(char *) "item", NULL
29189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_AppendItem",kwnames
,&obj0
,&obj1
)) goto fail
;
29190 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29191 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29192 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
29193 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29196 result
= (wxMenuItem
*)(arg1
)->Append(arg2
);
29198 wxPyEndAllowThreads(__tstate
);
29199 if (PyErr_Occurred()) SWIG_fail
;
29202 resultobj
= wxPyMake_wxObject(result
, 0);
29210 static PyObject
*_wrap_Menu_Break(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29211 PyObject
*resultobj
;
29212 wxMenu
*arg1
= (wxMenu
*) 0 ;
29213 PyObject
* obj0
= 0 ;
29214 char *kwnames
[] = {
29215 (char *) "self", NULL
29218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Break",kwnames
,&obj0
)) goto fail
;
29219 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29220 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29225 wxPyEndAllowThreads(__tstate
);
29226 if (PyErr_Occurred()) SWIG_fail
;
29228 Py_INCREF(Py_None
); resultobj
= Py_None
;
29235 static PyObject
*_wrap_Menu_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29236 PyObject
*resultobj
;
29237 wxMenu
*arg1
= (wxMenu
*) 0 ;
29239 wxMenuItem
*arg3
= (wxMenuItem
*) 0 ;
29240 wxMenuItem
*result
;
29241 PyObject
* obj0
= 0 ;
29242 PyObject
* obj1
= 0 ;
29243 PyObject
* obj2
= 0 ;
29244 char *kwnames
[] = {
29245 (char *) "self",(char *) "pos",(char *) "item", NULL
29248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29249 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29250 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29251 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
29252 if (PyErr_Occurred()) SWIG_fail
;
29253 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMenuItem
,
29254 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29257 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
);
29259 wxPyEndAllowThreads(__tstate
);
29260 if (PyErr_Occurred()) SWIG_fail
;
29263 resultobj
= wxPyMake_wxObject(result
, 0);
29271 static PyObject
*_wrap_Menu_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29272 PyObject
*resultobj
;
29273 wxMenu
*arg1
= (wxMenu
*) 0 ;
29276 wxString
*arg4
= 0 ;
29277 wxString
const &arg5_defvalue
= wxPyEmptyString
;
29278 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
29279 int arg6
= (int) wxITEM_NORMAL
;
29280 wxMenuItem
*result
;
29281 bool temp4
= False
;
29282 bool temp5
= False
;
29283 PyObject
* obj0
= 0 ;
29284 PyObject
* obj1
= 0 ;
29285 PyObject
* obj2
= 0 ;
29286 PyObject
* obj3
= 0 ;
29287 PyObject
* obj4
= 0 ;
29288 PyObject
* obj5
= 0 ;
29289 char *kwnames
[] = {
29290 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
29293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:Menu_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
29294 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29295 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29296 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
29297 if (PyErr_Occurred()) SWIG_fail
;
29298 arg3
= (int) SWIG_AsInt(obj2
);
29299 if (PyErr_Occurred()) SWIG_fail
;
29301 arg4
= wxString_in_helper(obj3
);
29302 if (arg4
== NULL
) SWIG_fail
;
29307 arg5
= wxString_in_helper(obj4
);
29308 if (arg5
== NULL
) SWIG_fail
;
29313 arg6
= (wxItemKind
) SWIG_AsInt(obj5
);
29314 if (PyErr_Occurred()) SWIG_fail
;
29317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29318 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,(wxItemKind
)arg6
);
29320 wxPyEndAllowThreads(__tstate
);
29321 if (PyErr_Occurred()) SWIG_fail
;
29324 resultobj
= wxPyMake_wxObject(result
, 0);
29348 static PyObject
*_wrap_Menu_InsertSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29349 PyObject
*resultobj
;
29350 wxMenu
*arg1
= (wxMenu
*) 0 ;
29352 wxMenuItem
*result
;
29353 PyObject
* obj0
= 0 ;
29354 PyObject
* obj1
= 0 ;
29355 char *kwnames
[] = {
29356 (char *) "self",(char *) "pos", NULL
29359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_InsertSeparator",kwnames
,&obj0
,&obj1
)) goto fail
;
29360 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29361 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29362 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
29363 if (PyErr_Occurred()) SWIG_fail
;
29365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29366 result
= (wxMenuItem
*)(arg1
)->InsertSeparator(arg2
);
29368 wxPyEndAllowThreads(__tstate
);
29369 if (PyErr_Occurred()) SWIG_fail
;
29372 resultobj
= wxPyMake_wxObject(result
, 0);
29380 static PyObject
*_wrap_Menu_InsertCheckItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29381 PyObject
*resultobj
;
29382 wxMenu
*arg1
= (wxMenu
*) 0 ;
29385 wxString
*arg4
= 0 ;
29386 wxString
const &arg5_defvalue
= wxPyEmptyString
;
29387 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
29388 wxMenuItem
*result
;
29389 bool temp4
= False
;
29390 bool temp5
= False
;
29391 PyObject
* obj0
= 0 ;
29392 PyObject
* obj1
= 0 ;
29393 PyObject
* obj2
= 0 ;
29394 PyObject
* obj3
= 0 ;
29395 PyObject
* obj4
= 0 ;
29396 char *kwnames
[] = {
29397 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
29400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_InsertCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29401 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29402 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29403 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
29404 if (PyErr_Occurred()) SWIG_fail
;
29405 arg3
= (int) SWIG_AsInt(obj2
);
29406 if (PyErr_Occurred()) SWIG_fail
;
29408 arg4
= wxString_in_helper(obj3
);
29409 if (arg4
== NULL
) SWIG_fail
;
29414 arg5
= wxString_in_helper(obj4
);
29415 if (arg5
== NULL
) SWIG_fail
;
29420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29421 result
= (wxMenuItem
*)(arg1
)->InsertCheckItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
29423 wxPyEndAllowThreads(__tstate
);
29424 if (PyErr_Occurred()) SWIG_fail
;
29427 resultobj
= wxPyMake_wxObject(result
, 0);
29451 static PyObject
*_wrap_Menu_InsertRadioItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29452 PyObject
*resultobj
;
29453 wxMenu
*arg1
= (wxMenu
*) 0 ;
29456 wxString
*arg4
= 0 ;
29457 wxString
const &arg5_defvalue
= wxPyEmptyString
;
29458 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
29459 wxMenuItem
*result
;
29460 bool temp4
= False
;
29461 bool temp5
= False
;
29462 PyObject
* obj0
= 0 ;
29463 PyObject
* obj1
= 0 ;
29464 PyObject
* obj2
= 0 ;
29465 PyObject
* obj3
= 0 ;
29466 PyObject
* obj4
= 0 ;
29467 char *kwnames
[] = {
29468 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
29471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_InsertRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29472 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29473 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29474 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
29475 if (PyErr_Occurred()) SWIG_fail
;
29476 arg3
= (int) SWIG_AsInt(obj2
);
29477 if (PyErr_Occurred()) SWIG_fail
;
29479 arg4
= wxString_in_helper(obj3
);
29480 if (arg4
== NULL
) SWIG_fail
;
29485 arg5
= wxString_in_helper(obj4
);
29486 if (arg5
== NULL
) SWIG_fail
;
29491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29492 result
= (wxMenuItem
*)(arg1
)->InsertRadioItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
29494 wxPyEndAllowThreads(__tstate
);
29495 if (PyErr_Occurred()) SWIG_fail
;
29498 resultobj
= wxPyMake_wxObject(result
, 0);
29522 static PyObject
*_wrap_Menu_InsertMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29523 PyObject
*resultobj
;
29524 wxMenu
*arg1
= (wxMenu
*) 0 ;
29527 wxString
*arg4
= 0 ;
29528 wxMenu
*arg5
= (wxMenu
*) 0 ;
29529 wxString
const &arg6_defvalue
= wxPyEmptyString
;
29530 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
29531 wxMenuItem
*result
;
29532 bool temp4
= False
;
29533 bool temp6
= False
;
29534 PyObject
* obj0
= 0 ;
29535 PyObject
* obj1
= 0 ;
29536 PyObject
* obj2
= 0 ;
29537 PyObject
* obj3
= 0 ;
29538 PyObject
* obj4
= 0 ;
29539 PyObject
* obj5
= 0 ;
29540 char *kwnames
[] = {
29541 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
29544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Menu_InsertMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
29545 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29546 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29547 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
29548 if (PyErr_Occurred()) SWIG_fail
;
29549 arg3
= (int) SWIG_AsInt(obj2
);
29550 if (PyErr_Occurred()) SWIG_fail
;
29552 arg4
= wxString_in_helper(obj3
);
29553 if (arg4
== NULL
) SWIG_fail
;
29556 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxMenu
,
29557 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29560 arg6
= wxString_in_helper(obj5
);
29561 if (arg6
== NULL
) SWIG_fail
;
29566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29567 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
29569 wxPyEndAllowThreads(__tstate
);
29570 if (PyErr_Occurred()) SWIG_fail
;
29573 resultobj
= wxPyMake_wxObject(result
, 0);
29597 static PyObject
*_wrap_Menu_PrependItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29598 PyObject
*resultobj
;
29599 wxMenu
*arg1
= (wxMenu
*) 0 ;
29600 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
29601 wxMenuItem
*result
;
29602 PyObject
* obj0
= 0 ;
29603 PyObject
* obj1
= 0 ;
29604 char *kwnames
[] = {
29605 (char *) "self",(char *) "item", NULL
29608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_PrependItem",kwnames
,&obj0
,&obj1
)) goto fail
;
29609 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29610 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29611 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
29612 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29615 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
);
29617 wxPyEndAllowThreads(__tstate
);
29618 if (PyErr_Occurred()) SWIG_fail
;
29621 resultobj
= wxPyMake_wxObject(result
, 0);
29629 static PyObject
*_wrap_Menu_Prepend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29630 PyObject
*resultobj
;
29631 wxMenu
*arg1
= (wxMenu
*) 0 ;
29633 wxString
*arg3
= 0 ;
29634 wxString
const &arg4_defvalue
= wxPyEmptyString
;
29635 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
29636 int arg5
= (int) wxITEM_NORMAL
;
29637 wxMenuItem
*result
;
29638 bool temp3
= False
;
29639 bool temp4
= False
;
29640 PyObject
* obj0
= 0 ;
29641 PyObject
* obj1
= 0 ;
29642 PyObject
* obj2
= 0 ;
29643 PyObject
* obj3
= 0 ;
29644 PyObject
* obj4
= 0 ;
29645 char *kwnames
[] = {
29646 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
29649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Menu_Prepend",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29650 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29651 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29652 arg2
= (int) SWIG_AsInt(obj1
);
29653 if (PyErr_Occurred()) SWIG_fail
;
29655 arg3
= wxString_in_helper(obj2
);
29656 if (arg3
== NULL
) SWIG_fail
;
29661 arg4
= wxString_in_helper(obj3
);
29662 if (arg4
== NULL
) SWIG_fail
;
29667 arg5
= (wxItemKind
) SWIG_AsInt(obj4
);
29668 if (PyErr_Occurred()) SWIG_fail
;
29671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29672 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
);
29674 wxPyEndAllowThreads(__tstate
);
29675 if (PyErr_Occurred()) SWIG_fail
;
29678 resultobj
= wxPyMake_wxObject(result
, 0);
29702 static PyObject
*_wrap_Menu_PrependSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29703 PyObject
*resultobj
;
29704 wxMenu
*arg1
= (wxMenu
*) 0 ;
29705 wxMenuItem
*result
;
29706 PyObject
* obj0
= 0 ;
29707 char *kwnames
[] = {
29708 (char *) "self", NULL
29711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_PrependSeparator",kwnames
,&obj0
)) goto fail
;
29712 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29713 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29716 result
= (wxMenuItem
*)(arg1
)->PrependSeparator();
29718 wxPyEndAllowThreads(__tstate
);
29719 if (PyErr_Occurred()) SWIG_fail
;
29722 resultobj
= wxPyMake_wxObject(result
, 0);
29730 static PyObject
*_wrap_Menu_PrependCheckItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29731 PyObject
*resultobj
;
29732 wxMenu
*arg1
= (wxMenu
*) 0 ;
29734 wxString
*arg3
= 0 ;
29735 wxString
const &arg4_defvalue
= wxPyEmptyString
;
29736 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
29737 wxMenuItem
*result
;
29738 bool temp3
= False
;
29739 bool temp4
= False
;
29740 PyObject
* obj0
= 0 ;
29741 PyObject
* obj1
= 0 ;
29742 PyObject
* obj2
= 0 ;
29743 PyObject
* obj3
= 0 ;
29744 char *kwnames
[] = {
29745 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
29748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_PrependCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29749 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29750 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29751 arg2
= (int) SWIG_AsInt(obj1
);
29752 if (PyErr_Occurred()) SWIG_fail
;
29754 arg3
= wxString_in_helper(obj2
);
29755 if (arg3
== NULL
) SWIG_fail
;
29760 arg4
= wxString_in_helper(obj3
);
29761 if (arg4
== NULL
) SWIG_fail
;
29766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29767 result
= (wxMenuItem
*)(arg1
)->PrependCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
29769 wxPyEndAllowThreads(__tstate
);
29770 if (PyErr_Occurred()) SWIG_fail
;
29773 resultobj
= wxPyMake_wxObject(result
, 0);
29797 static PyObject
*_wrap_Menu_PrependRadioItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29798 PyObject
*resultobj
;
29799 wxMenu
*arg1
= (wxMenu
*) 0 ;
29801 wxString
*arg3
= 0 ;
29802 wxString
const &arg4_defvalue
= wxPyEmptyString
;
29803 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
29804 wxMenuItem
*result
;
29805 bool temp3
= False
;
29806 bool temp4
= False
;
29807 PyObject
* obj0
= 0 ;
29808 PyObject
* obj1
= 0 ;
29809 PyObject
* obj2
= 0 ;
29810 PyObject
* obj3
= 0 ;
29811 char *kwnames
[] = {
29812 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
29815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_PrependRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29816 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29817 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29818 arg2
= (int) SWIG_AsInt(obj1
);
29819 if (PyErr_Occurred()) SWIG_fail
;
29821 arg3
= wxString_in_helper(obj2
);
29822 if (arg3
== NULL
) SWIG_fail
;
29827 arg4
= wxString_in_helper(obj3
);
29828 if (arg4
== NULL
) SWIG_fail
;
29833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29834 result
= (wxMenuItem
*)(arg1
)->PrependRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
29836 wxPyEndAllowThreads(__tstate
);
29837 if (PyErr_Occurred()) SWIG_fail
;
29840 resultobj
= wxPyMake_wxObject(result
, 0);
29864 static PyObject
*_wrap_Menu_PrependMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29865 PyObject
*resultobj
;
29866 wxMenu
*arg1
= (wxMenu
*) 0 ;
29868 wxString
*arg3
= 0 ;
29869 wxMenu
*arg4
= (wxMenu
*) 0 ;
29870 wxString
const &arg5_defvalue
= wxPyEmptyString
;
29871 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
29872 wxMenuItem
*result
;
29873 bool temp3
= False
;
29874 bool temp5
= False
;
29875 PyObject
* obj0
= 0 ;
29876 PyObject
* obj1
= 0 ;
29877 PyObject
* obj2
= 0 ;
29878 PyObject
* obj3
= 0 ;
29879 PyObject
* obj4
= 0 ;
29880 char *kwnames
[] = {
29881 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
29884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_PrependMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29885 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29886 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29887 arg2
= (int) SWIG_AsInt(obj1
);
29888 if (PyErr_Occurred()) SWIG_fail
;
29890 arg3
= wxString_in_helper(obj2
);
29891 if (arg3
== NULL
) SWIG_fail
;
29894 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxMenu
,
29895 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29898 arg5
= wxString_in_helper(obj4
);
29899 if (arg5
== NULL
) SWIG_fail
;
29904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29905 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
29907 wxPyEndAllowThreads(__tstate
);
29908 if (PyErr_Occurred()) SWIG_fail
;
29911 resultobj
= wxPyMake_wxObject(result
, 0);
29935 static PyObject
*_wrap_Menu_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29936 PyObject
*resultobj
;
29937 wxMenu
*arg1
= (wxMenu
*) 0 ;
29939 wxMenuItem
*result
;
29940 PyObject
* obj0
= 0 ;
29941 PyObject
* obj1
= 0 ;
29942 char *kwnames
[] = {
29943 (char *) "self",(char *) "id", NULL
29946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
29947 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29948 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29949 arg2
= (int) SWIG_AsInt(obj1
);
29950 if (PyErr_Occurred()) SWIG_fail
;
29952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29953 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
29955 wxPyEndAllowThreads(__tstate
);
29956 if (PyErr_Occurred()) SWIG_fail
;
29959 resultobj
= wxPyMake_wxObject(result
, 0);
29967 static PyObject
*_wrap_Menu_RemoveItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29968 PyObject
*resultobj
;
29969 wxMenu
*arg1
= (wxMenu
*) 0 ;
29970 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
29971 wxMenuItem
*result
;
29972 PyObject
* obj0
= 0 ;
29973 PyObject
* obj1
= 0 ;
29974 char *kwnames
[] = {
29975 (char *) "self",(char *) "item", NULL
29978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_RemoveItem",kwnames
,&obj0
,&obj1
)) goto fail
;
29979 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29980 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29981 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
29982 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29985 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
29987 wxPyEndAllowThreads(__tstate
);
29988 if (PyErr_Occurred()) SWIG_fail
;
29991 resultobj
= wxPyMake_wxObject(result
, 0);
29999 static PyObject
*_wrap_Menu_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30000 PyObject
*resultobj
;
30001 wxMenu
*arg1
= (wxMenu
*) 0 ;
30004 PyObject
* obj0
= 0 ;
30005 PyObject
* obj1
= 0 ;
30006 char *kwnames
[] = {
30007 (char *) "self",(char *) "id", NULL
30010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
30011 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30012 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30013 arg2
= (int) SWIG_AsInt(obj1
);
30014 if (PyErr_Occurred()) SWIG_fail
;
30016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30017 result
= (bool)(arg1
)->Delete(arg2
);
30019 wxPyEndAllowThreads(__tstate
);
30020 if (PyErr_Occurred()) SWIG_fail
;
30023 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30031 static PyObject
*_wrap_Menu_DeleteItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30032 PyObject
*resultobj
;
30033 wxMenu
*arg1
= (wxMenu
*) 0 ;
30034 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
30036 PyObject
* obj0
= 0 ;
30037 PyObject
* obj1
= 0 ;
30038 char *kwnames
[] = {
30039 (char *) "self",(char *) "item", NULL
30042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DeleteItem",kwnames
,&obj0
,&obj1
)) goto fail
;
30043 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30044 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30045 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
30046 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30049 result
= (bool)(arg1
)->Delete(arg2
);
30051 wxPyEndAllowThreads(__tstate
);
30052 if (PyErr_Occurred()) SWIG_fail
;
30055 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30063 static PyObject
*_wrap_Menu_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30064 PyObject
*resultobj
;
30065 wxMenu
*arg1
= (wxMenu
*) 0 ;
30066 PyObject
* obj0
= 0 ;
30067 char *kwnames
[] = {
30068 (char *) "self", NULL
30071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Destroy",kwnames
,&obj0
)) goto fail
;
30072 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30073 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30076 wxMenu_Destroy(arg1
);
30078 wxPyEndAllowThreads(__tstate
);
30079 if (PyErr_Occurred()) SWIG_fail
;
30081 Py_INCREF(Py_None
); resultobj
= Py_None
;
30088 static PyObject
*_wrap_Menu_DestroyId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30089 PyObject
*resultobj
;
30090 wxMenu
*arg1
= (wxMenu
*) 0 ;
30093 PyObject
* obj0
= 0 ;
30094 PyObject
* obj1
= 0 ;
30095 char *kwnames
[] = {
30096 (char *) "self",(char *) "id", NULL
30099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DestroyId",kwnames
,&obj0
,&obj1
)) goto fail
;
30100 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30101 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30102 arg2
= (int) SWIG_AsInt(obj1
);
30103 if (PyErr_Occurred()) SWIG_fail
;
30105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30106 result
= (bool)(arg1
)->Destroy(arg2
);
30108 wxPyEndAllowThreads(__tstate
);
30109 if (PyErr_Occurred()) SWIG_fail
;
30112 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30120 static PyObject
*_wrap_Menu_DestroyItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30121 PyObject
*resultobj
;
30122 wxMenu
*arg1
= (wxMenu
*) 0 ;
30123 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
30125 PyObject
* obj0
= 0 ;
30126 PyObject
* obj1
= 0 ;
30127 char *kwnames
[] = {
30128 (char *) "self",(char *) "item", NULL
30131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DestroyItem",kwnames
,&obj0
,&obj1
)) goto fail
;
30132 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30133 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30134 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
30135 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30138 result
= (bool)(arg1
)->Destroy(arg2
);
30140 wxPyEndAllowThreads(__tstate
);
30141 if (PyErr_Occurred()) SWIG_fail
;
30144 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30152 static PyObject
*_wrap_Menu_GetMenuItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30153 PyObject
*resultobj
;
30154 wxMenu
*arg1
= (wxMenu
*) 0 ;
30156 PyObject
* obj0
= 0 ;
30157 char *kwnames
[] = {
30158 (char *) "self", NULL
30161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuItemCount",kwnames
,&obj0
)) goto fail
;
30162 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30163 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30166 result
= (size_t)((wxMenu
const *)arg1
)->GetMenuItemCount();
30168 wxPyEndAllowThreads(__tstate
);
30169 if (PyErr_Occurred()) SWIG_fail
;
30171 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
30178 static PyObject
*_wrap_Menu_GetMenuItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30179 PyObject
*resultobj
;
30180 wxMenu
*arg1
= (wxMenu
*) 0 ;
30182 PyObject
* obj0
= 0 ;
30183 char *kwnames
[] = {
30184 (char *) "self", NULL
30187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuItems",kwnames
,&obj0
)) goto fail
;
30188 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30189 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30192 result
= (PyObject
*)wxMenu_GetMenuItems(arg1
);
30194 wxPyEndAllowThreads(__tstate
);
30195 if (PyErr_Occurred()) SWIG_fail
;
30197 resultobj
= result
;
30204 static PyObject
*_wrap_Menu_FindItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30205 PyObject
*resultobj
;
30206 wxMenu
*arg1
= (wxMenu
*) 0 ;
30207 wxString
*arg2
= 0 ;
30209 bool temp2
= False
;
30210 PyObject
* obj0
= 0 ;
30211 PyObject
* obj1
= 0 ;
30212 char *kwnames
[] = {
30213 (char *) "self",(char *) "item", NULL
30216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItem",kwnames
,&obj0
,&obj1
)) goto fail
;
30217 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30218 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30220 arg2
= wxString_in_helper(obj1
);
30221 if (arg2
== NULL
) SWIG_fail
;
30225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30226 result
= (int)((wxMenu
const *)arg1
)->FindItem((wxString
const &)*arg2
);
30228 wxPyEndAllowThreads(__tstate
);
30229 if (PyErr_Occurred()) SWIG_fail
;
30231 resultobj
= SWIG_FromInt((int)result
);
30246 static PyObject
*_wrap_Menu_FindItemById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30247 PyObject
*resultobj
;
30248 wxMenu
*arg1
= (wxMenu
*) 0 ;
30250 wxMenuItem
*result
;
30251 PyObject
* obj0
= 0 ;
30252 PyObject
* obj1
= 0 ;
30253 char *kwnames
[] = {
30254 (char *) "self",(char *) "id", NULL
30257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItemById",kwnames
,&obj0
,&obj1
)) goto fail
;
30258 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30259 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30260 arg2
= (int) SWIG_AsInt(obj1
);
30261 if (PyErr_Occurred()) SWIG_fail
;
30263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30264 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItem(arg2
);
30266 wxPyEndAllowThreads(__tstate
);
30267 if (PyErr_Occurred()) SWIG_fail
;
30270 resultobj
= wxPyMake_wxObject(result
, 0);
30278 static PyObject
*_wrap_Menu_FindItemByPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30279 PyObject
*resultobj
;
30280 wxMenu
*arg1
= (wxMenu
*) 0 ;
30282 wxMenuItem
*result
;
30283 PyObject
* obj0
= 0 ;
30284 PyObject
* obj1
= 0 ;
30285 char *kwnames
[] = {
30286 (char *) "self",(char *) "position", NULL
30289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItemByPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
30290 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30291 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30292 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
30293 if (PyErr_Occurred()) SWIG_fail
;
30295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30296 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItemByPosition(arg2
);
30298 wxPyEndAllowThreads(__tstate
);
30299 if (PyErr_Occurred()) SWIG_fail
;
30302 resultobj
= wxPyMake_wxObject(result
, 0);
30310 static PyObject
*_wrap_Menu_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30311 PyObject
*resultobj
;
30312 wxMenu
*arg1
= (wxMenu
*) 0 ;
30315 PyObject
* obj0
= 0 ;
30316 PyObject
* obj1
= 0 ;
30317 PyObject
* obj2
= 0 ;
30318 char *kwnames
[] = {
30319 (char *) "self",(char *) "id",(char *) "enable", NULL
30322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_Enable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30323 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30324 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30325 arg2
= (int) SWIG_AsInt(obj1
);
30326 if (PyErr_Occurred()) SWIG_fail
;
30327 arg3
= (bool) SWIG_AsBool(obj2
);
30328 if (PyErr_Occurred()) SWIG_fail
;
30330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30331 (arg1
)->Enable(arg2
,arg3
);
30333 wxPyEndAllowThreads(__tstate
);
30334 if (PyErr_Occurred()) SWIG_fail
;
30336 Py_INCREF(Py_None
); resultobj
= Py_None
;
30343 static PyObject
*_wrap_Menu_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30344 PyObject
*resultobj
;
30345 wxMenu
*arg1
= (wxMenu
*) 0 ;
30348 PyObject
* obj0
= 0 ;
30349 PyObject
* obj1
= 0 ;
30350 char *kwnames
[] = {
30351 (char *) "self",(char *) "id", NULL
30354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_IsEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
30355 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30356 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30357 arg2
= (int) SWIG_AsInt(obj1
);
30358 if (PyErr_Occurred()) SWIG_fail
;
30360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30361 result
= (bool)((wxMenu
const *)arg1
)->IsEnabled(arg2
);
30363 wxPyEndAllowThreads(__tstate
);
30364 if (PyErr_Occurred()) SWIG_fail
;
30367 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30375 static PyObject
*_wrap_Menu_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30376 PyObject
*resultobj
;
30377 wxMenu
*arg1
= (wxMenu
*) 0 ;
30380 PyObject
* obj0
= 0 ;
30381 PyObject
* obj1
= 0 ;
30382 PyObject
* obj2
= 0 ;
30383 char *kwnames
[] = {
30384 (char *) "self",(char *) "id",(char *) "check", NULL
30387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30388 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30389 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30390 arg2
= (int) SWIG_AsInt(obj1
);
30391 if (PyErr_Occurred()) SWIG_fail
;
30392 arg3
= (bool) SWIG_AsBool(obj2
);
30393 if (PyErr_Occurred()) SWIG_fail
;
30395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30396 (arg1
)->Check(arg2
,arg3
);
30398 wxPyEndAllowThreads(__tstate
);
30399 if (PyErr_Occurred()) SWIG_fail
;
30401 Py_INCREF(Py_None
); resultobj
= Py_None
;
30408 static PyObject
*_wrap_Menu_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30409 PyObject
*resultobj
;
30410 wxMenu
*arg1
= (wxMenu
*) 0 ;
30413 PyObject
* obj0
= 0 ;
30414 PyObject
* obj1
= 0 ;
30415 char *kwnames
[] = {
30416 (char *) "self",(char *) "id", NULL
30419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
30420 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30421 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30422 arg2
= (int) SWIG_AsInt(obj1
);
30423 if (PyErr_Occurred()) SWIG_fail
;
30425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30426 result
= (bool)((wxMenu
const *)arg1
)->IsChecked(arg2
);
30428 wxPyEndAllowThreads(__tstate
);
30429 if (PyErr_Occurred()) SWIG_fail
;
30432 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30440 static PyObject
*_wrap_Menu_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30441 PyObject
*resultobj
;
30442 wxMenu
*arg1
= (wxMenu
*) 0 ;
30444 wxString
*arg3
= 0 ;
30445 bool temp3
= False
;
30446 PyObject
* obj0
= 0 ;
30447 PyObject
* obj1
= 0 ;
30448 PyObject
* obj2
= 0 ;
30449 char *kwnames
[] = {
30450 (char *) "self",(char *) "id",(char *) "label", NULL
30453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_SetLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30454 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30455 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30456 arg2
= (int) SWIG_AsInt(obj1
);
30457 if (PyErr_Occurred()) SWIG_fail
;
30459 arg3
= wxString_in_helper(obj2
);
30460 if (arg3
== NULL
) SWIG_fail
;
30464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30465 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
30467 wxPyEndAllowThreads(__tstate
);
30468 if (PyErr_Occurred()) SWIG_fail
;
30470 Py_INCREF(Py_None
); resultobj
= Py_None
;
30485 static PyObject
*_wrap_Menu_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30486 PyObject
*resultobj
;
30487 wxMenu
*arg1
= (wxMenu
*) 0 ;
30490 PyObject
* obj0
= 0 ;
30491 PyObject
* obj1
= 0 ;
30492 char *kwnames
[] = {
30493 (char *) "self",(char *) "id", NULL
30496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_GetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
30497 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30498 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30499 arg2
= (int) SWIG_AsInt(obj1
);
30500 if (PyErr_Occurred()) SWIG_fail
;
30502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30503 result
= ((wxMenu
const *)arg1
)->GetLabel(arg2
);
30505 wxPyEndAllowThreads(__tstate
);
30506 if (PyErr_Occurred()) SWIG_fail
;
30510 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30512 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30521 static PyObject
*_wrap_Menu_SetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30522 PyObject
*resultobj
;
30523 wxMenu
*arg1
= (wxMenu
*) 0 ;
30525 wxString
*arg3
= 0 ;
30526 bool temp3
= False
;
30527 PyObject
* obj0
= 0 ;
30528 PyObject
* obj1
= 0 ;
30529 PyObject
* obj2
= 0 ;
30530 char *kwnames
[] = {
30531 (char *) "self",(char *) "id",(char *) "helpString", NULL
30534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_SetHelpString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30535 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30536 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30537 arg2
= (int) SWIG_AsInt(obj1
);
30538 if (PyErr_Occurred()) SWIG_fail
;
30540 arg3
= wxString_in_helper(obj2
);
30541 if (arg3
== NULL
) SWIG_fail
;
30545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30546 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
30548 wxPyEndAllowThreads(__tstate
);
30549 if (PyErr_Occurred()) SWIG_fail
;
30551 Py_INCREF(Py_None
); resultobj
= Py_None
;
30566 static PyObject
*_wrap_Menu_GetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30567 PyObject
*resultobj
;
30568 wxMenu
*arg1
= (wxMenu
*) 0 ;
30571 PyObject
* obj0
= 0 ;
30572 PyObject
* obj1
= 0 ;
30573 char *kwnames
[] = {
30574 (char *) "self",(char *) "id", NULL
30577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_GetHelpString",kwnames
,&obj0
,&obj1
)) goto fail
;
30578 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30579 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30580 arg2
= (int) SWIG_AsInt(obj1
);
30581 if (PyErr_Occurred()) SWIG_fail
;
30583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30584 result
= ((wxMenu
const *)arg1
)->GetHelpString(arg2
);
30586 wxPyEndAllowThreads(__tstate
);
30587 if (PyErr_Occurred()) SWIG_fail
;
30591 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30593 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30602 static PyObject
*_wrap_Menu_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30603 PyObject
*resultobj
;
30604 wxMenu
*arg1
= (wxMenu
*) 0 ;
30605 wxString
*arg2
= 0 ;
30606 bool temp2
= False
;
30607 PyObject
* obj0
= 0 ;
30608 PyObject
* obj1
= 0 ;
30609 char *kwnames
[] = {
30610 (char *) "self",(char *) "title", NULL
30613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
30614 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30615 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30617 arg2
= wxString_in_helper(obj1
);
30618 if (arg2
== NULL
) SWIG_fail
;
30622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30623 (arg1
)->SetTitle((wxString
const &)*arg2
);
30625 wxPyEndAllowThreads(__tstate
);
30626 if (PyErr_Occurred()) SWIG_fail
;
30628 Py_INCREF(Py_None
); resultobj
= Py_None
;
30643 static PyObject
*_wrap_Menu_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30644 PyObject
*resultobj
;
30645 wxMenu
*arg1
= (wxMenu
*) 0 ;
30647 PyObject
* obj0
= 0 ;
30648 char *kwnames
[] = {
30649 (char *) "self", NULL
30652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetTitle",kwnames
,&obj0
)) goto fail
;
30653 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30654 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30657 result
= ((wxMenu
const *)arg1
)->GetTitle();
30659 wxPyEndAllowThreads(__tstate
);
30660 if (PyErr_Occurred()) SWIG_fail
;
30664 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30666 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30675 static PyObject
*_wrap_Menu_SetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30676 PyObject
*resultobj
;
30677 wxMenu
*arg1
= (wxMenu
*) 0 ;
30678 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
30679 PyObject
* obj0
= 0 ;
30680 PyObject
* obj1
= 0 ;
30681 char *kwnames
[] = {
30682 (char *) "self",(char *) "handler", NULL
30685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
30686 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30687 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30688 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
30689 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30692 (arg1
)->SetEventHandler(arg2
);
30694 wxPyEndAllowThreads(__tstate
);
30695 if (PyErr_Occurred()) SWIG_fail
;
30697 Py_INCREF(Py_None
); resultobj
= Py_None
;
30704 static PyObject
*_wrap_Menu_GetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30705 PyObject
*resultobj
;
30706 wxMenu
*arg1
= (wxMenu
*) 0 ;
30707 wxEvtHandler
*result
;
30708 PyObject
* obj0
= 0 ;
30709 char *kwnames
[] = {
30710 (char *) "self", NULL
30713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetEventHandler",kwnames
,&obj0
)) goto fail
;
30714 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30715 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30718 result
= (wxEvtHandler
*)((wxMenu
const *)arg1
)->GetEventHandler();
30720 wxPyEndAllowThreads(__tstate
);
30721 if (PyErr_Occurred()) SWIG_fail
;
30724 resultobj
= wxPyMake_wxObject(result
, 0);
30732 static PyObject
*_wrap_Menu_SetInvokingWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30733 PyObject
*resultobj
;
30734 wxMenu
*arg1
= (wxMenu
*) 0 ;
30735 wxWindow
*arg2
= (wxWindow
*) 0 ;
30736 PyObject
* obj0
= 0 ;
30737 PyObject
* obj1
= 0 ;
30738 char *kwnames
[] = {
30739 (char *) "self",(char *) "win", NULL
30742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetInvokingWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
30743 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30744 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30745 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
30746 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30749 (arg1
)->SetInvokingWindow(arg2
);
30751 wxPyEndAllowThreads(__tstate
);
30752 if (PyErr_Occurred()) SWIG_fail
;
30754 Py_INCREF(Py_None
); resultobj
= Py_None
;
30761 static PyObject
*_wrap_Menu_GetInvokingWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30762 PyObject
*resultobj
;
30763 wxMenu
*arg1
= (wxMenu
*) 0 ;
30765 PyObject
* obj0
= 0 ;
30766 char *kwnames
[] = {
30767 (char *) "self", NULL
30770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetInvokingWindow",kwnames
,&obj0
)) goto fail
;
30771 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30772 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30775 result
= (wxWindow
*)((wxMenu
const *)arg1
)->GetInvokingWindow();
30777 wxPyEndAllowThreads(__tstate
);
30778 if (PyErr_Occurred()) SWIG_fail
;
30781 resultobj
= wxPyMake_wxObject(result
, 0);
30789 static PyObject
*_wrap_Menu_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30790 PyObject
*resultobj
;
30791 wxMenu
*arg1
= (wxMenu
*) 0 ;
30793 PyObject
* obj0
= 0 ;
30794 char *kwnames
[] = {
30795 (char *) "self", NULL
30798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetStyle",kwnames
,&obj0
)) goto fail
;
30799 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30800 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30803 result
= (long)((wxMenu
const *)arg1
)->GetStyle();
30805 wxPyEndAllowThreads(__tstate
);
30806 if (PyErr_Occurred()) SWIG_fail
;
30808 resultobj
= SWIG_FromLong((long)result
);
30815 static PyObject
*_wrap_Menu_UpdateUI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30816 PyObject
*resultobj
;
30817 wxMenu
*arg1
= (wxMenu
*) 0 ;
30818 wxEvtHandler
*arg2
= (wxEvtHandler
*) NULL
;
30819 PyObject
* obj0
= 0 ;
30820 PyObject
* obj1
= 0 ;
30821 char *kwnames
[] = {
30822 (char *) "self",(char *) "source", NULL
30825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Menu_UpdateUI",kwnames
,&obj0
,&obj1
)) goto fail
;
30826 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30827 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30829 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
30830 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30834 (arg1
)->UpdateUI(arg2
);
30836 wxPyEndAllowThreads(__tstate
);
30837 if (PyErr_Occurred()) SWIG_fail
;
30839 Py_INCREF(Py_None
); resultobj
= Py_None
;
30846 static PyObject
*_wrap_Menu_GetMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30847 PyObject
*resultobj
;
30848 wxMenu
*arg1
= (wxMenu
*) 0 ;
30850 PyObject
* obj0
= 0 ;
30851 char *kwnames
[] = {
30852 (char *) "self", NULL
30855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuBar",kwnames
,&obj0
)) goto fail
;
30856 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30857 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30860 result
= (wxMenuBar
*)((wxMenu
const *)arg1
)->GetMenuBar();
30862 wxPyEndAllowThreads(__tstate
);
30863 if (PyErr_Occurred()) SWIG_fail
;
30866 resultobj
= wxPyMake_wxObject(result
, 0);
30874 static PyObject
*_wrap_Menu_Attach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30875 PyObject
*resultobj
;
30876 wxMenu
*arg1
= (wxMenu
*) 0 ;
30877 wxMenuBarBase
*arg2
= (wxMenuBarBase
*) 0 ;
30878 PyObject
* obj0
= 0 ;
30879 PyObject
* obj1
= 0 ;
30880 char *kwnames
[] = {
30881 (char *) "self",(char *) "menubar", NULL
30884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
30885 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30886 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30887 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuBarBase
,
30888 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30891 (arg1
)->Attach(arg2
);
30893 wxPyEndAllowThreads(__tstate
);
30894 if (PyErr_Occurred()) SWIG_fail
;
30896 Py_INCREF(Py_None
); resultobj
= Py_None
;
30903 static PyObject
*_wrap_Menu_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30904 PyObject
*resultobj
;
30905 wxMenu
*arg1
= (wxMenu
*) 0 ;
30906 PyObject
* obj0
= 0 ;
30907 char *kwnames
[] = {
30908 (char *) "self", NULL
30911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Detach",kwnames
,&obj0
)) goto fail
;
30912 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30913 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30918 wxPyEndAllowThreads(__tstate
);
30919 if (PyErr_Occurred()) SWIG_fail
;
30921 Py_INCREF(Py_None
); resultobj
= Py_None
;
30928 static PyObject
*_wrap_Menu_IsAttached(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30929 PyObject
*resultobj
;
30930 wxMenu
*arg1
= (wxMenu
*) 0 ;
30932 PyObject
* obj0
= 0 ;
30933 char *kwnames
[] = {
30934 (char *) "self", NULL
30937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_IsAttached",kwnames
,&obj0
)) goto fail
;
30938 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30939 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30942 result
= (bool)((wxMenu
const *)arg1
)->IsAttached();
30944 wxPyEndAllowThreads(__tstate
);
30945 if (PyErr_Occurred()) SWIG_fail
;
30948 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30956 static PyObject
*_wrap_Menu_SetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30957 PyObject
*resultobj
;
30958 wxMenu
*arg1
= (wxMenu
*) 0 ;
30959 wxMenu
*arg2
= (wxMenu
*) 0 ;
30960 PyObject
* obj0
= 0 ;
30961 PyObject
* obj1
= 0 ;
30962 char *kwnames
[] = {
30963 (char *) "self",(char *) "parent", NULL
30966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetParent",kwnames
,&obj0
,&obj1
)) goto fail
;
30967 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30968 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30969 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
30970 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30973 (arg1
)->SetParent(arg2
);
30975 wxPyEndAllowThreads(__tstate
);
30976 if (PyErr_Occurred()) SWIG_fail
;
30978 Py_INCREF(Py_None
); resultobj
= Py_None
;
30985 static PyObject
*_wrap_Menu_GetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30986 PyObject
*resultobj
;
30987 wxMenu
*arg1
= (wxMenu
*) 0 ;
30989 PyObject
* obj0
= 0 ;
30990 char *kwnames
[] = {
30991 (char *) "self", NULL
30994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetParent",kwnames
,&obj0
)) goto fail
;
30995 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30996 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30999 result
= (wxMenu
*)((wxMenu
const *)arg1
)->GetParent();
31001 wxPyEndAllowThreads(__tstate
);
31002 if (PyErr_Occurred()) SWIG_fail
;
31005 resultobj
= wxPyMake_wxObject(result
, 0);
31013 static PyObject
* Menu_swigregister(PyObject
*self
, PyObject
*args
) {
31015 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31016 SWIG_TypeClientData(SWIGTYPE_p_wxMenu
, obj
);
31018 return Py_BuildValue((char *)"");
31020 static PyObject
*_wrap_new_MenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31021 PyObject
*resultobj
;
31022 long arg1
= (long) 0 ;
31024 PyObject
* obj0
= 0 ;
31025 char *kwnames
[] = {
31026 (char *) "style", NULL
31029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MenuBar",kwnames
,&obj0
)) goto fail
;
31031 arg1
= (long) SWIG_AsLong(obj0
);
31032 if (PyErr_Occurred()) SWIG_fail
;
31035 if (!wxPyCheckForApp()) SWIG_fail
;
31036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31037 result
= (wxMenuBar
*)new wxMenuBar(arg1
);
31039 wxPyEndAllowThreads(__tstate
);
31040 if (PyErr_Occurred()) SWIG_fail
;
31043 resultobj
= wxPyMake_wxObject(result
, 1);
31051 static PyObject
*_wrap_MenuBar_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31052 PyObject
*resultobj
;
31053 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31054 wxMenu
*arg2
= (wxMenu
*) 0 ;
31055 wxString
*arg3
= 0 ;
31057 bool temp3
= False
;
31058 PyObject
* obj0
= 0 ;
31059 PyObject
* obj1
= 0 ;
31060 PyObject
* obj2
= 0 ;
31061 char *kwnames
[] = {
31062 (char *) "self",(char *) "menu",(char *) "title", NULL
31065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Append",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31066 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31067 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31068 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
31069 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31071 arg3
= wxString_in_helper(obj2
);
31072 if (arg3
== NULL
) SWIG_fail
;
31076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31077 result
= (bool)(arg1
)->Append(arg2
,(wxString
const &)*arg3
);
31079 wxPyEndAllowThreads(__tstate
);
31080 if (PyErr_Occurred()) SWIG_fail
;
31083 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31099 static PyObject
*_wrap_MenuBar_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31100 PyObject
*resultobj
;
31101 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31103 wxMenu
*arg3
= (wxMenu
*) 0 ;
31104 wxString
*arg4
= 0 ;
31106 bool temp4
= False
;
31107 PyObject
* obj0
= 0 ;
31108 PyObject
* obj1
= 0 ;
31109 PyObject
* obj2
= 0 ;
31110 PyObject
* obj3
= 0 ;
31111 char *kwnames
[] = {
31112 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
31115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
31116 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31117 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31118 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
31119 if (PyErr_Occurred()) SWIG_fail
;
31120 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMenu
,
31121 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31123 arg4
= wxString_in_helper(obj3
);
31124 if (arg4
== NULL
) SWIG_fail
;
31128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31129 result
= (bool)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
);
31131 wxPyEndAllowThreads(__tstate
);
31132 if (PyErr_Occurred()) SWIG_fail
;
31135 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31151 static PyObject
*_wrap_MenuBar_GetMenuCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31152 PyObject
*resultobj
;
31153 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31155 PyObject
* obj0
= 0 ;
31156 char *kwnames
[] = {
31157 (char *) "self", NULL
31160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_GetMenuCount",kwnames
,&obj0
)) goto fail
;
31161 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31162 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31165 result
= (size_t)((wxMenuBar
const *)arg1
)->GetMenuCount();
31167 wxPyEndAllowThreads(__tstate
);
31168 if (PyErr_Occurred()) SWIG_fail
;
31170 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
31177 static PyObject
*_wrap_MenuBar_GetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31178 PyObject
*resultobj
;
31179 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31182 PyObject
* obj0
= 0 ;
31183 PyObject
* obj1
= 0 ;
31184 char *kwnames
[] = {
31185 (char *) "self",(char *) "pos", NULL
31188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
31189 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31190 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31191 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
31192 if (PyErr_Occurred()) SWIG_fail
;
31194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31195 result
= (wxMenu
*)((wxMenuBar
const *)arg1
)->GetMenu(arg2
);
31197 wxPyEndAllowThreads(__tstate
);
31198 if (PyErr_Occurred()) SWIG_fail
;
31201 resultobj
= wxPyMake_wxObject(result
, 0);
31209 static PyObject
*_wrap_MenuBar_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31210 PyObject
*resultobj
;
31211 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31213 wxMenu
*arg3
= (wxMenu
*) 0 ;
31214 wxString
*arg4
= 0 ;
31216 bool temp4
= False
;
31217 PyObject
* obj0
= 0 ;
31218 PyObject
* obj1
= 0 ;
31219 PyObject
* obj2
= 0 ;
31220 PyObject
* obj3
= 0 ;
31221 char *kwnames
[] = {
31222 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
31225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
31226 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31227 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31228 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
31229 if (PyErr_Occurred()) SWIG_fail
;
31230 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMenu
,
31231 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31233 arg4
= wxString_in_helper(obj3
);
31234 if (arg4
== NULL
) SWIG_fail
;
31238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31239 result
= (wxMenu
*)(arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
31241 wxPyEndAllowThreads(__tstate
);
31242 if (PyErr_Occurred()) SWIG_fail
;
31245 resultobj
= wxPyMake_wxObject(result
, 0);
31261 static PyObject
*_wrap_MenuBar_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31262 PyObject
*resultobj
;
31263 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31266 PyObject
* obj0
= 0 ;
31267 PyObject
* obj1
= 0 ;
31268 char *kwnames
[] = {
31269 (char *) "self",(char *) "pos", NULL
31272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
31273 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31274 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31275 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
31276 if (PyErr_Occurred()) SWIG_fail
;
31278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31279 result
= (wxMenu
*)(arg1
)->Remove(arg2
);
31281 wxPyEndAllowThreads(__tstate
);
31282 if (PyErr_Occurred()) SWIG_fail
;
31285 resultobj
= wxPyMake_wxObject(result
, 0);
31293 static PyObject
*_wrap_MenuBar_EnableTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31294 PyObject
*resultobj
;
31295 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31298 PyObject
* obj0
= 0 ;
31299 PyObject
* obj1
= 0 ;
31300 PyObject
* obj2
= 0 ;
31301 char *kwnames
[] = {
31302 (char *) "self",(char *) "pos",(char *) "enable", NULL
31305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_EnableTop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31306 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31307 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31308 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
31309 if (PyErr_Occurred()) SWIG_fail
;
31310 arg3
= (bool) SWIG_AsBool(obj2
);
31311 if (PyErr_Occurred()) SWIG_fail
;
31313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31314 (arg1
)->EnableTop(arg2
,arg3
);
31316 wxPyEndAllowThreads(__tstate
);
31317 if (PyErr_Occurred()) SWIG_fail
;
31319 Py_INCREF(Py_None
); resultobj
= Py_None
;
31326 static PyObject
*_wrap_MenuBar_IsEnabledTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31327 PyObject
*resultobj
;
31328 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31331 PyObject
* obj0
= 0 ;
31332 PyObject
* obj1
= 0 ;
31333 char *kwnames
[] = {
31334 (char *) "self",(char *) "pos", NULL
31337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsEnabledTop",kwnames
,&obj0
,&obj1
)) goto fail
;
31338 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31339 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31340 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
31341 if (PyErr_Occurred()) SWIG_fail
;
31343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31344 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabledTop(arg2
);
31346 wxPyEndAllowThreads(__tstate
);
31347 if (PyErr_Occurred()) SWIG_fail
;
31350 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31358 static PyObject
*_wrap_MenuBar_SetLabelTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31359 PyObject
*resultobj
;
31360 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31362 wxString
*arg3
= 0 ;
31363 bool temp3
= False
;
31364 PyObject
* obj0
= 0 ;
31365 PyObject
* obj1
= 0 ;
31366 PyObject
* obj2
= 0 ;
31367 char *kwnames
[] = {
31368 (char *) "self",(char *) "pos",(char *) "label", NULL
31371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetLabelTop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31372 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31373 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31374 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
31375 if (PyErr_Occurred()) SWIG_fail
;
31377 arg3
= wxString_in_helper(obj2
);
31378 if (arg3
== NULL
) SWIG_fail
;
31382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31383 (arg1
)->SetLabelTop(arg2
,(wxString
const &)*arg3
);
31385 wxPyEndAllowThreads(__tstate
);
31386 if (PyErr_Occurred()) SWIG_fail
;
31388 Py_INCREF(Py_None
); resultobj
= Py_None
;
31403 static PyObject
*_wrap_MenuBar_GetLabelTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31404 PyObject
*resultobj
;
31405 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31408 PyObject
* obj0
= 0 ;
31409 PyObject
* obj1
= 0 ;
31410 char *kwnames
[] = {
31411 (char *) "self",(char *) "pos", NULL
31414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetLabelTop",kwnames
,&obj0
,&obj1
)) goto fail
;
31415 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31416 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31417 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
31418 if (PyErr_Occurred()) SWIG_fail
;
31420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31421 result
= ((wxMenuBar
const *)arg1
)->GetLabelTop(arg2
);
31423 wxPyEndAllowThreads(__tstate
);
31424 if (PyErr_Occurred()) SWIG_fail
;
31428 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31430 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31439 static PyObject
*_wrap_MenuBar_FindMenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31440 PyObject
*resultobj
;
31441 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31442 wxString
*arg2
= 0 ;
31443 wxString
*arg3
= 0 ;
31445 bool temp2
= False
;
31446 bool temp3
= False
;
31447 PyObject
* obj0
= 0 ;
31448 PyObject
* obj1
= 0 ;
31449 PyObject
* obj2
= 0 ;
31450 char *kwnames
[] = {
31451 (char *) "self",(char *) "menu",(char *) "item", NULL
31454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_FindMenuItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31455 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31456 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31458 arg2
= wxString_in_helper(obj1
);
31459 if (arg2
== NULL
) SWIG_fail
;
31463 arg3
= wxString_in_helper(obj2
);
31464 if (arg3
== NULL
) SWIG_fail
;
31468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31469 result
= (int)((wxMenuBar
const *)arg1
)->FindMenuItem((wxString
const &)*arg2
,(wxString
const &)*arg3
);
31471 wxPyEndAllowThreads(__tstate
);
31472 if (PyErr_Occurred()) SWIG_fail
;
31474 resultobj
= SWIG_FromInt((int)result
);
31497 static PyObject
*_wrap_MenuBar_FindItemById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31498 PyObject
*resultobj
;
31499 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31501 wxMenuItem
*result
;
31502 PyObject
* obj0
= 0 ;
31503 PyObject
* obj1
= 0 ;
31504 char *kwnames
[] = {
31505 (char *) "self",(char *) "id", NULL
31508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_FindItemById",kwnames
,&obj0
,&obj1
)) goto fail
;
31509 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31510 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31511 arg2
= (int) SWIG_AsInt(obj1
);
31512 if (PyErr_Occurred()) SWIG_fail
;
31514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31515 result
= (wxMenuItem
*)((wxMenuBar
const *)arg1
)->FindItem(arg2
);
31517 wxPyEndAllowThreads(__tstate
);
31518 if (PyErr_Occurred()) SWIG_fail
;
31521 resultobj
= wxPyMake_wxObject(result
, 0);
31529 static PyObject
*_wrap_MenuBar_FindMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31530 PyObject
*resultobj
;
31531 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31532 wxString
*arg2
= 0 ;
31534 bool temp2
= False
;
31535 PyObject
* obj0
= 0 ;
31536 PyObject
* obj1
= 0 ;
31537 char *kwnames
[] = {
31538 (char *) "self",(char *) "title", NULL
31541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_FindMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
31542 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31543 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31545 arg2
= wxString_in_helper(obj1
);
31546 if (arg2
== NULL
) SWIG_fail
;
31550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31551 result
= (int)((wxMenuBar
const *)arg1
)->FindMenu((wxString
const &)*arg2
);
31553 wxPyEndAllowThreads(__tstate
);
31554 if (PyErr_Occurred()) SWIG_fail
;
31556 resultobj
= SWIG_FromInt((int)result
);
31571 static PyObject
*_wrap_MenuBar_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31572 PyObject
*resultobj
;
31573 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31576 PyObject
* obj0
= 0 ;
31577 PyObject
* obj1
= 0 ;
31578 PyObject
* obj2
= 0 ;
31579 char *kwnames
[] = {
31580 (char *) "self",(char *) "id",(char *) "enable", NULL
31583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Enable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31584 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31585 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31586 arg2
= (int) SWIG_AsInt(obj1
);
31587 if (PyErr_Occurred()) SWIG_fail
;
31588 arg3
= (bool) SWIG_AsBool(obj2
);
31589 if (PyErr_Occurred()) SWIG_fail
;
31591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31592 (arg1
)->Enable(arg2
,arg3
);
31594 wxPyEndAllowThreads(__tstate
);
31595 if (PyErr_Occurred()) SWIG_fail
;
31597 Py_INCREF(Py_None
); resultobj
= Py_None
;
31604 static PyObject
*_wrap_MenuBar_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31605 PyObject
*resultobj
;
31606 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31609 PyObject
* obj0
= 0 ;
31610 PyObject
* obj1
= 0 ;
31611 PyObject
* obj2
= 0 ;
31612 char *kwnames
[] = {
31613 (char *) "self",(char *) "id",(char *) "check", NULL
31616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31617 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31618 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31619 arg2
= (int) SWIG_AsInt(obj1
);
31620 if (PyErr_Occurred()) SWIG_fail
;
31621 arg3
= (bool) SWIG_AsBool(obj2
);
31622 if (PyErr_Occurred()) SWIG_fail
;
31624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31625 (arg1
)->Check(arg2
,arg3
);
31627 wxPyEndAllowThreads(__tstate
);
31628 if (PyErr_Occurred()) SWIG_fail
;
31630 Py_INCREF(Py_None
); resultobj
= Py_None
;
31637 static PyObject
*_wrap_MenuBar_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31638 PyObject
*resultobj
;
31639 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31642 PyObject
* obj0
= 0 ;
31643 PyObject
* obj1
= 0 ;
31644 char *kwnames
[] = {
31645 (char *) "self",(char *) "id", NULL
31648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
31649 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31650 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31651 arg2
= (int) SWIG_AsInt(obj1
);
31652 if (PyErr_Occurred()) SWIG_fail
;
31654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31655 result
= (bool)((wxMenuBar
const *)arg1
)->IsChecked(arg2
);
31657 wxPyEndAllowThreads(__tstate
);
31658 if (PyErr_Occurred()) SWIG_fail
;
31661 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31669 static PyObject
*_wrap_MenuBar_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31670 PyObject
*resultobj
;
31671 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31674 PyObject
* obj0
= 0 ;
31675 PyObject
* obj1
= 0 ;
31676 char *kwnames
[] = {
31677 (char *) "self",(char *) "id", NULL
31680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
31681 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31682 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31683 arg2
= (int) SWIG_AsInt(obj1
);
31684 if (PyErr_Occurred()) SWIG_fail
;
31686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31687 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabled(arg2
);
31689 wxPyEndAllowThreads(__tstate
);
31690 if (PyErr_Occurred()) SWIG_fail
;
31693 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31701 static PyObject
*_wrap_MenuBar_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31702 PyObject
*resultobj
;
31703 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31705 wxString
*arg3
= 0 ;
31706 bool temp3
= False
;
31707 PyObject
* obj0
= 0 ;
31708 PyObject
* obj1
= 0 ;
31709 PyObject
* obj2
= 0 ;
31710 char *kwnames
[] = {
31711 (char *) "self",(char *) "id",(char *) "label", NULL
31714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31715 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31716 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31717 arg2
= (int) SWIG_AsInt(obj1
);
31718 if (PyErr_Occurred()) SWIG_fail
;
31720 arg3
= wxString_in_helper(obj2
);
31721 if (arg3
== NULL
) SWIG_fail
;
31725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31726 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
31728 wxPyEndAllowThreads(__tstate
);
31729 if (PyErr_Occurred()) SWIG_fail
;
31731 Py_INCREF(Py_None
); resultobj
= Py_None
;
31746 static PyObject
*_wrap_MenuBar_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31747 PyObject
*resultobj
;
31748 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31751 PyObject
* obj0
= 0 ;
31752 PyObject
* obj1
= 0 ;
31753 char *kwnames
[] = {
31754 (char *) "self",(char *) "id", NULL
31757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
31758 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31759 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31760 arg2
= (int) SWIG_AsInt(obj1
);
31761 if (PyErr_Occurred()) SWIG_fail
;
31763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31764 result
= ((wxMenuBar
const *)arg1
)->GetLabel(arg2
);
31766 wxPyEndAllowThreads(__tstate
);
31767 if (PyErr_Occurred()) SWIG_fail
;
31771 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31773 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31782 static PyObject
*_wrap_MenuBar_SetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31783 PyObject
*resultobj
;
31784 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31786 wxString
*arg3
= 0 ;
31787 bool temp3
= False
;
31788 PyObject
* obj0
= 0 ;
31789 PyObject
* obj1
= 0 ;
31790 PyObject
* obj2
= 0 ;
31791 char *kwnames
[] = {
31792 (char *) "self",(char *) "id",(char *) "helpString", NULL
31795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetHelpString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31796 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31797 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31798 arg2
= (int) SWIG_AsInt(obj1
);
31799 if (PyErr_Occurred()) SWIG_fail
;
31801 arg3
= wxString_in_helper(obj2
);
31802 if (arg3
== NULL
) SWIG_fail
;
31806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31807 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
31809 wxPyEndAllowThreads(__tstate
);
31810 if (PyErr_Occurred()) SWIG_fail
;
31812 Py_INCREF(Py_None
); resultobj
= Py_None
;
31827 static PyObject
*_wrap_MenuBar_GetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31828 PyObject
*resultobj
;
31829 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31832 PyObject
* obj0
= 0 ;
31833 PyObject
* obj1
= 0 ;
31834 char *kwnames
[] = {
31835 (char *) "self",(char *) "id", NULL
31838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetHelpString",kwnames
,&obj0
,&obj1
)) goto fail
;
31839 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31840 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31841 arg2
= (int) SWIG_AsInt(obj1
);
31842 if (PyErr_Occurred()) SWIG_fail
;
31844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31845 result
= ((wxMenuBar
const *)arg1
)->GetHelpString(arg2
);
31847 wxPyEndAllowThreads(__tstate
);
31848 if (PyErr_Occurred()) SWIG_fail
;
31852 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31854 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31863 static PyObject
*_wrap_MenuBar_GetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31864 PyObject
*resultobj
;
31865 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31867 PyObject
* obj0
= 0 ;
31868 char *kwnames
[] = {
31869 (char *) "self", NULL
31872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_GetFrame",kwnames
,&obj0
)) goto fail
;
31873 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31874 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31877 result
= (wxFrame
*)((wxMenuBar
const *)arg1
)->GetFrame();
31879 wxPyEndAllowThreads(__tstate
);
31880 if (PyErr_Occurred()) SWIG_fail
;
31883 resultobj
= wxPyMake_wxObject(result
, 0);
31891 static PyObject
*_wrap_MenuBar_IsAttached(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31892 PyObject
*resultobj
;
31893 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31895 PyObject
* obj0
= 0 ;
31896 char *kwnames
[] = {
31897 (char *) "self", NULL
31900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_IsAttached",kwnames
,&obj0
)) goto fail
;
31901 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31902 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31905 result
= (bool)((wxMenuBar
const *)arg1
)->IsAttached();
31907 wxPyEndAllowThreads(__tstate
);
31908 if (PyErr_Occurred()) SWIG_fail
;
31911 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31919 static PyObject
*_wrap_MenuBar_Attach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31920 PyObject
*resultobj
;
31921 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31922 wxFrame
*arg2
= (wxFrame
*) 0 ;
31923 PyObject
* obj0
= 0 ;
31924 PyObject
* obj1
= 0 ;
31925 char *kwnames
[] = {
31926 (char *) "self",(char *) "frame", NULL
31929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
31930 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31931 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31932 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
31933 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31936 (arg1
)->Attach(arg2
);
31938 wxPyEndAllowThreads(__tstate
);
31939 if (PyErr_Occurred()) SWIG_fail
;
31941 Py_INCREF(Py_None
); resultobj
= Py_None
;
31948 static PyObject
*_wrap_MenuBar_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31949 PyObject
*resultobj
;
31950 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31951 PyObject
* obj0
= 0 ;
31952 char *kwnames
[] = {
31953 (char *) "self", NULL
31956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_Detach",kwnames
,&obj0
)) goto fail
;
31957 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31958 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31963 wxPyEndAllowThreads(__tstate
);
31964 if (PyErr_Occurred()) SWIG_fail
;
31966 Py_INCREF(Py_None
); resultobj
= Py_None
;
31973 static PyObject
* MenuBar_swigregister(PyObject
*self
, PyObject
*args
) {
31975 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31976 SWIG_TypeClientData(SWIGTYPE_p_wxMenuBar
, obj
);
31978 return Py_BuildValue((char *)"");
31980 static PyObject
*_wrap_new_MenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31981 PyObject
*resultobj
;
31982 wxMenu
*arg1
= (wxMenu
*) NULL
;
31983 int arg2
= (int) wxID_ANY
;
31984 wxString
const &arg3_defvalue
= wxPyEmptyString
;
31985 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
31986 wxString
const &arg4_defvalue
= wxPyEmptyString
;
31987 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
31988 int arg5
= (int) wxITEM_NORMAL
;
31989 wxMenu
*arg6
= (wxMenu
*) NULL
;
31990 wxMenuItem
*result
;
31991 bool temp3
= False
;
31992 bool temp4
= False
;
31993 PyObject
* obj0
= 0 ;
31994 PyObject
* obj1
= 0 ;
31995 PyObject
* obj2
= 0 ;
31996 PyObject
* obj3
= 0 ;
31997 PyObject
* obj4
= 0 ;
31998 PyObject
* obj5
= 0 ;
31999 char *kwnames
[] = {
32000 (char *) "parentMenu",(char *) "id",(char *) "text",(char *) "help",(char *) "kind",(char *) "subMenu", NULL
32003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOO:new_MenuItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
32005 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
32006 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32009 arg2
= (int) SWIG_AsInt(obj1
);
32010 if (PyErr_Occurred()) SWIG_fail
;
32014 arg3
= wxString_in_helper(obj2
);
32015 if (arg3
== NULL
) SWIG_fail
;
32021 arg4
= wxString_in_helper(obj3
);
32022 if (arg4
== NULL
) SWIG_fail
;
32027 arg5
= (wxItemKind
) SWIG_AsInt(obj4
);
32028 if (PyErr_Occurred()) SWIG_fail
;
32031 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxMenu
,
32032 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32036 result
= (wxMenuItem
*)new wxMenuItem(arg1
,arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
,arg6
);
32038 wxPyEndAllowThreads(__tstate
);
32039 if (PyErr_Occurred()) SWIG_fail
;
32042 resultobj
= wxPyMake_wxObject(result
, 1);
32066 static PyObject
*_wrap_MenuItem_GetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32067 PyObject
*resultobj
;
32068 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32070 PyObject
* obj0
= 0 ;
32071 char *kwnames
[] = {
32072 (char *) "self", NULL
32075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetMenu",kwnames
,&obj0
)) goto fail
;
32076 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32077 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32080 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetMenu();
32082 wxPyEndAllowThreads(__tstate
);
32083 if (PyErr_Occurred()) SWIG_fail
;
32086 resultobj
= wxPyMake_wxObject(result
, 0);
32094 static PyObject
*_wrap_MenuItem_SetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32095 PyObject
*resultobj
;
32096 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32097 wxMenu
*arg2
= (wxMenu
*) 0 ;
32098 PyObject
* obj0
= 0 ;
32099 PyObject
* obj1
= 0 ;
32100 char *kwnames
[] = {
32101 (char *) "self",(char *) "menu", NULL
32104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
32105 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32106 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32107 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
32108 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32111 (arg1
)->SetMenu(arg2
);
32113 wxPyEndAllowThreads(__tstate
);
32114 if (PyErr_Occurred()) SWIG_fail
;
32116 Py_INCREF(Py_None
); resultobj
= Py_None
;
32123 static PyObject
*_wrap_MenuItem_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32124 PyObject
*resultobj
;
32125 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32127 PyObject
* obj0
= 0 ;
32128 PyObject
* obj1
= 0 ;
32129 char *kwnames
[] = {
32130 (char *) "self",(char *) "id", NULL
32133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
32134 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32135 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32136 arg2
= (int) SWIG_AsInt(obj1
);
32137 if (PyErr_Occurred()) SWIG_fail
;
32139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32140 (arg1
)->SetId(arg2
);
32142 wxPyEndAllowThreads(__tstate
);
32143 if (PyErr_Occurred()) SWIG_fail
;
32145 Py_INCREF(Py_None
); resultobj
= Py_None
;
32152 static PyObject
*_wrap_MenuItem_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32153 PyObject
*resultobj
;
32154 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32156 PyObject
* obj0
= 0 ;
32157 char *kwnames
[] = {
32158 (char *) "self", NULL
32161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetId",kwnames
,&obj0
)) goto fail
;
32162 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32163 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32166 result
= (int)((wxMenuItem
const *)arg1
)->GetId();
32168 wxPyEndAllowThreads(__tstate
);
32169 if (PyErr_Occurred()) SWIG_fail
;
32171 resultobj
= SWIG_FromInt((int)result
);
32178 static PyObject
*_wrap_MenuItem_IsSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32179 PyObject
*resultobj
;
32180 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32182 PyObject
* obj0
= 0 ;
32183 char *kwnames
[] = {
32184 (char *) "self", NULL
32187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsSeparator",kwnames
,&obj0
)) goto fail
;
32188 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32189 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32192 result
= (bool)((wxMenuItem
const *)arg1
)->IsSeparator();
32194 wxPyEndAllowThreads(__tstate
);
32195 if (PyErr_Occurred()) SWIG_fail
;
32198 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32206 static PyObject
*_wrap_MenuItem_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32207 PyObject
*resultobj
;
32208 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32209 wxString
*arg2
= 0 ;
32210 bool temp2
= False
;
32211 PyObject
* obj0
= 0 ;
32212 PyObject
* obj1
= 0 ;
32213 char *kwnames
[] = {
32214 (char *) "self",(char *) "str", NULL
32217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
32218 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32219 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32221 arg2
= wxString_in_helper(obj1
);
32222 if (arg2
== NULL
) SWIG_fail
;
32226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32227 (arg1
)->SetText((wxString
const &)*arg2
);
32229 wxPyEndAllowThreads(__tstate
);
32230 if (PyErr_Occurred()) SWIG_fail
;
32232 Py_INCREF(Py_None
); resultobj
= Py_None
;
32247 static PyObject
*_wrap_MenuItem_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32248 PyObject
*resultobj
;
32249 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32251 PyObject
* obj0
= 0 ;
32252 char *kwnames
[] = {
32253 (char *) "self", NULL
32256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetLabel",kwnames
,&obj0
)) goto fail
;
32257 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32258 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32261 result
= ((wxMenuItem
const *)arg1
)->GetLabel();
32263 wxPyEndAllowThreads(__tstate
);
32264 if (PyErr_Occurred()) SWIG_fail
;
32268 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32270 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32279 static PyObject
*_wrap_MenuItem_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32280 PyObject
*resultobj
;
32281 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32283 PyObject
* obj0
= 0 ;
32284 char *kwnames
[] = {
32285 (char *) "self", NULL
32288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetText",kwnames
,&obj0
)) goto fail
;
32289 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32290 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32294 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetText();
32295 result
= (wxString
*) &_result_ref
;
32298 wxPyEndAllowThreads(__tstate
);
32299 if (PyErr_Occurred()) SWIG_fail
;
32303 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
32305 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
32314 static PyObject
*_wrap_MenuItem_GetLabelFromText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32315 PyObject
*resultobj
;
32316 wxString
*arg1
= 0 ;
32318 bool temp1
= False
;
32319 PyObject
* obj0
= 0 ;
32320 char *kwnames
[] = {
32321 (char *) "text", NULL
32324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetLabelFromText",kwnames
,&obj0
)) goto fail
;
32326 arg1
= wxString_in_helper(obj0
);
32327 if (arg1
== NULL
) SWIG_fail
;
32331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32332 result
= wxMenuItem::GetLabelFromText((wxString
const &)*arg1
);
32334 wxPyEndAllowThreads(__tstate
);
32335 if (PyErr_Occurred()) SWIG_fail
;
32339 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32341 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32358 static PyObject
*_wrap_MenuItem_GetKind(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32359 PyObject
*resultobj
;
32360 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32362 PyObject
* obj0
= 0 ;
32363 char *kwnames
[] = {
32364 (char *) "self", NULL
32367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetKind",kwnames
,&obj0
)) goto fail
;
32368 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32369 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32372 result
= (int)((wxMenuItem
const *)arg1
)->GetKind();
32374 wxPyEndAllowThreads(__tstate
);
32375 if (PyErr_Occurred()) SWIG_fail
;
32377 resultobj
= SWIG_FromInt((int)result
);
32384 static PyObject
*_wrap_MenuItem_SetKind(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32385 PyObject
*resultobj
;
32386 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32388 PyObject
* obj0
= 0 ;
32389 PyObject
* obj1
= 0 ;
32390 char *kwnames
[] = {
32391 (char *) "self",(char *) "kind", NULL
32394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetKind",kwnames
,&obj0
,&obj1
)) goto fail
;
32395 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32396 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32397 arg2
= (wxItemKind
) SWIG_AsInt(obj1
);
32398 if (PyErr_Occurred()) SWIG_fail
;
32400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32401 (arg1
)->SetKind((wxItemKind
)arg2
);
32403 wxPyEndAllowThreads(__tstate
);
32404 if (PyErr_Occurred()) SWIG_fail
;
32406 Py_INCREF(Py_None
); resultobj
= Py_None
;
32413 static PyObject
*_wrap_MenuItem_SetCheckable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32414 PyObject
*resultobj
;
32415 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32417 PyObject
* obj0
= 0 ;
32418 PyObject
* obj1
= 0 ;
32419 char *kwnames
[] = {
32420 (char *) "self",(char *) "checkable", NULL
32423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetCheckable",kwnames
,&obj0
,&obj1
)) goto fail
;
32424 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32425 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32426 arg2
= (bool) SWIG_AsBool(obj1
);
32427 if (PyErr_Occurred()) SWIG_fail
;
32429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32430 (arg1
)->SetCheckable(arg2
);
32432 wxPyEndAllowThreads(__tstate
);
32433 if (PyErr_Occurred()) SWIG_fail
;
32435 Py_INCREF(Py_None
); resultobj
= Py_None
;
32442 static PyObject
*_wrap_MenuItem_IsCheckable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32443 PyObject
*resultobj
;
32444 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32446 PyObject
* obj0
= 0 ;
32447 char *kwnames
[] = {
32448 (char *) "self", NULL
32451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsCheckable",kwnames
,&obj0
)) goto fail
;
32452 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32453 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32456 result
= (bool)((wxMenuItem
const *)arg1
)->IsCheckable();
32458 wxPyEndAllowThreads(__tstate
);
32459 if (PyErr_Occurred()) SWIG_fail
;
32462 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32470 static PyObject
*_wrap_MenuItem_IsSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32471 PyObject
*resultobj
;
32472 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32474 PyObject
* obj0
= 0 ;
32475 char *kwnames
[] = {
32476 (char *) "self", NULL
32479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsSubMenu",kwnames
,&obj0
)) goto fail
;
32480 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32481 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32484 result
= (bool)((wxMenuItem
const *)arg1
)->IsSubMenu();
32486 wxPyEndAllowThreads(__tstate
);
32487 if (PyErr_Occurred()) SWIG_fail
;
32490 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32498 static PyObject
*_wrap_MenuItem_SetSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32499 PyObject
*resultobj
;
32500 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32501 wxMenu
*arg2
= (wxMenu
*) 0 ;
32502 PyObject
* obj0
= 0 ;
32503 PyObject
* obj1
= 0 ;
32504 char *kwnames
[] = {
32505 (char *) "self",(char *) "menu", NULL
32508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetSubMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
32509 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32510 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32511 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
32512 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32515 (arg1
)->SetSubMenu(arg2
);
32517 wxPyEndAllowThreads(__tstate
);
32518 if (PyErr_Occurred()) SWIG_fail
;
32520 Py_INCREF(Py_None
); resultobj
= Py_None
;
32527 static PyObject
*_wrap_MenuItem_GetSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32528 PyObject
*resultobj
;
32529 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32531 PyObject
* obj0
= 0 ;
32532 char *kwnames
[] = {
32533 (char *) "self", NULL
32536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetSubMenu",kwnames
,&obj0
)) goto fail
;
32537 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32538 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32541 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetSubMenu();
32543 wxPyEndAllowThreads(__tstate
);
32544 if (PyErr_Occurred()) SWIG_fail
;
32547 resultobj
= wxPyMake_wxObject(result
, 0);
32555 static PyObject
*_wrap_MenuItem_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32556 PyObject
*resultobj
;
32557 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32558 bool arg2
= (bool) True
;
32559 PyObject
* obj0
= 0 ;
32560 PyObject
* obj1
= 0 ;
32561 char *kwnames
[] = {
32562 (char *) "self",(char *) "enable", NULL
32565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
32566 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32567 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32569 arg2
= (bool) SWIG_AsBool(obj1
);
32570 if (PyErr_Occurred()) SWIG_fail
;
32573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32574 (arg1
)->Enable(arg2
);
32576 wxPyEndAllowThreads(__tstate
);
32577 if (PyErr_Occurred()) SWIG_fail
;
32579 Py_INCREF(Py_None
); resultobj
= Py_None
;
32586 static PyObject
*_wrap_MenuItem_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32587 PyObject
*resultobj
;
32588 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32590 PyObject
* obj0
= 0 ;
32591 char *kwnames
[] = {
32592 (char *) "self", NULL
32595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsEnabled",kwnames
,&obj0
)) goto fail
;
32596 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32597 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32600 result
= (bool)((wxMenuItem
const *)arg1
)->IsEnabled();
32602 wxPyEndAllowThreads(__tstate
);
32603 if (PyErr_Occurred()) SWIG_fail
;
32606 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32614 static PyObject
*_wrap_MenuItem_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32615 PyObject
*resultobj
;
32616 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32617 bool arg2
= (bool) True
;
32618 PyObject
* obj0
= 0 ;
32619 PyObject
* obj1
= 0 ;
32620 char *kwnames
[] = {
32621 (char *) "self",(char *) "check", NULL
32624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Check",kwnames
,&obj0
,&obj1
)) goto fail
;
32625 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32626 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32628 arg2
= (bool) SWIG_AsBool(obj1
);
32629 if (PyErr_Occurred()) SWIG_fail
;
32632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32633 (arg1
)->Check(arg2
);
32635 wxPyEndAllowThreads(__tstate
);
32636 if (PyErr_Occurred()) SWIG_fail
;
32638 Py_INCREF(Py_None
); resultobj
= Py_None
;
32645 static PyObject
*_wrap_MenuItem_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32646 PyObject
*resultobj
;
32647 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32649 PyObject
* obj0
= 0 ;
32650 char *kwnames
[] = {
32651 (char *) "self", NULL
32654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsChecked",kwnames
,&obj0
)) goto fail
;
32655 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32656 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32659 result
= (bool)((wxMenuItem
const *)arg1
)->IsChecked();
32661 wxPyEndAllowThreads(__tstate
);
32662 if (PyErr_Occurred()) SWIG_fail
;
32665 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32673 static PyObject
*_wrap_MenuItem_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32674 PyObject
*resultobj
;
32675 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32676 PyObject
* obj0
= 0 ;
32677 char *kwnames
[] = {
32678 (char *) "self", NULL
32681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_Toggle",kwnames
,&obj0
)) goto fail
;
32682 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32683 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32688 wxPyEndAllowThreads(__tstate
);
32689 if (PyErr_Occurred()) SWIG_fail
;
32691 Py_INCREF(Py_None
); resultobj
= Py_None
;
32698 static PyObject
*_wrap_MenuItem_SetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32699 PyObject
*resultobj
;
32700 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32701 wxString
*arg2
= 0 ;
32702 bool temp2
= False
;
32703 PyObject
* obj0
= 0 ;
32704 PyObject
* obj1
= 0 ;
32705 char *kwnames
[] = {
32706 (char *) "self",(char *) "str", NULL
32709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
32710 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32711 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32713 arg2
= wxString_in_helper(obj1
);
32714 if (arg2
== NULL
) SWIG_fail
;
32718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32719 (arg1
)->SetHelp((wxString
const &)*arg2
);
32721 wxPyEndAllowThreads(__tstate
);
32722 if (PyErr_Occurred()) SWIG_fail
;
32724 Py_INCREF(Py_None
); resultobj
= Py_None
;
32739 static PyObject
*_wrap_MenuItem_GetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32740 PyObject
*resultobj
;
32741 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32743 PyObject
* obj0
= 0 ;
32744 char *kwnames
[] = {
32745 (char *) "self", NULL
32748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetHelp",kwnames
,&obj0
)) goto fail
;
32749 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32750 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32754 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetHelp();
32755 result
= (wxString
*) &_result_ref
;
32758 wxPyEndAllowThreads(__tstate
);
32759 if (PyErr_Occurred()) SWIG_fail
;
32763 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
32765 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
32774 static PyObject
*_wrap_MenuItem_GetAccel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32775 PyObject
*resultobj
;
32776 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32777 wxAcceleratorEntry
*result
;
32778 PyObject
* obj0
= 0 ;
32779 char *kwnames
[] = {
32780 (char *) "self", NULL
32783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetAccel",kwnames
,&obj0
)) goto fail
;
32784 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32785 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32788 result
= (wxAcceleratorEntry
*)((wxMenuItem
const *)arg1
)->GetAccel();
32790 wxPyEndAllowThreads(__tstate
);
32791 if (PyErr_Occurred()) SWIG_fail
;
32793 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 0);
32800 static PyObject
*_wrap_MenuItem_SetAccel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32801 PyObject
*resultobj
;
32802 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32803 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
32804 PyObject
* obj0
= 0 ;
32805 PyObject
* obj1
= 0 ;
32806 char *kwnames
[] = {
32807 (char *) "self",(char *) "accel", NULL
32810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetAccel",kwnames
,&obj0
,&obj1
)) goto fail
;
32811 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32812 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32813 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxAcceleratorEntry
,
32814 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32817 (arg1
)->SetAccel(arg2
);
32819 wxPyEndAllowThreads(__tstate
);
32820 if (PyErr_Occurred()) SWIG_fail
;
32822 Py_INCREF(Py_None
); resultobj
= Py_None
;
32829 static PyObject
*_wrap_MenuItem_GetDefaultMarginWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32830 PyObject
*resultobj
;
32832 char *kwnames
[] = {
32836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MenuItem_GetDefaultMarginWidth",kwnames
)) goto fail
;
32838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32839 result
= (int)MenuItem_GetDefaultMarginWidth();
32841 wxPyEndAllowThreads(__tstate
);
32842 if (PyErr_Occurred()) SWIG_fail
;
32844 resultobj
= SWIG_FromInt((int)result
);
32851 static PyObject
*_wrap_MenuItem_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32852 PyObject
*resultobj
;
32853 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32854 wxBitmap
*arg2
= 0 ;
32855 PyObject
* obj0
= 0 ;
32856 PyObject
* obj1
= 0 ;
32857 char *kwnames
[] = {
32858 (char *) "self",(char *) "bitmap", NULL
32861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
32862 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32863 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32864 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
32865 SWIG_POINTER_EXCEPTION
| 0)) == -1)
32867 if (arg2
== NULL
) {
32868 PyErr_SetString(PyExc_TypeError
,"null reference");
32872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32873 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
32875 wxPyEndAllowThreads(__tstate
);
32876 if (PyErr_Occurred()) SWIG_fail
;
32878 Py_INCREF(Py_None
); resultobj
= Py_None
;
32885 static PyObject
*_wrap_MenuItem_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32886 PyObject
*resultobj
;
32887 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32889 PyObject
* obj0
= 0 ;
32890 char *kwnames
[] = {
32891 (char *) "self", NULL
32894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetBitmap",kwnames
,&obj0
)) goto fail
;
32895 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32896 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32900 wxBitmap
const &_result_ref
= (arg1
)->GetBitmap();
32901 result
= (wxBitmap
*) &_result_ref
;
32904 wxPyEndAllowThreads(__tstate
);
32905 if (PyErr_Occurred()) SWIG_fail
;
32908 wxBitmap
* resultptr
= new wxBitmap(*result
);
32909 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
32917 static PyObject
* MenuItem_swigregister(PyObject
*self
, PyObject
*args
) {
32919 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32920 SWIG_TypeClientData(SWIGTYPE_p_wxMenuItem
, obj
);
32922 return Py_BuildValue((char *)"");
32924 static int _wrap_ControlNameStr_set(PyObject
*_val
) {
32925 PyErr_SetString(PyExc_TypeError
,"Variable ControlNameStr is read-only.");
32930 static PyObject
*_wrap_ControlNameStr_get() {
32935 pyobj
= PyUnicode_FromWideChar((&wxPyControlNameStr
)->c_str(), (&wxPyControlNameStr
)->Len());
32937 pyobj
= PyString_FromStringAndSize((&wxPyControlNameStr
)->c_str(), (&wxPyControlNameStr
)->Len());
32944 static PyObject
*_wrap_new_Control(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32945 PyObject
*resultobj
;
32946 wxWindow
*arg1
= (wxWindow
*) 0 ;
32947 int arg2
= (int) -1 ;
32948 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
32949 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
32950 wxSize
const &arg4_defvalue
= wxDefaultSize
;
32951 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
32952 long arg5
= (long) 0 ;
32953 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
32954 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
32955 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
32956 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
32960 bool temp7
= False
;
32961 PyObject
* obj0
= 0 ;
32962 PyObject
* obj1
= 0 ;
32963 PyObject
* obj2
= 0 ;
32964 PyObject
* obj3
= 0 ;
32965 PyObject
* obj4
= 0 ;
32966 PyObject
* obj5
= 0 ;
32967 PyObject
* obj6
= 0 ;
32968 char *kwnames
[] = {
32969 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
32972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Control",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
32973 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
32974 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32976 arg2
= (int) SWIG_AsInt(obj1
);
32977 if (PyErr_Occurred()) SWIG_fail
;
32982 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
32988 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
32992 arg5
= (long) SWIG_AsLong(obj4
);
32993 if (PyErr_Occurred()) SWIG_fail
;
32996 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
32997 SWIG_POINTER_EXCEPTION
| 0)) == -1)
32999 if (arg6
== NULL
) {
33000 PyErr_SetString(PyExc_TypeError
,"null reference");
33006 arg7
= wxString_in_helper(obj6
);
33007 if (arg7
== NULL
) SWIG_fail
;
33012 if (!wxPyCheckForApp()) SWIG_fail
;
33013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33014 result
= (wxControl
*)new wxControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
33016 wxPyEndAllowThreads(__tstate
);
33017 if (PyErr_Occurred()) SWIG_fail
;
33020 resultobj
= wxPyMake_wxObject(result
, 1);
33036 static PyObject
*_wrap_new_PreControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33037 PyObject
*resultobj
;
33039 char *kwnames
[] = {
33043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreControl",kwnames
)) goto fail
;
33045 if (!wxPyCheckForApp()) SWIG_fail
;
33046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33047 result
= (wxControl
*)new wxControl();
33049 wxPyEndAllowThreads(__tstate
);
33050 if (PyErr_Occurred()) SWIG_fail
;
33053 resultobj
= wxPyMake_wxObject(result
, 1);
33061 static PyObject
*_wrap_Control_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33062 PyObject
*resultobj
;
33063 wxControl
*arg1
= (wxControl
*) 0 ;
33064 wxWindow
*arg2
= (wxWindow
*) 0 ;
33065 int arg3
= (int) -1 ;
33066 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
33067 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
33068 wxSize
const &arg5_defvalue
= wxDefaultSize
;
33069 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
33070 long arg6
= (long) 0 ;
33071 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
33072 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
33073 wxString
const &arg8_defvalue
= wxPyControlNameStr
;
33074 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
33078 bool temp8
= False
;
33079 PyObject
* obj0
= 0 ;
33080 PyObject
* obj1
= 0 ;
33081 PyObject
* obj2
= 0 ;
33082 PyObject
* obj3
= 0 ;
33083 PyObject
* obj4
= 0 ;
33084 PyObject
* obj5
= 0 ;
33085 PyObject
* obj6
= 0 ;
33086 PyObject
* obj7
= 0 ;
33087 char *kwnames
[] = {
33088 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
33091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Control_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
33092 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxControl
,
33093 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33094 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
33095 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33097 arg3
= (int) SWIG_AsInt(obj2
);
33098 if (PyErr_Occurred()) SWIG_fail
;
33103 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
33109 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
33113 arg6
= (long) SWIG_AsLong(obj5
);
33114 if (PyErr_Occurred()) SWIG_fail
;
33117 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
33118 SWIG_POINTER_EXCEPTION
| 0)) == -1)
33120 if (arg7
== NULL
) {
33121 PyErr_SetString(PyExc_TypeError
,"null reference");
33127 arg8
= wxString_in_helper(obj7
);
33128 if (arg8
== NULL
) SWIG_fail
;
33133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33134 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
33136 wxPyEndAllowThreads(__tstate
);
33137 if (PyErr_Occurred()) SWIG_fail
;
33140 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33156 static PyObject
*_wrap_Control_Command(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33157 PyObject
*resultobj
;
33158 wxControl
*arg1
= (wxControl
*) 0 ;
33159 wxCommandEvent
*arg2
= 0 ;
33160 PyObject
* obj0
= 0 ;
33161 PyObject
* obj1
= 0 ;
33162 char *kwnames
[] = {
33163 (char *) "self",(char *) "event", NULL
33166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Control_Command",kwnames
,&obj0
,&obj1
)) goto fail
;
33167 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxControl
,
33168 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33169 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCommandEvent
,
33170 SWIG_POINTER_EXCEPTION
| 0)) == -1)
33172 if (arg2
== NULL
) {
33173 PyErr_SetString(PyExc_TypeError
,"null reference");
33177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33178 (arg1
)->Command(*arg2
);
33180 wxPyEndAllowThreads(__tstate
);
33181 if (PyErr_Occurred()) SWIG_fail
;
33183 Py_INCREF(Py_None
); resultobj
= Py_None
;
33190 static PyObject
*_wrap_Control_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33191 PyObject
*resultobj
;
33192 wxControl
*arg1
= (wxControl
*) 0 ;
33194 PyObject
* obj0
= 0 ;
33195 char *kwnames
[] = {
33196 (char *) "self", NULL
33199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Control_GetLabel",kwnames
,&obj0
)) goto fail
;
33200 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxControl
,
33201 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33204 result
= (arg1
)->GetLabel();
33206 wxPyEndAllowThreads(__tstate
);
33207 if (PyErr_Occurred()) SWIG_fail
;
33211 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33213 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33222 static PyObject
*_wrap_Control_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33223 PyObject
*resultobj
;
33224 wxControl
*arg1
= (wxControl
*) 0 ;
33225 wxString
*arg2
= 0 ;
33226 bool temp2
= False
;
33227 PyObject
* obj0
= 0 ;
33228 PyObject
* obj1
= 0 ;
33229 char *kwnames
[] = {
33230 (char *) "self",(char *) "label", NULL
33233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Control_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
33234 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxControl
,
33235 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33237 arg2
= wxString_in_helper(obj1
);
33238 if (arg2
== NULL
) SWIG_fail
;
33242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33243 (arg1
)->SetLabel((wxString
const &)*arg2
);
33245 wxPyEndAllowThreads(__tstate
);
33246 if (PyErr_Occurred()) SWIG_fail
;
33248 Py_INCREF(Py_None
); resultobj
= Py_None
;
33263 static PyObject
*_wrap_Control_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33264 PyObject
*resultobj
;
33265 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
33266 wxVisualAttributes result
;
33267 PyObject
* obj0
= 0 ;
33268 char *kwnames
[] = {
33269 (char *) "variant", NULL
33272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Control_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
33274 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
33275 if (PyErr_Occurred()) SWIG_fail
;
33278 if (!wxPyCheckForApp()) SWIG_fail
;
33279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33280 result
= wxControl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
33282 wxPyEndAllowThreads(__tstate
);
33283 if (PyErr_Occurred()) SWIG_fail
;
33286 wxVisualAttributes
* resultptr
;
33287 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
33288 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
33296 static PyObject
* Control_swigregister(PyObject
*self
, PyObject
*args
) {
33298 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33299 SWIG_TypeClientData(SWIGTYPE_p_wxControl
, obj
);
33301 return Py_BuildValue((char *)"");
33303 static PyObject
*_wrap_ItemContainer_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33304 PyObject
*resultobj
;
33305 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33306 wxString
*arg2
= 0 ;
33307 PyObject
*arg3
= (PyObject
*) NULL
;
33309 bool temp2
= False
;
33310 PyObject
* obj0
= 0 ;
33311 PyObject
* obj1
= 0 ;
33312 PyObject
* obj2
= 0 ;
33313 char *kwnames
[] = {
33314 (char *) "self",(char *) "item",(char *) "clientData", NULL
33317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ItemContainer_Append",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33318 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33319 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33321 arg2
= wxString_in_helper(obj1
);
33322 if (arg2
== NULL
) SWIG_fail
;
33329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33330 result
= (int)wxItemContainer_Append(arg1
,(wxString
const &)*arg2
,arg3
);
33332 wxPyEndAllowThreads(__tstate
);
33333 if (PyErr_Occurred()) SWIG_fail
;
33335 resultobj
= SWIG_FromInt((int)result
);
33350 static PyObject
*_wrap_ItemContainer_AppendItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33351 PyObject
*resultobj
;
33352 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33353 wxArrayString
*arg2
= 0 ;
33354 bool temp2
= False
;
33355 PyObject
* obj0
= 0 ;
33356 PyObject
* obj1
= 0 ;
33357 char *kwnames
[] = {
33358 (char *) "self",(char *) "strings", NULL
33361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_AppendItems",kwnames
,&obj0
,&obj1
)) goto fail
;
33362 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33363 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33365 if (! PySequence_Check(obj1
)) {
33366 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
33369 arg2
= new wxArrayString
;
33371 int i
, len
=PySequence_Length(obj1
);
33372 for (i
=0; i
<len
; i
++) {
33373 PyObject
* item
= PySequence_GetItem(obj1
, i
);
33375 PyObject
* str
= PyObject_Unicode(item
);
33377 PyObject
* str
= PyObject_Str(item
);
33379 if (PyErr_Occurred()) SWIG_fail
;
33380 arg2
->Add(Py2wxString(str
));
33386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33387 (arg1
)->Append((wxArrayString
const &)*arg2
);
33389 wxPyEndAllowThreads(__tstate
);
33390 if (PyErr_Occurred()) SWIG_fail
;
33392 Py_INCREF(Py_None
); resultobj
= Py_None
;
33394 if (temp2
) delete arg2
;
33399 if (temp2
) delete arg2
;
33405 static PyObject
*_wrap_ItemContainer_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33406 PyObject
*resultobj
;
33407 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33408 wxString
*arg2
= 0 ;
33410 PyObject
*arg4
= (PyObject
*) NULL
;
33412 bool temp2
= False
;
33413 PyObject
* obj0
= 0 ;
33414 PyObject
* obj1
= 0 ;
33415 PyObject
* obj2
= 0 ;
33416 PyObject
* obj3
= 0 ;
33417 char *kwnames
[] = {
33418 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
33421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ItemContainer_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
33422 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33423 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33425 arg2
= wxString_in_helper(obj1
);
33426 if (arg2
== NULL
) SWIG_fail
;
33429 arg3
= (int) SWIG_AsInt(obj2
);
33430 if (PyErr_Occurred()) SWIG_fail
;
33435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33436 result
= (int)wxItemContainer_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
33438 wxPyEndAllowThreads(__tstate
);
33439 if (PyErr_Occurred()) SWIG_fail
;
33441 resultobj
= SWIG_FromInt((int)result
);
33456 static PyObject
*_wrap_ItemContainer_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33457 PyObject
*resultobj
;
33458 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33459 PyObject
* obj0
= 0 ;
33460 char *kwnames
[] = {
33461 (char *) "self", NULL
33464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_Clear",kwnames
,&obj0
)) goto fail
;
33465 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33466 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33471 wxPyEndAllowThreads(__tstate
);
33472 if (PyErr_Occurred()) SWIG_fail
;
33474 Py_INCREF(Py_None
); resultobj
= Py_None
;
33481 static PyObject
*_wrap_ItemContainer_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33482 PyObject
*resultobj
;
33483 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33485 PyObject
* obj0
= 0 ;
33486 PyObject
* obj1
= 0 ;
33487 char *kwnames
[] = {
33488 (char *) "self",(char *) "n", NULL
33491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
33492 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33493 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33494 arg2
= (int) SWIG_AsInt(obj1
);
33495 if (PyErr_Occurred()) SWIG_fail
;
33497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33498 (arg1
)->Delete(arg2
);
33500 wxPyEndAllowThreads(__tstate
);
33501 if (PyErr_Occurred()) SWIG_fail
;
33503 Py_INCREF(Py_None
); resultobj
= Py_None
;
33510 static PyObject
*_wrap_ItemContainer_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33511 PyObject
*resultobj
;
33512 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33514 PyObject
* obj0
= 0 ;
33515 char *kwnames
[] = {
33516 (char *) "self", NULL
33519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetCount",kwnames
,&obj0
)) goto fail
;
33520 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33521 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33524 result
= (int)((wxItemContainer
const *)arg1
)->GetCount();
33526 wxPyEndAllowThreads(__tstate
);
33527 if (PyErr_Occurred()) SWIG_fail
;
33529 resultobj
= SWIG_FromInt((int)result
);
33536 static PyObject
*_wrap_ItemContainer_IsEmpty(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33537 PyObject
*resultobj
;
33538 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33540 PyObject
* obj0
= 0 ;
33541 char *kwnames
[] = {
33542 (char *) "self", NULL
33545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_IsEmpty",kwnames
,&obj0
)) goto fail
;
33546 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33547 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33550 result
= (bool)((wxItemContainer
const *)arg1
)->IsEmpty();
33552 wxPyEndAllowThreads(__tstate
);
33553 if (PyErr_Occurred()) SWIG_fail
;
33556 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33564 static PyObject
*_wrap_ItemContainer_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33565 PyObject
*resultobj
;
33566 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33569 PyObject
* obj0
= 0 ;
33570 PyObject
* obj1
= 0 ;
33571 char *kwnames
[] = {
33572 (char *) "self",(char *) "n", NULL
33575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_GetString",kwnames
,&obj0
,&obj1
)) goto fail
;
33576 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33577 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33578 arg2
= (int) SWIG_AsInt(obj1
);
33579 if (PyErr_Occurred()) SWIG_fail
;
33581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33582 result
= ((wxItemContainer
const *)arg1
)->GetString(arg2
);
33584 wxPyEndAllowThreads(__tstate
);
33585 if (PyErr_Occurred()) SWIG_fail
;
33589 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33591 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33600 static PyObject
*_wrap_ItemContainer_GetStrings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33601 PyObject
*resultobj
;
33602 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33603 wxArrayString result
;
33604 PyObject
* obj0
= 0 ;
33605 char *kwnames
[] = {
33606 (char *) "self", NULL
33609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetStrings",kwnames
,&obj0
)) goto fail
;
33610 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33611 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33614 result
= ((wxItemContainer
const *)arg1
)->GetStrings();
33616 wxPyEndAllowThreads(__tstate
);
33617 if (PyErr_Occurred()) SWIG_fail
;
33620 resultobj
= wxArrayString2PyList_helper(result
);
33628 static PyObject
*_wrap_ItemContainer_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33629 PyObject
*resultobj
;
33630 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33632 wxString
*arg3
= 0 ;
33633 bool temp3
= False
;
33634 PyObject
* obj0
= 0 ;
33635 PyObject
* obj1
= 0 ;
33636 PyObject
* obj2
= 0 ;
33637 char *kwnames
[] = {
33638 (char *) "self",(char *) "n",(char *) "s", NULL
33641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ItemContainer_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33642 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33643 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33644 arg2
= (int) SWIG_AsInt(obj1
);
33645 if (PyErr_Occurred()) SWIG_fail
;
33647 arg3
= wxString_in_helper(obj2
);
33648 if (arg3
== NULL
) SWIG_fail
;
33652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33653 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
33655 wxPyEndAllowThreads(__tstate
);
33656 if (PyErr_Occurred()) SWIG_fail
;
33658 Py_INCREF(Py_None
); resultobj
= Py_None
;
33673 static PyObject
*_wrap_ItemContainer_FindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33674 PyObject
*resultobj
;
33675 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33676 wxString
*arg2
= 0 ;
33678 bool temp2
= False
;
33679 PyObject
* obj0
= 0 ;
33680 PyObject
* obj1
= 0 ;
33681 char *kwnames
[] = {
33682 (char *) "self",(char *) "s", NULL
33685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_FindString",kwnames
,&obj0
,&obj1
)) goto fail
;
33686 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33687 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33689 arg2
= wxString_in_helper(obj1
);
33690 if (arg2
== NULL
) SWIG_fail
;
33694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33695 result
= (int)((wxItemContainer
const *)arg1
)->FindString((wxString
const &)*arg2
);
33697 wxPyEndAllowThreads(__tstate
);
33698 if (PyErr_Occurred()) SWIG_fail
;
33700 resultobj
= SWIG_FromInt((int)result
);
33715 static PyObject
*_wrap_ItemContainer_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33716 PyObject
*resultobj
;
33717 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33719 PyObject
* obj0
= 0 ;
33720 PyObject
* obj1
= 0 ;
33721 char *kwnames
[] = {
33722 (char *) "self",(char *) "n", NULL
33725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_Select",kwnames
,&obj0
,&obj1
)) goto fail
;
33726 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33727 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33728 arg2
= (int) SWIG_AsInt(obj1
);
33729 if (PyErr_Occurred()) SWIG_fail
;
33731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33732 (arg1
)->Select(arg2
);
33734 wxPyEndAllowThreads(__tstate
);
33735 if (PyErr_Occurred()) SWIG_fail
;
33737 Py_INCREF(Py_None
); resultobj
= Py_None
;
33744 static PyObject
*_wrap_ItemContainer_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33745 PyObject
*resultobj
;
33746 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33748 PyObject
* obj0
= 0 ;
33749 char *kwnames
[] = {
33750 (char *) "self", NULL
33753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetSelection",kwnames
,&obj0
)) goto fail
;
33754 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33755 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33758 result
= (int)((wxItemContainer
const *)arg1
)->GetSelection();
33760 wxPyEndAllowThreads(__tstate
);
33761 if (PyErr_Occurred()) SWIG_fail
;
33763 resultobj
= SWIG_FromInt((int)result
);
33770 static PyObject
*_wrap_ItemContainer_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33771 PyObject
*resultobj
;
33772 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33774 PyObject
* obj0
= 0 ;
33775 char *kwnames
[] = {
33776 (char *) "self", NULL
33779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetStringSelection",kwnames
,&obj0
)) goto fail
;
33780 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33781 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33784 result
= ((wxItemContainer
const *)arg1
)->GetStringSelection();
33786 wxPyEndAllowThreads(__tstate
);
33787 if (PyErr_Occurred()) SWIG_fail
;
33791 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33793 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33802 static PyObject
*_wrap_ItemContainer_GetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33803 PyObject
*resultobj
;
33804 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33807 PyObject
* obj0
= 0 ;
33808 PyObject
* obj1
= 0 ;
33809 char *kwnames
[] = {
33810 (char *) "self",(char *) "n", NULL
33813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_GetClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
33814 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33816 arg2
= (int) SWIG_AsInt(obj1
);
33817 if (PyErr_Occurred()) SWIG_fail
;
33819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33820 result
= (PyObject
*)wxItemContainer_GetClientData(arg1
,arg2
);
33822 wxPyEndAllowThreads(__tstate
);
33823 if (PyErr_Occurred()) SWIG_fail
;
33825 resultobj
= result
;
33832 static PyObject
*_wrap_ItemContainer_SetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33833 PyObject
*resultobj
;
33834 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33836 PyObject
*arg3
= (PyObject
*) 0 ;
33837 PyObject
* obj0
= 0 ;
33838 PyObject
* obj1
= 0 ;
33839 PyObject
* obj2
= 0 ;
33840 char *kwnames
[] = {
33841 (char *) "self",(char *) "n",(char *) "clientData", NULL
33844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ItemContainer_SetClientData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33845 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33846 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33847 arg2
= (int) SWIG_AsInt(obj1
);
33848 if (PyErr_Occurred()) SWIG_fail
;
33851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33852 wxItemContainer_SetClientData(arg1
,arg2
,arg3
);
33854 wxPyEndAllowThreads(__tstate
);
33855 if (PyErr_Occurred()) SWIG_fail
;
33857 Py_INCREF(Py_None
); resultobj
= Py_None
;
33864 static PyObject
* ItemContainer_swigregister(PyObject
*self
, PyObject
*args
) {
33866 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33867 SWIG_TypeClientData(SWIGTYPE_p_wxItemContainer
, obj
);
33869 return Py_BuildValue((char *)"");
33871 static PyObject
* ControlWithItems_swigregister(PyObject
*self
, PyObject
*args
) {
33873 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33874 SWIG_TypeClientData(SWIGTYPE_p_wxControlWithItems
, obj
);
33876 return Py_BuildValue((char *)"");
33878 static PyObject
*_wrap_new_SizerItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33879 PyObject
*resultobj
;
33880 wxSizerItem
*result
;
33881 char *kwnames
[] = {
33885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SizerItem",kwnames
)) goto fail
;
33887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33888 result
= (wxSizerItem
*)new wxSizerItem();
33890 wxPyEndAllowThreads(__tstate
);
33891 if (PyErr_Occurred()) SWIG_fail
;
33893 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
33900 static PyObject
*_wrap_new_SizerItemWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33901 PyObject
*resultobj
;
33902 wxWindow
*arg1
= (wxWindow
*) 0 ;
33906 PyObject
*arg5
= (PyObject
*) NULL
;
33907 wxSizerItem
*result
;
33908 PyObject
* obj0
= 0 ;
33909 PyObject
* obj1
= 0 ;
33910 PyObject
* obj2
= 0 ;
33911 PyObject
* obj3
= 0 ;
33912 PyObject
* obj4
= 0 ;
33913 char *kwnames
[] = {
33914 (char *) "window",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
33917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:new_SizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
33918 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
33919 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33920 arg2
= (int) SWIG_AsInt(obj1
);
33921 if (PyErr_Occurred()) SWIG_fail
;
33922 arg3
= (int) SWIG_AsInt(obj2
);
33923 if (PyErr_Occurred()) SWIG_fail
;
33924 arg4
= (int) SWIG_AsInt(obj3
);
33925 if (PyErr_Occurred()) SWIG_fail
;
33930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33931 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
33933 wxPyEndAllowThreads(__tstate
);
33934 if (PyErr_Occurred()) SWIG_fail
;
33936 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
33943 static PyObject
*_wrap_new_SizerItemSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33944 PyObject
*resultobj
;
33950 PyObject
*arg6
= (PyObject
*) NULL
;
33951 wxSizerItem
*result
;
33952 PyObject
* obj0
= 0 ;
33953 PyObject
* obj1
= 0 ;
33954 PyObject
* obj2
= 0 ;
33955 PyObject
* obj3
= 0 ;
33956 PyObject
* obj4
= 0 ;
33957 PyObject
* obj5
= 0 ;
33958 char *kwnames
[] = {
33959 (char *) "width",(char *) "height",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
33962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_SizerItemSpacer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
33963 arg1
= (int) SWIG_AsInt(obj0
);
33964 if (PyErr_Occurred()) SWIG_fail
;
33965 arg2
= (int) SWIG_AsInt(obj1
);
33966 if (PyErr_Occurred()) SWIG_fail
;
33967 arg3
= (int) SWIG_AsInt(obj2
);
33968 if (PyErr_Occurred()) SWIG_fail
;
33969 arg4
= (int) SWIG_AsInt(obj3
);
33970 if (PyErr_Occurred()) SWIG_fail
;
33971 arg5
= (int) SWIG_AsInt(obj4
);
33972 if (PyErr_Occurred()) SWIG_fail
;
33977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33978 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
33980 wxPyEndAllowThreads(__tstate
);
33981 if (PyErr_Occurred()) SWIG_fail
;
33983 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
33990 static PyObject
*_wrap_new_SizerItemSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33991 PyObject
*resultobj
;
33992 wxSizer
*arg1
= (wxSizer
*) 0 ;
33996 PyObject
*arg5
= (PyObject
*) NULL
;
33997 wxSizerItem
*result
;
33998 PyObject
* obj0
= 0 ;
33999 PyObject
* obj1
= 0 ;
34000 PyObject
* obj2
= 0 ;
34001 PyObject
* obj3
= 0 ;
34002 PyObject
* obj4
= 0 ;
34003 char *kwnames
[] = {
34004 (char *) "sizer",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
34007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:new_SizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
34008 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34009 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34010 arg2
= (int) SWIG_AsInt(obj1
);
34011 if (PyErr_Occurred()) SWIG_fail
;
34012 arg3
= (int) SWIG_AsInt(obj2
);
34013 if (PyErr_Occurred()) SWIG_fail
;
34014 arg4
= (int) SWIG_AsInt(obj3
);
34015 if (PyErr_Occurred()) SWIG_fail
;
34020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34021 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
34023 wxPyEndAllowThreads(__tstate
);
34024 if (PyErr_Occurred()) SWIG_fail
;
34026 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
34033 static PyObject
*_wrap_SizerItem_DeleteWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34034 PyObject
*resultobj
;
34035 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34036 PyObject
* obj0
= 0 ;
34037 char *kwnames
[] = {
34038 (char *) "self", NULL
34041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_DeleteWindows",kwnames
,&obj0
)) goto fail
;
34042 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34043 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34046 (arg1
)->DeleteWindows();
34048 wxPyEndAllowThreads(__tstate
);
34049 if (PyErr_Occurred()) SWIG_fail
;
34051 Py_INCREF(Py_None
); resultobj
= Py_None
;
34058 static PyObject
*_wrap_SizerItem_DetachSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34059 PyObject
*resultobj
;
34060 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34061 PyObject
* obj0
= 0 ;
34062 char *kwnames
[] = {
34063 (char *) "self", NULL
34066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_DetachSizer",kwnames
,&obj0
)) goto fail
;
34067 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34068 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34071 (arg1
)->DetachSizer();
34073 wxPyEndAllowThreads(__tstate
);
34074 if (PyErr_Occurred()) SWIG_fail
;
34076 Py_INCREF(Py_None
); resultobj
= Py_None
;
34083 static PyObject
*_wrap_SizerItem_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34084 PyObject
*resultobj
;
34085 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34087 PyObject
* obj0
= 0 ;
34088 char *kwnames
[] = {
34089 (char *) "self", NULL
34092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSize",kwnames
,&obj0
)) goto fail
;
34093 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34094 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34097 result
= (arg1
)->GetSize();
34099 wxPyEndAllowThreads(__tstate
);
34100 if (PyErr_Occurred()) SWIG_fail
;
34103 wxSize
* resultptr
;
34104 resultptr
= new wxSize((wxSize
&) result
);
34105 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
34113 static PyObject
*_wrap_SizerItem_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34114 PyObject
*resultobj
;
34115 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34117 PyObject
* obj0
= 0 ;
34118 char *kwnames
[] = {
34119 (char *) "self", NULL
34122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_CalcMin",kwnames
,&obj0
)) goto fail
;
34123 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34124 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34127 result
= (arg1
)->CalcMin();
34129 wxPyEndAllowThreads(__tstate
);
34130 if (PyErr_Occurred()) SWIG_fail
;
34133 wxSize
* resultptr
;
34134 resultptr
= new wxSize((wxSize
&) result
);
34135 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
34143 static PyObject
*_wrap_SizerItem_SetDimension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34144 PyObject
*resultobj
;
34145 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34150 PyObject
* obj0
= 0 ;
34151 PyObject
* obj1
= 0 ;
34152 PyObject
* obj2
= 0 ;
34153 char *kwnames
[] = {
34154 (char *) "self",(char *) "pos",(char *) "size", NULL
34157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34158 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34159 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34160 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxPoint
,
34161 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
34163 if ((SWIG_ConvertPtr(obj2
,(void **)(&argp3
),SWIGTYPE_p_wxSize
,
34164 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
34167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34168 (arg1
)->SetDimension(arg2
,arg3
);
34170 wxPyEndAllowThreads(__tstate
);
34171 if (PyErr_Occurred()) SWIG_fail
;
34173 Py_INCREF(Py_None
); resultobj
= Py_None
;
34180 static PyObject
*_wrap_SizerItem_GetMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34181 PyObject
*resultobj
;
34182 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34184 PyObject
* obj0
= 0 ;
34185 char *kwnames
[] = {
34186 (char *) "self", NULL
34189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetMinSize",kwnames
,&obj0
)) goto fail
;
34190 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34191 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34194 result
= (arg1
)->GetMinSize();
34196 wxPyEndAllowThreads(__tstate
);
34197 if (PyErr_Occurred()) SWIG_fail
;
34200 wxSize
* resultptr
;
34201 resultptr
= new wxSize((wxSize
&) result
);
34202 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
34210 static PyObject
*_wrap_SizerItem_GetMinSizeWithBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34211 PyObject
*resultobj
;
34212 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34214 PyObject
* obj0
= 0 ;
34215 char *kwnames
[] = {
34216 (char *) "self", NULL
34219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetMinSizeWithBorder",kwnames
,&obj0
)) goto fail
;
34220 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34221 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34224 result
= ((wxSizerItem
const *)arg1
)->GetMinSizeWithBorder();
34226 wxPyEndAllowThreads(__tstate
);
34227 if (PyErr_Occurred()) SWIG_fail
;
34230 wxSize
* resultptr
;
34231 resultptr
= new wxSize((wxSize
&) result
);
34232 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
34240 static PyObject
*_wrap_SizerItem_SetInitSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34241 PyObject
*resultobj
;
34242 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34245 PyObject
* obj0
= 0 ;
34246 PyObject
* obj1
= 0 ;
34247 PyObject
* obj2
= 0 ;
34248 char *kwnames
[] = {
34249 (char *) "self",(char *) "x",(char *) "y", NULL
34252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetInitSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34253 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34254 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34255 arg2
= (int) SWIG_AsInt(obj1
);
34256 if (PyErr_Occurred()) SWIG_fail
;
34257 arg3
= (int) SWIG_AsInt(obj2
);
34258 if (PyErr_Occurred()) SWIG_fail
;
34260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34261 (arg1
)->SetInitSize(arg2
,arg3
);
34263 wxPyEndAllowThreads(__tstate
);
34264 if (PyErr_Occurred()) SWIG_fail
;
34266 Py_INCREF(Py_None
); resultobj
= Py_None
;
34273 static PyObject
*_wrap_SizerItem_SetRatioWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34274 PyObject
*resultobj
;
34275 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34278 PyObject
* obj0
= 0 ;
34279 PyObject
* obj1
= 0 ;
34280 PyObject
* obj2
= 0 ;
34281 char *kwnames
[] = {
34282 (char *) "self",(char *) "width",(char *) "height", NULL
34285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetRatioWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34286 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34287 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34288 arg2
= (int) SWIG_AsInt(obj1
);
34289 if (PyErr_Occurred()) SWIG_fail
;
34290 arg3
= (int) SWIG_AsInt(obj2
);
34291 if (PyErr_Occurred()) SWIG_fail
;
34293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34294 (arg1
)->SetRatio(arg2
,arg3
);
34296 wxPyEndAllowThreads(__tstate
);
34297 if (PyErr_Occurred()) SWIG_fail
;
34299 Py_INCREF(Py_None
); resultobj
= Py_None
;
34306 static PyObject
*_wrap_SizerItem_SetRatioSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34307 PyObject
*resultobj
;
34308 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34311 PyObject
* obj0
= 0 ;
34312 PyObject
* obj1
= 0 ;
34313 char *kwnames
[] = {
34314 (char *) "self",(char *) "size", NULL
34317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetRatioSize",kwnames
,&obj0
,&obj1
)) goto fail
;
34318 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34319 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34320 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxSize
,
34321 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
34324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34325 (arg1
)->SetRatio(arg2
);
34327 wxPyEndAllowThreads(__tstate
);
34328 if (PyErr_Occurred()) SWIG_fail
;
34330 Py_INCREF(Py_None
); resultobj
= Py_None
;
34337 static PyObject
*_wrap_SizerItem_SetRatio(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34338 PyObject
*resultobj
;
34339 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34341 PyObject
* obj0
= 0 ;
34342 PyObject
* obj1
= 0 ;
34343 char *kwnames
[] = {
34344 (char *) "self",(char *) "ratio", NULL
34347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetRatio",kwnames
,&obj0
,&obj1
)) goto fail
;
34348 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34349 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34350 arg2
= (float) SWIG_AsFloat(obj1
);
34351 if (PyErr_Occurred()) SWIG_fail
;
34353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34354 (arg1
)->SetRatio(arg2
);
34356 wxPyEndAllowThreads(__tstate
);
34357 if (PyErr_Occurred()) SWIG_fail
;
34359 Py_INCREF(Py_None
); resultobj
= Py_None
;
34366 static PyObject
*_wrap_SizerItem_GetRatio(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34367 PyObject
*resultobj
;
34368 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34370 PyObject
* obj0
= 0 ;
34371 char *kwnames
[] = {
34372 (char *) "self", NULL
34375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetRatio",kwnames
,&obj0
)) goto fail
;
34376 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34377 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34380 result
= (float)(arg1
)->GetRatio();
34382 wxPyEndAllowThreads(__tstate
);
34383 if (PyErr_Occurred()) SWIG_fail
;
34385 resultobj
= SWIG_FromFloat((float)result
);
34392 static PyObject
*_wrap_SizerItem_IsWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34393 PyObject
*resultobj
;
34394 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34396 PyObject
* obj0
= 0 ;
34397 char *kwnames
[] = {
34398 (char *) "self", NULL
34401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsWindow",kwnames
,&obj0
)) goto fail
;
34402 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34403 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34406 result
= (bool)(arg1
)->IsWindow();
34408 wxPyEndAllowThreads(__tstate
);
34409 if (PyErr_Occurred()) SWIG_fail
;
34412 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34420 static PyObject
*_wrap_SizerItem_IsSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34421 PyObject
*resultobj
;
34422 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34424 PyObject
* obj0
= 0 ;
34425 char *kwnames
[] = {
34426 (char *) "self", NULL
34429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsSizer",kwnames
,&obj0
)) goto fail
;
34430 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34431 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34434 result
= (bool)(arg1
)->IsSizer();
34436 wxPyEndAllowThreads(__tstate
);
34437 if (PyErr_Occurred()) SWIG_fail
;
34440 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34448 static PyObject
*_wrap_SizerItem_IsSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34449 PyObject
*resultobj
;
34450 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34452 PyObject
* obj0
= 0 ;
34453 char *kwnames
[] = {
34454 (char *) "self", NULL
34457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsSpacer",kwnames
,&obj0
)) goto fail
;
34458 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34459 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34462 result
= (bool)(arg1
)->IsSpacer();
34464 wxPyEndAllowThreads(__tstate
);
34465 if (PyErr_Occurred()) SWIG_fail
;
34468 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34476 static PyObject
*_wrap_SizerItem_SetProportion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34477 PyObject
*resultobj
;
34478 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34480 PyObject
* obj0
= 0 ;
34481 PyObject
* obj1
= 0 ;
34482 char *kwnames
[] = {
34483 (char *) "self",(char *) "proportion", NULL
34486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetProportion",kwnames
,&obj0
,&obj1
)) goto fail
;
34487 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34488 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34489 arg2
= (int) SWIG_AsInt(obj1
);
34490 if (PyErr_Occurred()) SWIG_fail
;
34492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34493 (arg1
)->SetProportion(arg2
);
34495 wxPyEndAllowThreads(__tstate
);
34496 if (PyErr_Occurred()) SWIG_fail
;
34498 Py_INCREF(Py_None
); resultobj
= Py_None
;
34505 static PyObject
*_wrap_SizerItem_GetProportion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34506 PyObject
*resultobj
;
34507 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34509 PyObject
* obj0
= 0 ;
34510 char *kwnames
[] = {
34511 (char *) "self", NULL
34514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetProportion",kwnames
,&obj0
)) goto fail
;
34515 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34516 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34519 result
= (int)(arg1
)->GetProportion();
34521 wxPyEndAllowThreads(__tstate
);
34522 if (PyErr_Occurred()) SWIG_fail
;
34524 resultobj
= SWIG_FromInt((int)result
);
34531 static PyObject
*_wrap_SizerItem_SetFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34532 PyObject
*resultobj
;
34533 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34535 PyObject
* obj0
= 0 ;
34536 PyObject
* obj1
= 0 ;
34537 char *kwnames
[] = {
34538 (char *) "self",(char *) "flag", NULL
34541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
34542 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34543 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34544 arg2
= (int) SWIG_AsInt(obj1
);
34545 if (PyErr_Occurred()) SWIG_fail
;
34547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34548 (arg1
)->SetFlag(arg2
);
34550 wxPyEndAllowThreads(__tstate
);
34551 if (PyErr_Occurred()) SWIG_fail
;
34553 Py_INCREF(Py_None
); resultobj
= Py_None
;
34560 static PyObject
*_wrap_SizerItem_GetFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34561 PyObject
*resultobj
;
34562 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34564 PyObject
* obj0
= 0 ;
34565 char *kwnames
[] = {
34566 (char *) "self", NULL
34569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetFlag",kwnames
,&obj0
)) goto fail
;
34570 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34571 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34574 result
= (int)(arg1
)->GetFlag();
34576 wxPyEndAllowThreads(__tstate
);
34577 if (PyErr_Occurred()) SWIG_fail
;
34579 resultobj
= SWIG_FromInt((int)result
);
34586 static PyObject
*_wrap_SizerItem_SetBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34587 PyObject
*resultobj
;
34588 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34590 PyObject
* obj0
= 0 ;
34591 PyObject
* obj1
= 0 ;
34592 char *kwnames
[] = {
34593 (char *) "self",(char *) "border", NULL
34596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetBorder",kwnames
,&obj0
,&obj1
)) goto fail
;
34597 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34598 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34599 arg2
= (int) SWIG_AsInt(obj1
);
34600 if (PyErr_Occurred()) SWIG_fail
;
34602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34603 (arg1
)->SetBorder(arg2
);
34605 wxPyEndAllowThreads(__tstate
);
34606 if (PyErr_Occurred()) SWIG_fail
;
34608 Py_INCREF(Py_None
); resultobj
= Py_None
;
34615 static PyObject
*_wrap_SizerItem_GetBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34616 PyObject
*resultobj
;
34617 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34619 PyObject
* obj0
= 0 ;
34620 char *kwnames
[] = {
34621 (char *) "self", NULL
34624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetBorder",kwnames
,&obj0
)) goto fail
;
34625 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34626 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34629 result
= (int)(arg1
)->GetBorder();
34631 wxPyEndAllowThreads(__tstate
);
34632 if (PyErr_Occurred()) SWIG_fail
;
34634 resultobj
= SWIG_FromInt((int)result
);
34641 static PyObject
*_wrap_SizerItem_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34642 PyObject
*resultobj
;
34643 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34645 PyObject
* obj0
= 0 ;
34646 char *kwnames
[] = {
34647 (char *) "self", NULL
34650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetWindow",kwnames
,&obj0
)) goto fail
;
34651 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34652 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34655 result
= (wxWindow
*)(arg1
)->GetWindow();
34657 wxPyEndAllowThreads(__tstate
);
34658 if (PyErr_Occurred()) SWIG_fail
;
34661 resultobj
= wxPyMake_wxObject(result
, 0);
34669 static PyObject
*_wrap_SizerItem_SetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34670 PyObject
*resultobj
;
34671 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34672 wxWindow
*arg2
= (wxWindow
*) 0 ;
34673 PyObject
* obj0
= 0 ;
34674 PyObject
* obj1
= 0 ;
34675 char *kwnames
[] = {
34676 (char *) "self",(char *) "window", NULL
34679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
34680 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34681 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34682 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
34683 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34686 (arg1
)->SetWindow(arg2
);
34688 wxPyEndAllowThreads(__tstate
);
34689 if (PyErr_Occurred()) SWIG_fail
;
34691 Py_INCREF(Py_None
); resultobj
= Py_None
;
34698 static PyObject
*_wrap_SizerItem_GetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34699 PyObject
*resultobj
;
34700 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34702 PyObject
* obj0
= 0 ;
34703 char *kwnames
[] = {
34704 (char *) "self", NULL
34707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSizer",kwnames
,&obj0
)) goto fail
;
34708 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34709 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34712 result
= (wxSizer
*)(arg1
)->GetSizer();
34714 wxPyEndAllowThreads(__tstate
);
34715 if (PyErr_Occurred()) SWIG_fail
;
34718 resultobj
= wxPyMake_wxSizer(result
, 0);
34726 static PyObject
*_wrap_SizerItem_SetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34727 PyObject
*resultobj
;
34728 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34729 wxSizer
*arg2
= (wxSizer
*) 0 ;
34730 PyObject
* obj0
= 0 ;
34731 PyObject
* obj1
= 0 ;
34732 char *kwnames
[] = {
34733 (char *) "self",(char *) "sizer", NULL
34736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
34737 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34738 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34739 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
34740 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34743 (arg1
)->SetSizer(arg2
);
34745 wxPyEndAllowThreads(__tstate
);
34746 if (PyErr_Occurred()) SWIG_fail
;
34748 Py_INCREF(Py_None
); resultobj
= Py_None
;
34755 static PyObject
*_wrap_SizerItem_GetSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34756 PyObject
*resultobj
;
34757 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34759 PyObject
* obj0
= 0 ;
34760 char *kwnames
[] = {
34761 (char *) "self", NULL
34764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSpacer",kwnames
,&obj0
)) goto fail
;
34765 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34766 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34770 wxSize
const &_result_ref
= (arg1
)->GetSpacer();
34771 result
= (wxSize
*) &_result_ref
;
34774 wxPyEndAllowThreads(__tstate
);
34775 if (PyErr_Occurred()) SWIG_fail
;
34777 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
34784 static PyObject
*_wrap_SizerItem_SetSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34785 PyObject
*resultobj
;
34786 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34789 PyObject
* obj0
= 0 ;
34790 PyObject
* obj1
= 0 ;
34791 char *kwnames
[] = {
34792 (char *) "self",(char *) "size", NULL
34795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSpacer",kwnames
,&obj0
,&obj1
)) goto fail
;
34796 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34797 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34800 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
34803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34804 (arg1
)->SetSpacer((wxSize
const &)*arg2
);
34806 wxPyEndAllowThreads(__tstate
);
34807 if (PyErr_Occurred()) SWIG_fail
;
34809 Py_INCREF(Py_None
); resultobj
= Py_None
;
34816 static PyObject
*_wrap_SizerItem_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34817 PyObject
*resultobj
;
34818 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34820 PyObject
* obj0
= 0 ;
34821 PyObject
* obj1
= 0 ;
34822 char *kwnames
[] = {
34823 (char *) "self",(char *) "show", NULL
34826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
34827 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34828 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34829 arg2
= (bool) SWIG_AsBool(obj1
);
34830 if (PyErr_Occurred()) SWIG_fail
;
34832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34833 (arg1
)->Show(arg2
);
34835 wxPyEndAllowThreads(__tstate
);
34836 if (PyErr_Occurred()) SWIG_fail
;
34838 Py_INCREF(Py_None
); resultobj
= Py_None
;
34845 static PyObject
*_wrap_SizerItem_IsShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34846 PyObject
*resultobj
;
34847 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34849 PyObject
* obj0
= 0 ;
34850 char *kwnames
[] = {
34851 (char *) "self", NULL
34854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsShown",kwnames
,&obj0
)) goto fail
;
34855 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34856 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34859 result
= (bool)(arg1
)->IsShown();
34861 wxPyEndAllowThreads(__tstate
);
34862 if (PyErr_Occurred()) SWIG_fail
;
34865 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34873 static PyObject
*_wrap_SizerItem_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34874 PyObject
*resultobj
;
34875 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34877 PyObject
* obj0
= 0 ;
34878 char *kwnames
[] = {
34879 (char *) "self", NULL
34882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetPosition",kwnames
,&obj0
)) goto fail
;
34883 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34884 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34887 result
= (arg1
)->GetPosition();
34889 wxPyEndAllowThreads(__tstate
);
34890 if (PyErr_Occurred()) SWIG_fail
;
34893 wxPoint
* resultptr
;
34894 resultptr
= new wxPoint((wxPoint
&) result
);
34895 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
34903 static PyObject
*_wrap_SizerItem_GetUserData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34904 PyObject
*resultobj
;
34905 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34907 PyObject
* obj0
= 0 ;
34908 char *kwnames
[] = {
34909 (char *) "self", NULL
34912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetUserData",kwnames
,&obj0
)) goto fail
;
34913 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34914 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34917 result
= (PyObject
*)wxSizerItem_GetUserData(arg1
);
34919 wxPyEndAllowThreads(__tstate
);
34920 if (PyErr_Occurred()) SWIG_fail
;
34922 resultobj
= result
;
34929 static PyObject
* SizerItem_swigregister(PyObject
*self
, PyObject
*args
) {
34931 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34932 SWIG_TypeClientData(SWIGTYPE_p_wxSizerItem
, obj
);
34934 return Py_BuildValue((char *)"");
34936 static PyObject
*_wrap_Sizer__setOORInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34937 PyObject
*resultobj
;
34938 wxSizer
*arg1
= (wxSizer
*) 0 ;
34939 PyObject
*arg2
= (PyObject
*) 0 ;
34940 PyObject
* obj0
= 0 ;
34941 PyObject
* obj1
= 0 ;
34942 char *kwnames
[] = {
34943 (char *) "self",(char *) "_self", NULL
34946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
34947 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34948 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34952 wxSizer__setOORInfo(arg1
,arg2
);
34954 wxPyEndAllowThreads(__tstate
);
34955 if (PyErr_Occurred()) SWIG_fail
;
34957 Py_INCREF(Py_None
); resultobj
= Py_None
;
34964 static PyObject
*_wrap_Sizer_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34965 PyObject
*resultobj
;
34966 wxSizer
*arg1
= (wxSizer
*) 0 ;
34967 PyObject
*arg2
= (PyObject
*) 0 ;
34968 int arg3
= (int) 0 ;
34969 int arg4
= (int) 0 ;
34970 int arg5
= (int) 0 ;
34971 PyObject
*arg6
= (PyObject
*) NULL
;
34972 PyObject
* obj0
= 0 ;
34973 PyObject
* obj1
= 0 ;
34974 PyObject
* obj2
= 0 ;
34975 PyObject
* obj3
= 0 ;
34976 PyObject
* obj4
= 0 ;
34977 PyObject
* obj5
= 0 ;
34978 char *kwnames
[] = {
34979 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
34982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Sizer_Add",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
34983 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34984 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34987 arg3
= (int) SWIG_AsInt(obj2
);
34988 if (PyErr_Occurred()) SWIG_fail
;
34991 arg4
= (int) SWIG_AsInt(obj3
);
34992 if (PyErr_Occurred()) SWIG_fail
;
34995 arg5
= (int) SWIG_AsInt(obj4
);
34996 if (PyErr_Occurred()) SWIG_fail
;
35002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35003 wxSizer_Add(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
35005 wxPyEndAllowThreads(__tstate
);
35006 if (PyErr_Occurred()) SWIG_fail
;
35008 Py_INCREF(Py_None
); resultobj
= Py_None
;
35015 static PyObject
*_wrap_Sizer_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35016 PyObject
*resultobj
;
35017 wxSizer
*arg1
= (wxSizer
*) 0 ;
35019 PyObject
*arg3
= (PyObject
*) 0 ;
35020 int arg4
= (int) 0 ;
35021 int arg5
= (int) 0 ;
35022 int arg6
= (int) 0 ;
35023 PyObject
*arg7
= (PyObject
*) NULL
;
35024 PyObject
* obj0
= 0 ;
35025 PyObject
* obj1
= 0 ;
35026 PyObject
* obj2
= 0 ;
35027 PyObject
* obj3
= 0 ;
35028 PyObject
* obj4
= 0 ;
35029 PyObject
* obj5
= 0 ;
35030 PyObject
* obj6
= 0 ;
35031 char *kwnames
[] = {
35032 (char *) "self",(char *) "before",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
35035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Sizer_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
35036 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35037 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35038 arg2
= (int) SWIG_AsInt(obj1
);
35039 if (PyErr_Occurred()) SWIG_fail
;
35042 arg4
= (int) SWIG_AsInt(obj3
);
35043 if (PyErr_Occurred()) SWIG_fail
;
35046 arg5
= (int) SWIG_AsInt(obj4
);
35047 if (PyErr_Occurred()) SWIG_fail
;
35050 arg6
= (int) SWIG_AsInt(obj5
);
35051 if (PyErr_Occurred()) SWIG_fail
;
35057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35058 wxSizer_Insert(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
35060 wxPyEndAllowThreads(__tstate
);
35061 if (PyErr_Occurred()) SWIG_fail
;
35063 Py_INCREF(Py_None
); resultobj
= Py_None
;
35070 static PyObject
*_wrap_Sizer_Prepend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35071 PyObject
*resultobj
;
35072 wxSizer
*arg1
= (wxSizer
*) 0 ;
35073 PyObject
*arg2
= (PyObject
*) 0 ;
35074 int arg3
= (int) 0 ;
35075 int arg4
= (int) 0 ;
35076 int arg5
= (int) 0 ;
35077 PyObject
*arg6
= (PyObject
*) NULL
;
35078 PyObject
* obj0
= 0 ;
35079 PyObject
* obj1
= 0 ;
35080 PyObject
* obj2
= 0 ;
35081 PyObject
* obj3
= 0 ;
35082 PyObject
* obj4
= 0 ;
35083 PyObject
* obj5
= 0 ;
35084 char *kwnames
[] = {
35085 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
35088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Sizer_Prepend",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
35089 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35090 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35093 arg3
= (int) SWIG_AsInt(obj2
);
35094 if (PyErr_Occurred()) SWIG_fail
;
35097 arg4
= (int) SWIG_AsInt(obj3
);
35098 if (PyErr_Occurred()) SWIG_fail
;
35101 arg5
= (int) SWIG_AsInt(obj4
);
35102 if (PyErr_Occurred()) SWIG_fail
;
35108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35109 wxSizer_Prepend(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
35111 wxPyEndAllowThreads(__tstate
);
35112 if (PyErr_Occurred()) SWIG_fail
;
35114 Py_INCREF(Py_None
); resultobj
= Py_None
;
35121 static PyObject
*_wrap_Sizer_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35122 PyObject
*resultobj
;
35123 wxSizer
*arg1
= (wxSizer
*) 0 ;
35124 PyObject
*arg2
= (PyObject
*) 0 ;
35126 PyObject
* obj0
= 0 ;
35127 PyObject
* obj1
= 0 ;
35128 char *kwnames
[] = {
35129 (char *) "self",(char *) "item", NULL
35132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
35133 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35134 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35138 result
= (bool)wxSizer_Remove(arg1
,arg2
);
35140 wxPyEndAllowThreads(__tstate
);
35141 if (PyErr_Occurred()) SWIG_fail
;
35144 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35152 static PyObject
*_wrap_Sizer_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35153 PyObject
*resultobj
;
35154 wxSizer
*arg1
= (wxSizer
*) 0 ;
35155 PyObject
*arg2
= (PyObject
*) 0 ;
35157 PyObject
* obj0
= 0 ;
35158 PyObject
* obj1
= 0 ;
35159 char *kwnames
[] = {
35160 (char *) "self",(char *) "item", NULL
35163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Detach",kwnames
,&obj0
,&obj1
)) goto fail
;
35164 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35165 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35169 result
= (bool)wxSizer_Detach(arg1
,arg2
);
35171 wxPyEndAllowThreads(__tstate
);
35172 if (PyErr_Occurred()) SWIG_fail
;
35175 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35183 static PyObject
*_wrap_Sizer__SetItemMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35184 PyObject
*resultobj
;
35185 wxSizer
*arg1
= (wxSizer
*) 0 ;
35186 PyObject
*arg2
= (PyObject
*) 0 ;
35189 PyObject
* obj0
= 0 ;
35190 PyObject
* obj1
= 0 ;
35191 PyObject
* obj2
= 0 ;
35192 char *kwnames
[] = {
35193 (char *) "self",(char *) "item",(char *) "size", NULL
35196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer__SetItemMinSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35197 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35198 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35202 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
35205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35206 wxSizer__SetItemMinSize(arg1
,arg2
,(wxSize
const &)*arg3
);
35208 wxPyEndAllowThreads(__tstate
);
35209 if (PyErr_Occurred()) SWIG_fail
;
35211 Py_INCREF(Py_None
); resultobj
= Py_None
;
35218 static PyObject
*_wrap_Sizer_AddItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35219 PyObject
*resultobj
;
35220 wxSizer
*arg1
= (wxSizer
*) 0 ;
35221 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
35222 PyObject
* obj0
= 0 ;
35223 PyObject
* obj1
= 0 ;
35224 char *kwnames
[] = {
35225 (char *) "self",(char *) "item", NULL
35228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_AddItem",kwnames
,&obj0
,&obj1
)) goto fail
;
35229 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35230 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35231 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizerItem
,
35232 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35237 wxPyEndAllowThreads(__tstate
);
35238 if (PyErr_Occurred()) SWIG_fail
;
35240 Py_INCREF(Py_None
); resultobj
= Py_None
;
35247 static PyObject
*_wrap_Sizer_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35248 PyObject
*resultobj
;
35249 wxSizer
*arg1
= (wxSizer
*) 0 ;
35251 wxSizerItem
*arg3
= (wxSizerItem
*) 0 ;
35252 PyObject
* obj0
= 0 ;
35253 PyObject
* obj1
= 0 ;
35254 PyObject
* obj2
= 0 ;
35255 char *kwnames
[] = {
35256 (char *) "self",(char *) "index",(char *) "item", NULL
35259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35260 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35261 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35262 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
35263 if (PyErr_Occurred()) SWIG_fail
;
35264 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxSizerItem
,
35265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35268 (arg1
)->Insert(arg2
,arg3
);
35270 wxPyEndAllowThreads(__tstate
);
35271 if (PyErr_Occurred()) SWIG_fail
;
35273 Py_INCREF(Py_None
); resultobj
= Py_None
;
35280 static PyObject
*_wrap_Sizer_PrependItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35281 PyObject
*resultobj
;
35282 wxSizer
*arg1
= (wxSizer
*) 0 ;
35283 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
35284 PyObject
* obj0
= 0 ;
35285 PyObject
* obj1
= 0 ;
35286 char *kwnames
[] = {
35287 (char *) "self",(char *) "item", NULL
35290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_PrependItem",kwnames
,&obj0
,&obj1
)) goto fail
;
35291 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35292 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35293 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizerItem
,
35294 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35297 (arg1
)->Prepend(arg2
);
35299 wxPyEndAllowThreads(__tstate
);
35300 if (PyErr_Occurred()) SWIG_fail
;
35302 Py_INCREF(Py_None
); resultobj
= Py_None
;
35309 static PyObject
*_wrap_Sizer_SetDimension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35310 PyObject
*resultobj
;
35311 wxSizer
*arg1
= (wxSizer
*) 0 ;
35316 PyObject
* obj0
= 0 ;
35317 PyObject
* obj1
= 0 ;
35318 PyObject
* obj2
= 0 ;
35319 PyObject
* obj3
= 0 ;
35320 PyObject
* obj4
= 0 ;
35321 char *kwnames
[] = {
35322 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
35325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Sizer_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
35326 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35327 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35328 arg2
= (int) SWIG_AsInt(obj1
);
35329 if (PyErr_Occurred()) SWIG_fail
;
35330 arg3
= (int) SWIG_AsInt(obj2
);
35331 if (PyErr_Occurred()) SWIG_fail
;
35332 arg4
= (int) SWIG_AsInt(obj3
);
35333 if (PyErr_Occurred()) SWIG_fail
;
35334 arg5
= (int) SWIG_AsInt(obj4
);
35335 if (PyErr_Occurred()) SWIG_fail
;
35337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35338 (arg1
)->SetDimension(arg2
,arg3
,arg4
,arg5
);
35340 wxPyEndAllowThreads(__tstate
);
35341 if (PyErr_Occurred()) SWIG_fail
;
35343 Py_INCREF(Py_None
); resultobj
= Py_None
;
35350 static PyObject
*_wrap_Sizer_SetMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35351 PyObject
*resultobj
;
35352 wxSizer
*arg1
= (wxSizer
*) 0 ;
35355 PyObject
* obj0
= 0 ;
35356 PyObject
* obj1
= 0 ;
35357 char *kwnames
[] = {
35358 (char *) "self",(char *) "size", NULL
35361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetMinSize",kwnames
,&obj0
,&obj1
)) goto fail
;
35362 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35363 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35366 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
35369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35370 (arg1
)->SetMinSize((wxSize
const &)*arg2
);
35372 wxPyEndAllowThreads(__tstate
);
35373 if (PyErr_Occurred()) SWIG_fail
;
35375 Py_INCREF(Py_None
); resultobj
= Py_None
;
35382 static PyObject
*_wrap_Sizer_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35383 PyObject
*resultobj
;
35384 wxSizer
*arg1
= (wxSizer
*) 0 ;
35386 PyObject
* obj0
= 0 ;
35387 char *kwnames
[] = {
35388 (char *) "self", NULL
35391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetSize",kwnames
,&obj0
)) goto fail
;
35392 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35393 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35396 result
= (arg1
)->GetSize();
35398 wxPyEndAllowThreads(__tstate
);
35399 if (PyErr_Occurred()) SWIG_fail
;
35402 wxSize
* resultptr
;
35403 resultptr
= new wxSize((wxSize
&) result
);
35404 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
35412 static PyObject
*_wrap_Sizer_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35413 PyObject
*resultobj
;
35414 wxSizer
*arg1
= (wxSizer
*) 0 ;
35416 PyObject
* obj0
= 0 ;
35417 char *kwnames
[] = {
35418 (char *) "self", NULL
35421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetPosition",kwnames
,&obj0
)) goto fail
;
35422 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35423 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35426 result
= (arg1
)->GetPosition();
35428 wxPyEndAllowThreads(__tstate
);
35429 if (PyErr_Occurred()) SWIG_fail
;
35432 wxPoint
* resultptr
;
35433 resultptr
= new wxPoint((wxPoint
&) result
);
35434 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
35442 static PyObject
*_wrap_Sizer_GetMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35443 PyObject
*resultobj
;
35444 wxSizer
*arg1
= (wxSizer
*) 0 ;
35446 PyObject
* obj0
= 0 ;
35447 char *kwnames
[] = {
35448 (char *) "self", NULL
35451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetMinSize",kwnames
,&obj0
)) goto fail
;
35452 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35453 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35456 result
= (arg1
)->GetMinSize();
35458 wxPyEndAllowThreads(__tstate
);
35459 if (PyErr_Occurred()) SWIG_fail
;
35462 wxSize
* resultptr
;
35463 resultptr
= new wxSize((wxSize
&) result
);
35464 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
35472 static PyObject
*_wrap_Sizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35473 PyObject
*resultobj
;
35474 wxSizer
*arg1
= (wxSizer
*) 0 ;
35475 PyObject
* obj0
= 0 ;
35476 char *kwnames
[] = {
35477 (char *) "self", NULL
35480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
35481 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35482 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35485 (arg1
)->RecalcSizes();
35487 wxPyEndAllowThreads(__tstate
);
35488 if (PyErr_Occurred()) SWIG_fail
;
35490 Py_INCREF(Py_None
); resultobj
= Py_None
;
35497 static PyObject
*_wrap_Sizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35498 PyObject
*resultobj
;
35499 wxSizer
*arg1
= (wxSizer
*) 0 ;
35501 PyObject
* obj0
= 0 ;
35502 char *kwnames
[] = {
35503 (char *) "self", NULL
35506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_CalcMin",kwnames
,&obj0
)) goto fail
;
35507 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35508 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35511 result
= (arg1
)->CalcMin();
35513 wxPyEndAllowThreads(__tstate
);
35514 if (PyErr_Occurred()) SWIG_fail
;
35517 wxSize
* resultptr
;
35518 resultptr
= new wxSize((wxSize
&) result
);
35519 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
35527 static PyObject
*_wrap_Sizer_Layout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35528 PyObject
*resultobj
;
35529 wxSizer
*arg1
= (wxSizer
*) 0 ;
35530 PyObject
* obj0
= 0 ;
35531 char *kwnames
[] = {
35532 (char *) "self", NULL
35535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_Layout",kwnames
,&obj0
)) goto fail
;
35536 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35537 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35542 wxPyEndAllowThreads(__tstate
);
35543 if (PyErr_Occurred()) SWIG_fail
;
35545 Py_INCREF(Py_None
); resultobj
= Py_None
;
35552 static PyObject
*_wrap_Sizer_Fit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35553 PyObject
*resultobj
;
35554 wxSizer
*arg1
= (wxSizer
*) 0 ;
35555 wxWindow
*arg2
= (wxWindow
*) 0 ;
35557 PyObject
* obj0
= 0 ;
35558 PyObject
* obj1
= 0 ;
35559 char *kwnames
[] = {
35560 (char *) "self",(char *) "window", NULL
35563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Fit",kwnames
,&obj0
,&obj1
)) goto fail
;
35564 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35565 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35566 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
35567 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35570 result
= (arg1
)->Fit(arg2
);
35572 wxPyEndAllowThreads(__tstate
);
35573 if (PyErr_Occurred()) SWIG_fail
;
35576 wxSize
* resultptr
;
35577 resultptr
= new wxSize((wxSize
&) result
);
35578 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
35586 static PyObject
*_wrap_Sizer_FitInside(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35587 PyObject
*resultobj
;
35588 wxSizer
*arg1
= (wxSizer
*) 0 ;
35589 wxWindow
*arg2
= (wxWindow
*) 0 ;
35590 PyObject
* obj0
= 0 ;
35591 PyObject
* obj1
= 0 ;
35592 char *kwnames
[] = {
35593 (char *) "self",(char *) "window", NULL
35596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_FitInside",kwnames
,&obj0
,&obj1
)) goto fail
;
35597 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35598 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35599 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
35600 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35603 (arg1
)->FitInside(arg2
);
35605 wxPyEndAllowThreads(__tstate
);
35606 if (PyErr_Occurred()) SWIG_fail
;
35608 Py_INCREF(Py_None
); resultobj
= Py_None
;
35615 static PyObject
*_wrap_Sizer_SetSizeHints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35616 PyObject
*resultobj
;
35617 wxSizer
*arg1
= (wxSizer
*) 0 ;
35618 wxWindow
*arg2
= (wxWindow
*) 0 ;
35619 PyObject
* obj0
= 0 ;
35620 PyObject
* obj1
= 0 ;
35621 char *kwnames
[] = {
35622 (char *) "self",(char *) "window", NULL
35625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetSizeHints",kwnames
,&obj0
,&obj1
)) goto fail
;
35626 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35627 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35628 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
35629 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35632 (arg1
)->SetSizeHints(arg2
);
35634 wxPyEndAllowThreads(__tstate
);
35635 if (PyErr_Occurred()) SWIG_fail
;
35637 Py_INCREF(Py_None
); resultobj
= Py_None
;
35644 static PyObject
*_wrap_Sizer_SetVirtualSizeHints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35645 PyObject
*resultobj
;
35646 wxSizer
*arg1
= (wxSizer
*) 0 ;
35647 wxWindow
*arg2
= (wxWindow
*) 0 ;
35648 PyObject
* obj0
= 0 ;
35649 PyObject
* obj1
= 0 ;
35650 char *kwnames
[] = {
35651 (char *) "self",(char *) "window", NULL
35654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetVirtualSizeHints",kwnames
,&obj0
,&obj1
)) goto fail
;
35655 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35656 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35657 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
35658 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35661 (arg1
)->SetVirtualSizeHints(arg2
);
35663 wxPyEndAllowThreads(__tstate
);
35664 if (PyErr_Occurred()) SWIG_fail
;
35666 Py_INCREF(Py_None
); resultobj
= Py_None
;
35673 static PyObject
*_wrap_Sizer_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35674 PyObject
*resultobj
;
35675 wxSizer
*arg1
= (wxSizer
*) 0 ;
35676 bool arg2
= (bool) False
;
35677 PyObject
* obj0
= 0 ;
35678 PyObject
* obj1
= 0 ;
35679 char *kwnames
[] = {
35680 (char *) "self",(char *) "deleteWindows", NULL
35683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sizer_Clear",kwnames
,&obj0
,&obj1
)) goto fail
;
35684 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35685 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35687 arg2
= (bool) SWIG_AsBool(obj1
);
35688 if (PyErr_Occurred()) SWIG_fail
;
35691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35692 (arg1
)->Clear(arg2
);
35694 wxPyEndAllowThreads(__tstate
);
35695 if (PyErr_Occurred()) SWIG_fail
;
35697 Py_INCREF(Py_None
); resultobj
= Py_None
;
35704 static PyObject
*_wrap_Sizer_DeleteWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35705 PyObject
*resultobj
;
35706 wxSizer
*arg1
= (wxSizer
*) 0 ;
35707 PyObject
* obj0
= 0 ;
35708 char *kwnames
[] = {
35709 (char *) "self", NULL
35712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_DeleteWindows",kwnames
,&obj0
)) goto fail
;
35713 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35714 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35717 (arg1
)->DeleteWindows();
35719 wxPyEndAllowThreads(__tstate
);
35720 if (PyErr_Occurred()) SWIG_fail
;
35722 Py_INCREF(Py_None
); resultobj
= Py_None
;
35729 static PyObject
*_wrap_Sizer_GetChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35730 PyObject
*resultobj
;
35731 wxSizer
*arg1
= (wxSizer
*) 0 ;
35733 PyObject
* obj0
= 0 ;
35734 char *kwnames
[] = {
35735 (char *) "self", NULL
35738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetChildren",kwnames
,&obj0
)) goto fail
;
35739 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35740 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35743 result
= (PyObject
*)wxSizer_GetChildren(arg1
);
35745 wxPyEndAllowThreads(__tstate
);
35746 if (PyErr_Occurred()) SWIG_fail
;
35748 resultobj
= result
;
35755 static PyObject
*_wrap_Sizer_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35756 PyObject
*resultobj
;
35757 wxSizer
*arg1
= (wxSizer
*) 0 ;
35758 PyObject
*arg2
= (PyObject
*) 0 ;
35759 bool arg3
= (bool) True
;
35760 PyObject
* obj0
= 0 ;
35761 PyObject
* obj1
= 0 ;
35762 PyObject
* obj2
= 0 ;
35763 char *kwnames
[] = {
35764 (char *) "self",(char *) "item",(char *) "show", NULL
35767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Sizer_Show",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35768 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35769 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35772 arg3
= (bool) SWIG_AsBool(obj2
);
35773 if (PyErr_Occurred()) SWIG_fail
;
35776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35777 wxSizer_Show(arg1
,arg2
,arg3
);
35779 wxPyEndAllowThreads(__tstate
);
35780 if (PyErr_Occurred()) SWIG_fail
;
35782 Py_INCREF(Py_None
); resultobj
= Py_None
;
35789 static PyObject
*_wrap_Sizer_IsShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35790 PyObject
*resultobj
;
35791 wxSizer
*arg1
= (wxSizer
*) 0 ;
35792 PyObject
*arg2
= (PyObject
*) 0 ;
35794 PyObject
* obj0
= 0 ;
35795 PyObject
* obj1
= 0 ;
35796 char *kwnames
[] = {
35797 (char *) "self",(char *) "item", NULL
35800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_IsShown",kwnames
,&obj0
,&obj1
)) goto fail
;
35801 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35802 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35806 result
= (bool)wxSizer_IsShown(arg1
,arg2
);
35808 wxPyEndAllowThreads(__tstate
);
35809 if (PyErr_Occurred()) SWIG_fail
;
35812 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35820 static PyObject
*_wrap_Sizer_ShowItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35821 PyObject
*resultobj
;
35822 wxSizer
*arg1
= (wxSizer
*) 0 ;
35824 PyObject
* obj0
= 0 ;
35825 PyObject
* obj1
= 0 ;
35826 char *kwnames
[] = {
35827 (char *) "self",(char *) "show", NULL
35830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_ShowItems",kwnames
,&obj0
,&obj1
)) goto fail
;
35831 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35832 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35833 arg2
= (bool) SWIG_AsBool(obj1
);
35834 if (PyErr_Occurred()) SWIG_fail
;
35836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35837 (arg1
)->ShowItems(arg2
);
35839 wxPyEndAllowThreads(__tstate
);
35840 if (PyErr_Occurred()) SWIG_fail
;
35842 Py_INCREF(Py_None
); resultobj
= Py_None
;
35849 static PyObject
* Sizer_swigregister(PyObject
*self
, PyObject
*args
) {
35851 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
35852 SWIG_TypeClientData(SWIGTYPE_p_wxSizer
, obj
);
35854 return Py_BuildValue((char *)"");
35856 static PyObject
*_wrap_new_PySizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35857 PyObject
*resultobj
;
35859 char *kwnames
[] = {
35863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PySizer",kwnames
)) goto fail
;
35865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35866 result
= (wxPySizer
*)new wxPySizer();
35868 wxPyEndAllowThreads(__tstate
);
35869 if (PyErr_Occurred()) SWIG_fail
;
35871 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPySizer
, 1);
35878 static PyObject
*_wrap_PySizer__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35879 PyObject
*resultobj
;
35880 wxPySizer
*arg1
= (wxPySizer
*) 0 ;
35881 PyObject
*arg2
= (PyObject
*) 0 ;
35882 PyObject
*arg3
= (PyObject
*) 0 ;
35883 PyObject
* obj0
= 0 ;
35884 PyObject
* obj1
= 0 ;
35885 PyObject
* obj2
= 0 ;
35886 char *kwnames
[] = {
35887 (char *) "self",(char *) "self",(char *) "_class", NULL
35890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PySizer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35891 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPySizer
,
35892 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35897 (arg1
)->_setCallbackInfo(arg2
,arg3
);
35899 wxPyEndAllowThreads(__tstate
);
35900 if (PyErr_Occurred()) SWIG_fail
;
35902 Py_INCREF(Py_None
); resultobj
= Py_None
;
35909 static PyObject
* PySizer_swigregister(PyObject
*self
, PyObject
*args
) {
35911 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
35912 SWIG_TypeClientData(SWIGTYPE_p_wxPySizer
, obj
);
35914 return Py_BuildValue((char *)"");
35916 static PyObject
*_wrap_new_BoxSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35917 PyObject
*resultobj
;
35918 int arg1
= (int) wxHORIZONTAL
;
35919 wxBoxSizer
*result
;
35920 PyObject
* obj0
= 0 ;
35921 char *kwnames
[] = {
35922 (char *) "orient", NULL
35925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BoxSizer",kwnames
,&obj0
)) goto fail
;
35927 arg1
= (int) SWIG_AsInt(obj0
);
35928 if (PyErr_Occurred()) SWIG_fail
;
35931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35932 result
= (wxBoxSizer
*)new wxBoxSizer(arg1
);
35934 wxPyEndAllowThreads(__tstate
);
35935 if (PyErr_Occurred()) SWIG_fail
;
35937 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBoxSizer
, 1);
35944 static PyObject
*_wrap_BoxSizer_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35945 PyObject
*resultobj
;
35946 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
35948 PyObject
* obj0
= 0 ;
35949 char *kwnames
[] = {
35950 (char *) "self", NULL
35953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BoxSizer_GetOrientation",kwnames
,&obj0
)) goto fail
;
35954 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBoxSizer
,
35955 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35958 result
= (int)(arg1
)->GetOrientation();
35960 wxPyEndAllowThreads(__tstate
);
35961 if (PyErr_Occurred()) SWIG_fail
;
35963 resultobj
= SWIG_FromInt((int)result
);
35970 static PyObject
*_wrap_BoxSizer_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35971 PyObject
*resultobj
;
35972 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
35974 PyObject
* obj0
= 0 ;
35975 PyObject
* obj1
= 0 ;
35976 char *kwnames
[] = {
35977 (char *) "self",(char *) "orient", NULL
35980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BoxSizer_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
35981 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBoxSizer
,
35982 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35983 arg2
= (int) SWIG_AsInt(obj1
);
35984 if (PyErr_Occurred()) SWIG_fail
;
35986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35987 (arg1
)->SetOrientation(arg2
);
35989 wxPyEndAllowThreads(__tstate
);
35990 if (PyErr_Occurred()) SWIG_fail
;
35992 Py_INCREF(Py_None
); resultobj
= Py_None
;
35999 static PyObject
* BoxSizer_swigregister(PyObject
*self
, PyObject
*args
) {
36001 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
36002 SWIG_TypeClientData(SWIGTYPE_p_wxBoxSizer
, obj
);
36004 return Py_BuildValue((char *)"");
36006 static PyObject
*_wrap_new_StaticBoxSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36007 PyObject
*resultobj
;
36008 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
36009 int arg2
= (int) wxHORIZONTAL
;
36010 wxStaticBoxSizer
*result
;
36011 PyObject
* obj0
= 0 ;
36012 PyObject
* obj1
= 0 ;
36013 char *kwnames
[] = {
36014 (char *) "box",(char *) "orient", NULL
36017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_StaticBoxSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
36018 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBox
,
36019 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36021 arg2
= (int) SWIG_AsInt(obj1
);
36022 if (PyErr_Occurred()) SWIG_fail
;
36025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36026 result
= (wxStaticBoxSizer
*)new wxStaticBoxSizer(arg1
,arg2
);
36028 wxPyEndAllowThreads(__tstate
);
36029 if (PyErr_Occurred()) SWIG_fail
;
36031 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBoxSizer
, 1);
36038 static PyObject
*_wrap_StaticBoxSizer_GetStaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36039 PyObject
*resultobj
;
36040 wxStaticBoxSizer
*arg1
= (wxStaticBoxSizer
*) 0 ;
36041 wxStaticBox
*result
;
36042 PyObject
* obj0
= 0 ;
36043 char *kwnames
[] = {
36044 (char *) "self", NULL
36047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBoxSizer_GetStaticBox",kwnames
,&obj0
)) goto fail
;
36048 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBoxSizer
,
36049 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36052 result
= (wxStaticBox
*)(arg1
)->GetStaticBox();
36054 wxPyEndAllowThreads(__tstate
);
36055 if (PyErr_Occurred()) SWIG_fail
;
36058 resultobj
= wxPyMake_wxObject(result
, 0);
36066 static PyObject
* StaticBoxSizer_swigregister(PyObject
*self
, PyObject
*args
) {
36068 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
36069 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBoxSizer
, obj
);
36071 return Py_BuildValue((char *)"");
36073 static PyObject
*_wrap_new_GridSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36074 PyObject
*resultobj
;
36075 int arg1
= (int) 1 ;
36076 int arg2
= (int) 0 ;
36077 int arg3
= (int) 0 ;
36078 int arg4
= (int) 0 ;
36079 wxGridSizer
*result
;
36080 PyObject
* obj0
= 0 ;
36081 PyObject
* obj1
= 0 ;
36082 PyObject
* obj2
= 0 ;
36083 PyObject
* obj3
= 0 ;
36084 char *kwnames
[] = {
36085 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
36088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_GridSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
36090 arg1
= (int) SWIG_AsInt(obj0
);
36091 if (PyErr_Occurred()) SWIG_fail
;
36094 arg2
= (int) SWIG_AsInt(obj1
);
36095 if (PyErr_Occurred()) SWIG_fail
;
36098 arg3
= (int) SWIG_AsInt(obj2
);
36099 if (PyErr_Occurred()) SWIG_fail
;
36102 arg4
= (int) SWIG_AsInt(obj3
);
36103 if (PyErr_Occurred()) SWIG_fail
;
36106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36107 result
= (wxGridSizer
*)new wxGridSizer(arg1
,arg2
,arg3
,arg4
);
36109 wxPyEndAllowThreads(__tstate
);
36110 if (PyErr_Occurred()) SWIG_fail
;
36112 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridSizer
, 1);
36119 static PyObject
*_wrap_GridSizer_SetCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36120 PyObject
*resultobj
;
36121 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36123 PyObject
* obj0
= 0 ;
36124 PyObject
* obj1
= 0 ;
36125 char *kwnames
[] = {
36126 (char *) "self",(char *) "cols", NULL
36129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetCols",kwnames
,&obj0
,&obj1
)) goto fail
;
36130 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36131 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36132 arg2
= (int) SWIG_AsInt(obj1
);
36133 if (PyErr_Occurred()) SWIG_fail
;
36135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36136 (arg1
)->SetCols(arg2
);
36138 wxPyEndAllowThreads(__tstate
);
36139 if (PyErr_Occurred()) SWIG_fail
;
36141 Py_INCREF(Py_None
); resultobj
= Py_None
;
36148 static PyObject
*_wrap_GridSizer_SetRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36149 PyObject
*resultobj
;
36150 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36152 PyObject
* obj0
= 0 ;
36153 PyObject
* obj1
= 0 ;
36154 char *kwnames
[] = {
36155 (char *) "self",(char *) "rows", NULL
36158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetRows",kwnames
,&obj0
,&obj1
)) goto fail
;
36159 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36160 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36161 arg2
= (int) SWIG_AsInt(obj1
);
36162 if (PyErr_Occurred()) SWIG_fail
;
36164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36165 (arg1
)->SetRows(arg2
);
36167 wxPyEndAllowThreads(__tstate
);
36168 if (PyErr_Occurred()) SWIG_fail
;
36170 Py_INCREF(Py_None
); resultobj
= Py_None
;
36177 static PyObject
*_wrap_GridSizer_SetVGap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36178 PyObject
*resultobj
;
36179 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36181 PyObject
* obj0
= 0 ;
36182 PyObject
* obj1
= 0 ;
36183 char *kwnames
[] = {
36184 (char *) "self",(char *) "gap", NULL
36187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetVGap",kwnames
,&obj0
,&obj1
)) goto fail
;
36188 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36189 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36190 arg2
= (int) SWIG_AsInt(obj1
);
36191 if (PyErr_Occurred()) SWIG_fail
;
36193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36194 (arg1
)->SetVGap(arg2
);
36196 wxPyEndAllowThreads(__tstate
);
36197 if (PyErr_Occurred()) SWIG_fail
;
36199 Py_INCREF(Py_None
); resultobj
= Py_None
;
36206 static PyObject
*_wrap_GridSizer_SetHGap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36207 PyObject
*resultobj
;
36208 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36210 PyObject
* obj0
= 0 ;
36211 PyObject
* obj1
= 0 ;
36212 char *kwnames
[] = {
36213 (char *) "self",(char *) "gap", NULL
36216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetHGap",kwnames
,&obj0
,&obj1
)) goto fail
;
36217 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36218 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36219 arg2
= (int) SWIG_AsInt(obj1
);
36220 if (PyErr_Occurred()) SWIG_fail
;
36222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36223 (arg1
)->SetHGap(arg2
);
36225 wxPyEndAllowThreads(__tstate
);
36226 if (PyErr_Occurred()) SWIG_fail
;
36228 Py_INCREF(Py_None
); resultobj
= Py_None
;
36235 static PyObject
*_wrap_GridSizer_GetCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36236 PyObject
*resultobj
;
36237 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36239 PyObject
* obj0
= 0 ;
36240 char *kwnames
[] = {
36241 (char *) "self", NULL
36244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetCols",kwnames
,&obj0
)) goto fail
;
36245 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36246 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36249 result
= (int)(arg1
)->GetCols();
36251 wxPyEndAllowThreads(__tstate
);
36252 if (PyErr_Occurred()) SWIG_fail
;
36254 resultobj
= SWIG_FromInt((int)result
);
36261 static PyObject
*_wrap_GridSizer_GetRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36262 PyObject
*resultobj
;
36263 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36265 PyObject
* obj0
= 0 ;
36266 char *kwnames
[] = {
36267 (char *) "self", NULL
36270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetRows",kwnames
,&obj0
)) goto fail
;
36271 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36272 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36275 result
= (int)(arg1
)->GetRows();
36277 wxPyEndAllowThreads(__tstate
);
36278 if (PyErr_Occurred()) SWIG_fail
;
36280 resultobj
= SWIG_FromInt((int)result
);
36287 static PyObject
*_wrap_GridSizer_GetVGap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36288 PyObject
*resultobj
;
36289 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36291 PyObject
* obj0
= 0 ;
36292 char *kwnames
[] = {
36293 (char *) "self", NULL
36296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetVGap",kwnames
,&obj0
)) goto fail
;
36297 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36301 result
= (int)(arg1
)->GetVGap();
36303 wxPyEndAllowThreads(__tstate
);
36304 if (PyErr_Occurred()) SWIG_fail
;
36306 resultobj
= SWIG_FromInt((int)result
);
36313 static PyObject
*_wrap_GridSizer_GetHGap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36314 PyObject
*resultobj
;
36315 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36317 PyObject
* obj0
= 0 ;
36318 char *kwnames
[] = {
36319 (char *) "self", NULL
36322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetHGap",kwnames
,&obj0
)) goto fail
;
36323 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36324 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36327 result
= (int)(arg1
)->GetHGap();
36329 wxPyEndAllowThreads(__tstate
);
36330 if (PyErr_Occurred()) SWIG_fail
;
36332 resultobj
= SWIG_FromInt((int)result
);
36339 static PyObject
* GridSizer_swigregister(PyObject
*self
, PyObject
*args
) {
36341 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
36342 SWIG_TypeClientData(SWIGTYPE_p_wxGridSizer
, obj
);
36344 return Py_BuildValue((char *)"");
36346 static PyObject
*_wrap_new_FlexGridSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36347 PyObject
*resultobj
;
36348 int arg1
= (int) 1 ;
36349 int arg2
= (int) 0 ;
36350 int arg3
= (int) 0 ;
36351 int arg4
= (int) 0 ;
36352 wxFlexGridSizer
*result
;
36353 PyObject
* obj0
= 0 ;
36354 PyObject
* obj1
= 0 ;
36355 PyObject
* obj2
= 0 ;
36356 PyObject
* obj3
= 0 ;
36357 char *kwnames
[] = {
36358 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
36361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_FlexGridSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
36363 arg1
= (int) SWIG_AsInt(obj0
);
36364 if (PyErr_Occurred()) SWIG_fail
;
36367 arg2
= (int) SWIG_AsInt(obj1
);
36368 if (PyErr_Occurred()) SWIG_fail
;
36371 arg3
= (int) SWIG_AsInt(obj2
);
36372 if (PyErr_Occurred()) SWIG_fail
;
36375 arg4
= (int) SWIG_AsInt(obj3
);
36376 if (PyErr_Occurred()) SWIG_fail
;
36379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36380 result
= (wxFlexGridSizer
*)new wxFlexGridSizer(arg1
,arg2
,arg3
,arg4
);
36382 wxPyEndAllowThreads(__tstate
);
36383 if (PyErr_Occurred()) SWIG_fail
;
36385 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFlexGridSizer
, 1);
36392 static PyObject
*_wrap_FlexGridSizer_AddGrowableRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36393 PyObject
*resultobj
;
36394 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36396 int arg3
= (int) 0 ;
36397 PyObject
* obj0
= 0 ;
36398 PyObject
* obj1
= 0 ;
36399 PyObject
* obj2
= 0 ;
36400 char *kwnames
[] = {
36401 (char *) "self",(char *) "idx",(char *) "proportion", NULL
36404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FlexGridSizer_AddGrowableRow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
36405 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36407 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
36408 if (PyErr_Occurred()) SWIG_fail
;
36410 arg3
= (int) SWIG_AsInt(obj2
);
36411 if (PyErr_Occurred()) SWIG_fail
;
36414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36415 (arg1
)->AddGrowableRow(arg2
,arg3
);
36417 wxPyEndAllowThreads(__tstate
);
36418 if (PyErr_Occurred()) SWIG_fail
;
36420 Py_INCREF(Py_None
); resultobj
= Py_None
;
36427 static PyObject
*_wrap_FlexGridSizer_RemoveGrowableRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36428 PyObject
*resultobj
;
36429 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36431 PyObject
* obj0
= 0 ;
36432 PyObject
* obj1
= 0 ;
36433 char *kwnames
[] = {
36434 (char *) "self",(char *) "idx", NULL
36437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableRow",kwnames
,&obj0
,&obj1
)) goto fail
;
36438 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36439 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36440 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
36441 if (PyErr_Occurred()) SWIG_fail
;
36443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36444 (arg1
)->RemoveGrowableRow(arg2
);
36446 wxPyEndAllowThreads(__tstate
);
36447 if (PyErr_Occurred()) SWIG_fail
;
36449 Py_INCREF(Py_None
); resultobj
= Py_None
;
36456 static PyObject
*_wrap_FlexGridSizer_AddGrowableCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36457 PyObject
*resultobj
;
36458 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36460 int arg3
= (int) 0 ;
36461 PyObject
* obj0
= 0 ;
36462 PyObject
* obj1
= 0 ;
36463 PyObject
* obj2
= 0 ;
36464 char *kwnames
[] = {
36465 (char *) "self",(char *) "idx",(char *) "proportion", NULL
36468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FlexGridSizer_AddGrowableCol",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
36469 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36471 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
36472 if (PyErr_Occurred()) SWIG_fail
;
36474 arg3
= (int) SWIG_AsInt(obj2
);
36475 if (PyErr_Occurred()) SWIG_fail
;
36478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36479 (arg1
)->AddGrowableCol(arg2
,arg3
);
36481 wxPyEndAllowThreads(__tstate
);
36482 if (PyErr_Occurred()) SWIG_fail
;
36484 Py_INCREF(Py_None
); resultobj
= Py_None
;
36491 static PyObject
*_wrap_FlexGridSizer_RemoveGrowableCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36492 PyObject
*resultobj
;
36493 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36495 PyObject
* obj0
= 0 ;
36496 PyObject
* obj1
= 0 ;
36497 char *kwnames
[] = {
36498 (char *) "self",(char *) "idx", NULL
36501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableCol",kwnames
,&obj0
,&obj1
)) goto fail
;
36502 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36503 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36504 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
36505 if (PyErr_Occurred()) SWIG_fail
;
36507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36508 (arg1
)->RemoveGrowableCol(arg2
);
36510 wxPyEndAllowThreads(__tstate
);
36511 if (PyErr_Occurred()) SWIG_fail
;
36513 Py_INCREF(Py_None
); resultobj
= Py_None
;
36520 static PyObject
*_wrap_FlexGridSizer_SetFlexibleDirection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36521 PyObject
*resultobj
;
36522 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36524 PyObject
* obj0
= 0 ;
36525 PyObject
* obj1
= 0 ;
36526 char *kwnames
[] = {
36527 (char *) "self",(char *) "direction", NULL
36530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_SetFlexibleDirection",kwnames
,&obj0
,&obj1
)) goto fail
;
36531 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36532 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36533 arg2
= (int) SWIG_AsInt(obj1
);
36534 if (PyErr_Occurred()) SWIG_fail
;
36536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36537 (arg1
)->SetFlexibleDirection(arg2
);
36539 wxPyEndAllowThreads(__tstate
);
36540 if (PyErr_Occurred()) SWIG_fail
;
36542 Py_INCREF(Py_None
); resultobj
= Py_None
;
36549 static PyObject
*_wrap_FlexGridSizer_GetFlexibleDirection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36550 PyObject
*resultobj
;
36551 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36553 PyObject
* obj0
= 0 ;
36554 char *kwnames
[] = {
36555 (char *) "self", NULL
36558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetFlexibleDirection",kwnames
,&obj0
)) goto fail
;
36559 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36560 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36563 result
= (int)(arg1
)->GetFlexibleDirection();
36565 wxPyEndAllowThreads(__tstate
);
36566 if (PyErr_Occurred()) SWIG_fail
;
36568 resultobj
= SWIG_FromInt((int)result
);
36575 static PyObject
*_wrap_FlexGridSizer_SetNonFlexibleGrowMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36576 PyObject
*resultobj
;
36577 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36579 PyObject
* obj0
= 0 ;
36580 PyObject
* obj1
= 0 ;
36581 char *kwnames
[] = {
36582 (char *) "self",(char *) "mode", NULL
36585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_SetNonFlexibleGrowMode",kwnames
,&obj0
,&obj1
)) goto fail
;
36586 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36587 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36588 arg2
= (wxFlexSizerGrowMode
) SWIG_AsInt(obj1
);
36589 if (PyErr_Occurred()) SWIG_fail
;
36591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36592 (arg1
)->SetNonFlexibleGrowMode((wxFlexSizerGrowMode
)arg2
);
36594 wxPyEndAllowThreads(__tstate
);
36595 if (PyErr_Occurred()) SWIG_fail
;
36597 Py_INCREF(Py_None
); resultobj
= Py_None
;
36604 static PyObject
*_wrap_FlexGridSizer_GetNonFlexibleGrowMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36605 PyObject
*resultobj
;
36606 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36608 PyObject
* obj0
= 0 ;
36609 char *kwnames
[] = {
36610 (char *) "self", NULL
36613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetNonFlexibleGrowMode",kwnames
,&obj0
)) goto fail
;
36614 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36615 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36618 result
= (int)(arg1
)->GetNonFlexibleGrowMode();
36620 wxPyEndAllowThreads(__tstate
);
36621 if (PyErr_Occurred()) SWIG_fail
;
36623 resultobj
= SWIG_FromInt((int)result
);
36630 static PyObject
*_wrap_FlexGridSizer_GetRowHeights(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36631 PyObject
*resultobj
;
36632 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36633 wxArrayInt
*result
;
36634 PyObject
* obj0
= 0 ;
36635 char *kwnames
[] = {
36636 (char *) "self", NULL
36639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetRowHeights",kwnames
,&obj0
)) goto fail
;
36640 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36641 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36645 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetRowHeights();
36646 result
= (wxArrayInt
*) &_result_ref
;
36649 wxPyEndAllowThreads(__tstate
);
36650 if (PyErr_Occurred()) SWIG_fail
;
36653 resultobj
= PyList_New(0);
36655 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
36656 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
36657 PyList_Append(resultobj
, val
);
36667 static PyObject
*_wrap_FlexGridSizer_GetColWidths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36668 PyObject
*resultobj
;
36669 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36670 wxArrayInt
*result
;
36671 PyObject
* obj0
= 0 ;
36672 char *kwnames
[] = {
36673 (char *) "self", NULL
36676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetColWidths",kwnames
,&obj0
)) goto fail
;
36677 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36678 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36682 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetColWidths();
36683 result
= (wxArrayInt
*) &_result_ref
;
36686 wxPyEndAllowThreads(__tstate
);
36687 if (PyErr_Occurred()) SWIG_fail
;
36690 resultobj
= PyList_New(0);
36692 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
36693 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
36694 PyList_Append(resultobj
, val
);
36704 static PyObject
* FlexGridSizer_swigregister(PyObject
*self
, PyObject
*args
) {
36706 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
36707 SWIG_TypeClientData(SWIGTYPE_p_wxFlexGridSizer
, obj
);
36709 return Py_BuildValue((char *)"");
36711 static PyObject
*_wrap_new_GBPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36712 PyObject
*resultobj
;
36713 int arg1
= (int) 0 ;
36714 int arg2
= (int) 0 ;
36715 wxGBPosition
*result
;
36716 PyObject
* obj0
= 0 ;
36717 PyObject
* obj1
= 0 ;
36718 char *kwnames
[] = {
36719 (char *) "row",(char *) "col", NULL
36722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GBPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
36724 arg1
= (int) SWIG_AsInt(obj0
);
36725 if (PyErr_Occurred()) SWIG_fail
;
36728 arg2
= (int) SWIG_AsInt(obj1
);
36729 if (PyErr_Occurred()) SWIG_fail
;
36732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36733 result
= (wxGBPosition
*)new wxGBPosition(arg1
,arg2
);
36735 wxPyEndAllowThreads(__tstate
);
36736 if (PyErr_Occurred()) SWIG_fail
;
36738 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBPosition
, 1);
36745 static PyObject
*_wrap_GBPosition_GetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36746 PyObject
*resultobj
;
36747 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
36749 PyObject
* obj0
= 0 ;
36750 char *kwnames
[] = {
36751 (char *) "self", NULL
36754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_GetRow",kwnames
,&obj0
)) goto fail
;
36755 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
36756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36759 result
= (int)((wxGBPosition
const *)arg1
)->GetRow();
36761 wxPyEndAllowThreads(__tstate
);
36762 if (PyErr_Occurred()) SWIG_fail
;
36764 resultobj
= SWIG_FromInt((int)result
);
36771 static PyObject
*_wrap_GBPosition_GetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36772 PyObject
*resultobj
;
36773 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
36775 PyObject
* obj0
= 0 ;
36776 char *kwnames
[] = {
36777 (char *) "self", NULL
36780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_GetCol",kwnames
,&obj0
)) goto fail
;
36781 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
36782 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36785 result
= (int)((wxGBPosition
const *)arg1
)->GetCol();
36787 wxPyEndAllowThreads(__tstate
);
36788 if (PyErr_Occurred()) SWIG_fail
;
36790 resultobj
= SWIG_FromInt((int)result
);
36797 static PyObject
*_wrap_GBPosition_SetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36798 PyObject
*resultobj
;
36799 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
36801 PyObject
* obj0
= 0 ;
36802 PyObject
* obj1
= 0 ;
36803 char *kwnames
[] = {
36804 (char *) "self",(char *) "row", NULL
36807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition_SetRow",kwnames
,&obj0
,&obj1
)) goto fail
;
36808 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
36809 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36810 arg2
= (int) SWIG_AsInt(obj1
);
36811 if (PyErr_Occurred()) SWIG_fail
;
36813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36814 (arg1
)->SetRow(arg2
);
36816 wxPyEndAllowThreads(__tstate
);
36817 if (PyErr_Occurred()) SWIG_fail
;
36819 Py_INCREF(Py_None
); resultobj
= Py_None
;
36826 static PyObject
*_wrap_GBPosition_SetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36827 PyObject
*resultobj
;
36828 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
36830 PyObject
* obj0
= 0 ;
36831 PyObject
* obj1
= 0 ;
36832 char *kwnames
[] = {
36833 (char *) "self",(char *) "col", NULL
36836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition_SetCol",kwnames
,&obj0
,&obj1
)) goto fail
;
36837 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
36838 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36839 arg2
= (int) SWIG_AsInt(obj1
);
36840 if (PyErr_Occurred()) SWIG_fail
;
36842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36843 (arg1
)->SetCol(arg2
);
36845 wxPyEndAllowThreads(__tstate
);
36846 if (PyErr_Occurred()) SWIG_fail
;
36848 Py_INCREF(Py_None
); resultobj
= Py_None
;
36855 static PyObject
*_wrap_GBPosition___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36856 PyObject
*resultobj
;
36857 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
36858 wxGBPosition
*arg2
= 0 ;
36860 wxGBPosition temp2
;
36861 PyObject
* obj0
= 0 ;
36862 PyObject
* obj1
= 0 ;
36863 char *kwnames
[] = {
36864 (char *) "self",(char *) "other", NULL
36867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
36868 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
36869 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36872 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
36875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36876 result
= (bool)(arg1
)->operator ==((wxGBPosition
const &)*arg2
);
36878 wxPyEndAllowThreads(__tstate
);
36879 if (PyErr_Occurred()) SWIG_fail
;
36882 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36890 static PyObject
*_wrap_GBPosition___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36891 PyObject
*resultobj
;
36892 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
36893 wxGBPosition
*arg2
= 0 ;
36895 wxGBPosition temp2
;
36896 PyObject
* obj0
= 0 ;
36897 PyObject
* obj1
= 0 ;
36898 char *kwnames
[] = {
36899 (char *) "self",(char *) "other", NULL
36902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
36903 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
36904 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36907 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
36910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36911 result
= (bool)(arg1
)->operator !=((wxGBPosition
const &)*arg2
);
36913 wxPyEndAllowThreads(__tstate
);
36914 if (PyErr_Occurred()) SWIG_fail
;
36917 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36925 static PyObject
*_wrap_GBPosition_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36926 PyObject
*resultobj
;
36927 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
36928 int arg2
= (int) 0 ;
36929 int arg3
= (int) 0 ;
36930 PyObject
* obj0
= 0 ;
36931 PyObject
* obj1
= 0 ;
36932 PyObject
* obj2
= 0 ;
36933 char *kwnames
[] = {
36934 (char *) "self",(char *) "row",(char *) "col", NULL
36937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GBPosition_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
36938 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
36939 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36941 arg2
= (int) SWIG_AsInt(obj1
);
36942 if (PyErr_Occurred()) SWIG_fail
;
36945 arg3
= (int) SWIG_AsInt(obj2
);
36946 if (PyErr_Occurred()) SWIG_fail
;
36949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36950 wxGBPosition_Set(arg1
,arg2
,arg3
);
36952 wxPyEndAllowThreads(__tstate
);
36953 if (PyErr_Occurred()) SWIG_fail
;
36955 Py_INCREF(Py_None
); resultobj
= Py_None
;
36962 static PyObject
*_wrap_GBPosition_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36963 PyObject
*resultobj
;
36964 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
36966 PyObject
* obj0
= 0 ;
36967 char *kwnames
[] = {
36968 (char *) "self", NULL
36971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_Get",kwnames
,&obj0
)) goto fail
;
36972 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
36973 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36976 result
= (PyObject
*)wxGBPosition_Get(arg1
);
36978 wxPyEndAllowThreads(__tstate
);
36979 if (PyErr_Occurred()) SWIG_fail
;
36981 resultobj
= result
;
36988 static PyObject
* GBPosition_swigregister(PyObject
*self
, PyObject
*args
) {
36990 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
36991 SWIG_TypeClientData(SWIGTYPE_p_wxGBPosition
, obj
);
36993 return Py_BuildValue((char *)"");
36995 static PyObject
*_wrap_new_GBSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36996 PyObject
*resultobj
;
36997 int arg1
= (int) 1 ;
36998 int arg2
= (int) 1 ;
37000 PyObject
* obj0
= 0 ;
37001 PyObject
* obj1
= 0 ;
37002 char *kwnames
[] = {
37003 (char *) "rowspan",(char *) "colspan", NULL
37006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GBSpan",kwnames
,&obj0
,&obj1
)) goto fail
;
37008 arg1
= (int) SWIG_AsInt(obj0
);
37009 if (PyErr_Occurred()) SWIG_fail
;
37012 arg2
= (int) SWIG_AsInt(obj1
);
37013 if (PyErr_Occurred()) SWIG_fail
;
37016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37017 result
= (wxGBSpan
*)new wxGBSpan(arg1
,arg2
);
37019 wxPyEndAllowThreads(__tstate
);
37020 if (PyErr_Occurred()) SWIG_fail
;
37022 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSpan
, 1);
37029 static PyObject
*_wrap_GBSpan_GetRowspan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37030 PyObject
*resultobj
;
37031 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37033 PyObject
* obj0
= 0 ;
37034 char *kwnames
[] = {
37035 (char *) "self", NULL
37038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_GetRowspan",kwnames
,&obj0
)) goto fail
;
37039 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37040 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37043 result
= (int)((wxGBSpan
const *)arg1
)->GetRowspan();
37045 wxPyEndAllowThreads(__tstate
);
37046 if (PyErr_Occurred()) SWIG_fail
;
37048 resultobj
= SWIG_FromInt((int)result
);
37055 static PyObject
*_wrap_GBSpan_GetColspan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37056 PyObject
*resultobj
;
37057 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37059 PyObject
* obj0
= 0 ;
37060 char *kwnames
[] = {
37061 (char *) "self", NULL
37064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_GetColspan",kwnames
,&obj0
)) goto fail
;
37065 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37066 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37069 result
= (int)((wxGBSpan
const *)arg1
)->GetColspan();
37071 wxPyEndAllowThreads(__tstate
);
37072 if (PyErr_Occurred()) SWIG_fail
;
37074 resultobj
= SWIG_FromInt((int)result
);
37081 static PyObject
*_wrap_GBSpan_SetRowspan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37082 PyObject
*resultobj
;
37083 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37085 PyObject
* obj0
= 0 ;
37086 PyObject
* obj1
= 0 ;
37087 char *kwnames
[] = {
37088 (char *) "self",(char *) "rowspan", NULL
37091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan_SetRowspan",kwnames
,&obj0
,&obj1
)) goto fail
;
37092 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37093 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37094 arg2
= (int) SWIG_AsInt(obj1
);
37095 if (PyErr_Occurred()) SWIG_fail
;
37097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37098 (arg1
)->SetRowspan(arg2
);
37100 wxPyEndAllowThreads(__tstate
);
37101 if (PyErr_Occurred()) SWIG_fail
;
37103 Py_INCREF(Py_None
); resultobj
= Py_None
;
37110 static PyObject
*_wrap_GBSpan_SetColspan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37111 PyObject
*resultobj
;
37112 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37114 PyObject
* obj0
= 0 ;
37115 PyObject
* obj1
= 0 ;
37116 char *kwnames
[] = {
37117 (char *) "self",(char *) "colspan", NULL
37120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan_SetColspan",kwnames
,&obj0
,&obj1
)) goto fail
;
37121 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37122 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37123 arg2
= (int) SWIG_AsInt(obj1
);
37124 if (PyErr_Occurred()) SWIG_fail
;
37126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37127 (arg1
)->SetColspan(arg2
);
37129 wxPyEndAllowThreads(__tstate
);
37130 if (PyErr_Occurred()) SWIG_fail
;
37132 Py_INCREF(Py_None
); resultobj
= Py_None
;
37139 static PyObject
*_wrap_GBSpan___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37140 PyObject
*resultobj
;
37141 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37142 wxGBSpan
*arg2
= 0 ;
37145 PyObject
* obj0
= 0 ;
37146 PyObject
* obj1
= 0 ;
37147 char *kwnames
[] = {
37148 (char *) "self",(char *) "other", NULL
37151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
37152 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37153 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37156 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
37159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37160 result
= (bool)(arg1
)->operator ==((wxGBSpan
const &)*arg2
);
37162 wxPyEndAllowThreads(__tstate
);
37163 if (PyErr_Occurred()) SWIG_fail
;
37166 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37174 static PyObject
*_wrap_GBSpan___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37175 PyObject
*resultobj
;
37176 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37177 wxGBSpan
*arg2
= 0 ;
37180 PyObject
* obj0
= 0 ;
37181 PyObject
* obj1
= 0 ;
37182 char *kwnames
[] = {
37183 (char *) "self",(char *) "other", NULL
37186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
37187 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37188 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37191 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
37194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37195 result
= (bool)(arg1
)->operator !=((wxGBSpan
const &)*arg2
);
37197 wxPyEndAllowThreads(__tstate
);
37198 if (PyErr_Occurred()) SWIG_fail
;
37201 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37209 static PyObject
*_wrap_GBSpan_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37210 PyObject
*resultobj
;
37211 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37212 int arg2
= (int) 1 ;
37213 int arg3
= (int) 1 ;
37214 PyObject
* obj0
= 0 ;
37215 PyObject
* obj1
= 0 ;
37216 PyObject
* obj2
= 0 ;
37217 char *kwnames
[] = {
37218 (char *) "self",(char *) "rowspan",(char *) "colspan", NULL
37221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GBSpan_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37222 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37223 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37225 arg2
= (int) SWIG_AsInt(obj1
);
37226 if (PyErr_Occurred()) SWIG_fail
;
37229 arg3
= (int) SWIG_AsInt(obj2
);
37230 if (PyErr_Occurred()) SWIG_fail
;
37233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37234 wxGBSpan_Set(arg1
,arg2
,arg3
);
37236 wxPyEndAllowThreads(__tstate
);
37237 if (PyErr_Occurred()) SWIG_fail
;
37239 Py_INCREF(Py_None
); resultobj
= Py_None
;
37246 static PyObject
*_wrap_GBSpan_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37247 PyObject
*resultobj
;
37248 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37250 PyObject
* obj0
= 0 ;
37251 char *kwnames
[] = {
37252 (char *) "self", NULL
37255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_Get",kwnames
,&obj0
)) goto fail
;
37256 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37257 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37260 result
= (PyObject
*)wxGBSpan_Get(arg1
);
37262 wxPyEndAllowThreads(__tstate
);
37263 if (PyErr_Occurred()) SWIG_fail
;
37265 resultobj
= result
;
37272 static PyObject
* GBSpan_swigregister(PyObject
*self
, PyObject
*args
) {
37274 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
37275 SWIG_TypeClientData(SWIGTYPE_p_wxGBSpan
, obj
);
37277 return Py_BuildValue((char *)"");
37279 static int _wrap_DefaultSpan_set(PyObject
*_val
) {
37280 PyErr_SetString(PyExc_TypeError
,"Variable DefaultSpan is read-only.");
37285 static PyObject
*_wrap_DefaultSpan_get() {
37288 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultSpan
), SWIGTYPE_p_wxGBSpan
, 0);
37293 static PyObject
*_wrap_new_GBSizerItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37294 PyObject
*resultobj
;
37295 wxGBSizerItem
*result
;
37296 char *kwnames
[] = {
37300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GBSizerItem",kwnames
)) goto fail
;
37302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37303 result
= (wxGBSizerItem
*)new wxGBSizerItem();
37305 wxPyEndAllowThreads(__tstate
);
37306 if (PyErr_Occurred()) SWIG_fail
;
37308 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
37315 static PyObject
*_wrap_new_GBSizerItemWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37316 PyObject
*resultobj
;
37317 wxWindow
*arg1
= (wxWindow
*) 0 ;
37318 wxGBPosition
*arg2
= 0 ;
37319 wxGBSpan
*arg3
= 0 ;
37322 PyObject
*arg6
= (PyObject
*) NULL
;
37323 wxGBSizerItem
*result
;
37324 wxGBPosition temp2
;
37326 PyObject
* obj0
= 0 ;
37327 PyObject
* obj1
= 0 ;
37328 PyObject
* obj2
= 0 ;
37329 PyObject
* obj3
= 0 ;
37330 PyObject
* obj4
= 0 ;
37331 PyObject
* obj5
= 0 ;
37332 char *kwnames
[] = {
37333 (char *) "window",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
37336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_GBSizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
37337 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
37338 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37341 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
37345 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
37347 arg4
= (int) SWIG_AsInt(obj3
);
37348 if (PyErr_Occurred()) SWIG_fail
;
37349 arg5
= (int) SWIG_AsInt(obj4
);
37350 if (PyErr_Occurred()) SWIG_fail
;
37355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37356 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
37358 wxPyEndAllowThreads(__tstate
);
37359 if (PyErr_Occurred()) SWIG_fail
;
37361 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
37368 static PyObject
*_wrap_new_GBSizerItemSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37369 PyObject
*resultobj
;
37370 wxSizer
*arg1
= (wxSizer
*) 0 ;
37371 wxGBPosition
*arg2
= 0 ;
37372 wxGBSpan
*arg3
= 0 ;
37375 PyObject
*arg6
= (PyObject
*) NULL
;
37376 wxGBSizerItem
*result
;
37377 wxGBPosition temp2
;
37379 PyObject
* obj0
= 0 ;
37380 PyObject
* obj1
= 0 ;
37381 PyObject
* obj2
= 0 ;
37382 PyObject
* obj3
= 0 ;
37383 PyObject
* obj4
= 0 ;
37384 PyObject
* obj5
= 0 ;
37385 char *kwnames
[] = {
37386 (char *) "sizer",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
37389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_GBSizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
37390 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
37391 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37394 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
37398 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
37400 arg4
= (int) SWIG_AsInt(obj3
);
37401 if (PyErr_Occurred()) SWIG_fail
;
37402 arg5
= (int) SWIG_AsInt(obj4
);
37403 if (PyErr_Occurred()) SWIG_fail
;
37408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37409 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
37411 wxPyEndAllowThreads(__tstate
);
37412 if (PyErr_Occurred()) SWIG_fail
;
37414 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
37421 static PyObject
*_wrap_new_GBSizerItemSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37422 PyObject
*resultobj
;
37425 wxGBPosition
*arg3
= 0 ;
37426 wxGBSpan
*arg4
= 0 ;
37429 PyObject
*arg7
= (PyObject
*) NULL
;
37430 wxGBSizerItem
*result
;
37431 wxGBPosition temp3
;
37433 PyObject
* obj0
= 0 ;
37434 PyObject
* obj1
= 0 ;
37435 PyObject
* obj2
= 0 ;
37436 PyObject
* obj3
= 0 ;
37437 PyObject
* obj4
= 0 ;
37438 PyObject
* obj5
= 0 ;
37439 PyObject
* obj6
= 0 ;
37440 char *kwnames
[] = {
37441 (char *) "width",(char *) "height",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
37444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:new_GBSizerItemSpacer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
37445 arg1
= (int) SWIG_AsInt(obj0
);
37446 if (PyErr_Occurred()) SWIG_fail
;
37447 arg2
= (int) SWIG_AsInt(obj1
);
37448 if (PyErr_Occurred()) SWIG_fail
;
37451 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
37455 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
37457 arg5
= (int) SWIG_AsInt(obj4
);
37458 if (PyErr_Occurred()) SWIG_fail
;
37459 arg6
= (int) SWIG_AsInt(obj5
);
37460 if (PyErr_Occurred()) SWIG_fail
;
37465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37466 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
37468 wxPyEndAllowThreads(__tstate
);
37469 if (PyErr_Occurred()) SWIG_fail
;
37471 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
37478 static PyObject
*_wrap_GBSizerItem_GetPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37479 PyObject
*resultobj
;
37480 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
37481 wxGBPosition result
;
37482 PyObject
* obj0
= 0 ;
37483 char *kwnames
[] = {
37484 (char *) "self", NULL
37487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetPos",kwnames
,&obj0
)) goto fail
;
37488 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
37489 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37492 result
= ((wxGBSizerItem
const *)arg1
)->GetPos();
37494 wxPyEndAllowThreads(__tstate
);
37495 if (PyErr_Occurred()) SWIG_fail
;
37498 wxGBPosition
* resultptr
;
37499 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
37500 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
37508 static PyObject
*_wrap_GBSizerItem_GetSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37509 PyObject
*resultobj
;
37510 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
37512 PyObject
* obj0
= 0 ;
37513 char *kwnames
[] = {
37514 (char *) "self", NULL
37517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetSpan",kwnames
,&obj0
)) goto fail
;
37518 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
37519 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37522 result
= ((wxGBSizerItem
const *)arg1
)->GetSpan();
37524 wxPyEndAllowThreads(__tstate
);
37525 if (PyErr_Occurred()) SWIG_fail
;
37528 wxGBSpan
* resultptr
;
37529 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
37530 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
37538 static PyObject
*_wrap_GBSizerItem_SetPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37539 PyObject
*resultobj
;
37540 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
37541 wxGBPosition
*arg2
= 0 ;
37543 wxGBPosition temp2
;
37544 PyObject
* obj0
= 0 ;
37545 PyObject
* obj1
= 0 ;
37546 char *kwnames
[] = {
37547 (char *) "self",(char *) "pos", NULL
37550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetPos",kwnames
,&obj0
,&obj1
)) goto fail
;
37551 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
37552 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37555 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
37558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37559 result
= (bool)(arg1
)->SetPos((wxGBPosition
const &)*arg2
);
37561 wxPyEndAllowThreads(__tstate
);
37562 if (PyErr_Occurred()) SWIG_fail
;
37565 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37573 static PyObject
*_wrap_GBSizerItem_SetSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37574 PyObject
*resultobj
;
37575 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
37576 wxGBSpan
*arg2
= 0 ;
37579 PyObject
* obj0
= 0 ;
37580 PyObject
* obj1
= 0 ;
37581 char *kwnames
[] = {
37582 (char *) "self",(char *) "span", NULL
37585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetSpan",kwnames
,&obj0
,&obj1
)) goto fail
;
37586 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
37587 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37590 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
37593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37594 result
= (bool)(arg1
)->SetSpan((wxGBSpan
const &)*arg2
);
37596 wxPyEndAllowThreads(__tstate
);
37597 if (PyErr_Occurred()) SWIG_fail
;
37600 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37608 static PyObject
*_wrap_GBSizerItem_Intersects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37609 PyObject
*resultobj
;
37610 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
37611 wxGBSizerItem
*arg2
= 0 ;
37613 PyObject
* obj0
= 0 ;
37614 PyObject
* obj1
= 0 ;
37615 char *kwnames
[] = {
37616 (char *) "self",(char *) "other", NULL
37619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_Intersects",kwnames
,&obj0
,&obj1
)) goto fail
;
37620 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
37621 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37622 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGBSizerItem
,
37623 SWIG_POINTER_EXCEPTION
| 0)) == -1)
37625 if (arg2
== NULL
) {
37626 PyErr_SetString(PyExc_TypeError
,"null reference");
37630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37631 result
= (bool)(arg1
)->Intersects((wxGBSizerItem
const &)*arg2
);
37633 wxPyEndAllowThreads(__tstate
);
37634 if (PyErr_Occurred()) SWIG_fail
;
37637 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37645 static PyObject
*_wrap_GBSizerItem_IntersectsPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37646 PyObject
*resultobj
;
37647 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
37648 wxGBPosition
*arg2
= 0 ;
37649 wxGBSpan
*arg3
= 0 ;
37651 wxGBPosition temp2
;
37653 PyObject
* obj0
= 0 ;
37654 PyObject
* obj1
= 0 ;
37655 PyObject
* obj2
= 0 ;
37656 char *kwnames
[] = {
37657 (char *) "self",(char *) "pos",(char *) "span", NULL
37660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GBSizerItem_IntersectsPos",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37661 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
37662 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37665 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
37669 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
37672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37673 result
= (bool)(arg1
)->Intersects((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
);
37675 wxPyEndAllowThreads(__tstate
);
37676 if (PyErr_Occurred()) SWIG_fail
;
37679 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37687 static PyObject
*_wrap_GBSizerItem_GetEndPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37688 PyObject
*resultobj
;
37689 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
37690 wxGBPosition result
;
37691 PyObject
* obj0
= 0 ;
37692 char *kwnames
[] = {
37693 (char *) "self", NULL
37696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetEndPos",kwnames
,&obj0
)) goto fail
;
37697 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
37698 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37701 result
= wxGBSizerItem_GetEndPos(arg1
);
37703 wxPyEndAllowThreads(__tstate
);
37704 if (PyErr_Occurred()) SWIG_fail
;
37707 wxGBPosition
* resultptr
;
37708 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
37709 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
37717 static PyObject
*_wrap_GBSizerItem_GetGBSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37718 PyObject
*resultobj
;
37719 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
37720 wxGridBagSizer
*result
;
37721 PyObject
* obj0
= 0 ;
37722 char *kwnames
[] = {
37723 (char *) "self", NULL
37726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetGBSizer",kwnames
,&obj0
)) goto fail
;
37727 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
37728 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37731 result
= (wxGridBagSizer
*)((wxGBSizerItem
const *)arg1
)->GetGBSizer();
37733 wxPyEndAllowThreads(__tstate
);
37734 if (PyErr_Occurred()) SWIG_fail
;
37736 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridBagSizer
, 0);
37743 static PyObject
*_wrap_GBSizerItem_SetGBSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37744 PyObject
*resultobj
;
37745 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
37746 wxGridBagSizer
*arg2
= (wxGridBagSizer
*) 0 ;
37747 PyObject
* obj0
= 0 ;
37748 PyObject
* obj1
= 0 ;
37749 char *kwnames
[] = {
37750 (char *) "self",(char *) "sizer", NULL
37753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetGBSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
37754 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
37755 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37756 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridBagSizer
,
37757 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37760 (arg1
)->SetGBSizer(arg2
);
37762 wxPyEndAllowThreads(__tstate
);
37763 if (PyErr_Occurred()) SWIG_fail
;
37765 Py_INCREF(Py_None
); resultobj
= Py_None
;
37772 static PyObject
* GBSizerItem_swigregister(PyObject
*self
, PyObject
*args
) {
37774 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
37775 SWIG_TypeClientData(SWIGTYPE_p_wxGBSizerItem
, obj
);
37777 return Py_BuildValue((char *)"");
37779 static PyObject
*_wrap_new_GridBagSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37780 PyObject
*resultobj
;
37781 int arg1
= (int) 0 ;
37782 int arg2
= (int) 0 ;
37783 wxGridBagSizer
*result
;
37784 PyObject
* obj0
= 0 ;
37785 PyObject
* obj1
= 0 ;
37786 char *kwnames
[] = {
37787 (char *) "vgap",(char *) "hgap", NULL
37790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridBagSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
37792 arg1
= (int) SWIG_AsInt(obj0
);
37793 if (PyErr_Occurred()) SWIG_fail
;
37796 arg2
= (int) SWIG_AsInt(obj1
);
37797 if (PyErr_Occurred()) SWIG_fail
;
37800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37801 result
= (wxGridBagSizer
*)new wxGridBagSizer(arg1
,arg2
);
37803 wxPyEndAllowThreads(__tstate
);
37804 if (PyErr_Occurred()) SWIG_fail
;
37806 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridBagSizer
, 1);
37813 static PyObject
*_wrap_GridBagSizer_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37814 PyObject
*resultobj
;
37815 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37816 PyObject
*arg2
= (PyObject
*) 0 ;
37817 wxGBPosition
*arg3
= 0 ;
37818 wxGBSpan
const &arg4_defvalue
= wxDefaultSpan
;
37819 wxGBSpan
*arg4
= (wxGBSpan
*) &arg4_defvalue
;
37820 int arg5
= (int) 0 ;
37821 int arg6
= (int) 0 ;
37822 PyObject
*arg7
= (PyObject
*) NULL
;
37824 wxGBPosition temp3
;
37826 PyObject
* obj0
= 0 ;
37827 PyObject
* obj1
= 0 ;
37828 PyObject
* obj2
= 0 ;
37829 PyObject
* obj3
= 0 ;
37830 PyObject
* obj4
= 0 ;
37831 PyObject
* obj5
= 0 ;
37832 PyObject
* obj6
= 0 ;
37833 char *kwnames
[] = {
37834 (char *) "self",(char *) "item",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
37837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:GridBagSizer_Add",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
37838 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
37839 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37843 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
37848 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
37852 arg5
= (int) SWIG_AsInt(obj4
);
37853 if (PyErr_Occurred()) SWIG_fail
;
37856 arg6
= (int) SWIG_AsInt(obj5
);
37857 if (PyErr_Occurred()) SWIG_fail
;
37863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37864 result
= (bool)wxGridBagSizer_Add(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
37866 wxPyEndAllowThreads(__tstate
);
37867 if (PyErr_Occurred()) SWIG_fail
;
37870 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37878 static PyObject
*_wrap_GridBagSizer_AddItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37879 PyObject
*resultobj
;
37880 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37881 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
37883 PyObject
* obj0
= 0 ;
37884 PyObject
* obj1
= 0 ;
37885 char *kwnames
[] = {
37886 (char *) "self",(char *) "item", NULL
37889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_AddItem",kwnames
,&obj0
,&obj1
)) goto fail
;
37890 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
37891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37892 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGBSizerItem
,
37893 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37896 result
= (bool)(arg1
)->Add(arg2
);
37898 wxPyEndAllowThreads(__tstate
);
37899 if (PyErr_Occurred()) SWIG_fail
;
37902 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37910 static PyObject
*_wrap_GridBagSizer_GetEmptyCellSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37911 PyObject
*resultobj
;
37912 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37914 PyObject
* obj0
= 0 ;
37915 char *kwnames
[] = {
37916 (char *) "self", NULL
37919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridBagSizer_GetEmptyCellSize",kwnames
,&obj0
)) goto fail
;
37920 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
37921 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37924 result
= ((wxGridBagSizer
const *)arg1
)->GetEmptyCellSize();
37926 wxPyEndAllowThreads(__tstate
);
37927 if (PyErr_Occurred()) SWIG_fail
;
37930 wxSize
* resultptr
;
37931 resultptr
= new wxSize((wxSize
&) result
);
37932 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
37940 static PyObject
*_wrap_GridBagSizer_SetEmptyCellSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37941 PyObject
*resultobj
;
37942 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37945 PyObject
* obj0
= 0 ;
37946 PyObject
* obj1
= 0 ;
37947 char *kwnames
[] = {
37948 (char *) "self",(char *) "sz", NULL
37951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_SetEmptyCellSize",kwnames
,&obj0
,&obj1
)) goto fail
;
37952 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
37953 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37956 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
37959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37960 (arg1
)->SetEmptyCellSize((wxSize
const &)*arg2
);
37962 wxPyEndAllowThreads(__tstate
);
37963 if (PyErr_Occurred()) SWIG_fail
;
37965 Py_INCREF(Py_None
); resultobj
= Py_None
;
37972 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_0(PyObject
*self
, PyObject
*args
) {
37973 PyObject
*resultobj
;
37974 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37975 wxWindow
*arg2
= (wxWindow
*) 0 ;
37976 wxGBPosition result
;
37977 PyObject
* obj0
= 0 ;
37978 PyObject
* obj1
= 0 ;
37980 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
37981 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
37982 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37983 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
37984 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37987 result
= (arg1
)->GetItemPosition(arg2
);
37989 wxPyEndAllowThreads(__tstate
);
37990 if (PyErr_Occurred()) SWIG_fail
;
37993 wxGBPosition
* resultptr
;
37994 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
37995 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
38003 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_1(PyObject
*self
, PyObject
*args
) {
38004 PyObject
*resultobj
;
38005 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38006 wxSizer
*arg2
= (wxSizer
*) 0 ;
38007 wxGBPosition result
;
38008 PyObject
* obj0
= 0 ;
38009 PyObject
* obj1
= 0 ;
38011 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
38012 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38013 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38014 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
38015 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38018 result
= (arg1
)->GetItemPosition(arg2
);
38020 wxPyEndAllowThreads(__tstate
);
38021 if (PyErr_Occurred()) SWIG_fail
;
38024 wxGBPosition
* resultptr
;
38025 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
38026 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
38034 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_2(PyObject
*self
, PyObject
*args
) {
38035 PyObject
*resultobj
;
38036 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38038 wxGBPosition result
;
38039 PyObject
* obj0
= 0 ;
38040 PyObject
* obj1
= 0 ;
38042 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
38043 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38044 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38045 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
38046 if (PyErr_Occurred()) SWIG_fail
;
38048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38049 result
= (arg1
)->GetItemPosition(arg2
);
38051 wxPyEndAllowThreads(__tstate
);
38052 if (PyErr_Occurred()) SWIG_fail
;
38055 wxGBPosition
* resultptr
;
38056 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
38057 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
38065 static PyObject
*_wrap_GridBagSizer_GetItemPosition(PyObject
*self
, PyObject
*args
) {
38070 argc
= PyObject_Length(args
);
38071 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
38072 argv
[ii
] = PyTuple_GetItem(args
,ii
);
38078 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38088 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
38096 return _wrap_GridBagSizer_GetItemPosition__SWIG_0(self
,args
);
38104 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38114 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
38122 return _wrap_GridBagSizer_GetItemPosition__SWIG_1(self
,args
);
38130 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38138 _v
= SWIG_CheckUnsignedLong(argv
[1]);
38140 return _wrap_GridBagSizer_GetItemPosition__SWIG_2(self
,args
);
38145 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_GetItemPosition'");
38150 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_0(PyObject
*self
, PyObject
*args
) {
38151 PyObject
*resultobj
;
38152 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38153 wxWindow
*arg2
= (wxWindow
*) 0 ;
38154 wxGBPosition
*arg3
= 0 ;
38156 wxGBPosition temp3
;
38157 PyObject
* obj0
= 0 ;
38158 PyObject
* obj1
= 0 ;
38159 PyObject
* obj2
= 0 ;
38161 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
38162 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38163 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38164 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
38165 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38168 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
38171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38172 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
38174 wxPyEndAllowThreads(__tstate
);
38175 if (PyErr_Occurred()) SWIG_fail
;
38178 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38186 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_1(PyObject
*self
, PyObject
*args
) {
38187 PyObject
*resultobj
;
38188 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38189 wxSizer
*arg2
= (wxSizer
*) 0 ;
38190 wxGBPosition
*arg3
= 0 ;
38192 wxGBPosition temp3
;
38193 PyObject
* obj0
= 0 ;
38194 PyObject
* obj1
= 0 ;
38195 PyObject
* obj2
= 0 ;
38197 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
38198 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38199 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38200 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
38201 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38204 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
38207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38208 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
38210 wxPyEndAllowThreads(__tstate
);
38211 if (PyErr_Occurred()) SWIG_fail
;
38214 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38222 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_2(PyObject
*self
, PyObject
*args
) {
38223 PyObject
*resultobj
;
38224 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38226 wxGBPosition
*arg3
= 0 ;
38228 wxGBPosition temp3
;
38229 PyObject
* obj0
= 0 ;
38230 PyObject
* obj1
= 0 ;
38231 PyObject
* obj2
= 0 ;
38233 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
38234 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38235 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38236 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
38237 if (PyErr_Occurred()) SWIG_fail
;
38240 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
38243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38244 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
38246 wxPyEndAllowThreads(__tstate
);
38247 if (PyErr_Occurred()) SWIG_fail
;
38250 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38258 static PyObject
*_wrap_GridBagSizer_SetItemPosition(PyObject
*self
, PyObject
*args
) {
38263 argc
= PyObject_Length(args
);
38264 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
38265 argv
[ii
] = PyTuple_GetItem(args
,ii
);
38271 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38281 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
38290 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
38293 return _wrap_GridBagSizer_SetItemPosition__SWIG_0(self
,args
);
38302 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38312 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
38321 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
38324 return _wrap_GridBagSizer_SetItemPosition__SWIG_1(self
,args
);
38333 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38341 _v
= SWIG_CheckUnsignedLong(argv
[1]);
38344 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
38347 return _wrap_GridBagSizer_SetItemPosition__SWIG_2(self
,args
);
38353 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_SetItemPosition'");
38358 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_0(PyObject
*self
, PyObject
*args
) {
38359 PyObject
*resultobj
;
38360 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38361 wxWindow
*arg2
= (wxWindow
*) 0 ;
38363 PyObject
* obj0
= 0 ;
38364 PyObject
* obj1
= 0 ;
38366 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
38367 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38368 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38369 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
38370 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38373 result
= (arg1
)->GetItemSpan(arg2
);
38375 wxPyEndAllowThreads(__tstate
);
38376 if (PyErr_Occurred()) SWIG_fail
;
38379 wxGBSpan
* resultptr
;
38380 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
38381 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
38389 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_1(PyObject
*self
, PyObject
*args
) {
38390 PyObject
*resultobj
;
38391 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38392 wxSizer
*arg2
= (wxSizer
*) 0 ;
38394 PyObject
* obj0
= 0 ;
38395 PyObject
* obj1
= 0 ;
38397 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
38398 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38399 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38400 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
38401 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38404 result
= (arg1
)->GetItemSpan(arg2
);
38406 wxPyEndAllowThreads(__tstate
);
38407 if (PyErr_Occurred()) SWIG_fail
;
38410 wxGBSpan
* resultptr
;
38411 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
38412 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
38420 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_2(PyObject
*self
, PyObject
*args
) {
38421 PyObject
*resultobj
;
38422 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38425 PyObject
* obj0
= 0 ;
38426 PyObject
* obj1
= 0 ;
38428 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
38429 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38430 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38431 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
38432 if (PyErr_Occurred()) SWIG_fail
;
38434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38435 result
= (arg1
)->GetItemSpan(arg2
);
38437 wxPyEndAllowThreads(__tstate
);
38438 if (PyErr_Occurred()) SWIG_fail
;
38441 wxGBSpan
* resultptr
;
38442 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
38443 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
38451 static PyObject
*_wrap_GridBagSizer_GetItemSpan(PyObject
*self
, PyObject
*args
) {
38456 argc
= PyObject_Length(args
);
38457 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
38458 argv
[ii
] = PyTuple_GetItem(args
,ii
);
38464 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38474 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
38482 return _wrap_GridBagSizer_GetItemSpan__SWIG_0(self
,args
);
38490 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38500 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
38508 return _wrap_GridBagSizer_GetItemSpan__SWIG_1(self
,args
);
38516 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38524 _v
= SWIG_CheckUnsignedLong(argv
[1]);
38526 return _wrap_GridBagSizer_GetItemSpan__SWIG_2(self
,args
);
38531 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_GetItemSpan'");
38536 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_0(PyObject
*self
, PyObject
*args
) {
38537 PyObject
*resultobj
;
38538 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38539 wxWindow
*arg2
= (wxWindow
*) 0 ;
38540 wxGBSpan
*arg3
= 0 ;
38543 PyObject
* obj0
= 0 ;
38544 PyObject
* obj1
= 0 ;
38545 PyObject
* obj2
= 0 ;
38547 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
38548 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38549 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38550 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
38551 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38554 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
38557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38558 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
38560 wxPyEndAllowThreads(__tstate
);
38561 if (PyErr_Occurred()) SWIG_fail
;
38564 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38572 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_1(PyObject
*self
, PyObject
*args
) {
38573 PyObject
*resultobj
;
38574 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38575 wxSizer
*arg2
= (wxSizer
*) 0 ;
38576 wxGBSpan
*arg3
= 0 ;
38579 PyObject
* obj0
= 0 ;
38580 PyObject
* obj1
= 0 ;
38581 PyObject
* obj2
= 0 ;
38583 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
38584 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38585 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38586 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
38587 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38590 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
38593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38594 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
38596 wxPyEndAllowThreads(__tstate
);
38597 if (PyErr_Occurred()) SWIG_fail
;
38600 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38608 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_2(PyObject
*self
, PyObject
*args
) {
38609 PyObject
*resultobj
;
38610 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38612 wxGBSpan
*arg3
= 0 ;
38615 PyObject
* obj0
= 0 ;
38616 PyObject
* obj1
= 0 ;
38617 PyObject
* obj2
= 0 ;
38619 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
38620 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38621 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38622 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
38623 if (PyErr_Occurred()) SWIG_fail
;
38626 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
38629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38630 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
38632 wxPyEndAllowThreads(__tstate
);
38633 if (PyErr_Occurred()) SWIG_fail
;
38636 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38644 static PyObject
*_wrap_GridBagSizer_SetItemSpan(PyObject
*self
, PyObject
*args
) {
38649 argc
= PyObject_Length(args
);
38650 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
38651 argv
[ii
] = PyTuple_GetItem(args
,ii
);
38657 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38667 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
38676 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
38679 return _wrap_GridBagSizer_SetItemSpan__SWIG_0(self
,args
);
38688 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38698 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
38707 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
38710 return _wrap_GridBagSizer_SetItemSpan__SWIG_1(self
,args
);
38719 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38727 _v
= SWIG_CheckUnsignedLong(argv
[1]);
38730 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
38733 return _wrap_GridBagSizer_SetItemSpan__SWIG_2(self
,args
);
38739 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_SetItemSpan'");
38744 static PyObject
*_wrap_GridBagSizer_FindItem__SWIG_0(PyObject
*self
, PyObject
*args
) {
38745 PyObject
*resultobj
;
38746 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38747 wxWindow
*arg2
= (wxWindow
*) 0 ;
38748 wxGBSizerItem
*result
;
38749 PyObject
* obj0
= 0 ;
38750 PyObject
* obj1
= 0 ;
38752 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_FindItem",&obj0
,&obj1
)) goto fail
;
38753 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38754 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38755 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
38756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38759 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
38761 wxPyEndAllowThreads(__tstate
);
38762 if (PyErr_Occurred()) SWIG_fail
;
38764 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
38771 static PyObject
*_wrap_GridBagSizer_FindItem__SWIG_1(PyObject
*self
, PyObject
*args
) {
38772 PyObject
*resultobj
;
38773 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38774 wxSizer
*arg2
= (wxSizer
*) 0 ;
38775 wxGBSizerItem
*result
;
38776 PyObject
* obj0
= 0 ;
38777 PyObject
* obj1
= 0 ;
38779 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_FindItem",&obj0
,&obj1
)) goto fail
;
38780 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38781 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38782 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
38783 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38786 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
38788 wxPyEndAllowThreads(__tstate
);
38789 if (PyErr_Occurred()) SWIG_fail
;
38791 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
38798 static PyObject
*_wrap_GridBagSizer_FindItem(PyObject
*self
, PyObject
*args
) {
38803 argc
= PyObject_Length(args
);
38804 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
38805 argv
[ii
] = PyTuple_GetItem(args
,ii
);
38811 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38821 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
38829 return _wrap_GridBagSizer_FindItem__SWIG_0(self
,args
);
38837 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38847 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
38855 return _wrap_GridBagSizer_FindItem__SWIG_1(self
,args
);
38860 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_FindItem'");
38865 static PyObject
*_wrap_GridBagSizer_FindItemAtPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38866 PyObject
*resultobj
;
38867 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38868 wxGBPosition
*arg2
= 0 ;
38869 wxGBSizerItem
*result
;
38870 wxGBPosition temp2
;
38871 PyObject
* obj0
= 0 ;
38872 PyObject
* obj1
= 0 ;
38873 char *kwnames
[] = {
38874 (char *) "self",(char *) "pos", NULL
38877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
38878 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38879 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38882 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
38885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38886 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPosition((wxGBPosition
const &)*arg2
);
38888 wxPyEndAllowThreads(__tstate
);
38889 if (PyErr_Occurred()) SWIG_fail
;
38891 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
38898 static PyObject
*_wrap_GridBagSizer_FindItemAtPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38899 PyObject
*resultobj
;
38900 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38901 wxPoint
*arg2
= 0 ;
38902 wxGBSizerItem
*result
;
38904 PyObject
* obj0
= 0 ;
38905 PyObject
* obj1
= 0 ;
38906 char *kwnames
[] = {
38907 (char *) "self",(char *) "pt", NULL
38910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
38911 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38912 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38915 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
38918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38919 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPoint((wxPoint
const &)*arg2
);
38921 wxPyEndAllowThreads(__tstate
);
38922 if (PyErr_Occurred()) SWIG_fail
;
38924 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
38931 static PyObject
*_wrap_GridBagSizer_CheckForIntersection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38932 PyObject
*resultobj
;
38933 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38934 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
38935 wxGBSizerItem
*arg3
= (wxGBSizerItem
*) NULL
;
38937 PyObject
* obj0
= 0 ;
38938 PyObject
* obj1
= 0 ;
38939 PyObject
* obj2
= 0 ;
38940 char *kwnames
[] = {
38941 (char *) "self",(char *) "item",(char *) "excludeItem", NULL
38944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GridBagSizer_CheckForIntersection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
38945 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38946 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38947 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGBSizerItem
,
38948 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38950 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxGBSizerItem
,
38951 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38955 result
= (bool)(arg1
)->CheckForIntersection(arg2
,arg3
);
38957 wxPyEndAllowThreads(__tstate
);
38958 if (PyErr_Occurred()) SWIG_fail
;
38961 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38969 static PyObject
*_wrap_GridBagSizer_CheckForIntersectionPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38970 PyObject
*resultobj
;
38971 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38972 wxGBPosition
*arg2
= 0 ;
38973 wxGBSpan
*arg3
= 0 ;
38974 wxGBSizerItem
*arg4
= (wxGBSizerItem
*) NULL
;
38976 wxGBPosition temp2
;
38978 PyObject
* obj0
= 0 ;
38979 PyObject
* obj1
= 0 ;
38980 PyObject
* obj2
= 0 ;
38981 PyObject
* obj3
= 0 ;
38982 char *kwnames
[] = {
38983 (char *) "self",(char *) "pos",(char *) "span",(char *) "excludeItem", NULL
38986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:GridBagSizer_CheckForIntersectionPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
38987 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38988 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38991 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
38995 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
38998 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxGBSizerItem
,
38999 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39003 result
= (bool)(arg1
)->CheckForIntersection((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
);
39005 wxPyEndAllowThreads(__tstate
);
39006 if (PyErr_Occurred()) SWIG_fail
;
39009 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39017 static PyObject
* GridBagSizer_swigregister(PyObject
*self
, PyObject
*args
) {
39019 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
39020 SWIG_TypeClientData(SWIGTYPE_p_wxGridBagSizer
, obj
);
39022 return Py_BuildValue((char *)"");
39024 static PyObject
*_wrap_IndividualLayoutConstraint_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39025 PyObject
*resultobj
;
39026 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39028 wxWindow
*arg3
= (wxWindow
*) 0 ;
39030 int arg5
= (int) 0 ;
39031 int arg6
= (int) wxLAYOUT_DEFAULT_MARGIN
;
39032 PyObject
* obj0
= 0 ;
39033 PyObject
* obj1
= 0 ;
39034 PyObject
* obj2
= 0 ;
39035 PyObject
* obj3
= 0 ;
39036 PyObject
* obj4
= 0 ;
39037 PyObject
* obj5
= 0 ;
39038 char *kwnames
[] = {
39039 (char *) "self",(char *) "rel",(char *) "otherW",(char *) "otherE",(char *) "val",(char *) "marg", NULL
39042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:IndividualLayoutConstraint_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
39043 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39044 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39045 arg2
= (wxRelationship
) SWIG_AsInt(obj1
);
39046 if (PyErr_Occurred()) SWIG_fail
;
39047 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
39048 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39049 arg4
= (wxEdge
) SWIG_AsInt(obj3
);
39050 if (PyErr_Occurred()) SWIG_fail
;
39052 arg5
= (int) SWIG_AsInt(obj4
);
39053 if (PyErr_Occurred()) SWIG_fail
;
39056 arg6
= (int) SWIG_AsInt(obj5
);
39057 if (PyErr_Occurred()) SWIG_fail
;
39060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39061 (arg1
)->Set((wxRelationship
)arg2
,arg3
,(wxEdge
)arg4
,arg5
,arg6
);
39063 wxPyEndAllowThreads(__tstate
);
39064 if (PyErr_Occurred()) SWIG_fail
;
39066 Py_INCREF(Py_None
); resultobj
= Py_None
;
39073 static PyObject
*_wrap_IndividualLayoutConstraint_LeftOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39074 PyObject
*resultobj
;
39075 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39076 wxWindow
*arg2
= (wxWindow
*) 0 ;
39077 int arg3
= (int) 0 ;
39078 PyObject
* obj0
= 0 ;
39079 PyObject
* obj1
= 0 ;
39080 PyObject
* obj2
= 0 ;
39081 char *kwnames
[] = {
39082 (char *) "self",(char *) "sibling",(char *) "marg", NULL
39085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_LeftOf",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39086 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39087 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39088 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39089 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39091 arg3
= (int) SWIG_AsInt(obj2
);
39092 if (PyErr_Occurred()) SWIG_fail
;
39095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39096 (arg1
)->LeftOf(arg2
,arg3
);
39098 wxPyEndAllowThreads(__tstate
);
39099 if (PyErr_Occurred()) SWIG_fail
;
39101 Py_INCREF(Py_None
); resultobj
= Py_None
;
39108 static PyObject
*_wrap_IndividualLayoutConstraint_RightOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39109 PyObject
*resultobj
;
39110 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39111 wxWindow
*arg2
= (wxWindow
*) 0 ;
39112 int arg3
= (int) 0 ;
39113 PyObject
* obj0
= 0 ;
39114 PyObject
* obj1
= 0 ;
39115 PyObject
* obj2
= 0 ;
39116 char *kwnames
[] = {
39117 (char *) "self",(char *) "sibling",(char *) "marg", NULL
39120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_RightOf",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39121 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39122 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39123 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39124 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39126 arg3
= (int) SWIG_AsInt(obj2
);
39127 if (PyErr_Occurred()) SWIG_fail
;
39130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39131 (arg1
)->RightOf(arg2
,arg3
);
39133 wxPyEndAllowThreads(__tstate
);
39134 if (PyErr_Occurred()) SWIG_fail
;
39136 Py_INCREF(Py_None
); resultobj
= Py_None
;
39143 static PyObject
*_wrap_IndividualLayoutConstraint_Above(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39144 PyObject
*resultobj
;
39145 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39146 wxWindow
*arg2
= (wxWindow
*) 0 ;
39147 int arg3
= (int) 0 ;
39148 PyObject
* obj0
= 0 ;
39149 PyObject
* obj1
= 0 ;
39150 PyObject
* obj2
= 0 ;
39151 char *kwnames
[] = {
39152 (char *) "self",(char *) "sibling",(char *) "marg", NULL
39155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_Above",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39156 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39157 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39158 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39159 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39161 arg3
= (int) SWIG_AsInt(obj2
);
39162 if (PyErr_Occurred()) SWIG_fail
;
39165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39166 (arg1
)->Above(arg2
,arg3
);
39168 wxPyEndAllowThreads(__tstate
);
39169 if (PyErr_Occurred()) SWIG_fail
;
39171 Py_INCREF(Py_None
); resultobj
= Py_None
;
39178 static PyObject
*_wrap_IndividualLayoutConstraint_Below(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39179 PyObject
*resultobj
;
39180 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39181 wxWindow
*arg2
= (wxWindow
*) 0 ;
39182 int arg3
= (int) 0 ;
39183 PyObject
* obj0
= 0 ;
39184 PyObject
* obj1
= 0 ;
39185 PyObject
* obj2
= 0 ;
39186 char *kwnames
[] = {
39187 (char *) "self",(char *) "sibling",(char *) "marg", NULL
39190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_Below",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39191 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39192 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39193 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39194 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39196 arg3
= (int) SWIG_AsInt(obj2
);
39197 if (PyErr_Occurred()) SWIG_fail
;
39200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39201 (arg1
)->Below(arg2
,arg3
);
39203 wxPyEndAllowThreads(__tstate
);
39204 if (PyErr_Occurred()) SWIG_fail
;
39206 Py_INCREF(Py_None
); resultobj
= Py_None
;
39213 static PyObject
*_wrap_IndividualLayoutConstraint_SameAs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39214 PyObject
*resultobj
;
39215 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39216 wxWindow
*arg2
= (wxWindow
*) 0 ;
39218 int arg4
= (int) 0 ;
39219 PyObject
* obj0
= 0 ;
39220 PyObject
* obj1
= 0 ;
39221 PyObject
* obj2
= 0 ;
39222 PyObject
* obj3
= 0 ;
39223 char *kwnames
[] = {
39224 (char *) "self",(char *) "otherW",(char *) "edge",(char *) "marg", NULL
39227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:IndividualLayoutConstraint_SameAs",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
39228 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39229 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39230 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39231 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39232 arg3
= (wxEdge
) SWIG_AsInt(obj2
);
39233 if (PyErr_Occurred()) SWIG_fail
;
39235 arg4
= (int) SWIG_AsInt(obj3
);
39236 if (PyErr_Occurred()) SWIG_fail
;
39239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39240 (arg1
)->SameAs(arg2
,(wxEdge
)arg3
,arg4
);
39242 wxPyEndAllowThreads(__tstate
);
39243 if (PyErr_Occurred()) SWIG_fail
;
39245 Py_INCREF(Py_None
); resultobj
= Py_None
;
39252 static PyObject
*_wrap_IndividualLayoutConstraint_PercentOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39253 PyObject
*resultobj
;
39254 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39255 wxWindow
*arg2
= (wxWindow
*) 0 ;
39258 PyObject
* obj0
= 0 ;
39259 PyObject
* obj1
= 0 ;
39260 PyObject
* obj2
= 0 ;
39261 PyObject
* obj3
= 0 ;
39262 char *kwnames
[] = {
39263 (char *) "self",(char *) "otherW",(char *) "wh",(char *) "per", NULL
39266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:IndividualLayoutConstraint_PercentOf",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
39267 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39268 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39269 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39270 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39271 arg3
= (wxEdge
) SWIG_AsInt(obj2
);
39272 if (PyErr_Occurred()) SWIG_fail
;
39273 arg4
= (int) SWIG_AsInt(obj3
);
39274 if (PyErr_Occurred()) SWIG_fail
;
39276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39277 (arg1
)->PercentOf(arg2
,(wxEdge
)arg3
,arg4
);
39279 wxPyEndAllowThreads(__tstate
);
39280 if (PyErr_Occurred()) SWIG_fail
;
39282 Py_INCREF(Py_None
); resultobj
= Py_None
;
39289 static PyObject
*_wrap_IndividualLayoutConstraint_Absolute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39290 PyObject
*resultobj
;
39291 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39293 PyObject
* obj0
= 0 ;
39294 PyObject
* obj1
= 0 ;
39295 char *kwnames
[] = {
39296 (char *) "self",(char *) "val", NULL
39299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_Absolute",kwnames
,&obj0
,&obj1
)) goto fail
;
39300 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39301 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39302 arg2
= (int) SWIG_AsInt(obj1
);
39303 if (PyErr_Occurred()) SWIG_fail
;
39305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39306 (arg1
)->Absolute(arg2
);
39308 wxPyEndAllowThreads(__tstate
);
39309 if (PyErr_Occurred()) SWIG_fail
;
39311 Py_INCREF(Py_None
); resultobj
= Py_None
;
39318 static PyObject
*_wrap_IndividualLayoutConstraint_Unconstrained(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39319 PyObject
*resultobj
;
39320 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39321 PyObject
* obj0
= 0 ;
39322 char *kwnames
[] = {
39323 (char *) "self", NULL
39326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_Unconstrained",kwnames
,&obj0
)) goto fail
;
39327 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39328 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39331 (arg1
)->Unconstrained();
39333 wxPyEndAllowThreads(__tstate
);
39334 if (PyErr_Occurred()) SWIG_fail
;
39336 Py_INCREF(Py_None
); resultobj
= Py_None
;
39343 static PyObject
*_wrap_IndividualLayoutConstraint_AsIs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39344 PyObject
*resultobj
;
39345 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39346 PyObject
* obj0
= 0 ;
39347 char *kwnames
[] = {
39348 (char *) "self", NULL
39351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_AsIs",kwnames
,&obj0
)) goto fail
;
39352 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39353 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39358 wxPyEndAllowThreads(__tstate
);
39359 if (PyErr_Occurred()) SWIG_fail
;
39361 Py_INCREF(Py_None
); resultobj
= Py_None
;
39368 static PyObject
*_wrap_IndividualLayoutConstraint_GetOtherWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39369 PyObject
*resultobj
;
39370 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39372 PyObject
* obj0
= 0 ;
39373 char *kwnames
[] = {
39374 (char *) "self", NULL
39377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetOtherWindow",kwnames
,&obj0
)) goto fail
;
39378 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39379 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39382 result
= (wxWindow
*)(arg1
)->GetOtherWindow();
39384 wxPyEndAllowThreads(__tstate
);
39385 if (PyErr_Occurred()) SWIG_fail
;
39388 resultobj
= wxPyMake_wxObject(result
, 0);
39396 static PyObject
*_wrap_IndividualLayoutConstraint_GetMyEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39397 PyObject
*resultobj
;
39398 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39400 PyObject
* obj0
= 0 ;
39401 char *kwnames
[] = {
39402 (char *) "self", NULL
39405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetMyEdge",kwnames
,&obj0
)) goto fail
;
39406 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39407 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39410 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetMyEdge();
39412 wxPyEndAllowThreads(__tstate
);
39413 if (PyErr_Occurred()) SWIG_fail
;
39415 resultobj
= SWIG_FromInt((int)result
);
39422 static PyObject
*_wrap_IndividualLayoutConstraint_SetEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39423 PyObject
*resultobj
;
39424 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39426 PyObject
* obj0
= 0 ;
39427 PyObject
* obj1
= 0 ;
39428 char *kwnames
[] = {
39429 (char *) "self",(char *) "which", NULL
39432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetEdge",kwnames
,&obj0
,&obj1
)) goto fail
;
39433 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39434 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39435 arg2
= (wxEdge
) SWIG_AsInt(obj1
);
39436 if (PyErr_Occurred()) SWIG_fail
;
39438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39439 (arg1
)->SetEdge((wxEdge
)arg2
);
39441 wxPyEndAllowThreads(__tstate
);
39442 if (PyErr_Occurred()) SWIG_fail
;
39444 Py_INCREF(Py_None
); resultobj
= Py_None
;
39451 static PyObject
*_wrap_IndividualLayoutConstraint_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39452 PyObject
*resultobj
;
39453 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39455 PyObject
* obj0
= 0 ;
39456 PyObject
* obj1
= 0 ;
39457 char *kwnames
[] = {
39458 (char *) "self",(char *) "v", NULL
39461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
39462 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39463 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39464 arg2
= (int) SWIG_AsInt(obj1
);
39465 if (PyErr_Occurred()) SWIG_fail
;
39467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39468 (arg1
)->SetValue(arg2
);
39470 wxPyEndAllowThreads(__tstate
);
39471 if (PyErr_Occurred()) SWIG_fail
;
39473 Py_INCREF(Py_None
); resultobj
= Py_None
;
39480 static PyObject
*_wrap_IndividualLayoutConstraint_GetMargin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39481 PyObject
*resultobj
;
39482 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39484 PyObject
* obj0
= 0 ;
39485 char *kwnames
[] = {
39486 (char *) "self", NULL
39489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetMargin",kwnames
,&obj0
)) goto fail
;
39490 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39491 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39494 result
= (int)(arg1
)->GetMargin();
39496 wxPyEndAllowThreads(__tstate
);
39497 if (PyErr_Occurred()) SWIG_fail
;
39499 resultobj
= SWIG_FromInt((int)result
);
39506 static PyObject
*_wrap_IndividualLayoutConstraint_SetMargin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39507 PyObject
*resultobj
;
39508 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39510 PyObject
* obj0
= 0 ;
39511 PyObject
* obj1
= 0 ;
39512 char *kwnames
[] = {
39513 (char *) "self",(char *) "m", NULL
39516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetMargin",kwnames
,&obj0
,&obj1
)) goto fail
;
39517 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39518 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39519 arg2
= (int) SWIG_AsInt(obj1
);
39520 if (PyErr_Occurred()) SWIG_fail
;
39522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39523 (arg1
)->SetMargin(arg2
);
39525 wxPyEndAllowThreads(__tstate
);
39526 if (PyErr_Occurred()) SWIG_fail
;
39528 Py_INCREF(Py_None
); resultobj
= Py_None
;
39535 static PyObject
*_wrap_IndividualLayoutConstraint_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39536 PyObject
*resultobj
;
39537 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39539 PyObject
* obj0
= 0 ;
39540 char *kwnames
[] = {
39541 (char *) "self", NULL
39544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetValue",kwnames
,&obj0
)) goto fail
;
39545 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39546 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39549 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetValue();
39551 wxPyEndAllowThreads(__tstate
);
39552 if (PyErr_Occurred()) SWIG_fail
;
39554 resultobj
= SWIG_FromInt((int)result
);
39561 static PyObject
*_wrap_IndividualLayoutConstraint_GetPercent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39562 PyObject
*resultobj
;
39563 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39565 PyObject
* obj0
= 0 ;
39566 char *kwnames
[] = {
39567 (char *) "self", NULL
39570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetPercent",kwnames
,&obj0
)) goto fail
;
39571 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39572 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39575 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetPercent();
39577 wxPyEndAllowThreads(__tstate
);
39578 if (PyErr_Occurred()) SWIG_fail
;
39580 resultobj
= SWIG_FromInt((int)result
);
39587 static PyObject
*_wrap_IndividualLayoutConstraint_GetOtherEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39588 PyObject
*resultobj
;
39589 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39591 PyObject
* obj0
= 0 ;
39592 char *kwnames
[] = {
39593 (char *) "self", NULL
39596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetOtherEdge",kwnames
,&obj0
)) goto fail
;
39597 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39598 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39601 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetOtherEdge();
39603 wxPyEndAllowThreads(__tstate
);
39604 if (PyErr_Occurred()) SWIG_fail
;
39606 resultobj
= SWIG_FromInt((int)result
);
39613 static PyObject
*_wrap_IndividualLayoutConstraint_GetDone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39614 PyObject
*resultobj
;
39615 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39617 PyObject
* obj0
= 0 ;
39618 char *kwnames
[] = {
39619 (char *) "self", NULL
39622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetDone",kwnames
,&obj0
)) goto fail
;
39623 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39624 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39627 result
= (bool)((wxIndividualLayoutConstraint
const *)arg1
)->GetDone();
39629 wxPyEndAllowThreads(__tstate
);
39630 if (PyErr_Occurred()) SWIG_fail
;
39633 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39641 static PyObject
*_wrap_IndividualLayoutConstraint_SetDone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39642 PyObject
*resultobj
;
39643 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39645 PyObject
* obj0
= 0 ;
39646 PyObject
* obj1
= 0 ;
39647 char *kwnames
[] = {
39648 (char *) "self",(char *) "d", NULL
39651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetDone",kwnames
,&obj0
,&obj1
)) goto fail
;
39652 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39653 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39654 arg2
= (bool) SWIG_AsBool(obj1
);
39655 if (PyErr_Occurred()) SWIG_fail
;
39657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39658 (arg1
)->SetDone(arg2
);
39660 wxPyEndAllowThreads(__tstate
);
39661 if (PyErr_Occurred()) SWIG_fail
;
39663 Py_INCREF(Py_None
); resultobj
= Py_None
;
39670 static PyObject
*_wrap_IndividualLayoutConstraint_GetRelationship(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39671 PyObject
*resultobj
;
39672 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39674 PyObject
* obj0
= 0 ;
39675 char *kwnames
[] = {
39676 (char *) "self", NULL
39679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetRelationship",kwnames
,&obj0
)) goto fail
;
39680 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39681 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39684 result
= (int)(arg1
)->GetRelationship();
39686 wxPyEndAllowThreads(__tstate
);
39687 if (PyErr_Occurred()) SWIG_fail
;
39689 resultobj
= SWIG_FromInt((int)result
);
39696 static PyObject
*_wrap_IndividualLayoutConstraint_SetRelationship(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39697 PyObject
*resultobj
;
39698 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39700 PyObject
* obj0
= 0 ;
39701 PyObject
* obj1
= 0 ;
39702 char *kwnames
[] = {
39703 (char *) "self",(char *) "r", NULL
39706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetRelationship",kwnames
,&obj0
,&obj1
)) goto fail
;
39707 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39708 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39709 arg2
= (wxRelationship
) SWIG_AsInt(obj1
);
39710 if (PyErr_Occurred()) SWIG_fail
;
39712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39713 (arg1
)->SetRelationship((wxRelationship
)arg2
);
39715 wxPyEndAllowThreads(__tstate
);
39716 if (PyErr_Occurred()) SWIG_fail
;
39718 Py_INCREF(Py_None
); resultobj
= Py_None
;
39725 static PyObject
*_wrap_IndividualLayoutConstraint_ResetIfWin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39726 PyObject
*resultobj
;
39727 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39728 wxWindow
*arg2
= (wxWindow
*) 0 ;
39730 PyObject
* obj0
= 0 ;
39731 PyObject
* obj1
= 0 ;
39732 char *kwnames
[] = {
39733 (char *) "self",(char *) "otherW", NULL
39736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_ResetIfWin",kwnames
,&obj0
,&obj1
)) goto fail
;
39737 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39738 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39739 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39740 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39743 result
= (bool)(arg1
)->ResetIfWin(arg2
);
39745 wxPyEndAllowThreads(__tstate
);
39746 if (PyErr_Occurred()) SWIG_fail
;
39749 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39757 static PyObject
*_wrap_IndividualLayoutConstraint_SatisfyConstraint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39758 PyObject
*resultobj
;
39759 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39760 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
39761 wxWindow
*arg3
= (wxWindow
*) 0 ;
39763 PyObject
* obj0
= 0 ;
39764 PyObject
* obj1
= 0 ;
39765 PyObject
* obj2
= 0 ;
39766 char *kwnames
[] = {
39767 (char *) "self",(char *) "constraints",(char *) "win", NULL
39770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IndividualLayoutConstraint_SatisfyConstraint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39771 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39772 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39773 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxLayoutConstraints
,
39774 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39775 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
39776 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39779 result
= (bool)(arg1
)->SatisfyConstraint(arg2
,arg3
);
39781 wxPyEndAllowThreads(__tstate
);
39782 if (PyErr_Occurred()) SWIG_fail
;
39785 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39793 static PyObject
*_wrap_IndividualLayoutConstraint_GetEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39794 PyObject
*resultobj
;
39795 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39797 wxWindow
*arg3
= (wxWindow
*) 0 ;
39798 wxWindow
*arg4
= (wxWindow
*) 0 ;
39800 PyObject
* obj0
= 0 ;
39801 PyObject
* obj1
= 0 ;
39802 PyObject
* obj2
= 0 ;
39803 PyObject
* obj3
= 0 ;
39804 char *kwnames
[] = {
39805 (char *) "self",(char *) "which",(char *) "thisWin",(char *) "other", NULL
39808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:IndividualLayoutConstraint_GetEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
39809 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39810 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39811 arg2
= (wxEdge
) SWIG_AsInt(obj1
);
39812 if (PyErr_Occurred()) SWIG_fail
;
39813 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
39814 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39815 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
39816 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39819 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetEdge((wxEdge
)arg2
,arg3
,arg4
);
39821 wxPyEndAllowThreads(__tstate
);
39822 if (PyErr_Occurred()) SWIG_fail
;
39824 resultobj
= SWIG_FromInt((int)result
);
39831 static PyObject
* IndividualLayoutConstraint_swigregister(PyObject
*self
, PyObject
*args
) {
39833 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
39834 SWIG_TypeClientData(SWIGTYPE_p_wxIndividualLayoutConstraint
, obj
);
39836 return Py_BuildValue((char *)"");
39838 static PyObject
*_wrap_LayoutConstraints_left_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39839 PyObject
*resultobj
;
39840 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
39841 wxIndividualLayoutConstraint
*result
;
39842 PyObject
* obj0
= 0 ;
39843 char *kwnames
[] = {
39844 (char *) "self", NULL
39847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_left_get",kwnames
,&obj0
)) goto fail
;
39848 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
39849 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39850 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->left
);
39852 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
39859 static PyObject
*_wrap_LayoutConstraints_top_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39860 PyObject
*resultobj
;
39861 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
39862 wxIndividualLayoutConstraint
*result
;
39863 PyObject
* obj0
= 0 ;
39864 char *kwnames
[] = {
39865 (char *) "self", NULL
39868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_top_get",kwnames
,&obj0
)) goto fail
;
39869 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
39870 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39871 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->top
);
39873 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
39880 static PyObject
*_wrap_LayoutConstraints_right_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39881 PyObject
*resultobj
;
39882 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
39883 wxIndividualLayoutConstraint
*result
;
39884 PyObject
* obj0
= 0 ;
39885 char *kwnames
[] = {
39886 (char *) "self", NULL
39889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_right_get",kwnames
,&obj0
)) goto fail
;
39890 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
39891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39892 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->right
);
39894 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
39901 static PyObject
*_wrap_LayoutConstraints_bottom_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39902 PyObject
*resultobj
;
39903 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
39904 wxIndividualLayoutConstraint
*result
;
39905 PyObject
* obj0
= 0 ;
39906 char *kwnames
[] = {
39907 (char *) "self", NULL
39910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_bottom_get",kwnames
,&obj0
)) goto fail
;
39911 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
39912 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39913 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->bottom
);
39915 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
39922 static PyObject
*_wrap_LayoutConstraints_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39923 PyObject
*resultobj
;
39924 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
39925 wxIndividualLayoutConstraint
*result
;
39926 PyObject
* obj0
= 0 ;
39927 char *kwnames
[] = {
39928 (char *) "self", NULL
39931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_width_get",kwnames
,&obj0
)) goto fail
;
39932 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
39933 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39934 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->width
);
39936 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
39943 static PyObject
*_wrap_LayoutConstraints_height_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39944 PyObject
*resultobj
;
39945 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
39946 wxIndividualLayoutConstraint
*result
;
39947 PyObject
* obj0
= 0 ;
39948 char *kwnames
[] = {
39949 (char *) "self", NULL
39952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_height_get",kwnames
,&obj0
)) goto fail
;
39953 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
39954 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39955 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->height
);
39957 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
39964 static PyObject
*_wrap_LayoutConstraints_centreX_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39965 PyObject
*resultobj
;
39966 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
39967 wxIndividualLayoutConstraint
*result
;
39968 PyObject
* obj0
= 0 ;
39969 char *kwnames
[] = {
39970 (char *) "self", NULL
39973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_centreX_get",kwnames
,&obj0
)) goto fail
;
39974 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
39975 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39976 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreX
);
39978 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
39985 static PyObject
*_wrap_LayoutConstraints_centreY_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39986 PyObject
*resultobj
;
39987 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
39988 wxIndividualLayoutConstraint
*result
;
39989 PyObject
* obj0
= 0 ;
39990 char *kwnames
[] = {
39991 (char *) "self", NULL
39994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_centreY_get",kwnames
,&obj0
)) goto fail
;
39995 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
39996 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39997 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreY
);
39999 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40006 static PyObject
*_wrap_new_LayoutConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40007 PyObject
*resultobj
;
40008 wxLayoutConstraints
*result
;
40009 char *kwnames
[] = {
40013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LayoutConstraints",kwnames
)) goto fail
;
40015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40016 result
= (wxLayoutConstraints
*)new wxLayoutConstraints();
40018 wxPyEndAllowThreads(__tstate
);
40019 if (PyErr_Occurred()) SWIG_fail
;
40021 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutConstraints
, 1);
40028 static PyObject
*_wrap_LayoutConstraints_SatisfyConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40029 PyObject
*resultobj
;
40030 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40031 wxWindow
*arg2
= (wxWindow
*) 0 ;
40032 int *arg3
= (int *) 0 ;
40035 PyObject
* obj0
= 0 ;
40036 PyObject
* obj1
= 0 ;
40037 char *kwnames
[] = {
40038 (char *) "self",(char *) "win", NULL
40042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LayoutConstraints_SatisfyConstraints",kwnames
,&obj0
,&obj1
)) goto fail
;
40043 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40044 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40045 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
40046 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40049 result
= (bool)(arg1
)->SatisfyConstraints(arg2
,arg3
);
40051 wxPyEndAllowThreads(__tstate
);
40052 if (PyErr_Occurred()) SWIG_fail
;
40055 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40058 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
40059 resultobj
= t_output_helper(resultobj
,o
);
40067 static PyObject
*_wrap_LayoutConstraints_AreSatisfied(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40068 PyObject
*resultobj
;
40069 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40071 PyObject
* obj0
= 0 ;
40072 char *kwnames
[] = {
40073 (char *) "self", NULL
40076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_AreSatisfied",kwnames
,&obj0
)) goto fail
;
40077 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40078 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40081 result
= (bool)((wxLayoutConstraints
const *)arg1
)->AreSatisfied();
40083 wxPyEndAllowThreads(__tstate
);
40084 if (PyErr_Occurred()) SWIG_fail
;
40087 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40095 static PyObject
* LayoutConstraints_swigregister(PyObject
*self
, PyObject
*args
) {
40097 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
40098 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutConstraints
, obj
);
40100 return Py_BuildValue((char *)"");
40102 static PyMethodDef SwigMethods
[] = {
40103 { (char *)"_wxPySetDictionary", __wxPySetDictionary
, METH_VARARGS
},
40104 { (char *)"_wxPyFixStockObjects", __wxPyFixStockObjects
, METH_VARARGS
},
40105 { (char *)"Object_GetClassName", (PyCFunction
) _wrap_Object_GetClassName
, METH_VARARGS
| METH_KEYWORDS
},
40106 { (char *)"Object_Destroy", (PyCFunction
) _wrap_Object_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
40107 { (char *)"Object_swigregister", Object_swigregister
, METH_VARARGS
},
40108 { (char *)"Size_width_set", (PyCFunction
) _wrap_Size_width_set
, METH_VARARGS
| METH_KEYWORDS
},
40109 { (char *)"Size_width_get", (PyCFunction
) _wrap_Size_width_get
, METH_VARARGS
| METH_KEYWORDS
},
40110 { (char *)"Size_height_set", (PyCFunction
) _wrap_Size_height_set
, METH_VARARGS
| METH_KEYWORDS
},
40111 { (char *)"Size_height_get", (PyCFunction
) _wrap_Size_height_get
, METH_VARARGS
| METH_KEYWORDS
},
40112 { (char *)"new_Size", (PyCFunction
) _wrap_new_Size
, METH_VARARGS
| METH_KEYWORDS
},
40113 { (char *)"delete_Size", (PyCFunction
) _wrap_delete_Size
, METH_VARARGS
| METH_KEYWORDS
},
40114 { (char *)"Size___eq__", (PyCFunction
) _wrap_Size___eq__
, METH_VARARGS
| METH_KEYWORDS
},
40115 { (char *)"Size___ne__", (PyCFunction
) _wrap_Size___ne__
, METH_VARARGS
| METH_KEYWORDS
},
40116 { (char *)"Size___add__", (PyCFunction
) _wrap_Size___add__
, METH_VARARGS
| METH_KEYWORDS
},
40117 { (char *)"Size___sub__", (PyCFunction
) _wrap_Size___sub__
, METH_VARARGS
| METH_KEYWORDS
},
40118 { (char *)"Size_IncTo", (PyCFunction
) _wrap_Size_IncTo
, METH_VARARGS
| METH_KEYWORDS
},
40119 { (char *)"Size_DecTo", (PyCFunction
) _wrap_Size_DecTo
, METH_VARARGS
| METH_KEYWORDS
},
40120 { (char *)"Size_Set", (PyCFunction
) _wrap_Size_Set
, METH_VARARGS
| METH_KEYWORDS
},
40121 { (char *)"Size_SetWidth", (PyCFunction
) _wrap_Size_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
40122 { (char *)"Size_SetHeight", (PyCFunction
) _wrap_Size_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
40123 { (char *)"Size_GetWidth", (PyCFunction
) _wrap_Size_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
40124 { (char *)"Size_GetHeight", (PyCFunction
) _wrap_Size_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
40125 { (char *)"Size_IsFullySpecified", (PyCFunction
) _wrap_Size_IsFullySpecified
, METH_VARARGS
| METH_KEYWORDS
},
40126 { (char *)"Size_SetDefaults", (PyCFunction
) _wrap_Size_SetDefaults
, METH_VARARGS
| METH_KEYWORDS
},
40127 { (char *)"Size_Get", (PyCFunction
) _wrap_Size_Get
, METH_VARARGS
| METH_KEYWORDS
},
40128 { (char *)"Size_swigregister", Size_swigregister
, METH_VARARGS
},
40129 { (char *)"RealPoint_x_set", (PyCFunction
) _wrap_RealPoint_x_set
, METH_VARARGS
| METH_KEYWORDS
},
40130 { (char *)"RealPoint_x_get", (PyCFunction
) _wrap_RealPoint_x_get
, METH_VARARGS
| METH_KEYWORDS
},
40131 { (char *)"RealPoint_y_set", (PyCFunction
) _wrap_RealPoint_y_set
, METH_VARARGS
| METH_KEYWORDS
},
40132 { (char *)"RealPoint_y_get", (PyCFunction
) _wrap_RealPoint_y_get
, METH_VARARGS
| METH_KEYWORDS
},
40133 { (char *)"new_RealPoint", (PyCFunction
) _wrap_new_RealPoint
, METH_VARARGS
| METH_KEYWORDS
},
40134 { (char *)"delete_RealPoint", (PyCFunction
) _wrap_delete_RealPoint
, METH_VARARGS
| METH_KEYWORDS
},
40135 { (char *)"RealPoint___eq__", (PyCFunction
) _wrap_RealPoint___eq__
, METH_VARARGS
| METH_KEYWORDS
},
40136 { (char *)"RealPoint___ne__", (PyCFunction
) _wrap_RealPoint___ne__
, METH_VARARGS
| METH_KEYWORDS
},
40137 { (char *)"RealPoint___add__", (PyCFunction
) _wrap_RealPoint___add__
, METH_VARARGS
| METH_KEYWORDS
},
40138 { (char *)"RealPoint___sub__", (PyCFunction
) _wrap_RealPoint___sub__
, METH_VARARGS
| METH_KEYWORDS
},
40139 { (char *)"RealPoint_Set", (PyCFunction
) _wrap_RealPoint_Set
, METH_VARARGS
| METH_KEYWORDS
},
40140 { (char *)"RealPoint_Get", (PyCFunction
) _wrap_RealPoint_Get
, METH_VARARGS
| METH_KEYWORDS
},
40141 { (char *)"RealPoint_swigregister", RealPoint_swigregister
, METH_VARARGS
},
40142 { (char *)"Point_x_set", (PyCFunction
) _wrap_Point_x_set
, METH_VARARGS
| METH_KEYWORDS
},
40143 { (char *)"Point_x_get", (PyCFunction
) _wrap_Point_x_get
, METH_VARARGS
| METH_KEYWORDS
},
40144 { (char *)"Point_y_set", (PyCFunction
) _wrap_Point_y_set
, METH_VARARGS
| METH_KEYWORDS
},
40145 { (char *)"Point_y_get", (PyCFunction
) _wrap_Point_y_get
, METH_VARARGS
| METH_KEYWORDS
},
40146 { (char *)"new_Point", (PyCFunction
) _wrap_new_Point
, METH_VARARGS
| METH_KEYWORDS
},
40147 { (char *)"delete_Point", (PyCFunction
) _wrap_delete_Point
, METH_VARARGS
| METH_KEYWORDS
},
40148 { (char *)"Point___eq__", (PyCFunction
) _wrap_Point___eq__
, METH_VARARGS
| METH_KEYWORDS
},
40149 { (char *)"Point___ne__", (PyCFunction
) _wrap_Point___ne__
, METH_VARARGS
| METH_KEYWORDS
},
40150 { (char *)"Point___add__", (PyCFunction
) _wrap_Point___add__
, METH_VARARGS
| METH_KEYWORDS
},
40151 { (char *)"Point___sub__", (PyCFunction
) _wrap_Point___sub__
, METH_VARARGS
| METH_KEYWORDS
},
40152 { (char *)"Point___iadd__", (PyCFunction
) _wrap_Point___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
40153 { (char *)"Point___isub__", (PyCFunction
) _wrap_Point___isub__
, METH_VARARGS
| METH_KEYWORDS
},
40154 { (char *)"Point_Set", (PyCFunction
) _wrap_Point_Set
, METH_VARARGS
| METH_KEYWORDS
},
40155 { (char *)"Point_Get", (PyCFunction
) _wrap_Point_Get
, METH_VARARGS
| METH_KEYWORDS
},
40156 { (char *)"Point_swigregister", Point_swigregister
, METH_VARARGS
},
40157 { (char *)"new_Rect", (PyCFunction
) _wrap_new_Rect
, METH_VARARGS
| METH_KEYWORDS
},
40158 { (char *)"new_RectPP", (PyCFunction
) _wrap_new_RectPP
, METH_VARARGS
| METH_KEYWORDS
},
40159 { (char *)"new_RectPS", (PyCFunction
) _wrap_new_RectPS
, METH_VARARGS
| METH_KEYWORDS
},
40160 { (char *)"delete_Rect", (PyCFunction
) _wrap_delete_Rect
, METH_VARARGS
| METH_KEYWORDS
},
40161 { (char *)"Rect_GetX", (PyCFunction
) _wrap_Rect_GetX
, METH_VARARGS
| METH_KEYWORDS
},
40162 { (char *)"Rect_SetX", (PyCFunction
) _wrap_Rect_SetX
, METH_VARARGS
| METH_KEYWORDS
},
40163 { (char *)"Rect_GetY", (PyCFunction
) _wrap_Rect_GetY
, METH_VARARGS
| METH_KEYWORDS
},
40164 { (char *)"Rect_SetY", (PyCFunction
) _wrap_Rect_SetY
, METH_VARARGS
| METH_KEYWORDS
},
40165 { (char *)"Rect_GetWidth", (PyCFunction
) _wrap_Rect_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
40166 { (char *)"Rect_SetWidth", (PyCFunction
) _wrap_Rect_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
40167 { (char *)"Rect_GetHeight", (PyCFunction
) _wrap_Rect_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
40168 { (char *)"Rect_SetHeight", (PyCFunction
) _wrap_Rect_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
40169 { (char *)"Rect_GetPosition", (PyCFunction
) _wrap_Rect_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40170 { (char *)"Rect_SetPosition", (PyCFunction
) _wrap_Rect_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40171 { (char *)"Rect_GetSize", (PyCFunction
) _wrap_Rect_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
40172 { (char *)"Rect_SetSize", (PyCFunction
) _wrap_Rect_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
40173 { (char *)"Rect_GetTopLeft", (PyCFunction
) _wrap_Rect_GetTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
40174 { (char *)"Rect_SetTopLeft", (PyCFunction
) _wrap_Rect_SetTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
40175 { (char *)"Rect_GetBottomRight", (PyCFunction
) _wrap_Rect_GetBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
40176 { (char *)"Rect_SetBottomRight", (PyCFunction
) _wrap_Rect_SetBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
40177 { (char *)"Rect_GetLeft", (PyCFunction
) _wrap_Rect_GetLeft
, METH_VARARGS
| METH_KEYWORDS
},
40178 { (char *)"Rect_GetTop", (PyCFunction
) _wrap_Rect_GetTop
, METH_VARARGS
| METH_KEYWORDS
},
40179 { (char *)"Rect_GetBottom", (PyCFunction
) _wrap_Rect_GetBottom
, METH_VARARGS
| METH_KEYWORDS
},
40180 { (char *)"Rect_GetRight", (PyCFunction
) _wrap_Rect_GetRight
, METH_VARARGS
| METH_KEYWORDS
},
40181 { (char *)"Rect_SetLeft", (PyCFunction
) _wrap_Rect_SetLeft
, METH_VARARGS
| METH_KEYWORDS
},
40182 { (char *)"Rect_SetRight", (PyCFunction
) _wrap_Rect_SetRight
, METH_VARARGS
| METH_KEYWORDS
},
40183 { (char *)"Rect_SetTop", (PyCFunction
) _wrap_Rect_SetTop
, METH_VARARGS
| METH_KEYWORDS
},
40184 { (char *)"Rect_SetBottom", (PyCFunction
) _wrap_Rect_SetBottom
, METH_VARARGS
| METH_KEYWORDS
},
40185 { (char *)"Rect_Inflate", (PyCFunction
) _wrap_Rect_Inflate
, METH_VARARGS
| METH_KEYWORDS
},
40186 { (char *)"Rect_Deflate", (PyCFunction
) _wrap_Rect_Deflate
, METH_VARARGS
| METH_KEYWORDS
},
40187 { (char *)"Rect_OffsetXY", (PyCFunction
) _wrap_Rect_OffsetXY
, METH_VARARGS
| METH_KEYWORDS
},
40188 { (char *)"Rect_Offset", (PyCFunction
) _wrap_Rect_Offset
, METH_VARARGS
| METH_KEYWORDS
},
40189 { (char *)"Rect_Intersect", (PyCFunction
) _wrap_Rect_Intersect
, METH_VARARGS
| METH_KEYWORDS
},
40190 { (char *)"Rect___add__", (PyCFunction
) _wrap_Rect___add__
, METH_VARARGS
| METH_KEYWORDS
},
40191 { (char *)"Rect___iadd__", (PyCFunction
) _wrap_Rect___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
40192 { (char *)"Rect___eq__", (PyCFunction
) _wrap_Rect___eq__
, METH_VARARGS
| METH_KEYWORDS
},
40193 { (char *)"Rect___ne__", (PyCFunction
) _wrap_Rect___ne__
, METH_VARARGS
| METH_KEYWORDS
},
40194 { (char *)"Rect_InsideXY", (PyCFunction
) _wrap_Rect_InsideXY
, METH_VARARGS
| METH_KEYWORDS
},
40195 { (char *)"Rect_Inside", (PyCFunction
) _wrap_Rect_Inside
, METH_VARARGS
| METH_KEYWORDS
},
40196 { (char *)"Rect_Intersects", (PyCFunction
) _wrap_Rect_Intersects
, METH_VARARGS
| METH_KEYWORDS
},
40197 { (char *)"Rect_x_set", (PyCFunction
) _wrap_Rect_x_set
, METH_VARARGS
| METH_KEYWORDS
},
40198 { (char *)"Rect_x_get", (PyCFunction
) _wrap_Rect_x_get
, METH_VARARGS
| METH_KEYWORDS
},
40199 { (char *)"Rect_y_set", (PyCFunction
) _wrap_Rect_y_set
, METH_VARARGS
| METH_KEYWORDS
},
40200 { (char *)"Rect_y_get", (PyCFunction
) _wrap_Rect_y_get
, METH_VARARGS
| METH_KEYWORDS
},
40201 { (char *)"Rect_width_set", (PyCFunction
) _wrap_Rect_width_set
, METH_VARARGS
| METH_KEYWORDS
},
40202 { (char *)"Rect_width_get", (PyCFunction
) _wrap_Rect_width_get
, METH_VARARGS
| METH_KEYWORDS
},
40203 { (char *)"Rect_height_set", (PyCFunction
) _wrap_Rect_height_set
, METH_VARARGS
| METH_KEYWORDS
},
40204 { (char *)"Rect_height_get", (PyCFunction
) _wrap_Rect_height_get
, METH_VARARGS
| METH_KEYWORDS
},
40205 { (char *)"Rect_Set", (PyCFunction
) _wrap_Rect_Set
, METH_VARARGS
| METH_KEYWORDS
},
40206 { (char *)"Rect_Get", (PyCFunction
) _wrap_Rect_Get
, METH_VARARGS
| METH_KEYWORDS
},
40207 { (char *)"Rect_swigregister", Rect_swigregister
, METH_VARARGS
},
40208 { (char *)"IntersectRect", (PyCFunction
) _wrap_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
},
40209 { (char *)"new_Point2D", (PyCFunction
) _wrap_new_Point2D
, METH_VARARGS
| METH_KEYWORDS
},
40210 { (char *)"new_Point2DCopy", (PyCFunction
) _wrap_new_Point2DCopy
, METH_VARARGS
| METH_KEYWORDS
},
40211 { (char *)"new_Point2DFromPoint", (PyCFunction
) _wrap_new_Point2DFromPoint
, METH_VARARGS
| METH_KEYWORDS
},
40212 { (char *)"Point2D_GetFloor", (PyCFunction
) _wrap_Point2D_GetFloor
, METH_VARARGS
| METH_KEYWORDS
},
40213 { (char *)"Point2D_GetRounded", (PyCFunction
) _wrap_Point2D_GetRounded
, METH_VARARGS
| METH_KEYWORDS
},
40214 { (char *)"Point2D_GetVectorLength", (PyCFunction
) _wrap_Point2D_GetVectorLength
, METH_VARARGS
| METH_KEYWORDS
},
40215 { (char *)"Point2D_GetVectorAngle", (PyCFunction
) _wrap_Point2D_GetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
},
40216 { (char *)"Point2D_SetVectorLength", (PyCFunction
) _wrap_Point2D_SetVectorLength
, METH_VARARGS
| METH_KEYWORDS
},
40217 { (char *)"Point2D_SetVectorAngle", (PyCFunction
) _wrap_Point2D_SetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
},
40218 { (char *)"Point2D_GetDistance", (PyCFunction
) _wrap_Point2D_GetDistance
, METH_VARARGS
| METH_KEYWORDS
},
40219 { (char *)"Point2D_GetDistanceSquare", (PyCFunction
) _wrap_Point2D_GetDistanceSquare
, METH_VARARGS
| METH_KEYWORDS
},
40220 { (char *)"Point2D_GetDotProduct", (PyCFunction
) _wrap_Point2D_GetDotProduct
, METH_VARARGS
| METH_KEYWORDS
},
40221 { (char *)"Point2D_GetCrossProduct", (PyCFunction
) _wrap_Point2D_GetCrossProduct
, METH_VARARGS
| METH_KEYWORDS
},
40222 { (char *)"Point2D___neg__", (PyCFunction
) _wrap_Point2D___neg__
, METH_VARARGS
| METH_KEYWORDS
},
40223 { (char *)"Point2D___iadd__", (PyCFunction
) _wrap_Point2D___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
40224 { (char *)"Point2D___isub__", (PyCFunction
) _wrap_Point2D___isub__
, METH_VARARGS
| METH_KEYWORDS
},
40225 { (char *)"Point2D___imul__", (PyCFunction
) _wrap_Point2D___imul__
, METH_VARARGS
| METH_KEYWORDS
},
40226 { (char *)"Point2D___idiv__", (PyCFunction
) _wrap_Point2D___idiv__
, METH_VARARGS
| METH_KEYWORDS
},
40227 { (char *)"Point2D___eq__", (PyCFunction
) _wrap_Point2D___eq__
, METH_VARARGS
| METH_KEYWORDS
},
40228 { (char *)"Point2D___ne__", (PyCFunction
) _wrap_Point2D___ne__
, METH_VARARGS
| METH_KEYWORDS
},
40229 { (char *)"Point2D_x_set", (PyCFunction
) _wrap_Point2D_x_set
, METH_VARARGS
| METH_KEYWORDS
},
40230 { (char *)"Point2D_x_get", (PyCFunction
) _wrap_Point2D_x_get
, METH_VARARGS
| METH_KEYWORDS
},
40231 { (char *)"Point2D_y_set", (PyCFunction
) _wrap_Point2D_y_set
, METH_VARARGS
| METH_KEYWORDS
},
40232 { (char *)"Point2D_y_get", (PyCFunction
) _wrap_Point2D_y_get
, METH_VARARGS
| METH_KEYWORDS
},
40233 { (char *)"Point2D_Set", (PyCFunction
) _wrap_Point2D_Set
, METH_VARARGS
| METH_KEYWORDS
},
40234 { (char *)"Point2D_Get", (PyCFunction
) _wrap_Point2D_Get
, METH_VARARGS
| METH_KEYWORDS
},
40235 { (char *)"Point2D_swigregister", Point2D_swigregister
, METH_VARARGS
},
40236 { (char *)"new_InputStream", (PyCFunction
) _wrap_new_InputStream
, METH_VARARGS
| METH_KEYWORDS
},
40237 { (char *)"InputStream_close", (PyCFunction
) _wrap_InputStream_close
, METH_VARARGS
| METH_KEYWORDS
},
40238 { (char *)"InputStream_flush", (PyCFunction
) _wrap_InputStream_flush
, METH_VARARGS
| METH_KEYWORDS
},
40239 { (char *)"InputStream_eof", (PyCFunction
) _wrap_InputStream_eof
, METH_VARARGS
| METH_KEYWORDS
},
40240 { (char *)"InputStream_read", (PyCFunction
) _wrap_InputStream_read
, METH_VARARGS
| METH_KEYWORDS
},
40241 { (char *)"InputStream_readline", (PyCFunction
) _wrap_InputStream_readline
, METH_VARARGS
| METH_KEYWORDS
},
40242 { (char *)"InputStream_readlines", (PyCFunction
) _wrap_InputStream_readlines
, METH_VARARGS
| METH_KEYWORDS
},
40243 { (char *)"InputStream_seek", (PyCFunction
) _wrap_InputStream_seek
, METH_VARARGS
| METH_KEYWORDS
},
40244 { (char *)"InputStream_tell", (PyCFunction
) _wrap_InputStream_tell
, METH_VARARGS
| METH_KEYWORDS
},
40245 { (char *)"InputStream_Peek", (PyCFunction
) _wrap_InputStream_Peek
, METH_VARARGS
| METH_KEYWORDS
},
40246 { (char *)"InputStream_GetC", (PyCFunction
) _wrap_InputStream_GetC
, METH_VARARGS
| METH_KEYWORDS
},
40247 { (char *)"InputStream_LastRead", (PyCFunction
) _wrap_InputStream_LastRead
, METH_VARARGS
| METH_KEYWORDS
},
40248 { (char *)"InputStream_CanRead", (PyCFunction
) _wrap_InputStream_CanRead
, METH_VARARGS
| METH_KEYWORDS
},
40249 { (char *)"InputStream_Eof", (PyCFunction
) _wrap_InputStream_Eof
, METH_VARARGS
| METH_KEYWORDS
},
40250 { (char *)"InputStream_Ungetch", (PyCFunction
) _wrap_InputStream_Ungetch
, METH_VARARGS
| METH_KEYWORDS
},
40251 { (char *)"InputStream_SeekI", (PyCFunction
) _wrap_InputStream_SeekI
, METH_VARARGS
| METH_KEYWORDS
},
40252 { (char *)"InputStream_TellI", (PyCFunction
) _wrap_InputStream_TellI
, METH_VARARGS
| METH_KEYWORDS
},
40253 { (char *)"InputStream_swigregister", InputStream_swigregister
, METH_VARARGS
},
40254 { (char *)"OutputStream_write", (PyCFunction
) _wrap_OutputStream_write
, METH_VARARGS
| METH_KEYWORDS
},
40255 { (char *)"OutputStream_swigregister", OutputStream_swigregister
, METH_VARARGS
},
40256 { (char *)"new_FSFile", (PyCFunction
) _wrap_new_FSFile
, METH_VARARGS
| METH_KEYWORDS
},
40257 { (char *)"delete_FSFile", (PyCFunction
) _wrap_delete_FSFile
, METH_VARARGS
| METH_KEYWORDS
},
40258 { (char *)"FSFile_GetStream", (PyCFunction
) _wrap_FSFile_GetStream
, METH_VARARGS
| METH_KEYWORDS
},
40259 { (char *)"FSFile_GetMimeType", (PyCFunction
) _wrap_FSFile_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
40260 { (char *)"FSFile_GetLocation", (PyCFunction
) _wrap_FSFile_GetLocation
, METH_VARARGS
| METH_KEYWORDS
},
40261 { (char *)"FSFile_GetAnchor", (PyCFunction
) _wrap_FSFile_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
},
40262 { (char *)"FSFile_GetModificationTime", (PyCFunction
) _wrap_FSFile_GetModificationTime
, METH_VARARGS
| METH_KEYWORDS
},
40263 { (char *)"FSFile_swigregister", FSFile_swigregister
, METH_VARARGS
},
40264 { (char *)"CPPFileSystemHandler_swigregister", CPPFileSystemHandler_swigregister
, METH_VARARGS
},
40265 { (char *)"new_FileSystemHandler", (PyCFunction
) _wrap_new_FileSystemHandler
, METH_VARARGS
| METH_KEYWORDS
},
40266 { (char *)"FileSystemHandler__setCallbackInfo", (PyCFunction
) _wrap_FileSystemHandler__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
40267 { (char *)"FileSystemHandler_CanOpen", (PyCFunction
) _wrap_FileSystemHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
},
40268 { (char *)"FileSystemHandler_OpenFile", (PyCFunction
) _wrap_FileSystemHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
40269 { (char *)"FileSystemHandler_FindFirst", (PyCFunction
) _wrap_FileSystemHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
},
40270 { (char *)"FileSystemHandler_FindNext", (PyCFunction
) _wrap_FileSystemHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
},
40271 { (char *)"FileSystemHandler_GetProtocol", (PyCFunction
) _wrap_FileSystemHandler_GetProtocol
, METH_VARARGS
| METH_KEYWORDS
},
40272 { (char *)"FileSystemHandler_GetLeftLocation", (PyCFunction
) _wrap_FileSystemHandler_GetLeftLocation
, METH_VARARGS
| METH_KEYWORDS
},
40273 { (char *)"FileSystemHandler_GetAnchor", (PyCFunction
) _wrap_FileSystemHandler_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
},
40274 { (char *)"FileSystemHandler_GetRightLocation", (PyCFunction
) _wrap_FileSystemHandler_GetRightLocation
, METH_VARARGS
| METH_KEYWORDS
},
40275 { (char *)"FileSystemHandler_GetMimeTypeFromExt", (PyCFunction
) _wrap_FileSystemHandler_GetMimeTypeFromExt
, METH_VARARGS
| METH_KEYWORDS
},
40276 { (char *)"FileSystemHandler_swigregister", FileSystemHandler_swigregister
, METH_VARARGS
},
40277 { (char *)"new_FileSystem", (PyCFunction
) _wrap_new_FileSystem
, METH_VARARGS
| METH_KEYWORDS
},
40278 { (char *)"delete_FileSystem", (PyCFunction
) _wrap_delete_FileSystem
, METH_VARARGS
| METH_KEYWORDS
},
40279 { (char *)"FileSystem_ChangePathTo", (PyCFunction
) _wrap_FileSystem_ChangePathTo
, METH_VARARGS
| METH_KEYWORDS
},
40280 { (char *)"FileSystem_GetPath", (PyCFunction
) _wrap_FileSystem_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
40281 { (char *)"FileSystem_OpenFile", (PyCFunction
) _wrap_FileSystem_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
40282 { (char *)"FileSystem_FindFirst", (PyCFunction
) _wrap_FileSystem_FindFirst
, METH_VARARGS
| METH_KEYWORDS
},
40283 { (char *)"FileSystem_FindNext", (PyCFunction
) _wrap_FileSystem_FindNext
, METH_VARARGS
| METH_KEYWORDS
},
40284 { (char *)"FileSystem_AddHandler", (PyCFunction
) _wrap_FileSystem_AddHandler
, METH_VARARGS
| METH_KEYWORDS
},
40285 { (char *)"FileSystem_CleanUpHandlers", (PyCFunction
) _wrap_FileSystem_CleanUpHandlers
, METH_VARARGS
| METH_KEYWORDS
},
40286 { (char *)"FileSystem_FileNameToURL", (PyCFunction
) _wrap_FileSystem_FileNameToURL
, METH_VARARGS
| METH_KEYWORDS
},
40287 { (char *)"FileSystem_swigregister", FileSystem_swigregister
, METH_VARARGS
},
40288 { (char *)"FileSystem_URLToFileName", (PyCFunction
) _wrap_FileSystem_URLToFileName
, METH_VARARGS
| METH_KEYWORDS
},
40289 { (char *)"new_InternetFSHandler", (PyCFunction
) _wrap_new_InternetFSHandler
, METH_VARARGS
| METH_KEYWORDS
},
40290 { (char *)"InternetFSHandler_CanOpen", (PyCFunction
) _wrap_InternetFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
},
40291 { (char *)"InternetFSHandler_OpenFile", (PyCFunction
) _wrap_InternetFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
40292 { (char *)"InternetFSHandler_swigregister", InternetFSHandler_swigregister
, METH_VARARGS
},
40293 { (char *)"new_ZipFSHandler", (PyCFunction
) _wrap_new_ZipFSHandler
, METH_VARARGS
| METH_KEYWORDS
},
40294 { (char *)"ZipFSHandler_CanOpen", (PyCFunction
) _wrap_ZipFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
},
40295 { (char *)"ZipFSHandler_OpenFile", (PyCFunction
) _wrap_ZipFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
40296 { (char *)"ZipFSHandler_FindFirst", (PyCFunction
) _wrap_ZipFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
},
40297 { (char *)"ZipFSHandler_FindNext", (PyCFunction
) _wrap_ZipFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
},
40298 { (char *)"ZipFSHandler_swigregister", ZipFSHandler_swigregister
, METH_VARARGS
},
40299 { (char *)"__wxMemoryFSHandler_AddFile_wxImage", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxImage
, METH_VARARGS
| METH_KEYWORDS
},
40300 { (char *)"__wxMemoryFSHandler_AddFile_wxBitmap", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxBitmap
, METH_VARARGS
| METH_KEYWORDS
},
40301 { (char *)"__wxMemoryFSHandler_AddFile_Data", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_Data
, METH_VARARGS
| METH_KEYWORDS
},
40302 { (char *)"new_MemoryFSHandler", (PyCFunction
) _wrap_new_MemoryFSHandler
, METH_VARARGS
| METH_KEYWORDS
},
40303 { (char *)"MemoryFSHandler_RemoveFile", (PyCFunction
) _wrap_MemoryFSHandler_RemoveFile
, METH_VARARGS
| METH_KEYWORDS
},
40304 { (char *)"MemoryFSHandler_CanOpen", (PyCFunction
) _wrap_MemoryFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
},
40305 { (char *)"MemoryFSHandler_OpenFile", (PyCFunction
) _wrap_MemoryFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
40306 { (char *)"MemoryFSHandler_FindFirst", (PyCFunction
) _wrap_MemoryFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
},
40307 { (char *)"MemoryFSHandler_FindNext", (PyCFunction
) _wrap_MemoryFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
},
40308 { (char *)"MemoryFSHandler_swigregister", MemoryFSHandler_swigregister
, METH_VARARGS
},
40309 { (char *)"ImageHandler_GetName", (PyCFunction
) _wrap_ImageHandler_GetName
, METH_VARARGS
| METH_KEYWORDS
},
40310 { (char *)"ImageHandler_GetExtension", (PyCFunction
) _wrap_ImageHandler_GetExtension
, METH_VARARGS
| METH_KEYWORDS
},
40311 { (char *)"ImageHandler_GetType", (PyCFunction
) _wrap_ImageHandler_GetType
, METH_VARARGS
| METH_KEYWORDS
},
40312 { (char *)"ImageHandler_GetMimeType", (PyCFunction
) _wrap_ImageHandler_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
40313 { (char *)"ImageHandler_CanRead", (PyCFunction
) _wrap_ImageHandler_CanRead
, METH_VARARGS
| METH_KEYWORDS
},
40314 { (char *)"ImageHandler_SetName", (PyCFunction
) _wrap_ImageHandler_SetName
, METH_VARARGS
| METH_KEYWORDS
},
40315 { (char *)"ImageHandler_SetExtension", (PyCFunction
) _wrap_ImageHandler_SetExtension
, METH_VARARGS
| METH_KEYWORDS
},
40316 { (char *)"ImageHandler_SetType", (PyCFunction
) _wrap_ImageHandler_SetType
, METH_VARARGS
| METH_KEYWORDS
},
40317 { (char *)"ImageHandler_SetMimeType", (PyCFunction
) _wrap_ImageHandler_SetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
40318 { (char *)"ImageHandler_swigregister", ImageHandler_swigregister
, METH_VARARGS
},
40319 { (char *)"new_ImageHistogram", (PyCFunction
) _wrap_new_ImageHistogram
, METH_VARARGS
| METH_KEYWORDS
},
40320 { (char *)"ImageHistogram_MakeKey", (PyCFunction
) _wrap_ImageHistogram_MakeKey
, METH_VARARGS
| METH_KEYWORDS
},
40321 { (char *)"ImageHistogram_FindFirstUnusedColour", (PyCFunction
) _wrap_ImageHistogram_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
},
40322 { (char *)"ImageHistogram_swigregister", ImageHistogram_swigregister
, METH_VARARGS
},
40323 { (char *)"new_Image", (PyCFunction
) _wrap_new_Image
, METH_VARARGS
| METH_KEYWORDS
},
40324 { (char *)"delete_Image", (PyCFunction
) _wrap_delete_Image
, METH_VARARGS
| METH_KEYWORDS
},
40325 { (char *)"new_ImageFromMime", (PyCFunction
) _wrap_new_ImageFromMime
, METH_VARARGS
| METH_KEYWORDS
},
40326 { (char *)"new_ImageFromStream", (PyCFunction
) _wrap_new_ImageFromStream
, METH_VARARGS
| METH_KEYWORDS
},
40327 { (char *)"new_ImageFromStreamMime", (PyCFunction
) _wrap_new_ImageFromStreamMime
, METH_VARARGS
| METH_KEYWORDS
},
40328 { (char *)"new_EmptyImage", (PyCFunction
) _wrap_new_EmptyImage
, METH_VARARGS
| METH_KEYWORDS
},
40329 { (char *)"new_ImageFromBitmap", (PyCFunction
) _wrap_new_ImageFromBitmap
, METH_VARARGS
| METH_KEYWORDS
},
40330 { (char *)"new_ImageFromData", (PyCFunction
) _wrap_new_ImageFromData
, METH_VARARGS
| METH_KEYWORDS
},
40331 { (char *)"Image_Create", (PyCFunction
) _wrap_Image_Create
, METH_VARARGS
| METH_KEYWORDS
},
40332 { (char *)"Image_Destroy", (PyCFunction
) _wrap_Image_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
40333 { (char *)"Image_Scale", (PyCFunction
) _wrap_Image_Scale
, METH_VARARGS
| METH_KEYWORDS
},
40334 { (char *)"Image_ShrinkBy", (PyCFunction
) _wrap_Image_ShrinkBy
, METH_VARARGS
| METH_KEYWORDS
},
40335 { (char *)"Image_Rescale", (PyCFunction
) _wrap_Image_Rescale
, METH_VARARGS
| METH_KEYWORDS
},
40336 { (char *)"Image_SetRGB", (PyCFunction
) _wrap_Image_SetRGB
, METH_VARARGS
| METH_KEYWORDS
},
40337 { (char *)"Image_GetRed", (PyCFunction
) _wrap_Image_GetRed
, METH_VARARGS
| METH_KEYWORDS
},
40338 { (char *)"Image_GetGreen", (PyCFunction
) _wrap_Image_GetGreen
, METH_VARARGS
| METH_KEYWORDS
},
40339 { (char *)"Image_GetBlue", (PyCFunction
) _wrap_Image_GetBlue
, METH_VARARGS
| METH_KEYWORDS
},
40340 { (char *)"Image_SetAlpha", (PyCFunction
) _wrap_Image_SetAlpha
, METH_VARARGS
| METH_KEYWORDS
},
40341 { (char *)"Image_GetAlpha", (PyCFunction
) _wrap_Image_GetAlpha
, METH_VARARGS
| METH_KEYWORDS
},
40342 { (char *)"Image_HasAlpha", (PyCFunction
) _wrap_Image_HasAlpha
, METH_VARARGS
| METH_KEYWORDS
},
40343 { (char *)"Image_FindFirstUnusedColour", (PyCFunction
) _wrap_Image_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
},
40344 { (char *)"Image_SetMaskFromImage", (PyCFunction
) _wrap_Image_SetMaskFromImage
, METH_VARARGS
| METH_KEYWORDS
},
40345 { (char *)"Image_CanRead", (PyCFunction
) _wrap_Image_CanRead
, METH_VARARGS
| METH_KEYWORDS
},
40346 { (char *)"Image_GetImageCount", (PyCFunction
) _wrap_Image_GetImageCount
, METH_VARARGS
| METH_KEYWORDS
},
40347 { (char *)"Image_LoadFile", (PyCFunction
) _wrap_Image_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
40348 { (char *)"Image_LoadMimeFile", (PyCFunction
) _wrap_Image_LoadMimeFile
, METH_VARARGS
| METH_KEYWORDS
},
40349 { (char *)"Image_SaveFile", (PyCFunction
) _wrap_Image_SaveFile
, METH_VARARGS
| METH_KEYWORDS
},
40350 { (char *)"Image_SaveMimeFile", (PyCFunction
) _wrap_Image_SaveMimeFile
, METH_VARARGS
| METH_KEYWORDS
},
40351 { (char *)"Image_CanReadStream", (PyCFunction
) _wrap_Image_CanReadStream
, METH_VARARGS
| METH_KEYWORDS
},
40352 { (char *)"Image_LoadStream", (PyCFunction
) _wrap_Image_LoadStream
, METH_VARARGS
| METH_KEYWORDS
},
40353 { (char *)"Image_LoadMimeStream", (PyCFunction
) _wrap_Image_LoadMimeStream
, METH_VARARGS
| METH_KEYWORDS
},
40354 { (char *)"Image_Ok", (PyCFunction
) _wrap_Image_Ok
, METH_VARARGS
| METH_KEYWORDS
},
40355 { (char *)"Image_GetWidth", (PyCFunction
) _wrap_Image_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
40356 { (char *)"Image_GetHeight", (PyCFunction
) _wrap_Image_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
40357 { (char *)"Image_GetSize", (PyCFunction
) _wrap_Image_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
40358 { (char *)"Image_GetSubImage", (PyCFunction
) _wrap_Image_GetSubImage
, METH_VARARGS
| METH_KEYWORDS
},
40359 { (char *)"Image_Copy", (PyCFunction
) _wrap_Image_Copy
, METH_VARARGS
| METH_KEYWORDS
},
40360 { (char *)"Image_Paste", (PyCFunction
) _wrap_Image_Paste
, METH_VARARGS
| METH_KEYWORDS
},
40361 { (char *)"Image_GetData", (PyCFunction
) _wrap_Image_GetData
, METH_VARARGS
| METH_KEYWORDS
},
40362 { (char *)"Image_SetData", (PyCFunction
) _wrap_Image_SetData
, METH_VARARGS
| METH_KEYWORDS
},
40363 { (char *)"Image_GetDataBuffer", (PyCFunction
) _wrap_Image_GetDataBuffer
, METH_VARARGS
| METH_KEYWORDS
},
40364 { (char *)"Image_SetDataBuffer", (PyCFunction
) _wrap_Image_SetDataBuffer
, METH_VARARGS
| METH_KEYWORDS
},
40365 { (char *)"Image_GetAlphaData", (PyCFunction
) _wrap_Image_GetAlphaData
, METH_VARARGS
| METH_KEYWORDS
},
40366 { (char *)"Image_SetAlphaData", (PyCFunction
) _wrap_Image_SetAlphaData
, METH_VARARGS
| METH_KEYWORDS
},
40367 { (char *)"Image_GetAlphaBuffer", (PyCFunction
) _wrap_Image_GetAlphaBuffer
, METH_VARARGS
| METH_KEYWORDS
},
40368 { (char *)"Image_SetAlphaBuffer", (PyCFunction
) _wrap_Image_SetAlphaBuffer
, METH_VARARGS
| METH_KEYWORDS
},
40369 { (char *)"Image_SetMaskColour", (PyCFunction
) _wrap_Image_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
},
40370 { (char *)"Image_GetMaskRed", (PyCFunction
) _wrap_Image_GetMaskRed
, METH_VARARGS
| METH_KEYWORDS
},
40371 { (char *)"Image_GetMaskGreen", (PyCFunction
) _wrap_Image_GetMaskGreen
, METH_VARARGS
| METH_KEYWORDS
},
40372 { (char *)"Image_GetMaskBlue", (PyCFunction
) _wrap_Image_GetMaskBlue
, METH_VARARGS
| METH_KEYWORDS
},
40373 { (char *)"Image_SetMask", (PyCFunction
) _wrap_Image_SetMask
, METH_VARARGS
| METH_KEYWORDS
},
40374 { (char *)"Image_HasMask", (PyCFunction
) _wrap_Image_HasMask
, METH_VARARGS
| METH_KEYWORDS
},
40375 { (char *)"Image_Rotate", (PyCFunction
) _wrap_Image_Rotate
, METH_VARARGS
| METH_KEYWORDS
},
40376 { (char *)"Image_Rotate90", (PyCFunction
) _wrap_Image_Rotate90
, METH_VARARGS
| METH_KEYWORDS
},
40377 { (char *)"Image_Mirror", (PyCFunction
) _wrap_Image_Mirror
, METH_VARARGS
| METH_KEYWORDS
},
40378 { (char *)"Image_Replace", (PyCFunction
) _wrap_Image_Replace
, METH_VARARGS
| METH_KEYWORDS
},
40379 { (char *)"Image_ConvertToMono", (PyCFunction
) _wrap_Image_ConvertToMono
, METH_VARARGS
| METH_KEYWORDS
},
40380 { (char *)"Image_SetOption", (PyCFunction
) _wrap_Image_SetOption
, METH_VARARGS
| METH_KEYWORDS
},
40381 { (char *)"Image_SetOptionInt", (PyCFunction
) _wrap_Image_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
},
40382 { (char *)"Image_GetOption", (PyCFunction
) _wrap_Image_GetOption
, METH_VARARGS
| METH_KEYWORDS
},
40383 { (char *)"Image_GetOptionInt", (PyCFunction
) _wrap_Image_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
},
40384 { (char *)"Image_HasOption", (PyCFunction
) _wrap_Image_HasOption
, METH_VARARGS
| METH_KEYWORDS
},
40385 { (char *)"Image_CountColours", (PyCFunction
) _wrap_Image_CountColours
, METH_VARARGS
| METH_KEYWORDS
},
40386 { (char *)"Image_ComputeHistogram", (PyCFunction
) _wrap_Image_ComputeHistogram
, METH_VARARGS
| METH_KEYWORDS
},
40387 { (char *)"Image_AddHandler", (PyCFunction
) _wrap_Image_AddHandler
, METH_VARARGS
| METH_KEYWORDS
},
40388 { (char *)"Image_InsertHandler", (PyCFunction
) _wrap_Image_InsertHandler
, METH_VARARGS
| METH_KEYWORDS
},
40389 { (char *)"Image_RemoveHandler", (PyCFunction
) _wrap_Image_RemoveHandler
, METH_VARARGS
| METH_KEYWORDS
},
40390 { (char *)"Image_GetImageExtWildcard", (PyCFunction
) _wrap_Image_GetImageExtWildcard
, METH_VARARGS
| METH_KEYWORDS
},
40391 { (char *)"Image_ConvertToBitmap", (PyCFunction
) _wrap_Image_ConvertToBitmap
, METH_VARARGS
| METH_KEYWORDS
},
40392 { (char *)"Image_ConvertToMonoBitmap", (PyCFunction
) _wrap_Image_ConvertToMonoBitmap
, METH_VARARGS
| METH_KEYWORDS
},
40393 { (char *)"Image_swigregister", Image_swigregister
, METH_VARARGS
},
40394 { (char *)"new_BMPHandler", (PyCFunction
) _wrap_new_BMPHandler
, METH_VARARGS
| METH_KEYWORDS
},
40395 { (char *)"BMPHandler_swigregister", BMPHandler_swigregister
, METH_VARARGS
},
40396 { (char *)"new_ICOHandler", (PyCFunction
) _wrap_new_ICOHandler
, METH_VARARGS
| METH_KEYWORDS
},
40397 { (char *)"ICOHandler_swigregister", ICOHandler_swigregister
, METH_VARARGS
},
40398 { (char *)"new_CURHandler", (PyCFunction
) _wrap_new_CURHandler
, METH_VARARGS
| METH_KEYWORDS
},
40399 { (char *)"CURHandler_swigregister", CURHandler_swigregister
, METH_VARARGS
},
40400 { (char *)"new_ANIHandler", (PyCFunction
) _wrap_new_ANIHandler
, METH_VARARGS
| METH_KEYWORDS
},
40401 { (char *)"ANIHandler_swigregister", ANIHandler_swigregister
, METH_VARARGS
},
40402 { (char *)"new_PNGHandler", (PyCFunction
) _wrap_new_PNGHandler
, METH_VARARGS
| METH_KEYWORDS
},
40403 { (char *)"PNGHandler_swigregister", PNGHandler_swigregister
, METH_VARARGS
},
40404 { (char *)"new_GIFHandler", (PyCFunction
) _wrap_new_GIFHandler
, METH_VARARGS
| METH_KEYWORDS
},
40405 { (char *)"GIFHandler_swigregister", GIFHandler_swigregister
, METH_VARARGS
},
40406 { (char *)"new_PCXHandler", (PyCFunction
) _wrap_new_PCXHandler
, METH_VARARGS
| METH_KEYWORDS
},
40407 { (char *)"PCXHandler_swigregister", PCXHandler_swigregister
, METH_VARARGS
},
40408 { (char *)"new_JPEGHandler", (PyCFunction
) _wrap_new_JPEGHandler
, METH_VARARGS
| METH_KEYWORDS
},
40409 { (char *)"JPEGHandler_swigregister", JPEGHandler_swigregister
, METH_VARARGS
},
40410 { (char *)"new_PNMHandler", (PyCFunction
) _wrap_new_PNMHandler
, METH_VARARGS
| METH_KEYWORDS
},
40411 { (char *)"PNMHandler_swigregister", PNMHandler_swigregister
, METH_VARARGS
},
40412 { (char *)"new_XPMHandler", (PyCFunction
) _wrap_new_XPMHandler
, METH_VARARGS
| METH_KEYWORDS
},
40413 { (char *)"XPMHandler_swigregister", XPMHandler_swigregister
, METH_VARARGS
},
40414 { (char *)"new_TIFFHandler", (PyCFunction
) _wrap_new_TIFFHandler
, METH_VARARGS
| METH_KEYWORDS
},
40415 { (char *)"TIFFHandler_swigregister", TIFFHandler_swigregister
, METH_VARARGS
},
40416 { (char *)"new_EvtHandler", (PyCFunction
) _wrap_new_EvtHandler
, METH_VARARGS
| METH_KEYWORDS
},
40417 { (char *)"EvtHandler_GetNextHandler", (PyCFunction
) _wrap_EvtHandler_GetNextHandler
, METH_VARARGS
| METH_KEYWORDS
},
40418 { (char *)"EvtHandler_GetPreviousHandler", (PyCFunction
) _wrap_EvtHandler_GetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
40419 { (char *)"EvtHandler_SetNextHandler", (PyCFunction
) _wrap_EvtHandler_SetNextHandler
, METH_VARARGS
| METH_KEYWORDS
},
40420 { (char *)"EvtHandler_SetPreviousHandler", (PyCFunction
) _wrap_EvtHandler_SetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
40421 { (char *)"EvtHandler_GetEvtHandlerEnabled", (PyCFunction
) _wrap_EvtHandler_GetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
},
40422 { (char *)"EvtHandler_SetEvtHandlerEnabled", (PyCFunction
) _wrap_EvtHandler_SetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
},
40423 { (char *)"EvtHandler_ProcessEvent", (PyCFunction
) _wrap_EvtHandler_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
},
40424 { (char *)"EvtHandler_AddPendingEvent", (PyCFunction
) _wrap_EvtHandler_AddPendingEvent
, METH_VARARGS
| METH_KEYWORDS
},
40425 { (char *)"EvtHandler_ProcessPendingEvents", (PyCFunction
) _wrap_EvtHandler_ProcessPendingEvents
, METH_VARARGS
| METH_KEYWORDS
},
40426 { (char *)"EvtHandler_Connect", (PyCFunction
) _wrap_EvtHandler_Connect
, METH_VARARGS
| METH_KEYWORDS
},
40427 { (char *)"EvtHandler_Disconnect", (PyCFunction
) _wrap_EvtHandler_Disconnect
, METH_VARARGS
| METH_KEYWORDS
},
40428 { (char *)"EvtHandler__setOORInfo", (PyCFunction
) _wrap_EvtHandler__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
},
40429 { (char *)"EvtHandler_swigregister", EvtHandler_swigregister
, METH_VARARGS
},
40430 { (char *)"NewEventType", (PyCFunction
) _wrap_NewEventType
, METH_VARARGS
| METH_KEYWORDS
},
40431 { (char *)"delete_Event", (PyCFunction
) _wrap_delete_Event
, METH_VARARGS
| METH_KEYWORDS
},
40432 { (char *)"Event_SetEventType", (PyCFunction
) _wrap_Event_SetEventType
, METH_VARARGS
| METH_KEYWORDS
},
40433 { (char *)"Event_GetEventType", (PyCFunction
) _wrap_Event_GetEventType
, METH_VARARGS
| METH_KEYWORDS
},
40434 { (char *)"Event_GetEventObject", (PyCFunction
) _wrap_Event_GetEventObject
, METH_VARARGS
| METH_KEYWORDS
},
40435 { (char *)"Event_SetEventObject", (PyCFunction
) _wrap_Event_SetEventObject
, METH_VARARGS
| METH_KEYWORDS
},
40436 { (char *)"Event_GetTimestamp", (PyCFunction
) _wrap_Event_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
40437 { (char *)"Event_SetTimestamp", (PyCFunction
) _wrap_Event_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
40438 { (char *)"Event_GetId", (PyCFunction
) _wrap_Event_GetId
, METH_VARARGS
| METH_KEYWORDS
},
40439 { (char *)"Event_SetId", (PyCFunction
) _wrap_Event_SetId
, METH_VARARGS
| METH_KEYWORDS
},
40440 { (char *)"Event_IsCommandEvent", (PyCFunction
) _wrap_Event_IsCommandEvent
, METH_VARARGS
| METH_KEYWORDS
},
40441 { (char *)"Event_Skip", (PyCFunction
) _wrap_Event_Skip
, METH_VARARGS
| METH_KEYWORDS
},
40442 { (char *)"Event_GetSkipped", (PyCFunction
) _wrap_Event_GetSkipped
, METH_VARARGS
| METH_KEYWORDS
},
40443 { (char *)"Event_ShouldPropagate", (PyCFunction
) _wrap_Event_ShouldPropagate
, METH_VARARGS
| METH_KEYWORDS
},
40444 { (char *)"Event_StopPropagation", (PyCFunction
) _wrap_Event_StopPropagation
, METH_VARARGS
| METH_KEYWORDS
},
40445 { (char *)"Event_ResumePropagation", (PyCFunction
) _wrap_Event_ResumePropagation
, METH_VARARGS
| METH_KEYWORDS
},
40446 { (char *)"Event_Clone", (PyCFunction
) _wrap_Event_Clone
, METH_VARARGS
| METH_KEYWORDS
},
40447 { (char *)"Event_swigregister", Event_swigregister
, METH_VARARGS
},
40448 { (char *)"new_PropagationDisabler", (PyCFunction
) _wrap_new_PropagationDisabler
, METH_VARARGS
| METH_KEYWORDS
},
40449 { (char *)"delete_PropagationDisabler", (PyCFunction
) _wrap_delete_PropagationDisabler
, METH_VARARGS
| METH_KEYWORDS
},
40450 { (char *)"PropagationDisabler_swigregister", PropagationDisabler_swigregister
, METH_VARARGS
},
40451 { (char *)"new_PropagateOnce", (PyCFunction
) _wrap_new_PropagateOnce
, METH_VARARGS
| METH_KEYWORDS
},
40452 { (char *)"delete_PropagateOnce", (PyCFunction
) _wrap_delete_PropagateOnce
, METH_VARARGS
| METH_KEYWORDS
},
40453 { (char *)"PropagateOnce_swigregister", PropagateOnce_swigregister
, METH_VARARGS
},
40454 { (char *)"new_CommandEvent", (PyCFunction
) _wrap_new_CommandEvent
, METH_VARARGS
| METH_KEYWORDS
},
40455 { (char *)"CommandEvent_GetSelection", (PyCFunction
) _wrap_CommandEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
40456 { (char *)"CommandEvent_SetString", (PyCFunction
) _wrap_CommandEvent_SetString
, METH_VARARGS
| METH_KEYWORDS
},
40457 { (char *)"CommandEvent_GetString", (PyCFunction
) _wrap_CommandEvent_GetString
, METH_VARARGS
| METH_KEYWORDS
},
40458 { (char *)"CommandEvent_IsChecked", (PyCFunction
) _wrap_CommandEvent_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
40459 { (char *)"CommandEvent_IsSelection", (PyCFunction
) _wrap_CommandEvent_IsSelection
, METH_VARARGS
| METH_KEYWORDS
},
40460 { (char *)"CommandEvent_SetExtraLong", (PyCFunction
) _wrap_CommandEvent_SetExtraLong
, METH_VARARGS
| METH_KEYWORDS
},
40461 { (char *)"CommandEvent_GetExtraLong", (PyCFunction
) _wrap_CommandEvent_GetExtraLong
, METH_VARARGS
| METH_KEYWORDS
},
40462 { (char *)"CommandEvent_SetInt", (PyCFunction
) _wrap_CommandEvent_SetInt
, METH_VARARGS
| METH_KEYWORDS
},
40463 { (char *)"CommandEvent_GetInt", (PyCFunction
) _wrap_CommandEvent_GetInt
, METH_VARARGS
| METH_KEYWORDS
},
40464 { (char *)"CommandEvent_Clone", (PyCFunction
) _wrap_CommandEvent_Clone
, METH_VARARGS
| METH_KEYWORDS
},
40465 { (char *)"CommandEvent_swigregister", CommandEvent_swigregister
, METH_VARARGS
},
40466 { (char *)"new_NotifyEvent", (PyCFunction
) _wrap_new_NotifyEvent
, METH_VARARGS
| METH_KEYWORDS
},
40467 { (char *)"NotifyEvent_Veto", (PyCFunction
) _wrap_NotifyEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
},
40468 { (char *)"NotifyEvent_Allow", (PyCFunction
) _wrap_NotifyEvent_Allow
, METH_VARARGS
| METH_KEYWORDS
},
40469 { (char *)"NotifyEvent_IsAllowed", (PyCFunction
) _wrap_NotifyEvent_IsAllowed
, METH_VARARGS
| METH_KEYWORDS
},
40470 { (char *)"NotifyEvent_swigregister", NotifyEvent_swigregister
, METH_VARARGS
},
40471 { (char *)"new_ScrollEvent", (PyCFunction
) _wrap_new_ScrollEvent
, METH_VARARGS
| METH_KEYWORDS
},
40472 { (char *)"ScrollEvent_GetOrientation", (PyCFunction
) _wrap_ScrollEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
40473 { (char *)"ScrollEvent_GetPosition", (PyCFunction
) _wrap_ScrollEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40474 { (char *)"ScrollEvent_SetOrientation", (PyCFunction
) _wrap_ScrollEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
40475 { (char *)"ScrollEvent_SetPosition", (PyCFunction
) _wrap_ScrollEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40476 { (char *)"ScrollEvent_swigregister", ScrollEvent_swigregister
, METH_VARARGS
},
40477 { (char *)"new_ScrollWinEvent", (PyCFunction
) _wrap_new_ScrollWinEvent
, METH_VARARGS
| METH_KEYWORDS
},
40478 { (char *)"ScrollWinEvent_GetOrientation", (PyCFunction
) _wrap_ScrollWinEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
40479 { (char *)"ScrollWinEvent_GetPosition", (PyCFunction
) _wrap_ScrollWinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40480 { (char *)"ScrollWinEvent_SetOrientation", (PyCFunction
) _wrap_ScrollWinEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
40481 { (char *)"ScrollWinEvent_SetPosition", (PyCFunction
) _wrap_ScrollWinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40482 { (char *)"ScrollWinEvent_swigregister", ScrollWinEvent_swigregister
, METH_VARARGS
},
40483 { (char *)"new_MouseEvent", (PyCFunction
) _wrap_new_MouseEvent
, METH_VARARGS
| METH_KEYWORDS
},
40484 { (char *)"MouseEvent_IsButton", (PyCFunction
) _wrap_MouseEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
},
40485 { (char *)"MouseEvent_ButtonDown", (PyCFunction
) _wrap_MouseEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
},
40486 { (char *)"MouseEvent_ButtonDClick", (PyCFunction
) _wrap_MouseEvent_ButtonDClick
, METH_VARARGS
| METH_KEYWORDS
},
40487 { (char *)"MouseEvent_ButtonUp", (PyCFunction
) _wrap_MouseEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
},
40488 { (char *)"MouseEvent_Button", (PyCFunction
) _wrap_MouseEvent_Button
, METH_VARARGS
| METH_KEYWORDS
},
40489 { (char *)"MouseEvent_ButtonIsDown", (PyCFunction
) _wrap_MouseEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
},
40490 { (char *)"MouseEvent_GetButton", (PyCFunction
) _wrap_MouseEvent_GetButton
, METH_VARARGS
| METH_KEYWORDS
},
40491 { (char *)"MouseEvent_ControlDown", (PyCFunction
) _wrap_MouseEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
},
40492 { (char *)"MouseEvent_MetaDown", (PyCFunction
) _wrap_MouseEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
},
40493 { (char *)"MouseEvent_AltDown", (PyCFunction
) _wrap_MouseEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
},
40494 { (char *)"MouseEvent_ShiftDown", (PyCFunction
) _wrap_MouseEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
},
40495 { (char *)"MouseEvent_CmdDown", (PyCFunction
) _wrap_MouseEvent_CmdDown
, METH_VARARGS
| METH_KEYWORDS
},
40496 { (char *)"MouseEvent_LeftDown", (PyCFunction
) _wrap_MouseEvent_LeftDown
, METH_VARARGS
| METH_KEYWORDS
},
40497 { (char *)"MouseEvent_MiddleDown", (PyCFunction
) _wrap_MouseEvent_MiddleDown
, METH_VARARGS
| METH_KEYWORDS
},
40498 { (char *)"MouseEvent_RightDown", (PyCFunction
) _wrap_MouseEvent_RightDown
, METH_VARARGS
| METH_KEYWORDS
},
40499 { (char *)"MouseEvent_LeftUp", (PyCFunction
) _wrap_MouseEvent_LeftUp
, METH_VARARGS
| METH_KEYWORDS
},
40500 { (char *)"MouseEvent_MiddleUp", (PyCFunction
) _wrap_MouseEvent_MiddleUp
, METH_VARARGS
| METH_KEYWORDS
},
40501 { (char *)"MouseEvent_RightUp", (PyCFunction
) _wrap_MouseEvent_RightUp
, METH_VARARGS
| METH_KEYWORDS
},
40502 { (char *)"MouseEvent_LeftDClick", (PyCFunction
) _wrap_MouseEvent_LeftDClick
, METH_VARARGS
| METH_KEYWORDS
},
40503 { (char *)"MouseEvent_MiddleDClick", (PyCFunction
) _wrap_MouseEvent_MiddleDClick
, METH_VARARGS
| METH_KEYWORDS
},
40504 { (char *)"MouseEvent_RightDClick", (PyCFunction
) _wrap_MouseEvent_RightDClick
, METH_VARARGS
| METH_KEYWORDS
},
40505 { (char *)"MouseEvent_LeftIsDown", (PyCFunction
) _wrap_MouseEvent_LeftIsDown
, METH_VARARGS
| METH_KEYWORDS
},
40506 { (char *)"MouseEvent_MiddleIsDown", (PyCFunction
) _wrap_MouseEvent_MiddleIsDown
, METH_VARARGS
| METH_KEYWORDS
},
40507 { (char *)"MouseEvent_RightIsDown", (PyCFunction
) _wrap_MouseEvent_RightIsDown
, METH_VARARGS
| METH_KEYWORDS
},
40508 { (char *)"MouseEvent_Dragging", (PyCFunction
) _wrap_MouseEvent_Dragging
, METH_VARARGS
| METH_KEYWORDS
},
40509 { (char *)"MouseEvent_Moving", (PyCFunction
) _wrap_MouseEvent_Moving
, METH_VARARGS
| METH_KEYWORDS
},
40510 { (char *)"MouseEvent_Entering", (PyCFunction
) _wrap_MouseEvent_Entering
, METH_VARARGS
| METH_KEYWORDS
},
40511 { (char *)"MouseEvent_Leaving", (PyCFunction
) _wrap_MouseEvent_Leaving
, METH_VARARGS
| METH_KEYWORDS
},
40512 { (char *)"MouseEvent_GetPosition", (PyCFunction
) _wrap_MouseEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40513 { (char *)"MouseEvent_GetPositionTuple", (PyCFunction
) _wrap_MouseEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
40514 { (char *)"MouseEvent_GetLogicalPosition", (PyCFunction
) _wrap_MouseEvent_GetLogicalPosition
, METH_VARARGS
| METH_KEYWORDS
},
40515 { (char *)"MouseEvent_GetX", (PyCFunction
) _wrap_MouseEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
40516 { (char *)"MouseEvent_GetY", (PyCFunction
) _wrap_MouseEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
40517 { (char *)"MouseEvent_GetWheelRotation", (PyCFunction
) _wrap_MouseEvent_GetWheelRotation
, METH_VARARGS
| METH_KEYWORDS
},
40518 { (char *)"MouseEvent_GetWheelDelta", (PyCFunction
) _wrap_MouseEvent_GetWheelDelta
, METH_VARARGS
| METH_KEYWORDS
},
40519 { (char *)"MouseEvent_GetLinesPerAction", (PyCFunction
) _wrap_MouseEvent_GetLinesPerAction
, METH_VARARGS
| METH_KEYWORDS
},
40520 { (char *)"MouseEvent_IsPageScroll", (PyCFunction
) _wrap_MouseEvent_IsPageScroll
, METH_VARARGS
| METH_KEYWORDS
},
40521 { (char *)"MouseEvent_m_x_set", (PyCFunction
) _wrap_MouseEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
},
40522 { (char *)"MouseEvent_m_x_get", (PyCFunction
) _wrap_MouseEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
},
40523 { (char *)"MouseEvent_m_y_set", (PyCFunction
) _wrap_MouseEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
},
40524 { (char *)"MouseEvent_m_y_get", (PyCFunction
) _wrap_MouseEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
},
40525 { (char *)"MouseEvent_m_leftDown_set", (PyCFunction
) _wrap_MouseEvent_m_leftDown_set
, METH_VARARGS
| METH_KEYWORDS
},
40526 { (char *)"MouseEvent_m_leftDown_get", (PyCFunction
) _wrap_MouseEvent_m_leftDown_get
, METH_VARARGS
| METH_KEYWORDS
},
40527 { (char *)"MouseEvent_m_middleDown_set", (PyCFunction
) _wrap_MouseEvent_m_middleDown_set
, METH_VARARGS
| METH_KEYWORDS
},
40528 { (char *)"MouseEvent_m_middleDown_get", (PyCFunction
) _wrap_MouseEvent_m_middleDown_get
, METH_VARARGS
| METH_KEYWORDS
},
40529 { (char *)"MouseEvent_m_rightDown_set", (PyCFunction
) _wrap_MouseEvent_m_rightDown_set
, METH_VARARGS
| METH_KEYWORDS
},
40530 { (char *)"MouseEvent_m_rightDown_get", (PyCFunction
) _wrap_MouseEvent_m_rightDown_get
, METH_VARARGS
| METH_KEYWORDS
},
40531 { (char *)"MouseEvent_m_controlDown_set", (PyCFunction
) _wrap_MouseEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
},
40532 { (char *)"MouseEvent_m_controlDown_get", (PyCFunction
) _wrap_MouseEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
},
40533 { (char *)"MouseEvent_m_shiftDown_set", (PyCFunction
) _wrap_MouseEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
},
40534 { (char *)"MouseEvent_m_shiftDown_get", (PyCFunction
) _wrap_MouseEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
},
40535 { (char *)"MouseEvent_m_altDown_set", (PyCFunction
) _wrap_MouseEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
},
40536 { (char *)"MouseEvent_m_altDown_get", (PyCFunction
) _wrap_MouseEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
},
40537 { (char *)"MouseEvent_m_metaDown_set", (PyCFunction
) _wrap_MouseEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
},
40538 { (char *)"MouseEvent_m_metaDown_get", (PyCFunction
) _wrap_MouseEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
},
40539 { (char *)"MouseEvent_m_wheelRotation_set", (PyCFunction
) _wrap_MouseEvent_m_wheelRotation_set
, METH_VARARGS
| METH_KEYWORDS
},
40540 { (char *)"MouseEvent_m_wheelRotation_get", (PyCFunction
) _wrap_MouseEvent_m_wheelRotation_get
, METH_VARARGS
| METH_KEYWORDS
},
40541 { (char *)"MouseEvent_m_wheelDelta_set", (PyCFunction
) _wrap_MouseEvent_m_wheelDelta_set
, METH_VARARGS
| METH_KEYWORDS
},
40542 { (char *)"MouseEvent_m_wheelDelta_get", (PyCFunction
) _wrap_MouseEvent_m_wheelDelta_get
, METH_VARARGS
| METH_KEYWORDS
},
40543 { (char *)"MouseEvent_m_linesPerAction_set", (PyCFunction
) _wrap_MouseEvent_m_linesPerAction_set
, METH_VARARGS
| METH_KEYWORDS
},
40544 { (char *)"MouseEvent_m_linesPerAction_get", (PyCFunction
) _wrap_MouseEvent_m_linesPerAction_get
, METH_VARARGS
| METH_KEYWORDS
},
40545 { (char *)"MouseEvent_swigregister", MouseEvent_swigregister
, METH_VARARGS
},
40546 { (char *)"new_SetCursorEvent", (PyCFunction
) _wrap_new_SetCursorEvent
, METH_VARARGS
| METH_KEYWORDS
},
40547 { (char *)"SetCursorEvent_GetX", (PyCFunction
) _wrap_SetCursorEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
40548 { (char *)"SetCursorEvent_GetY", (PyCFunction
) _wrap_SetCursorEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
40549 { (char *)"SetCursorEvent_SetCursor", (PyCFunction
) _wrap_SetCursorEvent_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
40550 { (char *)"SetCursorEvent_GetCursor", (PyCFunction
) _wrap_SetCursorEvent_GetCursor
, METH_VARARGS
| METH_KEYWORDS
},
40551 { (char *)"SetCursorEvent_HasCursor", (PyCFunction
) _wrap_SetCursorEvent_HasCursor
, METH_VARARGS
| METH_KEYWORDS
},
40552 { (char *)"SetCursorEvent_swigregister", SetCursorEvent_swigregister
, METH_VARARGS
},
40553 { (char *)"new_KeyEvent", (PyCFunction
) _wrap_new_KeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
40554 { (char *)"KeyEvent_ControlDown", (PyCFunction
) _wrap_KeyEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
},
40555 { (char *)"KeyEvent_MetaDown", (PyCFunction
) _wrap_KeyEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
},
40556 { (char *)"KeyEvent_AltDown", (PyCFunction
) _wrap_KeyEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
},
40557 { (char *)"KeyEvent_ShiftDown", (PyCFunction
) _wrap_KeyEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
},
40558 { (char *)"KeyEvent_CmdDown", (PyCFunction
) _wrap_KeyEvent_CmdDown
, METH_VARARGS
| METH_KEYWORDS
},
40559 { (char *)"KeyEvent_HasModifiers", (PyCFunction
) _wrap_KeyEvent_HasModifiers
, METH_VARARGS
| METH_KEYWORDS
},
40560 { (char *)"KeyEvent_GetKeyCode", (PyCFunction
) _wrap_KeyEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
40561 { (char *)"KeyEvent_GetUnicodeKey", (PyCFunction
) _wrap_KeyEvent_GetUnicodeKey
, METH_VARARGS
| METH_KEYWORDS
},
40562 { (char *)"KeyEvent_GetRawKeyCode", (PyCFunction
) _wrap_KeyEvent_GetRawKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
40563 { (char *)"KeyEvent_GetRawKeyFlags", (PyCFunction
) _wrap_KeyEvent_GetRawKeyFlags
, METH_VARARGS
| METH_KEYWORDS
},
40564 { (char *)"KeyEvent_GetPosition", (PyCFunction
) _wrap_KeyEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40565 { (char *)"KeyEvent_GetPositionTuple", (PyCFunction
) _wrap_KeyEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
40566 { (char *)"KeyEvent_GetX", (PyCFunction
) _wrap_KeyEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
40567 { (char *)"KeyEvent_GetY", (PyCFunction
) _wrap_KeyEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
40568 { (char *)"KeyEvent_m_x_set", (PyCFunction
) _wrap_KeyEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
},
40569 { (char *)"KeyEvent_m_x_get", (PyCFunction
) _wrap_KeyEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
},
40570 { (char *)"KeyEvent_m_y_set", (PyCFunction
) _wrap_KeyEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
},
40571 { (char *)"KeyEvent_m_y_get", (PyCFunction
) _wrap_KeyEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
},
40572 { (char *)"KeyEvent_m_keyCode_set", (PyCFunction
) _wrap_KeyEvent_m_keyCode_set
, METH_VARARGS
| METH_KEYWORDS
},
40573 { (char *)"KeyEvent_m_keyCode_get", (PyCFunction
) _wrap_KeyEvent_m_keyCode_get
, METH_VARARGS
| METH_KEYWORDS
},
40574 { (char *)"KeyEvent_m_controlDown_set", (PyCFunction
) _wrap_KeyEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
},
40575 { (char *)"KeyEvent_m_controlDown_get", (PyCFunction
) _wrap_KeyEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
},
40576 { (char *)"KeyEvent_m_shiftDown_set", (PyCFunction
) _wrap_KeyEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
},
40577 { (char *)"KeyEvent_m_shiftDown_get", (PyCFunction
) _wrap_KeyEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
},
40578 { (char *)"KeyEvent_m_altDown_set", (PyCFunction
) _wrap_KeyEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
},
40579 { (char *)"KeyEvent_m_altDown_get", (PyCFunction
) _wrap_KeyEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
},
40580 { (char *)"KeyEvent_m_metaDown_set", (PyCFunction
) _wrap_KeyEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
},
40581 { (char *)"KeyEvent_m_metaDown_get", (PyCFunction
) _wrap_KeyEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
},
40582 { (char *)"KeyEvent_m_scanCode_set", (PyCFunction
) _wrap_KeyEvent_m_scanCode_set
, METH_VARARGS
| METH_KEYWORDS
},
40583 { (char *)"KeyEvent_m_scanCode_get", (PyCFunction
) _wrap_KeyEvent_m_scanCode_get
, METH_VARARGS
| METH_KEYWORDS
},
40584 { (char *)"KeyEvent_m_rawCode_set", (PyCFunction
) _wrap_KeyEvent_m_rawCode_set
, METH_VARARGS
| METH_KEYWORDS
},
40585 { (char *)"KeyEvent_m_rawCode_get", (PyCFunction
) _wrap_KeyEvent_m_rawCode_get
, METH_VARARGS
| METH_KEYWORDS
},
40586 { (char *)"KeyEvent_m_rawFlags_set", (PyCFunction
) _wrap_KeyEvent_m_rawFlags_set
, METH_VARARGS
| METH_KEYWORDS
},
40587 { (char *)"KeyEvent_m_rawFlags_get", (PyCFunction
) _wrap_KeyEvent_m_rawFlags_get
, METH_VARARGS
| METH_KEYWORDS
},
40588 { (char *)"KeyEvent_swigregister", KeyEvent_swigregister
, METH_VARARGS
},
40589 { (char *)"new_SizeEvent", (PyCFunction
) _wrap_new_SizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
40590 { (char *)"SizeEvent_GetSize", (PyCFunction
) _wrap_SizeEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
40591 { (char *)"SizeEvent_GetRect", (PyCFunction
) _wrap_SizeEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
40592 { (char *)"SizeEvent_SetRect", (PyCFunction
) _wrap_SizeEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
40593 { (char *)"SizeEvent_SetSize", (PyCFunction
) _wrap_SizeEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
40594 { (char *)"SizeEvent_m_size_set", (PyCFunction
) _wrap_SizeEvent_m_size_set
, METH_VARARGS
| METH_KEYWORDS
},
40595 { (char *)"SizeEvent_m_size_get", (PyCFunction
) _wrap_SizeEvent_m_size_get
, METH_VARARGS
| METH_KEYWORDS
},
40596 { (char *)"SizeEvent_m_rect_set", (PyCFunction
) _wrap_SizeEvent_m_rect_set
, METH_VARARGS
| METH_KEYWORDS
},
40597 { (char *)"SizeEvent_m_rect_get", (PyCFunction
) _wrap_SizeEvent_m_rect_get
, METH_VARARGS
| METH_KEYWORDS
},
40598 { (char *)"SizeEvent_swigregister", SizeEvent_swigregister
, METH_VARARGS
},
40599 { (char *)"new_MoveEvent", (PyCFunction
) _wrap_new_MoveEvent
, METH_VARARGS
| METH_KEYWORDS
},
40600 { (char *)"MoveEvent_GetPosition", (PyCFunction
) _wrap_MoveEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40601 { (char *)"MoveEvent_GetRect", (PyCFunction
) _wrap_MoveEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
40602 { (char *)"MoveEvent_SetRect", (PyCFunction
) _wrap_MoveEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
40603 { (char *)"MoveEvent_SetPosition", (PyCFunction
) _wrap_MoveEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40604 { (char *)"MoveEvent_m_pos_set", (PyCFunction
) _wrap_MoveEvent_m_pos_set
, METH_VARARGS
| METH_KEYWORDS
},
40605 { (char *)"MoveEvent_m_pos_get", (PyCFunction
) _wrap_MoveEvent_m_pos_get
, METH_VARARGS
| METH_KEYWORDS
},
40606 { (char *)"MoveEvent_m_rect_set", (PyCFunction
) _wrap_MoveEvent_m_rect_set
, METH_VARARGS
| METH_KEYWORDS
},
40607 { (char *)"MoveEvent_m_rect_get", (PyCFunction
) _wrap_MoveEvent_m_rect_get
, METH_VARARGS
| METH_KEYWORDS
},
40608 { (char *)"MoveEvent_swigregister", MoveEvent_swigregister
, METH_VARARGS
},
40609 { (char *)"new_PaintEvent", (PyCFunction
) _wrap_new_PaintEvent
, METH_VARARGS
| METH_KEYWORDS
},
40610 { (char *)"PaintEvent_swigregister", PaintEvent_swigregister
, METH_VARARGS
},
40611 { (char *)"new_NcPaintEvent", (PyCFunction
) _wrap_new_NcPaintEvent
, METH_VARARGS
| METH_KEYWORDS
},
40612 { (char *)"NcPaintEvent_swigregister", NcPaintEvent_swigregister
, METH_VARARGS
},
40613 { (char *)"new_EraseEvent", (PyCFunction
) _wrap_new_EraseEvent
, METH_VARARGS
| METH_KEYWORDS
},
40614 { (char *)"EraseEvent_GetDC", (PyCFunction
) _wrap_EraseEvent_GetDC
, METH_VARARGS
| METH_KEYWORDS
},
40615 { (char *)"EraseEvent_swigregister", EraseEvent_swigregister
, METH_VARARGS
},
40616 { (char *)"new_FocusEvent", (PyCFunction
) _wrap_new_FocusEvent
, METH_VARARGS
| METH_KEYWORDS
},
40617 { (char *)"FocusEvent_GetWindow", (PyCFunction
) _wrap_FocusEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
40618 { (char *)"FocusEvent_SetWindow", (PyCFunction
) _wrap_FocusEvent_SetWindow
, METH_VARARGS
| METH_KEYWORDS
},
40619 { (char *)"FocusEvent_swigregister", FocusEvent_swigregister
, METH_VARARGS
},
40620 { (char *)"new_ChildFocusEvent", (PyCFunction
) _wrap_new_ChildFocusEvent
, METH_VARARGS
| METH_KEYWORDS
},
40621 { (char *)"ChildFocusEvent_GetWindow", (PyCFunction
) _wrap_ChildFocusEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
40622 { (char *)"ChildFocusEvent_swigregister", ChildFocusEvent_swigregister
, METH_VARARGS
},
40623 { (char *)"new_ActivateEvent", (PyCFunction
) _wrap_new_ActivateEvent
, METH_VARARGS
| METH_KEYWORDS
},
40624 { (char *)"ActivateEvent_GetActive", (PyCFunction
) _wrap_ActivateEvent_GetActive
, METH_VARARGS
| METH_KEYWORDS
},
40625 { (char *)"ActivateEvent_swigregister", ActivateEvent_swigregister
, METH_VARARGS
},
40626 { (char *)"new_InitDialogEvent", (PyCFunction
) _wrap_new_InitDialogEvent
, METH_VARARGS
| METH_KEYWORDS
},
40627 { (char *)"InitDialogEvent_swigregister", InitDialogEvent_swigregister
, METH_VARARGS
},
40628 { (char *)"new_MenuEvent", (PyCFunction
) _wrap_new_MenuEvent
, METH_VARARGS
| METH_KEYWORDS
},
40629 { (char *)"MenuEvent_GetMenuId", (PyCFunction
) _wrap_MenuEvent_GetMenuId
, METH_VARARGS
| METH_KEYWORDS
},
40630 { (char *)"MenuEvent_IsPopup", (PyCFunction
) _wrap_MenuEvent_IsPopup
, METH_VARARGS
| METH_KEYWORDS
},
40631 { (char *)"MenuEvent_GetMenu", (PyCFunction
) _wrap_MenuEvent_GetMenu
, METH_VARARGS
| METH_KEYWORDS
},
40632 { (char *)"MenuEvent_swigregister", MenuEvent_swigregister
, METH_VARARGS
},
40633 { (char *)"new_CloseEvent", (PyCFunction
) _wrap_new_CloseEvent
, METH_VARARGS
| METH_KEYWORDS
},
40634 { (char *)"CloseEvent_SetLoggingOff", (PyCFunction
) _wrap_CloseEvent_SetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
},
40635 { (char *)"CloseEvent_GetLoggingOff", (PyCFunction
) _wrap_CloseEvent_GetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
},
40636 { (char *)"CloseEvent_Veto", (PyCFunction
) _wrap_CloseEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
},
40637 { (char *)"CloseEvent_SetCanVeto", (PyCFunction
) _wrap_CloseEvent_SetCanVeto
, METH_VARARGS
| METH_KEYWORDS
},
40638 { (char *)"CloseEvent_CanVeto", (PyCFunction
) _wrap_CloseEvent_CanVeto
, METH_VARARGS
| METH_KEYWORDS
},
40639 { (char *)"CloseEvent_GetVeto", (PyCFunction
) _wrap_CloseEvent_GetVeto
, METH_VARARGS
| METH_KEYWORDS
},
40640 { (char *)"CloseEvent_swigregister", CloseEvent_swigregister
, METH_VARARGS
},
40641 { (char *)"new_ShowEvent", (PyCFunction
) _wrap_new_ShowEvent
, METH_VARARGS
| METH_KEYWORDS
},
40642 { (char *)"ShowEvent_SetShow", (PyCFunction
) _wrap_ShowEvent_SetShow
, METH_VARARGS
| METH_KEYWORDS
},
40643 { (char *)"ShowEvent_GetShow", (PyCFunction
) _wrap_ShowEvent_GetShow
, METH_VARARGS
| METH_KEYWORDS
},
40644 { (char *)"ShowEvent_swigregister", ShowEvent_swigregister
, METH_VARARGS
},
40645 { (char *)"new_IconizeEvent", (PyCFunction
) _wrap_new_IconizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
40646 { (char *)"IconizeEvent_Iconized", (PyCFunction
) _wrap_IconizeEvent_Iconized
, METH_VARARGS
| METH_KEYWORDS
},
40647 { (char *)"IconizeEvent_swigregister", IconizeEvent_swigregister
, METH_VARARGS
},
40648 { (char *)"new_MaximizeEvent", (PyCFunction
) _wrap_new_MaximizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
40649 { (char *)"MaximizeEvent_swigregister", MaximizeEvent_swigregister
, METH_VARARGS
},
40650 { (char *)"DropFilesEvent_GetPosition", (PyCFunction
) _wrap_DropFilesEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40651 { (char *)"DropFilesEvent_GetNumberOfFiles", (PyCFunction
) _wrap_DropFilesEvent_GetNumberOfFiles
, METH_VARARGS
| METH_KEYWORDS
},
40652 { (char *)"DropFilesEvent_GetFiles", (PyCFunction
) _wrap_DropFilesEvent_GetFiles
, METH_VARARGS
| METH_KEYWORDS
},
40653 { (char *)"DropFilesEvent_swigregister", DropFilesEvent_swigregister
, METH_VARARGS
},
40654 { (char *)"new_UpdateUIEvent", (PyCFunction
) _wrap_new_UpdateUIEvent
, METH_VARARGS
| METH_KEYWORDS
},
40655 { (char *)"UpdateUIEvent_GetChecked", (PyCFunction
) _wrap_UpdateUIEvent_GetChecked
, METH_VARARGS
| METH_KEYWORDS
},
40656 { (char *)"UpdateUIEvent_GetEnabled", (PyCFunction
) _wrap_UpdateUIEvent_GetEnabled
, METH_VARARGS
| METH_KEYWORDS
},
40657 { (char *)"UpdateUIEvent_GetText", (PyCFunction
) _wrap_UpdateUIEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
},
40658 { (char *)"UpdateUIEvent_GetSetText", (PyCFunction
) _wrap_UpdateUIEvent_GetSetText
, METH_VARARGS
| METH_KEYWORDS
},
40659 { (char *)"UpdateUIEvent_GetSetChecked", (PyCFunction
) _wrap_UpdateUIEvent_GetSetChecked
, METH_VARARGS
| METH_KEYWORDS
},
40660 { (char *)"UpdateUIEvent_GetSetEnabled", (PyCFunction
) _wrap_UpdateUIEvent_GetSetEnabled
, METH_VARARGS
| METH_KEYWORDS
},
40661 { (char *)"UpdateUIEvent_Check", (PyCFunction
) _wrap_UpdateUIEvent_Check
, METH_VARARGS
| METH_KEYWORDS
},
40662 { (char *)"UpdateUIEvent_Enable", (PyCFunction
) _wrap_UpdateUIEvent_Enable
, METH_VARARGS
| METH_KEYWORDS
},
40663 { (char *)"UpdateUIEvent_SetText", (PyCFunction
) _wrap_UpdateUIEvent_SetText
, METH_VARARGS
| METH_KEYWORDS
},
40664 { (char *)"UpdateUIEvent_SetUpdateInterval", (PyCFunction
) _wrap_UpdateUIEvent_SetUpdateInterval
, METH_VARARGS
| METH_KEYWORDS
},
40665 { (char *)"UpdateUIEvent_GetUpdateInterval", (PyCFunction
) _wrap_UpdateUIEvent_GetUpdateInterval
, METH_VARARGS
| METH_KEYWORDS
},
40666 { (char *)"UpdateUIEvent_CanUpdate", (PyCFunction
) _wrap_UpdateUIEvent_CanUpdate
, METH_VARARGS
| METH_KEYWORDS
},
40667 { (char *)"UpdateUIEvent_ResetUpdateTime", (PyCFunction
) _wrap_UpdateUIEvent_ResetUpdateTime
, METH_VARARGS
| METH_KEYWORDS
},
40668 { (char *)"UpdateUIEvent_SetMode", (PyCFunction
) _wrap_UpdateUIEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
},
40669 { (char *)"UpdateUIEvent_GetMode", (PyCFunction
) _wrap_UpdateUIEvent_GetMode
, METH_VARARGS
| METH_KEYWORDS
},
40670 { (char *)"UpdateUIEvent_swigregister", UpdateUIEvent_swigregister
, METH_VARARGS
},
40671 { (char *)"new_SysColourChangedEvent", (PyCFunction
) _wrap_new_SysColourChangedEvent
, METH_VARARGS
| METH_KEYWORDS
},
40672 { (char *)"SysColourChangedEvent_swigregister", SysColourChangedEvent_swigregister
, METH_VARARGS
},
40673 { (char *)"new_MouseCaptureChangedEvent", (PyCFunction
) _wrap_new_MouseCaptureChangedEvent
, METH_VARARGS
| METH_KEYWORDS
},
40674 { (char *)"MouseCaptureChangedEvent_GetCapturedWindow", (PyCFunction
) _wrap_MouseCaptureChangedEvent_GetCapturedWindow
, METH_VARARGS
| METH_KEYWORDS
},
40675 { (char *)"MouseCaptureChangedEvent_swigregister", MouseCaptureChangedEvent_swigregister
, METH_VARARGS
},
40676 { (char *)"new_DisplayChangedEvent", (PyCFunction
) _wrap_new_DisplayChangedEvent
, METH_VARARGS
| METH_KEYWORDS
},
40677 { (char *)"DisplayChangedEvent_swigregister", DisplayChangedEvent_swigregister
, METH_VARARGS
},
40678 { (char *)"new_PaletteChangedEvent", (PyCFunction
) _wrap_new_PaletteChangedEvent
, METH_VARARGS
| METH_KEYWORDS
},
40679 { (char *)"PaletteChangedEvent_SetChangedWindow", (PyCFunction
) _wrap_PaletteChangedEvent_SetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
},
40680 { (char *)"PaletteChangedEvent_GetChangedWindow", (PyCFunction
) _wrap_PaletteChangedEvent_GetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
},
40681 { (char *)"PaletteChangedEvent_swigregister", PaletteChangedEvent_swigregister
, METH_VARARGS
},
40682 { (char *)"new_QueryNewPaletteEvent", (PyCFunction
) _wrap_new_QueryNewPaletteEvent
, METH_VARARGS
| METH_KEYWORDS
},
40683 { (char *)"QueryNewPaletteEvent_SetPaletteRealized", (PyCFunction
) _wrap_QueryNewPaletteEvent_SetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
},
40684 { (char *)"QueryNewPaletteEvent_GetPaletteRealized", (PyCFunction
) _wrap_QueryNewPaletteEvent_GetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
},
40685 { (char *)"QueryNewPaletteEvent_swigregister", QueryNewPaletteEvent_swigregister
, METH_VARARGS
},
40686 { (char *)"new_NavigationKeyEvent", (PyCFunction
) _wrap_new_NavigationKeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
40687 { (char *)"NavigationKeyEvent_GetDirection", (PyCFunction
) _wrap_NavigationKeyEvent_GetDirection
, METH_VARARGS
| METH_KEYWORDS
},
40688 { (char *)"NavigationKeyEvent_SetDirection", (PyCFunction
) _wrap_NavigationKeyEvent_SetDirection
, METH_VARARGS
| METH_KEYWORDS
},
40689 { (char *)"NavigationKeyEvent_IsWindowChange", (PyCFunction
) _wrap_NavigationKeyEvent_IsWindowChange
, METH_VARARGS
| METH_KEYWORDS
},
40690 { (char *)"NavigationKeyEvent_SetWindowChange", (PyCFunction
) _wrap_NavigationKeyEvent_SetWindowChange
, METH_VARARGS
| METH_KEYWORDS
},
40691 { (char *)"NavigationKeyEvent_SetFlags", (PyCFunction
) _wrap_NavigationKeyEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
40692 { (char *)"NavigationKeyEvent_GetCurrentFocus", (PyCFunction
) _wrap_NavigationKeyEvent_GetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
},
40693 { (char *)"NavigationKeyEvent_SetCurrentFocus", (PyCFunction
) _wrap_NavigationKeyEvent_SetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
},
40694 { (char *)"NavigationKeyEvent_swigregister", NavigationKeyEvent_swigregister
, METH_VARARGS
},
40695 { (char *)"new_WindowCreateEvent", (PyCFunction
) _wrap_new_WindowCreateEvent
, METH_VARARGS
| METH_KEYWORDS
},
40696 { (char *)"WindowCreateEvent_GetWindow", (PyCFunction
) _wrap_WindowCreateEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
40697 { (char *)"WindowCreateEvent_swigregister", WindowCreateEvent_swigregister
, METH_VARARGS
},
40698 { (char *)"new_WindowDestroyEvent", (PyCFunction
) _wrap_new_WindowDestroyEvent
, METH_VARARGS
| METH_KEYWORDS
},
40699 { (char *)"WindowDestroyEvent_GetWindow", (PyCFunction
) _wrap_WindowDestroyEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
40700 { (char *)"WindowDestroyEvent_swigregister", WindowDestroyEvent_swigregister
, METH_VARARGS
},
40701 { (char *)"new_ContextMenuEvent", (PyCFunction
) _wrap_new_ContextMenuEvent
, METH_VARARGS
| METH_KEYWORDS
},
40702 { (char *)"ContextMenuEvent_GetPosition", (PyCFunction
) _wrap_ContextMenuEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40703 { (char *)"ContextMenuEvent_SetPosition", (PyCFunction
) _wrap_ContextMenuEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40704 { (char *)"ContextMenuEvent_swigregister", ContextMenuEvent_swigregister
, METH_VARARGS
},
40705 { (char *)"new_IdleEvent", (PyCFunction
) _wrap_new_IdleEvent
, METH_VARARGS
| METH_KEYWORDS
},
40706 { (char *)"IdleEvent_RequestMore", (PyCFunction
) _wrap_IdleEvent_RequestMore
, METH_VARARGS
| METH_KEYWORDS
},
40707 { (char *)"IdleEvent_MoreRequested", (PyCFunction
) _wrap_IdleEvent_MoreRequested
, METH_VARARGS
| METH_KEYWORDS
},
40708 { (char *)"IdleEvent_SetMode", (PyCFunction
) _wrap_IdleEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
},
40709 { (char *)"IdleEvent_GetMode", (PyCFunction
) _wrap_IdleEvent_GetMode
, METH_VARARGS
| METH_KEYWORDS
},
40710 { (char *)"IdleEvent_CanSend", (PyCFunction
) _wrap_IdleEvent_CanSend
, METH_VARARGS
| METH_KEYWORDS
},
40711 { (char *)"IdleEvent_swigregister", IdleEvent_swigregister
, METH_VARARGS
},
40712 { (char *)"new_PyEvent", (PyCFunction
) _wrap_new_PyEvent
, METH_VARARGS
| METH_KEYWORDS
},
40713 { (char *)"delete_PyEvent", (PyCFunction
) _wrap_delete_PyEvent
, METH_VARARGS
| METH_KEYWORDS
},
40714 { (char *)"PyEvent_SetSelf", (PyCFunction
) _wrap_PyEvent_SetSelf
, METH_VARARGS
| METH_KEYWORDS
},
40715 { (char *)"PyEvent_GetSelf", (PyCFunction
) _wrap_PyEvent_GetSelf
, METH_VARARGS
| METH_KEYWORDS
},
40716 { (char *)"PyEvent_swigregister", PyEvent_swigregister
, METH_VARARGS
},
40717 { (char *)"new_PyCommandEvent", (PyCFunction
) _wrap_new_PyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
},
40718 { (char *)"delete_PyCommandEvent", (PyCFunction
) _wrap_delete_PyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
},
40719 { (char *)"PyCommandEvent_SetSelf", (PyCFunction
) _wrap_PyCommandEvent_SetSelf
, METH_VARARGS
| METH_KEYWORDS
},
40720 { (char *)"PyCommandEvent_GetSelf", (PyCFunction
) _wrap_PyCommandEvent_GetSelf
, METH_VARARGS
| METH_KEYWORDS
},
40721 { (char *)"PyCommandEvent_swigregister", PyCommandEvent_swigregister
, METH_VARARGS
},
40722 { (char *)"new_PyApp", (PyCFunction
) _wrap_new_PyApp
, METH_VARARGS
| METH_KEYWORDS
},
40723 { (char *)"delete_PyApp", (PyCFunction
) _wrap_delete_PyApp
, METH_VARARGS
| METH_KEYWORDS
},
40724 { (char *)"PyApp__setCallbackInfo", (PyCFunction
) _wrap_PyApp__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
40725 { (char *)"PyApp_GetAppName", (PyCFunction
) _wrap_PyApp_GetAppName
, METH_VARARGS
| METH_KEYWORDS
},
40726 { (char *)"PyApp_SetAppName", (PyCFunction
) _wrap_PyApp_SetAppName
, METH_VARARGS
| METH_KEYWORDS
},
40727 { (char *)"PyApp_GetClassName", (PyCFunction
) _wrap_PyApp_GetClassName
, METH_VARARGS
| METH_KEYWORDS
},
40728 { (char *)"PyApp_SetClassName", (PyCFunction
) _wrap_PyApp_SetClassName
, METH_VARARGS
| METH_KEYWORDS
},
40729 { (char *)"PyApp_GetVendorName", (PyCFunction
) _wrap_PyApp_GetVendorName
, METH_VARARGS
| METH_KEYWORDS
},
40730 { (char *)"PyApp_SetVendorName", (PyCFunction
) _wrap_PyApp_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
},
40731 { (char *)"PyApp_GetTraits", (PyCFunction
) _wrap_PyApp_GetTraits
, METH_VARARGS
| METH_KEYWORDS
},
40732 { (char *)"PyApp_ProcessPendingEvents", (PyCFunction
) _wrap_PyApp_ProcessPendingEvents
, METH_VARARGS
| METH_KEYWORDS
},
40733 { (char *)"PyApp_Yield", (PyCFunction
) _wrap_PyApp_Yield
, METH_VARARGS
| METH_KEYWORDS
},
40734 { (char *)"PyApp_WakeUpIdle", (PyCFunction
) _wrap_PyApp_WakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
},
40735 { (char *)"PyApp_MainLoop", (PyCFunction
) _wrap_PyApp_MainLoop
, METH_VARARGS
| METH_KEYWORDS
},
40736 { (char *)"PyApp_Exit", (PyCFunction
) _wrap_PyApp_Exit
, METH_VARARGS
| METH_KEYWORDS
},
40737 { (char *)"PyApp_ExitMainLoop", (PyCFunction
) _wrap_PyApp_ExitMainLoop
, METH_VARARGS
| METH_KEYWORDS
},
40738 { (char *)"PyApp_Pending", (PyCFunction
) _wrap_PyApp_Pending
, METH_VARARGS
| METH_KEYWORDS
},
40739 { (char *)"PyApp_Dispatch", (PyCFunction
) _wrap_PyApp_Dispatch
, METH_VARARGS
| METH_KEYWORDS
},
40740 { (char *)"PyApp_ProcessIdle", (PyCFunction
) _wrap_PyApp_ProcessIdle
, METH_VARARGS
| METH_KEYWORDS
},
40741 { (char *)"PyApp_SendIdleEvents", (PyCFunction
) _wrap_PyApp_SendIdleEvents
, METH_VARARGS
| METH_KEYWORDS
},
40742 { (char *)"PyApp_IsActive", (PyCFunction
) _wrap_PyApp_IsActive
, METH_VARARGS
| METH_KEYWORDS
},
40743 { (char *)"PyApp_SetTopWindow", (PyCFunction
) _wrap_PyApp_SetTopWindow
, METH_VARARGS
| METH_KEYWORDS
},
40744 { (char *)"PyApp_GetTopWindow", (PyCFunction
) _wrap_PyApp_GetTopWindow
, METH_VARARGS
| METH_KEYWORDS
},
40745 { (char *)"PyApp_SetExitOnFrameDelete", (PyCFunction
) _wrap_PyApp_SetExitOnFrameDelete
, METH_VARARGS
| METH_KEYWORDS
},
40746 { (char *)"PyApp_GetExitOnFrameDelete", (PyCFunction
) _wrap_PyApp_GetExitOnFrameDelete
, METH_VARARGS
| METH_KEYWORDS
},
40747 { (char *)"PyApp_SetUseBestVisual", (PyCFunction
) _wrap_PyApp_SetUseBestVisual
, METH_VARARGS
| METH_KEYWORDS
},
40748 { (char *)"PyApp_GetUseBestVisual", (PyCFunction
) _wrap_PyApp_GetUseBestVisual
, METH_VARARGS
| METH_KEYWORDS
},
40749 { (char *)"PyApp_SetPrintMode", (PyCFunction
) _wrap_PyApp_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
},
40750 { (char *)"PyApp_GetPrintMode", (PyCFunction
) _wrap_PyApp_GetPrintMode
, METH_VARARGS
| METH_KEYWORDS
},
40751 { (char *)"PyApp_SetAssertMode", (PyCFunction
) _wrap_PyApp_SetAssertMode
, METH_VARARGS
| METH_KEYWORDS
},
40752 { (char *)"PyApp_GetAssertMode", (PyCFunction
) _wrap_PyApp_GetAssertMode
, METH_VARARGS
| METH_KEYWORDS
},
40753 { (char *)"PyApp_GetMacSupportPCMenuShortcuts", (PyCFunction
) _wrap_PyApp_GetMacSupportPCMenuShortcuts
, METH_VARARGS
| METH_KEYWORDS
},
40754 { (char *)"PyApp_GetMacAboutMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacAboutMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
40755 { (char *)"PyApp_GetMacPreferencesMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacPreferencesMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
40756 { (char *)"PyApp_GetMacExitMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacExitMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
40757 { (char *)"PyApp_GetMacHelpMenuTitleName", (PyCFunction
) _wrap_PyApp_GetMacHelpMenuTitleName
, METH_VARARGS
| METH_KEYWORDS
},
40758 { (char *)"PyApp_SetMacSupportPCMenuShortcuts", (PyCFunction
) _wrap_PyApp_SetMacSupportPCMenuShortcuts
, METH_VARARGS
| METH_KEYWORDS
},
40759 { (char *)"PyApp_SetMacAboutMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacAboutMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
40760 { (char *)"PyApp_SetMacPreferencesMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacPreferencesMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
40761 { (char *)"PyApp_SetMacExitMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacExitMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
40762 { (char *)"PyApp_SetMacHelpMenuTitleName", (PyCFunction
) _wrap_PyApp_SetMacHelpMenuTitleName
, METH_VARARGS
| METH_KEYWORDS
},
40763 { (char *)"PyApp__BootstrapApp", (PyCFunction
) _wrap_PyApp__BootstrapApp
, METH_VARARGS
| METH_KEYWORDS
},
40764 { (char *)"PyApp_GetComCtl32Version", (PyCFunction
) _wrap_PyApp_GetComCtl32Version
, METH_VARARGS
| METH_KEYWORDS
},
40765 { (char *)"PyApp_swigregister", PyApp_swigregister
, METH_VARARGS
},
40766 { (char *)"Exit", (PyCFunction
) _wrap_Exit
, METH_VARARGS
| METH_KEYWORDS
},
40767 { (char *)"Yield", (PyCFunction
) _wrap_Yield
, METH_VARARGS
| METH_KEYWORDS
},
40768 { (char *)"YieldIfNeeded", (PyCFunction
) _wrap_YieldIfNeeded
, METH_VARARGS
| METH_KEYWORDS
},
40769 { (char *)"SafeYield", (PyCFunction
) _wrap_SafeYield
, METH_VARARGS
| METH_KEYWORDS
},
40770 { (char *)"WakeUpIdle", (PyCFunction
) _wrap_WakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
},
40771 { (char *)"PostEvent", (PyCFunction
) _wrap_PostEvent
, METH_VARARGS
| METH_KEYWORDS
},
40772 { (char *)"App_CleanUp", (PyCFunction
) _wrap_App_CleanUp
, METH_VARARGS
| METH_KEYWORDS
},
40773 { (char *)"GetApp", (PyCFunction
) _wrap_GetApp
, METH_VARARGS
| METH_KEYWORDS
},
40774 { (char *)"new_AcceleratorEntry", (PyCFunction
) _wrap_new_AcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
},
40775 { (char *)"delete_AcceleratorEntry", (PyCFunction
) _wrap_delete_AcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
},
40776 { (char *)"AcceleratorEntry_Set", (PyCFunction
) _wrap_AcceleratorEntry_Set
, METH_VARARGS
| METH_KEYWORDS
},
40777 { (char *)"AcceleratorEntry_GetFlags", (PyCFunction
) _wrap_AcceleratorEntry_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
40778 { (char *)"AcceleratorEntry_GetKeyCode", (PyCFunction
) _wrap_AcceleratorEntry_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
40779 { (char *)"AcceleratorEntry_GetCommand", (PyCFunction
) _wrap_AcceleratorEntry_GetCommand
, METH_VARARGS
| METH_KEYWORDS
},
40780 { (char *)"AcceleratorEntry_swigregister", AcceleratorEntry_swigregister
, METH_VARARGS
},
40781 { (char *)"new_AcceleratorTable", (PyCFunction
) _wrap_new_AcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
40782 { (char *)"delete_AcceleratorTable", (PyCFunction
) _wrap_delete_AcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
40783 { (char *)"AcceleratorTable_Ok", (PyCFunction
) _wrap_AcceleratorTable_Ok
, METH_VARARGS
| METH_KEYWORDS
},
40784 { (char *)"AcceleratorTable_swigregister", AcceleratorTable_swigregister
, METH_VARARGS
},
40785 { (char *)"GetAccelFromString", (PyCFunction
) _wrap_GetAccelFromString
, METH_VARARGS
| METH_KEYWORDS
},
40786 { (char *)"new_VisualAttributes", (PyCFunction
) _wrap_new_VisualAttributes
, METH_VARARGS
| METH_KEYWORDS
},
40787 { (char *)"delete_VisualAttributes", (PyCFunction
) _wrap_delete_VisualAttributes
, METH_VARARGS
| METH_KEYWORDS
},
40788 { (char *)"VisualAttributes_font_set", (PyCFunction
) _wrap_VisualAttributes_font_set
, METH_VARARGS
| METH_KEYWORDS
},
40789 { (char *)"VisualAttributes_font_get", (PyCFunction
) _wrap_VisualAttributes_font_get
, METH_VARARGS
| METH_KEYWORDS
},
40790 { (char *)"VisualAttributes_colFg_set", (PyCFunction
) _wrap_VisualAttributes_colFg_set
, METH_VARARGS
| METH_KEYWORDS
},
40791 { (char *)"VisualAttributes_colFg_get", (PyCFunction
) _wrap_VisualAttributes_colFg_get
, METH_VARARGS
| METH_KEYWORDS
},
40792 { (char *)"VisualAttributes_colBg_set", (PyCFunction
) _wrap_VisualAttributes_colBg_set
, METH_VARARGS
| METH_KEYWORDS
},
40793 { (char *)"VisualAttributes_colBg_get", (PyCFunction
) _wrap_VisualAttributes_colBg_get
, METH_VARARGS
| METH_KEYWORDS
},
40794 { (char *)"VisualAttributes_swigregister", VisualAttributes_swigregister
, METH_VARARGS
},
40795 { (char *)"new_Window", (PyCFunction
) _wrap_new_Window
, METH_VARARGS
| METH_KEYWORDS
},
40796 { (char *)"new_PreWindow", (PyCFunction
) _wrap_new_PreWindow
, METH_VARARGS
| METH_KEYWORDS
},
40797 { (char *)"Window_Create", (PyCFunction
) _wrap_Window_Create
, METH_VARARGS
| METH_KEYWORDS
},
40798 { (char *)"Window_Close", (PyCFunction
) _wrap_Window_Close
, METH_VARARGS
| METH_KEYWORDS
},
40799 { (char *)"Window_Destroy", (PyCFunction
) _wrap_Window_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
40800 { (char *)"Window_DestroyChildren", (PyCFunction
) _wrap_Window_DestroyChildren
, METH_VARARGS
| METH_KEYWORDS
},
40801 { (char *)"Window_IsBeingDeleted", (PyCFunction
) _wrap_Window_IsBeingDeleted
, METH_VARARGS
| METH_KEYWORDS
},
40802 { (char *)"Window_SetTitle", (PyCFunction
) _wrap_Window_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
40803 { (char *)"Window_GetTitle", (PyCFunction
) _wrap_Window_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
40804 { (char *)"Window_SetLabel", (PyCFunction
) _wrap_Window_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
40805 { (char *)"Window_GetLabel", (PyCFunction
) _wrap_Window_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
40806 { (char *)"Window_SetName", (PyCFunction
) _wrap_Window_SetName
, METH_VARARGS
| METH_KEYWORDS
},
40807 { (char *)"Window_GetName", (PyCFunction
) _wrap_Window_GetName
, METH_VARARGS
| METH_KEYWORDS
},
40808 { (char *)"Window_SetWindowVariant", (PyCFunction
) _wrap_Window_SetWindowVariant
, METH_VARARGS
| METH_KEYWORDS
},
40809 { (char *)"Window_GetWindowVariant", (PyCFunction
) _wrap_Window_GetWindowVariant
, METH_VARARGS
| METH_KEYWORDS
},
40810 { (char *)"Window_SetId", (PyCFunction
) _wrap_Window_SetId
, METH_VARARGS
| METH_KEYWORDS
},
40811 { (char *)"Window_GetId", (PyCFunction
) _wrap_Window_GetId
, METH_VARARGS
| METH_KEYWORDS
},
40812 { (char *)"Window_NewControlId", (PyCFunction
) _wrap_Window_NewControlId
, METH_VARARGS
| METH_KEYWORDS
},
40813 { (char *)"Window_NextControlId", (PyCFunction
) _wrap_Window_NextControlId
, METH_VARARGS
| METH_KEYWORDS
},
40814 { (char *)"Window_PrevControlId", (PyCFunction
) _wrap_Window_PrevControlId
, METH_VARARGS
| METH_KEYWORDS
},
40815 { (char *)"Window_SetSize", (PyCFunction
) _wrap_Window_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
40816 { (char *)"Window_SetDimensions", (PyCFunction
) _wrap_Window_SetDimensions
, METH_VARARGS
| METH_KEYWORDS
},
40817 { (char *)"Window_SetRect", (PyCFunction
) _wrap_Window_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
40818 { (char *)"Window_SetSizeWH", (PyCFunction
) _wrap_Window_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
40819 { (char *)"Window_Move", (PyCFunction
) _wrap_Window_Move
, METH_VARARGS
| METH_KEYWORDS
},
40820 { (char *)"Window_MoveXY", (PyCFunction
) _wrap_Window_MoveXY
, METH_VARARGS
| METH_KEYWORDS
},
40821 { (char *)"Window_SetBestFittingSize", (PyCFunction
) _wrap_Window_SetBestFittingSize
, METH_VARARGS
| METH_KEYWORDS
},
40822 { (char *)"Window_Raise", (PyCFunction
) _wrap_Window_Raise
, METH_VARARGS
| METH_KEYWORDS
},
40823 { (char *)"Window_Lower", (PyCFunction
) _wrap_Window_Lower
, METH_VARARGS
| METH_KEYWORDS
},
40824 { (char *)"Window_SetClientSize", (PyCFunction
) _wrap_Window_SetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
40825 { (char *)"Window_SetClientSizeWH", (PyCFunction
) _wrap_Window_SetClientSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
40826 { (char *)"Window_SetClientRect", (PyCFunction
) _wrap_Window_SetClientRect
, METH_VARARGS
| METH_KEYWORDS
},
40827 { (char *)"Window_GetPosition", (PyCFunction
) _wrap_Window_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40828 { (char *)"Window_GetPositionTuple", (PyCFunction
) _wrap_Window_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
40829 { (char *)"Window_GetSize", (PyCFunction
) _wrap_Window_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
40830 { (char *)"Window_GetSizeTuple", (PyCFunction
) _wrap_Window_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
40831 { (char *)"Window_GetRect", (PyCFunction
) _wrap_Window_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
40832 { (char *)"Window_GetClientSize", (PyCFunction
) _wrap_Window_GetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
40833 { (char *)"Window_GetClientSizeTuple", (PyCFunction
) _wrap_Window_GetClientSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
40834 { (char *)"Window_GetClientAreaOrigin", (PyCFunction
) _wrap_Window_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
},
40835 { (char *)"Window_GetClientRect", (PyCFunction
) _wrap_Window_GetClientRect
, METH_VARARGS
| METH_KEYWORDS
},
40836 { (char *)"Window_GetBestSize", (PyCFunction
) _wrap_Window_GetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
40837 { (char *)"Window_GetBestSizeTuple", (PyCFunction
) _wrap_Window_GetBestSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
40838 { (char *)"Window_InvalidateBestSize", (PyCFunction
) _wrap_Window_InvalidateBestSize
, METH_VARARGS
| METH_KEYWORDS
},
40839 { (char *)"Window_GetBestFittingSize", (PyCFunction
) _wrap_Window_GetBestFittingSize
, METH_VARARGS
| METH_KEYWORDS
},
40840 { (char *)"Window_GetAdjustedBestSize", (PyCFunction
) _wrap_Window_GetAdjustedBestSize
, METH_VARARGS
| METH_KEYWORDS
},
40841 { (char *)"Window_Center", (PyCFunction
) _wrap_Window_Center
, METH_VARARGS
| METH_KEYWORDS
},
40842 { (char *)"Window_CenterOnScreen", (PyCFunction
) _wrap_Window_CenterOnScreen
, METH_VARARGS
| METH_KEYWORDS
},
40843 { (char *)"Window_CenterOnParent", (PyCFunction
) _wrap_Window_CenterOnParent
, METH_VARARGS
| METH_KEYWORDS
},
40844 { (char *)"Window_Fit", (PyCFunction
) _wrap_Window_Fit
, METH_VARARGS
| METH_KEYWORDS
},
40845 { (char *)"Window_FitInside", (PyCFunction
) _wrap_Window_FitInside
, METH_VARARGS
| METH_KEYWORDS
},
40846 { (char *)"Window_SetSizeHints", _wrap_Window_SetSizeHints
, METH_VARARGS
},
40847 { (char *)"Window_SetVirtualSizeHints", _wrap_Window_SetVirtualSizeHints
, METH_VARARGS
},
40848 { (char *)"Window_GetMaxSize", (PyCFunction
) _wrap_Window_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
40849 { (char *)"Window_GetMinSize", (PyCFunction
) _wrap_Window_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
40850 { (char *)"Window_SetMinSize", (PyCFunction
) _wrap_Window_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
40851 { (char *)"Window_SetMaxSize", (PyCFunction
) _wrap_Window_SetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
40852 { (char *)"Window_GetMinWidth", (PyCFunction
) _wrap_Window_GetMinWidth
, METH_VARARGS
| METH_KEYWORDS
},
40853 { (char *)"Window_GetMinHeight", (PyCFunction
) _wrap_Window_GetMinHeight
, METH_VARARGS
| METH_KEYWORDS
},
40854 { (char *)"Window_GetMaxWidth", (PyCFunction
) _wrap_Window_GetMaxWidth
, METH_VARARGS
| METH_KEYWORDS
},
40855 { (char *)"Window_GetMaxHeight", (PyCFunction
) _wrap_Window_GetMaxHeight
, METH_VARARGS
| METH_KEYWORDS
},
40856 { (char *)"Window_SetVirtualSize", (PyCFunction
) _wrap_Window_SetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
40857 { (char *)"Window_SetVirtualSizeWH", (PyCFunction
) _wrap_Window_SetVirtualSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
40858 { (char *)"Window_GetVirtualSize", (PyCFunction
) _wrap_Window_GetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
40859 { (char *)"Window_GetVirtualSizeTuple", (PyCFunction
) _wrap_Window_GetVirtualSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
40860 { (char *)"Window_GetBestVirtualSize", (PyCFunction
) _wrap_Window_GetBestVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
40861 { (char *)"Window_Show", (PyCFunction
) _wrap_Window_Show
, METH_VARARGS
| METH_KEYWORDS
},
40862 { (char *)"Window_Hide", (PyCFunction
) _wrap_Window_Hide
, METH_VARARGS
| METH_KEYWORDS
},
40863 { (char *)"Window_Enable", (PyCFunction
) _wrap_Window_Enable
, METH_VARARGS
| METH_KEYWORDS
},
40864 { (char *)"Window_Disable", (PyCFunction
) _wrap_Window_Disable
, METH_VARARGS
| METH_KEYWORDS
},
40865 { (char *)"Window_IsShown", (PyCFunction
) _wrap_Window_IsShown
, METH_VARARGS
| METH_KEYWORDS
},
40866 { (char *)"Window_IsEnabled", (PyCFunction
) _wrap_Window_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
40867 { (char *)"Window_SetWindowStyleFlag", (PyCFunction
) _wrap_Window_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
40868 { (char *)"Window_GetWindowStyleFlag", (PyCFunction
) _wrap_Window_GetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
40869 { (char *)"Window_HasFlag", (PyCFunction
) _wrap_Window_HasFlag
, METH_VARARGS
| METH_KEYWORDS
},
40870 { (char *)"Window_IsRetained", (PyCFunction
) _wrap_Window_IsRetained
, METH_VARARGS
| METH_KEYWORDS
},
40871 { (char *)"Window_SetExtraStyle", (PyCFunction
) _wrap_Window_SetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
},
40872 { (char *)"Window_GetExtraStyle", (PyCFunction
) _wrap_Window_GetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
},
40873 { (char *)"Window_MakeModal", (PyCFunction
) _wrap_Window_MakeModal
, METH_VARARGS
| METH_KEYWORDS
},
40874 { (char *)"Window_SetThemeEnabled", (PyCFunction
) _wrap_Window_SetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
},
40875 { (char *)"Window_GetThemeEnabled", (PyCFunction
) _wrap_Window_GetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
},
40876 { (char *)"Window_SetFocus", (PyCFunction
) _wrap_Window_SetFocus
, METH_VARARGS
| METH_KEYWORDS
},
40877 { (char *)"Window_SetFocusFromKbd", (PyCFunction
) _wrap_Window_SetFocusFromKbd
, METH_VARARGS
| METH_KEYWORDS
},
40878 { (char *)"Window_FindFocus", (PyCFunction
) _wrap_Window_FindFocus
, METH_VARARGS
| METH_KEYWORDS
},
40879 { (char *)"Window_AcceptsFocus", (PyCFunction
) _wrap_Window_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
40880 { (char *)"Window_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_Window_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
40881 { (char *)"Window_GetDefaultItem", (PyCFunction
) _wrap_Window_GetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
40882 { (char *)"Window_SetDefaultItem", (PyCFunction
) _wrap_Window_SetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
40883 { (char *)"Window_SetTmpDefaultItem", (PyCFunction
) _wrap_Window_SetTmpDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
40884 { (char *)"Window_Navigate", (PyCFunction
) _wrap_Window_Navigate
, METH_VARARGS
| METH_KEYWORDS
},
40885 { (char *)"Window_MoveAfterInTabOrder", (PyCFunction
) _wrap_Window_MoveAfterInTabOrder
, METH_VARARGS
| METH_KEYWORDS
},
40886 { (char *)"Window_MoveBeforeInTabOrder", (PyCFunction
) _wrap_Window_MoveBeforeInTabOrder
, METH_VARARGS
| METH_KEYWORDS
},
40887 { (char *)"Window_GetChildren", (PyCFunction
) _wrap_Window_GetChildren
, METH_VARARGS
| METH_KEYWORDS
},
40888 { (char *)"Window_GetParent", (PyCFunction
) _wrap_Window_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
40889 { (char *)"Window_GetGrandParent", (PyCFunction
) _wrap_Window_GetGrandParent
, METH_VARARGS
| METH_KEYWORDS
},
40890 { (char *)"Window_IsTopLevel", (PyCFunction
) _wrap_Window_IsTopLevel
, METH_VARARGS
| METH_KEYWORDS
},
40891 { (char *)"Window_Reparent", (PyCFunction
) _wrap_Window_Reparent
, METH_VARARGS
| METH_KEYWORDS
},
40892 { (char *)"Window_AddChild", (PyCFunction
) _wrap_Window_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
40893 { (char *)"Window_RemoveChild", (PyCFunction
) _wrap_Window_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
40894 { (char *)"Window_FindWindowById", (PyCFunction
) _wrap_Window_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
},
40895 { (char *)"Window_FindWindowByName", (PyCFunction
) _wrap_Window_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
},
40896 { (char *)"Window_GetEventHandler", (PyCFunction
) _wrap_Window_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
40897 { (char *)"Window_SetEventHandler", (PyCFunction
) _wrap_Window_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
40898 { (char *)"Window_PushEventHandler", (PyCFunction
) _wrap_Window_PushEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
40899 { (char *)"Window_PopEventHandler", (PyCFunction
) _wrap_Window_PopEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
40900 { (char *)"Window_RemoveEventHandler", (PyCFunction
) _wrap_Window_RemoveEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
40901 { (char *)"Window_SetValidator", (PyCFunction
) _wrap_Window_SetValidator
, METH_VARARGS
| METH_KEYWORDS
},
40902 { (char *)"Window_GetValidator", (PyCFunction
) _wrap_Window_GetValidator
, METH_VARARGS
| METH_KEYWORDS
},
40903 { (char *)"Window_Validate", (PyCFunction
) _wrap_Window_Validate
, METH_VARARGS
| METH_KEYWORDS
},
40904 { (char *)"Window_TransferDataToWindow", (PyCFunction
) _wrap_Window_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
40905 { (char *)"Window_TransferDataFromWindow", (PyCFunction
) _wrap_Window_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
40906 { (char *)"Window_InitDialog", (PyCFunction
) _wrap_Window_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
40907 { (char *)"Window_SetAcceleratorTable", (PyCFunction
) _wrap_Window_SetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
40908 { (char *)"Window_GetAcceleratorTable", (PyCFunction
) _wrap_Window_GetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
40909 { (char *)"Window_RegisterHotKey", (PyCFunction
) _wrap_Window_RegisterHotKey
, METH_VARARGS
| METH_KEYWORDS
},
40910 { (char *)"Window_UnregisterHotKey", (PyCFunction
) _wrap_Window_UnregisterHotKey
, METH_VARARGS
| METH_KEYWORDS
},
40911 { (char *)"Window_ConvertDialogPointToPixels", (PyCFunction
) _wrap_Window_ConvertDialogPointToPixels
, METH_VARARGS
| METH_KEYWORDS
},
40912 { (char *)"Window_ConvertDialogSizeToPixels", (PyCFunction
) _wrap_Window_ConvertDialogSizeToPixels
, METH_VARARGS
| METH_KEYWORDS
},
40913 { (char *)"Window_DLG_PNT", (PyCFunction
) _wrap_Window_DLG_PNT
, METH_VARARGS
| METH_KEYWORDS
},
40914 { (char *)"Window_DLG_SZE", (PyCFunction
) _wrap_Window_DLG_SZE
, METH_VARARGS
| METH_KEYWORDS
},
40915 { (char *)"Window_ConvertPixelPointToDialog", (PyCFunction
) _wrap_Window_ConvertPixelPointToDialog
, METH_VARARGS
| METH_KEYWORDS
},
40916 { (char *)"Window_ConvertPixelSizeToDialog", (PyCFunction
) _wrap_Window_ConvertPixelSizeToDialog
, METH_VARARGS
| METH_KEYWORDS
},
40917 { (char *)"Window_WarpPointer", (PyCFunction
) _wrap_Window_WarpPointer
, METH_VARARGS
| METH_KEYWORDS
},
40918 { (char *)"Window_CaptureMouse", (PyCFunction
) _wrap_Window_CaptureMouse
, METH_VARARGS
| METH_KEYWORDS
},
40919 { (char *)"Window_ReleaseMouse", (PyCFunction
) _wrap_Window_ReleaseMouse
, METH_VARARGS
| METH_KEYWORDS
},
40920 { (char *)"Window_GetCapture", (PyCFunction
) _wrap_Window_GetCapture
, METH_VARARGS
| METH_KEYWORDS
},
40921 { (char *)"Window_HasCapture", (PyCFunction
) _wrap_Window_HasCapture
, METH_VARARGS
| METH_KEYWORDS
},
40922 { (char *)"Window_Refresh", (PyCFunction
) _wrap_Window_Refresh
, METH_VARARGS
| METH_KEYWORDS
},
40923 { (char *)"Window_RefreshRect", (PyCFunction
) _wrap_Window_RefreshRect
, METH_VARARGS
| METH_KEYWORDS
},
40924 { (char *)"Window_Update", (PyCFunction
) _wrap_Window_Update
, METH_VARARGS
| METH_KEYWORDS
},
40925 { (char *)"Window_ClearBackground", (PyCFunction
) _wrap_Window_ClearBackground
, METH_VARARGS
| METH_KEYWORDS
},
40926 { (char *)"Window_Freeze", (PyCFunction
) _wrap_Window_Freeze
, METH_VARARGS
| METH_KEYWORDS
},
40927 { (char *)"Window_Thaw", (PyCFunction
) _wrap_Window_Thaw
, METH_VARARGS
| METH_KEYWORDS
},
40928 { (char *)"Window_PrepareDC", (PyCFunction
) _wrap_Window_PrepareDC
, METH_VARARGS
| METH_KEYWORDS
},
40929 { (char *)"Window_GetUpdateRegion", (PyCFunction
) _wrap_Window_GetUpdateRegion
, METH_VARARGS
| METH_KEYWORDS
},
40930 { (char *)"Window_GetUpdateClientRect", (PyCFunction
) _wrap_Window_GetUpdateClientRect
, METH_VARARGS
| METH_KEYWORDS
},
40931 { (char *)"Window_IsExposed", (PyCFunction
) _wrap_Window_IsExposed
, METH_VARARGS
| METH_KEYWORDS
},
40932 { (char *)"Window_IsExposedPoint", (PyCFunction
) _wrap_Window_IsExposedPoint
, METH_VARARGS
| METH_KEYWORDS
},
40933 { (char *)"Window_IsExposedRect", (PyCFunction
) _wrap_Window_IsExposedRect
, METH_VARARGS
| METH_KEYWORDS
},
40934 { (char *)"Window_GetDefaultAttributes", (PyCFunction
) _wrap_Window_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
40935 { (char *)"Window_GetClassDefaultAttributes", (PyCFunction
) _wrap_Window_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
40936 { (char *)"Window_SetBackgroundColour", (PyCFunction
) _wrap_Window_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
40937 { (char *)"Window_SetOwnBackgroundColour", (PyCFunction
) _wrap_Window_SetOwnBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
40938 { (char *)"Window_SetForegroundColour", (PyCFunction
) _wrap_Window_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
40939 { (char *)"Window_SetOwnForegroundColour", (PyCFunction
) _wrap_Window_SetOwnForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
40940 { (char *)"Window_GetBackgroundColour", (PyCFunction
) _wrap_Window_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
40941 { (char *)"Window_GetForegroundColour", (PyCFunction
) _wrap_Window_GetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
40942 { (char *)"Window_SetCursor", (PyCFunction
) _wrap_Window_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
40943 { (char *)"Window_GetCursor", (PyCFunction
) _wrap_Window_GetCursor
, METH_VARARGS
| METH_KEYWORDS
},
40944 { (char *)"Window_SetFont", (PyCFunction
) _wrap_Window_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
40945 { (char *)"Window_SetOwnFont", (PyCFunction
) _wrap_Window_SetOwnFont
, METH_VARARGS
| METH_KEYWORDS
},
40946 { (char *)"Window_GetFont", (PyCFunction
) _wrap_Window_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
40947 { (char *)"Window_SetCaret", (PyCFunction
) _wrap_Window_SetCaret
, METH_VARARGS
| METH_KEYWORDS
},
40948 { (char *)"Window_GetCaret", (PyCFunction
) _wrap_Window_GetCaret
, METH_VARARGS
| METH_KEYWORDS
},
40949 { (char *)"Window_GetCharHeight", (PyCFunction
) _wrap_Window_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
},
40950 { (char *)"Window_GetCharWidth", (PyCFunction
) _wrap_Window_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
},
40951 { (char *)"Window_GetTextExtent", (PyCFunction
) _wrap_Window_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
40952 { (char *)"Window_GetFullTextExtent", (PyCFunction
) _wrap_Window_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
40953 { (char *)"Window_ClientToScreenXY", (PyCFunction
) _wrap_Window_ClientToScreenXY
, METH_VARARGS
| METH_KEYWORDS
},
40954 { (char *)"Window_ScreenToClientXY", (PyCFunction
) _wrap_Window_ScreenToClientXY
, METH_VARARGS
| METH_KEYWORDS
},
40955 { (char *)"Window_ClientToScreen", (PyCFunction
) _wrap_Window_ClientToScreen
, METH_VARARGS
| METH_KEYWORDS
},
40956 { (char *)"Window_ScreenToClient", (PyCFunction
) _wrap_Window_ScreenToClient
, METH_VARARGS
| METH_KEYWORDS
},
40957 { (char *)"Window_HitTestXY", (PyCFunction
) _wrap_Window_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
},
40958 { (char *)"Window_HitTest", (PyCFunction
) _wrap_Window_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
40959 { (char *)"Window_GetBorder", _wrap_Window_GetBorder
, METH_VARARGS
},
40960 { (char *)"Window_UpdateWindowUI", (PyCFunction
) _wrap_Window_UpdateWindowUI
, METH_VARARGS
| METH_KEYWORDS
},
40961 { (char *)"Window_PopupMenuXY", (PyCFunction
) _wrap_Window_PopupMenuXY
, METH_VARARGS
| METH_KEYWORDS
},
40962 { (char *)"Window_PopupMenu", (PyCFunction
) _wrap_Window_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
},
40963 { (char *)"Window_GetHandle", (PyCFunction
) _wrap_Window_GetHandle
, METH_VARARGS
| METH_KEYWORDS
},
40964 { (char *)"Window_HasScrollbar", (PyCFunction
) _wrap_Window_HasScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
40965 { (char *)"Window_SetScrollbar", (PyCFunction
) _wrap_Window_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
40966 { (char *)"Window_SetScrollPos", (PyCFunction
) _wrap_Window_SetScrollPos
, METH_VARARGS
| METH_KEYWORDS
},
40967 { (char *)"Window_GetScrollPos", (PyCFunction
) _wrap_Window_GetScrollPos
, METH_VARARGS
| METH_KEYWORDS
},
40968 { (char *)"Window_GetScrollThumb", (PyCFunction
) _wrap_Window_GetScrollThumb
, METH_VARARGS
| METH_KEYWORDS
},
40969 { (char *)"Window_GetScrollRange", (PyCFunction
) _wrap_Window_GetScrollRange
, METH_VARARGS
| METH_KEYWORDS
},
40970 { (char *)"Window_ScrollWindow", (PyCFunction
) _wrap_Window_ScrollWindow
, METH_VARARGS
| METH_KEYWORDS
},
40971 { (char *)"Window_ScrollLines", (PyCFunction
) _wrap_Window_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
},
40972 { (char *)"Window_ScrollPages", (PyCFunction
) _wrap_Window_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
},
40973 { (char *)"Window_LineUp", (PyCFunction
) _wrap_Window_LineUp
, METH_VARARGS
| METH_KEYWORDS
},
40974 { (char *)"Window_LineDown", (PyCFunction
) _wrap_Window_LineDown
, METH_VARARGS
| METH_KEYWORDS
},
40975 { (char *)"Window_PageUp", (PyCFunction
) _wrap_Window_PageUp
, METH_VARARGS
| METH_KEYWORDS
},
40976 { (char *)"Window_PageDown", (PyCFunction
) _wrap_Window_PageDown
, METH_VARARGS
| METH_KEYWORDS
},
40977 { (char *)"Window_SetHelpText", (PyCFunction
) _wrap_Window_SetHelpText
, METH_VARARGS
| METH_KEYWORDS
},
40978 { (char *)"Window_SetHelpTextForId", (PyCFunction
) _wrap_Window_SetHelpTextForId
, METH_VARARGS
| METH_KEYWORDS
},
40979 { (char *)"Window_GetHelpText", (PyCFunction
) _wrap_Window_GetHelpText
, METH_VARARGS
| METH_KEYWORDS
},
40980 { (char *)"Window_SetToolTipString", (PyCFunction
) _wrap_Window_SetToolTipString
, METH_VARARGS
| METH_KEYWORDS
},
40981 { (char *)"Window_SetToolTip", (PyCFunction
) _wrap_Window_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
40982 { (char *)"Window_GetToolTip", (PyCFunction
) _wrap_Window_GetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
40983 { (char *)"Window_SetDropTarget", (PyCFunction
) _wrap_Window_SetDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
40984 { (char *)"Window_GetDropTarget", (PyCFunction
) _wrap_Window_GetDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
40985 { (char *)"Window_SetConstraints", (PyCFunction
) _wrap_Window_SetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
40986 { (char *)"Window_GetConstraints", (PyCFunction
) _wrap_Window_GetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
40987 { (char *)"Window_SetAutoLayout", (PyCFunction
) _wrap_Window_SetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
},
40988 { (char *)"Window_GetAutoLayout", (PyCFunction
) _wrap_Window_GetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
},
40989 { (char *)"Window_Layout", (PyCFunction
) _wrap_Window_Layout
, METH_VARARGS
| METH_KEYWORDS
},
40990 { (char *)"Window_SetSizer", (PyCFunction
) _wrap_Window_SetSizer
, METH_VARARGS
| METH_KEYWORDS
},
40991 { (char *)"Window_SetSizerAndFit", (PyCFunction
) _wrap_Window_SetSizerAndFit
, METH_VARARGS
| METH_KEYWORDS
},
40992 { (char *)"Window_GetSizer", (PyCFunction
) _wrap_Window_GetSizer
, METH_VARARGS
| METH_KEYWORDS
},
40993 { (char *)"Window_SetContainingSizer", (PyCFunction
) _wrap_Window_SetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
},
40994 { (char *)"Window_GetContainingSizer", (PyCFunction
) _wrap_Window_GetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
},
40995 { (char *)"Window_InheritAttributes", (PyCFunction
) _wrap_Window_InheritAttributes
, METH_VARARGS
| METH_KEYWORDS
},
40996 { (char *)"Window_ShouldInheritColours", (PyCFunction
) _wrap_Window_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
},
40997 { (char *)"Window_swigregister", Window_swigregister
, METH_VARARGS
},
40998 { (char *)"FindWindowById", (PyCFunction
) _wrap_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
},
40999 { (char *)"FindWindowByName", (PyCFunction
) _wrap_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
},
41000 { (char *)"FindWindowByLabel", (PyCFunction
) _wrap_FindWindowByLabel
, METH_VARARGS
| METH_KEYWORDS
},
41001 { (char *)"Window_FromHWND", (PyCFunction
) _wrap_Window_FromHWND
, METH_VARARGS
| METH_KEYWORDS
},
41002 { (char *)"new_Validator", (PyCFunction
) _wrap_new_Validator
, METH_VARARGS
| METH_KEYWORDS
},
41003 { (char *)"Validator_Clone", (PyCFunction
) _wrap_Validator_Clone
, METH_VARARGS
| METH_KEYWORDS
},
41004 { (char *)"Validator_Validate", (PyCFunction
) _wrap_Validator_Validate
, METH_VARARGS
| METH_KEYWORDS
},
41005 { (char *)"Validator_TransferToWindow", (PyCFunction
) _wrap_Validator_TransferToWindow
, METH_VARARGS
| METH_KEYWORDS
},
41006 { (char *)"Validator_TransferFromWindow", (PyCFunction
) _wrap_Validator_TransferFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
41007 { (char *)"Validator_GetWindow", (PyCFunction
) _wrap_Validator_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
41008 { (char *)"Validator_SetWindow", (PyCFunction
) _wrap_Validator_SetWindow
, METH_VARARGS
| METH_KEYWORDS
},
41009 { (char *)"Validator_IsSilent", (PyCFunction
) _wrap_Validator_IsSilent
, METH_VARARGS
| METH_KEYWORDS
},
41010 { (char *)"Validator_SetBellOnError", (PyCFunction
) _wrap_Validator_SetBellOnError
, METH_VARARGS
| METH_KEYWORDS
},
41011 { (char *)"Validator_swigregister", Validator_swigregister
, METH_VARARGS
},
41012 { (char *)"new_PyValidator", (PyCFunction
) _wrap_new_PyValidator
, METH_VARARGS
| METH_KEYWORDS
},
41013 { (char *)"PyValidator__setCallbackInfo", (PyCFunction
) _wrap_PyValidator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
41014 { (char *)"PyValidator_swigregister", PyValidator_swigregister
, METH_VARARGS
},
41015 { (char *)"new_Menu", (PyCFunction
) _wrap_new_Menu
, METH_VARARGS
| METH_KEYWORDS
},
41016 { (char *)"Menu_Append", (PyCFunction
) _wrap_Menu_Append
, METH_VARARGS
| METH_KEYWORDS
},
41017 { (char *)"Menu_AppendSeparator", (PyCFunction
) _wrap_Menu_AppendSeparator
, METH_VARARGS
| METH_KEYWORDS
},
41018 { (char *)"Menu_AppendCheckItem", (PyCFunction
) _wrap_Menu_AppendCheckItem
, METH_VARARGS
| METH_KEYWORDS
},
41019 { (char *)"Menu_AppendRadioItem", (PyCFunction
) _wrap_Menu_AppendRadioItem
, METH_VARARGS
| METH_KEYWORDS
},
41020 { (char *)"Menu_AppendMenu", (PyCFunction
) _wrap_Menu_AppendMenu
, METH_VARARGS
| METH_KEYWORDS
},
41021 { (char *)"Menu_AppendItem", (PyCFunction
) _wrap_Menu_AppendItem
, METH_VARARGS
| METH_KEYWORDS
},
41022 { (char *)"Menu_Break", (PyCFunction
) _wrap_Menu_Break
, METH_VARARGS
| METH_KEYWORDS
},
41023 { (char *)"Menu_InsertItem", (PyCFunction
) _wrap_Menu_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
41024 { (char *)"Menu_Insert", (PyCFunction
) _wrap_Menu_Insert
, METH_VARARGS
| METH_KEYWORDS
},
41025 { (char *)"Menu_InsertSeparator", (PyCFunction
) _wrap_Menu_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
},
41026 { (char *)"Menu_InsertCheckItem", (PyCFunction
) _wrap_Menu_InsertCheckItem
, METH_VARARGS
| METH_KEYWORDS
},
41027 { (char *)"Menu_InsertRadioItem", (PyCFunction
) _wrap_Menu_InsertRadioItem
, METH_VARARGS
| METH_KEYWORDS
},
41028 { (char *)"Menu_InsertMenu", (PyCFunction
) _wrap_Menu_InsertMenu
, METH_VARARGS
| METH_KEYWORDS
},
41029 { (char *)"Menu_PrependItem", (PyCFunction
) _wrap_Menu_PrependItem
, METH_VARARGS
| METH_KEYWORDS
},
41030 { (char *)"Menu_Prepend", (PyCFunction
) _wrap_Menu_Prepend
, METH_VARARGS
| METH_KEYWORDS
},
41031 { (char *)"Menu_PrependSeparator", (PyCFunction
) _wrap_Menu_PrependSeparator
, METH_VARARGS
| METH_KEYWORDS
},
41032 { (char *)"Menu_PrependCheckItem", (PyCFunction
) _wrap_Menu_PrependCheckItem
, METH_VARARGS
| METH_KEYWORDS
},
41033 { (char *)"Menu_PrependRadioItem", (PyCFunction
) _wrap_Menu_PrependRadioItem
, METH_VARARGS
| METH_KEYWORDS
},
41034 { (char *)"Menu_PrependMenu", (PyCFunction
) _wrap_Menu_PrependMenu
, METH_VARARGS
| METH_KEYWORDS
},
41035 { (char *)"Menu_Remove", (PyCFunction
) _wrap_Menu_Remove
, METH_VARARGS
| METH_KEYWORDS
},
41036 { (char *)"Menu_RemoveItem", (PyCFunction
) _wrap_Menu_RemoveItem
, METH_VARARGS
| METH_KEYWORDS
},
41037 { (char *)"Menu_Delete", (PyCFunction
) _wrap_Menu_Delete
, METH_VARARGS
| METH_KEYWORDS
},
41038 { (char *)"Menu_DeleteItem", (PyCFunction
) _wrap_Menu_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
},
41039 { (char *)"Menu_Destroy", (PyCFunction
) _wrap_Menu_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
41040 { (char *)"Menu_DestroyId", (PyCFunction
) _wrap_Menu_DestroyId
, METH_VARARGS
| METH_KEYWORDS
},
41041 { (char *)"Menu_DestroyItem", (PyCFunction
) _wrap_Menu_DestroyItem
, METH_VARARGS
| METH_KEYWORDS
},
41042 { (char *)"Menu_GetMenuItemCount", (PyCFunction
) _wrap_Menu_GetMenuItemCount
, METH_VARARGS
| METH_KEYWORDS
},
41043 { (char *)"Menu_GetMenuItems", (PyCFunction
) _wrap_Menu_GetMenuItems
, METH_VARARGS
| METH_KEYWORDS
},
41044 { (char *)"Menu_FindItem", (PyCFunction
) _wrap_Menu_FindItem
, METH_VARARGS
| METH_KEYWORDS
},
41045 { (char *)"Menu_FindItemById", (PyCFunction
) _wrap_Menu_FindItemById
, METH_VARARGS
| METH_KEYWORDS
},
41046 { (char *)"Menu_FindItemByPosition", (PyCFunction
) _wrap_Menu_FindItemByPosition
, METH_VARARGS
| METH_KEYWORDS
},
41047 { (char *)"Menu_Enable", (PyCFunction
) _wrap_Menu_Enable
, METH_VARARGS
| METH_KEYWORDS
},
41048 { (char *)"Menu_IsEnabled", (PyCFunction
) _wrap_Menu_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
41049 { (char *)"Menu_Check", (PyCFunction
) _wrap_Menu_Check
, METH_VARARGS
| METH_KEYWORDS
},
41050 { (char *)"Menu_IsChecked", (PyCFunction
) _wrap_Menu_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
41051 { (char *)"Menu_SetLabel", (PyCFunction
) _wrap_Menu_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
41052 { (char *)"Menu_GetLabel", (PyCFunction
) _wrap_Menu_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
41053 { (char *)"Menu_SetHelpString", (PyCFunction
) _wrap_Menu_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
41054 { (char *)"Menu_GetHelpString", (PyCFunction
) _wrap_Menu_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
41055 { (char *)"Menu_SetTitle", (PyCFunction
) _wrap_Menu_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
41056 { (char *)"Menu_GetTitle", (PyCFunction
) _wrap_Menu_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
41057 { (char *)"Menu_SetEventHandler", (PyCFunction
) _wrap_Menu_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
41058 { (char *)"Menu_GetEventHandler", (PyCFunction
) _wrap_Menu_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
41059 { (char *)"Menu_SetInvokingWindow", (PyCFunction
) _wrap_Menu_SetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
},
41060 { (char *)"Menu_GetInvokingWindow", (PyCFunction
) _wrap_Menu_GetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
},
41061 { (char *)"Menu_GetStyle", (PyCFunction
) _wrap_Menu_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
41062 { (char *)"Menu_UpdateUI", (PyCFunction
) _wrap_Menu_UpdateUI
, METH_VARARGS
| METH_KEYWORDS
},
41063 { (char *)"Menu_GetMenuBar", (PyCFunction
) _wrap_Menu_GetMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
41064 { (char *)"Menu_Attach", (PyCFunction
) _wrap_Menu_Attach
, METH_VARARGS
| METH_KEYWORDS
},
41065 { (char *)"Menu_Detach", (PyCFunction
) _wrap_Menu_Detach
, METH_VARARGS
| METH_KEYWORDS
},
41066 { (char *)"Menu_IsAttached", (PyCFunction
) _wrap_Menu_IsAttached
, METH_VARARGS
| METH_KEYWORDS
},
41067 { (char *)"Menu_SetParent", (PyCFunction
) _wrap_Menu_SetParent
, METH_VARARGS
| METH_KEYWORDS
},
41068 { (char *)"Menu_GetParent", (PyCFunction
) _wrap_Menu_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
41069 { (char *)"Menu_swigregister", Menu_swigregister
, METH_VARARGS
},
41070 { (char *)"new_MenuBar", (PyCFunction
) _wrap_new_MenuBar
, METH_VARARGS
| METH_KEYWORDS
},
41071 { (char *)"MenuBar_Append", (PyCFunction
) _wrap_MenuBar_Append
, METH_VARARGS
| METH_KEYWORDS
},
41072 { (char *)"MenuBar_Insert", (PyCFunction
) _wrap_MenuBar_Insert
, METH_VARARGS
| METH_KEYWORDS
},
41073 { (char *)"MenuBar_GetMenuCount", (PyCFunction
) _wrap_MenuBar_GetMenuCount
, METH_VARARGS
| METH_KEYWORDS
},
41074 { (char *)"MenuBar_GetMenu", (PyCFunction
) _wrap_MenuBar_GetMenu
, METH_VARARGS
| METH_KEYWORDS
},
41075 { (char *)"MenuBar_Replace", (PyCFunction
) _wrap_MenuBar_Replace
, METH_VARARGS
| METH_KEYWORDS
},
41076 { (char *)"MenuBar_Remove", (PyCFunction
) _wrap_MenuBar_Remove
, METH_VARARGS
| METH_KEYWORDS
},
41077 { (char *)"MenuBar_EnableTop", (PyCFunction
) _wrap_MenuBar_EnableTop
, METH_VARARGS
| METH_KEYWORDS
},
41078 { (char *)"MenuBar_IsEnabledTop", (PyCFunction
) _wrap_MenuBar_IsEnabledTop
, METH_VARARGS
| METH_KEYWORDS
},
41079 { (char *)"MenuBar_SetLabelTop", (PyCFunction
) _wrap_MenuBar_SetLabelTop
, METH_VARARGS
| METH_KEYWORDS
},
41080 { (char *)"MenuBar_GetLabelTop", (PyCFunction
) _wrap_MenuBar_GetLabelTop
, METH_VARARGS
| METH_KEYWORDS
},
41081 { (char *)"MenuBar_FindMenuItem", (PyCFunction
) _wrap_MenuBar_FindMenuItem
, METH_VARARGS
| METH_KEYWORDS
},
41082 { (char *)"MenuBar_FindItemById", (PyCFunction
) _wrap_MenuBar_FindItemById
, METH_VARARGS
| METH_KEYWORDS
},
41083 { (char *)"MenuBar_FindMenu", (PyCFunction
) _wrap_MenuBar_FindMenu
, METH_VARARGS
| METH_KEYWORDS
},
41084 { (char *)"MenuBar_Enable", (PyCFunction
) _wrap_MenuBar_Enable
, METH_VARARGS
| METH_KEYWORDS
},
41085 { (char *)"MenuBar_Check", (PyCFunction
) _wrap_MenuBar_Check
, METH_VARARGS
| METH_KEYWORDS
},
41086 { (char *)"MenuBar_IsChecked", (PyCFunction
) _wrap_MenuBar_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
41087 { (char *)"MenuBar_IsEnabled", (PyCFunction
) _wrap_MenuBar_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
41088 { (char *)"MenuBar_SetLabel", (PyCFunction
) _wrap_MenuBar_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
41089 { (char *)"MenuBar_GetLabel", (PyCFunction
) _wrap_MenuBar_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
41090 { (char *)"MenuBar_SetHelpString", (PyCFunction
) _wrap_MenuBar_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
41091 { (char *)"MenuBar_GetHelpString", (PyCFunction
) _wrap_MenuBar_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
41092 { (char *)"MenuBar_GetFrame", (PyCFunction
) _wrap_MenuBar_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
41093 { (char *)"MenuBar_IsAttached", (PyCFunction
) _wrap_MenuBar_IsAttached
, METH_VARARGS
| METH_KEYWORDS
},
41094 { (char *)"MenuBar_Attach", (PyCFunction
) _wrap_MenuBar_Attach
, METH_VARARGS
| METH_KEYWORDS
},
41095 { (char *)"MenuBar_Detach", (PyCFunction
) _wrap_MenuBar_Detach
, METH_VARARGS
| METH_KEYWORDS
},
41096 { (char *)"MenuBar_swigregister", MenuBar_swigregister
, METH_VARARGS
},
41097 { (char *)"new_MenuItem", (PyCFunction
) _wrap_new_MenuItem
, METH_VARARGS
| METH_KEYWORDS
},
41098 { (char *)"MenuItem_GetMenu", (PyCFunction
) _wrap_MenuItem_GetMenu
, METH_VARARGS
| METH_KEYWORDS
},
41099 { (char *)"MenuItem_SetMenu", (PyCFunction
) _wrap_MenuItem_SetMenu
, METH_VARARGS
| METH_KEYWORDS
},
41100 { (char *)"MenuItem_SetId", (PyCFunction
) _wrap_MenuItem_SetId
, METH_VARARGS
| METH_KEYWORDS
},
41101 { (char *)"MenuItem_GetId", (PyCFunction
) _wrap_MenuItem_GetId
, METH_VARARGS
| METH_KEYWORDS
},
41102 { (char *)"MenuItem_IsSeparator", (PyCFunction
) _wrap_MenuItem_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
},
41103 { (char *)"MenuItem_SetText", (PyCFunction
) _wrap_MenuItem_SetText
, METH_VARARGS
| METH_KEYWORDS
},
41104 { (char *)"MenuItem_GetLabel", (PyCFunction
) _wrap_MenuItem_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
41105 { (char *)"MenuItem_GetText", (PyCFunction
) _wrap_MenuItem_GetText
, METH_VARARGS
| METH_KEYWORDS
},
41106 { (char *)"MenuItem_GetLabelFromText", (PyCFunction
) _wrap_MenuItem_GetLabelFromText
, METH_VARARGS
| METH_KEYWORDS
},
41107 { (char *)"MenuItem_GetKind", (PyCFunction
) _wrap_MenuItem_GetKind
, METH_VARARGS
| METH_KEYWORDS
},
41108 { (char *)"MenuItem_SetKind", (PyCFunction
) _wrap_MenuItem_SetKind
, METH_VARARGS
| METH_KEYWORDS
},
41109 { (char *)"MenuItem_SetCheckable", (PyCFunction
) _wrap_MenuItem_SetCheckable
, METH_VARARGS
| METH_KEYWORDS
},
41110 { (char *)"MenuItem_IsCheckable", (PyCFunction
) _wrap_MenuItem_IsCheckable
, METH_VARARGS
| METH_KEYWORDS
},
41111 { (char *)"MenuItem_IsSubMenu", (PyCFunction
) _wrap_MenuItem_IsSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
41112 { (char *)"MenuItem_SetSubMenu", (PyCFunction
) _wrap_MenuItem_SetSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
41113 { (char *)"MenuItem_GetSubMenu", (PyCFunction
) _wrap_MenuItem_GetSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
41114 { (char *)"MenuItem_Enable", (PyCFunction
) _wrap_MenuItem_Enable
, METH_VARARGS
| METH_KEYWORDS
},
41115 { (char *)"MenuItem_IsEnabled", (PyCFunction
) _wrap_MenuItem_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
41116 { (char *)"MenuItem_Check", (PyCFunction
) _wrap_MenuItem_Check
, METH_VARARGS
| METH_KEYWORDS
},
41117 { (char *)"MenuItem_IsChecked", (PyCFunction
) _wrap_MenuItem_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
41118 { (char *)"MenuItem_Toggle", (PyCFunction
) _wrap_MenuItem_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
41119 { (char *)"MenuItem_SetHelp", (PyCFunction
) _wrap_MenuItem_SetHelp
, METH_VARARGS
| METH_KEYWORDS
},
41120 { (char *)"MenuItem_GetHelp", (PyCFunction
) _wrap_MenuItem_GetHelp
, METH_VARARGS
| METH_KEYWORDS
},
41121 { (char *)"MenuItem_GetAccel", (PyCFunction
) _wrap_MenuItem_GetAccel
, METH_VARARGS
| METH_KEYWORDS
},
41122 { (char *)"MenuItem_SetAccel", (PyCFunction
) _wrap_MenuItem_SetAccel
, METH_VARARGS
| METH_KEYWORDS
},
41123 { (char *)"MenuItem_GetDefaultMarginWidth", (PyCFunction
) _wrap_MenuItem_GetDefaultMarginWidth
, METH_VARARGS
| METH_KEYWORDS
},
41124 { (char *)"MenuItem_SetBitmap", (PyCFunction
) _wrap_MenuItem_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
41125 { (char *)"MenuItem_GetBitmap", (PyCFunction
) _wrap_MenuItem_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
41126 { (char *)"MenuItem_swigregister", MenuItem_swigregister
, METH_VARARGS
},
41127 { (char *)"new_Control", (PyCFunction
) _wrap_new_Control
, METH_VARARGS
| METH_KEYWORDS
},
41128 { (char *)"new_PreControl", (PyCFunction
) _wrap_new_PreControl
, METH_VARARGS
| METH_KEYWORDS
},
41129 { (char *)"Control_Create", (PyCFunction
) _wrap_Control_Create
, METH_VARARGS
| METH_KEYWORDS
},
41130 { (char *)"Control_Command", (PyCFunction
) _wrap_Control_Command
, METH_VARARGS
| METH_KEYWORDS
},
41131 { (char *)"Control_GetLabel", (PyCFunction
) _wrap_Control_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
41132 { (char *)"Control_SetLabel", (PyCFunction
) _wrap_Control_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
41133 { (char *)"Control_GetClassDefaultAttributes", (PyCFunction
) _wrap_Control_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
41134 { (char *)"Control_swigregister", Control_swigregister
, METH_VARARGS
},
41135 { (char *)"ItemContainer_Append", (PyCFunction
) _wrap_ItemContainer_Append
, METH_VARARGS
| METH_KEYWORDS
},
41136 { (char *)"ItemContainer_AppendItems", (PyCFunction
) _wrap_ItemContainer_AppendItems
, METH_VARARGS
| METH_KEYWORDS
},
41137 { (char *)"ItemContainer_Insert", (PyCFunction
) _wrap_ItemContainer_Insert
, METH_VARARGS
| METH_KEYWORDS
},
41138 { (char *)"ItemContainer_Clear", (PyCFunction
) _wrap_ItemContainer_Clear
, METH_VARARGS
| METH_KEYWORDS
},
41139 { (char *)"ItemContainer_Delete", (PyCFunction
) _wrap_ItemContainer_Delete
, METH_VARARGS
| METH_KEYWORDS
},
41140 { (char *)"ItemContainer_GetCount", (PyCFunction
) _wrap_ItemContainer_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
41141 { (char *)"ItemContainer_IsEmpty", (PyCFunction
) _wrap_ItemContainer_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
},
41142 { (char *)"ItemContainer_GetString", (PyCFunction
) _wrap_ItemContainer_GetString
, METH_VARARGS
| METH_KEYWORDS
},
41143 { (char *)"ItemContainer_GetStrings", (PyCFunction
) _wrap_ItemContainer_GetStrings
, METH_VARARGS
| METH_KEYWORDS
},
41144 { (char *)"ItemContainer_SetString", (PyCFunction
) _wrap_ItemContainer_SetString
, METH_VARARGS
| METH_KEYWORDS
},
41145 { (char *)"ItemContainer_FindString", (PyCFunction
) _wrap_ItemContainer_FindString
, METH_VARARGS
| METH_KEYWORDS
},
41146 { (char *)"ItemContainer_Select", (PyCFunction
) _wrap_ItemContainer_Select
, METH_VARARGS
| METH_KEYWORDS
},
41147 { (char *)"ItemContainer_GetSelection", (PyCFunction
) _wrap_ItemContainer_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
41148 { (char *)"ItemContainer_GetStringSelection", (PyCFunction
) _wrap_ItemContainer_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
41149 { (char *)"ItemContainer_GetClientData", (PyCFunction
) _wrap_ItemContainer_GetClientData
, METH_VARARGS
| METH_KEYWORDS
},
41150 { (char *)"ItemContainer_SetClientData", (PyCFunction
) _wrap_ItemContainer_SetClientData
, METH_VARARGS
| METH_KEYWORDS
},
41151 { (char *)"ItemContainer_swigregister", ItemContainer_swigregister
, METH_VARARGS
},
41152 { (char *)"ControlWithItems_swigregister", ControlWithItems_swigregister
, METH_VARARGS
},
41153 { (char *)"new_SizerItem", (PyCFunction
) _wrap_new_SizerItem
, METH_VARARGS
| METH_KEYWORDS
},
41154 { (char *)"new_SizerItemWindow", (PyCFunction
) _wrap_new_SizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
},
41155 { (char *)"new_SizerItemSpacer", (PyCFunction
) _wrap_new_SizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
},
41156 { (char *)"new_SizerItemSizer", (PyCFunction
) _wrap_new_SizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
},
41157 { (char *)"SizerItem_DeleteWindows", (PyCFunction
) _wrap_SizerItem_DeleteWindows
, METH_VARARGS
| METH_KEYWORDS
},
41158 { (char *)"SizerItem_DetachSizer", (PyCFunction
) _wrap_SizerItem_DetachSizer
, METH_VARARGS
| METH_KEYWORDS
},
41159 { (char *)"SizerItem_GetSize", (PyCFunction
) _wrap_SizerItem_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
41160 { (char *)"SizerItem_CalcMin", (PyCFunction
) _wrap_SizerItem_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
41161 { (char *)"SizerItem_SetDimension", (PyCFunction
) _wrap_SizerItem_SetDimension
, METH_VARARGS
| METH_KEYWORDS
},
41162 { (char *)"SizerItem_GetMinSize", (PyCFunction
) _wrap_SizerItem_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
41163 { (char *)"SizerItem_GetMinSizeWithBorder", (PyCFunction
) _wrap_SizerItem_GetMinSizeWithBorder
, METH_VARARGS
| METH_KEYWORDS
},
41164 { (char *)"SizerItem_SetInitSize", (PyCFunction
) _wrap_SizerItem_SetInitSize
, METH_VARARGS
| METH_KEYWORDS
},
41165 { (char *)"SizerItem_SetRatioWH", (PyCFunction
) _wrap_SizerItem_SetRatioWH
, METH_VARARGS
| METH_KEYWORDS
},
41166 { (char *)"SizerItem_SetRatioSize", (PyCFunction
) _wrap_SizerItem_SetRatioSize
, METH_VARARGS
| METH_KEYWORDS
},
41167 { (char *)"SizerItem_SetRatio", (PyCFunction
) _wrap_SizerItem_SetRatio
, METH_VARARGS
| METH_KEYWORDS
},
41168 { (char *)"SizerItem_GetRatio", (PyCFunction
) _wrap_SizerItem_GetRatio
, METH_VARARGS
| METH_KEYWORDS
},
41169 { (char *)"SizerItem_IsWindow", (PyCFunction
) _wrap_SizerItem_IsWindow
, METH_VARARGS
| METH_KEYWORDS
},
41170 { (char *)"SizerItem_IsSizer", (PyCFunction
) _wrap_SizerItem_IsSizer
, METH_VARARGS
| METH_KEYWORDS
},
41171 { (char *)"SizerItem_IsSpacer", (PyCFunction
) _wrap_SizerItem_IsSpacer
, METH_VARARGS
| METH_KEYWORDS
},
41172 { (char *)"SizerItem_SetProportion", (PyCFunction
) _wrap_SizerItem_SetProportion
, METH_VARARGS
| METH_KEYWORDS
},
41173 { (char *)"SizerItem_GetProportion", (PyCFunction
) _wrap_SizerItem_GetProportion
, METH_VARARGS
| METH_KEYWORDS
},
41174 { (char *)"SizerItem_SetFlag", (PyCFunction
) _wrap_SizerItem_SetFlag
, METH_VARARGS
| METH_KEYWORDS
},
41175 { (char *)"SizerItem_GetFlag", (PyCFunction
) _wrap_SizerItem_GetFlag
, METH_VARARGS
| METH_KEYWORDS
},
41176 { (char *)"SizerItem_SetBorder", (PyCFunction
) _wrap_SizerItem_SetBorder
, METH_VARARGS
| METH_KEYWORDS
},
41177 { (char *)"SizerItem_GetBorder", (PyCFunction
) _wrap_SizerItem_GetBorder
, METH_VARARGS
| METH_KEYWORDS
},
41178 { (char *)"SizerItem_GetWindow", (PyCFunction
) _wrap_SizerItem_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
41179 { (char *)"SizerItem_SetWindow", (PyCFunction
) _wrap_SizerItem_SetWindow
, METH_VARARGS
| METH_KEYWORDS
},
41180 { (char *)"SizerItem_GetSizer", (PyCFunction
) _wrap_SizerItem_GetSizer
, METH_VARARGS
| METH_KEYWORDS
},
41181 { (char *)"SizerItem_SetSizer", (PyCFunction
) _wrap_SizerItem_SetSizer
, METH_VARARGS
| METH_KEYWORDS
},
41182 { (char *)"SizerItem_GetSpacer", (PyCFunction
) _wrap_SizerItem_GetSpacer
, METH_VARARGS
| METH_KEYWORDS
},
41183 { (char *)"SizerItem_SetSpacer", (PyCFunction
) _wrap_SizerItem_SetSpacer
, METH_VARARGS
| METH_KEYWORDS
},
41184 { (char *)"SizerItem_Show", (PyCFunction
) _wrap_SizerItem_Show
, METH_VARARGS
| METH_KEYWORDS
},
41185 { (char *)"SizerItem_IsShown", (PyCFunction
) _wrap_SizerItem_IsShown
, METH_VARARGS
| METH_KEYWORDS
},
41186 { (char *)"SizerItem_GetPosition", (PyCFunction
) _wrap_SizerItem_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
41187 { (char *)"SizerItem_GetUserData", (PyCFunction
) _wrap_SizerItem_GetUserData
, METH_VARARGS
| METH_KEYWORDS
},
41188 { (char *)"SizerItem_swigregister", SizerItem_swigregister
, METH_VARARGS
},
41189 { (char *)"Sizer__setOORInfo", (PyCFunction
) _wrap_Sizer__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
},
41190 { (char *)"Sizer_Add", (PyCFunction
) _wrap_Sizer_Add
, METH_VARARGS
| METH_KEYWORDS
},
41191 { (char *)"Sizer_Insert", (PyCFunction
) _wrap_Sizer_Insert
, METH_VARARGS
| METH_KEYWORDS
},
41192 { (char *)"Sizer_Prepend", (PyCFunction
) _wrap_Sizer_Prepend
, METH_VARARGS
| METH_KEYWORDS
},
41193 { (char *)"Sizer_Remove", (PyCFunction
) _wrap_Sizer_Remove
, METH_VARARGS
| METH_KEYWORDS
},
41194 { (char *)"Sizer_Detach", (PyCFunction
) _wrap_Sizer_Detach
, METH_VARARGS
| METH_KEYWORDS
},
41195 { (char *)"Sizer__SetItemMinSize", (PyCFunction
) _wrap_Sizer__SetItemMinSize
, METH_VARARGS
| METH_KEYWORDS
},
41196 { (char *)"Sizer_AddItem", (PyCFunction
) _wrap_Sizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
},
41197 { (char *)"Sizer_InsertItem", (PyCFunction
) _wrap_Sizer_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
41198 { (char *)"Sizer_PrependItem", (PyCFunction
) _wrap_Sizer_PrependItem
, METH_VARARGS
| METH_KEYWORDS
},
41199 { (char *)"Sizer_SetDimension", (PyCFunction
) _wrap_Sizer_SetDimension
, METH_VARARGS
| METH_KEYWORDS
},
41200 { (char *)"Sizer_SetMinSize", (PyCFunction
) _wrap_Sizer_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
41201 { (char *)"Sizer_GetSize", (PyCFunction
) _wrap_Sizer_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
41202 { (char *)"Sizer_GetPosition", (PyCFunction
) _wrap_Sizer_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
41203 { (char *)"Sizer_GetMinSize", (PyCFunction
) _wrap_Sizer_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
41204 { (char *)"Sizer_RecalcSizes", (PyCFunction
) _wrap_Sizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
41205 { (char *)"Sizer_CalcMin", (PyCFunction
) _wrap_Sizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
41206 { (char *)"Sizer_Layout", (PyCFunction
) _wrap_Sizer_Layout
, METH_VARARGS
| METH_KEYWORDS
},
41207 { (char *)"Sizer_Fit", (PyCFunction
) _wrap_Sizer_Fit
, METH_VARARGS
| METH_KEYWORDS
},
41208 { (char *)"Sizer_FitInside", (PyCFunction
) _wrap_Sizer_FitInside
, METH_VARARGS
| METH_KEYWORDS
},
41209 { (char *)"Sizer_SetSizeHints", (PyCFunction
) _wrap_Sizer_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
},
41210 { (char *)"Sizer_SetVirtualSizeHints", (PyCFunction
) _wrap_Sizer_SetVirtualSizeHints
, METH_VARARGS
| METH_KEYWORDS
},
41211 { (char *)"Sizer_Clear", (PyCFunction
) _wrap_Sizer_Clear
, METH_VARARGS
| METH_KEYWORDS
},
41212 { (char *)"Sizer_DeleteWindows", (PyCFunction
) _wrap_Sizer_DeleteWindows
, METH_VARARGS
| METH_KEYWORDS
},
41213 { (char *)"Sizer_GetChildren", (PyCFunction
) _wrap_Sizer_GetChildren
, METH_VARARGS
| METH_KEYWORDS
},
41214 { (char *)"Sizer_Show", (PyCFunction
) _wrap_Sizer_Show
, METH_VARARGS
| METH_KEYWORDS
},
41215 { (char *)"Sizer_IsShown", (PyCFunction
) _wrap_Sizer_IsShown
, METH_VARARGS
| METH_KEYWORDS
},
41216 { (char *)"Sizer_ShowItems", (PyCFunction
) _wrap_Sizer_ShowItems
, METH_VARARGS
| METH_KEYWORDS
},
41217 { (char *)"Sizer_swigregister", Sizer_swigregister
, METH_VARARGS
},
41218 { (char *)"new_PySizer", (PyCFunction
) _wrap_new_PySizer
, METH_VARARGS
| METH_KEYWORDS
},
41219 { (char *)"PySizer__setCallbackInfo", (PyCFunction
) _wrap_PySizer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
41220 { (char *)"PySizer_swigregister", PySizer_swigregister
, METH_VARARGS
},
41221 { (char *)"new_BoxSizer", (PyCFunction
) _wrap_new_BoxSizer
, METH_VARARGS
| METH_KEYWORDS
},
41222 { (char *)"BoxSizer_GetOrientation", (PyCFunction
) _wrap_BoxSizer_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
41223 { (char *)"BoxSizer_SetOrientation", (PyCFunction
) _wrap_BoxSizer_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
41224 { (char *)"BoxSizer_swigregister", BoxSizer_swigregister
, METH_VARARGS
},
41225 { (char *)"new_StaticBoxSizer", (PyCFunction
) _wrap_new_StaticBoxSizer
, METH_VARARGS
| METH_KEYWORDS
},
41226 { (char *)"StaticBoxSizer_GetStaticBox", (PyCFunction
) _wrap_StaticBoxSizer_GetStaticBox
, METH_VARARGS
| METH_KEYWORDS
},
41227 { (char *)"StaticBoxSizer_swigregister", StaticBoxSizer_swigregister
, METH_VARARGS
},
41228 { (char *)"new_GridSizer", (PyCFunction
) _wrap_new_GridSizer
, METH_VARARGS
| METH_KEYWORDS
},
41229 { (char *)"GridSizer_SetCols", (PyCFunction
) _wrap_GridSizer_SetCols
, METH_VARARGS
| METH_KEYWORDS
},
41230 { (char *)"GridSizer_SetRows", (PyCFunction
) _wrap_GridSizer_SetRows
, METH_VARARGS
| METH_KEYWORDS
},
41231 { (char *)"GridSizer_SetVGap", (PyCFunction
) _wrap_GridSizer_SetVGap
, METH_VARARGS
| METH_KEYWORDS
},
41232 { (char *)"GridSizer_SetHGap", (PyCFunction
) _wrap_GridSizer_SetHGap
, METH_VARARGS
| METH_KEYWORDS
},
41233 { (char *)"GridSizer_GetCols", (PyCFunction
) _wrap_GridSizer_GetCols
, METH_VARARGS
| METH_KEYWORDS
},
41234 { (char *)"GridSizer_GetRows", (PyCFunction
) _wrap_GridSizer_GetRows
, METH_VARARGS
| METH_KEYWORDS
},
41235 { (char *)"GridSizer_GetVGap", (PyCFunction
) _wrap_GridSizer_GetVGap
, METH_VARARGS
| METH_KEYWORDS
},
41236 { (char *)"GridSizer_GetHGap", (PyCFunction
) _wrap_GridSizer_GetHGap
, METH_VARARGS
| METH_KEYWORDS
},
41237 { (char *)"GridSizer_swigregister", GridSizer_swigregister
, METH_VARARGS
},
41238 { (char *)"new_FlexGridSizer", (PyCFunction
) _wrap_new_FlexGridSizer
, METH_VARARGS
| METH_KEYWORDS
},
41239 { (char *)"FlexGridSizer_AddGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableRow
, METH_VARARGS
| METH_KEYWORDS
},
41240 { (char *)"FlexGridSizer_RemoveGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableRow
, METH_VARARGS
| METH_KEYWORDS
},
41241 { (char *)"FlexGridSizer_AddGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableCol
, METH_VARARGS
| METH_KEYWORDS
},
41242 { (char *)"FlexGridSizer_RemoveGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableCol
, METH_VARARGS
| METH_KEYWORDS
},
41243 { (char *)"FlexGridSizer_SetFlexibleDirection", (PyCFunction
) _wrap_FlexGridSizer_SetFlexibleDirection
, METH_VARARGS
| METH_KEYWORDS
},
41244 { (char *)"FlexGridSizer_GetFlexibleDirection", (PyCFunction
) _wrap_FlexGridSizer_GetFlexibleDirection
, METH_VARARGS
| METH_KEYWORDS
},
41245 { (char *)"FlexGridSizer_SetNonFlexibleGrowMode", (PyCFunction
) _wrap_FlexGridSizer_SetNonFlexibleGrowMode
, METH_VARARGS
| METH_KEYWORDS
},
41246 { (char *)"FlexGridSizer_GetNonFlexibleGrowMode", (PyCFunction
) _wrap_FlexGridSizer_GetNonFlexibleGrowMode
, METH_VARARGS
| METH_KEYWORDS
},
41247 { (char *)"FlexGridSizer_GetRowHeights", (PyCFunction
) _wrap_FlexGridSizer_GetRowHeights
, METH_VARARGS
| METH_KEYWORDS
},
41248 { (char *)"FlexGridSizer_GetColWidths", (PyCFunction
) _wrap_FlexGridSizer_GetColWidths
, METH_VARARGS
| METH_KEYWORDS
},
41249 { (char *)"FlexGridSizer_swigregister", FlexGridSizer_swigregister
, METH_VARARGS
},
41250 { (char *)"new_GBPosition", (PyCFunction
) _wrap_new_GBPosition
, METH_VARARGS
| METH_KEYWORDS
},
41251 { (char *)"GBPosition_GetRow", (PyCFunction
) _wrap_GBPosition_GetRow
, METH_VARARGS
| METH_KEYWORDS
},
41252 { (char *)"GBPosition_GetCol", (PyCFunction
) _wrap_GBPosition_GetCol
, METH_VARARGS
| METH_KEYWORDS
},
41253 { (char *)"GBPosition_SetRow", (PyCFunction
) _wrap_GBPosition_SetRow
, METH_VARARGS
| METH_KEYWORDS
},
41254 { (char *)"GBPosition_SetCol", (PyCFunction
) _wrap_GBPosition_SetCol
, METH_VARARGS
| METH_KEYWORDS
},
41255 { (char *)"GBPosition___eq__", (PyCFunction
) _wrap_GBPosition___eq__
, METH_VARARGS
| METH_KEYWORDS
},
41256 { (char *)"GBPosition___ne__", (PyCFunction
) _wrap_GBPosition___ne__
, METH_VARARGS
| METH_KEYWORDS
},
41257 { (char *)"GBPosition_Set", (PyCFunction
) _wrap_GBPosition_Set
, METH_VARARGS
| METH_KEYWORDS
},
41258 { (char *)"GBPosition_Get", (PyCFunction
) _wrap_GBPosition_Get
, METH_VARARGS
| METH_KEYWORDS
},
41259 { (char *)"GBPosition_swigregister", GBPosition_swigregister
, METH_VARARGS
},
41260 { (char *)"new_GBSpan", (PyCFunction
) _wrap_new_GBSpan
, METH_VARARGS
| METH_KEYWORDS
},
41261 { (char *)"GBSpan_GetRowspan", (PyCFunction
) _wrap_GBSpan_GetRowspan
, METH_VARARGS
| METH_KEYWORDS
},
41262 { (char *)"GBSpan_GetColspan", (PyCFunction
) _wrap_GBSpan_GetColspan
, METH_VARARGS
| METH_KEYWORDS
},
41263 { (char *)"GBSpan_SetRowspan", (PyCFunction
) _wrap_GBSpan_SetRowspan
, METH_VARARGS
| METH_KEYWORDS
},
41264 { (char *)"GBSpan_SetColspan", (PyCFunction
) _wrap_GBSpan_SetColspan
, METH_VARARGS
| METH_KEYWORDS
},
41265 { (char *)"GBSpan___eq__", (PyCFunction
) _wrap_GBSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
},
41266 { (char *)"GBSpan___ne__", (PyCFunction
) _wrap_GBSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
},
41267 { (char *)"GBSpan_Set", (PyCFunction
) _wrap_GBSpan_Set
, METH_VARARGS
| METH_KEYWORDS
},
41268 { (char *)"GBSpan_Get", (PyCFunction
) _wrap_GBSpan_Get
, METH_VARARGS
| METH_KEYWORDS
},
41269 { (char *)"GBSpan_swigregister", GBSpan_swigregister
, METH_VARARGS
},
41270 { (char *)"new_GBSizerItem", (PyCFunction
) _wrap_new_GBSizerItem
, METH_VARARGS
| METH_KEYWORDS
},
41271 { (char *)"new_GBSizerItemWindow", (PyCFunction
) _wrap_new_GBSizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
},
41272 { (char *)"new_GBSizerItemSizer", (PyCFunction
) _wrap_new_GBSizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
},
41273 { (char *)"new_GBSizerItemSpacer", (PyCFunction
) _wrap_new_GBSizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
},
41274 { (char *)"GBSizerItem_GetPos", (PyCFunction
) _wrap_GBSizerItem_GetPos
, METH_VARARGS
| METH_KEYWORDS
},
41275 { (char *)"GBSizerItem_GetSpan", (PyCFunction
) _wrap_GBSizerItem_GetSpan
, METH_VARARGS
| METH_KEYWORDS
},
41276 { (char *)"GBSizerItem_SetPos", (PyCFunction
) _wrap_GBSizerItem_SetPos
, METH_VARARGS
| METH_KEYWORDS
},
41277 { (char *)"GBSizerItem_SetSpan", (PyCFunction
) _wrap_GBSizerItem_SetSpan
, METH_VARARGS
| METH_KEYWORDS
},
41278 { (char *)"GBSizerItem_Intersects", (PyCFunction
) _wrap_GBSizerItem_Intersects
, METH_VARARGS
| METH_KEYWORDS
},
41279 { (char *)"GBSizerItem_IntersectsPos", (PyCFunction
) _wrap_GBSizerItem_IntersectsPos
, METH_VARARGS
| METH_KEYWORDS
},
41280 { (char *)"GBSizerItem_GetEndPos", (PyCFunction
) _wrap_GBSizerItem_GetEndPos
, METH_VARARGS
| METH_KEYWORDS
},
41281 { (char *)"GBSizerItem_GetGBSizer", (PyCFunction
) _wrap_GBSizerItem_GetGBSizer
, METH_VARARGS
| METH_KEYWORDS
},
41282 { (char *)"GBSizerItem_SetGBSizer", (PyCFunction
) _wrap_GBSizerItem_SetGBSizer
, METH_VARARGS
| METH_KEYWORDS
},
41283 { (char *)"GBSizerItem_swigregister", GBSizerItem_swigregister
, METH_VARARGS
},
41284 { (char *)"new_GridBagSizer", (PyCFunction
) _wrap_new_GridBagSizer
, METH_VARARGS
| METH_KEYWORDS
},
41285 { (char *)"GridBagSizer_Add", (PyCFunction
) _wrap_GridBagSizer_Add
, METH_VARARGS
| METH_KEYWORDS
},
41286 { (char *)"GridBagSizer_AddItem", (PyCFunction
) _wrap_GridBagSizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
},
41287 { (char *)"GridBagSizer_GetEmptyCellSize", (PyCFunction
) _wrap_GridBagSizer_GetEmptyCellSize
, METH_VARARGS
| METH_KEYWORDS
},
41288 { (char *)"GridBagSizer_SetEmptyCellSize", (PyCFunction
) _wrap_GridBagSizer_SetEmptyCellSize
, METH_VARARGS
| METH_KEYWORDS
},
41289 { (char *)"GridBagSizer_GetItemPosition", _wrap_GridBagSizer_GetItemPosition
, METH_VARARGS
},
41290 { (char *)"GridBagSizer_SetItemPosition", _wrap_GridBagSizer_SetItemPosition
, METH_VARARGS
},
41291 { (char *)"GridBagSizer_GetItemSpan", _wrap_GridBagSizer_GetItemSpan
, METH_VARARGS
},
41292 { (char *)"GridBagSizer_SetItemSpan", _wrap_GridBagSizer_SetItemSpan
, METH_VARARGS
},
41293 { (char *)"GridBagSizer_FindItem", _wrap_GridBagSizer_FindItem
, METH_VARARGS
},
41294 { (char *)"GridBagSizer_FindItemAtPosition", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPosition
, METH_VARARGS
| METH_KEYWORDS
},
41295 { (char *)"GridBagSizer_FindItemAtPoint", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
41296 { (char *)"GridBagSizer_CheckForIntersection", (PyCFunction
) _wrap_GridBagSizer_CheckForIntersection
, METH_VARARGS
| METH_KEYWORDS
},
41297 { (char *)"GridBagSizer_CheckForIntersectionPos", (PyCFunction
) _wrap_GridBagSizer_CheckForIntersectionPos
, METH_VARARGS
| METH_KEYWORDS
},
41298 { (char *)"GridBagSizer_swigregister", GridBagSizer_swigregister
, METH_VARARGS
},
41299 { (char *)"IndividualLayoutConstraint_Set", (PyCFunction
) _wrap_IndividualLayoutConstraint_Set
, METH_VARARGS
| METH_KEYWORDS
},
41300 { (char *)"IndividualLayoutConstraint_LeftOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_LeftOf
, METH_VARARGS
| METH_KEYWORDS
},
41301 { (char *)"IndividualLayoutConstraint_RightOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_RightOf
, METH_VARARGS
| METH_KEYWORDS
},
41302 { (char *)"IndividualLayoutConstraint_Above", (PyCFunction
) _wrap_IndividualLayoutConstraint_Above
, METH_VARARGS
| METH_KEYWORDS
},
41303 { (char *)"IndividualLayoutConstraint_Below", (PyCFunction
) _wrap_IndividualLayoutConstraint_Below
, METH_VARARGS
| METH_KEYWORDS
},
41304 { (char *)"IndividualLayoutConstraint_SameAs", (PyCFunction
) _wrap_IndividualLayoutConstraint_SameAs
, METH_VARARGS
| METH_KEYWORDS
},
41305 { (char *)"IndividualLayoutConstraint_PercentOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_PercentOf
, METH_VARARGS
| METH_KEYWORDS
},
41306 { (char *)"IndividualLayoutConstraint_Absolute", (PyCFunction
) _wrap_IndividualLayoutConstraint_Absolute
, METH_VARARGS
| METH_KEYWORDS
},
41307 { (char *)"IndividualLayoutConstraint_Unconstrained", (PyCFunction
) _wrap_IndividualLayoutConstraint_Unconstrained
, METH_VARARGS
| METH_KEYWORDS
},
41308 { (char *)"IndividualLayoutConstraint_AsIs", (PyCFunction
) _wrap_IndividualLayoutConstraint_AsIs
, METH_VARARGS
| METH_KEYWORDS
},
41309 { (char *)"IndividualLayoutConstraint_GetOtherWindow", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetOtherWindow
, METH_VARARGS
| METH_KEYWORDS
},
41310 { (char *)"IndividualLayoutConstraint_GetMyEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetMyEdge
, METH_VARARGS
| METH_KEYWORDS
},
41311 { (char *)"IndividualLayoutConstraint_SetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetEdge
, METH_VARARGS
| METH_KEYWORDS
},
41312 { (char *)"IndividualLayoutConstraint_SetValue", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
41313 { (char *)"IndividualLayoutConstraint_GetMargin", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetMargin
, METH_VARARGS
| METH_KEYWORDS
},
41314 { (char *)"IndividualLayoutConstraint_SetMargin", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetMargin
, METH_VARARGS
| METH_KEYWORDS
},
41315 { (char *)"IndividualLayoutConstraint_GetValue", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
41316 { (char *)"IndividualLayoutConstraint_GetPercent", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetPercent
, METH_VARARGS
| METH_KEYWORDS
},
41317 { (char *)"IndividualLayoutConstraint_GetOtherEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetOtherEdge
, METH_VARARGS
| METH_KEYWORDS
},
41318 { (char *)"IndividualLayoutConstraint_GetDone", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetDone
, METH_VARARGS
| METH_KEYWORDS
},
41319 { (char *)"IndividualLayoutConstraint_SetDone", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetDone
, METH_VARARGS
| METH_KEYWORDS
},
41320 { (char *)"IndividualLayoutConstraint_GetRelationship", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetRelationship
, METH_VARARGS
| METH_KEYWORDS
},
41321 { (char *)"IndividualLayoutConstraint_SetRelationship", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetRelationship
, METH_VARARGS
| METH_KEYWORDS
},
41322 { (char *)"IndividualLayoutConstraint_ResetIfWin", (PyCFunction
) _wrap_IndividualLayoutConstraint_ResetIfWin
, METH_VARARGS
| METH_KEYWORDS
},
41323 { (char *)"IndividualLayoutConstraint_SatisfyConstraint", (PyCFunction
) _wrap_IndividualLayoutConstraint_SatisfyConstraint
, METH_VARARGS
| METH_KEYWORDS
},
41324 { (char *)"IndividualLayoutConstraint_GetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetEdge
, METH_VARARGS
| METH_KEYWORDS
},
41325 { (char *)"IndividualLayoutConstraint_swigregister", IndividualLayoutConstraint_swigregister
, METH_VARARGS
},
41326 { (char *)"LayoutConstraints_left_get", (PyCFunction
) _wrap_LayoutConstraints_left_get
, METH_VARARGS
| METH_KEYWORDS
},
41327 { (char *)"LayoutConstraints_top_get", (PyCFunction
) _wrap_LayoutConstraints_top_get
, METH_VARARGS
| METH_KEYWORDS
},
41328 { (char *)"LayoutConstraints_right_get", (PyCFunction
) _wrap_LayoutConstraints_right_get
, METH_VARARGS
| METH_KEYWORDS
},
41329 { (char *)"LayoutConstraints_bottom_get", (PyCFunction
) _wrap_LayoutConstraints_bottom_get
, METH_VARARGS
| METH_KEYWORDS
},
41330 { (char *)"LayoutConstraints_width_get", (PyCFunction
) _wrap_LayoutConstraints_width_get
, METH_VARARGS
| METH_KEYWORDS
},
41331 { (char *)"LayoutConstraints_height_get", (PyCFunction
) _wrap_LayoutConstraints_height_get
, METH_VARARGS
| METH_KEYWORDS
},
41332 { (char *)"LayoutConstraints_centreX_get", (PyCFunction
) _wrap_LayoutConstraints_centreX_get
, METH_VARARGS
| METH_KEYWORDS
},
41333 { (char *)"LayoutConstraints_centreY_get", (PyCFunction
) _wrap_LayoutConstraints_centreY_get
, METH_VARARGS
| METH_KEYWORDS
},
41334 { (char *)"new_LayoutConstraints", (PyCFunction
) _wrap_new_LayoutConstraints
, METH_VARARGS
| METH_KEYWORDS
},
41335 { (char *)"LayoutConstraints_SatisfyConstraints", (PyCFunction
) _wrap_LayoutConstraints_SatisfyConstraints
, METH_VARARGS
| METH_KEYWORDS
},
41336 { (char *)"LayoutConstraints_AreSatisfied", (PyCFunction
) _wrap_LayoutConstraints_AreSatisfied
, METH_VARARGS
| METH_KEYWORDS
},
41337 { (char *)"LayoutConstraints_swigregister", LayoutConstraints_swigregister
, METH_VARARGS
},
41342 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
41344 static void *_p_wxGBSizerItemTo_p_wxSizerItem(void *x
) {
41345 return (void *)((wxSizerItem
*) ((wxGBSizerItem
*) x
));
41347 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) {
41348 return (void *)((wxSizer
*) ((wxBoxSizer
*) x
));
41350 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) {
41351 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
41353 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) {
41354 return (void *)((wxSizer
*) (wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
41356 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) {
41357 return (void *)((wxSizer
*) ((wxGridSizer
*) x
));
41359 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) {
41360 return (void *)((wxSizer
*) (wxGridSizer
*) ((wxFlexGridSizer
*) x
));
41362 static void *_p_wxPySizerTo_p_wxSizer(void *x
) {
41363 return (void *)((wxSizer
*) ((wxPySizer
*) x
));
41365 static void *_p_wxStaticBoxSizerTo_p_wxBoxSizer(void *x
) {
41366 return (void *)((wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
41368 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
41369 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
41371 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
41372 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
41374 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
41375 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
41377 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
41378 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
41380 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
41381 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
41383 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
41384 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
41386 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
41387 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
41389 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
41390 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
41392 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
41393 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
41395 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
41396 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
41398 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
41399 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
41401 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
41402 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
41404 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
41405 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
41407 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
41408 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
41410 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
41411 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
41413 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
41414 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
41416 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
41417 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
41419 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
41420 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
41422 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
41423 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
41425 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
41426 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
41428 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
41429 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
41431 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
41432 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
41434 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
41435 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
41437 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
41438 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
41440 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
41441 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
41443 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
41444 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
41446 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
41447 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
41449 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
41450 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
41452 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
41453 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
41455 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
41456 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
41458 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
41459 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
41461 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
41462 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
41464 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
41465 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
41467 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
41468 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
41470 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
41471 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
41473 static void *_p_wxGridBagSizerTo_p_wxGridSizer(void *x
) {
41474 return (void *)((wxGridSizer
*) (wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
41476 static void *_p_wxFlexGridSizerTo_p_wxGridSizer(void *x
) {
41477 return (void *)((wxGridSizer
*) ((wxFlexGridSizer
*) x
));
41479 static void *_p_wxGridBagSizerTo_p_wxFlexGridSizer(void *x
) {
41480 return (void *)((wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
41482 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
41483 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
41485 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
41486 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
41488 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
41489 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
41491 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
41492 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
41494 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
41495 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
41497 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
41498 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
41500 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
41501 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
41503 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
41504 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
41506 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
41507 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
41509 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
41510 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
41512 static void *_p_wxANIHandlerTo_p_wxCURHandler(void *x
) {
41513 return (void *)((wxCURHandler
*) ((wxANIHandler
*) x
));
41515 static void *_p_wxCURHandlerTo_p_wxICOHandler(void *x
) {
41516 return (void *)((wxICOHandler
*) ((wxCURHandler
*) x
));
41518 static void *_p_wxANIHandlerTo_p_wxICOHandler(void *x
) {
41519 return (void *)((wxICOHandler
*) (wxCURHandler
*) ((wxANIHandler
*) x
));
41521 static void *_p_wxICOHandlerTo_p_wxBMPHandler(void *x
) {
41522 return (void *)((wxBMPHandler
*) ((wxICOHandler
*) x
));
41524 static void *_p_wxCURHandlerTo_p_wxBMPHandler(void *x
) {
41525 return (void *)((wxBMPHandler
*) (wxICOHandler
*) ((wxCURHandler
*) x
));
41527 static void *_p_wxANIHandlerTo_p_wxBMPHandler(void *x
) {
41528 return (void *)((wxBMPHandler
*) (wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
41530 static void *_p_wxBMPHandlerTo_p_wxImageHandler(void *x
) {
41531 return (void *)((wxImageHandler
*) ((wxBMPHandler
*) x
));
41533 static void *_p_wxICOHandlerTo_p_wxImageHandler(void *x
) {
41534 return (void *)((wxImageHandler
*) (wxBMPHandler
*) ((wxICOHandler
*) x
));
41536 static void *_p_wxCURHandlerTo_p_wxImageHandler(void *x
) {
41537 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
41539 static void *_p_wxANIHandlerTo_p_wxImageHandler(void *x
) {
41540 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
41542 static void *_p_wxPNGHandlerTo_p_wxImageHandler(void *x
) {
41543 return (void *)((wxImageHandler
*) ((wxPNGHandler
*) x
));
41545 static void *_p_wxGIFHandlerTo_p_wxImageHandler(void *x
) {
41546 return (void *)((wxImageHandler
*) ((wxGIFHandler
*) x
));
41548 static void *_p_wxPCXHandlerTo_p_wxImageHandler(void *x
) {
41549 return (void *)((wxImageHandler
*) ((wxPCXHandler
*) x
));
41551 static void *_p_wxJPEGHandlerTo_p_wxImageHandler(void *x
) {
41552 return (void *)((wxImageHandler
*) ((wxJPEGHandler
*) x
));
41554 static void *_p_wxPNMHandlerTo_p_wxImageHandler(void *x
) {
41555 return (void *)((wxImageHandler
*) ((wxPNMHandler
*) x
));
41557 static void *_p_wxXPMHandlerTo_p_wxImageHandler(void *x
) {
41558 return (void *)((wxImageHandler
*) ((wxXPMHandler
*) x
));
41560 static void *_p_wxTIFFHandlerTo_p_wxImageHandler(void *x
) {
41561 return (void *)((wxImageHandler
*) ((wxTIFFHandler
*) x
));
41563 static void *_p_wxPyFileSystemHandlerTo_p_wxFileSystemHandler(void *x
) {
41564 return (void *)((wxFileSystemHandler
*) ((wxPyFileSystemHandler
*) x
));
41566 static void *_p_wxInternetFSHandlerTo_p_wxFileSystemHandler(void *x
) {
41567 return (void *)((wxFileSystemHandler
*) ((wxInternetFSHandler
*) x
));
41569 static void *_p_wxZipFSHandlerTo_p_wxFileSystemHandler(void *x
) {
41570 return (void *)((wxFileSystemHandler
*) ((wxZipFSHandler
*) x
));
41572 static void *_p_wxMemoryFSHandlerTo_p_wxFileSystemHandler(void *x
) {
41573 return (void *)((wxFileSystemHandler
*) ((wxMemoryFSHandler
*) x
));
41575 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
41576 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
41578 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
41579 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
41581 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
41582 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
41584 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
41585 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
41587 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
41588 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
41590 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
41591 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
41593 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
41594 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
41596 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
41597 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
41599 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
41600 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
41602 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
41603 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
41605 static void *_p_wxSizerTo_p_wxObject(void *x
) {
41606 return (void *)((wxObject
*) ((wxSizer
*) x
));
41608 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
41609 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
41611 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
41612 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
41614 static void *_p_wxMenuTo_p_wxObject(void *x
) {
41615 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
41617 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
41618 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
41620 static void *_p_wxImageTo_p_wxObject(void *x
) {
41621 return (void *)((wxObject
*) ((wxImage
*) x
));
41623 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
41624 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
41626 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
41627 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
41629 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
41630 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
41632 static void *_p_wxWindowTo_p_wxObject(void *x
) {
41633 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
41635 static void *_p_wxControlTo_p_wxObject(void *x
) {
41636 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
41638 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
41639 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
41641 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
41642 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
41644 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
41645 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
41647 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
41648 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
41650 static void *_p_wxEventTo_p_wxObject(void *x
) {
41651 return (void *)((wxObject
*) ((wxEvent
*) x
));
41653 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
41654 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
41656 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
41657 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
41659 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
41660 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
41662 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
41663 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
41665 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
41666 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
41668 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
41669 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
41671 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
41672 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
41674 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
41675 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
41677 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
41678 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
41680 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
41681 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
41683 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
41684 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
41686 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
41687 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
41689 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
41690 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
41692 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
41693 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
41695 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
41696 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
41698 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
41699 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
41701 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
41702 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
41704 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
41705 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
41707 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
41708 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
41710 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
41711 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
41713 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
41714 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
41716 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
41717 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
41719 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
41720 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
41722 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
41723 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
41725 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
41726 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
41728 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
41729 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
41731 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
41732 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
41734 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
41735 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
41737 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
41738 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
41740 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
41741 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
41743 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
41744 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
41746 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
41747 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
41749 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
41750 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
41752 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
41753 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
41755 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
41756 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
41758 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
41759 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
41761 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
41762 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
41764 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
41765 return (void *)((wxObject
*) ((wxFSFile
*) x
));
41767 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
41768 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
41770 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
41771 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
41773 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
41774 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
41776 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
41777 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
41779 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
41780 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
41782 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
41783 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
41785 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
41786 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
41788 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
41789 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
41791 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
41792 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
41794 static void *_p_wxControlTo_p_wxWindow(void *x
) {
41795 return (void *)((wxWindow
*) ((wxControl
*) x
));
41797 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
41798 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
41800 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
41801 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
41803 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
41804 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
41806 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
41807 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
41809 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
41810 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
41812 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
41813 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
41815 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
41816 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
41818 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
41819 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
41821 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
41822 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
41824 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
41825 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
41827 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
41828 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
41830 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}};
41831 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}};
41832 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}};
41833 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}};
41834 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}};
41835 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}};
41836 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}};
41837 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}};
41838 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}};
41839 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}};
41840 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}};
41841 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}};
41842 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}};
41843 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}};
41844 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}};
41845 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}};
41846 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}};
41847 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}};
41848 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}};
41849 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}};
41850 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}};
41851 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}};
41852 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}};
41853 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}};
41854 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}};
41855 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}};
41856 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}};
41857 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}};
41858 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}};
41859 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}};
41860 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}};
41861 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}};
41862 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}};
41863 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}};
41864 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}};
41865 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}};
41866 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}};
41867 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}};
41868 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}};
41869 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}};
41870 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}};
41871 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}};
41872 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}};
41873 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}};
41874 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}};
41875 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}};
41876 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}};
41877 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}};
41878 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}};
41879 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}};
41880 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}};
41881 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}};
41882 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}};
41883 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}};
41884 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}};
41885 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}};
41886 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}};
41887 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}};
41888 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}};
41889 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}};
41890 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}};
41891 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}};
41892 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}};
41893 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}};
41894 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}};
41895 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}};
41896 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}};
41897 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}};
41898 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}};
41899 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}};
41900 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}};
41901 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}};
41902 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}};
41903 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}};
41904 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}};
41905 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}};
41906 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}};
41907 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}};
41908 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}};
41909 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}};
41910 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}};
41911 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}};
41912 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}};
41913 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}};
41914 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}};
41915 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}};
41916 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}};
41917 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}};
41918 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}};
41919 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}};
41920 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}};
41921 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}};
41922 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}};
41923 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}};
41924 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}};
41925 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}};
41926 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}};
41927 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}};
41928 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}};
41929 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}};
41930 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}};
41931 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}};
41932 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}};
41933 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}};
41934 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}};
41935 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}};
41936 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}};
41937 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}};
41938 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}};
41939 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}};
41940 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}};
41941 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}};
41942 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}};
41943 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}};
41944 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}};
41946 static swig_type_info
*swig_types_initial
[] = {
41947 _swigt__p_wxLayoutConstraints
,
41948 _swigt__p_wxRealPoint
,
41949 _swigt__p_wxSizerItem
,
41950 _swigt__p_wxGBSizerItem
,
41951 _swigt__p_wxScrollEvent
,
41952 _swigt__p_wxIndividualLayoutConstraint
,
41954 _swigt__p_wxBoxSizer
,
41955 _swigt__p_wxStaticBoxSizer
,
41956 _swigt__p_wxGridBagSizer
,
41957 _swigt__p_wxAcceleratorEntry
,
41958 _swigt__p_wxUpdateUIEvent
,
41961 _swigt__p_wxGridSizer
,
41962 _swigt__p_wxFlexGridSizer
,
41963 _swigt__p_wxInitDialogEvent
,
41964 _swigt__p_wxItemContainer
,
41965 _swigt__p_wxNcPaintEvent
,
41966 _swigt__p_wxPaintEvent
,
41967 _swigt__p_wxSysColourChangedEvent
,
41968 _swigt__p_wxMouseCaptureChangedEvent
,
41969 _swigt__p_wxDisplayChangedEvent
,
41970 _swigt__p_wxPaletteChangedEvent
,
41971 _swigt__p_wxControl
,
41973 _swigt__p_wxMenuBarBase
,
41974 _swigt__p_wxSetCursorEvent
,
41975 _swigt__p_wxFSFile
,
41977 _swigt__p_wxRegion
,
41978 _swigt__p_wxPoint2D
,
41982 _swigt__p_wxPySizer
,
41983 _swigt__p_wxVisualAttributes
,
41984 _swigt__p_wxNotifyEvent
,
41985 _swigt__p_wxPyEvent
,
41986 _swigt__p_wxPropagationDisabler
,
41987 _swigt__p_wxAppTraits
,
41988 _swigt__p_wxArrayString
,
41989 _swigt__p_wxShowEvent
,
41990 _swigt__p_wxToolTip
,
41991 _swigt__p_wxMaximizeEvent
,
41992 _swigt__p_wxIconizeEvent
,
41993 _swigt__p_wxActivateEvent
,
41994 _swigt__p_wxMoveEvent
,
41995 _swigt__p_wxSizeEvent
,
41996 _swigt__p_wxQueryNewPaletteEvent
,
41997 _swigt__p_wxWindowCreateEvent
,
41998 _swigt__p_wxIdleEvent
,
41999 _swigt__p_wxMenuItem
,
42000 _swigt__p_wxStaticBox
,
42002 _swigt__p_wxTIFFHandler
,
42003 _swigt__p_wxXPMHandler
,
42004 _swigt__p_wxPNMHandler
,
42005 _swigt__p_wxJPEGHandler
,
42006 _swigt__p_wxPCXHandler
,
42007 _swigt__p_wxGIFHandler
,
42008 _swigt__p_wxPNGHandler
,
42009 _swigt__p_wxANIHandler
,
42010 _swigt__p_wxMemoryFSHandler
,
42011 _swigt__p_wxEvtHandler
,
42012 _swigt__p_wxCURHandler
,
42013 _swigt__p_wxICOHandler
,
42014 _swigt__p_wxBMPHandler
,
42015 _swigt__p_wxImageHandler
,
42016 _swigt__p_wxFileSystemHandler
,
42017 _swigt__p_wxPyFileSystemHandler
,
42018 _swigt__p_wxInternetFSHandler
,
42019 _swigt__p_wxZipFSHandler
,
42021 _swigt__p_wxGBSpan
,
42022 _swigt__p_wxPropagateOnce
,
42023 _swigt__p_wxAcceleratorTable
,
42025 _swigt__p_wxGBPosition
,
42028 _swigt__p_wxScrollWinEvent
,
42029 _swigt__p_wxImageHistogram
,
42032 _swigt__p_wxCursor
,
42033 _swigt__p_wxObject
,
42034 _swigt__p_wxPyInputStream
,
42035 _swigt__p_wxOutputStream
,
42036 _swigt__p_wxInputStream
,
42037 _swigt__p_wxDateTime
,
42038 _swigt__p_wxKeyEvent
,
42039 _swigt__p_wxNavigationKeyEvent
,
42040 _swigt__p_wxWindowDestroyEvent
,
42041 _swigt__p_wxWindow
,
42042 _swigt__p_wxMenuBar
,
42043 _swigt__p_wxFileSystem
,
42044 _swigt__p_wxBitmap
,
42045 _swigt__p_wxMenuEvent
,
42046 _swigt__p_wxContextMenuEvent
,
42047 _swigt__p_unsigned_char
,
42048 _swigt__p_wxCloseEvent
,
42049 _swigt__p_wxEraseEvent
,
42050 _swigt__p_wxMouseEvent
,
42052 _swigt__p_wxCommandEvent
,
42053 _swigt__p_wxPyCommandEvent
,
42054 _swigt__p_wxPyDropTarget
,
42055 _swigt__p_wxChildFocusEvent
,
42056 _swigt__p_wxFocusEvent
,
42057 _swigt__p_wxDropFilesEvent
,
42058 _swigt__p_wxControlWithItems
,
42059 _swigt__p_wxColour
,
42060 _swigt__p_wxValidator
,
42061 _swigt__p_wxPyValidator
,
42066 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
42068 static swig_const_info swig_const_table
[] = {
42078 SWIGEXPORT(void) SWIG_init(void) {
42079 static PyObject
*SWIG_globals
= 0;
42080 static int typeinit
= 0;
42083 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
42084 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
42085 d
= PyModule_GetDict(m
);
42088 for (i
= 0; swig_types_initial
[i
]; i
++) {
42089 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
42093 SWIG_InstallConstants(d
,swig_const_table
);
42096 #ifndef wxPyUSE_EXPORT
42097 // Make our API structure a CObject so other modules can import it
42098 // from this module.
42099 PyObject
* cobj
= PyCObject_FromVoidPtr(&API
, NULL
);
42100 PyDict_SetItemString(d
,"_wxPyCoreAPI", cobj
);
42104 PyDict_SetItemString(d
,"NOT_FOUND", SWIG_FromInt((int)wxNOT_FOUND
));
42105 PyDict_SetItemString(d
,"VSCROLL", SWIG_FromInt((int)wxVSCROLL
));
42106 PyDict_SetItemString(d
,"HSCROLL", SWIG_FromInt((int)wxHSCROLL
));
42107 PyDict_SetItemString(d
,"CAPTION", SWIG_FromInt((int)wxCAPTION
));
42108 PyDict_SetItemString(d
,"DOUBLE_BORDER", SWIG_FromInt((int)wxDOUBLE_BORDER
));
42109 PyDict_SetItemString(d
,"SUNKEN_BORDER", SWIG_FromInt((int)wxSUNKEN_BORDER
));
42110 PyDict_SetItemString(d
,"RAISED_BORDER", SWIG_FromInt((int)wxRAISED_BORDER
));
42111 PyDict_SetItemString(d
,"BORDER", SWIG_FromInt((int)wxBORDER
));
42112 PyDict_SetItemString(d
,"SIMPLE_BORDER", SWIG_FromInt((int)wxSIMPLE_BORDER
));
42113 PyDict_SetItemString(d
,"STATIC_BORDER", SWIG_FromInt((int)wxSTATIC_BORDER
));
42114 PyDict_SetItemString(d
,"TRANSPARENT_WINDOW", SWIG_FromInt((int)wxTRANSPARENT_WINDOW
));
42115 PyDict_SetItemString(d
,"NO_BORDER", SWIG_FromInt((int)wxNO_BORDER
));
42116 PyDict_SetItemString(d
,"TAB_TRAVERSAL", SWIG_FromInt((int)wxTAB_TRAVERSAL
));
42117 PyDict_SetItemString(d
,"WANTS_CHARS", SWIG_FromInt((int)wxWANTS_CHARS
));
42118 PyDict_SetItemString(d
,"POPUP_WINDOW", SWIG_FromInt((int)wxPOPUP_WINDOW
));
42119 PyDict_SetItemString(d
,"CENTER_FRAME", SWIG_FromInt((int)wxCENTER_FRAME
));
42120 PyDict_SetItemString(d
,"CENTRE_ON_SCREEN", SWIG_FromInt((int)wxCENTRE_ON_SCREEN
));
42121 PyDict_SetItemString(d
,"CENTER_ON_SCREEN", SWIG_FromInt((int)wxCENTER_ON_SCREEN
));
42122 PyDict_SetItemString(d
,"ED_CLIENT_MARGIN", SWIG_FromInt((int)wxED_CLIENT_MARGIN
));
42123 PyDict_SetItemString(d
,"ED_BUTTONS_BOTTOM", SWIG_FromInt((int)wxED_BUTTONS_BOTTOM
));
42124 PyDict_SetItemString(d
,"ED_BUTTONS_RIGHT", SWIG_FromInt((int)wxED_BUTTONS_RIGHT
));
42125 PyDict_SetItemString(d
,"ED_STATIC_LINE", SWIG_FromInt((int)wxED_STATIC_LINE
));
42126 PyDict_SetItemString(d
,"EXT_DIALOG_STYLE", SWIG_FromInt((int)wxEXT_DIALOG_STYLE
));
42127 PyDict_SetItemString(d
,"CLIP_CHILDREN", SWIG_FromInt((int)wxCLIP_CHILDREN
));
42128 PyDict_SetItemString(d
,"CLIP_SIBLINGS", SWIG_FromInt((int)wxCLIP_SIBLINGS
));
42129 PyDict_SetItemString(d
,"ALWAYS_SHOW_SB", SWIG_FromInt((int)wxALWAYS_SHOW_SB
));
42130 PyDict_SetItemString(d
,"RETAINED", SWIG_FromInt((int)wxRETAINED
));
42131 PyDict_SetItemString(d
,"BACKINGSTORE", SWIG_FromInt((int)wxBACKINGSTORE
));
42132 PyDict_SetItemString(d
,"COLOURED", SWIG_FromInt((int)wxCOLOURED
));
42133 PyDict_SetItemString(d
,"FIXED_LENGTH", SWIG_FromInt((int)wxFIXED_LENGTH
));
42134 PyDict_SetItemString(d
,"LB_NEEDED_SB", SWIG_FromInt((int)wxLB_NEEDED_SB
));
42135 PyDict_SetItemString(d
,"LB_ALWAYS_SB", SWIG_FromInt((int)wxLB_ALWAYS_SB
));
42136 PyDict_SetItemString(d
,"LB_SORT", SWIG_FromInt((int)wxLB_SORT
));
42137 PyDict_SetItemString(d
,"LB_SINGLE", SWIG_FromInt((int)wxLB_SINGLE
));
42138 PyDict_SetItemString(d
,"LB_MULTIPLE", SWIG_FromInt((int)wxLB_MULTIPLE
));
42139 PyDict_SetItemString(d
,"LB_EXTENDED", SWIG_FromInt((int)wxLB_EXTENDED
));
42140 PyDict_SetItemString(d
,"LB_OWNERDRAW", SWIG_FromInt((int)wxLB_OWNERDRAW
));
42141 PyDict_SetItemString(d
,"LB_HSCROLL", SWIG_FromInt((int)wxLB_HSCROLL
));
42142 PyDict_SetItemString(d
,"PROCESS_ENTER", SWIG_FromInt((int)wxPROCESS_ENTER
));
42143 PyDict_SetItemString(d
,"PASSWORD", SWIG_FromInt((int)wxPASSWORD
));
42144 PyDict_SetItemString(d
,"CB_SIMPLE", SWIG_FromInt((int)wxCB_SIMPLE
));
42145 PyDict_SetItemString(d
,"CB_DROPDOWN", SWIG_FromInt((int)wxCB_DROPDOWN
));
42146 PyDict_SetItemString(d
,"CB_SORT", SWIG_FromInt((int)wxCB_SORT
));
42147 PyDict_SetItemString(d
,"CB_READONLY", SWIG_FromInt((int)wxCB_READONLY
));
42148 PyDict_SetItemString(d
,"RA_HORIZONTAL", SWIG_FromInt((int)wxRA_HORIZONTAL
));
42149 PyDict_SetItemString(d
,"RA_VERTICAL", SWIG_FromInt((int)wxRA_VERTICAL
));
42150 PyDict_SetItemString(d
,"RA_SPECIFY_ROWS", SWIG_FromInt((int)wxRA_SPECIFY_ROWS
));
42151 PyDict_SetItemString(d
,"RA_SPECIFY_COLS", SWIG_FromInt((int)wxRA_SPECIFY_COLS
));
42152 PyDict_SetItemString(d
,"RB_GROUP", SWIG_FromInt((int)wxRB_GROUP
));
42153 PyDict_SetItemString(d
,"RB_SINGLE", SWIG_FromInt((int)wxRB_SINGLE
));
42154 PyDict_SetItemString(d
,"SL_HORIZONTAL", SWIG_FromInt((int)wxSL_HORIZONTAL
));
42155 PyDict_SetItemString(d
,"SL_VERTICAL", SWIG_FromInt((int)wxSL_VERTICAL
));
42156 PyDict_SetItemString(d
,"SL_AUTOTICKS", SWIG_FromInt((int)wxSL_AUTOTICKS
));
42157 PyDict_SetItemString(d
,"SL_LABELS", SWIG_FromInt((int)wxSL_LABELS
));
42158 PyDict_SetItemString(d
,"SL_LEFT", SWIG_FromInt((int)wxSL_LEFT
));
42159 PyDict_SetItemString(d
,"SL_TOP", SWIG_FromInt((int)wxSL_TOP
));
42160 PyDict_SetItemString(d
,"SL_RIGHT", SWIG_FromInt((int)wxSL_RIGHT
));
42161 PyDict_SetItemString(d
,"SL_BOTTOM", SWIG_FromInt((int)wxSL_BOTTOM
));
42162 PyDict_SetItemString(d
,"SL_BOTH", SWIG_FromInt((int)wxSL_BOTH
));
42163 PyDict_SetItemString(d
,"SL_SELRANGE", SWIG_FromInt((int)wxSL_SELRANGE
));
42164 PyDict_SetItemString(d
,"SB_HORIZONTAL", SWIG_FromInt((int)wxSB_HORIZONTAL
));
42165 PyDict_SetItemString(d
,"SB_VERTICAL", SWIG_FromInt((int)wxSB_VERTICAL
));
42166 PyDict_SetItemString(d
,"ST_SIZEGRIP", SWIG_FromInt((int)wxST_SIZEGRIP
));
42167 PyDict_SetItemString(d
,"ST_NO_AUTORESIZE", SWIG_FromInt((int)wxST_NO_AUTORESIZE
));
42168 PyDict_SetItemString(d
,"FLOOD_SURFACE", SWIG_FromInt((int)wxFLOOD_SURFACE
));
42169 PyDict_SetItemString(d
,"FLOOD_BORDER", SWIG_FromInt((int)wxFLOOD_BORDER
));
42170 PyDict_SetItemString(d
,"ODDEVEN_RULE", SWIG_FromInt((int)wxODDEVEN_RULE
));
42171 PyDict_SetItemString(d
,"WINDING_RULE", SWIG_FromInt((int)wxWINDING_RULE
));
42172 PyDict_SetItemString(d
,"TOOL_TOP", SWIG_FromInt((int)wxTOOL_TOP
));
42173 PyDict_SetItemString(d
,"TOOL_BOTTOM", SWIG_FromInt((int)wxTOOL_BOTTOM
));
42174 PyDict_SetItemString(d
,"TOOL_LEFT", SWIG_FromInt((int)wxTOOL_LEFT
));
42175 PyDict_SetItemString(d
,"TOOL_RIGHT", SWIG_FromInt((int)wxTOOL_RIGHT
));
42176 PyDict_SetItemString(d
,"OK", SWIG_FromInt((int)wxOK
));
42177 PyDict_SetItemString(d
,"YES_NO", SWIG_FromInt((int)wxYES_NO
));
42178 PyDict_SetItemString(d
,"CANCEL", SWIG_FromInt((int)wxCANCEL
));
42179 PyDict_SetItemString(d
,"YES", SWIG_FromInt((int)wxYES
));
42180 PyDict_SetItemString(d
,"NO", SWIG_FromInt((int)wxNO
));
42181 PyDict_SetItemString(d
,"NO_DEFAULT", SWIG_FromInt((int)wxNO_DEFAULT
));
42182 PyDict_SetItemString(d
,"YES_DEFAULT", SWIG_FromInt((int)wxYES_DEFAULT
));
42183 PyDict_SetItemString(d
,"ICON_EXCLAMATION", SWIG_FromInt((int)wxICON_EXCLAMATION
));
42184 PyDict_SetItemString(d
,"ICON_HAND", SWIG_FromInt((int)wxICON_HAND
));
42185 PyDict_SetItemString(d
,"ICON_QUESTION", SWIG_FromInt((int)wxICON_QUESTION
));
42186 PyDict_SetItemString(d
,"ICON_INFORMATION", SWIG_FromInt((int)wxICON_INFORMATION
));
42187 PyDict_SetItemString(d
,"ICON_STOP", SWIG_FromInt((int)wxICON_STOP
));
42188 PyDict_SetItemString(d
,"ICON_ASTERISK", SWIG_FromInt((int)wxICON_ASTERISK
));
42189 PyDict_SetItemString(d
,"ICON_MASK", SWIG_FromInt((int)wxICON_MASK
));
42190 PyDict_SetItemString(d
,"ICON_WARNING", SWIG_FromInt((int)wxICON_WARNING
));
42191 PyDict_SetItemString(d
,"ICON_ERROR", SWIG_FromInt((int)wxICON_ERROR
));
42192 PyDict_SetItemString(d
,"FORWARD", SWIG_FromInt((int)wxFORWARD
));
42193 PyDict_SetItemString(d
,"BACKWARD", SWIG_FromInt((int)wxBACKWARD
));
42194 PyDict_SetItemString(d
,"RESET", SWIG_FromInt((int)wxRESET
));
42195 PyDict_SetItemString(d
,"HELP", SWIG_FromInt((int)wxHELP
));
42196 PyDict_SetItemString(d
,"MORE", SWIG_FromInt((int)wxMORE
));
42197 PyDict_SetItemString(d
,"SETUP", SWIG_FromInt((int)wxSETUP
));
42198 PyDict_SetItemString(d
,"SIZE_AUTO_WIDTH", SWIG_FromInt((int)wxSIZE_AUTO_WIDTH
));
42199 PyDict_SetItemString(d
,"SIZE_AUTO_HEIGHT", SWIG_FromInt((int)wxSIZE_AUTO_HEIGHT
));
42200 PyDict_SetItemString(d
,"SIZE_AUTO", SWIG_FromInt((int)wxSIZE_AUTO
));
42201 PyDict_SetItemString(d
,"SIZE_USE_EXISTING", SWIG_FromInt((int)wxSIZE_USE_EXISTING
));
42202 PyDict_SetItemString(d
,"SIZE_ALLOW_MINUS_ONE", SWIG_FromInt((int)wxSIZE_ALLOW_MINUS_ONE
));
42203 PyDict_SetItemString(d
,"PORTRAIT", SWIG_FromInt((int)wxPORTRAIT
));
42204 PyDict_SetItemString(d
,"LANDSCAPE", SWIG_FromInt((int)wxLANDSCAPE
));
42205 PyDict_SetItemString(d
,"PRINT_QUALITY_HIGH", SWIG_FromInt((int)wxPRINT_QUALITY_HIGH
));
42206 PyDict_SetItemString(d
,"PRINT_QUALITY_MEDIUM", SWIG_FromInt((int)wxPRINT_QUALITY_MEDIUM
));
42207 PyDict_SetItemString(d
,"PRINT_QUALITY_LOW", SWIG_FromInt((int)wxPRINT_QUALITY_LOW
));
42208 PyDict_SetItemString(d
,"PRINT_QUALITY_DRAFT", SWIG_FromInt((int)wxPRINT_QUALITY_DRAFT
));
42209 PyDict_SetItemString(d
,"ID_ANY", SWIG_FromInt((int)wxID_ANY
));
42210 PyDict_SetItemString(d
,"ID_SEPARATOR", SWIG_FromInt((int)wxID_SEPARATOR
));
42211 PyDict_SetItemString(d
,"ID_LOWEST", SWIG_FromInt((int)wxID_LOWEST
));
42212 PyDict_SetItemString(d
,"ID_OPEN", SWIG_FromInt((int)wxID_OPEN
));
42213 PyDict_SetItemString(d
,"ID_CLOSE", SWIG_FromInt((int)wxID_CLOSE
));
42214 PyDict_SetItemString(d
,"ID_NEW", SWIG_FromInt((int)wxID_NEW
));
42215 PyDict_SetItemString(d
,"ID_SAVE", SWIG_FromInt((int)wxID_SAVE
));
42216 PyDict_SetItemString(d
,"ID_SAVEAS", SWIG_FromInt((int)wxID_SAVEAS
));
42217 PyDict_SetItemString(d
,"ID_REVERT", SWIG_FromInt((int)wxID_REVERT
));
42218 PyDict_SetItemString(d
,"ID_EXIT", SWIG_FromInt((int)wxID_EXIT
));
42219 PyDict_SetItemString(d
,"ID_UNDO", SWIG_FromInt((int)wxID_UNDO
));
42220 PyDict_SetItemString(d
,"ID_REDO", SWIG_FromInt((int)wxID_REDO
));
42221 PyDict_SetItemString(d
,"ID_HELP", SWIG_FromInt((int)wxID_HELP
));
42222 PyDict_SetItemString(d
,"ID_PRINT", SWIG_FromInt((int)wxID_PRINT
));
42223 PyDict_SetItemString(d
,"ID_PRINT_SETUP", SWIG_FromInt((int)wxID_PRINT_SETUP
));
42224 PyDict_SetItemString(d
,"ID_PREVIEW", SWIG_FromInt((int)wxID_PREVIEW
));
42225 PyDict_SetItemString(d
,"ID_ABOUT", SWIG_FromInt((int)wxID_ABOUT
));
42226 PyDict_SetItemString(d
,"ID_HELP_CONTENTS", SWIG_FromInt((int)wxID_HELP_CONTENTS
));
42227 PyDict_SetItemString(d
,"ID_HELP_COMMANDS", SWIG_FromInt((int)wxID_HELP_COMMANDS
));
42228 PyDict_SetItemString(d
,"ID_HELP_PROCEDURES", SWIG_FromInt((int)wxID_HELP_PROCEDURES
));
42229 PyDict_SetItemString(d
,"ID_HELP_CONTEXT", SWIG_FromInt((int)wxID_HELP_CONTEXT
));
42230 PyDict_SetItemString(d
,"ID_CLOSE_ALL", SWIG_FromInt((int)wxID_CLOSE_ALL
));
42231 PyDict_SetItemString(d
,"ID_PREFERENCES", SWIG_FromInt((int)wxID_PREFERENCES
));
42232 PyDict_SetItemString(d
,"ID_CUT", SWIG_FromInt((int)wxID_CUT
));
42233 PyDict_SetItemString(d
,"ID_COPY", SWIG_FromInt((int)wxID_COPY
));
42234 PyDict_SetItemString(d
,"ID_PASTE", SWIG_FromInt((int)wxID_PASTE
));
42235 PyDict_SetItemString(d
,"ID_CLEAR", SWIG_FromInt((int)wxID_CLEAR
));
42236 PyDict_SetItemString(d
,"ID_FIND", SWIG_FromInt((int)wxID_FIND
));
42237 PyDict_SetItemString(d
,"ID_DUPLICATE", SWIG_FromInt((int)wxID_DUPLICATE
));
42238 PyDict_SetItemString(d
,"ID_SELECTALL", SWIG_FromInt((int)wxID_SELECTALL
));
42239 PyDict_SetItemString(d
,"ID_DELETE", SWIG_FromInt((int)wxID_DELETE
));
42240 PyDict_SetItemString(d
,"ID_REPLACE", SWIG_FromInt((int)wxID_REPLACE
));
42241 PyDict_SetItemString(d
,"ID_REPLACE_ALL", SWIG_FromInt((int)wxID_REPLACE_ALL
));
42242 PyDict_SetItemString(d
,"ID_PROPERTIES", SWIG_FromInt((int)wxID_PROPERTIES
));
42243 PyDict_SetItemString(d
,"ID_VIEW_DETAILS", SWIG_FromInt((int)wxID_VIEW_DETAILS
));
42244 PyDict_SetItemString(d
,"ID_VIEW_LARGEICONS", SWIG_FromInt((int)wxID_VIEW_LARGEICONS
));
42245 PyDict_SetItemString(d
,"ID_VIEW_SMALLICONS", SWIG_FromInt((int)wxID_VIEW_SMALLICONS
));
42246 PyDict_SetItemString(d
,"ID_VIEW_LIST", SWIG_FromInt((int)wxID_VIEW_LIST
));
42247 PyDict_SetItemString(d
,"ID_VIEW_SORTDATE", SWIG_FromInt((int)wxID_VIEW_SORTDATE
));
42248 PyDict_SetItemString(d
,"ID_VIEW_SORTNAME", SWIG_FromInt((int)wxID_VIEW_SORTNAME
));
42249 PyDict_SetItemString(d
,"ID_VIEW_SORTSIZE", SWIG_FromInt((int)wxID_VIEW_SORTSIZE
));
42250 PyDict_SetItemString(d
,"ID_VIEW_SORTTYPE", SWIG_FromInt((int)wxID_VIEW_SORTTYPE
));
42251 PyDict_SetItemString(d
,"ID_FILE1", SWIG_FromInt((int)wxID_FILE1
));
42252 PyDict_SetItemString(d
,"ID_FILE2", SWIG_FromInt((int)wxID_FILE2
));
42253 PyDict_SetItemString(d
,"ID_FILE3", SWIG_FromInt((int)wxID_FILE3
));
42254 PyDict_SetItemString(d
,"ID_FILE4", SWIG_FromInt((int)wxID_FILE4
));
42255 PyDict_SetItemString(d
,"ID_FILE5", SWIG_FromInt((int)wxID_FILE5
));
42256 PyDict_SetItemString(d
,"ID_FILE6", SWIG_FromInt((int)wxID_FILE6
));
42257 PyDict_SetItemString(d
,"ID_FILE7", SWIG_FromInt((int)wxID_FILE7
));
42258 PyDict_SetItemString(d
,"ID_FILE8", SWIG_FromInt((int)wxID_FILE8
));
42259 PyDict_SetItemString(d
,"ID_FILE9", SWIG_FromInt((int)wxID_FILE9
));
42260 PyDict_SetItemString(d
,"ID_OK", SWIG_FromInt((int)wxID_OK
));
42261 PyDict_SetItemString(d
,"ID_CANCEL", SWIG_FromInt((int)wxID_CANCEL
));
42262 PyDict_SetItemString(d
,"ID_APPLY", SWIG_FromInt((int)wxID_APPLY
));
42263 PyDict_SetItemString(d
,"ID_YES", SWIG_FromInt((int)wxID_YES
));
42264 PyDict_SetItemString(d
,"ID_NO", SWIG_FromInt((int)wxID_NO
));
42265 PyDict_SetItemString(d
,"ID_STATIC", SWIG_FromInt((int)wxID_STATIC
));
42266 PyDict_SetItemString(d
,"ID_FORWARD", SWIG_FromInt((int)wxID_FORWARD
));
42267 PyDict_SetItemString(d
,"ID_BACKWARD", SWIG_FromInt((int)wxID_BACKWARD
));
42268 PyDict_SetItemString(d
,"ID_DEFAULT", SWIG_FromInt((int)wxID_DEFAULT
));
42269 PyDict_SetItemString(d
,"ID_MORE", SWIG_FromInt((int)wxID_MORE
));
42270 PyDict_SetItemString(d
,"ID_SETUP", SWIG_FromInt((int)wxID_SETUP
));
42271 PyDict_SetItemString(d
,"ID_RESET", SWIG_FromInt((int)wxID_RESET
));
42272 PyDict_SetItemString(d
,"ID_CONTEXT_HELP", SWIG_FromInt((int)wxID_CONTEXT_HELP
));
42273 PyDict_SetItemString(d
,"ID_YESTOALL", SWIG_FromInt((int)wxID_YESTOALL
));
42274 PyDict_SetItemString(d
,"ID_NOTOALL", SWIG_FromInt((int)wxID_NOTOALL
));
42275 PyDict_SetItemString(d
,"ID_ABORT", SWIG_FromInt((int)wxID_ABORT
));
42276 PyDict_SetItemString(d
,"ID_RETRY", SWIG_FromInt((int)wxID_RETRY
));
42277 PyDict_SetItemString(d
,"ID_IGNORE", SWIG_FromInt((int)wxID_IGNORE
));
42278 PyDict_SetItemString(d
,"ID_HIGHEST", SWIG_FromInt((int)wxID_HIGHEST
));
42279 PyDict_SetItemString(d
,"OPEN", SWIG_FromInt((int)wxOPEN
));
42280 PyDict_SetItemString(d
,"SAVE", SWIG_FromInt((int)wxSAVE
));
42281 PyDict_SetItemString(d
,"HIDE_READONLY", SWIG_FromInt((int)wxHIDE_READONLY
));
42282 PyDict_SetItemString(d
,"OVERWRITE_PROMPT", SWIG_FromInt((int)wxOVERWRITE_PROMPT
));
42283 PyDict_SetItemString(d
,"FILE_MUST_EXIST", SWIG_FromInt((int)wxFILE_MUST_EXIST
));
42284 PyDict_SetItemString(d
,"MULTIPLE", SWIG_FromInt((int)wxMULTIPLE
));
42285 PyDict_SetItemString(d
,"CHANGE_DIR", SWIG_FromInt((int)wxCHANGE_DIR
));
42286 PyDict_SetItemString(d
,"ACCEL_ALT", SWIG_FromInt((int)wxACCEL_ALT
));
42287 PyDict_SetItemString(d
,"ACCEL_CTRL", SWIG_FromInt((int)wxACCEL_CTRL
));
42288 PyDict_SetItemString(d
,"ACCEL_SHIFT", SWIG_FromInt((int)wxACCEL_SHIFT
));
42289 PyDict_SetItemString(d
,"ACCEL_NORMAL", SWIG_FromInt((int)wxACCEL_NORMAL
));
42290 PyDict_SetItemString(d
,"PD_AUTO_HIDE", SWIG_FromInt((int)wxPD_AUTO_HIDE
));
42291 PyDict_SetItemString(d
,"PD_APP_MODAL", SWIG_FromInt((int)wxPD_APP_MODAL
));
42292 PyDict_SetItemString(d
,"PD_CAN_ABORT", SWIG_FromInt((int)wxPD_CAN_ABORT
));
42293 PyDict_SetItemString(d
,"PD_ELAPSED_TIME", SWIG_FromInt((int)wxPD_ELAPSED_TIME
));
42294 PyDict_SetItemString(d
,"PD_ESTIMATED_TIME", SWIG_FromInt((int)wxPD_ESTIMATED_TIME
));
42295 PyDict_SetItemString(d
,"PD_REMAINING_TIME", SWIG_FromInt((int)wxPD_REMAINING_TIME
));
42296 PyDict_SetItemString(d
,"DD_NEW_DIR_BUTTON", SWIG_FromInt((int)wxDD_NEW_DIR_BUTTON
));
42297 PyDict_SetItemString(d
,"DD_DEFAULT_STYLE", SWIG_FromInt((int)wxDD_DEFAULT_STYLE
));
42298 PyDict_SetItemString(d
,"MENU_TEAROFF", SWIG_FromInt((int)wxMENU_TEAROFF
));
42299 PyDict_SetItemString(d
,"MB_DOCKABLE", SWIG_FromInt((int)wxMB_DOCKABLE
));
42300 PyDict_SetItemString(d
,"NO_FULL_REPAINT_ON_RESIZE", SWIG_FromInt((int)wxNO_FULL_REPAINT_ON_RESIZE
));
42301 PyDict_SetItemString(d
,"FULL_REPAINT_ON_RESIZE", SWIG_FromInt((int)wxFULL_REPAINT_ON_RESIZE
));
42302 PyDict_SetItemString(d
,"LI_HORIZONTAL", SWIG_FromInt((int)wxLI_HORIZONTAL
));
42303 PyDict_SetItemString(d
,"LI_VERTICAL", SWIG_FromInt((int)wxLI_VERTICAL
));
42304 PyDict_SetItemString(d
,"WS_EX_VALIDATE_RECURSIVELY", SWIG_FromInt((int)wxWS_EX_VALIDATE_RECURSIVELY
));
42305 PyDict_SetItemString(d
,"WS_EX_BLOCK_EVENTS", SWIG_FromInt((int)wxWS_EX_BLOCK_EVENTS
));
42306 PyDict_SetItemString(d
,"WS_EX_TRANSIENT", SWIG_FromInt((int)wxWS_EX_TRANSIENT
));
42307 PyDict_SetItemString(d
,"WS_EX_THEMED_BACKGROUND", SWIG_FromInt((int)wxWS_EX_THEMED_BACKGROUND
));
42308 PyDict_SetItemString(d
,"WS_EX_PROCESS_IDLE", SWIG_FromInt((int)wxWS_EX_PROCESS_IDLE
));
42309 PyDict_SetItemString(d
,"WS_EX_PROCESS_UI_UPDATES", SWIG_FromInt((int)wxWS_EX_PROCESS_UI_UPDATES
));
42310 PyDict_SetItemString(d
,"MM_TEXT", SWIG_FromInt((int)wxMM_TEXT
));
42311 PyDict_SetItemString(d
,"MM_LOMETRIC", SWIG_FromInt((int)wxMM_LOMETRIC
));
42312 PyDict_SetItemString(d
,"MM_HIMETRIC", SWIG_FromInt((int)wxMM_HIMETRIC
));
42313 PyDict_SetItemString(d
,"MM_LOENGLISH", SWIG_FromInt((int)wxMM_LOENGLISH
));
42314 PyDict_SetItemString(d
,"MM_HIENGLISH", SWIG_FromInt((int)wxMM_HIENGLISH
));
42315 PyDict_SetItemString(d
,"MM_TWIPS", SWIG_FromInt((int)wxMM_TWIPS
));
42316 PyDict_SetItemString(d
,"MM_ISOTROPIC", SWIG_FromInt((int)wxMM_ISOTROPIC
));
42317 PyDict_SetItemString(d
,"MM_ANISOTROPIC", SWIG_FromInt((int)wxMM_ANISOTROPIC
));
42318 PyDict_SetItemString(d
,"MM_POINTS", SWIG_FromInt((int)wxMM_POINTS
));
42319 PyDict_SetItemString(d
,"MM_METRIC", SWIG_FromInt((int)wxMM_METRIC
));
42320 PyDict_SetItemString(d
,"CENTRE", SWIG_FromInt((int)wxCENTRE
));
42321 PyDict_SetItemString(d
,"CENTER", SWIG_FromInt((int)wxCENTER
));
42322 PyDict_SetItemString(d
,"HORIZONTAL", SWIG_FromInt((int)wxHORIZONTAL
));
42323 PyDict_SetItemString(d
,"VERTICAL", SWIG_FromInt((int)wxVERTICAL
));
42324 PyDict_SetItemString(d
,"BOTH", SWIG_FromInt((int)wxBOTH
));
42325 PyDict_SetItemString(d
,"LEFT", SWIG_FromInt((int)wxLEFT
));
42326 PyDict_SetItemString(d
,"RIGHT", SWIG_FromInt((int)wxRIGHT
));
42327 PyDict_SetItemString(d
,"UP", SWIG_FromInt((int)wxUP
));
42328 PyDict_SetItemString(d
,"DOWN", SWIG_FromInt((int)wxDOWN
));
42329 PyDict_SetItemString(d
,"TOP", SWIG_FromInt((int)wxTOP
));
42330 PyDict_SetItemString(d
,"BOTTOM", SWIG_FromInt((int)wxBOTTOM
));
42331 PyDict_SetItemString(d
,"NORTH", SWIG_FromInt((int)wxNORTH
));
42332 PyDict_SetItemString(d
,"SOUTH", SWIG_FromInt((int)wxSOUTH
));
42333 PyDict_SetItemString(d
,"WEST", SWIG_FromInt((int)wxWEST
));
42334 PyDict_SetItemString(d
,"EAST", SWIG_FromInt((int)wxEAST
));
42335 PyDict_SetItemString(d
,"ALL", SWIG_FromInt((int)wxALL
));
42336 PyDict_SetItemString(d
,"ALIGN_NOT", SWIG_FromInt((int)wxALIGN_NOT
));
42337 PyDict_SetItemString(d
,"ALIGN_CENTER_HORIZONTAL", SWIG_FromInt((int)wxALIGN_CENTER_HORIZONTAL
));
42338 PyDict_SetItemString(d
,"ALIGN_CENTRE_HORIZONTAL", SWIG_FromInt((int)wxALIGN_CENTRE_HORIZONTAL
));
42339 PyDict_SetItemString(d
,"ALIGN_LEFT", SWIG_FromInt((int)wxALIGN_LEFT
));
42340 PyDict_SetItemString(d
,"ALIGN_TOP", SWIG_FromInt((int)wxALIGN_TOP
));
42341 PyDict_SetItemString(d
,"ALIGN_RIGHT", SWIG_FromInt((int)wxALIGN_RIGHT
));
42342 PyDict_SetItemString(d
,"ALIGN_BOTTOM", SWIG_FromInt((int)wxALIGN_BOTTOM
));
42343 PyDict_SetItemString(d
,"ALIGN_CENTER_VERTICAL", SWIG_FromInt((int)wxALIGN_CENTER_VERTICAL
));
42344 PyDict_SetItemString(d
,"ALIGN_CENTRE_VERTICAL", SWIG_FromInt((int)wxALIGN_CENTRE_VERTICAL
));
42345 PyDict_SetItemString(d
,"ALIGN_CENTER", SWIG_FromInt((int)wxALIGN_CENTER
));
42346 PyDict_SetItemString(d
,"ALIGN_CENTRE", SWIG_FromInt((int)wxALIGN_CENTRE
));
42347 PyDict_SetItemString(d
,"ALIGN_MASK", SWIG_FromInt((int)wxALIGN_MASK
));
42348 PyDict_SetItemString(d
,"STRETCH_NOT", SWIG_FromInt((int)wxSTRETCH_NOT
));
42349 PyDict_SetItemString(d
,"SHRINK", SWIG_FromInt((int)wxSHRINK
));
42350 PyDict_SetItemString(d
,"GROW", SWIG_FromInt((int)wxGROW
));
42351 PyDict_SetItemString(d
,"EXPAND", SWIG_FromInt((int)wxEXPAND
));
42352 PyDict_SetItemString(d
,"SHAPED", SWIG_FromInt((int)wxSHAPED
));
42353 PyDict_SetItemString(d
,"FIXED_MINSIZE", SWIG_FromInt((int)wxFIXED_MINSIZE
));
42354 PyDict_SetItemString(d
,"TILE", SWIG_FromInt((int)wxTILE
));
42355 PyDict_SetItemString(d
,"ADJUST_MINSIZE", SWIG_FromInt((int)wxADJUST_MINSIZE
));
42356 PyDict_SetItemString(d
,"BORDER_DEFAULT", SWIG_FromInt((int)wxBORDER_DEFAULT
));
42357 PyDict_SetItemString(d
,"BORDER_NONE", SWIG_FromInt((int)wxBORDER_NONE
));
42358 PyDict_SetItemString(d
,"BORDER_STATIC", SWIG_FromInt((int)wxBORDER_STATIC
));
42359 PyDict_SetItemString(d
,"BORDER_SIMPLE", SWIG_FromInt((int)wxBORDER_SIMPLE
));
42360 PyDict_SetItemString(d
,"BORDER_RAISED", SWIG_FromInt((int)wxBORDER_RAISED
));
42361 PyDict_SetItemString(d
,"BORDER_SUNKEN", SWIG_FromInt((int)wxBORDER_SUNKEN
));
42362 PyDict_SetItemString(d
,"BORDER_DOUBLE", SWIG_FromInt((int)wxBORDER_DOUBLE
));
42363 PyDict_SetItemString(d
,"BORDER_MASK", SWIG_FromInt((int)wxBORDER_MASK
));
42364 PyDict_SetItemString(d
,"DEFAULT", SWIG_FromInt((int)wxDEFAULT
));
42365 PyDict_SetItemString(d
,"DECORATIVE", SWIG_FromInt((int)wxDECORATIVE
));
42366 PyDict_SetItemString(d
,"ROMAN", SWIG_FromInt((int)wxROMAN
));
42367 PyDict_SetItemString(d
,"SCRIPT", SWIG_FromInt((int)wxSCRIPT
));
42368 PyDict_SetItemString(d
,"SWISS", SWIG_FromInt((int)wxSWISS
));
42369 PyDict_SetItemString(d
,"MODERN", SWIG_FromInt((int)wxMODERN
));
42370 PyDict_SetItemString(d
,"TELETYPE", SWIG_FromInt((int)wxTELETYPE
));
42371 PyDict_SetItemString(d
,"VARIABLE", SWIG_FromInt((int)wxVARIABLE
));
42372 PyDict_SetItemString(d
,"FIXED", SWIG_FromInt((int)wxFIXED
));
42373 PyDict_SetItemString(d
,"NORMAL", SWIG_FromInt((int)wxNORMAL
));
42374 PyDict_SetItemString(d
,"LIGHT", SWIG_FromInt((int)wxLIGHT
));
42375 PyDict_SetItemString(d
,"BOLD", SWIG_FromInt((int)wxBOLD
));
42376 PyDict_SetItemString(d
,"ITALIC", SWIG_FromInt((int)wxITALIC
));
42377 PyDict_SetItemString(d
,"SLANT", SWIG_FromInt((int)wxSLANT
));
42378 PyDict_SetItemString(d
,"SOLID", SWIG_FromInt((int)wxSOLID
));
42379 PyDict_SetItemString(d
,"DOT", SWIG_FromInt((int)wxDOT
));
42380 PyDict_SetItemString(d
,"LONG_DASH", SWIG_FromInt((int)wxLONG_DASH
));
42381 PyDict_SetItemString(d
,"SHORT_DASH", SWIG_FromInt((int)wxSHORT_DASH
));
42382 PyDict_SetItemString(d
,"DOT_DASH", SWIG_FromInt((int)wxDOT_DASH
));
42383 PyDict_SetItemString(d
,"USER_DASH", SWIG_FromInt((int)wxUSER_DASH
));
42384 PyDict_SetItemString(d
,"TRANSPARENT", SWIG_FromInt((int)wxTRANSPARENT
));
42385 PyDict_SetItemString(d
,"STIPPLE", SWIG_FromInt((int)wxSTIPPLE
));
42386 PyDict_SetItemString(d
,"BDIAGONAL_HATCH", SWIG_FromInt((int)wxBDIAGONAL_HATCH
));
42387 PyDict_SetItemString(d
,"CROSSDIAG_HATCH", SWIG_FromInt((int)wxCROSSDIAG_HATCH
));
42388 PyDict_SetItemString(d
,"FDIAGONAL_HATCH", SWIG_FromInt((int)wxFDIAGONAL_HATCH
));
42389 PyDict_SetItemString(d
,"CROSS_HATCH", SWIG_FromInt((int)wxCROSS_HATCH
));
42390 PyDict_SetItemString(d
,"HORIZONTAL_HATCH", SWIG_FromInt((int)wxHORIZONTAL_HATCH
));
42391 PyDict_SetItemString(d
,"VERTICAL_HATCH", SWIG_FromInt((int)wxVERTICAL_HATCH
));
42392 PyDict_SetItemString(d
,"JOIN_BEVEL", SWIG_FromInt((int)wxJOIN_BEVEL
));
42393 PyDict_SetItemString(d
,"JOIN_MITER", SWIG_FromInt((int)wxJOIN_MITER
));
42394 PyDict_SetItemString(d
,"JOIN_ROUND", SWIG_FromInt((int)wxJOIN_ROUND
));
42395 PyDict_SetItemString(d
,"CAP_ROUND", SWIG_FromInt((int)wxCAP_ROUND
));
42396 PyDict_SetItemString(d
,"CAP_PROJECTING", SWIG_FromInt((int)wxCAP_PROJECTING
));
42397 PyDict_SetItemString(d
,"CAP_BUTT", SWIG_FromInt((int)wxCAP_BUTT
));
42398 PyDict_SetItemString(d
,"CLEAR", SWIG_FromInt((int)wxCLEAR
));
42399 PyDict_SetItemString(d
,"XOR", SWIG_FromInt((int)wxXOR
));
42400 PyDict_SetItemString(d
,"INVERT", SWIG_FromInt((int)wxINVERT
));
42401 PyDict_SetItemString(d
,"OR_REVERSE", SWIG_FromInt((int)wxOR_REVERSE
));
42402 PyDict_SetItemString(d
,"AND_REVERSE", SWIG_FromInt((int)wxAND_REVERSE
));
42403 PyDict_SetItemString(d
,"COPY", SWIG_FromInt((int)wxCOPY
));
42404 PyDict_SetItemString(d
,"AND", SWIG_FromInt((int)wxAND
));
42405 PyDict_SetItemString(d
,"AND_INVERT", SWIG_FromInt((int)wxAND_INVERT
));
42406 PyDict_SetItemString(d
,"NO_OP", SWIG_FromInt((int)wxNO_OP
));
42407 PyDict_SetItemString(d
,"NOR", SWIG_FromInt((int)wxNOR
));
42408 PyDict_SetItemString(d
,"EQUIV", SWIG_FromInt((int)wxEQUIV
));
42409 PyDict_SetItemString(d
,"SRC_INVERT", SWIG_FromInt((int)wxSRC_INVERT
));
42410 PyDict_SetItemString(d
,"OR_INVERT", SWIG_FromInt((int)wxOR_INVERT
));
42411 PyDict_SetItemString(d
,"NAND", SWIG_FromInt((int)wxNAND
));
42412 PyDict_SetItemString(d
,"OR", SWIG_FromInt((int)wxOR
));
42413 PyDict_SetItemString(d
,"SET", SWIG_FromInt((int)wxSET
));
42414 PyDict_SetItemString(d
,"WXK_BACK", SWIG_FromInt((int)WXK_BACK
));
42415 PyDict_SetItemString(d
,"WXK_TAB", SWIG_FromInt((int)WXK_TAB
));
42416 PyDict_SetItemString(d
,"WXK_RETURN", SWIG_FromInt((int)WXK_RETURN
));
42417 PyDict_SetItemString(d
,"WXK_ESCAPE", SWIG_FromInt((int)WXK_ESCAPE
));
42418 PyDict_SetItemString(d
,"WXK_SPACE", SWIG_FromInt((int)WXK_SPACE
));
42419 PyDict_SetItemString(d
,"WXK_DELETE", SWIG_FromInt((int)WXK_DELETE
));
42420 PyDict_SetItemString(d
,"WXK_START", SWIG_FromInt((int)WXK_START
));
42421 PyDict_SetItemString(d
,"WXK_LBUTTON", SWIG_FromInt((int)WXK_LBUTTON
));
42422 PyDict_SetItemString(d
,"WXK_RBUTTON", SWIG_FromInt((int)WXK_RBUTTON
));
42423 PyDict_SetItemString(d
,"WXK_CANCEL", SWIG_FromInt((int)WXK_CANCEL
));
42424 PyDict_SetItemString(d
,"WXK_MBUTTON", SWIG_FromInt((int)WXK_MBUTTON
));
42425 PyDict_SetItemString(d
,"WXK_CLEAR", SWIG_FromInt((int)WXK_CLEAR
));
42426 PyDict_SetItemString(d
,"WXK_SHIFT", SWIG_FromInt((int)WXK_SHIFT
));
42427 PyDict_SetItemString(d
,"WXK_ALT", SWIG_FromInt((int)WXK_ALT
));
42428 PyDict_SetItemString(d
,"WXK_CONTROL", SWIG_FromInt((int)WXK_CONTROL
));
42429 PyDict_SetItemString(d
,"WXK_MENU", SWIG_FromInt((int)WXK_MENU
));
42430 PyDict_SetItemString(d
,"WXK_PAUSE", SWIG_FromInt((int)WXK_PAUSE
));
42431 PyDict_SetItemString(d
,"WXK_CAPITAL", SWIG_FromInt((int)WXK_CAPITAL
));
42432 PyDict_SetItemString(d
,"WXK_PRIOR", SWIG_FromInt((int)WXK_PRIOR
));
42433 PyDict_SetItemString(d
,"WXK_NEXT", SWIG_FromInt((int)WXK_NEXT
));
42434 PyDict_SetItemString(d
,"WXK_END", SWIG_FromInt((int)WXK_END
));
42435 PyDict_SetItemString(d
,"WXK_HOME", SWIG_FromInt((int)WXK_HOME
));
42436 PyDict_SetItemString(d
,"WXK_LEFT", SWIG_FromInt((int)WXK_LEFT
));
42437 PyDict_SetItemString(d
,"WXK_UP", SWIG_FromInt((int)WXK_UP
));
42438 PyDict_SetItemString(d
,"WXK_RIGHT", SWIG_FromInt((int)WXK_RIGHT
));
42439 PyDict_SetItemString(d
,"WXK_DOWN", SWIG_FromInt((int)WXK_DOWN
));
42440 PyDict_SetItemString(d
,"WXK_SELECT", SWIG_FromInt((int)WXK_SELECT
));
42441 PyDict_SetItemString(d
,"WXK_PRINT", SWIG_FromInt((int)WXK_PRINT
));
42442 PyDict_SetItemString(d
,"WXK_EXECUTE", SWIG_FromInt((int)WXK_EXECUTE
));
42443 PyDict_SetItemString(d
,"WXK_SNAPSHOT", SWIG_FromInt((int)WXK_SNAPSHOT
));
42444 PyDict_SetItemString(d
,"WXK_INSERT", SWIG_FromInt((int)WXK_INSERT
));
42445 PyDict_SetItemString(d
,"WXK_HELP", SWIG_FromInt((int)WXK_HELP
));
42446 PyDict_SetItemString(d
,"WXK_NUMPAD0", SWIG_FromInt((int)WXK_NUMPAD0
));
42447 PyDict_SetItemString(d
,"WXK_NUMPAD1", SWIG_FromInt((int)WXK_NUMPAD1
));
42448 PyDict_SetItemString(d
,"WXK_NUMPAD2", SWIG_FromInt((int)WXK_NUMPAD2
));
42449 PyDict_SetItemString(d
,"WXK_NUMPAD3", SWIG_FromInt((int)WXK_NUMPAD3
));
42450 PyDict_SetItemString(d
,"WXK_NUMPAD4", SWIG_FromInt((int)WXK_NUMPAD4
));
42451 PyDict_SetItemString(d
,"WXK_NUMPAD5", SWIG_FromInt((int)WXK_NUMPAD5
));
42452 PyDict_SetItemString(d
,"WXK_NUMPAD6", SWIG_FromInt((int)WXK_NUMPAD6
));
42453 PyDict_SetItemString(d
,"WXK_NUMPAD7", SWIG_FromInt((int)WXK_NUMPAD7
));
42454 PyDict_SetItemString(d
,"WXK_NUMPAD8", SWIG_FromInt((int)WXK_NUMPAD8
));
42455 PyDict_SetItemString(d
,"WXK_NUMPAD9", SWIG_FromInt((int)WXK_NUMPAD9
));
42456 PyDict_SetItemString(d
,"WXK_MULTIPLY", SWIG_FromInt((int)WXK_MULTIPLY
));
42457 PyDict_SetItemString(d
,"WXK_ADD", SWIG_FromInt((int)WXK_ADD
));
42458 PyDict_SetItemString(d
,"WXK_SEPARATOR", SWIG_FromInt((int)WXK_SEPARATOR
));
42459 PyDict_SetItemString(d
,"WXK_SUBTRACT", SWIG_FromInt((int)WXK_SUBTRACT
));
42460 PyDict_SetItemString(d
,"WXK_DECIMAL", SWIG_FromInt((int)WXK_DECIMAL
));
42461 PyDict_SetItemString(d
,"WXK_DIVIDE", SWIG_FromInt((int)WXK_DIVIDE
));
42462 PyDict_SetItemString(d
,"WXK_F1", SWIG_FromInt((int)WXK_F1
));
42463 PyDict_SetItemString(d
,"WXK_F2", SWIG_FromInt((int)WXK_F2
));
42464 PyDict_SetItemString(d
,"WXK_F3", SWIG_FromInt((int)WXK_F3
));
42465 PyDict_SetItemString(d
,"WXK_F4", SWIG_FromInt((int)WXK_F4
));
42466 PyDict_SetItemString(d
,"WXK_F5", SWIG_FromInt((int)WXK_F5
));
42467 PyDict_SetItemString(d
,"WXK_F6", SWIG_FromInt((int)WXK_F6
));
42468 PyDict_SetItemString(d
,"WXK_F7", SWIG_FromInt((int)WXK_F7
));
42469 PyDict_SetItemString(d
,"WXK_F8", SWIG_FromInt((int)WXK_F8
));
42470 PyDict_SetItemString(d
,"WXK_F9", SWIG_FromInt((int)WXK_F9
));
42471 PyDict_SetItemString(d
,"WXK_F10", SWIG_FromInt((int)WXK_F10
));
42472 PyDict_SetItemString(d
,"WXK_F11", SWIG_FromInt((int)WXK_F11
));
42473 PyDict_SetItemString(d
,"WXK_F12", SWIG_FromInt((int)WXK_F12
));
42474 PyDict_SetItemString(d
,"WXK_F13", SWIG_FromInt((int)WXK_F13
));
42475 PyDict_SetItemString(d
,"WXK_F14", SWIG_FromInt((int)WXK_F14
));
42476 PyDict_SetItemString(d
,"WXK_F15", SWIG_FromInt((int)WXK_F15
));
42477 PyDict_SetItemString(d
,"WXK_F16", SWIG_FromInt((int)WXK_F16
));
42478 PyDict_SetItemString(d
,"WXK_F17", SWIG_FromInt((int)WXK_F17
));
42479 PyDict_SetItemString(d
,"WXK_F18", SWIG_FromInt((int)WXK_F18
));
42480 PyDict_SetItemString(d
,"WXK_F19", SWIG_FromInt((int)WXK_F19
));
42481 PyDict_SetItemString(d
,"WXK_F20", SWIG_FromInt((int)WXK_F20
));
42482 PyDict_SetItemString(d
,"WXK_F21", SWIG_FromInt((int)WXK_F21
));
42483 PyDict_SetItemString(d
,"WXK_F22", SWIG_FromInt((int)WXK_F22
));
42484 PyDict_SetItemString(d
,"WXK_F23", SWIG_FromInt((int)WXK_F23
));
42485 PyDict_SetItemString(d
,"WXK_F24", SWIG_FromInt((int)WXK_F24
));
42486 PyDict_SetItemString(d
,"WXK_NUMLOCK", SWIG_FromInt((int)WXK_NUMLOCK
));
42487 PyDict_SetItemString(d
,"WXK_SCROLL", SWIG_FromInt((int)WXK_SCROLL
));
42488 PyDict_SetItemString(d
,"WXK_PAGEUP", SWIG_FromInt((int)WXK_PAGEUP
));
42489 PyDict_SetItemString(d
,"WXK_PAGEDOWN", SWIG_FromInt((int)WXK_PAGEDOWN
));
42490 PyDict_SetItemString(d
,"WXK_NUMPAD_SPACE", SWIG_FromInt((int)WXK_NUMPAD_SPACE
));
42491 PyDict_SetItemString(d
,"WXK_NUMPAD_TAB", SWIG_FromInt((int)WXK_NUMPAD_TAB
));
42492 PyDict_SetItemString(d
,"WXK_NUMPAD_ENTER", SWIG_FromInt((int)WXK_NUMPAD_ENTER
));
42493 PyDict_SetItemString(d
,"WXK_NUMPAD_F1", SWIG_FromInt((int)WXK_NUMPAD_F1
));
42494 PyDict_SetItemString(d
,"WXK_NUMPAD_F2", SWIG_FromInt((int)WXK_NUMPAD_F2
));
42495 PyDict_SetItemString(d
,"WXK_NUMPAD_F3", SWIG_FromInt((int)WXK_NUMPAD_F3
));
42496 PyDict_SetItemString(d
,"WXK_NUMPAD_F4", SWIG_FromInt((int)WXK_NUMPAD_F4
));
42497 PyDict_SetItemString(d
,"WXK_NUMPAD_HOME", SWIG_FromInt((int)WXK_NUMPAD_HOME
));
42498 PyDict_SetItemString(d
,"WXK_NUMPAD_LEFT", SWIG_FromInt((int)WXK_NUMPAD_LEFT
));
42499 PyDict_SetItemString(d
,"WXK_NUMPAD_UP", SWIG_FromInt((int)WXK_NUMPAD_UP
));
42500 PyDict_SetItemString(d
,"WXK_NUMPAD_RIGHT", SWIG_FromInt((int)WXK_NUMPAD_RIGHT
));
42501 PyDict_SetItemString(d
,"WXK_NUMPAD_DOWN", SWIG_FromInt((int)WXK_NUMPAD_DOWN
));
42502 PyDict_SetItemString(d
,"WXK_NUMPAD_PRIOR", SWIG_FromInt((int)WXK_NUMPAD_PRIOR
));
42503 PyDict_SetItemString(d
,"WXK_NUMPAD_PAGEUP", SWIG_FromInt((int)WXK_NUMPAD_PAGEUP
));
42504 PyDict_SetItemString(d
,"WXK_NUMPAD_NEXT", SWIG_FromInt((int)WXK_NUMPAD_NEXT
));
42505 PyDict_SetItemString(d
,"WXK_NUMPAD_PAGEDOWN", SWIG_FromInt((int)WXK_NUMPAD_PAGEDOWN
));
42506 PyDict_SetItemString(d
,"WXK_NUMPAD_END", SWIG_FromInt((int)WXK_NUMPAD_END
));
42507 PyDict_SetItemString(d
,"WXK_NUMPAD_BEGIN", SWIG_FromInt((int)WXK_NUMPAD_BEGIN
));
42508 PyDict_SetItemString(d
,"WXK_NUMPAD_INSERT", SWIG_FromInt((int)WXK_NUMPAD_INSERT
));
42509 PyDict_SetItemString(d
,"WXK_NUMPAD_DELETE", SWIG_FromInt((int)WXK_NUMPAD_DELETE
));
42510 PyDict_SetItemString(d
,"WXK_NUMPAD_EQUAL", SWIG_FromInt((int)WXK_NUMPAD_EQUAL
));
42511 PyDict_SetItemString(d
,"WXK_NUMPAD_MULTIPLY", SWIG_FromInt((int)WXK_NUMPAD_MULTIPLY
));
42512 PyDict_SetItemString(d
,"WXK_NUMPAD_ADD", SWIG_FromInt((int)WXK_NUMPAD_ADD
));
42513 PyDict_SetItemString(d
,"WXK_NUMPAD_SEPARATOR", SWIG_FromInt((int)WXK_NUMPAD_SEPARATOR
));
42514 PyDict_SetItemString(d
,"WXK_NUMPAD_SUBTRACT", SWIG_FromInt((int)WXK_NUMPAD_SUBTRACT
));
42515 PyDict_SetItemString(d
,"WXK_NUMPAD_DECIMAL", SWIG_FromInt((int)WXK_NUMPAD_DECIMAL
));
42516 PyDict_SetItemString(d
,"WXK_NUMPAD_DIVIDE", SWIG_FromInt((int)WXK_NUMPAD_DIVIDE
));
42517 PyDict_SetItemString(d
,"WXK_WINDOWS_LEFT", SWIG_FromInt((int)WXK_WINDOWS_LEFT
));
42518 PyDict_SetItemString(d
,"WXK_WINDOWS_RIGHT", SWIG_FromInt((int)WXK_WINDOWS_RIGHT
));
42519 PyDict_SetItemString(d
,"WXK_WINDOWS_MENU", SWIG_FromInt((int)WXK_WINDOWS_MENU
));
42520 PyDict_SetItemString(d
,"PAPER_NONE", SWIG_FromInt((int)wxPAPER_NONE
));
42521 PyDict_SetItemString(d
,"PAPER_LETTER", SWIG_FromInt((int)wxPAPER_LETTER
));
42522 PyDict_SetItemString(d
,"PAPER_LEGAL", SWIG_FromInt((int)wxPAPER_LEGAL
));
42523 PyDict_SetItemString(d
,"PAPER_A4", SWIG_FromInt((int)wxPAPER_A4
));
42524 PyDict_SetItemString(d
,"PAPER_CSHEET", SWIG_FromInt((int)wxPAPER_CSHEET
));
42525 PyDict_SetItemString(d
,"PAPER_DSHEET", SWIG_FromInt((int)wxPAPER_DSHEET
));
42526 PyDict_SetItemString(d
,"PAPER_ESHEET", SWIG_FromInt((int)wxPAPER_ESHEET
));
42527 PyDict_SetItemString(d
,"PAPER_LETTERSMALL", SWIG_FromInt((int)wxPAPER_LETTERSMALL
));
42528 PyDict_SetItemString(d
,"PAPER_TABLOID", SWIG_FromInt((int)wxPAPER_TABLOID
));
42529 PyDict_SetItemString(d
,"PAPER_LEDGER", SWIG_FromInt((int)wxPAPER_LEDGER
));
42530 PyDict_SetItemString(d
,"PAPER_STATEMENT", SWIG_FromInt((int)wxPAPER_STATEMENT
));
42531 PyDict_SetItemString(d
,"PAPER_EXECUTIVE", SWIG_FromInt((int)wxPAPER_EXECUTIVE
));
42532 PyDict_SetItemString(d
,"PAPER_A3", SWIG_FromInt((int)wxPAPER_A3
));
42533 PyDict_SetItemString(d
,"PAPER_A4SMALL", SWIG_FromInt((int)wxPAPER_A4SMALL
));
42534 PyDict_SetItemString(d
,"PAPER_A5", SWIG_FromInt((int)wxPAPER_A5
));
42535 PyDict_SetItemString(d
,"PAPER_B4", SWIG_FromInt((int)wxPAPER_B4
));
42536 PyDict_SetItemString(d
,"PAPER_B5", SWIG_FromInt((int)wxPAPER_B5
));
42537 PyDict_SetItemString(d
,"PAPER_FOLIO", SWIG_FromInt((int)wxPAPER_FOLIO
));
42538 PyDict_SetItemString(d
,"PAPER_QUARTO", SWIG_FromInt((int)wxPAPER_QUARTO
));
42539 PyDict_SetItemString(d
,"PAPER_10X14", SWIG_FromInt((int)wxPAPER_10X14
));
42540 PyDict_SetItemString(d
,"PAPER_11X17", SWIG_FromInt((int)wxPAPER_11X17
));
42541 PyDict_SetItemString(d
,"PAPER_NOTE", SWIG_FromInt((int)wxPAPER_NOTE
));
42542 PyDict_SetItemString(d
,"PAPER_ENV_9", SWIG_FromInt((int)wxPAPER_ENV_9
));
42543 PyDict_SetItemString(d
,"PAPER_ENV_10", SWIG_FromInt((int)wxPAPER_ENV_10
));
42544 PyDict_SetItemString(d
,"PAPER_ENV_11", SWIG_FromInt((int)wxPAPER_ENV_11
));
42545 PyDict_SetItemString(d
,"PAPER_ENV_12", SWIG_FromInt((int)wxPAPER_ENV_12
));
42546 PyDict_SetItemString(d
,"PAPER_ENV_14", SWIG_FromInt((int)wxPAPER_ENV_14
));
42547 PyDict_SetItemString(d
,"PAPER_ENV_DL", SWIG_FromInt((int)wxPAPER_ENV_DL
));
42548 PyDict_SetItemString(d
,"PAPER_ENV_C5", SWIG_FromInt((int)wxPAPER_ENV_C5
));
42549 PyDict_SetItemString(d
,"PAPER_ENV_C3", SWIG_FromInt((int)wxPAPER_ENV_C3
));
42550 PyDict_SetItemString(d
,"PAPER_ENV_C4", SWIG_FromInt((int)wxPAPER_ENV_C4
));
42551 PyDict_SetItemString(d
,"PAPER_ENV_C6", SWIG_FromInt((int)wxPAPER_ENV_C6
));
42552 PyDict_SetItemString(d
,"PAPER_ENV_C65", SWIG_FromInt((int)wxPAPER_ENV_C65
));
42553 PyDict_SetItemString(d
,"PAPER_ENV_B4", SWIG_FromInt((int)wxPAPER_ENV_B4
));
42554 PyDict_SetItemString(d
,"PAPER_ENV_B5", SWIG_FromInt((int)wxPAPER_ENV_B5
));
42555 PyDict_SetItemString(d
,"PAPER_ENV_B6", SWIG_FromInt((int)wxPAPER_ENV_B6
));
42556 PyDict_SetItemString(d
,"PAPER_ENV_ITALY", SWIG_FromInt((int)wxPAPER_ENV_ITALY
));
42557 PyDict_SetItemString(d
,"PAPER_ENV_MONARCH", SWIG_FromInt((int)wxPAPER_ENV_MONARCH
));
42558 PyDict_SetItemString(d
,"PAPER_ENV_PERSONAL", SWIG_FromInt((int)wxPAPER_ENV_PERSONAL
));
42559 PyDict_SetItemString(d
,"PAPER_FANFOLD_US", SWIG_FromInt((int)wxPAPER_FANFOLD_US
));
42560 PyDict_SetItemString(d
,"PAPER_FANFOLD_STD_GERMAN", SWIG_FromInt((int)wxPAPER_FANFOLD_STD_GERMAN
));
42561 PyDict_SetItemString(d
,"PAPER_FANFOLD_LGL_GERMAN", SWIG_FromInt((int)wxPAPER_FANFOLD_LGL_GERMAN
));
42562 PyDict_SetItemString(d
,"PAPER_ISO_B4", SWIG_FromInt((int)wxPAPER_ISO_B4
));
42563 PyDict_SetItemString(d
,"PAPER_JAPANESE_POSTCARD", SWIG_FromInt((int)wxPAPER_JAPANESE_POSTCARD
));
42564 PyDict_SetItemString(d
,"PAPER_9X11", SWIG_FromInt((int)wxPAPER_9X11
));
42565 PyDict_SetItemString(d
,"PAPER_10X11", SWIG_FromInt((int)wxPAPER_10X11
));
42566 PyDict_SetItemString(d
,"PAPER_15X11", SWIG_FromInt((int)wxPAPER_15X11
));
42567 PyDict_SetItemString(d
,"PAPER_ENV_INVITE", SWIG_FromInt((int)wxPAPER_ENV_INVITE
));
42568 PyDict_SetItemString(d
,"PAPER_LETTER_EXTRA", SWIG_FromInt((int)wxPAPER_LETTER_EXTRA
));
42569 PyDict_SetItemString(d
,"PAPER_LEGAL_EXTRA", SWIG_FromInt((int)wxPAPER_LEGAL_EXTRA
));
42570 PyDict_SetItemString(d
,"PAPER_TABLOID_EXTRA", SWIG_FromInt((int)wxPAPER_TABLOID_EXTRA
));
42571 PyDict_SetItemString(d
,"PAPER_A4_EXTRA", SWIG_FromInt((int)wxPAPER_A4_EXTRA
));
42572 PyDict_SetItemString(d
,"PAPER_LETTER_TRANSVERSE", SWIG_FromInt((int)wxPAPER_LETTER_TRANSVERSE
));
42573 PyDict_SetItemString(d
,"PAPER_A4_TRANSVERSE", SWIG_FromInt((int)wxPAPER_A4_TRANSVERSE
));
42574 PyDict_SetItemString(d
,"PAPER_LETTER_EXTRA_TRANSVERSE", SWIG_FromInt((int)wxPAPER_LETTER_EXTRA_TRANSVERSE
));
42575 PyDict_SetItemString(d
,"PAPER_A_PLUS", SWIG_FromInt((int)wxPAPER_A_PLUS
));
42576 PyDict_SetItemString(d
,"PAPER_B_PLUS", SWIG_FromInt((int)wxPAPER_B_PLUS
));
42577 PyDict_SetItemString(d
,"PAPER_LETTER_PLUS", SWIG_FromInt((int)wxPAPER_LETTER_PLUS
));
42578 PyDict_SetItemString(d
,"PAPER_A4_PLUS", SWIG_FromInt((int)wxPAPER_A4_PLUS
));
42579 PyDict_SetItemString(d
,"PAPER_A5_TRANSVERSE", SWIG_FromInt((int)wxPAPER_A5_TRANSVERSE
));
42580 PyDict_SetItemString(d
,"PAPER_B5_TRANSVERSE", SWIG_FromInt((int)wxPAPER_B5_TRANSVERSE
));
42581 PyDict_SetItemString(d
,"PAPER_A3_EXTRA", SWIG_FromInt((int)wxPAPER_A3_EXTRA
));
42582 PyDict_SetItemString(d
,"PAPER_A5_EXTRA", SWIG_FromInt((int)wxPAPER_A5_EXTRA
));
42583 PyDict_SetItemString(d
,"PAPER_B5_EXTRA", SWIG_FromInt((int)wxPAPER_B5_EXTRA
));
42584 PyDict_SetItemString(d
,"PAPER_A2", SWIG_FromInt((int)wxPAPER_A2
));
42585 PyDict_SetItemString(d
,"PAPER_A3_TRANSVERSE", SWIG_FromInt((int)wxPAPER_A3_TRANSVERSE
));
42586 PyDict_SetItemString(d
,"PAPER_A3_EXTRA_TRANSVERSE", SWIG_FromInt((int)wxPAPER_A3_EXTRA_TRANSVERSE
));
42587 PyDict_SetItemString(d
,"DUPLEX_SIMPLEX", SWIG_FromInt((int)wxDUPLEX_SIMPLEX
));
42588 PyDict_SetItemString(d
,"DUPLEX_HORIZONTAL", SWIG_FromInt((int)wxDUPLEX_HORIZONTAL
));
42589 PyDict_SetItemString(d
,"DUPLEX_VERTICAL", SWIG_FromInt((int)wxDUPLEX_VERTICAL
));
42590 PyDict_SetItemString(d
,"ITEM_SEPARATOR", SWIG_FromInt((int)wxITEM_SEPARATOR
));
42591 PyDict_SetItemString(d
,"ITEM_NORMAL", SWIG_FromInt((int)wxITEM_NORMAL
));
42592 PyDict_SetItemString(d
,"ITEM_CHECK", SWIG_FromInt((int)wxITEM_CHECK
));
42593 PyDict_SetItemString(d
,"ITEM_RADIO", SWIG_FromInt((int)wxITEM_RADIO
));
42594 PyDict_SetItemString(d
,"ITEM_MAX", SWIG_FromInt((int)wxITEM_MAX
));
42595 PyDict_SetItemString(d
,"HT_NOWHERE", SWIG_FromInt((int)wxHT_NOWHERE
));
42596 PyDict_SetItemString(d
,"HT_SCROLLBAR_FIRST", SWIG_FromInt((int)wxHT_SCROLLBAR_FIRST
));
42597 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_LINE_1", SWIG_FromInt((int)wxHT_SCROLLBAR_ARROW_LINE_1
));
42598 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_LINE_2", SWIG_FromInt((int)wxHT_SCROLLBAR_ARROW_LINE_2
));
42599 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_PAGE_1", SWIG_FromInt((int)wxHT_SCROLLBAR_ARROW_PAGE_1
));
42600 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_PAGE_2", SWIG_FromInt((int)wxHT_SCROLLBAR_ARROW_PAGE_2
));
42601 PyDict_SetItemString(d
,"HT_SCROLLBAR_THUMB", SWIG_FromInt((int)wxHT_SCROLLBAR_THUMB
));
42602 PyDict_SetItemString(d
,"HT_SCROLLBAR_BAR_1", SWIG_FromInt((int)wxHT_SCROLLBAR_BAR_1
));
42603 PyDict_SetItemString(d
,"HT_SCROLLBAR_BAR_2", SWIG_FromInt((int)wxHT_SCROLLBAR_BAR_2
));
42604 PyDict_SetItemString(d
,"HT_SCROLLBAR_LAST", SWIG_FromInt((int)wxHT_SCROLLBAR_LAST
));
42605 PyDict_SetItemString(d
,"HT_WINDOW_OUTSIDE", SWIG_FromInt((int)wxHT_WINDOW_OUTSIDE
));
42606 PyDict_SetItemString(d
,"HT_WINDOW_INSIDE", SWIG_FromInt((int)wxHT_WINDOW_INSIDE
));
42607 PyDict_SetItemString(d
,"HT_WINDOW_VERT_SCROLLBAR", SWIG_FromInt((int)wxHT_WINDOW_VERT_SCROLLBAR
));
42608 PyDict_SetItemString(d
,"HT_WINDOW_HORZ_SCROLLBAR", SWIG_FromInt((int)wxHT_WINDOW_HORZ_SCROLLBAR
));
42609 PyDict_SetItemString(d
,"HT_WINDOW_CORNER", SWIG_FromInt((int)wxHT_WINDOW_CORNER
));
42610 PyDict_SetItemString(d
,"HT_MAX", SWIG_FromInt((int)wxHT_MAX
));
42611 PyDict_SetItemString(d
,"MOD_NONE", SWIG_FromInt((int)wxMOD_NONE
));
42612 PyDict_SetItemString(d
,"MOD_ALT", SWIG_FromInt((int)wxMOD_ALT
));
42613 PyDict_SetItemString(d
,"MOD_CONTROL", SWIG_FromInt((int)wxMOD_CONTROL
));
42614 PyDict_SetItemString(d
,"MOD_SHIFT", SWIG_FromInt((int)wxMOD_SHIFT
));
42615 PyDict_SetItemString(d
,"MOD_WIN", SWIG_FromInt((int)wxMOD_WIN
));
42616 PyDict_SetItemString(d
,"UPDATE_UI_NONE", SWIG_FromInt((int)wxUPDATE_UI_NONE
));
42617 PyDict_SetItemString(d
,"UPDATE_UI_RECURSE", SWIG_FromInt((int)wxUPDATE_UI_RECURSE
));
42618 PyDict_SetItemString(d
,"UPDATE_UI_FROMIDLE", SWIG_FromInt((int)wxUPDATE_UI_FROMIDLE
));
42619 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
42620 SWIG_addvarlink(SWIG_globals
,(char*)"EmptyString",_wrap_EmptyString_get
, _wrap_EmptyString_set
);
42621 PyDict_SetItemString(d
,"BITMAP_TYPE_INVALID", SWIG_FromInt((int)wxBITMAP_TYPE_INVALID
));
42622 PyDict_SetItemString(d
,"BITMAP_TYPE_BMP", SWIG_FromInt((int)wxBITMAP_TYPE_BMP
));
42623 PyDict_SetItemString(d
,"BITMAP_TYPE_ICO", SWIG_FromInt((int)wxBITMAP_TYPE_ICO
));
42624 PyDict_SetItemString(d
,"BITMAP_TYPE_CUR", SWIG_FromInt((int)wxBITMAP_TYPE_CUR
));
42625 PyDict_SetItemString(d
,"BITMAP_TYPE_XBM", SWIG_FromInt((int)wxBITMAP_TYPE_XBM
));
42626 PyDict_SetItemString(d
,"BITMAP_TYPE_XBM_DATA", SWIG_FromInt((int)wxBITMAP_TYPE_XBM_DATA
));
42627 PyDict_SetItemString(d
,"BITMAP_TYPE_XPM", SWIG_FromInt((int)wxBITMAP_TYPE_XPM
));
42628 PyDict_SetItemString(d
,"BITMAP_TYPE_XPM_DATA", SWIG_FromInt((int)wxBITMAP_TYPE_XPM_DATA
));
42629 PyDict_SetItemString(d
,"BITMAP_TYPE_TIF", SWIG_FromInt((int)wxBITMAP_TYPE_TIF
));
42630 PyDict_SetItemString(d
,"BITMAP_TYPE_GIF", SWIG_FromInt((int)wxBITMAP_TYPE_GIF
));
42631 PyDict_SetItemString(d
,"BITMAP_TYPE_PNG", SWIG_FromInt((int)wxBITMAP_TYPE_PNG
));
42632 PyDict_SetItemString(d
,"BITMAP_TYPE_JPEG", SWIG_FromInt((int)wxBITMAP_TYPE_JPEG
));
42633 PyDict_SetItemString(d
,"BITMAP_TYPE_PNM", SWIG_FromInt((int)wxBITMAP_TYPE_PNM
));
42634 PyDict_SetItemString(d
,"BITMAP_TYPE_PCX", SWIG_FromInt((int)wxBITMAP_TYPE_PCX
));
42635 PyDict_SetItemString(d
,"BITMAP_TYPE_PICT", SWIG_FromInt((int)wxBITMAP_TYPE_PICT
));
42636 PyDict_SetItemString(d
,"BITMAP_TYPE_ICON", SWIG_FromInt((int)wxBITMAP_TYPE_ICON
));
42637 PyDict_SetItemString(d
,"BITMAP_TYPE_ANI", SWIG_FromInt((int)wxBITMAP_TYPE_ANI
));
42638 PyDict_SetItemString(d
,"BITMAP_TYPE_IFF", SWIG_FromInt((int)wxBITMAP_TYPE_IFF
));
42639 PyDict_SetItemString(d
,"BITMAP_TYPE_MACCURSOR", SWIG_FromInt((int)wxBITMAP_TYPE_MACCURSOR
));
42640 PyDict_SetItemString(d
,"BITMAP_TYPE_ANY", SWIG_FromInt((int)wxBITMAP_TYPE_ANY
));
42641 PyDict_SetItemString(d
,"CURSOR_NONE", SWIG_FromInt((int)wxCURSOR_NONE
));
42642 PyDict_SetItemString(d
,"CURSOR_ARROW", SWIG_FromInt((int)wxCURSOR_ARROW
));
42643 PyDict_SetItemString(d
,"CURSOR_RIGHT_ARROW", SWIG_FromInt((int)wxCURSOR_RIGHT_ARROW
));
42644 PyDict_SetItemString(d
,"CURSOR_BULLSEYE", SWIG_FromInt((int)wxCURSOR_BULLSEYE
));
42645 PyDict_SetItemString(d
,"CURSOR_CHAR", SWIG_FromInt((int)wxCURSOR_CHAR
));
42646 PyDict_SetItemString(d
,"CURSOR_CROSS", SWIG_FromInt((int)wxCURSOR_CROSS
));
42647 PyDict_SetItemString(d
,"CURSOR_HAND", SWIG_FromInt((int)wxCURSOR_HAND
));
42648 PyDict_SetItemString(d
,"CURSOR_IBEAM", SWIG_FromInt((int)wxCURSOR_IBEAM
));
42649 PyDict_SetItemString(d
,"CURSOR_LEFT_BUTTON", SWIG_FromInt((int)wxCURSOR_LEFT_BUTTON
));
42650 PyDict_SetItemString(d
,"CURSOR_MAGNIFIER", SWIG_FromInt((int)wxCURSOR_MAGNIFIER
));
42651 PyDict_SetItemString(d
,"CURSOR_MIDDLE_BUTTON", SWIG_FromInt((int)wxCURSOR_MIDDLE_BUTTON
));
42652 PyDict_SetItemString(d
,"CURSOR_NO_ENTRY", SWIG_FromInt((int)wxCURSOR_NO_ENTRY
));
42653 PyDict_SetItemString(d
,"CURSOR_PAINT_BRUSH", SWIG_FromInt((int)wxCURSOR_PAINT_BRUSH
));
42654 PyDict_SetItemString(d
,"CURSOR_PENCIL", SWIG_FromInt((int)wxCURSOR_PENCIL
));
42655 PyDict_SetItemString(d
,"CURSOR_POINT_LEFT", SWIG_FromInt((int)wxCURSOR_POINT_LEFT
));
42656 PyDict_SetItemString(d
,"CURSOR_POINT_RIGHT", SWIG_FromInt((int)wxCURSOR_POINT_RIGHT
));
42657 PyDict_SetItemString(d
,"CURSOR_QUESTION_ARROW", SWIG_FromInt((int)wxCURSOR_QUESTION_ARROW
));
42658 PyDict_SetItemString(d
,"CURSOR_RIGHT_BUTTON", SWIG_FromInt((int)wxCURSOR_RIGHT_BUTTON
));
42659 PyDict_SetItemString(d
,"CURSOR_SIZENESW", SWIG_FromInt((int)wxCURSOR_SIZENESW
));
42660 PyDict_SetItemString(d
,"CURSOR_SIZENS", SWIG_FromInt((int)wxCURSOR_SIZENS
));
42661 PyDict_SetItemString(d
,"CURSOR_SIZENWSE", SWIG_FromInt((int)wxCURSOR_SIZENWSE
));
42662 PyDict_SetItemString(d
,"CURSOR_SIZEWE", SWIG_FromInt((int)wxCURSOR_SIZEWE
));
42663 PyDict_SetItemString(d
,"CURSOR_SIZING", SWIG_FromInt((int)wxCURSOR_SIZING
));
42664 PyDict_SetItemString(d
,"CURSOR_SPRAYCAN", SWIG_FromInt((int)wxCURSOR_SPRAYCAN
));
42665 PyDict_SetItemString(d
,"CURSOR_WAIT", SWIG_FromInt((int)wxCURSOR_WAIT
));
42666 PyDict_SetItemString(d
,"CURSOR_WATCH", SWIG_FromInt((int)wxCURSOR_WATCH
));
42667 PyDict_SetItemString(d
,"CURSOR_BLANK", SWIG_FromInt((int)wxCURSOR_BLANK
));
42668 PyDict_SetItemString(d
,"CURSOR_DEFAULT", SWIG_FromInt((int)wxCURSOR_DEFAULT
));
42669 PyDict_SetItemString(d
,"CURSOR_COPY_ARROW", SWIG_FromInt((int)wxCURSOR_COPY_ARROW
));
42670 PyDict_SetItemString(d
,"CURSOR_ARROWWAIT", SWIG_FromInt((int)wxCURSOR_ARROWWAIT
));
42671 PyDict_SetItemString(d
,"CURSOR_MAX", SWIG_FromInt((int)wxCURSOR_MAX
));
42672 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultPosition",_wrap_DefaultPosition_get
, _wrap_DefaultPosition_set
);
42673 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultSize",_wrap_DefaultSize_get
, _wrap_DefaultSize_set
);
42674 PyDict_SetItemString(d
,"FromStart", SWIG_FromInt((int)wxFromStart
));
42675 PyDict_SetItemString(d
,"FromCurrent", SWIG_FromInt((int)wxFromCurrent
));
42676 PyDict_SetItemString(d
,"FromEnd", SWIG_FromInt((int)wxFromEnd
));
42678 wxPyPtrTypeMap_Add("wxInputStream", "wxPyInputStream");
42681 wxPyPtrTypeMap_Add("wxFileSystemHandler", "wxPyFileSystemHandler");
42683 SWIG_addvarlink(SWIG_globals
,(char*)"NullImage",_wrap_NullImage_get
, _wrap_NullImage_set
);
42684 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_BMP_FORMAT",_wrap_IMAGE_OPTION_BMP_FORMAT_get
, _wrap_IMAGE_OPTION_BMP_FORMAT_set
);
42685 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_CUR_HOTSPOT_X",_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get
, _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set
);
42686 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_CUR_HOTSPOT_Y",_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get
, _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set
);
42687 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTION",_wrap_IMAGE_OPTION_RESOLUTION_get
, _wrap_IMAGE_OPTION_RESOLUTION_set
);
42688 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTIONUNIT",_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get
, _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set
);
42689 PyDict_SetItemString(d
,"IMAGE_RESOLUTION_INCHES", SWIG_FromInt((int)wxIMAGE_RESOLUTION_INCHES
));
42690 PyDict_SetItemString(d
,"IMAGE_RESOLUTION_CM", SWIG_FromInt((int)wxIMAGE_RESOLUTION_CM
));
42691 PyDict_SetItemString(d
,"BMP_24BPP", SWIG_FromInt((int)wxBMP_24BPP
));
42692 PyDict_SetItemString(d
,"BMP_8BPP", SWIG_FromInt((int)wxBMP_8BPP
));
42693 PyDict_SetItemString(d
,"BMP_8BPP_GREY", SWIG_FromInt((int)wxBMP_8BPP_GREY
));
42694 PyDict_SetItemString(d
,"BMP_8BPP_GRAY", SWIG_FromInt((int)wxBMP_8BPP_GRAY
));
42695 PyDict_SetItemString(d
,"BMP_8BPP_RED", SWIG_FromInt((int)wxBMP_8BPP_RED
));
42696 PyDict_SetItemString(d
,"BMP_8BPP_PALETTE", SWIG_FromInt((int)wxBMP_8BPP_PALETTE
));
42697 PyDict_SetItemString(d
,"BMP_4BPP", SWIG_FromInt((int)wxBMP_4BPP
));
42698 PyDict_SetItemString(d
,"BMP_1BPP", SWIG_FromInt((int)wxBMP_1BPP
));
42699 PyDict_SetItemString(d
,"BMP_1BPP_BW", SWIG_FromInt((int)wxBMP_1BPP_BW
));
42700 PyDict_SetItemString(d
,"EVENT_PROPAGATE_NONE", SWIG_FromInt((int)wxEVENT_PROPAGATE_NONE
));
42701 PyDict_SetItemString(d
,"EVENT_PROPAGATE_MAX", SWIG_FromInt((int)wxEVENT_PROPAGATE_MAX
));
42702 PyDict_SetItemString(d
, "wxEVT_NULL", PyInt_FromLong(wxEVT_NULL
));
42703 PyDict_SetItemString(d
, "wxEVT_FIRST", PyInt_FromLong(wxEVT_FIRST
));
42704 PyDict_SetItemString(d
, "wxEVT_USER_FIRST", PyInt_FromLong(wxEVT_USER_FIRST
));
42705 PyDict_SetItemString(d
, "wxEVT_COMMAND_BUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_BUTTON_CLICKED
));
42706 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKBOX_CLICKED", PyInt_FromLong(wxEVT_COMMAND_CHECKBOX_CLICKED
));
42707 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICE_SELECTED", PyInt_FromLong(wxEVT_COMMAND_CHOICE_SELECTED
));
42708 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_SELECTED
));
42709 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_DOUBLECLICKED
));
42710 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKLISTBOX_TOGGLED", PyInt_FromLong(wxEVT_COMMAND_CHECKLISTBOX_TOGGLED
));
42711 PyDict_SetItemString(d
, "wxEVT_COMMAND_MENU_SELECTED", PyInt_FromLong(wxEVT_COMMAND_MENU_SELECTED
));
42712 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_CLICKED
));
42713 PyDict_SetItemString(d
, "wxEVT_COMMAND_SLIDER_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SLIDER_UPDATED
));
42714 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBOX_SELECTED
));
42715 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBUTTON_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBUTTON_SELECTED
));
42716 PyDict_SetItemString(d
, "wxEVT_COMMAND_SCROLLBAR_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SCROLLBAR_UPDATED
));
42717 PyDict_SetItemString(d
, "wxEVT_COMMAND_VLBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_VLBOX_SELECTED
));
42718 PyDict_SetItemString(d
, "wxEVT_COMMAND_COMBOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_COMBOBOX_SELECTED
));
42719 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_RCLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_RCLICKED
));
42720 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_ENTER", PyInt_FromLong(wxEVT_COMMAND_TOOL_ENTER
));
42721 PyDict_SetItemString(d
, "wxEVT_LEFT_DOWN", PyInt_FromLong(wxEVT_LEFT_DOWN
));
42722 PyDict_SetItemString(d
, "wxEVT_LEFT_UP", PyInt_FromLong(wxEVT_LEFT_UP
));
42723 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DOWN", PyInt_FromLong(wxEVT_MIDDLE_DOWN
));
42724 PyDict_SetItemString(d
, "wxEVT_MIDDLE_UP", PyInt_FromLong(wxEVT_MIDDLE_UP
));
42725 PyDict_SetItemString(d
, "wxEVT_RIGHT_DOWN", PyInt_FromLong(wxEVT_RIGHT_DOWN
));
42726 PyDict_SetItemString(d
, "wxEVT_RIGHT_UP", PyInt_FromLong(wxEVT_RIGHT_UP
));
42727 PyDict_SetItemString(d
, "wxEVT_MOTION", PyInt_FromLong(wxEVT_MOTION
));
42728 PyDict_SetItemString(d
, "wxEVT_ENTER_WINDOW", PyInt_FromLong(wxEVT_ENTER_WINDOW
));
42729 PyDict_SetItemString(d
, "wxEVT_LEAVE_WINDOW", PyInt_FromLong(wxEVT_LEAVE_WINDOW
));
42730 PyDict_SetItemString(d
, "wxEVT_LEFT_DCLICK", PyInt_FromLong(wxEVT_LEFT_DCLICK
));
42731 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_MIDDLE_DCLICK
));
42732 PyDict_SetItemString(d
, "wxEVT_RIGHT_DCLICK", PyInt_FromLong(wxEVT_RIGHT_DCLICK
));
42733 PyDict_SetItemString(d
, "wxEVT_SET_FOCUS", PyInt_FromLong(wxEVT_SET_FOCUS
));
42734 PyDict_SetItemString(d
, "wxEVT_KILL_FOCUS", PyInt_FromLong(wxEVT_KILL_FOCUS
));
42735 PyDict_SetItemString(d
, "wxEVT_CHILD_FOCUS", PyInt_FromLong(wxEVT_CHILD_FOCUS
));
42736 PyDict_SetItemString(d
, "wxEVT_MOUSEWHEEL", PyInt_FromLong(wxEVT_MOUSEWHEEL
));
42737 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DOWN", PyInt_FromLong(wxEVT_NC_LEFT_DOWN
));
42738 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_UP", PyInt_FromLong(wxEVT_NC_LEFT_UP
));
42739 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DOWN", PyInt_FromLong(wxEVT_NC_MIDDLE_DOWN
));
42740 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_UP", PyInt_FromLong(wxEVT_NC_MIDDLE_UP
));
42741 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DOWN", PyInt_FromLong(wxEVT_NC_RIGHT_DOWN
));
42742 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_UP", PyInt_FromLong(wxEVT_NC_RIGHT_UP
));
42743 PyDict_SetItemString(d
, "wxEVT_NC_MOTION", PyInt_FromLong(wxEVT_NC_MOTION
));
42744 PyDict_SetItemString(d
, "wxEVT_NC_ENTER_WINDOW", PyInt_FromLong(wxEVT_NC_ENTER_WINDOW
));
42745 PyDict_SetItemString(d
, "wxEVT_NC_LEAVE_WINDOW", PyInt_FromLong(wxEVT_NC_LEAVE_WINDOW
));
42746 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DCLICK", PyInt_FromLong(wxEVT_NC_LEFT_DCLICK
));
42747 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_NC_MIDDLE_DCLICK
));
42748 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DCLICK", PyInt_FromLong(wxEVT_NC_RIGHT_DCLICK
));
42749 PyDict_SetItemString(d
, "wxEVT_CHAR", PyInt_FromLong(wxEVT_CHAR
));
42750 PyDict_SetItemString(d
, "wxEVT_CHAR_HOOK", PyInt_FromLong(wxEVT_CHAR_HOOK
));
42751 PyDict_SetItemString(d
, "wxEVT_NAVIGATION_KEY", PyInt_FromLong(wxEVT_NAVIGATION_KEY
));
42752 PyDict_SetItemString(d
, "wxEVT_KEY_DOWN", PyInt_FromLong(wxEVT_KEY_DOWN
));
42753 PyDict_SetItemString(d
, "wxEVT_KEY_UP", PyInt_FromLong(wxEVT_KEY_UP
));
42754 PyDict_SetItemString(d
, "wxEVT_HOTKEY", PyInt_FromLong(wxEVT_HOTKEY
));
42755 PyDict_SetItemString(d
, "wxEVT_SET_CURSOR", PyInt_FromLong(wxEVT_SET_CURSOR
));
42756 PyDict_SetItemString(d
, "wxEVT_SCROLL_TOP", PyInt_FromLong(wxEVT_SCROLL_TOP
));
42757 PyDict_SetItemString(d
, "wxEVT_SCROLL_BOTTOM", PyInt_FromLong(wxEVT_SCROLL_BOTTOM
));
42758 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEUP", PyInt_FromLong(wxEVT_SCROLL_LINEUP
));
42759 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEDOWN", PyInt_FromLong(wxEVT_SCROLL_LINEDOWN
));
42760 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEUP", PyInt_FromLong(wxEVT_SCROLL_PAGEUP
));
42761 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLL_PAGEDOWN
));
42762 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLL_THUMBTRACK
));
42763 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLL_THUMBRELEASE
));
42764 PyDict_SetItemString(d
, "wxEVT_SCROLL_ENDSCROLL", PyInt_FromLong(wxEVT_SCROLL_ENDSCROLL
));
42765 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_TOP", PyInt_FromLong(wxEVT_SCROLLWIN_TOP
));
42766 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_BOTTOM", PyInt_FromLong(wxEVT_SCROLLWIN_BOTTOM
));
42767 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEUP", PyInt_FromLong(wxEVT_SCROLLWIN_LINEUP
));
42768 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_LINEDOWN
));
42769 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEUP", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEUP
));
42770 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEDOWN
));
42771 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBTRACK
));
42772 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBRELEASE
));
42773 PyDict_SetItemString(d
, "wxEVT_SIZE", PyInt_FromLong(wxEVT_SIZE
));
42774 PyDict_SetItemString(d
, "wxEVT_MOVE", PyInt_FromLong(wxEVT_MOVE
));
42775 PyDict_SetItemString(d
, "wxEVT_CLOSE_WINDOW", PyInt_FromLong(wxEVT_CLOSE_WINDOW
));
42776 PyDict_SetItemString(d
, "wxEVT_END_SESSION", PyInt_FromLong(wxEVT_END_SESSION
));
42777 PyDict_SetItemString(d
, "wxEVT_QUERY_END_SESSION", PyInt_FromLong(wxEVT_QUERY_END_SESSION
));
42778 PyDict_SetItemString(d
, "wxEVT_ACTIVATE_APP", PyInt_FromLong(wxEVT_ACTIVATE_APP
));
42779 PyDict_SetItemString(d
, "wxEVT_POWER", PyInt_FromLong(wxEVT_POWER
));
42780 PyDict_SetItemString(d
, "wxEVT_ACTIVATE", PyInt_FromLong(wxEVT_ACTIVATE
));
42781 PyDict_SetItemString(d
, "wxEVT_CREATE", PyInt_FromLong(wxEVT_CREATE
));
42782 PyDict_SetItemString(d
, "wxEVT_DESTROY", PyInt_FromLong(wxEVT_DESTROY
));
42783 PyDict_SetItemString(d
, "wxEVT_SHOW", PyInt_FromLong(wxEVT_SHOW
));
42784 PyDict_SetItemString(d
, "wxEVT_ICONIZE", PyInt_FromLong(wxEVT_ICONIZE
));
42785 PyDict_SetItemString(d
, "wxEVT_MAXIMIZE", PyInt_FromLong(wxEVT_MAXIMIZE
));
42786 PyDict_SetItemString(d
, "wxEVT_MOUSE_CAPTURE_CHANGED", PyInt_FromLong(wxEVT_MOUSE_CAPTURE_CHANGED
));
42787 PyDict_SetItemString(d
, "wxEVT_PAINT", PyInt_FromLong(wxEVT_PAINT
));
42788 PyDict_SetItemString(d
, "wxEVT_ERASE_BACKGROUND", PyInt_FromLong(wxEVT_ERASE_BACKGROUND
));
42789 PyDict_SetItemString(d
, "wxEVT_NC_PAINT", PyInt_FromLong(wxEVT_NC_PAINT
));
42790 PyDict_SetItemString(d
, "wxEVT_PAINT_ICON", PyInt_FromLong(wxEVT_PAINT_ICON
));
42791 PyDict_SetItemString(d
, "wxEVT_MENU_OPEN", PyInt_FromLong(wxEVT_MENU_OPEN
));
42792 PyDict_SetItemString(d
, "wxEVT_MENU_CLOSE", PyInt_FromLong(wxEVT_MENU_CLOSE
));
42793 PyDict_SetItemString(d
, "wxEVT_MENU_HIGHLIGHT", PyInt_FromLong(wxEVT_MENU_HIGHLIGHT
));
42794 PyDict_SetItemString(d
, "wxEVT_CONTEXT_MENU", PyInt_FromLong(wxEVT_CONTEXT_MENU
));
42795 PyDict_SetItemString(d
, "wxEVT_SYS_COLOUR_CHANGED", PyInt_FromLong(wxEVT_SYS_COLOUR_CHANGED
));
42796 PyDict_SetItemString(d
, "wxEVT_DISPLAY_CHANGED", PyInt_FromLong(wxEVT_DISPLAY_CHANGED
));
42797 PyDict_SetItemString(d
, "wxEVT_SETTING_CHANGED", PyInt_FromLong(wxEVT_SETTING_CHANGED
));
42798 PyDict_SetItemString(d
, "wxEVT_QUERY_NEW_PALETTE", PyInt_FromLong(wxEVT_QUERY_NEW_PALETTE
));
42799 PyDict_SetItemString(d
, "wxEVT_PALETTE_CHANGED", PyInt_FromLong(wxEVT_PALETTE_CHANGED
));
42800 PyDict_SetItemString(d
, "wxEVT_DROP_FILES", PyInt_FromLong(wxEVT_DROP_FILES
));
42801 PyDict_SetItemString(d
, "wxEVT_DRAW_ITEM", PyInt_FromLong(wxEVT_DRAW_ITEM
));
42802 PyDict_SetItemString(d
, "wxEVT_MEASURE_ITEM", PyInt_FromLong(wxEVT_MEASURE_ITEM
));
42803 PyDict_SetItemString(d
, "wxEVT_COMPARE_ITEM", PyInt_FromLong(wxEVT_COMPARE_ITEM
));
42804 PyDict_SetItemString(d
, "wxEVT_INIT_DIALOG", PyInt_FromLong(wxEVT_INIT_DIALOG
));
42805 PyDict_SetItemString(d
, "wxEVT_IDLE", PyInt_FromLong(wxEVT_IDLE
));
42806 PyDict_SetItemString(d
, "wxEVT_UPDATE_UI", PyInt_FromLong(wxEVT_UPDATE_UI
));
42807 PyDict_SetItemString(d
, "wxEVT_SIZING", PyInt_FromLong(wxEVT_SIZING
));
42808 PyDict_SetItemString(d
, "wxEVT_MOVING", PyInt_FromLong(wxEVT_MOVING
));
42809 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_CLICK
));
42810 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_DCLICK
));
42811 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_CLICK
));
42812 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_DCLICK
));
42813 PyDict_SetItemString(d
, "wxEVT_COMMAND_SET_FOCUS", PyInt_FromLong(wxEVT_COMMAND_SET_FOCUS
));
42814 PyDict_SetItemString(d
, "wxEVT_COMMAND_KILL_FOCUS", PyInt_FromLong(wxEVT_COMMAND_KILL_FOCUS
));
42815 PyDict_SetItemString(d
, "wxEVT_COMMAND_ENTER", PyInt_FromLong(wxEVT_COMMAND_ENTER
));
42816 PyDict_SetItemString(d
,"MOUSE_BTN_ANY", SWIG_FromInt((int)wxMOUSE_BTN_ANY
));
42817 PyDict_SetItemString(d
,"MOUSE_BTN_NONE", SWIG_FromInt((int)wxMOUSE_BTN_NONE
));
42818 PyDict_SetItemString(d
,"MOUSE_BTN_LEFT", SWIG_FromInt((int)wxMOUSE_BTN_LEFT
));
42819 PyDict_SetItemString(d
,"MOUSE_BTN_MIDDLE", SWIG_FromInt((int)wxMOUSE_BTN_MIDDLE
));
42820 PyDict_SetItemString(d
,"MOUSE_BTN_RIGHT", SWIG_FromInt((int)wxMOUSE_BTN_RIGHT
));
42821 PyDict_SetItemString(d
,"UPDATE_UI_PROCESS_ALL", SWIG_FromInt((int)wxUPDATE_UI_PROCESS_ALL
));
42822 PyDict_SetItemString(d
,"UPDATE_UI_PROCESS_SPECIFIED", SWIG_FromInt((int)wxUPDATE_UI_PROCESS_SPECIFIED
));
42823 PyDict_SetItemString(d
,"NavigationKeyEvent_IsBackward", SWIG_FromInt((int)wxNavigationKeyEvent::IsBackward
));
42824 PyDict_SetItemString(d
,"NavigationKeyEvent_IsForward", SWIG_FromInt((int)wxNavigationKeyEvent::IsForward
));
42825 PyDict_SetItemString(d
,"NavigationKeyEvent_WinChange", SWIG_FromInt((int)wxNavigationKeyEvent::WinChange
));
42826 PyDict_SetItemString(d
,"IDLE_PROCESS_ALL", SWIG_FromInt((int)wxIDLE_PROCESS_ALL
));
42827 PyDict_SetItemString(d
,"IDLE_PROCESS_SPECIFIED", SWIG_FromInt((int)wxIDLE_PROCESS_SPECIFIED
));
42828 PyDict_SetItemString(d
,"PYAPP_ASSERT_SUPPRESS", SWIG_FromInt((int)wxPYAPP_ASSERT_SUPPRESS
));
42829 PyDict_SetItemString(d
,"PYAPP_ASSERT_EXCEPTION", SWIG_FromInt((int)wxPYAPP_ASSERT_EXCEPTION
));
42830 PyDict_SetItemString(d
,"PYAPP_ASSERT_DIALOG", SWIG_FromInt((int)wxPYAPP_ASSERT_DIALOG
));
42831 PyDict_SetItemString(d
,"PYAPP_ASSERT_LOG", SWIG_FromInt((int)wxPYAPP_ASSERT_LOG
));
42832 PyDict_SetItemString(d
,"PRINT_WINDOWS", SWIG_FromInt((int)wxPRINT_WINDOWS
));
42833 PyDict_SetItemString(d
,"PRINT_POSTSCRIPT", SWIG_FromInt((int)wxPRINT_POSTSCRIPT
));
42834 SWIG_addvarlink(SWIG_globals
,(char*)"NullAcceleratorTable",_wrap_NullAcceleratorTable_get
, _wrap_NullAcceleratorTable_set
);
42835 SWIG_addvarlink(SWIG_globals
,(char*)"PanelNameStr",_wrap_PanelNameStr_get
, _wrap_PanelNameStr_set
);
42836 PyDict_SetItemString(d
,"WINDOW_VARIANT_NORMAL", SWIG_FromInt((int)wxWINDOW_VARIANT_NORMAL
));
42837 PyDict_SetItemString(d
,"WINDOW_VARIANT_SMALL", SWIG_FromInt((int)wxWINDOW_VARIANT_SMALL
));
42838 PyDict_SetItemString(d
,"WINDOW_VARIANT_MINI", SWIG_FromInt((int)wxWINDOW_VARIANT_MINI
));
42839 PyDict_SetItemString(d
,"WINDOW_VARIANT_LARGE", SWIG_FromInt((int)wxWINDOW_VARIANT_LARGE
));
42840 PyDict_SetItemString(d
,"WINDOW_VARIANT_MAX", SWIG_FromInt((int)wxWINDOW_VARIANT_MAX
));
42841 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultValidator",_wrap_DefaultValidator_get
, _wrap_DefaultValidator_set
);
42842 SWIG_addvarlink(SWIG_globals
,(char*)"ControlNameStr",_wrap_ControlNameStr_get
, _wrap_ControlNameStr_set
);
42843 PyDict_SetItemString(d
,"FLEX_GROWMODE_NONE", SWIG_FromInt((int)wxFLEX_GROWMODE_NONE
));
42844 PyDict_SetItemString(d
,"FLEX_GROWMODE_SPECIFIED", SWIG_FromInt((int)wxFLEX_GROWMODE_SPECIFIED
));
42845 PyDict_SetItemString(d
,"FLEX_GROWMODE_ALL", SWIG_FromInt((int)wxFLEX_GROWMODE_ALL
));
42846 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultSpan",_wrap_DefaultSpan_get
, _wrap_DefaultSpan_set
);
42847 PyDict_SetItemString(d
,"Left", SWIG_FromInt((int)wxLeft
));
42848 PyDict_SetItemString(d
,"Top", SWIG_FromInt((int)wxTop
));
42849 PyDict_SetItemString(d
,"Right", SWIG_FromInt((int)wxRight
));
42850 PyDict_SetItemString(d
,"Bottom", SWIG_FromInt((int)wxBottom
));
42851 PyDict_SetItemString(d
,"Width", SWIG_FromInt((int)wxWidth
));
42852 PyDict_SetItemString(d
,"Height", SWIG_FromInt((int)wxHeight
));
42853 PyDict_SetItemString(d
,"Centre", SWIG_FromInt((int)wxCentre
));
42854 PyDict_SetItemString(d
,"Center", SWIG_FromInt((int)wxCenter
));
42855 PyDict_SetItemString(d
,"CentreX", SWIG_FromInt((int)wxCentreX
));
42856 PyDict_SetItemString(d
,"CentreY", SWIG_FromInt((int)wxCentreY
));
42857 PyDict_SetItemString(d
,"Unconstrained", SWIG_FromInt((int)wxUnconstrained
));
42858 PyDict_SetItemString(d
,"AsIs", SWIG_FromInt((int)wxAsIs
));
42859 PyDict_SetItemString(d
,"PercentOf", SWIG_FromInt((int)wxPercentOf
));
42860 PyDict_SetItemString(d
,"Above", SWIG_FromInt((int)wxAbove
));
42861 PyDict_SetItemString(d
,"Below", SWIG_FromInt((int)wxBelow
));
42862 PyDict_SetItemString(d
,"LeftOf", SWIG_FromInt((int)wxLeftOf
));
42863 PyDict_SetItemString(d
,"RightOf", SWIG_FromInt((int)wxRightOf
));
42864 PyDict_SetItemString(d
,"SameAs", SWIG_FromInt((int)wxSameAs
));
42865 PyDict_SetItemString(d
,"Absolute", SWIG_FromInt((int)wxAbsolute
));
42867 // Initialize threading, some globals and such
42871 // Although these are defined in __version__ they need to be here too so
42872 // that an assert can be done to ensure that the wxPython and the wxWindows
42874 PyDict_SetItemString(d
,"MAJOR_VERSION", PyInt_FromLong((long)wxMAJOR_VERSION
));
42875 PyDict_SetItemString(d
,"MINOR_VERSION", PyInt_FromLong((long)wxMINOR_VERSION
));
42876 PyDict_SetItemString(d
,"RELEASE_VERSION", PyInt_FromLong((long)wxRELEASE_NUMBER
));