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();
1341 void wxApp_CleanUp() {
1346 wxPyApp
* wxPyGetApp() { return (wxPyApp
*)wxTheApp
; }
1350 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
1351 wxVisualAttributes
*new_wxVisualAttributes(){ return new wxVisualAttributes
; }
1352 void delete_wxVisualAttributes(wxVisualAttributes
*self
){ delete self
; }
1353 PyObject
*wxWindow_GetChildren(wxWindow
*self
){
1354 wxWindowList
& list
= self
->GetChildren();
1355 return wxPy_ConvertList(&list
);
1357 bool wxWindow_RegisterHotKey(wxWindow
*self
,int hotkeyId
,int modifiers
,int keycode
){
1359 return self
->RegisterHotKey(hotkeyId
, modifiers
, keycode
);
1364 bool wxWindow_UnregisterHotKey(wxWindow
*self
,int hotkeyId
){
1371 long wxWindow_GetHandle(wxWindow
*self
){
1372 return wxPyGetWinHandle(self
);
1375 wxWindow
* wxFindWindowById( long id
, const wxWindow
*parent
= NULL
) {
1376 return wxWindow::FindWindowById(id
, parent
);
1379 wxWindow
* wxFindWindowByName( const wxString
& name
,
1380 const wxWindow
*parent
= NULL
) {
1381 return wxWindow::FindWindowByName(name
, parent
);
1384 wxWindow
* wxFindWindowByLabel( const wxString
& label
,
1385 const wxWindow
*parent
= NULL
) {
1386 return wxWindow::FindWindowByLabel(label
, parent
);
1391 #include <wx/msw/private.h> // to get wxGetWindowId
1395 wxWindow
* wxWindow_FromHWND(wxWindow
* parent
, unsigned long _hWnd
) {
1397 WXHWND hWnd
= (WXHWND
)_hWnd
;
1398 long id
= wxGetWindowId(hWnd
);
1399 wxWindow
* win
= new wxWindow
;
1400 parent
->AddChild(win
);
1401 win
->SetEventHandler(win
);
1404 win
->SubclassWin(hWnd
);
1405 win
->AdoptAttributesFromHWND();
1406 win
->SetupColours();
1409 wxPyRaiseNotImplemented();
1415 IMP_PYCALLBACK_BOOL_WXWIN(wxPyValidator
, wxValidator
, Validate
);
1416 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferToWindow
);
1417 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferFromWindow
);
1419 IMPLEMENT_DYNAMIC_CLASS(wxPyValidator
, wxValidator
);
1421 void wxMenu_Destroy(wxMenu
*self
){ delete self
; }
1422 PyObject
*wxMenu_GetMenuItems(wxMenu
*self
){
1423 wxMenuItemList
& list
= self
->GetMenuItems();
1424 return wxPy_ConvertList(&list
);
1426 static const wxString
wxPyControlNameStr(wxControlNameStr
);
1427 int wxItemContainer_Append(wxItemContainer
*self
,wxString
const &item
,PyObject
*clientData
){
1429 wxPyClientData
* data
= new wxPyClientData(clientData
);
1430 return self
->Append(item
, data
);
1432 return self
->Append(item
);
1434 int wxItemContainer_Insert(wxItemContainer
*self
,wxString
const &item
,int pos
,PyObject
*clientData
){
1436 wxPyClientData
* data
= new wxPyClientData(clientData
);
1437 return self
->Insert(item
, pos
, data
);
1439 return self
->Insert(item
, pos
);
1441 PyObject
*wxItemContainer_GetClientData(wxItemContainer
*self
,int n
){
1442 wxPyClientData
* data
= (wxPyClientData
*)self
->GetClientObject(n
);
1444 Py_INCREF(data
->m_obj
);
1451 void wxItemContainer_SetClientData(wxItemContainer
*self
,int n
,PyObject
*clientData
){
1452 wxPyClientData
* data
= new wxPyClientData(clientData
);
1453 self
->SetClientObject(n
, data
);
1457 wxSizerItem
*new_wxSizerItem(wxWindow
*window
,int proportion
,int flag
,int border
,PyObject
*userData
){
1458 wxPyUserData
* data
= NULL
;
1460 bool blocked
= wxPyBeginBlockThreads();
1461 data
= new wxPyUserData(userData
);
1462 wxPyEndBlockThreads(blocked
);
1464 return new wxSizerItem(window
, proportion
, flag
, border
, data
);
1466 wxSizerItem
*new_wxSizerItem(int width
,int height
,int proportion
,int flag
,int border
,PyObject
*userData
){
1467 wxPyUserData
* data
= NULL
;
1469 bool blocked
= wxPyBeginBlockThreads();
1470 data
= new wxPyUserData(userData
);
1471 wxPyEndBlockThreads(blocked
);
1473 return new wxSizerItem(width
, height
, proportion
, flag
, border
, data
);
1475 wxSizerItem
*new_wxSizerItem(wxSizer
*sizer
,int proportion
,int flag
,int border
,PyObject
*userData
){
1476 wxPyUserData
* data
= NULL
;
1478 bool blocked
= wxPyBeginBlockThreads();
1479 data
= new wxPyUserData(userData
);
1480 wxPyEndBlockThreads(blocked
);
1482 return new wxSizerItem(sizer
, proportion
, flag
, border
, data
);
1488 SWIG_FloatCast(double value
)
1491 if (!PyErr_Occurred()) {
1492 if (value
< FLT_MIN
) {
1494 PyString_FromFormat("value %g is less than float minimum %g",
1496 PyErr_SetObject(PyExc_OverflowError
, err
);
1498 } else if (value
> FLT_MAX
) {
1500 PyString_FromFormat("value %g is greater than float maximum %g",
1502 PyErr_SetObject(PyExc_OverflowError
, err
);
1505 f
= swig_numeric_cast(float, value
);
1512 SWIGSTATICINLINE(float)
1513 SWIG_AsFloat(PyObject
*obj
)
1515 return SWIG_FloatCast(SWIG_AsDouble(obj
));
1519 SWIGSTATICINLINE(int)
1520 SWIG_CheckFloat(PyObject
* obj
)
1523 if (PyErr_Occurred()) {
1531 PyObject
*wxSizerItem_GetUserData(wxSizerItem
*self
){
1532 wxPyUserData
* data
= (wxPyUserData
*)self
->GetUserData();
1534 Py_INCREF(data
->m_obj
);
1542 // Figure out the type of the sizer item
1544 struct wxPySizerItemInfo
{
1546 : window(NULL
), sizer(NULL
), gotSize(False
),
1547 size(wxDefaultSize
), gotPos(False
), pos(-1)
1558 static wxPySizerItemInfo
wxPySizerItemTypeHelper(PyObject
* item
, bool checkSize
, bool checkIdx
) {
1560 wxPySizerItemInfo info
;
1562 wxSize
* sizePtr
= &size
;
1564 // Find out what the type of the item is
1566 if ( ! wxPyConvertSwigPtr(item
, (void**)&info
.window
, wxT("wxWindow")) ) {
1571 if ( ! wxPyConvertSwigPtr(item
, (void**)&info
.sizer
, wxT("wxSizer")) ) {
1575 // try wxSize or (w,h)
1576 if ( checkSize
&& wxSize_helper(item
, &sizePtr
)) {
1577 info
.size
= *sizePtr
;
1578 info
.gotSize
= True
;
1582 if (checkIdx
&& PyInt_Check(item
)) {
1583 info
.pos
= PyInt_AsLong(item
);
1589 if ( !(info
.window
|| info
.sizer
|| (checkSize
&& info
.gotSize
) || (checkIdx
&& info
.gotPos
)) ) {
1590 // no expected type, figure out what kind of error message to generate
1591 if ( !checkSize
&& !checkIdx
)
1592 PyErr_SetString(PyExc_TypeError
, "wxWindow or wxSizer expected for item");
1593 else if ( checkSize
&& !checkIdx
)
1594 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer, wxSize, or (w,h) expected for item");
1595 else if ( !checkSize
&& checkIdx
)
1596 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer or int (position) expected for item");
1598 // can this one happen?
1599 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer, wxSize, or (w,h) or int (position) expected for item");
1605 void wxSizer__setOORInfo(wxSizer
*self
,PyObject
*_self
){
1606 if (!self
->GetClientObject())
1607 self
->SetClientObject(new wxPyOORClientData(_self
));
1609 void wxSizer_Add(wxSizer
*self
,PyObject
*item
,int proportion
,int flag
,int border
,PyObject
*userData
){
1611 wxPyUserData
* data
= NULL
;
1612 bool blocked
= wxPyBeginBlockThreads();
1613 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, True
, False
);
1614 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1615 data
= new wxPyUserData(userData
);
1616 wxPyEndBlockThreads(blocked
);
1618 // Now call the real Add method if a valid item type was found
1620 self
->Add(info
.window
, proportion
, flag
, border
, data
);
1621 else if ( info
.sizer
)
1622 self
->Add(info
.sizer
, proportion
, flag
, border
, data
);
1623 else if (info
.gotSize
)
1624 self
->Add(info
.size
.GetWidth(), info
.size
.GetHeight(),
1625 proportion
, flag
, border
, data
);
1627 void wxSizer_Insert(wxSizer
*self
,int before
,PyObject
*item
,int proportion
,int flag
,int border
,PyObject
*userData
){
1629 wxPyUserData
* data
= NULL
;
1630 bool blocked
= wxPyBeginBlockThreads();
1631 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, True
, False
);
1632 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1633 data
= new wxPyUserData(userData
);
1634 wxPyEndBlockThreads(blocked
);
1636 // Now call the real Insert method if a valid item type was found
1638 self
->Insert(before
, info
.window
, proportion
, flag
, border
, data
);
1639 else if ( info
.sizer
)
1640 self
->Insert(before
, info
.sizer
, proportion
, flag
, border
, data
);
1641 else if (info
.gotSize
)
1642 self
->Insert(before
, info
.size
.GetWidth(), info
.size
.GetHeight(),
1643 proportion
, flag
, border
, data
);
1645 void wxSizer_Prepend(wxSizer
*self
,PyObject
*item
,int proportion
,int flag
,int border
,PyObject
*userData
){
1647 wxPyUserData
* data
= NULL
;
1648 bool blocked
= wxPyBeginBlockThreads();
1649 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, True
, False
);
1650 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1651 data
= new wxPyUserData(userData
);
1652 wxPyEndBlockThreads(blocked
);
1654 // Now call the real Prepend method if a valid item type was found
1656 self
->Prepend(info
.window
, proportion
, flag
, border
, data
);
1657 else if ( info
.sizer
)
1658 self
->Prepend(info
.sizer
, proportion
, flag
, border
, data
);
1659 else if (info
.gotSize
)
1660 self
->Prepend(info
.size
.GetWidth(), info
.size
.GetHeight(),
1661 proportion
, flag
, border
, data
);
1663 bool wxSizer_Remove(wxSizer
*self
,PyObject
*item
){
1664 bool blocked
= wxPyBeginBlockThreads();
1665 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, True
);
1666 wxPyEndBlockThreads(blocked
);
1668 return self
->Remove(info
.window
);
1669 else if ( info
.sizer
)
1670 return self
->Remove(info
.sizer
);
1671 else if ( info
.gotPos
)
1672 return self
->Remove(info
.pos
);
1676 bool wxSizer_Detach(wxSizer
*self
,PyObject
*item
){
1677 bool blocked
= wxPyBeginBlockThreads();
1678 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, True
);
1679 wxPyEndBlockThreads(blocked
);
1681 return self
->Detach(info
.window
);
1682 else if ( info
.sizer
)
1683 return self
->Detach(info
.sizer
);
1684 else if ( info
.gotPos
)
1685 return self
->Detach(info
.pos
);
1689 void wxSizer__SetItemMinSize(wxSizer
*self
,PyObject
*item
,wxSize
const &size
){
1690 bool blocked
= wxPyBeginBlockThreads();
1691 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, True
);
1692 wxPyEndBlockThreads(blocked
);
1694 self
->SetItemMinSize(info
.window
, size
);
1695 else if ( info
.sizer
)
1696 self
->SetItemMinSize(info
.sizer
, size
);
1697 else if ( info
.gotPos
)
1698 self
->SetItemMinSize(info
.pos
, size
);
1700 PyObject
*wxSizer_GetChildren(wxSizer
*self
){
1701 wxSizerItemList
& list
= self
->GetChildren();
1702 return wxPy_ConvertList(&list
);
1704 void wxSizer_Show(wxSizer
*self
,PyObject
*item
,bool show
){
1705 bool blocked
= wxPyBeginBlockThreads();
1706 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, True
);
1707 wxPyEndBlockThreads(blocked
);
1709 self
->Show(info
.window
, show
);
1710 else if ( info
.sizer
)
1711 self
->Show(info
.sizer
, show
);
1712 else if ( info
.gotPos
)
1713 self
->Show(info
.pos
, show
);
1715 bool wxSizer_IsShown(wxSizer
*self
,PyObject
*item
){
1716 bool blocked
= wxPyBeginBlockThreads();
1717 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, False
);
1718 wxPyEndBlockThreads(blocked
);
1720 return self
->IsShown(info
.window
);
1721 else if ( info
.sizer
)
1722 return self
->IsShown(info
.sizer
);
1723 else if ( info
.gotPos
)
1724 return self
->IsShown(info
.pos
);
1730 IMP_PYCALLBACK___pure(wxPySizer
, wxSizer
, RecalcSizes
);
1731 IMP_PYCALLBACK_wxSize__pure(wxPySizer
, wxSizer
, CalcMin
);
1732 IMPLEMENT_DYNAMIC_CLASS(wxPySizer
, wxSizer
);
1737 bool wxGBPosition_helper(PyObject
* source
, wxGBPosition
** obj
)
1739 if (source
== Py_None
) {
1740 **obj
= wxGBPosition(-1,-1);
1743 return wxPyTwoIntItem_helper(source
, obj
, wxT("wxGBPosition"));
1746 bool wxGBSpan_helper(PyObject
* source
, wxGBSpan
** obj
)
1748 if (source
== Py_None
) {
1749 **obj
= wxGBSpan(-1,-1);
1752 return wxPyTwoIntItem_helper(source
, obj
, wxT("wxGBSpan"));
1756 void wxGBPosition_Set(wxGBPosition
*self
,int row
,int col
){
1760 PyObject
*wxGBPosition_Get(wxGBPosition
*self
){
1761 bool blocked
= wxPyBeginBlockThreads();
1762 PyObject
* tup
= PyTuple_New(2);
1763 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRow()));
1764 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetCol()));
1765 wxPyEndBlockThreads(blocked
);
1768 void wxGBSpan_Set(wxGBSpan
*self
,int rowspan
,int colspan
){
1769 self
->SetRowspan(rowspan
);
1770 self
->SetColspan(colspan
);
1772 PyObject
*wxGBSpan_Get(wxGBSpan
*self
){
1773 bool blocked
= wxPyBeginBlockThreads();
1774 PyObject
* tup
= PyTuple_New(2);
1775 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRowspan()));
1776 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetColspan()));
1777 wxPyEndBlockThreads(blocked
);
1780 wxGBSizerItem
*new_wxGBSizerItem(wxWindow
*window
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
){
1781 wxPyUserData
* data
= NULL
;
1783 bool blocked
= wxPyBeginBlockThreads();
1784 data
= new wxPyUserData(userData
);
1785 wxPyEndBlockThreads(blocked
);
1787 return new wxGBSizerItem(window
, pos
, span
, flag
, border
, data
);
1789 wxGBSizerItem
*new_wxGBSizerItem(wxSizer
*sizer
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
){
1790 wxPyUserData
* data
= NULL
;
1792 bool blocked
= wxPyBeginBlockThreads();
1793 data
= new wxPyUserData(userData
);
1794 wxPyEndBlockThreads(blocked
);
1796 return new wxGBSizerItem(sizer
, pos
, span
, flag
, border
, data
);
1798 wxGBSizerItem
*new_wxGBSizerItem(int width
,int height
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
){
1799 wxPyUserData
* data
= NULL
;
1801 bool blocked
= wxPyBeginBlockThreads();
1802 data
= new wxPyUserData(userData
);
1803 wxPyEndBlockThreads(blocked
);
1805 return new wxGBSizerItem(width
, height
, pos
, span
, flag
, border
, data
);
1807 wxGBPosition
wxGBSizerItem_GetEndPos(wxGBSizerItem
*self
){
1809 self
->GetEndPos(row
, col
);
1810 return wxGBPosition(row
, col
);
1812 bool wxGridBagSizer_Add(wxGridBagSizer
*self
,PyObject
*item
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
){
1814 wxPyUserData
* data
= NULL
;
1815 bool blocked
= wxPyBeginBlockThreads();
1816 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, True
, False
);
1817 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1818 data
= new wxPyUserData(userData
);
1819 wxPyEndBlockThreads(blocked
);
1821 // Now call the real Add method if a valid item type was found
1823 return self
->Add(info
.window
, pos
, span
, flag
, border
, data
);
1824 else if ( info
.sizer
)
1825 return self
->Add(info
.sizer
, pos
, span
, flag
, border
, data
);
1826 else if (info
.gotSize
)
1827 return self
->Add(info
.size
.GetWidth(), info
.size
.GetHeight(),
1828 pos
, span
, flag
, border
, data
);
1836 static int _wrap_EmptyString_set(PyObject
*_val
) {
1837 PyErr_SetString(PyExc_TypeError
,"Variable EmptyString is read-only.");
1842 static PyObject
*_wrap_EmptyString_get() {
1847 pyobj
= PyUnicode_FromWideChar((&wxPyEmptyString
)->c_str(), (&wxPyEmptyString
)->Len());
1849 pyobj
= PyString_FromStringAndSize((&wxPyEmptyString
)->c_str(), (&wxPyEmptyString
)->Len());
1856 static PyObject
*_wrap_Object_GetClassName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1857 PyObject
*resultobj
;
1858 wxObject
*arg1
= (wxObject
*) 0 ;
1860 PyObject
* obj0
= 0 ;
1862 (char *) "self", NULL
1865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Object_GetClassName",kwnames
,&obj0
)) goto fail
;
1866 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxObject
,
1867 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1870 result
= wxObject_GetClassName(arg1
);
1872 wxPyEndAllowThreads(__tstate
);
1873 if (PyErr_Occurred()) SWIG_fail
;
1877 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
1879 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
1888 static PyObject
*_wrap_Object_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1889 PyObject
*resultobj
;
1890 wxObject
*arg1
= (wxObject
*) 0 ;
1891 PyObject
* obj0
= 0 ;
1893 (char *) "self", NULL
1896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Object_Destroy",kwnames
,&obj0
)) goto fail
;
1897 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxObject
,
1898 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1901 wxObject_Destroy(arg1
);
1903 wxPyEndAllowThreads(__tstate
);
1904 if (PyErr_Occurred()) SWIG_fail
;
1906 Py_INCREF(Py_None
); resultobj
= Py_None
;
1913 static PyObject
* Object_swigregister(PyObject
*self
, PyObject
*args
) {
1915 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1916 SWIG_TypeClientData(SWIGTYPE_p_wxObject
, obj
);
1918 return Py_BuildValue((char *)"");
1920 static PyObject
*_wrap_Size_width_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1921 PyObject
*resultobj
;
1922 wxSize
*arg1
= (wxSize
*) 0 ;
1924 PyObject
* obj0
= 0 ;
1925 PyObject
* obj1
= 0 ;
1927 (char *) "self",(char *) "x", NULL
1930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
1931 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
1932 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1933 arg2
= (int) SWIG_AsInt(obj1
);
1934 if (PyErr_Occurred()) SWIG_fail
;
1935 if (arg1
) (arg1
)->x
= arg2
;
1937 Py_INCREF(Py_None
); resultobj
= Py_None
;
1944 static PyObject
*_wrap_Size_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1945 PyObject
*resultobj
;
1946 wxSize
*arg1
= (wxSize
*) 0 ;
1948 PyObject
* obj0
= 0 ;
1950 (char *) "self", NULL
1953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_width_get",kwnames
,&obj0
)) goto fail
;
1954 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
1955 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1956 result
= (int) ((arg1
)->x
);
1958 resultobj
= SWIG_FromInt((int)result
);
1965 static PyObject
*_wrap_Size_height_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1966 PyObject
*resultobj
;
1967 wxSize
*arg1
= (wxSize
*) 0 ;
1969 PyObject
* obj0
= 0 ;
1970 PyObject
* obj1
= 0 ;
1972 (char *) "self",(char *) "y", NULL
1975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_height_set",kwnames
,&obj0
,&obj1
)) goto fail
;
1976 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
1977 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1978 arg2
= (int) SWIG_AsInt(obj1
);
1979 if (PyErr_Occurred()) SWIG_fail
;
1980 if (arg1
) (arg1
)->y
= arg2
;
1982 Py_INCREF(Py_None
); resultobj
= Py_None
;
1989 static PyObject
*_wrap_Size_height_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1990 PyObject
*resultobj
;
1991 wxSize
*arg1
= (wxSize
*) 0 ;
1993 PyObject
* obj0
= 0 ;
1995 (char *) "self", NULL
1998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_height_get",kwnames
,&obj0
)) goto fail
;
1999 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2000 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2001 result
= (int) ((arg1
)->y
);
2003 resultobj
= SWIG_FromInt((int)result
);
2010 static PyObject
*_wrap_new_Size(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2011 PyObject
*resultobj
;
2012 int arg1
= (int) 0 ;
2013 int arg2
= (int) 0 ;
2015 PyObject
* obj0
= 0 ;
2016 PyObject
* obj1
= 0 ;
2018 (char *) "w",(char *) "h", NULL
2021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Size",kwnames
,&obj0
,&obj1
)) goto fail
;
2023 arg1
= (int) SWIG_AsInt(obj0
);
2024 if (PyErr_Occurred()) SWIG_fail
;
2027 arg2
= (int) SWIG_AsInt(obj1
);
2028 if (PyErr_Occurred()) SWIG_fail
;
2031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2032 result
= (wxSize
*)new wxSize(arg1
,arg2
);
2034 wxPyEndAllowThreads(__tstate
);
2035 if (PyErr_Occurred()) SWIG_fail
;
2037 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 1);
2044 static PyObject
*_wrap_delete_Size(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2045 PyObject
*resultobj
;
2046 wxSize
*arg1
= (wxSize
*) 0 ;
2047 PyObject
* obj0
= 0 ;
2049 (char *) "self", NULL
2052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Size",kwnames
,&obj0
)) goto fail
;
2053 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2054 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2059 wxPyEndAllowThreads(__tstate
);
2060 if (PyErr_Occurred()) SWIG_fail
;
2062 Py_INCREF(Py_None
); resultobj
= Py_None
;
2069 static PyObject
*_wrap_Size___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2070 PyObject
*resultobj
;
2071 wxSize
*arg1
= (wxSize
*) 0 ;
2075 PyObject
* obj0
= 0 ;
2076 PyObject
* obj1
= 0 ;
2078 (char *) "self",(char *) "sz", NULL
2081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
2082 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2083 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2086 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2090 result
= (bool)(arg1
)->operator ==((wxSize
const &)*arg2
);
2092 wxPyEndAllowThreads(__tstate
);
2093 if (PyErr_Occurred()) SWIG_fail
;
2096 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2104 static PyObject
*_wrap_Size___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2105 PyObject
*resultobj
;
2106 wxSize
*arg1
= (wxSize
*) 0 ;
2110 PyObject
* obj0
= 0 ;
2111 PyObject
* obj1
= 0 ;
2113 (char *) "self",(char *) "sz", NULL
2116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
2117 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2118 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2121 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2125 result
= (bool)(arg1
)->operator !=((wxSize
const &)*arg2
);
2127 wxPyEndAllowThreads(__tstate
);
2128 if (PyErr_Occurred()) SWIG_fail
;
2131 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2139 static PyObject
*_wrap_Size___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2140 PyObject
*resultobj
;
2141 wxSize
*arg1
= (wxSize
*) 0 ;
2145 PyObject
* obj0
= 0 ;
2146 PyObject
* obj1
= 0 ;
2148 (char *) "self",(char *) "sz", NULL
2151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
2152 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2153 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2156 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2160 result
= (arg1
)->operator +((wxSize
const &)*arg2
);
2162 wxPyEndAllowThreads(__tstate
);
2163 if (PyErr_Occurred()) SWIG_fail
;
2167 resultptr
= new wxSize((wxSize
&) result
);
2168 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
2176 static PyObject
*_wrap_Size___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2177 PyObject
*resultobj
;
2178 wxSize
*arg1
= (wxSize
*) 0 ;
2182 PyObject
* obj0
= 0 ;
2183 PyObject
* obj1
= 0 ;
2185 (char *) "self",(char *) "sz", NULL
2188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
2189 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2190 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2193 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2197 result
= (arg1
)->operator -((wxSize
const &)*arg2
);
2199 wxPyEndAllowThreads(__tstate
);
2200 if (PyErr_Occurred()) SWIG_fail
;
2204 resultptr
= new wxSize((wxSize
&) result
);
2205 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
2213 static PyObject
*_wrap_Size_IncTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2214 PyObject
*resultobj
;
2215 wxSize
*arg1
= (wxSize
*) 0 ;
2218 PyObject
* obj0
= 0 ;
2219 PyObject
* obj1
= 0 ;
2221 (char *) "self",(char *) "sz", NULL
2224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_IncTo",kwnames
,&obj0
,&obj1
)) goto fail
;
2225 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2226 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2229 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2233 (arg1
)->IncTo((wxSize
const &)*arg2
);
2235 wxPyEndAllowThreads(__tstate
);
2236 if (PyErr_Occurred()) SWIG_fail
;
2238 Py_INCREF(Py_None
); resultobj
= Py_None
;
2245 static PyObject
*_wrap_Size_DecTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2246 PyObject
*resultobj
;
2247 wxSize
*arg1
= (wxSize
*) 0 ;
2250 PyObject
* obj0
= 0 ;
2251 PyObject
* obj1
= 0 ;
2253 (char *) "self",(char *) "sz", NULL
2256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_DecTo",kwnames
,&obj0
,&obj1
)) goto fail
;
2257 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2258 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2261 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2265 (arg1
)->DecTo((wxSize
const &)*arg2
);
2267 wxPyEndAllowThreads(__tstate
);
2268 if (PyErr_Occurred()) SWIG_fail
;
2270 Py_INCREF(Py_None
); resultobj
= Py_None
;
2277 static PyObject
*_wrap_Size_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2278 PyObject
*resultobj
;
2279 wxSize
*arg1
= (wxSize
*) 0 ;
2282 PyObject
* obj0
= 0 ;
2283 PyObject
* obj1
= 0 ;
2284 PyObject
* obj2
= 0 ;
2286 (char *) "self",(char *) "w",(char *) "h", NULL
2289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Size_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2290 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2291 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2292 arg2
= (int) SWIG_AsInt(obj1
);
2293 if (PyErr_Occurred()) SWIG_fail
;
2294 arg3
= (int) SWIG_AsInt(obj2
);
2295 if (PyErr_Occurred()) SWIG_fail
;
2297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2298 (arg1
)->Set(arg2
,arg3
);
2300 wxPyEndAllowThreads(__tstate
);
2301 if (PyErr_Occurred()) SWIG_fail
;
2303 Py_INCREF(Py_None
); resultobj
= Py_None
;
2310 static PyObject
*_wrap_Size_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2311 PyObject
*resultobj
;
2312 wxSize
*arg1
= (wxSize
*) 0 ;
2314 PyObject
* obj0
= 0 ;
2315 PyObject
* obj1
= 0 ;
2317 (char *) "self",(char *) "w", NULL
2320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
2321 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2322 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2323 arg2
= (int) SWIG_AsInt(obj1
);
2324 if (PyErr_Occurred()) SWIG_fail
;
2326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2327 (arg1
)->SetWidth(arg2
);
2329 wxPyEndAllowThreads(__tstate
);
2330 if (PyErr_Occurred()) SWIG_fail
;
2332 Py_INCREF(Py_None
); resultobj
= Py_None
;
2339 static PyObject
*_wrap_Size_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2340 PyObject
*resultobj
;
2341 wxSize
*arg1
= (wxSize
*) 0 ;
2343 PyObject
* obj0
= 0 ;
2344 PyObject
* obj1
= 0 ;
2346 (char *) "self",(char *) "h", NULL
2349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
2350 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2351 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2352 arg2
= (int) SWIG_AsInt(obj1
);
2353 if (PyErr_Occurred()) SWIG_fail
;
2355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2356 (arg1
)->SetHeight(arg2
);
2358 wxPyEndAllowThreads(__tstate
);
2359 if (PyErr_Occurred()) SWIG_fail
;
2361 Py_INCREF(Py_None
); resultobj
= Py_None
;
2368 static PyObject
*_wrap_Size_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2369 PyObject
*resultobj
;
2370 wxSize
*arg1
= (wxSize
*) 0 ;
2372 PyObject
* obj0
= 0 ;
2374 (char *) "self", NULL
2377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_GetWidth",kwnames
,&obj0
)) goto fail
;
2378 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2379 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2382 result
= (int)((wxSize
const *)arg1
)->GetWidth();
2384 wxPyEndAllowThreads(__tstate
);
2385 if (PyErr_Occurred()) SWIG_fail
;
2387 resultobj
= SWIG_FromInt((int)result
);
2394 static PyObject
*_wrap_Size_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2395 PyObject
*resultobj
;
2396 wxSize
*arg1
= (wxSize
*) 0 ;
2398 PyObject
* obj0
= 0 ;
2400 (char *) "self", NULL
2403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_GetHeight",kwnames
,&obj0
)) goto fail
;
2404 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2405 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2408 result
= (int)((wxSize
const *)arg1
)->GetHeight();
2410 wxPyEndAllowThreads(__tstate
);
2411 if (PyErr_Occurred()) SWIG_fail
;
2413 resultobj
= SWIG_FromInt((int)result
);
2420 static PyObject
*_wrap_Size_IsFullySpecified(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2421 PyObject
*resultobj
;
2422 wxSize
*arg1
= (wxSize
*) 0 ;
2424 PyObject
* obj0
= 0 ;
2426 (char *) "self", NULL
2429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_IsFullySpecified",kwnames
,&obj0
)) goto fail
;
2430 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2431 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2434 result
= (bool)((wxSize
const *)arg1
)->IsFullySpecified();
2436 wxPyEndAllowThreads(__tstate
);
2437 if (PyErr_Occurred()) SWIG_fail
;
2440 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2448 static PyObject
*_wrap_Size_SetDefaults(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2449 PyObject
*resultobj
;
2450 wxSize
*arg1
= (wxSize
*) 0 ;
2453 PyObject
* obj0
= 0 ;
2454 PyObject
* obj1
= 0 ;
2456 (char *) "self",(char *) "size", NULL
2459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetDefaults",kwnames
,&obj0
,&obj1
)) goto fail
;
2460 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2461 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2464 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2468 (arg1
)->SetDefaults((wxSize
const &)*arg2
);
2470 wxPyEndAllowThreads(__tstate
);
2471 if (PyErr_Occurred()) SWIG_fail
;
2473 Py_INCREF(Py_None
); resultobj
= Py_None
;
2480 static PyObject
*_wrap_Size_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2481 PyObject
*resultobj
;
2482 wxSize
*arg1
= (wxSize
*) 0 ;
2484 PyObject
* obj0
= 0 ;
2486 (char *) "self", NULL
2489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_Get",kwnames
,&obj0
)) goto fail
;
2490 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2491 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2494 result
= (PyObject
*)wxSize_Get(arg1
);
2496 wxPyEndAllowThreads(__tstate
);
2497 if (PyErr_Occurred()) SWIG_fail
;
2506 static PyObject
* Size_swigregister(PyObject
*self
, PyObject
*args
) {
2508 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2509 SWIG_TypeClientData(SWIGTYPE_p_wxSize
, obj
);
2511 return Py_BuildValue((char *)"");
2513 static PyObject
*_wrap_RealPoint_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2514 PyObject
*resultobj
;
2515 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2517 PyObject
* obj0
= 0 ;
2518 PyObject
* obj1
= 0 ;
2520 (char *) "self",(char *) "x", NULL
2523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
2524 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2525 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2526 arg2
= (double) SWIG_AsDouble(obj1
);
2527 if (PyErr_Occurred()) SWIG_fail
;
2528 if (arg1
) (arg1
)->x
= arg2
;
2530 Py_INCREF(Py_None
); resultobj
= Py_None
;
2537 static PyObject
*_wrap_RealPoint_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2538 PyObject
*resultobj
;
2539 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2541 PyObject
* obj0
= 0 ;
2543 (char *) "self", NULL
2546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_x_get",kwnames
,&obj0
)) goto fail
;
2547 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2548 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2549 result
= (double) ((arg1
)->x
);
2551 resultobj
= SWIG_FromDouble((double)result
);
2558 static PyObject
*_wrap_RealPoint_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2559 PyObject
*resultobj
;
2560 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2562 PyObject
* obj0
= 0 ;
2563 PyObject
* obj1
= 0 ;
2565 (char *) "self",(char *) "y", NULL
2568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
2569 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2570 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2571 arg2
= (double) SWIG_AsDouble(obj1
);
2572 if (PyErr_Occurred()) SWIG_fail
;
2573 if (arg1
) (arg1
)->y
= arg2
;
2575 Py_INCREF(Py_None
); resultobj
= Py_None
;
2582 static PyObject
*_wrap_RealPoint_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2583 PyObject
*resultobj
;
2584 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2586 PyObject
* obj0
= 0 ;
2588 (char *) "self", NULL
2591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_y_get",kwnames
,&obj0
)) goto fail
;
2592 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2593 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2594 result
= (double) ((arg1
)->y
);
2596 resultobj
= SWIG_FromDouble((double)result
);
2603 static PyObject
*_wrap_new_RealPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2604 PyObject
*resultobj
;
2605 double arg1
= (double) 0.0 ;
2606 double arg2
= (double) 0.0 ;
2607 wxRealPoint
*result
;
2608 PyObject
* obj0
= 0 ;
2609 PyObject
* obj1
= 0 ;
2611 (char *) "x",(char *) "y", NULL
2614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_RealPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
2616 arg1
= (double) SWIG_AsDouble(obj0
);
2617 if (PyErr_Occurred()) SWIG_fail
;
2620 arg2
= (double) SWIG_AsDouble(obj1
);
2621 if (PyErr_Occurred()) SWIG_fail
;
2624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2625 result
= (wxRealPoint
*)new wxRealPoint(arg1
,arg2
);
2627 wxPyEndAllowThreads(__tstate
);
2628 if (PyErr_Occurred()) SWIG_fail
;
2630 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRealPoint
, 1);
2637 static PyObject
*_wrap_delete_RealPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2638 PyObject
*resultobj
;
2639 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2640 PyObject
* obj0
= 0 ;
2642 (char *) "self", NULL
2645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_RealPoint",kwnames
,&obj0
)) goto fail
;
2646 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2652 wxPyEndAllowThreads(__tstate
);
2653 if (PyErr_Occurred()) SWIG_fail
;
2655 Py_INCREF(Py_None
); resultobj
= Py_None
;
2662 static PyObject
*_wrap_RealPoint___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2663 PyObject
*resultobj
;
2664 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2665 wxRealPoint
*arg2
= 0 ;
2668 PyObject
* obj0
= 0 ;
2669 PyObject
* obj1
= 0 ;
2671 (char *) "self",(char *) "pt", NULL
2674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
2675 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2676 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2679 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2683 result
= (bool)(arg1
)->operator ==((wxRealPoint
const &)*arg2
);
2685 wxPyEndAllowThreads(__tstate
);
2686 if (PyErr_Occurred()) SWIG_fail
;
2689 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2697 static PyObject
*_wrap_RealPoint___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2698 PyObject
*resultobj
;
2699 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2700 wxRealPoint
*arg2
= 0 ;
2703 PyObject
* obj0
= 0 ;
2704 PyObject
* obj1
= 0 ;
2706 (char *) "self",(char *) "pt", NULL
2709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
2710 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2711 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2714 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2718 result
= (bool)(arg1
)->operator !=((wxRealPoint
const &)*arg2
);
2720 wxPyEndAllowThreads(__tstate
);
2721 if (PyErr_Occurred()) SWIG_fail
;
2724 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2732 static PyObject
*_wrap_RealPoint___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2733 PyObject
*resultobj
;
2734 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2735 wxRealPoint
*arg2
= 0 ;
2738 PyObject
* obj0
= 0 ;
2739 PyObject
* obj1
= 0 ;
2741 (char *) "self",(char *) "pt", NULL
2744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
2745 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2746 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2749 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2753 result
= (arg1
)->operator +((wxRealPoint
const &)*arg2
);
2755 wxPyEndAllowThreads(__tstate
);
2756 if (PyErr_Occurred()) SWIG_fail
;
2759 wxRealPoint
* resultptr
;
2760 resultptr
= new wxRealPoint((wxRealPoint
&) result
);
2761 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRealPoint
, 1);
2769 static PyObject
*_wrap_RealPoint___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2770 PyObject
*resultobj
;
2771 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2772 wxRealPoint
*arg2
= 0 ;
2775 PyObject
* obj0
= 0 ;
2776 PyObject
* obj1
= 0 ;
2778 (char *) "self",(char *) "pt", NULL
2781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
2782 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2783 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2786 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2790 result
= (arg1
)->operator -((wxRealPoint
const &)*arg2
);
2792 wxPyEndAllowThreads(__tstate
);
2793 if (PyErr_Occurred()) SWIG_fail
;
2796 wxRealPoint
* resultptr
;
2797 resultptr
= new wxRealPoint((wxRealPoint
&) result
);
2798 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRealPoint
, 1);
2806 static PyObject
*_wrap_RealPoint_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2807 PyObject
*resultobj
;
2808 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2811 PyObject
* obj0
= 0 ;
2812 PyObject
* obj1
= 0 ;
2813 PyObject
* obj2
= 0 ;
2815 (char *) "self",(char *) "x",(char *) "y", NULL
2818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RealPoint_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2819 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2820 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2821 arg2
= (double) SWIG_AsDouble(obj1
);
2822 if (PyErr_Occurred()) SWIG_fail
;
2823 arg3
= (double) SWIG_AsDouble(obj2
);
2824 if (PyErr_Occurred()) SWIG_fail
;
2826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2827 wxRealPoint_Set(arg1
,arg2
,arg3
);
2829 wxPyEndAllowThreads(__tstate
);
2830 if (PyErr_Occurred()) SWIG_fail
;
2832 Py_INCREF(Py_None
); resultobj
= Py_None
;
2839 static PyObject
*_wrap_RealPoint_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2840 PyObject
*resultobj
;
2841 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2843 PyObject
* obj0
= 0 ;
2845 (char *) "self", NULL
2848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_Get",kwnames
,&obj0
)) goto fail
;
2849 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2850 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2853 result
= (PyObject
*)wxRealPoint_Get(arg1
);
2855 wxPyEndAllowThreads(__tstate
);
2856 if (PyErr_Occurred()) SWIG_fail
;
2865 static PyObject
* RealPoint_swigregister(PyObject
*self
, PyObject
*args
) {
2867 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2868 SWIG_TypeClientData(SWIGTYPE_p_wxRealPoint
, obj
);
2870 return Py_BuildValue((char *)"");
2872 static PyObject
*_wrap_Point_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2873 PyObject
*resultobj
;
2874 wxPoint
*arg1
= (wxPoint
*) 0 ;
2876 PyObject
* obj0
= 0 ;
2877 PyObject
* obj1
= 0 ;
2879 (char *) "self",(char *) "x", NULL
2882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
2883 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
2884 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2885 arg2
= (int) SWIG_AsInt(obj1
);
2886 if (PyErr_Occurred()) SWIG_fail
;
2887 if (arg1
) (arg1
)->x
= arg2
;
2889 Py_INCREF(Py_None
); resultobj
= Py_None
;
2896 static PyObject
*_wrap_Point_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2897 PyObject
*resultobj
;
2898 wxPoint
*arg1
= (wxPoint
*) 0 ;
2900 PyObject
* obj0
= 0 ;
2902 (char *) "self", NULL
2905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_x_get",kwnames
,&obj0
)) goto fail
;
2906 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
2907 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2908 result
= (int) ((arg1
)->x
);
2910 resultobj
= SWIG_FromInt((int)result
);
2917 static PyObject
*_wrap_Point_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2918 PyObject
*resultobj
;
2919 wxPoint
*arg1
= (wxPoint
*) 0 ;
2921 PyObject
* obj0
= 0 ;
2922 PyObject
* obj1
= 0 ;
2924 (char *) "self",(char *) "y", NULL
2927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
2928 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
2929 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2930 arg2
= (int) SWIG_AsInt(obj1
);
2931 if (PyErr_Occurred()) SWIG_fail
;
2932 if (arg1
) (arg1
)->y
= arg2
;
2934 Py_INCREF(Py_None
); resultobj
= Py_None
;
2941 static PyObject
*_wrap_Point_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2942 PyObject
*resultobj
;
2943 wxPoint
*arg1
= (wxPoint
*) 0 ;
2945 PyObject
* obj0
= 0 ;
2947 (char *) "self", NULL
2950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_y_get",kwnames
,&obj0
)) goto fail
;
2951 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
2952 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2953 result
= (int) ((arg1
)->y
);
2955 resultobj
= SWIG_FromInt((int)result
);
2962 static PyObject
*_wrap_new_Point(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2963 PyObject
*resultobj
;
2964 int arg1
= (int) 0 ;
2965 int arg2
= (int) 0 ;
2967 PyObject
* obj0
= 0 ;
2968 PyObject
* obj1
= 0 ;
2970 (char *) "x",(char *) "y", NULL
2973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Point",kwnames
,&obj0
,&obj1
)) goto fail
;
2975 arg1
= (int) SWIG_AsInt(obj0
);
2976 if (PyErr_Occurred()) SWIG_fail
;
2979 arg2
= (int) SWIG_AsInt(obj1
);
2980 if (PyErr_Occurred()) SWIG_fail
;
2983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2984 result
= (wxPoint
*)new wxPoint(arg1
,arg2
);
2986 wxPyEndAllowThreads(__tstate
);
2987 if (PyErr_Occurred()) SWIG_fail
;
2989 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 1);
2996 static PyObject
*_wrap_delete_Point(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2997 PyObject
*resultobj
;
2998 wxPoint
*arg1
= (wxPoint
*) 0 ;
2999 PyObject
* obj0
= 0 ;
3001 (char *) "self", NULL
3004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Point",kwnames
,&obj0
)) goto fail
;
3005 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3006 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3011 wxPyEndAllowThreads(__tstate
);
3012 if (PyErr_Occurred()) SWIG_fail
;
3014 Py_INCREF(Py_None
); resultobj
= Py_None
;
3021 static PyObject
*_wrap_Point___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3022 PyObject
*resultobj
;
3023 wxPoint
*arg1
= (wxPoint
*) 0 ;
3027 PyObject
* obj0
= 0 ;
3028 PyObject
* obj1
= 0 ;
3030 (char *) "self",(char *) "pt", NULL
3033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
3034 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3035 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3038 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3042 result
= (bool)(arg1
)->operator ==((wxPoint
const &)*arg2
);
3044 wxPyEndAllowThreads(__tstate
);
3045 if (PyErr_Occurred()) SWIG_fail
;
3048 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3056 static PyObject
*_wrap_Point___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3057 PyObject
*resultobj
;
3058 wxPoint
*arg1
= (wxPoint
*) 0 ;
3062 PyObject
* obj0
= 0 ;
3063 PyObject
* obj1
= 0 ;
3065 (char *) "self",(char *) "pt", NULL
3068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
3069 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3070 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3073 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3077 result
= (bool)(arg1
)->operator !=((wxPoint
const &)*arg2
);
3079 wxPyEndAllowThreads(__tstate
);
3080 if (PyErr_Occurred()) SWIG_fail
;
3083 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3091 static PyObject
*_wrap_Point___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3092 PyObject
*resultobj
;
3093 wxPoint
*arg1
= (wxPoint
*) 0 ;
3097 PyObject
* obj0
= 0 ;
3098 PyObject
* obj1
= 0 ;
3100 (char *) "self",(char *) "pt", NULL
3103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
3104 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3105 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3108 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3112 result
= (arg1
)->operator +((wxPoint
const &)*arg2
);
3114 wxPyEndAllowThreads(__tstate
);
3115 if (PyErr_Occurred()) SWIG_fail
;
3118 wxPoint
* resultptr
;
3119 resultptr
= new wxPoint((wxPoint
&) result
);
3120 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3128 static PyObject
*_wrap_Point___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3129 PyObject
*resultobj
;
3130 wxPoint
*arg1
= (wxPoint
*) 0 ;
3134 PyObject
* obj0
= 0 ;
3135 PyObject
* obj1
= 0 ;
3137 (char *) "self",(char *) "pt", NULL
3140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
3141 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3142 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3145 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3149 result
= (arg1
)->operator -((wxPoint
const &)*arg2
);
3151 wxPyEndAllowThreads(__tstate
);
3152 if (PyErr_Occurred()) SWIG_fail
;
3155 wxPoint
* resultptr
;
3156 resultptr
= new wxPoint((wxPoint
&) result
);
3157 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3165 static PyObject
*_wrap_Point___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3166 PyObject
*resultobj
;
3167 wxPoint
*arg1
= (wxPoint
*) 0 ;
3171 PyObject
* obj0
= 0 ;
3172 PyObject
* obj1
= 0 ;
3174 (char *) "self",(char *) "pt", NULL
3177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
3178 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3179 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3182 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3187 wxPoint
&_result_ref
= (arg1
)->operator +=((wxPoint
const &)*arg2
);
3188 result
= (wxPoint
*) &_result_ref
;
3191 wxPyEndAllowThreads(__tstate
);
3192 if (PyErr_Occurred()) SWIG_fail
;
3194 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
3201 static PyObject
*_wrap_Point___isub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3202 PyObject
*resultobj
;
3203 wxPoint
*arg1
= (wxPoint
*) 0 ;
3207 PyObject
* obj0
= 0 ;
3208 PyObject
* obj1
= 0 ;
3210 (char *) "self",(char *) "pt", NULL
3213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
3214 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3215 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3218 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3223 wxPoint
&_result_ref
= (arg1
)->operator -=((wxPoint
const &)*arg2
);
3224 result
= (wxPoint
*) &_result_ref
;
3227 wxPyEndAllowThreads(__tstate
);
3228 if (PyErr_Occurred()) SWIG_fail
;
3230 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
3237 static PyObject
*_wrap_Point_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3238 PyObject
*resultobj
;
3239 wxPoint
*arg1
= (wxPoint
*) 0 ;
3242 PyObject
* obj0
= 0 ;
3243 PyObject
* obj1
= 0 ;
3244 PyObject
* obj2
= 0 ;
3246 (char *) "self",(char *) "x",(char *) "y", NULL
3249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Point_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3250 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3251 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3252 arg2
= (long) SWIG_AsLong(obj1
);
3253 if (PyErr_Occurred()) SWIG_fail
;
3254 arg3
= (long) SWIG_AsLong(obj2
);
3255 if (PyErr_Occurred()) SWIG_fail
;
3257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3258 wxPoint_Set(arg1
,arg2
,arg3
);
3260 wxPyEndAllowThreads(__tstate
);
3261 if (PyErr_Occurred()) SWIG_fail
;
3263 Py_INCREF(Py_None
); resultobj
= Py_None
;
3270 static PyObject
*_wrap_Point_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3271 PyObject
*resultobj
;
3272 wxPoint
*arg1
= (wxPoint
*) 0 ;
3274 PyObject
* obj0
= 0 ;
3276 (char *) "self", NULL
3279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_Get",kwnames
,&obj0
)) goto fail
;
3280 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3281 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3284 result
= (PyObject
*)wxPoint_Get(arg1
);
3286 wxPyEndAllowThreads(__tstate
);
3287 if (PyErr_Occurred()) SWIG_fail
;
3296 static PyObject
* Point_swigregister(PyObject
*self
, PyObject
*args
) {
3298 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3299 SWIG_TypeClientData(SWIGTYPE_p_wxPoint
, obj
);
3301 return Py_BuildValue((char *)"");
3303 static PyObject
*_wrap_new_Rect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3304 PyObject
*resultobj
;
3305 int arg1
= (int) 0 ;
3306 int arg2
= (int) 0 ;
3307 int arg3
= (int) 0 ;
3308 int arg4
= (int) 0 ;
3310 PyObject
* obj0
= 0 ;
3311 PyObject
* obj1
= 0 ;
3312 PyObject
* obj2
= 0 ;
3313 PyObject
* obj3
= 0 ;
3315 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
3318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Rect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3320 arg1
= (int) SWIG_AsInt(obj0
);
3321 if (PyErr_Occurred()) SWIG_fail
;
3324 arg2
= (int) SWIG_AsInt(obj1
);
3325 if (PyErr_Occurred()) SWIG_fail
;
3328 arg3
= (int) SWIG_AsInt(obj2
);
3329 if (PyErr_Occurred()) SWIG_fail
;
3332 arg4
= (int) SWIG_AsInt(obj3
);
3333 if (PyErr_Occurred()) SWIG_fail
;
3336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3337 result
= (wxRect
*)new wxRect(arg1
,arg2
,arg3
,arg4
);
3339 wxPyEndAllowThreads(__tstate
);
3340 if (PyErr_Occurred()) SWIG_fail
;
3342 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
3349 static PyObject
*_wrap_new_RectPP(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3350 PyObject
*resultobj
;
3356 PyObject
* obj0
= 0 ;
3357 PyObject
* obj1
= 0 ;
3359 (char *) "topLeft",(char *) "bottomRight", NULL
3362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RectPP",kwnames
,&obj0
,&obj1
)) goto fail
;
3365 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
3369 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3373 result
= (wxRect
*)new wxRect((wxPoint
const &)*arg1
,(wxPoint
const &)*arg2
);
3375 wxPyEndAllowThreads(__tstate
);
3376 if (PyErr_Occurred()) SWIG_fail
;
3378 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
3385 static PyObject
*_wrap_new_RectPS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3386 PyObject
*resultobj
;
3392 PyObject
* obj0
= 0 ;
3393 PyObject
* obj1
= 0 ;
3395 (char *) "pos",(char *) "size", NULL
3398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RectPS",kwnames
,&obj0
,&obj1
)) goto fail
;
3401 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
3405 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3409 result
= (wxRect
*)new wxRect((wxPoint
const &)*arg1
,(wxSize
const &)*arg2
);
3411 wxPyEndAllowThreads(__tstate
);
3412 if (PyErr_Occurred()) SWIG_fail
;
3414 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
3421 static PyObject
*_wrap_delete_Rect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3422 PyObject
*resultobj
;
3423 wxRect
*arg1
= (wxRect
*) 0 ;
3424 PyObject
* obj0
= 0 ;
3426 (char *) "self", NULL
3429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Rect",kwnames
,&obj0
)) goto fail
;
3430 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3431 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3436 wxPyEndAllowThreads(__tstate
);
3437 if (PyErr_Occurred()) SWIG_fail
;
3439 Py_INCREF(Py_None
); resultobj
= Py_None
;
3446 static PyObject
*_wrap_Rect_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3447 PyObject
*resultobj
;
3448 wxRect
*arg1
= (wxRect
*) 0 ;
3450 PyObject
* obj0
= 0 ;
3452 (char *) "self", NULL
3455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetX",kwnames
,&obj0
)) goto fail
;
3456 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3457 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3460 result
= (int)((wxRect
const *)arg1
)->GetX();
3462 wxPyEndAllowThreads(__tstate
);
3463 if (PyErr_Occurred()) SWIG_fail
;
3465 resultobj
= SWIG_FromInt((int)result
);
3472 static PyObject
*_wrap_Rect_SetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3473 PyObject
*resultobj
;
3474 wxRect
*arg1
= (wxRect
*) 0 ;
3476 PyObject
* obj0
= 0 ;
3477 PyObject
* obj1
= 0 ;
3479 (char *) "self",(char *) "x", NULL
3482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetX",kwnames
,&obj0
,&obj1
)) goto fail
;
3483 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3484 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3485 arg2
= (int) SWIG_AsInt(obj1
);
3486 if (PyErr_Occurred()) SWIG_fail
;
3488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3491 wxPyEndAllowThreads(__tstate
);
3492 if (PyErr_Occurred()) SWIG_fail
;
3494 Py_INCREF(Py_None
); resultobj
= Py_None
;
3501 static PyObject
*_wrap_Rect_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3502 PyObject
*resultobj
;
3503 wxRect
*arg1
= (wxRect
*) 0 ;
3505 PyObject
* obj0
= 0 ;
3507 (char *) "self", NULL
3510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetY",kwnames
,&obj0
)) goto fail
;
3511 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3512 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3515 result
= (int)(arg1
)->GetY();
3517 wxPyEndAllowThreads(__tstate
);
3518 if (PyErr_Occurred()) SWIG_fail
;
3520 resultobj
= SWIG_FromInt((int)result
);
3527 static PyObject
*_wrap_Rect_SetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3528 PyObject
*resultobj
;
3529 wxRect
*arg1
= (wxRect
*) 0 ;
3531 PyObject
* obj0
= 0 ;
3532 PyObject
* obj1
= 0 ;
3534 (char *) "self",(char *) "y", NULL
3537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetY",kwnames
,&obj0
,&obj1
)) goto fail
;
3538 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3539 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3540 arg2
= (int) SWIG_AsInt(obj1
);
3541 if (PyErr_Occurred()) SWIG_fail
;
3543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3546 wxPyEndAllowThreads(__tstate
);
3547 if (PyErr_Occurred()) SWIG_fail
;
3549 Py_INCREF(Py_None
); resultobj
= Py_None
;
3556 static PyObject
*_wrap_Rect_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3557 PyObject
*resultobj
;
3558 wxRect
*arg1
= (wxRect
*) 0 ;
3560 PyObject
* obj0
= 0 ;
3562 (char *) "self", NULL
3565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetWidth",kwnames
,&obj0
)) goto fail
;
3566 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3567 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3570 result
= (int)((wxRect
const *)arg1
)->GetWidth();
3572 wxPyEndAllowThreads(__tstate
);
3573 if (PyErr_Occurred()) SWIG_fail
;
3575 resultobj
= SWIG_FromInt((int)result
);
3582 static PyObject
*_wrap_Rect_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3583 PyObject
*resultobj
;
3584 wxRect
*arg1
= (wxRect
*) 0 ;
3586 PyObject
* obj0
= 0 ;
3587 PyObject
* obj1
= 0 ;
3589 (char *) "self",(char *) "w", NULL
3592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
3593 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3594 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3595 arg2
= (int) SWIG_AsInt(obj1
);
3596 if (PyErr_Occurred()) SWIG_fail
;
3598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3599 (arg1
)->SetWidth(arg2
);
3601 wxPyEndAllowThreads(__tstate
);
3602 if (PyErr_Occurred()) SWIG_fail
;
3604 Py_INCREF(Py_None
); resultobj
= Py_None
;
3611 static PyObject
*_wrap_Rect_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3612 PyObject
*resultobj
;
3613 wxRect
*arg1
= (wxRect
*) 0 ;
3615 PyObject
* obj0
= 0 ;
3617 (char *) "self", NULL
3620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetHeight",kwnames
,&obj0
)) goto fail
;
3621 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3622 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3625 result
= (int)((wxRect
const *)arg1
)->GetHeight();
3627 wxPyEndAllowThreads(__tstate
);
3628 if (PyErr_Occurred()) SWIG_fail
;
3630 resultobj
= SWIG_FromInt((int)result
);
3637 static PyObject
*_wrap_Rect_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3638 PyObject
*resultobj
;
3639 wxRect
*arg1
= (wxRect
*) 0 ;
3641 PyObject
* obj0
= 0 ;
3642 PyObject
* obj1
= 0 ;
3644 (char *) "self",(char *) "h", NULL
3647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
3648 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3650 arg2
= (int) SWIG_AsInt(obj1
);
3651 if (PyErr_Occurred()) SWIG_fail
;
3653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3654 (arg1
)->SetHeight(arg2
);
3656 wxPyEndAllowThreads(__tstate
);
3657 if (PyErr_Occurred()) SWIG_fail
;
3659 Py_INCREF(Py_None
); resultobj
= Py_None
;
3666 static PyObject
*_wrap_Rect_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3667 PyObject
*resultobj
;
3668 wxRect
*arg1
= (wxRect
*) 0 ;
3670 PyObject
* obj0
= 0 ;
3672 (char *) "self", NULL
3675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetPosition",kwnames
,&obj0
)) goto fail
;
3676 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3677 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3680 result
= ((wxRect
const *)arg1
)->GetPosition();
3682 wxPyEndAllowThreads(__tstate
);
3683 if (PyErr_Occurred()) SWIG_fail
;
3686 wxPoint
* resultptr
;
3687 resultptr
= new wxPoint((wxPoint
&) result
);
3688 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3696 static PyObject
*_wrap_Rect_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3697 PyObject
*resultobj
;
3698 wxRect
*arg1
= (wxRect
*) 0 ;
3701 PyObject
* obj0
= 0 ;
3702 PyObject
* obj1
= 0 ;
3704 (char *) "self",(char *) "p", NULL
3707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
3708 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3709 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3712 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3716 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
3718 wxPyEndAllowThreads(__tstate
);
3719 if (PyErr_Occurred()) SWIG_fail
;
3721 Py_INCREF(Py_None
); resultobj
= Py_None
;
3728 static PyObject
*_wrap_Rect_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3729 PyObject
*resultobj
;
3730 wxRect
*arg1
= (wxRect
*) 0 ;
3732 PyObject
* obj0
= 0 ;
3734 (char *) "self", NULL
3737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetSize",kwnames
,&obj0
)) goto fail
;
3738 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3739 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3742 result
= ((wxRect
const *)arg1
)->GetSize();
3744 wxPyEndAllowThreads(__tstate
);
3745 if (PyErr_Occurred()) SWIG_fail
;
3749 resultptr
= new wxSize((wxSize
&) result
);
3750 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
3758 static PyObject
*_wrap_Rect_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3759 PyObject
*resultobj
;
3760 wxRect
*arg1
= (wxRect
*) 0 ;
3763 PyObject
* obj0
= 0 ;
3764 PyObject
* obj1
= 0 ;
3766 (char *) "self",(char *) "s", NULL
3769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
3770 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3771 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3774 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3778 (arg1
)->SetSize((wxSize
const &)*arg2
);
3780 wxPyEndAllowThreads(__tstate
);
3781 if (PyErr_Occurred()) SWIG_fail
;
3783 Py_INCREF(Py_None
); resultobj
= Py_None
;
3790 static PyObject
*_wrap_Rect_GetTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3791 PyObject
*resultobj
;
3792 wxRect
*arg1
= (wxRect
*) 0 ;
3794 PyObject
* obj0
= 0 ;
3796 (char *) "self", NULL
3799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetTopLeft",kwnames
,&obj0
)) goto fail
;
3800 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3801 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3804 result
= ((wxRect
const *)arg1
)->GetTopLeft();
3806 wxPyEndAllowThreads(__tstate
);
3807 if (PyErr_Occurred()) SWIG_fail
;
3810 wxPoint
* resultptr
;
3811 resultptr
= new wxPoint((wxPoint
&) result
);
3812 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3820 static PyObject
*_wrap_Rect_SetTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3821 PyObject
*resultobj
;
3822 wxRect
*arg1
= (wxRect
*) 0 ;
3825 PyObject
* obj0
= 0 ;
3826 PyObject
* obj1
= 0 ;
3828 (char *) "self",(char *) "p", NULL
3831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
3832 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3833 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3836 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3840 (arg1
)->SetTopLeft((wxPoint
const &)*arg2
);
3842 wxPyEndAllowThreads(__tstate
);
3843 if (PyErr_Occurred()) SWIG_fail
;
3845 Py_INCREF(Py_None
); resultobj
= Py_None
;
3852 static PyObject
*_wrap_Rect_GetBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3853 PyObject
*resultobj
;
3854 wxRect
*arg1
= (wxRect
*) 0 ;
3856 PyObject
* obj0
= 0 ;
3858 (char *) "self", NULL
3861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetBottomRight",kwnames
,&obj0
)) goto fail
;
3862 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3863 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3866 result
= ((wxRect
const *)arg1
)->GetBottomRight();
3868 wxPyEndAllowThreads(__tstate
);
3869 if (PyErr_Occurred()) SWIG_fail
;
3872 wxPoint
* resultptr
;
3873 resultptr
= new wxPoint((wxPoint
&) result
);
3874 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3882 static PyObject
*_wrap_Rect_SetBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3883 PyObject
*resultobj
;
3884 wxRect
*arg1
= (wxRect
*) 0 ;
3887 PyObject
* obj0
= 0 ;
3888 PyObject
* obj1
= 0 ;
3890 (char *) "self",(char *) "p", NULL
3893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
3894 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3895 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3898 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3902 (arg1
)->SetBottomRight((wxPoint
const &)*arg2
);
3904 wxPyEndAllowThreads(__tstate
);
3905 if (PyErr_Occurred()) SWIG_fail
;
3907 Py_INCREF(Py_None
); resultobj
= Py_None
;
3914 static PyObject
*_wrap_Rect_GetLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3915 PyObject
*resultobj
;
3916 wxRect
*arg1
= (wxRect
*) 0 ;
3918 PyObject
* obj0
= 0 ;
3920 (char *) "self", NULL
3923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetLeft",kwnames
,&obj0
)) goto fail
;
3924 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3925 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3928 result
= (int)((wxRect
const *)arg1
)->GetLeft();
3930 wxPyEndAllowThreads(__tstate
);
3931 if (PyErr_Occurred()) SWIG_fail
;
3933 resultobj
= SWIG_FromInt((int)result
);
3940 static PyObject
*_wrap_Rect_GetTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3941 PyObject
*resultobj
;
3942 wxRect
*arg1
= (wxRect
*) 0 ;
3944 PyObject
* obj0
= 0 ;
3946 (char *) "self", NULL
3949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetTop",kwnames
,&obj0
)) goto fail
;
3950 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3951 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3954 result
= (int)((wxRect
const *)arg1
)->GetTop();
3956 wxPyEndAllowThreads(__tstate
);
3957 if (PyErr_Occurred()) SWIG_fail
;
3959 resultobj
= SWIG_FromInt((int)result
);
3966 static PyObject
*_wrap_Rect_GetBottom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3967 PyObject
*resultobj
;
3968 wxRect
*arg1
= (wxRect
*) 0 ;
3970 PyObject
* obj0
= 0 ;
3972 (char *) "self", NULL
3975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetBottom",kwnames
,&obj0
)) goto fail
;
3976 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3977 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3980 result
= (int)((wxRect
const *)arg1
)->GetBottom();
3982 wxPyEndAllowThreads(__tstate
);
3983 if (PyErr_Occurred()) SWIG_fail
;
3985 resultobj
= SWIG_FromInt((int)result
);
3992 static PyObject
*_wrap_Rect_GetRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3993 PyObject
*resultobj
;
3994 wxRect
*arg1
= (wxRect
*) 0 ;
3996 PyObject
* obj0
= 0 ;
3998 (char *) "self", NULL
4001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetRight",kwnames
,&obj0
)) goto fail
;
4002 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4003 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4006 result
= (int)((wxRect
const *)arg1
)->GetRight();
4008 wxPyEndAllowThreads(__tstate
);
4009 if (PyErr_Occurred()) SWIG_fail
;
4011 resultobj
= SWIG_FromInt((int)result
);
4018 static PyObject
*_wrap_Rect_SetLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4019 PyObject
*resultobj
;
4020 wxRect
*arg1
= (wxRect
*) 0 ;
4022 PyObject
* obj0
= 0 ;
4023 PyObject
* obj1
= 0 ;
4025 (char *) "self",(char *) "left", NULL
4028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
4029 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4030 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4031 arg2
= (int) SWIG_AsInt(obj1
);
4032 if (PyErr_Occurred()) SWIG_fail
;
4034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4035 (arg1
)->SetLeft(arg2
);
4037 wxPyEndAllowThreads(__tstate
);
4038 if (PyErr_Occurred()) SWIG_fail
;
4040 Py_INCREF(Py_None
); resultobj
= Py_None
;
4047 static PyObject
*_wrap_Rect_SetRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4048 PyObject
*resultobj
;
4049 wxRect
*arg1
= (wxRect
*) 0 ;
4051 PyObject
* obj0
= 0 ;
4052 PyObject
* obj1
= 0 ;
4054 (char *) "self",(char *) "right", NULL
4057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetRight",kwnames
,&obj0
,&obj1
)) goto fail
;
4058 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4059 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4060 arg2
= (int) SWIG_AsInt(obj1
);
4061 if (PyErr_Occurred()) SWIG_fail
;
4063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4064 (arg1
)->SetRight(arg2
);
4066 wxPyEndAllowThreads(__tstate
);
4067 if (PyErr_Occurred()) SWIG_fail
;
4069 Py_INCREF(Py_None
); resultobj
= Py_None
;
4076 static PyObject
*_wrap_Rect_SetTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4077 PyObject
*resultobj
;
4078 wxRect
*arg1
= (wxRect
*) 0 ;
4080 PyObject
* obj0
= 0 ;
4081 PyObject
* obj1
= 0 ;
4083 (char *) "self",(char *) "top", NULL
4086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetTop",kwnames
,&obj0
,&obj1
)) goto fail
;
4087 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4088 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4089 arg2
= (int) SWIG_AsInt(obj1
);
4090 if (PyErr_Occurred()) SWIG_fail
;
4092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4093 (arg1
)->SetTop(arg2
);
4095 wxPyEndAllowThreads(__tstate
);
4096 if (PyErr_Occurred()) SWIG_fail
;
4098 Py_INCREF(Py_None
); resultobj
= Py_None
;
4105 static PyObject
*_wrap_Rect_SetBottom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4106 PyObject
*resultobj
;
4107 wxRect
*arg1
= (wxRect
*) 0 ;
4109 PyObject
* obj0
= 0 ;
4110 PyObject
* obj1
= 0 ;
4112 (char *) "self",(char *) "bottom", NULL
4115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetBottom",kwnames
,&obj0
,&obj1
)) goto fail
;
4116 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4117 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4118 arg2
= (int) SWIG_AsInt(obj1
);
4119 if (PyErr_Occurred()) SWIG_fail
;
4121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4122 (arg1
)->SetBottom(arg2
);
4124 wxPyEndAllowThreads(__tstate
);
4125 if (PyErr_Occurred()) SWIG_fail
;
4127 Py_INCREF(Py_None
); resultobj
= Py_None
;
4134 static PyObject
*_wrap_Rect_Inflate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4135 PyObject
*resultobj
;
4136 wxRect
*arg1
= (wxRect
*) 0 ;
4140 PyObject
* obj0
= 0 ;
4141 PyObject
* obj1
= 0 ;
4142 PyObject
* obj2
= 0 ;
4144 (char *) "self",(char *) "dx",(char *) "dy", NULL
4147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_Inflate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4148 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4149 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4150 arg2
= (int) SWIG_AsInt(obj1
);
4151 if (PyErr_Occurred()) SWIG_fail
;
4152 arg3
= (int) SWIG_AsInt(obj2
);
4153 if (PyErr_Occurred()) SWIG_fail
;
4155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4157 wxRect
&_result_ref
= (arg1
)->Inflate(arg2
,arg3
);
4158 result
= (wxRect
*) &_result_ref
;
4161 wxPyEndAllowThreads(__tstate
);
4162 if (PyErr_Occurred()) SWIG_fail
;
4164 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
4171 static PyObject
*_wrap_Rect_Deflate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4172 PyObject
*resultobj
;
4173 wxRect
*arg1
= (wxRect
*) 0 ;
4177 PyObject
* obj0
= 0 ;
4178 PyObject
* obj1
= 0 ;
4179 PyObject
* obj2
= 0 ;
4181 (char *) "self",(char *) "dx",(char *) "dy", NULL
4184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_Deflate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4185 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4186 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4187 arg2
= (int) SWIG_AsInt(obj1
);
4188 if (PyErr_Occurred()) SWIG_fail
;
4189 arg3
= (int) SWIG_AsInt(obj2
);
4190 if (PyErr_Occurred()) SWIG_fail
;
4192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4194 wxRect
&_result_ref
= (arg1
)->Deflate(arg2
,arg3
);
4195 result
= (wxRect
*) &_result_ref
;
4198 wxPyEndAllowThreads(__tstate
);
4199 if (PyErr_Occurred()) SWIG_fail
;
4201 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
4208 static PyObject
*_wrap_Rect_OffsetXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4209 PyObject
*resultobj
;
4210 wxRect
*arg1
= (wxRect
*) 0 ;
4213 PyObject
* obj0
= 0 ;
4214 PyObject
* obj1
= 0 ;
4215 PyObject
* obj2
= 0 ;
4217 (char *) "self",(char *) "dx",(char *) "dy", NULL
4220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_OffsetXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4221 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4222 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4223 arg2
= (int) SWIG_AsInt(obj1
);
4224 if (PyErr_Occurred()) SWIG_fail
;
4225 arg3
= (int) SWIG_AsInt(obj2
);
4226 if (PyErr_Occurred()) SWIG_fail
;
4228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4229 (arg1
)->Offset(arg2
,arg3
);
4231 wxPyEndAllowThreads(__tstate
);
4232 if (PyErr_Occurred()) SWIG_fail
;
4234 Py_INCREF(Py_None
); resultobj
= Py_None
;
4241 static PyObject
*_wrap_Rect_Offset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4242 PyObject
*resultobj
;
4243 wxRect
*arg1
= (wxRect
*) 0 ;
4246 PyObject
* obj0
= 0 ;
4247 PyObject
* obj1
= 0 ;
4249 (char *) "self",(char *) "pt", NULL
4252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Offset",kwnames
,&obj0
,&obj1
)) goto fail
;
4253 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4254 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4257 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4261 (arg1
)->Offset((wxPoint
const &)*arg2
);
4263 wxPyEndAllowThreads(__tstate
);
4264 if (PyErr_Occurred()) SWIG_fail
;
4266 Py_INCREF(Py_None
); resultobj
= Py_None
;
4273 static PyObject
*_wrap_Rect_Intersect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4274 PyObject
*resultobj
;
4275 wxRect
*arg1
= (wxRect
*) 0 ;
4279 PyObject
* obj0
= 0 ;
4280 PyObject
* obj1
= 0 ;
4282 (char *) "self",(char *) "rect", NULL
4285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Intersect",kwnames
,&obj0
,&obj1
)) goto fail
;
4286 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4287 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4290 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4295 wxRect
&_result_ref
= (arg1
)->Intersect((wxRect
const &)*arg2
);
4296 result
= (wxRect
*) &_result_ref
;
4299 wxPyEndAllowThreads(__tstate
);
4300 if (PyErr_Occurred()) SWIG_fail
;
4302 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
4309 static PyObject
*_wrap_Rect___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4310 PyObject
*resultobj
;
4311 wxRect
*arg1
= (wxRect
*) 0 ;
4315 PyObject
* obj0
= 0 ;
4316 PyObject
* obj1
= 0 ;
4318 (char *) "self",(char *) "rect", NULL
4321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
4322 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4323 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4326 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4330 result
= ((wxRect
const *)arg1
)->operator +((wxRect
const &)*arg2
);
4332 wxPyEndAllowThreads(__tstate
);
4333 if (PyErr_Occurred()) SWIG_fail
;
4337 resultptr
= new wxRect((wxRect
&) result
);
4338 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
4346 static PyObject
*_wrap_Rect___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4347 PyObject
*resultobj
;
4348 wxRect
*arg1
= (wxRect
*) 0 ;
4352 PyObject
* obj0
= 0 ;
4353 PyObject
* obj1
= 0 ;
4355 (char *) "self",(char *) "rect", NULL
4358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
4359 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4360 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4363 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4368 wxRect
&_result_ref
= (arg1
)->operator +=((wxRect
const &)*arg2
);
4369 result
= (wxRect
*) &_result_ref
;
4372 wxPyEndAllowThreads(__tstate
);
4373 if (PyErr_Occurred()) SWIG_fail
;
4375 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
4382 static PyObject
*_wrap_Rect___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4383 PyObject
*resultobj
;
4384 wxRect
*arg1
= (wxRect
*) 0 ;
4388 PyObject
* obj0
= 0 ;
4389 PyObject
* obj1
= 0 ;
4391 (char *) "self",(char *) "rect", NULL
4394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
4395 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4396 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4399 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4403 result
= (bool)((wxRect
const *)arg1
)->operator ==((wxRect
const &)*arg2
);
4405 wxPyEndAllowThreads(__tstate
);
4406 if (PyErr_Occurred()) SWIG_fail
;
4409 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4417 static PyObject
*_wrap_Rect___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4418 PyObject
*resultobj
;
4419 wxRect
*arg1
= (wxRect
*) 0 ;
4423 PyObject
* obj0
= 0 ;
4424 PyObject
* obj1
= 0 ;
4426 (char *) "self",(char *) "rect", NULL
4429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
4430 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4431 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4434 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4438 result
= (bool)((wxRect
const *)arg1
)->operator !=((wxRect
const &)*arg2
);
4440 wxPyEndAllowThreads(__tstate
);
4441 if (PyErr_Occurred()) SWIG_fail
;
4444 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4452 static PyObject
*_wrap_Rect_InsideXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4453 PyObject
*resultobj
;
4454 wxRect
*arg1
= (wxRect
*) 0 ;
4458 PyObject
* obj0
= 0 ;
4459 PyObject
* obj1
= 0 ;
4460 PyObject
* obj2
= 0 ;
4462 (char *) "self",(char *) "x",(char *) "y", NULL
4465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_InsideXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4466 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4467 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4468 arg2
= (int) SWIG_AsInt(obj1
);
4469 if (PyErr_Occurred()) SWIG_fail
;
4470 arg3
= (int) SWIG_AsInt(obj2
);
4471 if (PyErr_Occurred()) SWIG_fail
;
4473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4474 result
= (bool)((wxRect
const *)arg1
)->Inside(arg2
,arg3
);
4476 wxPyEndAllowThreads(__tstate
);
4477 if (PyErr_Occurred()) SWIG_fail
;
4480 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4488 static PyObject
*_wrap_Rect_Inside(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4489 PyObject
*resultobj
;
4490 wxRect
*arg1
= (wxRect
*) 0 ;
4494 PyObject
* obj0
= 0 ;
4495 PyObject
* obj1
= 0 ;
4497 (char *) "self",(char *) "pt", NULL
4500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Inside",kwnames
,&obj0
,&obj1
)) goto fail
;
4501 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4505 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4509 result
= (bool)((wxRect
const *)arg1
)->Inside((wxPoint
const &)*arg2
);
4511 wxPyEndAllowThreads(__tstate
);
4512 if (PyErr_Occurred()) SWIG_fail
;
4515 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4523 static PyObject
*_wrap_Rect_Intersects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4524 PyObject
*resultobj
;
4525 wxRect
*arg1
= (wxRect
*) 0 ;
4529 PyObject
* obj0
= 0 ;
4530 PyObject
* obj1
= 0 ;
4532 (char *) "self",(char *) "rect", NULL
4535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Intersects",kwnames
,&obj0
,&obj1
)) goto fail
;
4536 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4537 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4540 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4544 result
= (bool)((wxRect
const *)arg1
)->Intersects((wxRect
const &)*arg2
);
4546 wxPyEndAllowThreads(__tstate
);
4547 if (PyErr_Occurred()) SWIG_fail
;
4550 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4558 static PyObject
*_wrap_Rect_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4559 PyObject
*resultobj
;
4560 wxRect
*arg1
= (wxRect
*) 0 ;
4562 PyObject
* obj0
= 0 ;
4563 PyObject
* obj1
= 0 ;
4565 (char *) "self",(char *) "x", NULL
4568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4569 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4570 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4571 arg2
= (int) SWIG_AsInt(obj1
);
4572 if (PyErr_Occurred()) SWIG_fail
;
4573 if (arg1
) (arg1
)->x
= arg2
;
4575 Py_INCREF(Py_None
); resultobj
= Py_None
;
4582 static PyObject
*_wrap_Rect_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4583 PyObject
*resultobj
;
4584 wxRect
*arg1
= (wxRect
*) 0 ;
4586 PyObject
* obj0
= 0 ;
4588 (char *) "self", NULL
4591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_x_get",kwnames
,&obj0
)) goto fail
;
4592 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4593 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4594 result
= (int) ((arg1
)->x
);
4596 resultobj
= SWIG_FromInt((int)result
);
4603 static PyObject
*_wrap_Rect_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4604 PyObject
*resultobj
;
4605 wxRect
*arg1
= (wxRect
*) 0 ;
4607 PyObject
* obj0
= 0 ;
4608 PyObject
* obj1
= 0 ;
4610 (char *) "self",(char *) "y", NULL
4613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4614 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4615 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4616 arg2
= (int) SWIG_AsInt(obj1
);
4617 if (PyErr_Occurred()) SWIG_fail
;
4618 if (arg1
) (arg1
)->y
= arg2
;
4620 Py_INCREF(Py_None
); resultobj
= Py_None
;
4627 static PyObject
*_wrap_Rect_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4628 PyObject
*resultobj
;
4629 wxRect
*arg1
= (wxRect
*) 0 ;
4631 PyObject
* obj0
= 0 ;
4633 (char *) "self", NULL
4636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_y_get",kwnames
,&obj0
)) goto fail
;
4637 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4638 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4639 result
= (int) ((arg1
)->y
);
4641 resultobj
= SWIG_FromInt((int)result
);
4648 static PyObject
*_wrap_Rect_width_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4649 PyObject
*resultobj
;
4650 wxRect
*arg1
= (wxRect
*) 0 ;
4652 PyObject
* obj0
= 0 ;
4653 PyObject
* obj1
= 0 ;
4655 (char *) "self",(char *) "width", NULL
4658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4659 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4660 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4661 arg2
= (int) SWIG_AsInt(obj1
);
4662 if (PyErr_Occurred()) SWIG_fail
;
4663 if (arg1
) (arg1
)->width
= arg2
;
4665 Py_INCREF(Py_None
); resultobj
= Py_None
;
4672 static PyObject
*_wrap_Rect_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4673 PyObject
*resultobj
;
4674 wxRect
*arg1
= (wxRect
*) 0 ;
4676 PyObject
* obj0
= 0 ;
4678 (char *) "self", NULL
4681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_width_get",kwnames
,&obj0
)) goto fail
;
4682 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4683 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4684 result
= (int) ((arg1
)->width
);
4686 resultobj
= SWIG_FromInt((int)result
);
4693 static PyObject
*_wrap_Rect_height_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4694 PyObject
*resultobj
;
4695 wxRect
*arg1
= (wxRect
*) 0 ;
4697 PyObject
* obj0
= 0 ;
4698 PyObject
* obj1
= 0 ;
4700 (char *) "self",(char *) "height", NULL
4703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_height_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4704 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4705 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4706 arg2
= (int) SWIG_AsInt(obj1
);
4707 if (PyErr_Occurred()) SWIG_fail
;
4708 if (arg1
) (arg1
)->height
= arg2
;
4710 Py_INCREF(Py_None
); resultobj
= Py_None
;
4717 static PyObject
*_wrap_Rect_height_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4718 PyObject
*resultobj
;
4719 wxRect
*arg1
= (wxRect
*) 0 ;
4721 PyObject
* obj0
= 0 ;
4723 (char *) "self", NULL
4726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_height_get",kwnames
,&obj0
)) goto fail
;
4727 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4728 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4729 result
= (int) ((arg1
)->height
);
4731 resultobj
= SWIG_FromInt((int)result
);
4738 static PyObject
*_wrap_Rect_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4739 PyObject
*resultobj
;
4740 wxRect
*arg1
= (wxRect
*) 0 ;
4741 int arg2
= (int) 0 ;
4742 int arg3
= (int) 0 ;
4743 int arg4
= (int) 0 ;
4744 int arg5
= (int) 0 ;
4745 PyObject
* obj0
= 0 ;
4746 PyObject
* obj1
= 0 ;
4747 PyObject
* obj2
= 0 ;
4748 PyObject
* obj3
= 0 ;
4749 PyObject
* obj4
= 0 ;
4751 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
4754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Rect_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
4755 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4758 arg2
= (int) SWIG_AsInt(obj1
);
4759 if (PyErr_Occurred()) SWIG_fail
;
4762 arg3
= (int) SWIG_AsInt(obj2
);
4763 if (PyErr_Occurred()) SWIG_fail
;
4766 arg4
= (int) SWIG_AsInt(obj3
);
4767 if (PyErr_Occurred()) SWIG_fail
;
4770 arg5
= (int) SWIG_AsInt(obj4
);
4771 if (PyErr_Occurred()) SWIG_fail
;
4774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4775 wxRect_Set(arg1
,arg2
,arg3
,arg4
,arg5
);
4777 wxPyEndAllowThreads(__tstate
);
4778 if (PyErr_Occurred()) SWIG_fail
;
4780 Py_INCREF(Py_None
); resultobj
= Py_None
;
4787 static PyObject
*_wrap_Rect_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4788 PyObject
*resultobj
;
4789 wxRect
*arg1
= (wxRect
*) 0 ;
4791 PyObject
* obj0
= 0 ;
4793 (char *) "self", NULL
4796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_Get",kwnames
,&obj0
)) goto fail
;
4797 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4798 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4801 result
= (PyObject
*)wxRect_Get(arg1
);
4803 wxPyEndAllowThreads(__tstate
);
4804 if (PyErr_Occurred()) SWIG_fail
;
4813 static PyObject
* Rect_swigregister(PyObject
*self
, PyObject
*args
) {
4815 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4816 SWIG_TypeClientData(SWIGTYPE_p_wxRect
, obj
);
4818 return Py_BuildValue((char *)"");
4820 static PyObject
*_wrap_IntersectRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4821 PyObject
*resultobj
;
4822 wxRect
*arg1
= (wxRect
*) 0 ;
4823 wxRect
*arg2
= (wxRect
*) 0 ;
4825 PyObject
* obj0
= 0 ;
4826 PyObject
* obj1
= 0 ;
4828 (char *) "r1",(char *) "r2", NULL
4831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IntersectRect",kwnames
,&obj0
,&obj1
)) goto fail
;
4832 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4833 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4834 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRect
,
4835 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4837 if (!wxPyCheckForApp()) SWIG_fail
;
4838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4839 result
= (PyObject
*)wxIntersectRect(arg1
,arg2
);
4841 wxPyEndAllowThreads(__tstate
);
4842 if (PyErr_Occurred()) SWIG_fail
;
4851 static PyObject
*_wrap_new_Point2D(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4852 PyObject
*resultobj
;
4853 double arg1
= (double) 0.0 ;
4854 double arg2
= (double) 0.0 ;
4856 PyObject
* obj0
= 0 ;
4857 PyObject
* obj1
= 0 ;
4859 (char *) "x",(char *) "y", NULL
4862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Point2D",kwnames
,&obj0
,&obj1
)) goto fail
;
4864 arg1
= (double) SWIG_AsDouble(obj0
);
4865 if (PyErr_Occurred()) SWIG_fail
;
4868 arg2
= (double) SWIG_AsDouble(obj1
);
4869 if (PyErr_Occurred()) SWIG_fail
;
4872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4873 result
= (wxPoint2D
*)new wxPoint2D(arg1
,arg2
);
4875 wxPyEndAllowThreads(__tstate
);
4876 if (PyErr_Occurred()) SWIG_fail
;
4878 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
4885 static PyObject
*_wrap_new_Point2DCopy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4886 PyObject
*resultobj
;
4887 wxPoint2D
*arg1
= 0 ;
4890 PyObject
* obj0
= 0 ;
4895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Point2DCopy",kwnames
,&obj0
)) goto fail
;
4898 if ( ! wxPoint2D_helper(obj0
, &arg1
)) SWIG_fail
;
4901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4902 result
= (wxPoint2D
*)new wxPoint2D((wxPoint2D
const &)*arg1
);
4904 wxPyEndAllowThreads(__tstate
);
4905 if (PyErr_Occurred()) SWIG_fail
;
4907 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
4914 static PyObject
*_wrap_new_Point2DFromPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4915 PyObject
*resultobj
;
4919 PyObject
* obj0
= 0 ;
4924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Point2DFromPoint",kwnames
,&obj0
)) goto fail
;
4927 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
4930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4931 result
= (wxPoint2D
*)new wxPoint2D((wxPoint
const &)*arg1
);
4933 wxPyEndAllowThreads(__tstate
);
4934 if (PyErr_Occurred()) SWIG_fail
;
4936 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
4943 static PyObject
*_wrap_Point2D_GetFloor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4944 PyObject
*resultobj
;
4945 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4946 int *arg2
= (int *) 0 ;
4947 int *arg3
= (int *) 0 ;
4950 PyObject
* obj0
= 0 ;
4952 (char *) "self", NULL
4957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetFloor",kwnames
,&obj0
)) goto fail
;
4958 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
4959 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4962 ((wxPoint2D
const *)arg1
)->GetFloor(arg2
,arg3
);
4964 wxPyEndAllowThreads(__tstate
);
4965 if (PyErr_Occurred()) SWIG_fail
;
4967 Py_INCREF(Py_None
); resultobj
= Py_None
;
4969 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4970 resultobj
= t_output_helper(resultobj
,o
);
4973 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
4974 resultobj
= t_output_helper(resultobj
,o
);
4982 static PyObject
*_wrap_Point2D_GetRounded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4983 PyObject
*resultobj
;
4984 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4985 int *arg2
= (int *) 0 ;
4986 int *arg3
= (int *) 0 ;
4989 PyObject
* obj0
= 0 ;
4991 (char *) "self", NULL
4996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetRounded",kwnames
,&obj0
)) goto fail
;
4997 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
4998 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5001 ((wxPoint2D
const *)arg1
)->GetRounded(arg2
,arg3
);
5003 wxPyEndAllowThreads(__tstate
);
5004 if (PyErr_Occurred()) SWIG_fail
;
5006 Py_INCREF(Py_None
); resultobj
= Py_None
;
5008 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
5009 resultobj
= t_output_helper(resultobj
,o
);
5012 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
5013 resultobj
= t_output_helper(resultobj
,o
);
5021 static PyObject
*_wrap_Point2D_GetVectorLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5022 PyObject
*resultobj
;
5023 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5025 PyObject
* obj0
= 0 ;
5027 (char *) "self", NULL
5030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetVectorLength",kwnames
,&obj0
)) goto fail
;
5031 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5032 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5035 result
= (double)((wxPoint2D
const *)arg1
)->GetVectorLength();
5037 wxPyEndAllowThreads(__tstate
);
5038 if (PyErr_Occurred()) SWIG_fail
;
5040 resultobj
= SWIG_FromDouble((double)result
);
5047 static PyObject
*_wrap_Point2D_GetVectorAngle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5048 PyObject
*resultobj
;
5049 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5051 PyObject
* obj0
= 0 ;
5053 (char *) "self", NULL
5056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetVectorAngle",kwnames
,&obj0
)) goto fail
;
5057 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5058 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5061 result
= (double)((wxPoint2D
const *)arg1
)->GetVectorAngle();
5063 wxPyEndAllowThreads(__tstate
);
5064 if (PyErr_Occurred()) SWIG_fail
;
5066 resultobj
= SWIG_FromDouble((double)result
);
5073 static PyObject
*_wrap_Point2D_SetVectorLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5074 PyObject
*resultobj
;
5075 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5077 PyObject
* obj0
= 0 ;
5078 PyObject
* obj1
= 0 ;
5080 (char *) "self",(char *) "length", NULL
5083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_SetVectorLength",kwnames
,&obj0
,&obj1
)) goto fail
;
5084 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5085 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5086 arg2
= (double) SWIG_AsDouble(obj1
);
5087 if (PyErr_Occurred()) SWIG_fail
;
5089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5090 (arg1
)->SetVectorLength(arg2
);
5092 wxPyEndAllowThreads(__tstate
);
5093 if (PyErr_Occurred()) SWIG_fail
;
5095 Py_INCREF(Py_None
); resultobj
= Py_None
;
5102 static PyObject
*_wrap_Point2D_SetVectorAngle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5103 PyObject
*resultobj
;
5104 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5106 PyObject
* obj0
= 0 ;
5107 PyObject
* obj1
= 0 ;
5109 (char *) "self",(char *) "degrees", NULL
5112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_SetVectorAngle",kwnames
,&obj0
,&obj1
)) goto fail
;
5113 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5114 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5115 arg2
= (double) SWIG_AsDouble(obj1
);
5116 if (PyErr_Occurred()) SWIG_fail
;
5118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5119 (arg1
)->SetVectorAngle(arg2
);
5121 wxPyEndAllowThreads(__tstate
);
5122 if (PyErr_Occurred()) SWIG_fail
;
5124 Py_INCREF(Py_None
); resultobj
= Py_None
;
5131 static PyObject
*_wrap_Point2D_GetDistance(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5132 PyObject
*resultobj
;
5133 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5134 wxPoint2D
*arg2
= 0 ;
5137 PyObject
* obj0
= 0 ;
5138 PyObject
* obj1
= 0 ;
5140 (char *) "self",(char *) "pt", NULL
5143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDistance",kwnames
,&obj0
,&obj1
)) goto fail
;
5144 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5145 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5148 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5152 result
= (double)((wxPoint2D
const *)arg1
)->GetDistance((wxPoint2D
const &)*arg2
);
5154 wxPyEndAllowThreads(__tstate
);
5155 if (PyErr_Occurred()) SWIG_fail
;
5157 resultobj
= SWIG_FromDouble((double)result
);
5164 static PyObject
*_wrap_Point2D_GetDistanceSquare(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5165 PyObject
*resultobj
;
5166 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5167 wxPoint2D
*arg2
= 0 ;
5170 PyObject
* obj0
= 0 ;
5171 PyObject
* obj1
= 0 ;
5173 (char *) "self",(char *) "pt", NULL
5176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDistanceSquare",kwnames
,&obj0
,&obj1
)) goto fail
;
5177 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5178 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5181 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5185 result
= (double)((wxPoint2D
const *)arg1
)->GetDistanceSquare((wxPoint2D
const &)*arg2
);
5187 wxPyEndAllowThreads(__tstate
);
5188 if (PyErr_Occurred()) SWIG_fail
;
5190 resultobj
= SWIG_FromDouble((double)result
);
5197 static PyObject
*_wrap_Point2D_GetDotProduct(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5198 PyObject
*resultobj
;
5199 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5200 wxPoint2D
*arg2
= 0 ;
5203 PyObject
* obj0
= 0 ;
5204 PyObject
* obj1
= 0 ;
5206 (char *) "self",(char *) "vec", NULL
5209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDotProduct",kwnames
,&obj0
,&obj1
)) goto fail
;
5210 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5211 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5214 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5218 result
= (double)((wxPoint2D
const *)arg1
)->GetDotProduct((wxPoint2D
const &)*arg2
);
5220 wxPyEndAllowThreads(__tstate
);
5221 if (PyErr_Occurred()) SWIG_fail
;
5223 resultobj
= SWIG_FromDouble((double)result
);
5230 static PyObject
*_wrap_Point2D_GetCrossProduct(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5231 PyObject
*resultobj
;
5232 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5233 wxPoint2D
*arg2
= 0 ;
5236 PyObject
* obj0
= 0 ;
5237 PyObject
* obj1
= 0 ;
5239 (char *) "self",(char *) "vec", NULL
5242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetCrossProduct",kwnames
,&obj0
,&obj1
)) goto fail
;
5243 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5244 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5247 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5251 result
= (double)((wxPoint2D
const *)arg1
)->GetCrossProduct((wxPoint2D
const &)*arg2
);
5253 wxPyEndAllowThreads(__tstate
);
5254 if (PyErr_Occurred()) SWIG_fail
;
5256 resultobj
= SWIG_FromDouble((double)result
);
5263 static PyObject
*_wrap_Point2D___neg__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5264 PyObject
*resultobj
;
5265 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5267 PyObject
* obj0
= 0 ;
5269 (char *) "self", NULL
5272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D___neg__",kwnames
,&obj0
)) goto fail
;
5273 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5274 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5277 result
= (arg1
)->operator -();
5279 wxPyEndAllowThreads(__tstate
);
5280 if (PyErr_Occurred()) SWIG_fail
;
5283 wxPoint2D
* resultptr
;
5284 resultptr
= new wxPoint2D((wxPoint2D
&) result
);
5285 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint2D
, 1);
5293 static PyObject
*_wrap_Point2D___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5294 PyObject
*resultobj
;
5295 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5296 wxPoint2D
*arg2
= 0 ;
5299 PyObject
* obj0
= 0 ;
5300 PyObject
* obj1
= 0 ;
5302 (char *) "self",(char *) "pt", NULL
5305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
5306 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5307 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5310 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5315 wxPoint2D
&_result_ref
= (arg1
)->operator +=((wxPoint2D
const &)*arg2
);
5316 result
= (wxPoint2D
*) &_result_ref
;
5319 wxPyEndAllowThreads(__tstate
);
5320 if (PyErr_Occurred()) SWIG_fail
;
5322 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 0);
5329 static PyObject
*_wrap_Point2D___isub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5330 PyObject
*resultobj
;
5331 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5332 wxPoint2D
*arg2
= 0 ;
5335 PyObject
* obj0
= 0 ;
5336 PyObject
* obj1
= 0 ;
5338 (char *) "self",(char *) "pt", NULL
5341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
5342 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5343 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5346 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5351 wxPoint2D
&_result_ref
= (arg1
)->operator -=((wxPoint2D
const &)*arg2
);
5352 result
= (wxPoint2D
*) &_result_ref
;
5355 wxPyEndAllowThreads(__tstate
);
5356 if (PyErr_Occurred()) SWIG_fail
;
5358 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 0);
5365 static PyObject
*_wrap_Point2D___imul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5366 PyObject
*resultobj
;
5367 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5368 wxPoint2D
*arg2
= 0 ;
5371 PyObject
* obj0
= 0 ;
5372 PyObject
* obj1
= 0 ;
5374 (char *) "self",(char *) "pt", NULL
5377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
5378 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5379 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5382 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5387 wxPoint2D
&_result_ref
= (arg1
)->operator *=((wxPoint2D
const &)*arg2
);
5388 result
= (wxPoint2D
*) &_result_ref
;
5391 wxPyEndAllowThreads(__tstate
);
5392 if (PyErr_Occurred()) SWIG_fail
;
5394 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 0);
5401 static PyObject
*_wrap_Point2D___idiv__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5402 PyObject
*resultobj
;
5403 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5404 wxPoint2D
*arg2
= 0 ;
5407 PyObject
* obj0
= 0 ;
5408 PyObject
* obj1
= 0 ;
5410 (char *) "self",(char *) "pt", NULL
5413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___idiv__",kwnames
,&obj0
,&obj1
)) goto fail
;
5414 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5415 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5418 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5423 wxPoint2D
&_result_ref
= (arg1
)->operator /=((wxPoint2D
const &)*arg2
);
5424 result
= (wxPoint2D
*) &_result_ref
;
5427 wxPyEndAllowThreads(__tstate
);
5428 if (PyErr_Occurred()) SWIG_fail
;
5430 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 0);
5437 static PyObject
*_wrap_Point2D___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5438 PyObject
*resultobj
;
5439 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5440 wxPoint2D
*arg2
= 0 ;
5443 PyObject
* obj0
= 0 ;
5444 PyObject
* obj1
= 0 ;
5446 (char *) "self",(char *) "pt", NULL
5449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
5450 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5451 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5454 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5458 result
= (bool)((wxPoint2D
const *)arg1
)->operator ==((wxPoint2D
const &)*arg2
);
5460 wxPyEndAllowThreads(__tstate
);
5461 if (PyErr_Occurred()) SWIG_fail
;
5464 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5472 static PyObject
*_wrap_Point2D___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5473 PyObject
*resultobj
;
5474 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5475 wxPoint2D
*arg2
= 0 ;
5478 PyObject
* obj0
= 0 ;
5479 PyObject
* obj1
= 0 ;
5481 (char *) "self",(char *) "pt", NULL
5484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
5485 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5486 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5489 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5493 result
= (bool)((wxPoint2D
const *)arg1
)->operator !=((wxPoint2D
const &)*arg2
);
5495 wxPyEndAllowThreads(__tstate
);
5496 if (PyErr_Occurred()) SWIG_fail
;
5499 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5507 static PyObject
*_wrap_Point2D_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5508 PyObject
*resultobj
;
5509 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5511 PyObject
* obj0
= 0 ;
5512 PyObject
* obj1
= 0 ;
5514 (char *) "self",(char *) "m_x", NULL
5517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
5518 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5519 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5520 arg2
= (double) SWIG_AsDouble(obj1
);
5521 if (PyErr_Occurred()) SWIG_fail
;
5522 if (arg1
) (arg1
)->m_x
= arg2
;
5524 Py_INCREF(Py_None
); resultobj
= Py_None
;
5531 static PyObject
*_wrap_Point2D_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5532 PyObject
*resultobj
;
5533 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5535 PyObject
* obj0
= 0 ;
5537 (char *) "self", NULL
5540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_x_get",kwnames
,&obj0
)) goto fail
;
5541 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5542 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5543 result
= (double) ((arg1
)->m_x
);
5545 resultobj
= SWIG_FromDouble((double)result
);
5552 static PyObject
*_wrap_Point2D_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5553 PyObject
*resultobj
;
5554 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5556 PyObject
* obj0
= 0 ;
5557 PyObject
* obj1
= 0 ;
5559 (char *) "self",(char *) "m_y", NULL
5562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
5563 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5564 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5565 arg2
= (double) SWIG_AsDouble(obj1
);
5566 if (PyErr_Occurred()) SWIG_fail
;
5567 if (arg1
) (arg1
)->m_y
= arg2
;
5569 Py_INCREF(Py_None
); resultobj
= Py_None
;
5576 static PyObject
*_wrap_Point2D_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5577 PyObject
*resultobj
;
5578 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5580 PyObject
* obj0
= 0 ;
5582 (char *) "self", NULL
5585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_y_get",kwnames
,&obj0
)) goto fail
;
5586 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5587 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5588 result
= (double) ((arg1
)->m_y
);
5590 resultobj
= SWIG_FromDouble((double)result
);
5597 static PyObject
*_wrap_Point2D_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5598 PyObject
*resultobj
;
5599 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5600 double arg2
= (double) 0 ;
5601 double arg3
= (double) 0 ;
5602 PyObject
* obj0
= 0 ;
5603 PyObject
* obj1
= 0 ;
5604 PyObject
* obj2
= 0 ;
5606 (char *) "self",(char *) "x",(char *) "y", NULL
5609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Point2D_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5610 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5611 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5613 arg2
= (double) SWIG_AsDouble(obj1
);
5614 if (PyErr_Occurred()) SWIG_fail
;
5617 arg3
= (double) SWIG_AsDouble(obj2
);
5618 if (PyErr_Occurred()) SWIG_fail
;
5621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5622 wxPoint2D_Set(arg1
,arg2
,arg3
);
5624 wxPyEndAllowThreads(__tstate
);
5625 if (PyErr_Occurred()) SWIG_fail
;
5627 Py_INCREF(Py_None
); resultobj
= Py_None
;
5634 static PyObject
*_wrap_Point2D_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5635 PyObject
*resultobj
;
5636 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5638 PyObject
* obj0
= 0 ;
5640 (char *) "self", NULL
5643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_Get",kwnames
,&obj0
)) goto fail
;
5644 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5645 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5648 result
= (PyObject
*)wxPoint2D_Get(arg1
);
5650 wxPyEndAllowThreads(__tstate
);
5651 if (PyErr_Occurred()) SWIG_fail
;
5660 static PyObject
* Point2D_swigregister(PyObject
*self
, PyObject
*args
) {
5662 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5663 SWIG_TypeClientData(SWIGTYPE_p_wxPoint2D
, obj
);
5665 return Py_BuildValue((char *)"");
5667 static int _wrap_DefaultPosition_set(PyObject
*_val
) {
5668 PyErr_SetString(PyExc_TypeError
,"Variable DefaultPosition is read-only.");
5673 static PyObject
*_wrap_DefaultPosition_get() {
5676 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultPosition
), SWIGTYPE_p_wxPoint
, 0);
5681 static int _wrap_DefaultSize_set(PyObject
*_val
) {
5682 PyErr_SetString(PyExc_TypeError
,"Variable DefaultSize is read-only.");
5687 static PyObject
*_wrap_DefaultSize_get() {
5690 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultSize
), SWIGTYPE_p_wxSize
, 0);
5695 static PyObject
*_wrap_new_InputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5696 PyObject
*resultobj
;
5697 PyObject
*arg1
= (PyObject
*) 0 ;
5698 wxPyInputStream
*result
;
5699 PyObject
* obj0
= 0 ;
5704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_InputStream",kwnames
,&obj0
)) goto fail
;
5707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5708 result
= (wxPyInputStream
*)new_wxPyInputStream(arg1
);
5710 wxPyEndAllowThreads(__tstate
);
5711 if (PyErr_Occurred()) SWIG_fail
;
5713 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyInputStream
, 1);
5720 static PyObject
*_wrap_InputStream_close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5721 PyObject
*resultobj
;
5722 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5723 PyObject
* obj0
= 0 ;
5725 (char *) "self", NULL
5728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_close",kwnames
,&obj0
)) goto fail
;
5729 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5730 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5735 wxPyEndAllowThreads(__tstate
);
5736 if (PyErr_Occurred()) SWIG_fail
;
5738 Py_INCREF(Py_None
); resultobj
= Py_None
;
5745 static PyObject
*_wrap_InputStream_flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5746 PyObject
*resultobj
;
5747 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5748 PyObject
* obj0
= 0 ;
5750 (char *) "self", NULL
5753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_flush",kwnames
,&obj0
)) goto fail
;
5754 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5755 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5760 wxPyEndAllowThreads(__tstate
);
5761 if (PyErr_Occurred()) SWIG_fail
;
5763 Py_INCREF(Py_None
); resultobj
= Py_None
;
5770 static PyObject
*_wrap_InputStream_eof(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5771 PyObject
*resultobj
;
5772 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5774 PyObject
* obj0
= 0 ;
5776 (char *) "self", NULL
5779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_eof",kwnames
,&obj0
)) goto fail
;
5780 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5781 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5784 result
= (bool)(arg1
)->eof();
5786 wxPyEndAllowThreads(__tstate
);
5787 if (PyErr_Occurred()) SWIG_fail
;
5790 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5798 static PyObject
*_wrap_InputStream_read(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5799 PyObject
*resultobj
;
5800 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5801 int arg2
= (int) -1 ;
5803 PyObject
* obj0
= 0 ;
5804 PyObject
* obj1
= 0 ;
5806 (char *) "self",(char *) "size", NULL
5809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_read",kwnames
,&obj0
,&obj1
)) goto fail
;
5810 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5811 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5813 arg2
= (int) SWIG_AsInt(obj1
);
5814 if (PyErr_Occurred()) SWIG_fail
;
5817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5818 result
= (PyObject
*)(arg1
)->read(arg2
);
5820 wxPyEndAllowThreads(__tstate
);
5821 if (PyErr_Occurred()) SWIG_fail
;
5830 static PyObject
*_wrap_InputStream_readline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5831 PyObject
*resultobj
;
5832 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5833 int arg2
= (int) -1 ;
5835 PyObject
* obj0
= 0 ;
5836 PyObject
* obj1
= 0 ;
5838 (char *) "self",(char *) "size", NULL
5841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_readline",kwnames
,&obj0
,&obj1
)) goto fail
;
5842 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5843 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5845 arg2
= (int) SWIG_AsInt(obj1
);
5846 if (PyErr_Occurred()) SWIG_fail
;
5849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5850 result
= (PyObject
*)(arg1
)->readline(arg2
);
5852 wxPyEndAllowThreads(__tstate
);
5853 if (PyErr_Occurred()) SWIG_fail
;
5862 static PyObject
*_wrap_InputStream_readlines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5863 PyObject
*resultobj
;
5864 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5865 int arg2
= (int) -1 ;
5867 PyObject
* obj0
= 0 ;
5868 PyObject
* obj1
= 0 ;
5870 (char *) "self",(char *) "sizehint", NULL
5873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_readlines",kwnames
,&obj0
,&obj1
)) goto fail
;
5874 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5875 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5877 arg2
= (int) SWIG_AsInt(obj1
);
5878 if (PyErr_Occurred()) SWIG_fail
;
5881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5882 result
= (PyObject
*)(arg1
)->readlines(arg2
);
5884 wxPyEndAllowThreads(__tstate
);
5885 if (PyErr_Occurred()) SWIG_fail
;
5894 static PyObject
*_wrap_InputStream_seek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5895 PyObject
*resultobj
;
5896 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5898 int arg3
= (int) 0 ;
5899 PyObject
* obj0
= 0 ;
5900 PyObject
* obj1
= 0 ;
5901 PyObject
* obj2
= 0 ;
5903 (char *) "self",(char *) "offset",(char *) "whence", NULL
5906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:InputStream_seek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5907 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5908 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5909 arg2
= (int) SWIG_AsInt(obj1
);
5910 if (PyErr_Occurred()) SWIG_fail
;
5912 arg3
= (int) SWIG_AsInt(obj2
);
5913 if (PyErr_Occurred()) SWIG_fail
;
5916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5917 (arg1
)->seek(arg2
,arg3
);
5919 wxPyEndAllowThreads(__tstate
);
5920 if (PyErr_Occurred()) SWIG_fail
;
5922 Py_INCREF(Py_None
); resultobj
= Py_None
;
5929 static PyObject
*_wrap_InputStream_tell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5930 PyObject
*resultobj
;
5931 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5933 PyObject
* obj0
= 0 ;
5935 (char *) "self", NULL
5938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_tell",kwnames
,&obj0
)) goto fail
;
5939 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5940 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5943 result
= (int)(arg1
)->tell();
5945 wxPyEndAllowThreads(__tstate
);
5946 if (PyErr_Occurred()) SWIG_fail
;
5948 resultobj
= SWIG_FromInt((int)result
);
5955 static PyObject
*_wrap_InputStream_Peek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5956 PyObject
*resultobj
;
5957 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5959 PyObject
* obj0
= 0 ;
5961 (char *) "self", NULL
5964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_Peek",kwnames
,&obj0
)) goto fail
;
5965 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5966 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5969 result
= (char)(arg1
)->Peek();
5971 wxPyEndAllowThreads(__tstate
);
5972 if (PyErr_Occurred()) SWIG_fail
;
5974 resultobj
= SWIG_FromChar((char)result
);
5981 static PyObject
*_wrap_InputStream_GetC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5982 PyObject
*resultobj
;
5983 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5985 PyObject
* obj0
= 0 ;
5987 (char *) "self", NULL
5990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_GetC",kwnames
,&obj0
)) goto fail
;
5991 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5992 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5995 result
= (char)(arg1
)->GetC();
5997 wxPyEndAllowThreads(__tstate
);
5998 if (PyErr_Occurred()) SWIG_fail
;
6000 resultobj
= SWIG_FromChar((char)result
);
6007 static PyObject
*_wrap_InputStream_LastRead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6008 PyObject
*resultobj
;
6009 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6011 PyObject
* obj0
= 0 ;
6013 (char *) "self", NULL
6016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_LastRead",kwnames
,&obj0
)) goto fail
;
6017 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6018 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6021 result
= (size_t)(arg1
)->LastRead();
6023 wxPyEndAllowThreads(__tstate
);
6024 if (PyErr_Occurred()) SWIG_fail
;
6026 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
6033 static PyObject
*_wrap_InputStream_CanRead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6034 PyObject
*resultobj
;
6035 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6037 PyObject
* obj0
= 0 ;
6039 (char *) "self", NULL
6042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_CanRead",kwnames
,&obj0
)) goto fail
;
6043 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6044 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6047 result
= (bool)(arg1
)->CanRead();
6049 wxPyEndAllowThreads(__tstate
);
6050 if (PyErr_Occurred()) SWIG_fail
;
6053 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6061 static PyObject
*_wrap_InputStream_Eof(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6062 PyObject
*resultobj
;
6063 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6065 PyObject
* obj0
= 0 ;
6067 (char *) "self", NULL
6070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_Eof",kwnames
,&obj0
)) goto fail
;
6071 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6072 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6075 result
= (bool)(arg1
)->Eof();
6077 wxPyEndAllowThreads(__tstate
);
6078 if (PyErr_Occurred()) SWIG_fail
;
6081 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6089 static PyObject
*_wrap_InputStream_Ungetch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6090 PyObject
*resultobj
;
6091 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6094 PyObject
* obj0
= 0 ;
6095 PyObject
* obj1
= 0 ;
6097 (char *) "self",(char *) "c", NULL
6100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:InputStream_Ungetch",kwnames
,&obj0
,&obj1
)) goto fail
;
6101 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6102 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6103 arg2
= (char) SWIG_AsChar(obj1
);
6104 if (PyErr_Occurred()) SWIG_fail
;
6106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6107 result
= (bool)(arg1
)->Ungetch(arg2
);
6109 wxPyEndAllowThreads(__tstate
);
6110 if (PyErr_Occurred()) SWIG_fail
;
6113 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6121 static PyObject
*_wrap_InputStream_SeekI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6122 PyObject
*resultobj
;
6123 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6125 int arg3
= (int) wxFromStart
;
6127 PyObject
* obj0
= 0 ;
6128 PyObject
* obj1
= 0 ;
6129 PyObject
* obj2
= 0 ;
6131 (char *) "self",(char *) "pos",(char *) "mode", NULL
6134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:InputStream_SeekI",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6135 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6136 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6137 arg2
= (long) SWIG_AsLong(obj1
);
6138 if (PyErr_Occurred()) SWIG_fail
;
6140 arg3
= (wxSeekMode
) SWIG_AsInt(obj2
);
6141 if (PyErr_Occurred()) SWIG_fail
;
6144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6145 result
= (long)(arg1
)->SeekI(arg2
,(wxSeekMode
)arg3
);
6147 wxPyEndAllowThreads(__tstate
);
6148 if (PyErr_Occurred()) SWIG_fail
;
6150 resultobj
= SWIG_FromLong((long)result
);
6157 static PyObject
*_wrap_InputStream_TellI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6158 PyObject
*resultobj
;
6159 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6161 PyObject
* obj0
= 0 ;
6163 (char *) "self", NULL
6166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_TellI",kwnames
,&obj0
)) goto fail
;
6167 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6168 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6171 result
= (long)(arg1
)->TellI();
6173 wxPyEndAllowThreads(__tstate
);
6174 if (PyErr_Occurred()) SWIG_fail
;
6176 resultobj
= SWIG_FromLong((long)result
);
6183 static PyObject
* InputStream_swigregister(PyObject
*self
, PyObject
*args
) {
6185 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6186 SWIG_TypeClientData(SWIGTYPE_p_wxPyInputStream
, obj
);
6188 return Py_BuildValue((char *)"");
6190 static PyObject
*_wrap_OutputStream_write(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6191 PyObject
*resultobj
;
6192 wxOutputStream
*arg1
= (wxOutputStream
*) 0 ;
6193 PyObject
*arg2
= (PyObject
*) 0 ;
6194 PyObject
* obj0
= 0 ;
6195 PyObject
* obj1
= 0 ;
6197 (char *) "self",(char *) "obj", NULL
6200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:OutputStream_write",kwnames
,&obj0
,&obj1
)) goto fail
;
6201 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxOutputStream
,
6202 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6206 wxOutputStream_write(arg1
,arg2
);
6208 wxPyEndAllowThreads(__tstate
);
6209 if (PyErr_Occurred()) SWIG_fail
;
6211 Py_INCREF(Py_None
); resultobj
= Py_None
;
6218 static PyObject
* OutputStream_swigregister(PyObject
*self
, PyObject
*args
) {
6220 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6221 SWIG_TypeClientData(SWIGTYPE_p_wxOutputStream
, obj
);
6223 return Py_BuildValue((char *)"");
6225 static PyObject
*_wrap_new_FSFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6226 PyObject
*resultobj
;
6227 wxInputStream
*arg1
= (wxInputStream
*) 0 ;
6228 wxString
*arg2
= 0 ;
6229 wxString
*arg3
= 0 ;
6230 wxString
*arg4
= 0 ;
6233 wxPyInputStream
*temp1
;
6235 bool temp2
= False
;
6236 bool temp3
= False
;
6237 bool temp4
= False
;
6239 PyObject
* obj0
= 0 ;
6240 PyObject
* obj1
= 0 ;
6241 PyObject
* obj2
= 0 ;
6242 PyObject
* obj3
= 0 ;
6243 PyObject
* obj4
= 0 ;
6245 (char *) "stream",(char *) "loc",(char *) "mimetype",(char *) "anchor",(char *) "modif", NULL
6248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:new_FSFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
6250 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
6251 arg1
= temp1
->m_wxis
;
6254 PyErr_Clear(); // clear the failure of the wxPyConvert above
6255 arg1
= wxPyCBInputStream_create(obj0
, False
);
6257 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
6264 arg2
= wxString_in_helper(obj1
);
6265 if (arg2
== NULL
) SWIG_fail
;
6269 arg3
= wxString_in_helper(obj2
);
6270 if (arg3
== NULL
) SWIG_fail
;
6274 arg4
= wxString_in_helper(obj3
);
6275 if (arg4
== NULL
) SWIG_fail
;
6278 if ((SWIG_ConvertPtr(obj4
,(void **)(&argp5
),SWIGTYPE_p_wxDateTime
,
6279 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
6282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6283 result
= (wxFSFile
*)new wxFSFile(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
6285 wxPyEndAllowThreads(__tstate
);
6286 if (PyErr_Occurred()) SWIG_fail
;
6289 resultobj
= wxPyMake_wxObject(result
, 1);
6329 static PyObject
*_wrap_delete_FSFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6330 PyObject
*resultobj
;
6331 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6332 PyObject
* obj0
= 0 ;
6334 (char *) "self", NULL
6337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FSFile",kwnames
,&obj0
)) goto fail
;
6338 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6339 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6344 wxPyEndAllowThreads(__tstate
);
6345 if (PyErr_Occurred()) SWIG_fail
;
6347 Py_INCREF(Py_None
); resultobj
= Py_None
;
6354 static PyObject
*_wrap_FSFile_GetStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6355 PyObject
*resultobj
;
6356 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6357 wxInputStream
*result
;
6358 PyObject
* obj0
= 0 ;
6360 (char *) "self", NULL
6363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetStream",kwnames
,&obj0
)) goto fail
;
6364 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6365 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6368 result
= (wxInputStream
*)(arg1
)->GetStream();
6370 wxPyEndAllowThreads(__tstate
);
6371 if (PyErr_Occurred()) SWIG_fail
;
6374 wxPyInputStream
* _ptr
= NULL
;
6377 _ptr
= new wxPyInputStream(result
);
6379 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), True
);
6387 static PyObject
*_wrap_FSFile_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6388 PyObject
*resultobj
;
6389 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6391 PyObject
* obj0
= 0 ;
6393 (char *) "self", NULL
6396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetMimeType",kwnames
,&obj0
)) goto fail
;
6397 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6398 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6402 wxString
const &_result_ref
= (arg1
)->GetMimeType();
6403 result
= (wxString
*) &_result_ref
;
6406 wxPyEndAllowThreads(__tstate
);
6407 if (PyErr_Occurred()) SWIG_fail
;
6411 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
6413 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
6422 static PyObject
*_wrap_FSFile_GetLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6423 PyObject
*resultobj
;
6424 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6426 PyObject
* obj0
= 0 ;
6428 (char *) "self", NULL
6431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetLocation",kwnames
,&obj0
)) goto fail
;
6432 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6433 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6437 wxString
const &_result_ref
= (arg1
)->GetLocation();
6438 result
= (wxString
*) &_result_ref
;
6441 wxPyEndAllowThreads(__tstate
);
6442 if (PyErr_Occurred()) SWIG_fail
;
6446 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
6448 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
6457 static PyObject
*_wrap_FSFile_GetAnchor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6458 PyObject
*resultobj
;
6459 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6461 PyObject
* obj0
= 0 ;
6463 (char *) "self", NULL
6466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetAnchor",kwnames
,&obj0
)) goto fail
;
6467 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6468 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6472 wxString
const &_result_ref
= (arg1
)->GetAnchor();
6473 result
= (wxString
*) &_result_ref
;
6476 wxPyEndAllowThreads(__tstate
);
6477 if (PyErr_Occurred()) SWIG_fail
;
6481 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
6483 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
6492 static PyObject
*_wrap_FSFile_GetModificationTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6493 PyObject
*resultobj
;
6494 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6496 PyObject
* obj0
= 0 ;
6498 (char *) "self", NULL
6501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetModificationTime",kwnames
,&obj0
)) goto fail
;
6502 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6503 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6506 result
= (arg1
)->GetModificationTime();
6508 wxPyEndAllowThreads(__tstate
);
6509 if (PyErr_Occurred()) SWIG_fail
;
6512 wxDateTime
* resultptr
;
6513 resultptr
= new wxDateTime((wxDateTime
&) result
);
6514 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
6522 static PyObject
* FSFile_swigregister(PyObject
*self
, PyObject
*args
) {
6524 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6525 SWIG_TypeClientData(SWIGTYPE_p_wxFSFile
, obj
);
6527 return Py_BuildValue((char *)"");
6529 static PyObject
* CPPFileSystemHandler_swigregister(PyObject
*self
, PyObject
*args
) {
6531 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6532 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystemHandler
, obj
);
6534 return Py_BuildValue((char *)"");
6536 static PyObject
*_wrap_new_FileSystemHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6537 PyObject
*resultobj
;
6538 wxPyFileSystemHandler
*result
;
6543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileSystemHandler",kwnames
)) goto fail
;
6545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6546 result
= (wxPyFileSystemHandler
*)new wxPyFileSystemHandler();
6548 wxPyEndAllowThreads(__tstate
);
6549 if (PyErr_Occurred()) SWIG_fail
;
6551 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFileSystemHandler
, 1);
6558 static PyObject
*_wrap_FileSystemHandler__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6559 PyObject
*resultobj
;
6560 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6561 PyObject
*arg2
= (PyObject
*) 0 ;
6562 PyObject
*arg3
= (PyObject
*) 0 ;
6563 PyObject
* obj0
= 0 ;
6564 PyObject
* obj1
= 0 ;
6565 PyObject
* obj2
= 0 ;
6567 (char *) "self",(char *) "self",(char *) "_class", NULL
6570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileSystemHandler__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6571 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6572 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6577 (arg1
)->_setCallbackInfo(arg2
,arg3
);
6579 wxPyEndAllowThreads(__tstate
);
6580 if (PyErr_Occurred()) SWIG_fail
;
6582 Py_INCREF(Py_None
); resultobj
= Py_None
;
6589 static PyObject
*_wrap_FileSystemHandler_CanOpen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6590 PyObject
*resultobj
;
6591 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6592 wxString
*arg2
= 0 ;
6594 bool temp2
= False
;
6595 PyObject
* obj0
= 0 ;
6596 PyObject
* obj1
= 0 ;
6598 (char *) "self",(char *) "location", NULL
6601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
6602 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6603 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6605 arg2
= wxString_in_helper(obj1
);
6606 if (arg2
== NULL
) SWIG_fail
;
6610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6611 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
6613 wxPyEndAllowThreads(__tstate
);
6614 if (PyErr_Occurred()) SWIG_fail
;
6617 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6633 static PyObject
*_wrap_FileSystemHandler_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6634 PyObject
*resultobj
;
6635 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6636 wxFileSystem
*arg2
= 0 ;
6637 wxString
*arg3
= 0 ;
6639 bool temp3
= False
;
6640 PyObject
* obj0
= 0 ;
6641 PyObject
* obj1
= 0 ;
6642 PyObject
* obj2
= 0 ;
6644 (char *) "self",(char *) "fs",(char *) "location", NULL
6647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileSystemHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6648 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6650 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileSystem
,
6651 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6654 PyErr_SetString(PyExc_TypeError
,"null reference");
6658 arg3
= wxString_in_helper(obj2
);
6659 if (arg3
== NULL
) SWIG_fail
;
6663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6664 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
6666 wxPyEndAllowThreads(__tstate
);
6667 if (PyErr_Occurred()) SWIG_fail
;
6670 resultobj
= wxPyMake_wxObject(result
, 0);
6686 static PyObject
*_wrap_FileSystemHandler_FindFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6687 PyObject
*resultobj
;
6688 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6689 wxString
*arg2
= 0 ;
6690 int arg3
= (int) 0 ;
6692 bool temp2
= False
;
6693 PyObject
* obj0
= 0 ;
6694 PyObject
* obj1
= 0 ;
6695 PyObject
* obj2
= 0 ;
6697 (char *) "self",(char *) "spec",(char *) "flags", NULL
6700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystemHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6701 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6702 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6704 arg2
= wxString_in_helper(obj1
);
6705 if (arg2
== NULL
) SWIG_fail
;
6709 arg3
= (int) SWIG_AsInt(obj2
);
6710 if (PyErr_Occurred()) SWIG_fail
;
6713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6714 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
6716 wxPyEndAllowThreads(__tstate
);
6717 if (PyErr_Occurred()) SWIG_fail
;
6721 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6723 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6740 static PyObject
*_wrap_FileSystemHandler_FindNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6741 PyObject
*resultobj
;
6742 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6744 PyObject
* obj0
= 0 ;
6746 (char *) "self", NULL
6749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystemHandler_FindNext",kwnames
,&obj0
)) goto fail
;
6750 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6751 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6754 result
= (arg1
)->FindNext();
6756 wxPyEndAllowThreads(__tstate
);
6757 if (PyErr_Occurred()) SWIG_fail
;
6761 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6763 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6772 static PyObject
*_wrap_FileSystemHandler_GetProtocol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6773 PyObject
*resultobj
;
6774 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6775 wxString
*arg2
= 0 ;
6777 bool temp2
= False
;
6778 PyObject
* obj0
= 0 ;
6779 PyObject
* obj1
= 0 ;
6781 (char *) "self",(char *) "location", NULL
6784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetProtocol",kwnames
,&obj0
,&obj1
)) goto fail
;
6785 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6786 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6788 arg2
= wxString_in_helper(obj1
);
6789 if (arg2
== NULL
) SWIG_fail
;
6793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6794 result
= (arg1
)->GetProtocol((wxString
const &)*arg2
);
6796 wxPyEndAllowThreads(__tstate
);
6797 if (PyErr_Occurred()) SWIG_fail
;
6801 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6803 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6820 static PyObject
*_wrap_FileSystemHandler_GetLeftLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6821 PyObject
*resultobj
;
6822 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6823 wxString
*arg2
= 0 ;
6825 bool temp2
= False
;
6826 PyObject
* obj0
= 0 ;
6827 PyObject
* obj1
= 0 ;
6829 (char *) "self",(char *) "location", NULL
6832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetLeftLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
6833 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6834 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6836 arg2
= wxString_in_helper(obj1
);
6837 if (arg2
== NULL
) SWIG_fail
;
6841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6842 result
= (arg1
)->GetLeftLocation((wxString
const &)*arg2
);
6844 wxPyEndAllowThreads(__tstate
);
6845 if (PyErr_Occurred()) SWIG_fail
;
6849 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6851 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6868 static PyObject
*_wrap_FileSystemHandler_GetAnchor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6869 PyObject
*resultobj
;
6870 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6871 wxString
*arg2
= 0 ;
6873 bool temp2
= False
;
6874 PyObject
* obj0
= 0 ;
6875 PyObject
* obj1
= 0 ;
6877 (char *) "self",(char *) "location", NULL
6880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetAnchor",kwnames
,&obj0
,&obj1
)) goto fail
;
6881 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6882 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6884 arg2
= wxString_in_helper(obj1
);
6885 if (arg2
== NULL
) SWIG_fail
;
6889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6890 result
= (arg1
)->GetAnchor((wxString
const &)*arg2
);
6892 wxPyEndAllowThreads(__tstate
);
6893 if (PyErr_Occurred()) SWIG_fail
;
6897 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6899 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6916 static PyObject
*_wrap_FileSystemHandler_GetRightLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6917 PyObject
*resultobj
;
6918 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6919 wxString
*arg2
= 0 ;
6921 bool temp2
= False
;
6922 PyObject
* obj0
= 0 ;
6923 PyObject
* obj1
= 0 ;
6925 (char *) "self",(char *) "location", NULL
6928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetRightLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
6929 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6930 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6932 arg2
= wxString_in_helper(obj1
);
6933 if (arg2
== NULL
) SWIG_fail
;
6937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6938 result
= (arg1
)->GetRightLocation((wxString
const &)*arg2
);
6940 wxPyEndAllowThreads(__tstate
);
6941 if (PyErr_Occurred()) SWIG_fail
;
6945 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6947 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6964 static PyObject
*_wrap_FileSystemHandler_GetMimeTypeFromExt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6965 PyObject
*resultobj
;
6966 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6967 wxString
*arg2
= 0 ;
6969 bool temp2
= False
;
6970 PyObject
* obj0
= 0 ;
6971 PyObject
* obj1
= 0 ;
6973 (char *) "self",(char *) "location", NULL
6976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetMimeTypeFromExt",kwnames
,&obj0
,&obj1
)) goto fail
;
6977 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6978 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6980 arg2
= wxString_in_helper(obj1
);
6981 if (arg2
== NULL
) SWIG_fail
;
6985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6986 result
= (arg1
)->GetMimeTypeFromExt((wxString
const &)*arg2
);
6988 wxPyEndAllowThreads(__tstate
);
6989 if (PyErr_Occurred()) SWIG_fail
;
6993 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6995 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7012 static PyObject
* FileSystemHandler_swigregister(PyObject
*self
, PyObject
*args
) {
7014 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7015 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileSystemHandler
, obj
);
7017 return Py_BuildValue((char *)"");
7019 static PyObject
*_wrap_new_FileSystem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7020 PyObject
*resultobj
;
7021 wxFileSystem
*result
;
7026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileSystem",kwnames
)) goto fail
;
7028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7029 result
= (wxFileSystem
*)new wxFileSystem();
7031 wxPyEndAllowThreads(__tstate
);
7032 if (PyErr_Occurred()) SWIG_fail
;
7035 resultobj
= wxPyMake_wxObject(result
, 1);
7043 static PyObject
*_wrap_delete_FileSystem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7044 PyObject
*resultobj
;
7045 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7046 PyObject
* obj0
= 0 ;
7048 (char *) "self", NULL
7051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileSystem",kwnames
,&obj0
)) goto fail
;
7052 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7053 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7058 wxPyEndAllowThreads(__tstate
);
7059 if (PyErr_Occurred()) SWIG_fail
;
7061 Py_INCREF(Py_None
); resultobj
= Py_None
;
7068 static PyObject
*_wrap_FileSystem_ChangePathTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7069 PyObject
*resultobj
;
7070 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7071 wxString
*arg2
= 0 ;
7072 bool arg3
= (bool) False
;
7073 bool temp2
= False
;
7074 PyObject
* obj0
= 0 ;
7075 PyObject
* obj1
= 0 ;
7076 PyObject
* obj2
= 0 ;
7078 (char *) "self",(char *) "location",(char *) "is_dir", NULL
7081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystem_ChangePathTo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7082 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7083 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7085 arg2
= wxString_in_helper(obj1
);
7086 if (arg2
== NULL
) SWIG_fail
;
7090 arg3
= (bool) SWIG_AsBool(obj2
);
7091 if (PyErr_Occurred()) SWIG_fail
;
7094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7095 (arg1
)->ChangePathTo((wxString
const &)*arg2
,arg3
);
7097 wxPyEndAllowThreads(__tstate
);
7098 if (PyErr_Occurred()) SWIG_fail
;
7100 Py_INCREF(Py_None
); resultobj
= Py_None
;
7115 static PyObject
*_wrap_FileSystem_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7116 PyObject
*resultobj
;
7117 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7119 PyObject
* obj0
= 0 ;
7121 (char *) "self", NULL
7124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_GetPath",kwnames
,&obj0
)) goto fail
;
7125 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7126 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7129 result
= (arg1
)->GetPath();
7131 wxPyEndAllowThreads(__tstate
);
7132 if (PyErr_Occurred()) SWIG_fail
;
7136 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7138 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7147 static PyObject
*_wrap_FileSystem_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7148 PyObject
*resultobj
;
7149 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7150 wxString
*arg2
= 0 ;
7152 bool temp2
= False
;
7153 PyObject
* obj0
= 0 ;
7154 PyObject
* obj1
= 0 ;
7156 (char *) "self",(char *) "location", NULL
7159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystem_OpenFile",kwnames
,&obj0
,&obj1
)) goto fail
;
7160 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7161 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7163 arg2
= wxString_in_helper(obj1
);
7164 if (arg2
== NULL
) SWIG_fail
;
7168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7169 result
= (wxFSFile
*)(arg1
)->OpenFile((wxString
const &)*arg2
);
7171 wxPyEndAllowThreads(__tstate
);
7172 if (PyErr_Occurred()) SWIG_fail
;
7175 resultobj
= wxPyMake_wxObject(result
, 0);
7191 static PyObject
*_wrap_FileSystem_FindFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7192 PyObject
*resultobj
;
7193 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7194 wxString
*arg2
= 0 ;
7195 int arg3
= (int) 0 ;
7197 bool temp2
= False
;
7198 PyObject
* obj0
= 0 ;
7199 PyObject
* obj1
= 0 ;
7200 PyObject
* obj2
= 0 ;
7202 (char *) "self",(char *) "spec",(char *) "flags", NULL
7205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystem_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7206 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7207 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7209 arg2
= wxString_in_helper(obj1
);
7210 if (arg2
== NULL
) SWIG_fail
;
7214 arg3
= (int) SWIG_AsInt(obj2
);
7215 if (PyErr_Occurred()) SWIG_fail
;
7218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7219 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
7221 wxPyEndAllowThreads(__tstate
);
7222 if (PyErr_Occurred()) SWIG_fail
;
7226 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7228 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7245 static PyObject
*_wrap_FileSystem_FindNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7246 PyObject
*resultobj
;
7247 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7249 PyObject
* obj0
= 0 ;
7251 (char *) "self", NULL
7254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_FindNext",kwnames
,&obj0
)) goto fail
;
7255 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7256 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7259 result
= (arg1
)->FindNext();
7261 wxPyEndAllowThreads(__tstate
);
7262 if (PyErr_Occurred()) SWIG_fail
;
7266 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7268 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7277 static PyObject
*_wrap_FileSystem_AddHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7278 PyObject
*resultobj
;
7279 wxFileSystemHandler
*arg1
= (wxFileSystemHandler
*) 0 ;
7280 PyObject
* obj0
= 0 ;
7282 (char *) "handler", NULL
7285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_AddHandler",kwnames
,&obj0
)) goto fail
;
7286 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystemHandler
,
7287 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7290 wxFileSystem::AddHandler(arg1
);
7292 wxPyEndAllowThreads(__tstate
);
7293 if (PyErr_Occurred()) SWIG_fail
;
7295 Py_INCREF(Py_None
); resultobj
= Py_None
;
7302 static PyObject
*_wrap_FileSystem_CleanUpHandlers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7303 PyObject
*resultobj
;
7308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FileSystem_CleanUpHandlers",kwnames
)) goto fail
;
7310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7311 wxFileSystem::CleanUpHandlers();
7313 wxPyEndAllowThreads(__tstate
);
7314 if (PyErr_Occurred()) SWIG_fail
;
7316 Py_INCREF(Py_None
); resultobj
= Py_None
;
7323 static PyObject
*_wrap_FileSystem_FileNameToURL(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7324 PyObject
*resultobj
;
7325 wxString
*arg1
= 0 ;
7327 bool temp1
= False
;
7328 PyObject
* obj0
= 0 ;
7330 (char *) "filename", NULL
7333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_FileNameToURL",kwnames
,&obj0
)) goto fail
;
7335 arg1
= wxString_in_helper(obj0
);
7336 if (arg1
== NULL
) SWIG_fail
;
7340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7341 result
= wxFileSystem::FileNameToURL((wxString
const &)*arg1
);
7343 wxPyEndAllowThreads(__tstate
);
7344 if (PyErr_Occurred()) SWIG_fail
;
7348 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7350 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7367 static PyObject
* FileSystem_swigregister(PyObject
*self
, PyObject
*args
) {
7369 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7370 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystem
, obj
);
7372 return Py_BuildValue((char *)"");
7374 static PyObject
*_wrap_FileSystem_URLToFileName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7375 PyObject
*resultobj
;
7376 wxString
*arg1
= 0 ;
7378 bool temp1
= False
;
7379 PyObject
* obj0
= 0 ;
7381 (char *) "url", NULL
7384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_URLToFileName",kwnames
,&obj0
)) goto fail
;
7386 arg1
= wxString_in_helper(obj0
);
7387 if (arg1
== NULL
) SWIG_fail
;
7391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7392 result
= wxFileSystem_URLToFileName((wxString
const &)*arg1
);
7394 wxPyEndAllowThreads(__tstate
);
7395 if (PyErr_Occurred()) SWIG_fail
;
7399 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7401 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7418 static PyObject
*_wrap_new_InternetFSHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7419 PyObject
*resultobj
;
7420 wxInternetFSHandler
*result
;
7425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_InternetFSHandler",kwnames
)) goto fail
;
7427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7428 result
= (wxInternetFSHandler
*)new wxInternetFSHandler();
7430 wxPyEndAllowThreads(__tstate
);
7431 if (PyErr_Occurred()) SWIG_fail
;
7433 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxInternetFSHandler
, 1);
7440 static PyObject
*_wrap_InternetFSHandler_CanOpen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7441 PyObject
*resultobj
;
7442 wxInternetFSHandler
*arg1
= (wxInternetFSHandler
*) 0 ;
7443 wxString
*arg2
= 0 ;
7445 bool temp2
= False
;
7446 PyObject
* obj0
= 0 ;
7447 PyObject
* obj1
= 0 ;
7449 (char *) "self",(char *) "location", NULL
7452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:InternetFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
7453 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxInternetFSHandler
,
7454 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7456 arg2
= wxString_in_helper(obj1
);
7457 if (arg2
== NULL
) SWIG_fail
;
7461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7462 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
7464 wxPyEndAllowThreads(__tstate
);
7465 if (PyErr_Occurred()) SWIG_fail
;
7468 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7484 static PyObject
*_wrap_InternetFSHandler_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7485 PyObject
*resultobj
;
7486 wxInternetFSHandler
*arg1
= (wxInternetFSHandler
*) 0 ;
7487 wxFileSystem
*arg2
= 0 ;
7488 wxString
*arg3
= 0 ;
7490 bool temp3
= False
;
7491 PyObject
* obj0
= 0 ;
7492 PyObject
* obj1
= 0 ;
7493 PyObject
* obj2
= 0 ;
7495 (char *) "self",(char *) "fs",(char *) "location", NULL
7498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:InternetFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7499 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxInternetFSHandler
,
7500 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7501 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileSystem
,
7502 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7505 PyErr_SetString(PyExc_TypeError
,"null reference");
7509 arg3
= wxString_in_helper(obj2
);
7510 if (arg3
== NULL
) SWIG_fail
;
7514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7515 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
7517 wxPyEndAllowThreads(__tstate
);
7518 if (PyErr_Occurred()) SWIG_fail
;
7521 resultobj
= wxPyMake_wxObject(result
, 0);
7537 static PyObject
* InternetFSHandler_swigregister(PyObject
*self
, PyObject
*args
) {
7539 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7540 SWIG_TypeClientData(SWIGTYPE_p_wxInternetFSHandler
, obj
);
7542 return Py_BuildValue((char *)"");
7544 static PyObject
*_wrap_new_ZipFSHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7545 PyObject
*resultobj
;
7546 wxZipFSHandler
*result
;
7551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ZipFSHandler",kwnames
)) goto fail
;
7553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7554 result
= (wxZipFSHandler
*)new wxZipFSHandler();
7556 wxPyEndAllowThreads(__tstate
);
7557 if (PyErr_Occurred()) SWIG_fail
;
7559 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxZipFSHandler
, 1);
7566 static PyObject
*_wrap_ZipFSHandler_CanOpen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7567 PyObject
*resultobj
;
7568 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
7569 wxString
*arg2
= 0 ;
7571 bool temp2
= False
;
7572 PyObject
* obj0
= 0 ;
7573 PyObject
* obj1
= 0 ;
7575 (char *) "self",(char *) "location", NULL
7578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ZipFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
7579 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxZipFSHandler
,
7580 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7582 arg2
= wxString_in_helper(obj1
);
7583 if (arg2
== NULL
) SWIG_fail
;
7587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7588 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
7590 wxPyEndAllowThreads(__tstate
);
7591 if (PyErr_Occurred()) SWIG_fail
;
7594 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7610 static PyObject
*_wrap_ZipFSHandler_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7611 PyObject
*resultobj
;
7612 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
7613 wxFileSystem
*arg2
= 0 ;
7614 wxString
*arg3
= 0 ;
7616 bool temp3
= False
;
7617 PyObject
* obj0
= 0 ;
7618 PyObject
* obj1
= 0 ;
7619 PyObject
* obj2
= 0 ;
7621 (char *) "self",(char *) "fs",(char *) "location", NULL
7624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ZipFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7625 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxZipFSHandler
,
7626 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7627 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileSystem
,
7628 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7631 PyErr_SetString(PyExc_TypeError
,"null reference");
7635 arg3
= wxString_in_helper(obj2
);
7636 if (arg3
== NULL
) SWIG_fail
;
7640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7641 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
7643 wxPyEndAllowThreads(__tstate
);
7644 if (PyErr_Occurred()) SWIG_fail
;
7647 resultobj
= wxPyMake_wxObject(result
, 0);
7663 static PyObject
*_wrap_ZipFSHandler_FindFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7664 PyObject
*resultobj
;
7665 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
7666 wxString
*arg2
= 0 ;
7667 int arg3
= (int) 0 ;
7669 bool temp2
= False
;
7670 PyObject
* obj0
= 0 ;
7671 PyObject
* obj1
= 0 ;
7672 PyObject
* obj2
= 0 ;
7674 (char *) "self",(char *) "spec",(char *) "flags", NULL
7677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ZipFSHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7678 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxZipFSHandler
,
7679 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7681 arg2
= wxString_in_helper(obj1
);
7682 if (arg2
== NULL
) SWIG_fail
;
7686 arg3
= (int) SWIG_AsInt(obj2
);
7687 if (PyErr_Occurred()) SWIG_fail
;
7690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7691 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
7693 wxPyEndAllowThreads(__tstate
);
7694 if (PyErr_Occurred()) SWIG_fail
;
7698 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7700 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7717 static PyObject
*_wrap_ZipFSHandler_FindNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7718 PyObject
*resultobj
;
7719 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
7721 PyObject
* obj0
= 0 ;
7723 (char *) "self", NULL
7726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ZipFSHandler_FindNext",kwnames
,&obj0
)) goto fail
;
7727 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxZipFSHandler
,
7728 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7731 result
= (arg1
)->FindNext();
7733 wxPyEndAllowThreads(__tstate
);
7734 if (PyErr_Occurred()) SWIG_fail
;
7738 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7740 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7749 static PyObject
* ZipFSHandler_swigregister(PyObject
*self
, PyObject
*args
) {
7751 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7752 SWIG_TypeClientData(SWIGTYPE_p_wxZipFSHandler
, obj
);
7754 return Py_BuildValue((char *)"");
7756 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7757 PyObject
*resultobj
;
7758 wxString
*arg1
= 0 ;
7761 bool temp1
= False
;
7762 PyObject
* obj0
= 0 ;
7763 PyObject
* obj1
= 0 ;
7764 PyObject
* obj2
= 0 ;
7766 (char *) "filename",(char *) "image",(char *) "type", NULL
7769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7771 arg1
= wxString_in_helper(obj0
);
7772 if (arg1
== NULL
) SWIG_fail
;
7775 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImage
,
7776 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7779 PyErr_SetString(PyExc_TypeError
,"null reference");
7782 arg3
= (long) SWIG_AsLong(obj2
);
7783 if (PyErr_Occurred()) SWIG_fail
;
7785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7786 __wxMemoryFSHandler_AddFile_wxImage((wxString
const &)*arg1
,*arg2
,arg3
);
7788 wxPyEndAllowThreads(__tstate
);
7789 if (PyErr_Occurred()) SWIG_fail
;
7791 Py_INCREF(Py_None
); resultobj
= Py_None
;
7806 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7807 PyObject
*resultobj
;
7808 wxString
*arg1
= 0 ;
7809 wxBitmap
*arg2
= 0 ;
7811 bool temp1
= False
;
7812 PyObject
* obj0
= 0 ;
7813 PyObject
* obj1
= 0 ;
7814 PyObject
* obj2
= 0 ;
7816 (char *) "filename",(char *) "bitmap",(char *) "type", NULL
7819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7821 arg1
= wxString_in_helper(obj0
);
7822 if (arg1
== NULL
) SWIG_fail
;
7825 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
7826 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7829 PyErr_SetString(PyExc_TypeError
,"null reference");
7832 arg3
= (long) SWIG_AsLong(obj2
);
7833 if (PyErr_Occurred()) SWIG_fail
;
7835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7836 __wxMemoryFSHandler_AddFile_wxBitmap((wxString
const &)*arg1
,(wxBitmap
const &)*arg2
,arg3
);
7838 wxPyEndAllowThreads(__tstate
);
7839 if (PyErr_Occurred()) SWIG_fail
;
7841 Py_INCREF(Py_None
); resultobj
= Py_None
;
7856 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_Data(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7857 PyObject
*resultobj
;
7858 wxString
*arg1
= 0 ;
7859 PyObject
*arg2
= (PyObject
*) 0 ;
7860 bool temp1
= False
;
7861 PyObject
* obj0
= 0 ;
7862 PyObject
* obj1
= 0 ;
7864 (char *) "filename",(char *) "data", NULL
7867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:__wxMemoryFSHandler_AddFile_Data",kwnames
,&obj0
,&obj1
)) goto fail
;
7869 arg1
= wxString_in_helper(obj0
);
7870 if (arg1
== NULL
) SWIG_fail
;
7875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7876 __wxMemoryFSHandler_AddFile_Data((wxString
const &)*arg1
,arg2
);
7878 wxPyEndAllowThreads(__tstate
);
7879 if (PyErr_Occurred()) SWIG_fail
;
7881 Py_INCREF(Py_None
); resultobj
= Py_None
;
7896 static PyObject
*_wrap_new_MemoryFSHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7897 PyObject
*resultobj
;
7898 wxMemoryFSHandler
*result
;
7903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MemoryFSHandler",kwnames
)) goto fail
;
7905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7906 result
= (wxMemoryFSHandler
*)new wxMemoryFSHandler();
7908 wxPyEndAllowThreads(__tstate
);
7909 if (PyErr_Occurred()) SWIG_fail
;
7911 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMemoryFSHandler
, 1);
7918 static PyObject
*_wrap_MemoryFSHandler_RemoveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7919 PyObject
*resultobj
;
7920 wxString
*arg1
= 0 ;
7921 bool temp1
= False
;
7922 PyObject
* obj0
= 0 ;
7924 (char *) "filename", NULL
7927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MemoryFSHandler_RemoveFile",kwnames
,&obj0
)) goto fail
;
7929 arg1
= wxString_in_helper(obj0
);
7930 if (arg1
== NULL
) SWIG_fail
;
7934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7935 wxMemoryFSHandler::RemoveFile((wxString
const &)*arg1
);
7937 wxPyEndAllowThreads(__tstate
);
7938 if (PyErr_Occurred()) SWIG_fail
;
7940 Py_INCREF(Py_None
); resultobj
= Py_None
;
7955 static PyObject
*_wrap_MemoryFSHandler_CanOpen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7956 PyObject
*resultobj
;
7957 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
7958 wxString
*arg2
= 0 ;
7960 bool temp2
= False
;
7961 PyObject
* obj0
= 0 ;
7962 PyObject
* obj1
= 0 ;
7964 (char *) "self",(char *) "location", NULL
7967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
7968 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryFSHandler
,
7969 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7971 arg2
= wxString_in_helper(obj1
);
7972 if (arg2
== NULL
) SWIG_fail
;
7976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7977 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
7979 wxPyEndAllowThreads(__tstate
);
7980 if (PyErr_Occurred()) SWIG_fail
;
7983 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7999 static PyObject
*_wrap_MemoryFSHandler_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8000 PyObject
*resultobj
;
8001 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
8002 wxFileSystem
*arg2
= 0 ;
8003 wxString
*arg3
= 0 ;
8005 bool temp3
= False
;
8006 PyObject
* obj0
= 0 ;
8007 PyObject
* obj1
= 0 ;
8008 PyObject
* obj2
= 0 ;
8010 (char *) "self",(char *) "fs",(char *) "location", NULL
8013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MemoryFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8014 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryFSHandler
,
8015 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8016 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileSystem
,
8017 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8020 PyErr_SetString(PyExc_TypeError
,"null reference");
8024 arg3
= wxString_in_helper(obj2
);
8025 if (arg3
== NULL
) SWIG_fail
;
8029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8030 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
8032 wxPyEndAllowThreads(__tstate
);
8033 if (PyErr_Occurred()) SWIG_fail
;
8036 resultobj
= wxPyMake_wxObject(result
, 0);
8052 static PyObject
*_wrap_MemoryFSHandler_FindFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8053 PyObject
*resultobj
;
8054 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
8055 wxString
*arg2
= 0 ;
8056 int arg3
= (int) 0 ;
8058 bool temp2
= False
;
8059 PyObject
* obj0
= 0 ;
8060 PyObject
* obj1
= 0 ;
8061 PyObject
* obj2
= 0 ;
8063 (char *) "self",(char *) "spec",(char *) "flags", NULL
8066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MemoryFSHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8067 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryFSHandler
,
8068 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8070 arg2
= wxString_in_helper(obj1
);
8071 if (arg2
== NULL
) SWIG_fail
;
8075 arg3
= (int) SWIG_AsInt(obj2
);
8076 if (PyErr_Occurred()) SWIG_fail
;
8079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8080 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
8082 wxPyEndAllowThreads(__tstate
);
8083 if (PyErr_Occurred()) SWIG_fail
;
8087 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8089 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8106 static PyObject
*_wrap_MemoryFSHandler_FindNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8107 PyObject
*resultobj
;
8108 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
8110 PyObject
* obj0
= 0 ;
8112 (char *) "self", NULL
8115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MemoryFSHandler_FindNext",kwnames
,&obj0
)) goto fail
;
8116 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryFSHandler
,
8117 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8120 result
= (arg1
)->FindNext();
8122 wxPyEndAllowThreads(__tstate
);
8123 if (PyErr_Occurred()) SWIG_fail
;
8127 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8129 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8138 static PyObject
* MemoryFSHandler_swigregister(PyObject
*self
, PyObject
*args
) {
8140 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8141 SWIG_TypeClientData(SWIGTYPE_p_wxMemoryFSHandler
, obj
);
8143 return Py_BuildValue((char *)"");
8145 static PyObject
*_wrap_ImageHandler_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8146 PyObject
*resultobj
;
8147 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8149 PyObject
* obj0
= 0 ;
8151 (char *) "self", NULL
8154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetName",kwnames
,&obj0
)) goto fail
;
8155 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8156 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8159 result
= (arg1
)->GetName();
8161 wxPyEndAllowThreads(__tstate
);
8162 if (PyErr_Occurred()) SWIG_fail
;
8166 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8168 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8177 static PyObject
*_wrap_ImageHandler_GetExtension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8178 PyObject
*resultobj
;
8179 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8181 PyObject
* obj0
= 0 ;
8183 (char *) "self", NULL
8186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetExtension",kwnames
,&obj0
)) goto fail
;
8187 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8188 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8191 result
= (arg1
)->GetExtension();
8193 wxPyEndAllowThreads(__tstate
);
8194 if (PyErr_Occurred()) SWIG_fail
;
8198 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8200 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8209 static PyObject
*_wrap_ImageHandler_GetType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8210 PyObject
*resultobj
;
8211 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8213 PyObject
* obj0
= 0 ;
8215 (char *) "self", NULL
8218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetType",kwnames
,&obj0
)) goto fail
;
8219 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8220 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8223 result
= (long)(arg1
)->GetType();
8225 wxPyEndAllowThreads(__tstate
);
8226 if (PyErr_Occurred()) SWIG_fail
;
8228 resultobj
= SWIG_FromLong((long)result
);
8235 static PyObject
*_wrap_ImageHandler_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8236 PyObject
*resultobj
;
8237 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8239 PyObject
* obj0
= 0 ;
8241 (char *) "self", NULL
8244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetMimeType",kwnames
,&obj0
)) goto fail
;
8245 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8246 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8249 result
= (arg1
)->GetMimeType();
8251 wxPyEndAllowThreads(__tstate
);
8252 if (PyErr_Occurred()) SWIG_fail
;
8256 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8258 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8267 static PyObject
*_wrap_ImageHandler_CanRead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8268 PyObject
*resultobj
;
8269 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8270 wxString
*arg2
= 0 ;
8272 bool temp2
= False
;
8273 PyObject
* obj0
= 0 ;
8274 PyObject
* obj1
= 0 ;
8276 (char *) "self",(char *) "name", NULL
8279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_CanRead",kwnames
,&obj0
,&obj1
)) goto fail
;
8280 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8281 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8283 arg2
= wxString_in_helper(obj1
);
8284 if (arg2
== NULL
) SWIG_fail
;
8288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8289 result
= (bool)(arg1
)->CanRead((wxString
const &)*arg2
);
8291 wxPyEndAllowThreads(__tstate
);
8292 if (PyErr_Occurred()) SWIG_fail
;
8295 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8311 static PyObject
*_wrap_ImageHandler_SetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8312 PyObject
*resultobj
;
8313 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8314 wxString
*arg2
= 0 ;
8315 bool temp2
= False
;
8316 PyObject
* obj0
= 0 ;
8317 PyObject
* obj1
= 0 ;
8319 (char *) "self",(char *) "name", NULL
8322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetName",kwnames
,&obj0
,&obj1
)) goto fail
;
8323 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8324 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8326 arg2
= wxString_in_helper(obj1
);
8327 if (arg2
== NULL
) SWIG_fail
;
8331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8332 (arg1
)->SetName((wxString
const &)*arg2
);
8334 wxPyEndAllowThreads(__tstate
);
8335 if (PyErr_Occurred()) SWIG_fail
;
8337 Py_INCREF(Py_None
); resultobj
= Py_None
;
8352 static PyObject
*_wrap_ImageHandler_SetExtension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8353 PyObject
*resultobj
;
8354 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8355 wxString
*arg2
= 0 ;
8356 bool temp2
= False
;
8357 PyObject
* obj0
= 0 ;
8358 PyObject
* obj1
= 0 ;
8360 (char *) "self",(char *) "extension", NULL
8363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetExtension",kwnames
,&obj0
,&obj1
)) goto fail
;
8364 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8365 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8367 arg2
= wxString_in_helper(obj1
);
8368 if (arg2
== NULL
) SWIG_fail
;
8372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8373 (arg1
)->SetExtension((wxString
const &)*arg2
);
8375 wxPyEndAllowThreads(__tstate
);
8376 if (PyErr_Occurred()) SWIG_fail
;
8378 Py_INCREF(Py_None
); resultobj
= Py_None
;
8393 static PyObject
*_wrap_ImageHandler_SetType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8394 PyObject
*resultobj
;
8395 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8397 PyObject
* obj0
= 0 ;
8398 PyObject
* obj1
= 0 ;
8400 (char *) "self",(char *) "type", NULL
8403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetType",kwnames
,&obj0
,&obj1
)) goto fail
;
8404 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8405 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8406 arg2
= (long) SWIG_AsLong(obj1
);
8407 if (PyErr_Occurred()) SWIG_fail
;
8409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8410 (arg1
)->SetType(arg2
);
8412 wxPyEndAllowThreads(__tstate
);
8413 if (PyErr_Occurred()) SWIG_fail
;
8415 Py_INCREF(Py_None
); resultobj
= Py_None
;
8422 static PyObject
*_wrap_ImageHandler_SetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8423 PyObject
*resultobj
;
8424 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8425 wxString
*arg2
= 0 ;
8426 bool temp2
= False
;
8427 PyObject
* obj0
= 0 ;
8428 PyObject
* obj1
= 0 ;
8430 (char *) "self",(char *) "mimetype", NULL
8433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetMimeType",kwnames
,&obj0
,&obj1
)) goto fail
;
8434 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8435 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8437 arg2
= wxString_in_helper(obj1
);
8438 if (arg2
== NULL
) SWIG_fail
;
8442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8443 (arg1
)->SetMimeType((wxString
const &)*arg2
);
8445 wxPyEndAllowThreads(__tstate
);
8446 if (PyErr_Occurred()) SWIG_fail
;
8448 Py_INCREF(Py_None
); resultobj
= Py_None
;
8463 static PyObject
* ImageHandler_swigregister(PyObject
*self
, PyObject
*args
) {
8465 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8466 SWIG_TypeClientData(SWIGTYPE_p_wxImageHandler
, obj
);
8468 return Py_BuildValue((char *)"");
8470 static PyObject
*_wrap_new_ImageHistogram(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8471 PyObject
*resultobj
;
8472 wxImageHistogram
*result
;
8477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ImageHistogram",kwnames
)) goto fail
;
8479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8480 result
= (wxImageHistogram
*)new wxImageHistogram();
8482 wxPyEndAllowThreads(__tstate
);
8483 if (PyErr_Occurred()) SWIG_fail
;
8485 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImageHistogram
, 1);
8492 static PyObject
*_wrap_ImageHistogram_MakeKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8493 PyObject
*resultobj
;
8494 unsigned char arg1
;
8495 unsigned char arg2
;
8496 unsigned char arg3
;
8497 unsigned long result
;
8498 PyObject
* obj0
= 0 ;
8499 PyObject
* obj1
= 0 ;
8500 PyObject
* obj2
= 0 ;
8502 (char *) "r",(char *) "g",(char *) "b", NULL
8505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageHistogram_MakeKey",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8506 arg1
= (unsigned char) SWIG_AsUnsignedChar(obj0
);
8507 if (PyErr_Occurred()) SWIG_fail
;
8508 arg2
= (unsigned char) SWIG_AsUnsignedChar(obj1
);
8509 if (PyErr_Occurred()) SWIG_fail
;
8510 arg3
= (unsigned char) SWIG_AsUnsignedChar(obj2
);
8511 if (PyErr_Occurred()) SWIG_fail
;
8513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8514 result
= (unsigned long)wxImageHistogram::MakeKey(arg1
,arg2
,arg3
);
8516 wxPyEndAllowThreads(__tstate
);
8517 if (PyErr_Occurred()) SWIG_fail
;
8519 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
8526 static PyObject
*_wrap_ImageHistogram_FindFirstUnusedColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8527 PyObject
*resultobj
;
8528 wxImageHistogram
*arg1
= (wxImageHistogram
*) 0 ;
8529 unsigned char *arg2
= (unsigned char *) 0 ;
8530 unsigned char *arg3
= (unsigned char *) 0 ;
8531 unsigned char *arg4
= (unsigned char *) 0 ;
8532 unsigned char arg5
= (unsigned char) 1 ;
8533 unsigned char arg6
= (unsigned char) 0 ;
8534 unsigned char arg7
= (unsigned char) 0 ;
8536 unsigned char temp2
;
8537 unsigned char temp3
;
8538 unsigned char temp4
;
8539 PyObject
* obj0
= 0 ;
8540 PyObject
* obj1
= 0 ;
8541 PyObject
* obj2
= 0 ;
8542 PyObject
* obj3
= 0 ;
8544 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
8550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:ImageHistogram_FindFirstUnusedColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8551 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHistogram
,
8552 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8554 arg5
= (unsigned char) SWIG_AsUnsignedChar(obj1
);
8555 if (PyErr_Occurred()) SWIG_fail
;
8558 arg6
= (unsigned char) SWIG_AsUnsignedChar(obj2
);
8559 if (PyErr_Occurred()) SWIG_fail
;
8562 arg7
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
8563 if (PyErr_Occurred()) SWIG_fail
;
8566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8567 result
= (bool)((wxImageHistogram
const *)arg1
)->FindFirstUnusedColour(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
8569 wxPyEndAllowThreads(__tstate
);
8570 if (PyErr_Occurred()) SWIG_fail
;
8573 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8576 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
8577 resultobj
= t_output_helper(resultobj
,o
);
8580 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
8581 resultobj
= t_output_helper(resultobj
,o
);
8584 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
8585 resultobj
= t_output_helper(resultobj
,o
);
8593 static PyObject
* ImageHistogram_swigregister(PyObject
*self
, PyObject
*args
) {
8595 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8596 SWIG_TypeClientData(SWIGTYPE_p_wxImageHistogram
, obj
);
8598 return Py_BuildValue((char *)"");
8600 static PyObject
*_wrap_new_Image(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8601 PyObject
*resultobj
;
8602 wxString
*arg1
= 0 ;
8603 long arg2
= (long) wxBITMAP_TYPE_ANY
;
8604 int arg3
= (int) -1 ;
8606 bool temp1
= False
;
8607 PyObject
* obj0
= 0 ;
8608 PyObject
* obj1
= 0 ;
8609 PyObject
* obj2
= 0 ;
8611 (char *) "name",(char *) "type",(char *) "index", NULL
8614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Image",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8616 arg1
= wxString_in_helper(obj0
);
8617 if (arg1
== NULL
) SWIG_fail
;
8621 arg2
= (long) SWIG_AsLong(obj1
);
8622 if (PyErr_Occurred()) SWIG_fail
;
8625 arg3
= (int) SWIG_AsInt(obj2
);
8626 if (PyErr_Occurred()) SWIG_fail
;
8629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8630 result
= (wxImage
*)new wxImage((wxString
const &)*arg1
,arg2
,arg3
);
8632 wxPyEndAllowThreads(__tstate
);
8633 if (PyErr_Occurred()) SWIG_fail
;
8635 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8650 static PyObject
*_wrap_delete_Image(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8651 PyObject
*resultobj
;
8652 wxImage
*arg1
= (wxImage
*) 0 ;
8653 PyObject
* obj0
= 0 ;
8655 (char *) "self", NULL
8658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Image",kwnames
,&obj0
)) goto fail
;
8659 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
8660 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8665 wxPyEndAllowThreads(__tstate
);
8666 if (PyErr_Occurred()) SWIG_fail
;
8668 Py_INCREF(Py_None
); resultobj
= Py_None
;
8675 static PyObject
*_wrap_new_ImageFromMime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8676 PyObject
*resultobj
;
8677 wxString
*arg1
= 0 ;
8678 wxString
*arg2
= 0 ;
8679 int arg3
= (int) -1 ;
8681 bool temp1
= False
;
8682 bool temp2
= False
;
8683 PyObject
* obj0
= 0 ;
8684 PyObject
* obj1
= 0 ;
8685 PyObject
* obj2
= 0 ;
8687 (char *) "name",(char *) "mimetype",(char *) "index", NULL
8690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_ImageFromMime",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8692 arg1
= wxString_in_helper(obj0
);
8693 if (arg1
== NULL
) SWIG_fail
;
8697 arg2
= wxString_in_helper(obj1
);
8698 if (arg2
== NULL
) SWIG_fail
;
8702 arg3
= (int) SWIG_AsInt(obj2
);
8703 if (PyErr_Occurred()) SWIG_fail
;
8706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8707 result
= (wxImage
*)new wxImage((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
8709 wxPyEndAllowThreads(__tstate
);
8710 if (PyErr_Occurred()) SWIG_fail
;
8712 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8735 static PyObject
*_wrap_new_ImageFromStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8736 PyObject
*resultobj
;
8737 wxInputStream
*arg1
= 0 ;
8738 long arg2
= (long) wxBITMAP_TYPE_ANY
;
8739 int arg3
= (int) -1 ;
8741 wxPyInputStream
*temp1
;
8743 PyObject
* obj0
= 0 ;
8744 PyObject
* obj1
= 0 ;
8745 PyObject
* obj2
= 0 ;
8747 (char *) "stream",(char *) "type",(char *) "index", NULL
8750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_ImageFromStream",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8752 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
8753 arg1
= temp1
->m_wxis
;
8756 PyErr_Clear(); // clear the failure of the wxPyConvert above
8757 arg1
= wxPyCBInputStream_create(obj0
, False
);
8759 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
8766 arg2
= (long) SWIG_AsLong(obj1
);
8767 if (PyErr_Occurred()) SWIG_fail
;
8770 arg3
= (int) SWIG_AsInt(obj2
);
8771 if (PyErr_Occurred()) SWIG_fail
;
8774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8775 result
= (wxImage
*)new wxImage(*arg1
,arg2
,arg3
);
8777 wxPyEndAllowThreads(__tstate
);
8778 if (PyErr_Occurred()) SWIG_fail
;
8780 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8795 static PyObject
*_wrap_new_ImageFromStreamMime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8796 PyObject
*resultobj
;
8797 wxInputStream
*arg1
= 0 ;
8798 wxString
*arg2
= 0 ;
8799 int arg3
= (int) -1 ;
8801 wxPyInputStream
*temp1
;
8803 bool temp2
= False
;
8804 PyObject
* obj0
= 0 ;
8805 PyObject
* obj1
= 0 ;
8806 PyObject
* obj2
= 0 ;
8808 (char *) "stream",(char *) "mimetype",(char *) "index", NULL
8811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_ImageFromStreamMime",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8813 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
8814 arg1
= temp1
->m_wxis
;
8817 PyErr_Clear(); // clear the failure of the wxPyConvert above
8818 arg1
= wxPyCBInputStream_create(obj0
, False
);
8820 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
8827 arg2
= wxString_in_helper(obj1
);
8828 if (arg2
== NULL
) SWIG_fail
;
8832 arg3
= (int) SWIG_AsInt(obj2
);
8833 if (PyErr_Occurred()) SWIG_fail
;
8836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8837 result
= (wxImage
*)new wxImage(*arg1
,(wxString
const &)*arg2
,arg3
);
8839 wxPyEndAllowThreads(__tstate
);
8840 if (PyErr_Occurred()) SWIG_fail
;
8842 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8865 static PyObject
*_wrap_new_EmptyImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8866 PyObject
*resultobj
;
8867 int arg1
= (int) 0 ;
8868 int arg2
= (int) 0 ;
8869 bool arg3
= (bool) True
;
8871 PyObject
* obj0
= 0 ;
8872 PyObject
* obj1
= 0 ;
8873 PyObject
* obj2
= 0 ;
8875 (char *) "width",(char *) "height",(char *) "clear", NULL
8878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_EmptyImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8880 arg1
= (int) SWIG_AsInt(obj0
);
8881 if (PyErr_Occurred()) SWIG_fail
;
8884 arg2
= (int) SWIG_AsInt(obj1
);
8885 if (PyErr_Occurred()) SWIG_fail
;
8888 arg3
= (bool) SWIG_AsBool(obj2
);
8889 if (PyErr_Occurred()) SWIG_fail
;
8892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8893 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
);
8895 wxPyEndAllowThreads(__tstate
);
8896 if (PyErr_Occurred()) SWIG_fail
;
8898 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8905 static PyObject
*_wrap_new_ImageFromBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8906 PyObject
*resultobj
;
8907 wxBitmap
*arg1
= 0 ;
8909 PyObject
* obj0
= 0 ;
8911 (char *) "bitmap", NULL
8914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ImageFromBitmap",kwnames
,&obj0
)) goto fail
;
8915 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
8916 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8919 PyErr_SetString(PyExc_TypeError
,"null reference");
8923 if (!wxPyCheckForApp()) SWIG_fail
;
8924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8925 result
= (wxImage
*)new_wxImage((wxBitmap
const &)*arg1
);
8927 wxPyEndAllowThreads(__tstate
);
8928 if (PyErr_Occurred()) SWIG_fail
;
8930 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8937 static PyObject
*_wrap_new_ImageFromData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8938 PyObject
*resultobj
;
8941 unsigned char *arg3
= (unsigned char *) 0 ;
8943 PyObject
* obj0
= 0 ;
8944 PyObject
* obj1
= 0 ;
8945 PyObject
* obj2
= 0 ;
8947 (char *) "width",(char *) "height",(char *) "data", NULL
8950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_ImageFromData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8951 arg1
= (int) SWIG_AsInt(obj0
);
8952 if (PyErr_Occurred()) SWIG_fail
;
8953 arg2
= (int) SWIG_AsInt(obj1
);
8954 if (PyErr_Occurred()) SWIG_fail
;
8955 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_unsigned_char
,
8956 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8959 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
);
8961 wxPyEndAllowThreads(__tstate
);
8962 if (PyErr_Occurred()) SWIG_fail
;
8964 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8971 static PyObject
*_wrap_Image_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8972 PyObject
*resultobj
;
8973 wxImage
*arg1
= (wxImage
*) 0 ;
8976 PyObject
* obj0
= 0 ;
8977 PyObject
* obj1
= 0 ;
8978 PyObject
* obj2
= 0 ;
8980 (char *) "self",(char *) "width",(char *) "height", NULL
8983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8984 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
8985 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8986 arg2
= (int) SWIG_AsInt(obj1
);
8987 if (PyErr_Occurred()) SWIG_fail
;
8988 arg3
= (int) SWIG_AsInt(obj2
);
8989 if (PyErr_Occurred()) SWIG_fail
;
8991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8992 (arg1
)->Create(arg2
,arg3
);
8994 wxPyEndAllowThreads(__tstate
);
8995 if (PyErr_Occurred()) SWIG_fail
;
8997 Py_INCREF(Py_None
); resultobj
= Py_None
;
9004 static PyObject
*_wrap_Image_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9005 PyObject
*resultobj
;
9006 wxImage
*arg1
= (wxImage
*) 0 ;
9007 PyObject
* obj0
= 0 ;
9009 (char *) "self", NULL
9012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Destroy",kwnames
,&obj0
)) goto fail
;
9013 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9014 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9019 wxPyEndAllowThreads(__tstate
);
9020 if (PyErr_Occurred()) SWIG_fail
;
9022 Py_INCREF(Py_None
); resultobj
= Py_None
;
9029 static PyObject
*_wrap_Image_Scale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9030 PyObject
*resultobj
;
9031 wxImage
*arg1
= (wxImage
*) 0 ;
9034 SwigValueWrapper
< wxImage
> result
;
9035 PyObject
* obj0
= 0 ;
9036 PyObject
* obj1
= 0 ;
9037 PyObject
* obj2
= 0 ;
9039 (char *) "self",(char *) "width",(char *) "height", NULL
9042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9043 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9044 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9045 arg2
= (int) SWIG_AsInt(obj1
);
9046 if (PyErr_Occurred()) SWIG_fail
;
9047 arg3
= (int) SWIG_AsInt(obj2
);
9048 if (PyErr_Occurred()) SWIG_fail
;
9050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9051 result
= (arg1
)->Scale(arg2
,arg3
);
9053 wxPyEndAllowThreads(__tstate
);
9054 if (PyErr_Occurred()) SWIG_fail
;
9057 wxImage
* resultptr
;
9058 resultptr
= new wxImage((wxImage
&) result
);
9059 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
9067 static PyObject
*_wrap_Image_ShrinkBy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9068 PyObject
*resultobj
;
9069 wxImage
*arg1
= (wxImage
*) 0 ;
9072 SwigValueWrapper
< wxImage
> result
;
9073 PyObject
* obj0
= 0 ;
9074 PyObject
* obj1
= 0 ;
9075 PyObject
* obj2
= 0 ;
9077 (char *) "self",(char *) "xFactor",(char *) "yFactor", NULL
9080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_ShrinkBy",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9081 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9082 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9083 arg2
= (int) SWIG_AsInt(obj1
);
9084 if (PyErr_Occurred()) SWIG_fail
;
9085 arg3
= (int) SWIG_AsInt(obj2
);
9086 if (PyErr_Occurred()) SWIG_fail
;
9088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9089 result
= ((wxImage
const *)arg1
)->ShrinkBy(arg2
,arg3
);
9091 wxPyEndAllowThreads(__tstate
);
9092 if (PyErr_Occurred()) SWIG_fail
;
9095 wxImage
* resultptr
;
9096 resultptr
= new wxImage((wxImage
&) result
);
9097 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
9105 static PyObject
*_wrap_Image_Rescale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9106 PyObject
*resultobj
;
9107 wxImage
*arg1
= (wxImage
*) 0 ;
9111 PyObject
* obj0
= 0 ;
9112 PyObject
* obj1
= 0 ;
9113 PyObject
* obj2
= 0 ;
9115 (char *) "self",(char *) "width",(char *) "height", NULL
9118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Rescale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9119 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9120 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9121 arg2
= (int) SWIG_AsInt(obj1
);
9122 if (PyErr_Occurred()) SWIG_fail
;
9123 arg3
= (int) SWIG_AsInt(obj2
);
9124 if (PyErr_Occurred()) SWIG_fail
;
9126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9128 wxImage
&_result_ref
= (arg1
)->Rescale(arg2
,arg3
);
9129 result
= (wxImage
*) &_result_ref
;
9132 wxPyEndAllowThreads(__tstate
);
9133 if (PyErr_Occurred()) SWIG_fail
;
9135 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 0);
9142 static PyObject
*_wrap_Image_SetRGB(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9143 PyObject
*resultobj
;
9144 wxImage
*arg1
= (wxImage
*) 0 ;
9147 unsigned char arg4
;
9148 unsigned char arg5
;
9149 unsigned char arg6
;
9150 PyObject
* obj0
= 0 ;
9151 PyObject
* obj1
= 0 ;
9152 PyObject
* obj2
= 0 ;
9153 PyObject
* obj3
= 0 ;
9154 PyObject
* obj4
= 0 ;
9155 PyObject
* obj5
= 0 ;
9157 (char *) "self",(char *) "x",(char *) "y",(char *) "r",(char *) "g",(char *) "b", NULL
9160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Image_SetRGB",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9161 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9162 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9163 arg2
= (int) SWIG_AsInt(obj1
);
9164 if (PyErr_Occurred()) SWIG_fail
;
9165 arg3
= (int) SWIG_AsInt(obj2
);
9166 if (PyErr_Occurred()) SWIG_fail
;
9167 arg4
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
9168 if (PyErr_Occurred()) SWIG_fail
;
9169 arg5
= (unsigned char) SWIG_AsUnsignedChar(obj4
);
9170 if (PyErr_Occurred()) SWIG_fail
;
9171 arg6
= (unsigned char) SWIG_AsUnsignedChar(obj5
);
9172 if (PyErr_Occurred()) SWIG_fail
;
9174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9175 (arg1
)->SetRGB(arg2
,arg3
,arg4
,arg5
,arg6
);
9177 wxPyEndAllowThreads(__tstate
);
9178 if (PyErr_Occurred()) SWIG_fail
;
9180 Py_INCREF(Py_None
); resultobj
= Py_None
;
9187 static PyObject
*_wrap_Image_GetRed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9188 PyObject
*resultobj
;
9189 wxImage
*arg1
= (wxImage
*) 0 ;
9192 unsigned char result
;
9193 PyObject
* obj0
= 0 ;
9194 PyObject
* obj1
= 0 ;
9195 PyObject
* obj2
= 0 ;
9197 (char *) "self",(char *) "x",(char *) "y", NULL
9200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetRed",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9201 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9202 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9203 arg2
= (int) SWIG_AsInt(obj1
);
9204 if (PyErr_Occurred()) SWIG_fail
;
9205 arg3
= (int) SWIG_AsInt(obj2
);
9206 if (PyErr_Occurred()) SWIG_fail
;
9208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9209 result
= (unsigned char)(arg1
)->GetRed(arg2
,arg3
);
9211 wxPyEndAllowThreads(__tstate
);
9212 if (PyErr_Occurred()) SWIG_fail
;
9214 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
9221 static PyObject
*_wrap_Image_GetGreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9222 PyObject
*resultobj
;
9223 wxImage
*arg1
= (wxImage
*) 0 ;
9226 unsigned char result
;
9227 PyObject
* obj0
= 0 ;
9228 PyObject
* obj1
= 0 ;
9229 PyObject
* obj2
= 0 ;
9231 (char *) "self",(char *) "x",(char *) "y", NULL
9234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetGreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9235 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9236 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9237 arg2
= (int) SWIG_AsInt(obj1
);
9238 if (PyErr_Occurred()) SWIG_fail
;
9239 arg3
= (int) SWIG_AsInt(obj2
);
9240 if (PyErr_Occurred()) SWIG_fail
;
9242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9243 result
= (unsigned char)(arg1
)->GetGreen(arg2
,arg3
);
9245 wxPyEndAllowThreads(__tstate
);
9246 if (PyErr_Occurred()) SWIG_fail
;
9248 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
9255 static PyObject
*_wrap_Image_GetBlue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9256 PyObject
*resultobj
;
9257 wxImage
*arg1
= (wxImage
*) 0 ;
9260 unsigned char result
;
9261 PyObject
* obj0
= 0 ;
9262 PyObject
* obj1
= 0 ;
9263 PyObject
* obj2
= 0 ;
9265 (char *) "self",(char *) "x",(char *) "y", NULL
9268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetBlue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9269 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9270 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9271 arg2
= (int) SWIG_AsInt(obj1
);
9272 if (PyErr_Occurred()) SWIG_fail
;
9273 arg3
= (int) SWIG_AsInt(obj2
);
9274 if (PyErr_Occurred()) SWIG_fail
;
9276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9277 result
= (unsigned char)(arg1
)->GetBlue(arg2
,arg3
);
9279 wxPyEndAllowThreads(__tstate
);
9280 if (PyErr_Occurred()) SWIG_fail
;
9282 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
9289 static PyObject
*_wrap_Image_SetAlpha(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9290 PyObject
*resultobj
;
9291 wxImage
*arg1
= (wxImage
*) 0 ;
9294 unsigned char arg4
;
9295 PyObject
* obj0
= 0 ;
9296 PyObject
* obj1
= 0 ;
9297 PyObject
* obj2
= 0 ;
9298 PyObject
* obj3
= 0 ;
9300 (char *) "self",(char *) "x",(char *) "y",(char *) "alpha", NULL
9303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_SetAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9304 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9305 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9306 arg2
= (int) SWIG_AsInt(obj1
);
9307 if (PyErr_Occurred()) SWIG_fail
;
9308 arg3
= (int) SWIG_AsInt(obj2
);
9309 if (PyErr_Occurred()) SWIG_fail
;
9310 arg4
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
9311 if (PyErr_Occurred()) SWIG_fail
;
9313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9314 (arg1
)->SetAlpha(arg2
,arg3
,arg4
);
9316 wxPyEndAllowThreads(__tstate
);
9317 if (PyErr_Occurred()) SWIG_fail
;
9319 Py_INCREF(Py_None
); resultobj
= Py_None
;
9326 static PyObject
*_wrap_Image_GetAlpha(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9327 PyObject
*resultobj
;
9328 wxImage
*arg1
= (wxImage
*) 0 ;
9331 unsigned char result
;
9332 PyObject
* obj0
= 0 ;
9333 PyObject
* obj1
= 0 ;
9334 PyObject
* obj2
= 0 ;
9336 (char *) "self",(char *) "x",(char *) "y", NULL
9339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetAlpha",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9340 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9342 arg2
= (int) SWIG_AsInt(obj1
);
9343 if (PyErr_Occurred()) SWIG_fail
;
9344 arg3
= (int) SWIG_AsInt(obj2
);
9345 if (PyErr_Occurred()) SWIG_fail
;
9347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9348 result
= (unsigned char)(arg1
)->GetAlpha(arg2
,arg3
);
9350 wxPyEndAllowThreads(__tstate
);
9351 if (PyErr_Occurred()) SWIG_fail
;
9353 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
9360 static PyObject
*_wrap_Image_HasAlpha(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9361 PyObject
*resultobj
;
9362 wxImage
*arg1
= (wxImage
*) 0 ;
9364 PyObject
* obj0
= 0 ;
9366 (char *) "self", NULL
9369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HasAlpha",kwnames
,&obj0
)) goto fail
;
9370 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9371 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9374 result
= (bool)(arg1
)->HasAlpha();
9376 wxPyEndAllowThreads(__tstate
);
9377 if (PyErr_Occurred()) SWIG_fail
;
9380 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9388 static PyObject
*_wrap_Image_FindFirstUnusedColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9389 PyObject
*resultobj
;
9390 wxImage
*arg1
= (wxImage
*) 0 ;
9391 byte
*arg2
= (byte
*) 0 ;
9392 byte
*arg3
= (byte
*) 0 ;
9393 byte
*arg4
= (byte
*) 0 ;
9394 byte arg5
= (byte
) 0 ;
9395 byte arg6
= (byte
) 0 ;
9396 byte arg7
= (byte
) 0 ;
9401 PyObject
* obj0
= 0 ;
9402 PyObject
* obj1
= 0 ;
9403 PyObject
* obj2
= 0 ;
9404 PyObject
* obj3
= 0 ;
9406 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
9412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Image_FindFirstUnusedColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9413 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9414 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9416 arg5
= (byte
) SWIG_AsUnsignedChar(obj1
);
9417 if (PyErr_Occurred()) SWIG_fail
;
9420 arg6
= (byte
) SWIG_AsUnsignedChar(obj2
);
9421 if (PyErr_Occurred()) SWIG_fail
;
9424 arg7
= (byte
) SWIG_AsUnsignedChar(obj3
);
9425 if (PyErr_Occurred()) SWIG_fail
;
9428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9429 result
= (bool)((wxImage
const *)arg1
)->FindFirstUnusedColour(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
9431 wxPyEndAllowThreads(__tstate
);
9432 if (PyErr_Occurred()) SWIG_fail
;
9435 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9438 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
9439 resultobj
= t_output_helper(resultobj
,o
);
9442 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
9443 resultobj
= t_output_helper(resultobj
,o
);
9446 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
9447 resultobj
= t_output_helper(resultobj
,o
);
9455 static PyObject
*_wrap_Image_SetMaskFromImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9456 PyObject
*resultobj
;
9457 wxImage
*arg1
= (wxImage
*) 0 ;
9463 PyObject
* obj0
= 0 ;
9464 PyObject
* obj1
= 0 ;
9465 PyObject
* obj2
= 0 ;
9466 PyObject
* obj3
= 0 ;
9467 PyObject
* obj4
= 0 ;
9469 (char *) "self",(char *) "mask",(char *) "mr",(char *) "mg",(char *) "mb", NULL
9472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Image_SetMaskFromImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
9473 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9474 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9475 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImage
,
9476 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9479 PyErr_SetString(PyExc_TypeError
,"null reference");
9482 arg3
= (byte
) SWIG_AsUnsignedChar(obj2
);
9483 if (PyErr_Occurred()) SWIG_fail
;
9484 arg4
= (byte
) SWIG_AsUnsignedChar(obj3
);
9485 if (PyErr_Occurred()) SWIG_fail
;
9486 arg5
= (byte
) SWIG_AsUnsignedChar(obj4
);
9487 if (PyErr_Occurred()) SWIG_fail
;
9489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9490 result
= (bool)(arg1
)->SetMaskFromImage((wxImage
const &)*arg2
,arg3
,arg4
,arg5
);
9492 wxPyEndAllowThreads(__tstate
);
9493 if (PyErr_Occurred()) SWIG_fail
;
9496 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9504 static PyObject
*_wrap_Image_CanRead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9505 PyObject
*resultobj
;
9506 wxString
*arg1
= 0 ;
9508 bool temp1
= False
;
9509 PyObject
* obj0
= 0 ;
9511 (char *) "name", NULL
9514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_CanRead",kwnames
,&obj0
)) goto fail
;
9516 arg1
= wxString_in_helper(obj0
);
9517 if (arg1
== NULL
) SWIG_fail
;
9521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9522 result
= (bool)wxImage::CanRead((wxString
const &)*arg1
);
9524 wxPyEndAllowThreads(__tstate
);
9525 if (PyErr_Occurred()) SWIG_fail
;
9528 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9544 static PyObject
*_wrap_Image_GetImageCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9545 PyObject
*resultobj
;
9546 wxString
*arg1
= 0 ;
9547 long arg2
= (long) wxBITMAP_TYPE_ANY
;
9549 bool temp1
= False
;
9550 PyObject
* obj0
= 0 ;
9551 PyObject
* obj1
= 0 ;
9553 (char *) "name",(char *) "type", NULL
9556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_GetImageCount",kwnames
,&obj0
,&obj1
)) goto fail
;
9558 arg1
= wxString_in_helper(obj0
);
9559 if (arg1
== NULL
) SWIG_fail
;
9563 arg2
= (long) SWIG_AsLong(obj1
);
9564 if (PyErr_Occurred()) SWIG_fail
;
9567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9568 result
= (int)wxImage::GetImageCount((wxString
const &)*arg1
,arg2
);
9570 wxPyEndAllowThreads(__tstate
);
9571 if (PyErr_Occurred()) SWIG_fail
;
9573 resultobj
= SWIG_FromInt((int)result
);
9588 static PyObject
*_wrap_Image_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9589 PyObject
*resultobj
;
9590 wxImage
*arg1
= (wxImage
*) 0 ;
9591 wxString
*arg2
= 0 ;
9592 long arg3
= (long) wxBITMAP_TYPE_ANY
;
9593 int arg4
= (int) -1 ;
9595 bool temp2
= False
;
9596 PyObject
* obj0
= 0 ;
9597 PyObject
* obj1
= 0 ;
9598 PyObject
* obj2
= 0 ;
9599 PyObject
* obj3
= 0 ;
9601 (char *) "self",(char *) "name",(char *) "type",(char *) "index", NULL
9604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Image_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9605 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9608 arg2
= wxString_in_helper(obj1
);
9609 if (arg2
== NULL
) SWIG_fail
;
9613 arg3
= (long) SWIG_AsLong(obj2
);
9614 if (PyErr_Occurred()) SWIG_fail
;
9617 arg4
= (int) SWIG_AsInt(obj3
);
9618 if (PyErr_Occurred()) SWIG_fail
;
9621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9622 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
,arg4
);
9624 wxPyEndAllowThreads(__tstate
);
9625 if (PyErr_Occurred()) SWIG_fail
;
9628 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9644 static PyObject
*_wrap_Image_LoadMimeFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9645 PyObject
*resultobj
;
9646 wxImage
*arg1
= (wxImage
*) 0 ;
9647 wxString
*arg2
= 0 ;
9648 wxString
*arg3
= 0 ;
9649 int arg4
= (int) -1 ;
9651 bool temp2
= False
;
9652 bool temp3
= False
;
9653 PyObject
* obj0
= 0 ;
9654 PyObject
* obj1
= 0 ;
9655 PyObject
* obj2
= 0 ;
9656 PyObject
* obj3
= 0 ;
9658 (char *) "self",(char *) "name",(char *) "mimetype",(char *) "index", NULL
9661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_LoadMimeFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9662 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9663 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9665 arg2
= wxString_in_helper(obj1
);
9666 if (arg2
== NULL
) SWIG_fail
;
9670 arg3
= wxString_in_helper(obj2
);
9671 if (arg3
== NULL
) SWIG_fail
;
9675 arg4
= (int) SWIG_AsInt(obj3
);
9676 if (PyErr_Occurred()) SWIG_fail
;
9679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9680 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
9682 wxPyEndAllowThreads(__tstate
);
9683 if (PyErr_Occurred()) SWIG_fail
;
9686 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9710 static PyObject
*_wrap_Image_SaveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9711 PyObject
*resultobj
;
9712 wxImage
*arg1
= (wxImage
*) 0 ;
9713 wxString
*arg2
= 0 ;
9716 bool temp2
= False
;
9717 PyObject
* obj0
= 0 ;
9718 PyObject
* obj1
= 0 ;
9719 PyObject
* obj2
= 0 ;
9721 (char *) "self",(char *) "name",(char *) "type", NULL
9724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9725 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9726 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9728 arg2
= wxString_in_helper(obj1
);
9729 if (arg2
== NULL
) SWIG_fail
;
9732 arg3
= (int) SWIG_AsInt(obj2
);
9733 if (PyErr_Occurred()) SWIG_fail
;
9735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9736 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
);
9738 wxPyEndAllowThreads(__tstate
);
9739 if (PyErr_Occurred()) SWIG_fail
;
9742 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9758 static PyObject
*_wrap_Image_SaveMimeFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9759 PyObject
*resultobj
;
9760 wxImage
*arg1
= (wxImage
*) 0 ;
9761 wxString
*arg2
= 0 ;
9762 wxString
*arg3
= 0 ;
9764 bool temp2
= False
;
9765 bool temp3
= False
;
9766 PyObject
* obj0
= 0 ;
9767 PyObject
* obj1
= 0 ;
9768 PyObject
* obj2
= 0 ;
9770 (char *) "self",(char *) "name",(char *) "mimetype", NULL
9773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SaveMimeFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9774 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9775 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9777 arg2
= wxString_in_helper(obj1
);
9778 if (arg2
== NULL
) SWIG_fail
;
9782 arg3
= wxString_in_helper(obj2
);
9783 if (arg3
== NULL
) SWIG_fail
;
9787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9788 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,(wxString
const &)*arg3
);
9790 wxPyEndAllowThreads(__tstate
);
9791 if (PyErr_Occurred()) SWIG_fail
;
9794 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9818 static PyObject
*_wrap_Image_CanReadStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9819 PyObject
*resultobj
;
9820 wxInputStream
*arg1
= 0 ;
9822 wxPyInputStream
*temp1
;
9824 PyObject
* obj0
= 0 ;
9826 (char *) "stream", NULL
9829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_CanReadStream",kwnames
,&obj0
)) goto fail
;
9831 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
9832 arg1
= temp1
->m_wxis
;
9835 PyErr_Clear(); // clear the failure of the wxPyConvert above
9836 arg1
= wxPyCBInputStream_create(obj0
, False
);
9838 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
9845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9846 result
= (bool)wxImage::CanRead(*arg1
);
9848 wxPyEndAllowThreads(__tstate
);
9849 if (PyErr_Occurred()) SWIG_fail
;
9852 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9868 static PyObject
*_wrap_Image_LoadStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9869 PyObject
*resultobj
;
9870 wxImage
*arg1
= (wxImage
*) 0 ;
9871 wxInputStream
*arg2
= 0 ;
9872 long arg3
= (long) wxBITMAP_TYPE_ANY
;
9873 int arg4
= (int) -1 ;
9875 wxPyInputStream
*temp2
;
9877 PyObject
* obj0
= 0 ;
9878 PyObject
* obj1
= 0 ;
9879 PyObject
* obj2
= 0 ;
9880 PyObject
* obj3
= 0 ;
9882 (char *) "self",(char *) "stream",(char *) "type",(char *) "index", NULL
9885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Image_LoadStream",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9886 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9887 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9889 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
9890 arg2
= temp2
->m_wxis
;
9893 PyErr_Clear(); // clear the failure of the wxPyConvert above
9894 arg2
= wxPyCBInputStream_create(obj1
, False
);
9896 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
9903 arg3
= (long) SWIG_AsLong(obj2
);
9904 if (PyErr_Occurred()) SWIG_fail
;
9907 arg4
= (int) SWIG_AsInt(obj3
);
9908 if (PyErr_Occurred()) SWIG_fail
;
9911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9912 result
= (bool)(arg1
)->LoadFile(*arg2
,arg3
,arg4
);
9914 wxPyEndAllowThreads(__tstate
);
9915 if (PyErr_Occurred()) SWIG_fail
;
9918 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9934 static PyObject
*_wrap_Image_LoadMimeStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9935 PyObject
*resultobj
;
9936 wxImage
*arg1
= (wxImage
*) 0 ;
9937 wxInputStream
*arg2
= 0 ;
9938 wxString
*arg3
= 0 ;
9939 int arg4
= (int) -1 ;
9941 wxPyInputStream
*temp2
;
9943 bool temp3
= False
;
9944 PyObject
* obj0
= 0 ;
9945 PyObject
* obj1
= 0 ;
9946 PyObject
* obj2
= 0 ;
9947 PyObject
* obj3
= 0 ;
9949 (char *) "self",(char *) "stream",(char *) "mimetype",(char *) "index", NULL
9952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_LoadMimeStream",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9953 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9954 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9956 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
9957 arg2
= temp2
->m_wxis
;
9960 PyErr_Clear(); // clear the failure of the wxPyConvert above
9961 arg2
= wxPyCBInputStream_create(obj1
, False
);
9963 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
9970 arg3
= wxString_in_helper(obj2
);
9971 if (arg3
== NULL
) SWIG_fail
;
9975 arg4
= (int) SWIG_AsInt(obj3
);
9976 if (PyErr_Occurred()) SWIG_fail
;
9979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9980 result
= (bool)(arg1
)->LoadFile(*arg2
,(wxString
const &)*arg3
,arg4
);
9982 wxPyEndAllowThreads(__tstate
);
9983 if (PyErr_Occurred()) SWIG_fail
;
9986 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10010 static PyObject
*_wrap_Image_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10011 PyObject
*resultobj
;
10012 wxImage
*arg1
= (wxImage
*) 0 ;
10014 PyObject
* obj0
= 0 ;
10015 char *kwnames
[] = {
10016 (char *) "self", NULL
10019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Ok",kwnames
,&obj0
)) goto fail
;
10020 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10021 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10024 result
= (bool)(arg1
)->Ok();
10026 wxPyEndAllowThreads(__tstate
);
10027 if (PyErr_Occurred()) SWIG_fail
;
10030 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10038 static PyObject
*_wrap_Image_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10039 PyObject
*resultobj
;
10040 wxImage
*arg1
= (wxImage
*) 0 ;
10042 PyObject
* obj0
= 0 ;
10043 char *kwnames
[] = {
10044 (char *) "self", NULL
10047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetWidth",kwnames
,&obj0
)) goto fail
;
10048 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10049 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10052 result
= (int)(arg1
)->GetWidth();
10054 wxPyEndAllowThreads(__tstate
);
10055 if (PyErr_Occurred()) SWIG_fail
;
10057 resultobj
= SWIG_FromInt((int)result
);
10064 static PyObject
*_wrap_Image_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10065 PyObject
*resultobj
;
10066 wxImage
*arg1
= (wxImage
*) 0 ;
10068 PyObject
* obj0
= 0 ;
10069 char *kwnames
[] = {
10070 (char *) "self", NULL
10073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetHeight",kwnames
,&obj0
)) goto fail
;
10074 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10075 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10078 result
= (int)(arg1
)->GetHeight();
10080 wxPyEndAllowThreads(__tstate
);
10081 if (PyErr_Occurred()) SWIG_fail
;
10083 resultobj
= SWIG_FromInt((int)result
);
10090 static PyObject
*_wrap_Image_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10091 PyObject
*resultobj
;
10092 wxImage
*arg1
= (wxImage
*) 0 ;
10094 PyObject
* obj0
= 0 ;
10095 char *kwnames
[] = {
10096 (char *) "self", NULL
10099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetSize",kwnames
,&obj0
)) goto fail
;
10100 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10101 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10104 result
= wxImage_GetSize(arg1
);
10106 wxPyEndAllowThreads(__tstate
);
10107 if (PyErr_Occurred()) SWIG_fail
;
10110 wxSize
* resultptr
;
10111 resultptr
= new wxSize((wxSize
&) result
);
10112 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
10120 static PyObject
*_wrap_Image_GetSubImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10121 PyObject
*resultobj
;
10122 wxImage
*arg1
= (wxImage
*) 0 ;
10124 SwigValueWrapper
< wxImage
> result
;
10126 PyObject
* obj0
= 0 ;
10127 PyObject
* obj1
= 0 ;
10128 char *kwnames
[] = {
10129 (char *) "self",(char *) "rect", NULL
10132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetSubImage",kwnames
,&obj0
,&obj1
)) goto fail
;
10133 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10134 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10137 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10141 result
= (arg1
)->GetSubImage((wxRect
const &)*arg2
);
10143 wxPyEndAllowThreads(__tstate
);
10144 if (PyErr_Occurred()) SWIG_fail
;
10147 wxImage
* resultptr
;
10148 resultptr
= new wxImage((wxImage
&) result
);
10149 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10157 static PyObject
*_wrap_Image_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10158 PyObject
*resultobj
;
10159 wxImage
*arg1
= (wxImage
*) 0 ;
10160 SwigValueWrapper
< wxImage
> result
;
10161 PyObject
* obj0
= 0 ;
10162 char *kwnames
[] = {
10163 (char *) "self", NULL
10166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Copy",kwnames
,&obj0
)) goto fail
;
10167 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10168 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10171 result
= (arg1
)->Copy();
10173 wxPyEndAllowThreads(__tstate
);
10174 if (PyErr_Occurred()) SWIG_fail
;
10177 wxImage
* resultptr
;
10178 resultptr
= new wxImage((wxImage
&) result
);
10179 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10187 static PyObject
*_wrap_Image_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10188 PyObject
*resultobj
;
10189 wxImage
*arg1
= (wxImage
*) 0 ;
10190 wxImage
*arg2
= 0 ;
10193 PyObject
* obj0
= 0 ;
10194 PyObject
* obj1
= 0 ;
10195 PyObject
* obj2
= 0 ;
10196 PyObject
* obj3
= 0 ;
10197 char *kwnames
[] = {
10198 (char *) "self",(char *) "image",(char *) "x",(char *) "y", NULL
10201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_Paste",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10202 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10203 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10204 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImage
,
10205 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10207 if (arg2
== NULL
) {
10208 PyErr_SetString(PyExc_TypeError
,"null reference");
10211 arg3
= (int) SWIG_AsInt(obj2
);
10212 if (PyErr_Occurred()) SWIG_fail
;
10213 arg4
= (int) SWIG_AsInt(obj3
);
10214 if (PyErr_Occurred()) SWIG_fail
;
10216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10217 (arg1
)->Paste((wxImage
const &)*arg2
,arg3
,arg4
);
10219 wxPyEndAllowThreads(__tstate
);
10220 if (PyErr_Occurred()) SWIG_fail
;
10222 Py_INCREF(Py_None
); resultobj
= Py_None
;
10229 static PyObject
*_wrap_Image_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10230 PyObject
*resultobj
;
10231 wxImage
*arg1
= (wxImage
*) 0 ;
10233 PyObject
* obj0
= 0 ;
10234 char *kwnames
[] = {
10235 (char *) "self", NULL
10238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetData",kwnames
,&obj0
)) goto fail
;
10239 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10240 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10243 result
= (PyObject
*)wxImage_GetData(arg1
);
10245 wxPyEndAllowThreads(__tstate
);
10246 if (PyErr_Occurred()) SWIG_fail
;
10248 resultobj
= result
;
10255 static PyObject
*_wrap_Image_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10256 PyObject
*resultobj
;
10257 wxImage
*arg1
= (wxImage
*) 0 ;
10258 PyObject
*arg2
= (PyObject
*) 0 ;
10259 PyObject
* obj0
= 0 ;
10260 PyObject
* obj1
= 0 ;
10261 char *kwnames
[] = {
10262 (char *) "self",(char *) "data", NULL
10265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
10266 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10267 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10271 wxImage_SetData(arg1
,arg2
);
10273 wxPyEndAllowThreads(__tstate
);
10274 if (PyErr_Occurred()) SWIG_fail
;
10276 Py_INCREF(Py_None
); resultobj
= Py_None
;
10283 static PyObject
*_wrap_Image_GetDataBuffer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10284 PyObject
*resultobj
;
10285 wxImage
*arg1
= (wxImage
*) 0 ;
10287 PyObject
* obj0
= 0 ;
10288 char *kwnames
[] = {
10289 (char *) "self", NULL
10292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetDataBuffer",kwnames
,&obj0
)) goto fail
;
10293 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10294 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10297 result
= (PyObject
*)wxImage_GetDataBuffer(arg1
);
10299 wxPyEndAllowThreads(__tstate
);
10300 if (PyErr_Occurred()) SWIG_fail
;
10302 resultobj
= result
;
10309 static PyObject
*_wrap_Image_SetDataBuffer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10310 PyObject
*resultobj
;
10311 wxImage
*arg1
= (wxImage
*) 0 ;
10312 PyObject
*arg2
= (PyObject
*) 0 ;
10313 PyObject
* obj0
= 0 ;
10314 PyObject
* obj1
= 0 ;
10315 char *kwnames
[] = {
10316 (char *) "self",(char *) "data", NULL
10319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetDataBuffer",kwnames
,&obj0
,&obj1
)) goto fail
;
10320 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10321 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10325 wxImage_SetDataBuffer(arg1
,arg2
);
10327 wxPyEndAllowThreads(__tstate
);
10328 if (PyErr_Occurred()) SWIG_fail
;
10330 Py_INCREF(Py_None
); resultobj
= Py_None
;
10337 static PyObject
*_wrap_Image_GetAlphaData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10338 PyObject
*resultobj
;
10339 wxImage
*arg1
= (wxImage
*) 0 ;
10341 PyObject
* obj0
= 0 ;
10342 char *kwnames
[] = {
10343 (char *) "self", NULL
10346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetAlphaData",kwnames
,&obj0
)) goto fail
;
10347 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10348 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10351 result
= (PyObject
*)wxImage_GetAlphaData(arg1
);
10353 wxPyEndAllowThreads(__tstate
);
10354 if (PyErr_Occurred()) SWIG_fail
;
10356 resultobj
= result
;
10363 static PyObject
*_wrap_Image_SetAlphaData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10364 PyObject
*resultobj
;
10365 wxImage
*arg1
= (wxImage
*) 0 ;
10366 PyObject
*arg2
= (PyObject
*) 0 ;
10367 PyObject
* obj0
= 0 ;
10368 PyObject
* obj1
= 0 ;
10369 char *kwnames
[] = {
10370 (char *) "self",(char *) "data", NULL
10373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetAlphaData",kwnames
,&obj0
,&obj1
)) goto fail
;
10374 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10375 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10379 wxImage_SetAlphaData(arg1
,arg2
);
10381 wxPyEndAllowThreads(__tstate
);
10382 if (PyErr_Occurred()) SWIG_fail
;
10384 Py_INCREF(Py_None
); resultobj
= Py_None
;
10391 static PyObject
*_wrap_Image_GetAlphaBuffer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10392 PyObject
*resultobj
;
10393 wxImage
*arg1
= (wxImage
*) 0 ;
10395 PyObject
* obj0
= 0 ;
10396 char *kwnames
[] = {
10397 (char *) "self", NULL
10400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetAlphaBuffer",kwnames
,&obj0
)) goto fail
;
10401 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10402 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10405 result
= (PyObject
*)wxImage_GetAlphaBuffer(arg1
);
10407 wxPyEndAllowThreads(__tstate
);
10408 if (PyErr_Occurred()) SWIG_fail
;
10410 resultobj
= result
;
10417 static PyObject
*_wrap_Image_SetAlphaBuffer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10418 PyObject
*resultobj
;
10419 wxImage
*arg1
= (wxImage
*) 0 ;
10420 PyObject
*arg2
= (PyObject
*) 0 ;
10421 PyObject
* obj0
= 0 ;
10422 PyObject
* obj1
= 0 ;
10423 char *kwnames
[] = {
10424 (char *) "self",(char *) "data", NULL
10427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetAlphaBuffer",kwnames
,&obj0
,&obj1
)) goto fail
;
10428 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10429 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10433 wxImage_SetAlphaBuffer(arg1
,arg2
);
10435 wxPyEndAllowThreads(__tstate
);
10436 if (PyErr_Occurred()) SWIG_fail
;
10438 Py_INCREF(Py_None
); resultobj
= Py_None
;
10445 static PyObject
*_wrap_Image_SetMaskColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10446 PyObject
*resultobj
;
10447 wxImage
*arg1
= (wxImage
*) 0 ;
10448 unsigned char arg2
;
10449 unsigned char arg3
;
10450 unsigned char arg4
;
10451 PyObject
* obj0
= 0 ;
10452 PyObject
* obj1
= 0 ;
10453 PyObject
* obj2
= 0 ;
10454 PyObject
* obj3
= 0 ;
10455 char *kwnames
[] = {
10456 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
10459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_SetMaskColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10460 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10461 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10462 arg2
= (unsigned char) SWIG_AsUnsignedChar(obj1
);
10463 if (PyErr_Occurred()) SWIG_fail
;
10464 arg3
= (unsigned char) SWIG_AsUnsignedChar(obj2
);
10465 if (PyErr_Occurred()) SWIG_fail
;
10466 arg4
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
10467 if (PyErr_Occurred()) SWIG_fail
;
10469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10470 (arg1
)->SetMaskColour(arg2
,arg3
,arg4
);
10472 wxPyEndAllowThreads(__tstate
);
10473 if (PyErr_Occurred()) SWIG_fail
;
10475 Py_INCREF(Py_None
); resultobj
= Py_None
;
10482 static PyObject
*_wrap_Image_GetMaskRed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10483 PyObject
*resultobj
;
10484 wxImage
*arg1
= (wxImage
*) 0 ;
10485 unsigned char result
;
10486 PyObject
* obj0
= 0 ;
10487 char *kwnames
[] = {
10488 (char *) "self", NULL
10491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskRed",kwnames
,&obj0
)) goto fail
;
10492 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10493 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10496 result
= (unsigned char)(arg1
)->GetMaskRed();
10498 wxPyEndAllowThreads(__tstate
);
10499 if (PyErr_Occurred()) SWIG_fail
;
10501 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
10508 static PyObject
*_wrap_Image_GetMaskGreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10509 PyObject
*resultobj
;
10510 wxImage
*arg1
= (wxImage
*) 0 ;
10511 unsigned char result
;
10512 PyObject
* obj0
= 0 ;
10513 char *kwnames
[] = {
10514 (char *) "self", NULL
10517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskGreen",kwnames
,&obj0
)) goto fail
;
10518 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10519 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10522 result
= (unsigned char)(arg1
)->GetMaskGreen();
10524 wxPyEndAllowThreads(__tstate
);
10525 if (PyErr_Occurred()) SWIG_fail
;
10527 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
10534 static PyObject
*_wrap_Image_GetMaskBlue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10535 PyObject
*resultobj
;
10536 wxImage
*arg1
= (wxImage
*) 0 ;
10537 unsigned char result
;
10538 PyObject
* obj0
= 0 ;
10539 char *kwnames
[] = {
10540 (char *) "self", NULL
10543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskBlue",kwnames
,&obj0
)) goto fail
;
10544 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10545 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10548 result
= (unsigned char)(arg1
)->GetMaskBlue();
10550 wxPyEndAllowThreads(__tstate
);
10551 if (PyErr_Occurred()) SWIG_fail
;
10553 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
10560 static PyObject
*_wrap_Image_SetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10561 PyObject
*resultobj
;
10562 wxImage
*arg1
= (wxImage
*) 0 ;
10563 bool arg2
= (bool) True
;
10564 PyObject
* obj0
= 0 ;
10565 PyObject
* obj1
= 0 ;
10566 char *kwnames
[] = {
10567 (char *) "self",(char *) "mask", NULL
10570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
10571 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10572 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10574 arg2
= (bool) SWIG_AsBool(obj1
);
10575 if (PyErr_Occurred()) SWIG_fail
;
10578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10579 (arg1
)->SetMask(arg2
);
10581 wxPyEndAllowThreads(__tstate
);
10582 if (PyErr_Occurred()) SWIG_fail
;
10584 Py_INCREF(Py_None
); resultobj
= Py_None
;
10591 static PyObject
*_wrap_Image_HasMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10592 PyObject
*resultobj
;
10593 wxImage
*arg1
= (wxImage
*) 0 ;
10595 PyObject
* obj0
= 0 ;
10596 char *kwnames
[] = {
10597 (char *) "self", NULL
10600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HasMask",kwnames
,&obj0
)) goto fail
;
10601 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10602 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10605 result
= (bool)(arg1
)->HasMask();
10607 wxPyEndAllowThreads(__tstate
);
10608 if (PyErr_Occurred()) SWIG_fail
;
10611 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10619 static PyObject
*_wrap_Image_Rotate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10620 PyObject
*resultobj
;
10621 wxImage
*arg1
= (wxImage
*) 0 ;
10623 wxPoint
*arg3
= 0 ;
10624 bool arg4
= (bool) True
;
10625 wxPoint
*arg5
= (wxPoint
*) NULL
;
10626 SwigValueWrapper
< wxImage
> result
;
10628 PyObject
* obj0
= 0 ;
10629 PyObject
* obj1
= 0 ;
10630 PyObject
* obj2
= 0 ;
10631 PyObject
* obj3
= 0 ;
10632 PyObject
* obj4
= 0 ;
10633 char *kwnames
[] = {
10634 (char *) "self",(char *) "angle",(char *) "centre_of_rotation",(char *) "interpolating",(char *) "offset_after_rotation", NULL
10637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Image_Rotate",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
10638 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10639 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10640 arg2
= (double) SWIG_AsDouble(obj1
);
10641 if (PyErr_Occurred()) SWIG_fail
;
10644 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10647 arg4
= (bool) SWIG_AsBool(obj3
);
10648 if (PyErr_Occurred()) SWIG_fail
;
10651 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxPoint
,
10652 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10656 result
= ((wxImage
const *)arg1
)->Rotate(arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
10658 wxPyEndAllowThreads(__tstate
);
10659 if (PyErr_Occurred()) SWIG_fail
;
10662 wxImage
* resultptr
;
10663 resultptr
= new wxImage((wxImage
&) result
);
10664 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10672 static PyObject
*_wrap_Image_Rotate90(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10673 PyObject
*resultobj
;
10674 wxImage
*arg1
= (wxImage
*) 0 ;
10675 bool arg2
= (bool) True
;
10676 SwigValueWrapper
< wxImage
> result
;
10677 PyObject
* obj0
= 0 ;
10678 PyObject
* obj1
= 0 ;
10679 char *kwnames
[] = {
10680 (char *) "self",(char *) "clockwise", NULL
10683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_Rotate90",kwnames
,&obj0
,&obj1
)) goto fail
;
10684 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10685 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10687 arg2
= (bool) SWIG_AsBool(obj1
);
10688 if (PyErr_Occurred()) SWIG_fail
;
10691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10692 result
= (arg1
)->Rotate90(arg2
);
10694 wxPyEndAllowThreads(__tstate
);
10695 if (PyErr_Occurred()) SWIG_fail
;
10698 wxImage
* resultptr
;
10699 resultptr
= new wxImage((wxImage
&) result
);
10700 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10708 static PyObject
*_wrap_Image_Mirror(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10709 PyObject
*resultobj
;
10710 wxImage
*arg1
= (wxImage
*) 0 ;
10711 bool arg2
= (bool) True
;
10712 SwigValueWrapper
< wxImage
> result
;
10713 PyObject
* obj0
= 0 ;
10714 PyObject
* obj1
= 0 ;
10715 char *kwnames
[] = {
10716 (char *) "self",(char *) "horizontally", NULL
10719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_Mirror",kwnames
,&obj0
,&obj1
)) goto fail
;
10720 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10721 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10723 arg2
= (bool) SWIG_AsBool(obj1
);
10724 if (PyErr_Occurred()) SWIG_fail
;
10727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10728 result
= (arg1
)->Mirror(arg2
);
10730 wxPyEndAllowThreads(__tstate
);
10731 if (PyErr_Occurred()) SWIG_fail
;
10734 wxImage
* resultptr
;
10735 resultptr
= new wxImage((wxImage
&) result
);
10736 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10744 static PyObject
*_wrap_Image_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10745 PyObject
*resultobj
;
10746 wxImage
*arg1
= (wxImage
*) 0 ;
10747 unsigned char arg2
;
10748 unsigned char arg3
;
10749 unsigned char arg4
;
10750 unsigned char arg5
;
10751 unsigned char arg6
;
10752 unsigned char arg7
;
10753 PyObject
* obj0
= 0 ;
10754 PyObject
* obj1
= 0 ;
10755 PyObject
* obj2
= 0 ;
10756 PyObject
* obj3
= 0 ;
10757 PyObject
* obj4
= 0 ;
10758 PyObject
* obj5
= 0 ;
10759 PyObject
* obj6
= 0 ;
10760 char *kwnames
[] = {
10761 (char *) "self",(char *) "r1",(char *) "g1",(char *) "b1",(char *) "r2",(char *) "g2",(char *) "b2", NULL
10764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:Image_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10765 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10766 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10767 arg2
= (unsigned char) SWIG_AsUnsignedChar(obj1
);
10768 if (PyErr_Occurred()) SWIG_fail
;
10769 arg3
= (unsigned char) SWIG_AsUnsignedChar(obj2
);
10770 if (PyErr_Occurred()) SWIG_fail
;
10771 arg4
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
10772 if (PyErr_Occurred()) SWIG_fail
;
10773 arg5
= (unsigned char) SWIG_AsUnsignedChar(obj4
);
10774 if (PyErr_Occurred()) SWIG_fail
;
10775 arg6
= (unsigned char) SWIG_AsUnsignedChar(obj5
);
10776 if (PyErr_Occurred()) SWIG_fail
;
10777 arg7
= (unsigned char) SWIG_AsUnsignedChar(obj6
);
10778 if (PyErr_Occurred()) SWIG_fail
;
10780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10781 (arg1
)->Replace(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
10783 wxPyEndAllowThreads(__tstate
);
10784 if (PyErr_Occurred()) SWIG_fail
;
10786 Py_INCREF(Py_None
); resultobj
= Py_None
;
10793 static PyObject
*_wrap_Image_ConvertToMono(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10794 PyObject
*resultobj
;
10795 wxImage
*arg1
= (wxImage
*) 0 ;
10796 unsigned char arg2
;
10797 unsigned char arg3
;
10798 unsigned char arg4
;
10799 SwigValueWrapper
< wxImage
> result
;
10800 PyObject
* obj0
= 0 ;
10801 PyObject
* obj1
= 0 ;
10802 PyObject
* obj2
= 0 ;
10803 PyObject
* obj3
= 0 ;
10804 char *kwnames
[] = {
10805 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
10808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertToMono",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10809 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10810 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10811 arg2
= (unsigned char) SWIG_AsUnsignedChar(obj1
);
10812 if (PyErr_Occurred()) SWIG_fail
;
10813 arg3
= (unsigned char) SWIG_AsUnsignedChar(obj2
);
10814 if (PyErr_Occurred()) SWIG_fail
;
10815 arg4
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
10816 if (PyErr_Occurred()) SWIG_fail
;
10818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10819 result
= ((wxImage
const *)arg1
)->ConvertToMono(arg2
,arg3
,arg4
);
10821 wxPyEndAllowThreads(__tstate
);
10822 if (PyErr_Occurred()) SWIG_fail
;
10825 wxImage
* resultptr
;
10826 resultptr
= new wxImage((wxImage
&) result
);
10827 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10835 static PyObject
*_wrap_Image_SetOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10836 PyObject
*resultobj
;
10837 wxImage
*arg1
= (wxImage
*) 0 ;
10838 wxString
*arg2
= 0 ;
10839 wxString
*arg3
= 0 ;
10840 bool temp2
= False
;
10841 bool temp3
= False
;
10842 PyObject
* obj0
= 0 ;
10843 PyObject
* obj1
= 0 ;
10844 PyObject
* obj2
= 0 ;
10845 char *kwnames
[] = {
10846 (char *) "self",(char *) "name",(char *) "value", NULL
10849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SetOption",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10850 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10851 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10853 arg2
= wxString_in_helper(obj1
);
10854 if (arg2
== NULL
) SWIG_fail
;
10858 arg3
= wxString_in_helper(obj2
);
10859 if (arg3
== NULL
) SWIG_fail
;
10863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10864 (arg1
)->SetOption((wxString
const &)*arg2
,(wxString
const &)*arg3
);
10866 wxPyEndAllowThreads(__tstate
);
10867 if (PyErr_Occurred()) SWIG_fail
;
10869 Py_INCREF(Py_None
); resultobj
= Py_None
;
10892 static PyObject
*_wrap_Image_SetOptionInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10893 PyObject
*resultobj
;
10894 wxImage
*arg1
= (wxImage
*) 0 ;
10895 wxString
*arg2
= 0 ;
10897 bool temp2
= False
;
10898 PyObject
* obj0
= 0 ;
10899 PyObject
* obj1
= 0 ;
10900 PyObject
* obj2
= 0 ;
10901 char *kwnames
[] = {
10902 (char *) "self",(char *) "name",(char *) "value", NULL
10905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SetOptionInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10906 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10907 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10909 arg2
= wxString_in_helper(obj1
);
10910 if (arg2
== NULL
) SWIG_fail
;
10913 arg3
= (int) SWIG_AsInt(obj2
);
10914 if (PyErr_Occurred()) SWIG_fail
;
10916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10917 (arg1
)->SetOption((wxString
const &)*arg2
,arg3
);
10919 wxPyEndAllowThreads(__tstate
);
10920 if (PyErr_Occurred()) SWIG_fail
;
10922 Py_INCREF(Py_None
); resultobj
= Py_None
;
10937 static PyObject
*_wrap_Image_GetOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10938 PyObject
*resultobj
;
10939 wxImage
*arg1
= (wxImage
*) 0 ;
10940 wxString
*arg2
= 0 ;
10942 bool temp2
= False
;
10943 PyObject
* obj0
= 0 ;
10944 PyObject
* obj1
= 0 ;
10945 char *kwnames
[] = {
10946 (char *) "self",(char *) "name", NULL
10949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetOption",kwnames
,&obj0
,&obj1
)) goto fail
;
10950 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10951 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10953 arg2
= wxString_in_helper(obj1
);
10954 if (arg2
== NULL
) SWIG_fail
;
10958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10959 result
= ((wxImage
const *)arg1
)->GetOption((wxString
const &)*arg2
);
10961 wxPyEndAllowThreads(__tstate
);
10962 if (PyErr_Occurred()) SWIG_fail
;
10966 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10968 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10985 static PyObject
*_wrap_Image_GetOptionInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10986 PyObject
*resultobj
;
10987 wxImage
*arg1
= (wxImage
*) 0 ;
10988 wxString
*arg2
= 0 ;
10990 bool temp2
= False
;
10991 PyObject
* obj0
= 0 ;
10992 PyObject
* obj1
= 0 ;
10993 char *kwnames
[] = {
10994 (char *) "self",(char *) "name", NULL
10997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetOptionInt",kwnames
,&obj0
,&obj1
)) goto fail
;
10998 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10999 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11001 arg2
= wxString_in_helper(obj1
);
11002 if (arg2
== NULL
) SWIG_fail
;
11006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11007 result
= (int)((wxImage
const *)arg1
)->GetOptionInt((wxString
const &)*arg2
);
11009 wxPyEndAllowThreads(__tstate
);
11010 if (PyErr_Occurred()) SWIG_fail
;
11012 resultobj
= SWIG_FromInt((int)result
);
11027 static PyObject
*_wrap_Image_HasOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11028 PyObject
*resultobj
;
11029 wxImage
*arg1
= (wxImage
*) 0 ;
11030 wxString
*arg2
= 0 ;
11032 bool temp2
= False
;
11033 PyObject
* obj0
= 0 ;
11034 PyObject
* obj1
= 0 ;
11035 char *kwnames
[] = {
11036 (char *) "self",(char *) "name", NULL
11039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_HasOption",kwnames
,&obj0
,&obj1
)) goto fail
;
11040 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11041 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11043 arg2
= wxString_in_helper(obj1
);
11044 if (arg2
== NULL
) SWIG_fail
;
11048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11049 result
= (bool)((wxImage
const *)arg1
)->HasOption((wxString
const &)*arg2
);
11051 wxPyEndAllowThreads(__tstate
);
11052 if (PyErr_Occurred()) SWIG_fail
;
11055 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11071 static PyObject
*_wrap_Image_CountColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11072 PyObject
*resultobj
;
11073 wxImage
*arg1
= (wxImage
*) 0 ;
11074 unsigned long arg2
= (unsigned long) (unsigned long) -1 ;
11075 unsigned long result
;
11076 PyObject
* obj0
= 0 ;
11077 PyObject
* obj1
= 0 ;
11078 char *kwnames
[] = {
11079 (char *) "self",(char *) "stopafter", NULL
11082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_CountColours",kwnames
,&obj0
,&obj1
)) goto fail
;
11083 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11084 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11086 arg2
= (unsigned long) SWIG_AsUnsignedLong(obj1
);
11087 if (PyErr_Occurred()) SWIG_fail
;
11090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11091 result
= (unsigned long)(arg1
)->CountColours(arg2
);
11093 wxPyEndAllowThreads(__tstate
);
11094 if (PyErr_Occurred()) SWIG_fail
;
11096 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
11103 static PyObject
*_wrap_Image_ComputeHistogram(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11104 PyObject
*resultobj
;
11105 wxImage
*arg1
= (wxImage
*) 0 ;
11106 wxImageHistogram
*arg2
= 0 ;
11107 unsigned long result
;
11108 PyObject
* obj0
= 0 ;
11109 PyObject
* obj1
= 0 ;
11110 char *kwnames
[] = {
11111 (char *) "self",(char *) "h", NULL
11114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_ComputeHistogram",kwnames
,&obj0
,&obj1
)) goto fail
;
11115 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11116 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11117 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageHistogram
,
11118 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11120 if (arg2
== NULL
) {
11121 PyErr_SetString(PyExc_TypeError
,"null reference");
11125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11126 result
= (unsigned long)(arg1
)->ComputeHistogram(*arg2
);
11128 wxPyEndAllowThreads(__tstate
);
11129 if (PyErr_Occurred()) SWIG_fail
;
11131 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
11138 static PyObject
*_wrap_Image_AddHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11139 PyObject
*resultobj
;
11140 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
11141 PyObject
* obj0
= 0 ;
11142 char *kwnames
[] = {
11143 (char *) "handler", NULL
11146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_AddHandler",kwnames
,&obj0
)) goto fail
;
11147 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
11148 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11151 wxImage::AddHandler(arg1
);
11153 wxPyEndAllowThreads(__tstate
);
11154 if (PyErr_Occurred()) SWIG_fail
;
11156 Py_INCREF(Py_None
); resultobj
= Py_None
;
11163 static PyObject
*_wrap_Image_InsertHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11164 PyObject
*resultobj
;
11165 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
11166 PyObject
* obj0
= 0 ;
11167 char *kwnames
[] = {
11168 (char *) "handler", NULL
11171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_InsertHandler",kwnames
,&obj0
)) goto fail
;
11172 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
11173 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11176 wxImage::InsertHandler(arg1
);
11178 wxPyEndAllowThreads(__tstate
);
11179 if (PyErr_Occurred()) SWIG_fail
;
11181 Py_INCREF(Py_None
); resultobj
= Py_None
;
11188 static PyObject
*_wrap_Image_RemoveHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11189 PyObject
*resultobj
;
11190 wxString
*arg1
= 0 ;
11192 bool temp1
= False
;
11193 PyObject
* obj0
= 0 ;
11194 char *kwnames
[] = {
11195 (char *) "name", NULL
11198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_RemoveHandler",kwnames
,&obj0
)) goto fail
;
11200 arg1
= wxString_in_helper(obj0
);
11201 if (arg1
== NULL
) SWIG_fail
;
11205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11206 result
= (bool)wxImage::RemoveHandler((wxString
const &)*arg1
);
11208 wxPyEndAllowThreads(__tstate
);
11209 if (PyErr_Occurred()) SWIG_fail
;
11212 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11228 static PyObject
*_wrap_Image_GetImageExtWildcard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11229 PyObject
*resultobj
;
11231 char *kwnames
[] = {
11235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Image_GetImageExtWildcard",kwnames
)) goto fail
;
11237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11238 result
= wxImage::GetImageExtWildcard();
11240 wxPyEndAllowThreads(__tstate
);
11241 if (PyErr_Occurred()) SWIG_fail
;
11245 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11247 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11256 static PyObject
*_wrap_Image_ConvertToBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11257 PyObject
*resultobj
;
11258 wxImage
*arg1
= (wxImage
*) 0 ;
11260 PyObject
* obj0
= 0 ;
11261 char *kwnames
[] = {
11262 (char *) "self", NULL
11265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_ConvertToBitmap",kwnames
,&obj0
)) goto fail
;
11266 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11267 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11269 if (!wxPyCheckForApp()) SWIG_fail
;
11270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11271 result
= wxImage_ConvertToBitmap(arg1
);
11273 wxPyEndAllowThreads(__tstate
);
11274 if (PyErr_Occurred()) SWIG_fail
;
11277 wxBitmap
* resultptr
;
11278 resultptr
= new wxBitmap((wxBitmap
&) result
);
11279 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
11287 static PyObject
*_wrap_Image_ConvertToMonoBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11288 PyObject
*resultobj
;
11289 wxImage
*arg1
= (wxImage
*) 0 ;
11290 unsigned char arg2
;
11291 unsigned char arg3
;
11292 unsigned char arg4
;
11294 PyObject
* obj0
= 0 ;
11295 PyObject
* obj1
= 0 ;
11296 PyObject
* obj2
= 0 ;
11297 PyObject
* obj3
= 0 ;
11298 char *kwnames
[] = {
11299 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
11302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertToMonoBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11303 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11304 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11305 arg2
= (unsigned char) SWIG_AsUnsignedChar(obj1
);
11306 if (PyErr_Occurred()) SWIG_fail
;
11307 arg3
= (unsigned char) SWIG_AsUnsignedChar(obj2
);
11308 if (PyErr_Occurred()) SWIG_fail
;
11309 arg4
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
11310 if (PyErr_Occurred()) SWIG_fail
;
11312 if (!wxPyCheckForApp()) SWIG_fail
;
11313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11314 result
= wxImage_ConvertToMonoBitmap(arg1
,arg2
,arg3
,arg4
);
11316 wxPyEndAllowThreads(__tstate
);
11317 if (PyErr_Occurred()) SWIG_fail
;
11320 wxBitmap
* resultptr
;
11321 resultptr
= new wxBitmap((wxBitmap
&) result
);
11322 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
11330 static PyObject
* Image_swigregister(PyObject
*self
, PyObject
*args
) {
11332 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11333 SWIG_TypeClientData(SWIGTYPE_p_wxImage
, obj
);
11335 return Py_BuildValue((char *)"");
11337 static int _wrap_NullImage_set(PyObject
*_val
) {
11338 PyErr_SetString(PyExc_TypeError
,"Variable NullImage is read-only.");
11343 static PyObject
*_wrap_NullImage_get() {
11346 pyobj
= SWIG_NewPointerObj((void *)(&wxNullImage
), SWIGTYPE_p_wxImage
, 0);
11351 static int _wrap_IMAGE_OPTION_BMP_FORMAT_set(PyObject
*_val
) {
11352 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_BMP_FORMAT is read-only.");
11357 static PyObject
*_wrap_IMAGE_OPTION_BMP_FORMAT_get() {
11362 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
11364 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
11371 static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set(PyObject
*_val
) {
11372 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_X is read-only.");
11377 static PyObject
*_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get() {
11382 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
11384 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
11391 static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set(PyObject
*_val
) {
11392 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_Y is read-only.");
11397 static PyObject
*_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get() {
11402 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
11404 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
11411 static int _wrap_IMAGE_OPTION_RESOLUTION_set(PyObject
*_val
) {
11412 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTION is read-only.");
11417 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTION_get() {
11422 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
11424 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
11431 static int _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set(PyObject
*_val
) {
11432 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTIONUNIT is read-only.");
11437 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get() {
11442 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
11444 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
11451 static PyObject
*_wrap_new_BMPHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11452 PyObject
*resultobj
;
11453 wxBMPHandler
*result
;
11454 char *kwnames
[] = {
11458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_BMPHandler",kwnames
)) goto fail
;
11460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11461 result
= (wxBMPHandler
*)new wxBMPHandler();
11463 wxPyEndAllowThreads(__tstate
);
11464 if (PyErr_Occurred()) SWIG_fail
;
11466 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBMPHandler
, 1);
11473 static PyObject
* BMPHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11475 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11476 SWIG_TypeClientData(SWIGTYPE_p_wxBMPHandler
, obj
);
11478 return Py_BuildValue((char *)"");
11480 static PyObject
*_wrap_new_ICOHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11481 PyObject
*resultobj
;
11482 wxICOHandler
*result
;
11483 char *kwnames
[] = {
11487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ICOHandler",kwnames
)) goto fail
;
11489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11490 result
= (wxICOHandler
*)new wxICOHandler();
11492 wxPyEndAllowThreads(__tstate
);
11493 if (PyErr_Occurred()) SWIG_fail
;
11495 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxICOHandler
, 1);
11502 static PyObject
* ICOHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11504 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11505 SWIG_TypeClientData(SWIGTYPE_p_wxICOHandler
, obj
);
11507 return Py_BuildValue((char *)"");
11509 static PyObject
*_wrap_new_CURHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11510 PyObject
*resultobj
;
11511 wxCURHandler
*result
;
11512 char *kwnames
[] = {
11516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_CURHandler",kwnames
)) goto fail
;
11518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11519 result
= (wxCURHandler
*)new wxCURHandler();
11521 wxPyEndAllowThreads(__tstate
);
11522 if (PyErr_Occurred()) SWIG_fail
;
11524 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCURHandler
, 1);
11531 static PyObject
* CURHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11533 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11534 SWIG_TypeClientData(SWIGTYPE_p_wxCURHandler
, obj
);
11536 return Py_BuildValue((char *)"");
11538 static PyObject
*_wrap_new_ANIHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11539 PyObject
*resultobj
;
11540 wxANIHandler
*result
;
11541 char *kwnames
[] = {
11545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ANIHandler",kwnames
)) goto fail
;
11547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11548 result
= (wxANIHandler
*)new wxANIHandler();
11550 wxPyEndAllowThreads(__tstate
);
11551 if (PyErr_Occurred()) SWIG_fail
;
11553 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxANIHandler
, 1);
11560 static PyObject
* ANIHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11562 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11563 SWIG_TypeClientData(SWIGTYPE_p_wxANIHandler
, obj
);
11565 return Py_BuildValue((char *)"");
11567 static PyObject
*_wrap_new_PNGHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11568 PyObject
*resultobj
;
11569 wxPNGHandler
*result
;
11570 char *kwnames
[] = {
11574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PNGHandler",kwnames
)) goto fail
;
11576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11577 result
= (wxPNGHandler
*)new wxPNGHandler();
11579 wxPyEndAllowThreads(__tstate
);
11580 if (PyErr_Occurred()) SWIG_fail
;
11582 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPNGHandler
, 1);
11589 static PyObject
* PNGHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11591 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11592 SWIG_TypeClientData(SWIGTYPE_p_wxPNGHandler
, obj
);
11594 return Py_BuildValue((char *)"");
11596 static PyObject
*_wrap_new_GIFHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11597 PyObject
*resultobj
;
11598 wxGIFHandler
*result
;
11599 char *kwnames
[] = {
11603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GIFHandler",kwnames
)) goto fail
;
11605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11606 result
= (wxGIFHandler
*)new wxGIFHandler();
11608 wxPyEndAllowThreads(__tstate
);
11609 if (PyErr_Occurred()) SWIG_fail
;
11611 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGIFHandler
, 1);
11618 static PyObject
* GIFHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11620 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11621 SWIG_TypeClientData(SWIGTYPE_p_wxGIFHandler
, obj
);
11623 return Py_BuildValue((char *)"");
11625 static PyObject
*_wrap_new_PCXHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11626 PyObject
*resultobj
;
11627 wxPCXHandler
*result
;
11628 char *kwnames
[] = {
11632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PCXHandler",kwnames
)) goto fail
;
11634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11635 result
= (wxPCXHandler
*)new wxPCXHandler();
11637 wxPyEndAllowThreads(__tstate
);
11638 if (PyErr_Occurred()) SWIG_fail
;
11640 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPCXHandler
, 1);
11647 static PyObject
* PCXHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11649 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11650 SWIG_TypeClientData(SWIGTYPE_p_wxPCXHandler
, obj
);
11652 return Py_BuildValue((char *)"");
11654 static PyObject
*_wrap_new_JPEGHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11655 PyObject
*resultobj
;
11656 wxJPEGHandler
*result
;
11657 char *kwnames
[] = {
11661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_JPEGHandler",kwnames
)) goto fail
;
11663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11664 result
= (wxJPEGHandler
*)new wxJPEGHandler();
11666 wxPyEndAllowThreads(__tstate
);
11667 if (PyErr_Occurred()) SWIG_fail
;
11669 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJPEGHandler
, 1);
11676 static PyObject
* JPEGHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11678 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11679 SWIG_TypeClientData(SWIGTYPE_p_wxJPEGHandler
, obj
);
11681 return Py_BuildValue((char *)"");
11683 static PyObject
*_wrap_new_PNMHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11684 PyObject
*resultobj
;
11685 wxPNMHandler
*result
;
11686 char *kwnames
[] = {
11690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PNMHandler",kwnames
)) goto fail
;
11692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11693 result
= (wxPNMHandler
*)new wxPNMHandler();
11695 wxPyEndAllowThreads(__tstate
);
11696 if (PyErr_Occurred()) SWIG_fail
;
11698 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPNMHandler
, 1);
11705 static PyObject
* PNMHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11707 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11708 SWIG_TypeClientData(SWIGTYPE_p_wxPNMHandler
, obj
);
11710 return Py_BuildValue((char *)"");
11712 static PyObject
*_wrap_new_XPMHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11713 PyObject
*resultobj
;
11714 wxXPMHandler
*result
;
11715 char *kwnames
[] = {
11719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_XPMHandler",kwnames
)) goto fail
;
11721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11722 result
= (wxXPMHandler
*)new wxXPMHandler();
11724 wxPyEndAllowThreads(__tstate
);
11725 if (PyErr_Occurred()) SWIG_fail
;
11727 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxXPMHandler
, 1);
11734 static PyObject
* XPMHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11736 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11737 SWIG_TypeClientData(SWIGTYPE_p_wxXPMHandler
, obj
);
11739 return Py_BuildValue((char *)"");
11741 static PyObject
*_wrap_new_TIFFHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11742 PyObject
*resultobj
;
11743 wxTIFFHandler
*result
;
11744 char *kwnames
[] = {
11748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TIFFHandler",kwnames
)) goto fail
;
11750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11751 result
= (wxTIFFHandler
*)new wxTIFFHandler();
11753 wxPyEndAllowThreads(__tstate
);
11754 if (PyErr_Occurred()) SWIG_fail
;
11756 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTIFFHandler
, 1);
11763 static PyObject
* TIFFHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11765 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11766 SWIG_TypeClientData(SWIGTYPE_p_wxTIFFHandler
, obj
);
11768 return Py_BuildValue((char *)"");
11770 static PyObject
*_wrap_new_EvtHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11771 PyObject
*resultobj
;
11772 wxEvtHandler
*result
;
11773 char *kwnames
[] = {
11777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EvtHandler",kwnames
)) goto fail
;
11779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11780 result
= (wxEvtHandler
*)new wxEvtHandler();
11782 wxPyEndAllowThreads(__tstate
);
11783 if (PyErr_Occurred()) SWIG_fail
;
11785 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvtHandler
, 1);
11792 static PyObject
*_wrap_EvtHandler_GetNextHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11793 PyObject
*resultobj
;
11794 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11795 wxEvtHandler
*result
;
11796 PyObject
* obj0
= 0 ;
11797 char *kwnames
[] = {
11798 (char *) "self", NULL
11801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetNextHandler",kwnames
,&obj0
)) goto fail
;
11802 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11803 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11806 result
= (wxEvtHandler
*)(arg1
)->GetNextHandler();
11808 wxPyEndAllowThreads(__tstate
);
11809 if (PyErr_Occurred()) SWIG_fail
;
11812 resultobj
= wxPyMake_wxObject(result
, 0);
11820 static PyObject
*_wrap_EvtHandler_GetPreviousHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11821 PyObject
*resultobj
;
11822 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11823 wxEvtHandler
*result
;
11824 PyObject
* obj0
= 0 ;
11825 char *kwnames
[] = {
11826 (char *) "self", NULL
11829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetPreviousHandler",kwnames
,&obj0
)) goto fail
;
11830 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11831 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11834 result
= (wxEvtHandler
*)(arg1
)->GetPreviousHandler();
11836 wxPyEndAllowThreads(__tstate
);
11837 if (PyErr_Occurred()) SWIG_fail
;
11840 resultobj
= wxPyMake_wxObject(result
, 0);
11848 static PyObject
*_wrap_EvtHandler_SetNextHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11849 PyObject
*resultobj
;
11850 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11851 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
11852 PyObject
* obj0
= 0 ;
11853 PyObject
* obj1
= 0 ;
11854 char *kwnames
[] = {
11855 (char *) "self",(char *) "handler", NULL
11858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetNextHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
11859 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11860 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11861 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
11862 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11865 (arg1
)->SetNextHandler(arg2
);
11867 wxPyEndAllowThreads(__tstate
);
11868 if (PyErr_Occurred()) SWIG_fail
;
11870 Py_INCREF(Py_None
); resultobj
= Py_None
;
11877 static PyObject
*_wrap_EvtHandler_SetPreviousHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11878 PyObject
*resultobj
;
11879 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11880 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
11881 PyObject
* obj0
= 0 ;
11882 PyObject
* obj1
= 0 ;
11883 char *kwnames
[] = {
11884 (char *) "self",(char *) "handler", NULL
11887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetPreviousHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
11888 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11889 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11890 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
11891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11894 (arg1
)->SetPreviousHandler(arg2
);
11896 wxPyEndAllowThreads(__tstate
);
11897 if (PyErr_Occurred()) SWIG_fail
;
11899 Py_INCREF(Py_None
); resultobj
= Py_None
;
11906 static PyObject
*_wrap_EvtHandler_GetEvtHandlerEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11907 PyObject
*resultobj
;
11908 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11910 PyObject
* obj0
= 0 ;
11911 char *kwnames
[] = {
11912 (char *) "self", NULL
11915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetEvtHandlerEnabled",kwnames
,&obj0
)) goto fail
;
11916 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11917 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11920 result
= (bool)(arg1
)->GetEvtHandlerEnabled();
11922 wxPyEndAllowThreads(__tstate
);
11923 if (PyErr_Occurred()) SWIG_fail
;
11926 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11934 static PyObject
*_wrap_EvtHandler_SetEvtHandlerEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11935 PyObject
*resultobj
;
11936 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11938 PyObject
* obj0
= 0 ;
11939 PyObject
* obj1
= 0 ;
11940 char *kwnames
[] = {
11941 (char *) "self",(char *) "enabled", NULL
11944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetEvtHandlerEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
11945 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11946 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11947 arg2
= (bool) SWIG_AsBool(obj1
);
11948 if (PyErr_Occurred()) SWIG_fail
;
11950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11951 (arg1
)->SetEvtHandlerEnabled(arg2
);
11953 wxPyEndAllowThreads(__tstate
);
11954 if (PyErr_Occurred()) SWIG_fail
;
11956 Py_INCREF(Py_None
); resultobj
= Py_None
;
11963 static PyObject
*_wrap_EvtHandler_ProcessEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11964 PyObject
*resultobj
;
11965 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11966 wxEvent
*arg2
= 0 ;
11968 PyObject
* obj0
= 0 ;
11969 PyObject
* obj1
= 0 ;
11970 char *kwnames
[] = {
11971 (char *) "self",(char *) "event", NULL
11974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_ProcessEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
11975 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11976 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11977 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvent
,
11978 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11980 if (arg2
== NULL
) {
11981 PyErr_SetString(PyExc_TypeError
,"null reference");
11985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11986 result
= (bool)(arg1
)->ProcessEvent(*arg2
);
11988 wxPyEndAllowThreads(__tstate
);
11989 if (PyErr_Occurred()) SWIG_fail
;
11992 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12000 static PyObject
*_wrap_EvtHandler_AddPendingEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12001 PyObject
*resultobj
;
12002 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12003 wxEvent
*arg2
= 0 ;
12004 PyObject
* obj0
= 0 ;
12005 PyObject
* obj1
= 0 ;
12006 char *kwnames
[] = {
12007 (char *) "self",(char *) "event", NULL
12010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_AddPendingEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
12011 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12012 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12013 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvent
,
12014 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12016 if (arg2
== NULL
) {
12017 PyErr_SetString(PyExc_TypeError
,"null reference");
12021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12022 (arg1
)->AddPendingEvent(*arg2
);
12024 wxPyEndAllowThreads(__tstate
);
12025 if (PyErr_Occurred()) SWIG_fail
;
12027 Py_INCREF(Py_None
); resultobj
= Py_None
;
12034 static PyObject
*_wrap_EvtHandler_ProcessPendingEvents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12035 PyObject
*resultobj
;
12036 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12037 PyObject
* obj0
= 0 ;
12038 char *kwnames
[] = {
12039 (char *) "self", NULL
12042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_ProcessPendingEvents",kwnames
,&obj0
)) goto fail
;
12043 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12044 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12047 (arg1
)->ProcessPendingEvents();
12049 wxPyEndAllowThreads(__tstate
);
12050 if (PyErr_Occurred()) SWIG_fail
;
12052 Py_INCREF(Py_None
); resultobj
= Py_None
;
12059 static PyObject
*_wrap_EvtHandler_Connect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12060 PyObject
*resultobj
;
12061 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12065 PyObject
*arg5
= (PyObject
*) 0 ;
12066 PyObject
* obj0
= 0 ;
12067 PyObject
* obj1
= 0 ;
12068 PyObject
* obj2
= 0 ;
12069 PyObject
* obj3
= 0 ;
12070 PyObject
* obj4
= 0 ;
12071 char *kwnames
[] = {
12072 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType",(char *) "func", NULL
12075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:EvtHandler_Connect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12076 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12077 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12078 arg2
= (int) SWIG_AsInt(obj1
);
12079 if (PyErr_Occurred()) SWIG_fail
;
12080 arg3
= (int) SWIG_AsInt(obj2
);
12081 if (PyErr_Occurred()) SWIG_fail
;
12082 arg4
= (int) SWIG_AsInt(obj3
);
12083 if (PyErr_Occurred()) SWIG_fail
;
12086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12087 wxEvtHandler_Connect(arg1
,arg2
,arg3
,arg4
,arg5
);
12089 wxPyEndAllowThreads(__tstate
);
12090 if (PyErr_Occurred()) SWIG_fail
;
12092 Py_INCREF(Py_None
); resultobj
= Py_None
;
12099 static PyObject
*_wrap_EvtHandler_Disconnect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12100 PyObject
*resultobj
;
12101 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12103 int arg3
= (int) -1 ;
12104 wxEventType arg4
= (wxEventType
) wxEVT_NULL
;
12106 PyObject
* obj0
= 0 ;
12107 PyObject
* obj1
= 0 ;
12108 PyObject
* obj2
= 0 ;
12109 PyObject
* obj3
= 0 ;
12110 char *kwnames
[] = {
12111 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType", NULL
12114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:EvtHandler_Disconnect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12115 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12116 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12117 arg2
= (int) SWIG_AsInt(obj1
);
12118 if (PyErr_Occurred()) SWIG_fail
;
12120 arg3
= (int) SWIG_AsInt(obj2
);
12121 if (PyErr_Occurred()) SWIG_fail
;
12124 arg4
= (wxEventType
) SWIG_AsInt(obj3
);
12125 if (PyErr_Occurred()) SWIG_fail
;
12128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12129 result
= (bool)wxEvtHandler_Disconnect(arg1
,arg2
,arg3
,arg4
);
12131 wxPyEndAllowThreads(__tstate
);
12132 if (PyErr_Occurred()) SWIG_fail
;
12135 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12143 static PyObject
*_wrap_EvtHandler__setOORInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12144 PyObject
*resultobj
;
12145 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12146 PyObject
*arg2
= (PyObject
*) 0 ;
12147 PyObject
* obj0
= 0 ;
12148 PyObject
* obj1
= 0 ;
12149 char *kwnames
[] = {
12150 (char *) "self",(char *) "_self", NULL
12153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
12154 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12155 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12159 wxEvtHandler__setOORInfo(arg1
,arg2
);
12161 wxPyEndAllowThreads(__tstate
);
12162 if (PyErr_Occurred()) SWIG_fail
;
12164 Py_INCREF(Py_None
); resultobj
= Py_None
;
12171 static PyObject
* EvtHandler_swigregister(PyObject
*self
, PyObject
*args
) {
12173 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12174 SWIG_TypeClientData(SWIGTYPE_p_wxEvtHandler
, obj
);
12176 return Py_BuildValue((char *)"");
12178 static PyObject
*_wrap_NewEventType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12179 PyObject
*resultobj
;
12180 wxEventType result
;
12181 char *kwnames
[] = {
12185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":NewEventType",kwnames
)) goto fail
;
12187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12188 result
= (wxEventType
)wxNewEventType();
12190 wxPyEndAllowThreads(__tstate
);
12191 if (PyErr_Occurred()) SWIG_fail
;
12193 resultobj
= SWIG_FromInt((int)result
);
12200 static PyObject
*_wrap_delete_Event(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12201 PyObject
*resultobj
;
12202 wxEvent
*arg1
= (wxEvent
*) 0 ;
12203 PyObject
* obj0
= 0 ;
12204 char *kwnames
[] = {
12205 (char *) "self", NULL
12208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Event",kwnames
,&obj0
)) goto fail
;
12209 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12210 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12215 wxPyEndAllowThreads(__tstate
);
12216 if (PyErr_Occurred()) SWIG_fail
;
12218 Py_INCREF(Py_None
); resultobj
= Py_None
;
12225 static PyObject
*_wrap_Event_SetEventType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12226 PyObject
*resultobj
;
12227 wxEvent
*arg1
= (wxEvent
*) 0 ;
12229 PyObject
* obj0
= 0 ;
12230 PyObject
* obj1
= 0 ;
12231 char *kwnames
[] = {
12232 (char *) "self",(char *) "typ", NULL
12235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetEventType",kwnames
,&obj0
,&obj1
)) goto fail
;
12236 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12237 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12238 arg2
= (wxEventType
) SWIG_AsInt(obj1
);
12239 if (PyErr_Occurred()) SWIG_fail
;
12241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12242 (arg1
)->SetEventType(arg2
);
12244 wxPyEndAllowThreads(__tstate
);
12245 if (PyErr_Occurred()) SWIG_fail
;
12247 Py_INCREF(Py_None
); resultobj
= Py_None
;
12254 static PyObject
*_wrap_Event_GetEventType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12255 PyObject
*resultobj
;
12256 wxEvent
*arg1
= (wxEvent
*) 0 ;
12257 wxEventType result
;
12258 PyObject
* obj0
= 0 ;
12259 char *kwnames
[] = {
12260 (char *) "self", NULL
12263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetEventType",kwnames
,&obj0
)) goto fail
;
12264 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12268 result
= (wxEventType
)((wxEvent
const *)arg1
)->GetEventType();
12270 wxPyEndAllowThreads(__tstate
);
12271 if (PyErr_Occurred()) SWIG_fail
;
12273 resultobj
= SWIG_FromInt((int)result
);
12280 static PyObject
*_wrap_Event_GetEventObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12281 PyObject
*resultobj
;
12282 wxEvent
*arg1
= (wxEvent
*) 0 ;
12284 PyObject
* obj0
= 0 ;
12285 char *kwnames
[] = {
12286 (char *) "self", NULL
12289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetEventObject",kwnames
,&obj0
)) goto fail
;
12290 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12291 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12294 result
= (wxObject
*)((wxEvent
const *)arg1
)->GetEventObject();
12296 wxPyEndAllowThreads(__tstate
);
12297 if (PyErr_Occurred()) SWIG_fail
;
12300 resultobj
= wxPyMake_wxObject(result
, 0);
12308 static PyObject
*_wrap_Event_SetEventObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12309 PyObject
*resultobj
;
12310 wxEvent
*arg1
= (wxEvent
*) 0 ;
12311 wxObject
*arg2
= (wxObject
*) 0 ;
12312 PyObject
* obj0
= 0 ;
12313 PyObject
* obj1
= 0 ;
12314 char *kwnames
[] = {
12315 (char *) "self",(char *) "obj", NULL
12318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetEventObject",kwnames
,&obj0
,&obj1
)) goto fail
;
12319 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12320 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12321 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxObject
,
12322 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12325 (arg1
)->SetEventObject(arg2
);
12327 wxPyEndAllowThreads(__tstate
);
12328 if (PyErr_Occurred()) SWIG_fail
;
12330 Py_INCREF(Py_None
); resultobj
= Py_None
;
12337 static PyObject
*_wrap_Event_GetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12338 PyObject
*resultobj
;
12339 wxEvent
*arg1
= (wxEvent
*) 0 ;
12341 PyObject
* obj0
= 0 ;
12342 char *kwnames
[] = {
12343 (char *) "self", NULL
12346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetTimestamp",kwnames
,&obj0
)) goto fail
;
12347 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12348 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12351 result
= (long)((wxEvent
const *)arg1
)->GetTimestamp();
12353 wxPyEndAllowThreads(__tstate
);
12354 if (PyErr_Occurred()) SWIG_fail
;
12356 resultobj
= SWIG_FromLong((long)result
);
12363 static PyObject
*_wrap_Event_SetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12364 PyObject
*resultobj
;
12365 wxEvent
*arg1
= (wxEvent
*) 0 ;
12366 long arg2
= (long) 0 ;
12367 PyObject
* obj0
= 0 ;
12368 PyObject
* obj1
= 0 ;
12369 char *kwnames
[] = {
12370 (char *) "self",(char *) "ts", NULL
12373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Event_SetTimestamp",kwnames
,&obj0
,&obj1
)) goto fail
;
12374 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12375 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12377 arg2
= (long) SWIG_AsLong(obj1
);
12378 if (PyErr_Occurred()) SWIG_fail
;
12381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12382 (arg1
)->SetTimestamp(arg2
);
12384 wxPyEndAllowThreads(__tstate
);
12385 if (PyErr_Occurred()) SWIG_fail
;
12387 Py_INCREF(Py_None
); resultobj
= Py_None
;
12394 static PyObject
*_wrap_Event_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12395 PyObject
*resultobj
;
12396 wxEvent
*arg1
= (wxEvent
*) 0 ;
12398 PyObject
* obj0
= 0 ;
12399 char *kwnames
[] = {
12400 (char *) "self", NULL
12403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetId",kwnames
,&obj0
)) goto fail
;
12404 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12405 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12408 result
= (int)((wxEvent
const *)arg1
)->GetId();
12410 wxPyEndAllowThreads(__tstate
);
12411 if (PyErr_Occurred()) SWIG_fail
;
12413 resultobj
= SWIG_FromInt((int)result
);
12420 static PyObject
*_wrap_Event_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12421 PyObject
*resultobj
;
12422 wxEvent
*arg1
= (wxEvent
*) 0 ;
12424 PyObject
* obj0
= 0 ;
12425 PyObject
* obj1
= 0 ;
12426 char *kwnames
[] = {
12427 (char *) "self",(char *) "Id", NULL
12430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
12431 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12432 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12433 arg2
= (int) SWIG_AsInt(obj1
);
12434 if (PyErr_Occurred()) SWIG_fail
;
12436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12437 (arg1
)->SetId(arg2
);
12439 wxPyEndAllowThreads(__tstate
);
12440 if (PyErr_Occurred()) SWIG_fail
;
12442 Py_INCREF(Py_None
); resultobj
= Py_None
;
12449 static PyObject
*_wrap_Event_IsCommandEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12450 PyObject
*resultobj
;
12451 wxEvent
*arg1
= (wxEvent
*) 0 ;
12453 PyObject
* obj0
= 0 ;
12454 char *kwnames
[] = {
12455 (char *) "self", NULL
12458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_IsCommandEvent",kwnames
,&obj0
)) goto fail
;
12459 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12460 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12463 result
= (bool)((wxEvent
const *)arg1
)->IsCommandEvent();
12465 wxPyEndAllowThreads(__tstate
);
12466 if (PyErr_Occurred()) SWIG_fail
;
12469 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12477 static PyObject
*_wrap_Event_Skip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12478 PyObject
*resultobj
;
12479 wxEvent
*arg1
= (wxEvent
*) 0 ;
12480 bool arg2
= (bool) True
;
12481 PyObject
* obj0
= 0 ;
12482 PyObject
* obj1
= 0 ;
12483 char *kwnames
[] = {
12484 (char *) "self",(char *) "skip", NULL
12487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Event_Skip",kwnames
,&obj0
,&obj1
)) goto fail
;
12488 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12489 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12491 arg2
= (bool) SWIG_AsBool(obj1
);
12492 if (PyErr_Occurred()) SWIG_fail
;
12495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12496 (arg1
)->Skip(arg2
);
12498 wxPyEndAllowThreads(__tstate
);
12499 if (PyErr_Occurred()) SWIG_fail
;
12501 Py_INCREF(Py_None
); resultobj
= Py_None
;
12508 static PyObject
*_wrap_Event_GetSkipped(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12509 PyObject
*resultobj
;
12510 wxEvent
*arg1
= (wxEvent
*) 0 ;
12512 PyObject
* obj0
= 0 ;
12513 char *kwnames
[] = {
12514 (char *) "self", NULL
12517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetSkipped",kwnames
,&obj0
)) goto fail
;
12518 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12519 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12522 result
= (bool)((wxEvent
const *)arg1
)->GetSkipped();
12524 wxPyEndAllowThreads(__tstate
);
12525 if (PyErr_Occurred()) SWIG_fail
;
12528 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12536 static PyObject
*_wrap_Event_ShouldPropagate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12537 PyObject
*resultobj
;
12538 wxEvent
*arg1
= (wxEvent
*) 0 ;
12540 PyObject
* obj0
= 0 ;
12541 char *kwnames
[] = {
12542 (char *) "self", NULL
12545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_ShouldPropagate",kwnames
,&obj0
)) goto fail
;
12546 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12547 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12550 result
= (bool)((wxEvent
const *)arg1
)->ShouldPropagate();
12552 wxPyEndAllowThreads(__tstate
);
12553 if (PyErr_Occurred()) SWIG_fail
;
12556 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12564 static PyObject
*_wrap_Event_StopPropagation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12565 PyObject
*resultobj
;
12566 wxEvent
*arg1
= (wxEvent
*) 0 ;
12568 PyObject
* obj0
= 0 ;
12569 char *kwnames
[] = {
12570 (char *) "self", NULL
12573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_StopPropagation",kwnames
,&obj0
)) goto fail
;
12574 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12575 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12578 result
= (int)(arg1
)->StopPropagation();
12580 wxPyEndAllowThreads(__tstate
);
12581 if (PyErr_Occurred()) SWIG_fail
;
12583 resultobj
= SWIG_FromInt((int)result
);
12590 static PyObject
*_wrap_Event_ResumePropagation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12591 PyObject
*resultobj
;
12592 wxEvent
*arg1
= (wxEvent
*) 0 ;
12594 PyObject
* obj0
= 0 ;
12595 PyObject
* obj1
= 0 ;
12596 char *kwnames
[] = {
12597 (char *) "self",(char *) "propagationLevel", NULL
12600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_ResumePropagation",kwnames
,&obj0
,&obj1
)) goto fail
;
12601 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12602 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12603 arg2
= (int) SWIG_AsInt(obj1
);
12604 if (PyErr_Occurred()) SWIG_fail
;
12606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12607 (arg1
)->ResumePropagation(arg2
);
12609 wxPyEndAllowThreads(__tstate
);
12610 if (PyErr_Occurred()) SWIG_fail
;
12612 Py_INCREF(Py_None
); resultobj
= Py_None
;
12619 static PyObject
*_wrap_Event_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12620 PyObject
*resultobj
;
12621 wxEvent
*arg1
= (wxEvent
*) 0 ;
12623 PyObject
* obj0
= 0 ;
12624 char *kwnames
[] = {
12625 (char *) "self", NULL
12628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_Clone",kwnames
,&obj0
)) goto fail
;
12629 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12630 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12633 result
= (wxEvent
*)(arg1
)->Clone();
12635 wxPyEndAllowThreads(__tstate
);
12636 if (PyErr_Occurred()) SWIG_fail
;
12638 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvent
, 0);
12645 static PyObject
* Event_swigregister(PyObject
*self
, PyObject
*args
) {
12647 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12648 SWIG_TypeClientData(SWIGTYPE_p_wxEvent
, obj
);
12650 return Py_BuildValue((char *)"");
12652 static PyObject
*_wrap_new_PropagationDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12653 PyObject
*resultobj
;
12654 wxEvent
*arg1
= 0 ;
12655 wxPropagationDisabler
*result
;
12656 PyObject
* obj0
= 0 ;
12657 char *kwnames
[] = {
12658 (char *) "event", NULL
12661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagationDisabler",kwnames
,&obj0
)) goto fail
;
12662 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12663 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12665 if (arg1
== NULL
) {
12666 PyErr_SetString(PyExc_TypeError
,"null reference");
12670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12671 result
= (wxPropagationDisabler
*)new wxPropagationDisabler(*arg1
);
12673 wxPyEndAllowThreads(__tstate
);
12674 if (PyErr_Occurred()) SWIG_fail
;
12676 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPropagationDisabler
, 1);
12683 static PyObject
*_wrap_delete_PropagationDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12684 PyObject
*resultobj
;
12685 wxPropagationDisabler
*arg1
= (wxPropagationDisabler
*) 0 ;
12686 PyObject
* obj0
= 0 ;
12687 char *kwnames
[] = {
12688 (char *) "self", NULL
12691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PropagationDisabler",kwnames
,&obj0
)) goto fail
;
12692 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPropagationDisabler
,
12693 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12698 wxPyEndAllowThreads(__tstate
);
12699 if (PyErr_Occurred()) SWIG_fail
;
12701 Py_INCREF(Py_None
); resultobj
= Py_None
;
12708 static PyObject
* PropagationDisabler_swigregister(PyObject
*self
, PyObject
*args
) {
12710 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12711 SWIG_TypeClientData(SWIGTYPE_p_wxPropagationDisabler
, obj
);
12713 return Py_BuildValue((char *)"");
12715 static PyObject
*_wrap_new_PropagateOnce(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12716 PyObject
*resultobj
;
12717 wxEvent
*arg1
= 0 ;
12718 wxPropagateOnce
*result
;
12719 PyObject
* obj0
= 0 ;
12720 char *kwnames
[] = {
12721 (char *) "event", NULL
12724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagateOnce",kwnames
,&obj0
)) goto fail
;
12725 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12726 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12728 if (arg1
== NULL
) {
12729 PyErr_SetString(PyExc_TypeError
,"null reference");
12733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12734 result
= (wxPropagateOnce
*)new wxPropagateOnce(*arg1
);
12736 wxPyEndAllowThreads(__tstate
);
12737 if (PyErr_Occurred()) SWIG_fail
;
12739 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPropagateOnce
, 1);
12746 static PyObject
*_wrap_delete_PropagateOnce(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12747 PyObject
*resultobj
;
12748 wxPropagateOnce
*arg1
= (wxPropagateOnce
*) 0 ;
12749 PyObject
* obj0
= 0 ;
12750 char *kwnames
[] = {
12751 (char *) "self", NULL
12754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PropagateOnce",kwnames
,&obj0
)) goto fail
;
12755 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPropagateOnce
,
12756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12761 wxPyEndAllowThreads(__tstate
);
12762 if (PyErr_Occurred()) SWIG_fail
;
12764 Py_INCREF(Py_None
); resultobj
= Py_None
;
12771 static PyObject
* PropagateOnce_swigregister(PyObject
*self
, PyObject
*args
) {
12773 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12774 SWIG_TypeClientData(SWIGTYPE_p_wxPropagateOnce
, obj
);
12776 return Py_BuildValue((char *)"");
12778 static PyObject
*_wrap_new_CommandEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12779 PyObject
*resultobj
;
12780 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
12781 int arg2
= (int) 0 ;
12782 wxCommandEvent
*result
;
12783 PyObject
* obj0
= 0 ;
12784 PyObject
* obj1
= 0 ;
12785 char *kwnames
[] = {
12786 (char *) "commandType",(char *) "winid", NULL
12789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_CommandEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
12791 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
12792 if (PyErr_Occurred()) SWIG_fail
;
12795 arg2
= (int) SWIG_AsInt(obj1
);
12796 if (PyErr_Occurred()) SWIG_fail
;
12799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12800 result
= (wxCommandEvent
*)new wxCommandEvent(arg1
,arg2
);
12802 wxPyEndAllowThreads(__tstate
);
12803 if (PyErr_Occurred()) SWIG_fail
;
12805 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCommandEvent
, 1);
12812 static PyObject
*_wrap_CommandEvent_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12813 PyObject
*resultobj
;
12814 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12816 PyObject
* obj0
= 0 ;
12817 char *kwnames
[] = {
12818 (char *) "self", NULL
12821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetSelection",kwnames
,&obj0
)) goto fail
;
12822 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12823 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12826 result
= (int)((wxCommandEvent
const *)arg1
)->GetSelection();
12828 wxPyEndAllowThreads(__tstate
);
12829 if (PyErr_Occurred()) SWIG_fail
;
12831 resultobj
= SWIG_FromInt((int)result
);
12838 static PyObject
*_wrap_CommandEvent_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12839 PyObject
*resultobj
;
12840 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12841 wxString
*arg2
= 0 ;
12842 bool temp2
= False
;
12843 PyObject
* obj0
= 0 ;
12844 PyObject
* obj1
= 0 ;
12845 char *kwnames
[] = {
12846 (char *) "self",(char *) "s", NULL
12849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetString",kwnames
,&obj0
,&obj1
)) goto fail
;
12850 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12851 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12853 arg2
= wxString_in_helper(obj1
);
12854 if (arg2
== NULL
) SWIG_fail
;
12858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12859 (arg1
)->SetString((wxString
const &)*arg2
);
12861 wxPyEndAllowThreads(__tstate
);
12862 if (PyErr_Occurred()) SWIG_fail
;
12864 Py_INCREF(Py_None
); resultobj
= Py_None
;
12879 static PyObject
*_wrap_CommandEvent_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12880 PyObject
*resultobj
;
12881 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12883 PyObject
* obj0
= 0 ;
12884 char *kwnames
[] = {
12885 (char *) "self", NULL
12888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetString",kwnames
,&obj0
)) goto fail
;
12889 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12890 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12893 result
= ((wxCommandEvent
const *)arg1
)->GetString();
12895 wxPyEndAllowThreads(__tstate
);
12896 if (PyErr_Occurred()) SWIG_fail
;
12900 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12902 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12911 static PyObject
*_wrap_CommandEvent_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12912 PyObject
*resultobj
;
12913 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12915 PyObject
* obj0
= 0 ;
12916 char *kwnames
[] = {
12917 (char *) "self", NULL
12920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_IsChecked",kwnames
,&obj0
)) goto fail
;
12921 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12925 result
= (bool)((wxCommandEvent
const *)arg1
)->IsChecked();
12927 wxPyEndAllowThreads(__tstate
);
12928 if (PyErr_Occurred()) SWIG_fail
;
12931 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12939 static PyObject
*_wrap_CommandEvent_IsSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12940 PyObject
*resultobj
;
12941 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12943 PyObject
* obj0
= 0 ;
12944 char *kwnames
[] = {
12945 (char *) "self", NULL
12948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_IsSelection",kwnames
,&obj0
)) goto fail
;
12949 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12950 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12953 result
= (bool)((wxCommandEvent
const *)arg1
)->IsSelection();
12955 wxPyEndAllowThreads(__tstate
);
12956 if (PyErr_Occurred()) SWIG_fail
;
12959 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12967 static PyObject
*_wrap_CommandEvent_SetExtraLong(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12968 PyObject
*resultobj
;
12969 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12971 PyObject
* obj0
= 0 ;
12972 PyObject
* obj1
= 0 ;
12973 char *kwnames
[] = {
12974 (char *) "self",(char *) "extraLong", NULL
12977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetExtraLong",kwnames
,&obj0
,&obj1
)) goto fail
;
12978 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12979 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12980 arg2
= (long) SWIG_AsLong(obj1
);
12981 if (PyErr_Occurred()) SWIG_fail
;
12983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12984 (arg1
)->SetExtraLong(arg2
);
12986 wxPyEndAllowThreads(__tstate
);
12987 if (PyErr_Occurred()) SWIG_fail
;
12989 Py_INCREF(Py_None
); resultobj
= Py_None
;
12996 static PyObject
*_wrap_CommandEvent_GetExtraLong(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12997 PyObject
*resultobj
;
12998 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13000 PyObject
* obj0
= 0 ;
13001 char *kwnames
[] = {
13002 (char *) "self", NULL
13005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetExtraLong",kwnames
,&obj0
)) goto fail
;
13006 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13007 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13010 result
= (long)((wxCommandEvent
const *)arg1
)->GetExtraLong();
13012 wxPyEndAllowThreads(__tstate
);
13013 if (PyErr_Occurred()) SWIG_fail
;
13015 resultobj
= SWIG_FromLong((long)result
);
13022 static PyObject
*_wrap_CommandEvent_SetInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13023 PyObject
*resultobj
;
13024 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13026 PyObject
* obj0
= 0 ;
13027 PyObject
* obj1
= 0 ;
13028 char *kwnames
[] = {
13029 (char *) "self",(char *) "i", NULL
13032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetInt",kwnames
,&obj0
,&obj1
)) goto fail
;
13033 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13034 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13035 arg2
= (int) SWIG_AsInt(obj1
);
13036 if (PyErr_Occurred()) SWIG_fail
;
13038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13039 (arg1
)->SetInt(arg2
);
13041 wxPyEndAllowThreads(__tstate
);
13042 if (PyErr_Occurred()) SWIG_fail
;
13044 Py_INCREF(Py_None
); resultobj
= Py_None
;
13051 static PyObject
*_wrap_CommandEvent_GetInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13052 PyObject
*resultobj
;
13053 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13055 PyObject
* obj0
= 0 ;
13056 char *kwnames
[] = {
13057 (char *) "self", NULL
13060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetInt",kwnames
,&obj0
)) goto fail
;
13061 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13062 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13065 result
= (long)((wxCommandEvent
const *)arg1
)->GetInt();
13067 wxPyEndAllowThreads(__tstate
);
13068 if (PyErr_Occurred()) SWIG_fail
;
13070 resultobj
= SWIG_FromLong((long)result
);
13077 static PyObject
*_wrap_CommandEvent_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13078 PyObject
*resultobj
;
13079 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13081 PyObject
* obj0
= 0 ;
13082 char *kwnames
[] = {
13083 (char *) "self", NULL
13086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_Clone",kwnames
,&obj0
)) goto fail
;
13087 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13088 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13091 result
= (wxEvent
*)((wxCommandEvent
const *)arg1
)->Clone();
13093 wxPyEndAllowThreads(__tstate
);
13094 if (PyErr_Occurred()) SWIG_fail
;
13096 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvent
, 0);
13103 static PyObject
* CommandEvent_swigregister(PyObject
*self
, PyObject
*args
) {
13105 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13106 SWIG_TypeClientData(SWIGTYPE_p_wxCommandEvent
, obj
);
13108 return Py_BuildValue((char *)"");
13110 static PyObject
*_wrap_new_NotifyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13111 PyObject
*resultobj
;
13112 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13113 int arg2
= (int) 0 ;
13114 wxNotifyEvent
*result
;
13115 PyObject
* obj0
= 0 ;
13116 PyObject
* obj1
= 0 ;
13117 char *kwnames
[] = {
13118 (char *) "commandType",(char *) "winid", NULL
13121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_NotifyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
13123 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
13124 if (PyErr_Occurred()) SWIG_fail
;
13127 arg2
= (int) SWIG_AsInt(obj1
);
13128 if (PyErr_Occurred()) SWIG_fail
;
13131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13132 result
= (wxNotifyEvent
*)new wxNotifyEvent(arg1
,arg2
);
13134 wxPyEndAllowThreads(__tstate
);
13135 if (PyErr_Occurred()) SWIG_fail
;
13137 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotifyEvent
, 1);
13144 static PyObject
*_wrap_NotifyEvent_Veto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13145 PyObject
*resultobj
;
13146 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
13147 PyObject
* obj0
= 0 ;
13148 char *kwnames
[] = {
13149 (char *) "self", NULL
13152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_Veto",kwnames
,&obj0
)) goto fail
;
13153 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotifyEvent
,
13154 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13159 wxPyEndAllowThreads(__tstate
);
13160 if (PyErr_Occurred()) SWIG_fail
;
13162 Py_INCREF(Py_None
); resultobj
= Py_None
;
13169 static PyObject
*_wrap_NotifyEvent_Allow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13170 PyObject
*resultobj
;
13171 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
13172 PyObject
* obj0
= 0 ;
13173 char *kwnames
[] = {
13174 (char *) "self", NULL
13177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_Allow",kwnames
,&obj0
)) goto fail
;
13178 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotifyEvent
,
13179 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13184 wxPyEndAllowThreads(__tstate
);
13185 if (PyErr_Occurred()) SWIG_fail
;
13187 Py_INCREF(Py_None
); resultobj
= Py_None
;
13194 static PyObject
*_wrap_NotifyEvent_IsAllowed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13195 PyObject
*resultobj
;
13196 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
13198 PyObject
* obj0
= 0 ;
13199 char *kwnames
[] = {
13200 (char *) "self", NULL
13203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_IsAllowed",kwnames
,&obj0
)) goto fail
;
13204 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotifyEvent
,
13205 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13208 result
= (bool)(arg1
)->IsAllowed();
13210 wxPyEndAllowThreads(__tstate
);
13211 if (PyErr_Occurred()) SWIG_fail
;
13214 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13222 static PyObject
* NotifyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
13224 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13225 SWIG_TypeClientData(SWIGTYPE_p_wxNotifyEvent
, obj
);
13227 return Py_BuildValue((char *)"");
13229 static PyObject
*_wrap_new_ScrollEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13230 PyObject
*resultobj
;
13231 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13232 int arg2
= (int) 0 ;
13233 int arg3
= (int) 0 ;
13234 int arg4
= (int) 0 ;
13235 wxScrollEvent
*result
;
13236 PyObject
* obj0
= 0 ;
13237 PyObject
* obj1
= 0 ;
13238 PyObject
* obj2
= 0 ;
13239 PyObject
* obj3
= 0 ;
13240 char *kwnames
[] = {
13241 (char *) "commandType",(char *) "winid",(char *) "pos",(char *) "orient", NULL
13244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ScrollEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13246 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
13247 if (PyErr_Occurred()) SWIG_fail
;
13250 arg2
= (int) SWIG_AsInt(obj1
);
13251 if (PyErr_Occurred()) SWIG_fail
;
13254 arg3
= (int) SWIG_AsInt(obj2
);
13255 if (PyErr_Occurred()) SWIG_fail
;
13258 arg4
= (int) SWIG_AsInt(obj3
);
13259 if (PyErr_Occurred()) SWIG_fail
;
13262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13263 result
= (wxScrollEvent
*)new wxScrollEvent(arg1
,arg2
,arg3
,arg4
);
13265 wxPyEndAllowThreads(__tstate
);
13266 if (PyErr_Occurred()) SWIG_fail
;
13268 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollEvent
, 1);
13275 static PyObject
*_wrap_ScrollEvent_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13276 PyObject
*resultobj
;
13277 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
13279 PyObject
* obj0
= 0 ;
13280 char *kwnames
[] = {
13281 (char *) "self", NULL
13284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
13285 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollEvent
,
13286 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13289 result
= (int)((wxScrollEvent
const *)arg1
)->GetOrientation();
13291 wxPyEndAllowThreads(__tstate
);
13292 if (PyErr_Occurred()) SWIG_fail
;
13294 resultobj
= SWIG_FromInt((int)result
);
13301 static PyObject
*_wrap_ScrollEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13302 PyObject
*resultobj
;
13303 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
13305 PyObject
* obj0
= 0 ;
13306 char *kwnames
[] = {
13307 (char *) "self", NULL
13310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
13311 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollEvent
,
13312 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13315 result
= (int)((wxScrollEvent
const *)arg1
)->GetPosition();
13317 wxPyEndAllowThreads(__tstate
);
13318 if (PyErr_Occurred()) SWIG_fail
;
13320 resultobj
= SWIG_FromInt((int)result
);
13327 static PyObject
*_wrap_ScrollEvent_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13328 PyObject
*resultobj
;
13329 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
13331 PyObject
* obj0
= 0 ;
13332 PyObject
* obj1
= 0 ;
13333 char *kwnames
[] = {
13334 (char *) "self",(char *) "orient", NULL
13337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
13338 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollEvent
,
13339 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13340 arg2
= (int) SWIG_AsInt(obj1
);
13341 if (PyErr_Occurred()) SWIG_fail
;
13343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13344 (arg1
)->SetOrientation(arg2
);
13346 wxPyEndAllowThreads(__tstate
);
13347 if (PyErr_Occurred()) SWIG_fail
;
13349 Py_INCREF(Py_None
); resultobj
= Py_None
;
13356 static PyObject
*_wrap_ScrollEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13357 PyObject
*resultobj
;
13358 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
13360 PyObject
* obj0
= 0 ;
13361 PyObject
* obj1
= 0 ;
13362 char *kwnames
[] = {
13363 (char *) "self",(char *) "pos", NULL
13366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
13367 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollEvent
,
13368 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13369 arg2
= (int) SWIG_AsInt(obj1
);
13370 if (PyErr_Occurred()) SWIG_fail
;
13372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13373 (arg1
)->SetPosition(arg2
);
13375 wxPyEndAllowThreads(__tstate
);
13376 if (PyErr_Occurred()) SWIG_fail
;
13378 Py_INCREF(Py_None
); resultobj
= Py_None
;
13385 static PyObject
* ScrollEvent_swigregister(PyObject
*self
, PyObject
*args
) {
13387 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13388 SWIG_TypeClientData(SWIGTYPE_p_wxScrollEvent
, obj
);
13390 return Py_BuildValue((char *)"");
13392 static PyObject
*_wrap_new_ScrollWinEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13393 PyObject
*resultobj
;
13394 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13395 int arg2
= (int) 0 ;
13396 int arg3
= (int) 0 ;
13397 wxScrollWinEvent
*result
;
13398 PyObject
* obj0
= 0 ;
13399 PyObject
* obj1
= 0 ;
13400 PyObject
* obj2
= 0 ;
13401 char *kwnames
[] = {
13402 (char *) "commandType",(char *) "pos",(char *) "orient", NULL
13405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ScrollWinEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13407 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
13408 if (PyErr_Occurred()) SWIG_fail
;
13411 arg2
= (int) SWIG_AsInt(obj1
);
13412 if (PyErr_Occurred()) SWIG_fail
;
13415 arg3
= (int) SWIG_AsInt(obj2
);
13416 if (PyErr_Occurred()) SWIG_fail
;
13419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13420 result
= (wxScrollWinEvent
*)new wxScrollWinEvent(arg1
,arg2
,arg3
);
13422 wxPyEndAllowThreads(__tstate
);
13423 if (PyErr_Occurred()) SWIG_fail
;
13425 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollWinEvent
, 1);
13432 static PyObject
*_wrap_ScrollWinEvent_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13433 PyObject
*resultobj
;
13434 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
13436 PyObject
* obj0
= 0 ;
13437 char *kwnames
[] = {
13438 (char *) "self", NULL
13441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollWinEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
13442 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollWinEvent
,
13443 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13446 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetOrientation();
13448 wxPyEndAllowThreads(__tstate
);
13449 if (PyErr_Occurred()) SWIG_fail
;
13451 resultobj
= SWIG_FromInt((int)result
);
13458 static PyObject
*_wrap_ScrollWinEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13459 PyObject
*resultobj
;
13460 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
13462 PyObject
* obj0
= 0 ;
13463 char *kwnames
[] = {
13464 (char *) "self", NULL
13467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollWinEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
13468 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollWinEvent
,
13469 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13472 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetPosition();
13474 wxPyEndAllowThreads(__tstate
);
13475 if (PyErr_Occurred()) SWIG_fail
;
13477 resultobj
= SWIG_FromInt((int)result
);
13484 static PyObject
*_wrap_ScrollWinEvent_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13485 PyObject
*resultobj
;
13486 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
13488 PyObject
* obj0
= 0 ;
13489 PyObject
* obj1
= 0 ;
13490 char *kwnames
[] = {
13491 (char *) "self",(char *) "orient", NULL
13494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollWinEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
13495 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollWinEvent
,
13496 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13497 arg2
= (int) SWIG_AsInt(obj1
);
13498 if (PyErr_Occurred()) SWIG_fail
;
13500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13501 (arg1
)->SetOrientation(arg2
);
13503 wxPyEndAllowThreads(__tstate
);
13504 if (PyErr_Occurred()) SWIG_fail
;
13506 Py_INCREF(Py_None
); resultobj
= Py_None
;
13513 static PyObject
*_wrap_ScrollWinEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13514 PyObject
*resultobj
;
13515 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
13517 PyObject
* obj0
= 0 ;
13518 PyObject
* obj1
= 0 ;
13519 char *kwnames
[] = {
13520 (char *) "self",(char *) "pos", NULL
13523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollWinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
13524 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollWinEvent
,
13525 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13526 arg2
= (int) SWIG_AsInt(obj1
);
13527 if (PyErr_Occurred()) SWIG_fail
;
13529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13530 (arg1
)->SetPosition(arg2
);
13532 wxPyEndAllowThreads(__tstate
);
13533 if (PyErr_Occurred()) SWIG_fail
;
13535 Py_INCREF(Py_None
); resultobj
= Py_None
;
13542 static PyObject
* ScrollWinEvent_swigregister(PyObject
*self
, PyObject
*args
) {
13544 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13545 SWIG_TypeClientData(SWIGTYPE_p_wxScrollWinEvent
, obj
);
13547 return Py_BuildValue((char *)"");
13549 static PyObject
*_wrap_new_MouseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13550 PyObject
*resultobj
;
13551 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13552 wxMouseEvent
*result
;
13553 PyObject
* obj0
= 0 ;
13554 char *kwnames
[] = {
13555 (char *) "mouseType", NULL
13558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MouseEvent",kwnames
,&obj0
)) goto fail
;
13560 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
13561 if (PyErr_Occurred()) SWIG_fail
;
13564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13565 result
= (wxMouseEvent
*)new wxMouseEvent(arg1
);
13567 wxPyEndAllowThreads(__tstate
);
13568 if (PyErr_Occurred()) SWIG_fail
;
13571 resultobj
= wxPyMake_wxObject(result
, 1);
13579 static PyObject
*_wrap_MouseEvent_IsButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13580 PyObject
*resultobj
;
13581 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13583 PyObject
* obj0
= 0 ;
13584 char *kwnames
[] = {
13585 (char *) "self", NULL
13588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_IsButton",kwnames
,&obj0
)) goto fail
;
13589 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13590 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13593 result
= (bool)((wxMouseEvent
const *)arg1
)->IsButton();
13595 wxPyEndAllowThreads(__tstate
);
13596 if (PyErr_Occurred()) SWIG_fail
;
13599 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13607 static PyObject
*_wrap_MouseEvent_ButtonDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13608 PyObject
*resultobj
;
13609 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13610 int arg2
= (int) wxMOUSE_BTN_ANY
;
13612 PyObject
* obj0
= 0 ;
13613 PyObject
* obj1
= 0 ;
13614 char *kwnames
[] = {
13615 (char *) "self",(char *) "but", NULL
13618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonDown",kwnames
,&obj0
,&obj1
)) goto fail
;
13619 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13620 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13622 arg2
= (int) SWIG_AsInt(obj1
);
13623 if (PyErr_Occurred()) SWIG_fail
;
13626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13627 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDown(arg2
);
13629 wxPyEndAllowThreads(__tstate
);
13630 if (PyErr_Occurred()) SWIG_fail
;
13633 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13641 static PyObject
*_wrap_MouseEvent_ButtonDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13642 PyObject
*resultobj
;
13643 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13644 int arg2
= (int) wxMOUSE_BTN_ANY
;
13646 PyObject
* obj0
= 0 ;
13647 PyObject
* obj1
= 0 ;
13648 char *kwnames
[] = {
13649 (char *) "self",(char *) "but", NULL
13652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonDClick",kwnames
,&obj0
,&obj1
)) goto fail
;
13653 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13654 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13656 arg2
= (int) SWIG_AsInt(obj1
);
13657 if (PyErr_Occurred()) SWIG_fail
;
13660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13661 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDClick(arg2
);
13663 wxPyEndAllowThreads(__tstate
);
13664 if (PyErr_Occurred()) SWIG_fail
;
13667 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13675 static PyObject
*_wrap_MouseEvent_ButtonUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13676 PyObject
*resultobj
;
13677 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13678 int arg2
= (int) wxMOUSE_BTN_ANY
;
13680 PyObject
* obj0
= 0 ;
13681 PyObject
* obj1
= 0 ;
13682 char *kwnames
[] = {
13683 (char *) "self",(char *) "but", NULL
13686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonUp",kwnames
,&obj0
,&obj1
)) goto fail
;
13687 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13688 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13690 arg2
= (int) SWIG_AsInt(obj1
);
13691 if (PyErr_Occurred()) SWIG_fail
;
13694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13695 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonUp(arg2
);
13697 wxPyEndAllowThreads(__tstate
);
13698 if (PyErr_Occurred()) SWIG_fail
;
13701 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13709 static PyObject
*_wrap_MouseEvent_Button(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13710 PyObject
*resultobj
;
13711 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13714 PyObject
* obj0
= 0 ;
13715 PyObject
* obj1
= 0 ;
13716 char *kwnames
[] = {
13717 (char *) "self",(char *) "but", NULL
13720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_Button",kwnames
,&obj0
,&obj1
)) goto fail
;
13721 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13722 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13723 arg2
= (int) SWIG_AsInt(obj1
);
13724 if (PyErr_Occurred()) SWIG_fail
;
13726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13727 result
= (bool)((wxMouseEvent
const *)arg1
)->Button(arg2
);
13729 wxPyEndAllowThreads(__tstate
);
13730 if (PyErr_Occurred()) SWIG_fail
;
13733 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13741 static PyObject
*_wrap_MouseEvent_ButtonIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13742 PyObject
*resultobj
;
13743 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13746 PyObject
* obj0
= 0 ;
13747 PyObject
* obj1
= 0 ;
13748 char *kwnames
[] = {
13749 (char *) "self",(char *) "but", NULL
13752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_ButtonIsDown",kwnames
,&obj0
,&obj1
)) goto fail
;
13753 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13754 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13755 arg2
= (int) SWIG_AsInt(obj1
);
13756 if (PyErr_Occurred()) SWIG_fail
;
13758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13759 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonIsDown(arg2
);
13761 wxPyEndAllowThreads(__tstate
);
13762 if (PyErr_Occurred()) SWIG_fail
;
13765 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13773 static PyObject
*_wrap_MouseEvent_GetButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13774 PyObject
*resultobj
;
13775 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13777 PyObject
* obj0
= 0 ;
13778 char *kwnames
[] = {
13779 (char *) "self", NULL
13782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetButton",kwnames
,&obj0
)) goto fail
;
13783 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13784 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13787 result
= (int)((wxMouseEvent
const *)arg1
)->GetButton();
13789 wxPyEndAllowThreads(__tstate
);
13790 if (PyErr_Occurred()) SWIG_fail
;
13792 resultobj
= SWIG_FromInt((int)result
);
13799 static PyObject
*_wrap_MouseEvent_ControlDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13800 PyObject
*resultobj
;
13801 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13803 PyObject
* obj0
= 0 ;
13804 char *kwnames
[] = {
13805 (char *) "self", NULL
13808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
13809 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13810 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13813 result
= (bool)((wxMouseEvent
const *)arg1
)->ControlDown();
13815 wxPyEndAllowThreads(__tstate
);
13816 if (PyErr_Occurred()) SWIG_fail
;
13819 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13827 static PyObject
*_wrap_MouseEvent_MetaDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13828 PyObject
*resultobj
;
13829 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13831 PyObject
* obj0
= 0 ;
13832 char *kwnames
[] = {
13833 (char *) "self", NULL
13836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
13837 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13838 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13841 result
= (bool)((wxMouseEvent
const *)arg1
)->MetaDown();
13843 wxPyEndAllowThreads(__tstate
);
13844 if (PyErr_Occurred()) SWIG_fail
;
13847 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13855 static PyObject
*_wrap_MouseEvent_AltDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13856 PyObject
*resultobj
;
13857 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13859 PyObject
* obj0
= 0 ;
13860 char *kwnames
[] = {
13861 (char *) "self", NULL
13864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_AltDown",kwnames
,&obj0
)) goto fail
;
13865 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13866 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13869 result
= (bool)((wxMouseEvent
const *)arg1
)->AltDown();
13871 wxPyEndAllowThreads(__tstate
);
13872 if (PyErr_Occurred()) SWIG_fail
;
13875 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13883 static PyObject
*_wrap_MouseEvent_ShiftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13884 PyObject
*resultobj
;
13885 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13887 PyObject
* obj0
= 0 ;
13888 char *kwnames
[] = {
13889 (char *) "self", NULL
13892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
13893 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13894 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13897 result
= (bool)((wxMouseEvent
const *)arg1
)->ShiftDown();
13899 wxPyEndAllowThreads(__tstate
);
13900 if (PyErr_Occurred()) SWIG_fail
;
13903 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13911 static PyObject
*_wrap_MouseEvent_CmdDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13912 PyObject
*resultobj
;
13913 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13915 PyObject
* obj0
= 0 ;
13916 char *kwnames
[] = {
13917 (char *) "self", NULL
13920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_CmdDown",kwnames
,&obj0
)) goto fail
;
13921 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13925 result
= (bool)((wxMouseEvent
const *)arg1
)->CmdDown();
13927 wxPyEndAllowThreads(__tstate
);
13928 if (PyErr_Occurred()) SWIG_fail
;
13931 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13939 static PyObject
*_wrap_MouseEvent_LeftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13940 PyObject
*resultobj
;
13941 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13943 PyObject
* obj0
= 0 ;
13944 char *kwnames
[] = {
13945 (char *) "self", NULL
13948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftDown",kwnames
,&obj0
)) goto fail
;
13949 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13950 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13953 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDown();
13955 wxPyEndAllowThreads(__tstate
);
13956 if (PyErr_Occurred()) SWIG_fail
;
13959 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13967 static PyObject
*_wrap_MouseEvent_MiddleDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13968 PyObject
*resultobj
;
13969 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13971 PyObject
* obj0
= 0 ;
13972 char *kwnames
[] = {
13973 (char *) "self", NULL
13976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleDown",kwnames
,&obj0
)) goto fail
;
13977 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13978 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13981 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDown();
13983 wxPyEndAllowThreads(__tstate
);
13984 if (PyErr_Occurred()) SWIG_fail
;
13987 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13995 static PyObject
*_wrap_MouseEvent_RightDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13996 PyObject
*resultobj
;
13997 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13999 PyObject
* obj0
= 0 ;
14000 char *kwnames
[] = {
14001 (char *) "self", NULL
14004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightDown",kwnames
,&obj0
)) goto fail
;
14005 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14006 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14009 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDown();
14011 wxPyEndAllowThreads(__tstate
);
14012 if (PyErr_Occurred()) SWIG_fail
;
14015 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14023 static PyObject
*_wrap_MouseEvent_LeftUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14024 PyObject
*resultobj
;
14025 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14027 PyObject
* obj0
= 0 ;
14028 char *kwnames
[] = {
14029 (char *) "self", NULL
14032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftUp",kwnames
,&obj0
)) goto fail
;
14033 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14034 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14037 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftUp();
14039 wxPyEndAllowThreads(__tstate
);
14040 if (PyErr_Occurred()) SWIG_fail
;
14043 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14051 static PyObject
*_wrap_MouseEvent_MiddleUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14052 PyObject
*resultobj
;
14053 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14055 PyObject
* obj0
= 0 ;
14056 char *kwnames
[] = {
14057 (char *) "self", NULL
14060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleUp",kwnames
,&obj0
)) goto fail
;
14061 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14062 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14065 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleUp();
14067 wxPyEndAllowThreads(__tstate
);
14068 if (PyErr_Occurred()) SWIG_fail
;
14071 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14079 static PyObject
*_wrap_MouseEvent_RightUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14080 PyObject
*resultobj
;
14081 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14083 PyObject
* obj0
= 0 ;
14084 char *kwnames
[] = {
14085 (char *) "self", NULL
14088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightUp",kwnames
,&obj0
)) goto fail
;
14089 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14090 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14093 result
= (bool)((wxMouseEvent
const *)arg1
)->RightUp();
14095 wxPyEndAllowThreads(__tstate
);
14096 if (PyErr_Occurred()) SWIG_fail
;
14099 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14107 static PyObject
*_wrap_MouseEvent_LeftDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14108 PyObject
*resultobj
;
14109 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14111 PyObject
* obj0
= 0 ;
14112 char *kwnames
[] = {
14113 (char *) "self", NULL
14116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftDClick",kwnames
,&obj0
)) goto fail
;
14117 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14118 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14121 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDClick();
14123 wxPyEndAllowThreads(__tstate
);
14124 if (PyErr_Occurred()) SWIG_fail
;
14127 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14135 static PyObject
*_wrap_MouseEvent_MiddleDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14136 PyObject
*resultobj
;
14137 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14139 PyObject
* obj0
= 0 ;
14140 char *kwnames
[] = {
14141 (char *) "self", NULL
14144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleDClick",kwnames
,&obj0
)) goto fail
;
14145 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14146 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14149 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDClick();
14151 wxPyEndAllowThreads(__tstate
);
14152 if (PyErr_Occurred()) SWIG_fail
;
14155 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14163 static PyObject
*_wrap_MouseEvent_RightDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14164 PyObject
*resultobj
;
14165 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14167 PyObject
* obj0
= 0 ;
14168 char *kwnames
[] = {
14169 (char *) "self", NULL
14172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightDClick",kwnames
,&obj0
)) goto fail
;
14173 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14174 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14177 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDClick();
14179 wxPyEndAllowThreads(__tstate
);
14180 if (PyErr_Occurred()) SWIG_fail
;
14183 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14191 static PyObject
*_wrap_MouseEvent_LeftIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14192 PyObject
*resultobj
;
14193 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14195 PyObject
* obj0
= 0 ;
14196 char *kwnames
[] = {
14197 (char *) "self", NULL
14200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftIsDown",kwnames
,&obj0
)) goto fail
;
14201 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14202 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14205 result
= (bool)(arg1
)->LeftIsDown();
14207 wxPyEndAllowThreads(__tstate
);
14208 if (PyErr_Occurred()) SWIG_fail
;
14211 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14219 static PyObject
*_wrap_MouseEvent_MiddleIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14220 PyObject
*resultobj
;
14221 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14223 PyObject
* obj0
= 0 ;
14224 char *kwnames
[] = {
14225 (char *) "self", NULL
14228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleIsDown",kwnames
,&obj0
)) goto fail
;
14229 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14230 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14233 result
= (bool)(arg1
)->MiddleIsDown();
14235 wxPyEndAllowThreads(__tstate
);
14236 if (PyErr_Occurred()) SWIG_fail
;
14239 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14247 static PyObject
*_wrap_MouseEvent_RightIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14248 PyObject
*resultobj
;
14249 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14251 PyObject
* obj0
= 0 ;
14252 char *kwnames
[] = {
14253 (char *) "self", NULL
14256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightIsDown",kwnames
,&obj0
)) goto fail
;
14257 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14258 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14261 result
= (bool)(arg1
)->RightIsDown();
14263 wxPyEndAllowThreads(__tstate
);
14264 if (PyErr_Occurred()) SWIG_fail
;
14267 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14275 static PyObject
*_wrap_MouseEvent_Dragging(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14276 PyObject
*resultobj
;
14277 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14279 PyObject
* obj0
= 0 ;
14280 char *kwnames
[] = {
14281 (char *) "self", NULL
14284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Dragging",kwnames
,&obj0
)) goto fail
;
14285 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14286 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14289 result
= (bool)((wxMouseEvent
const *)arg1
)->Dragging();
14291 wxPyEndAllowThreads(__tstate
);
14292 if (PyErr_Occurred()) SWIG_fail
;
14295 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14303 static PyObject
*_wrap_MouseEvent_Moving(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14304 PyObject
*resultobj
;
14305 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14307 PyObject
* obj0
= 0 ;
14308 char *kwnames
[] = {
14309 (char *) "self", NULL
14312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Moving",kwnames
,&obj0
)) goto fail
;
14313 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14314 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14317 result
= (bool)((wxMouseEvent
const *)arg1
)->Moving();
14319 wxPyEndAllowThreads(__tstate
);
14320 if (PyErr_Occurred()) SWIG_fail
;
14323 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14331 static PyObject
*_wrap_MouseEvent_Entering(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14332 PyObject
*resultobj
;
14333 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14335 PyObject
* obj0
= 0 ;
14336 char *kwnames
[] = {
14337 (char *) "self", NULL
14340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Entering",kwnames
,&obj0
)) goto fail
;
14341 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14342 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14345 result
= (bool)((wxMouseEvent
const *)arg1
)->Entering();
14347 wxPyEndAllowThreads(__tstate
);
14348 if (PyErr_Occurred()) SWIG_fail
;
14351 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14359 static PyObject
*_wrap_MouseEvent_Leaving(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14360 PyObject
*resultobj
;
14361 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14363 PyObject
* obj0
= 0 ;
14364 char *kwnames
[] = {
14365 (char *) "self", NULL
14368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Leaving",kwnames
,&obj0
)) goto fail
;
14369 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14370 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14373 result
= (bool)((wxMouseEvent
const *)arg1
)->Leaving();
14375 wxPyEndAllowThreads(__tstate
);
14376 if (PyErr_Occurred()) SWIG_fail
;
14379 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14387 static PyObject
*_wrap_MouseEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14388 PyObject
*resultobj
;
14389 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14391 PyObject
* obj0
= 0 ;
14392 char *kwnames
[] = {
14393 (char *) "self", NULL
14396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
14397 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14398 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14401 result
= (arg1
)->GetPosition();
14403 wxPyEndAllowThreads(__tstate
);
14404 if (PyErr_Occurred()) SWIG_fail
;
14407 wxPoint
* resultptr
;
14408 resultptr
= new wxPoint((wxPoint
&) result
);
14409 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
14417 static PyObject
*_wrap_MouseEvent_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14418 PyObject
*resultobj
;
14419 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14420 long *arg2
= (long *) 0 ;
14421 long *arg3
= (long *) 0 ;
14424 PyObject
* obj0
= 0 ;
14425 char *kwnames
[] = {
14426 (char *) "self", NULL
14431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
14432 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14433 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14436 (arg1
)->GetPosition(arg2
,arg3
);
14438 wxPyEndAllowThreads(__tstate
);
14439 if (PyErr_Occurred()) SWIG_fail
;
14441 Py_INCREF(Py_None
); resultobj
= Py_None
;
14443 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
14444 resultobj
= t_output_helper(resultobj
,o
);
14447 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
14448 resultobj
= t_output_helper(resultobj
,o
);
14456 static PyObject
*_wrap_MouseEvent_GetLogicalPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14457 PyObject
*resultobj
;
14458 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14461 PyObject
* obj0
= 0 ;
14462 PyObject
* obj1
= 0 ;
14463 char *kwnames
[] = {
14464 (char *) "self",(char *) "dc", NULL
14467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_GetLogicalPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
14468 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14469 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14470 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
14471 SWIG_POINTER_EXCEPTION
| 0)) == -1)
14473 if (arg2
== NULL
) {
14474 PyErr_SetString(PyExc_TypeError
,"null reference");
14478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14479 result
= ((wxMouseEvent
const *)arg1
)->GetLogicalPosition((wxDC
const &)*arg2
);
14481 wxPyEndAllowThreads(__tstate
);
14482 if (PyErr_Occurred()) SWIG_fail
;
14485 wxPoint
* resultptr
;
14486 resultptr
= new wxPoint((wxPoint
&) result
);
14487 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
14495 static PyObject
*_wrap_MouseEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14496 PyObject
*resultobj
;
14497 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14499 PyObject
* obj0
= 0 ;
14500 char *kwnames
[] = {
14501 (char *) "self", NULL
14504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetX",kwnames
,&obj0
)) goto fail
;
14505 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14506 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14509 result
= (int)((wxMouseEvent
const *)arg1
)->GetX();
14511 wxPyEndAllowThreads(__tstate
);
14512 if (PyErr_Occurred()) SWIG_fail
;
14514 resultobj
= SWIG_FromInt((int)result
);
14521 static PyObject
*_wrap_MouseEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14522 PyObject
*resultobj
;
14523 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14525 PyObject
* obj0
= 0 ;
14526 char *kwnames
[] = {
14527 (char *) "self", NULL
14530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetY",kwnames
,&obj0
)) goto fail
;
14531 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14532 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14535 result
= (int)((wxMouseEvent
const *)arg1
)->GetY();
14537 wxPyEndAllowThreads(__tstate
);
14538 if (PyErr_Occurred()) SWIG_fail
;
14540 resultobj
= SWIG_FromInt((int)result
);
14547 static PyObject
*_wrap_MouseEvent_GetWheelRotation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14548 PyObject
*resultobj
;
14549 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14551 PyObject
* obj0
= 0 ;
14552 char *kwnames
[] = {
14553 (char *) "self", NULL
14556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetWheelRotation",kwnames
,&obj0
)) goto fail
;
14557 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14558 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14561 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelRotation();
14563 wxPyEndAllowThreads(__tstate
);
14564 if (PyErr_Occurred()) SWIG_fail
;
14566 resultobj
= SWIG_FromInt((int)result
);
14573 static PyObject
*_wrap_MouseEvent_GetWheelDelta(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14574 PyObject
*resultobj
;
14575 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14577 PyObject
* obj0
= 0 ;
14578 char *kwnames
[] = {
14579 (char *) "self", NULL
14582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetWheelDelta",kwnames
,&obj0
)) goto fail
;
14583 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14584 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14587 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelDelta();
14589 wxPyEndAllowThreads(__tstate
);
14590 if (PyErr_Occurred()) SWIG_fail
;
14592 resultobj
= SWIG_FromInt((int)result
);
14599 static PyObject
*_wrap_MouseEvent_GetLinesPerAction(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14600 PyObject
*resultobj
;
14601 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14603 PyObject
* obj0
= 0 ;
14604 char *kwnames
[] = {
14605 (char *) "self", NULL
14608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetLinesPerAction",kwnames
,&obj0
)) goto fail
;
14609 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14610 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14613 result
= (int)((wxMouseEvent
const *)arg1
)->GetLinesPerAction();
14615 wxPyEndAllowThreads(__tstate
);
14616 if (PyErr_Occurred()) SWIG_fail
;
14618 resultobj
= SWIG_FromInt((int)result
);
14625 static PyObject
*_wrap_MouseEvent_IsPageScroll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14626 PyObject
*resultobj
;
14627 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14629 PyObject
* obj0
= 0 ;
14630 char *kwnames
[] = {
14631 (char *) "self", NULL
14634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_IsPageScroll",kwnames
,&obj0
)) goto fail
;
14635 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14636 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14639 result
= (bool)((wxMouseEvent
const *)arg1
)->IsPageScroll();
14641 wxPyEndAllowThreads(__tstate
);
14642 if (PyErr_Occurred()) SWIG_fail
;
14645 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14653 static PyObject
*_wrap_MouseEvent_m_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14654 PyObject
*resultobj
;
14655 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14657 PyObject
* obj0
= 0 ;
14658 PyObject
* obj1
= 0 ;
14659 char *kwnames
[] = {
14660 (char *) "self",(char *) "m_x", NULL
14663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14664 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14665 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14666 arg2
= (int) SWIG_AsInt(obj1
);
14667 if (PyErr_Occurred()) SWIG_fail
;
14668 if (arg1
) (arg1
)->m_x
= arg2
;
14670 Py_INCREF(Py_None
); resultobj
= Py_None
;
14677 static PyObject
*_wrap_MouseEvent_m_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14678 PyObject
*resultobj
;
14679 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14681 PyObject
* obj0
= 0 ;
14682 char *kwnames
[] = {
14683 (char *) "self", NULL
14686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_x_get",kwnames
,&obj0
)) goto fail
;
14687 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14688 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14689 result
= (int) ((arg1
)->m_x
);
14691 resultobj
= SWIG_FromInt((int)result
);
14698 static PyObject
*_wrap_MouseEvent_m_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14699 PyObject
*resultobj
;
14700 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14702 PyObject
* obj0
= 0 ;
14703 PyObject
* obj1
= 0 ;
14704 char *kwnames
[] = {
14705 (char *) "self",(char *) "m_y", NULL
14708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14709 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14710 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14711 arg2
= (int) SWIG_AsInt(obj1
);
14712 if (PyErr_Occurred()) SWIG_fail
;
14713 if (arg1
) (arg1
)->m_y
= arg2
;
14715 Py_INCREF(Py_None
); resultobj
= Py_None
;
14722 static PyObject
*_wrap_MouseEvent_m_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14723 PyObject
*resultobj
;
14724 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14726 PyObject
* obj0
= 0 ;
14727 char *kwnames
[] = {
14728 (char *) "self", NULL
14731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_y_get",kwnames
,&obj0
)) goto fail
;
14732 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14733 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14734 result
= (int) ((arg1
)->m_y
);
14736 resultobj
= SWIG_FromInt((int)result
);
14743 static PyObject
*_wrap_MouseEvent_m_leftDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14744 PyObject
*resultobj
;
14745 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14747 PyObject
* obj0
= 0 ;
14748 PyObject
* obj1
= 0 ;
14749 char *kwnames
[] = {
14750 (char *) "self",(char *) "m_leftDown", NULL
14753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_leftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14754 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14755 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14756 arg2
= (bool) SWIG_AsBool(obj1
);
14757 if (PyErr_Occurred()) SWIG_fail
;
14758 if (arg1
) (arg1
)->m_leftDown
= arg2
;
14760 Py_INCREF(Py_None
); resultobj
= Py_None
;
14767 static PyObject
*_wrap_MouseEvent_m_leftDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14768 PyObject
*resultobj
;
14769 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14771 PyObject
* obj0
= 0 ;
14772 char *kwnames
[] = {
14773 (char *) "self", NULL
14776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_leftDown_get",kwnames
,&obj0
)) goto fail
;
14777 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14778 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14779 result
= (bool) ((arg1
)->m_leftDown
);
14782 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14790 static PyObject
*_wrap_MouseEvent_m_middleDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14791 PyObject
*resultobj
;
14792 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14794 PyObject
* obj0
= 0 ;
14795 PyObject
* obj1
= 0 ;
14796 char *kwnames
[] = {
14797 (char *) "self",(char *) "m_middleDown", NULL
14800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_middleDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14801 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14802 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14803 arg2
= (bool) SWIG_AsBool(obj1
);
14804 if (PyErr_Occurred()) SWIG_fail
;
14805 if (arg1
) (arg1
)->m_middleDown
= arg2
;
14807 Py_INCREF(Py_None
); resultobj
= Py_None
;
14814 static PyObject
*_wrap_MouseEvent_m_middleDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14815 PyObject
*resultobj
;
14816 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14818 PyObject
* obj0
= 0 ;
14819 char *kwnames
[] = {
14820 (char *) "self", NULL
14823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_middleDown_get",kwnames
,&obj0
)) goto fail
;
14824 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14825 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14826 result
= (bool) ((arg1
)->m_middleDown
);
14829 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14837 static PyObject
*_wrap_MouseEvent_m_rightDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14838 PyObject
*resultobj
;
14839 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14841 PyObject
* obj0
= 0 ;
14842 PyObject
* obj1
= 0 ;
14843 char *kwnames
[] = {
14844 (char *) "self",(char *) "m_rightDown", NULL
14847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_rightDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14848 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14849 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14850 arg2
= (bool) SWIG_AsBool(obj1
);
14851 if (PyErr_Occurred()) SWIG_fail
;
14852 if (arg1
) (arg1
)->m_rightDown
= arg2
;
14854 Py_INCREF(Py_None
); resultobj
= Py_None
;
14861 static PyObject
*_wrap_MouseEvent_m_rightDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14862 PyObject
*resultobj
;
14863 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14865 PyObject
* obj0
= 0 ;
14866 char *kwnames
[] = {
14867 (char *) "self", NULL
14870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_rightDown_get",kwnames
,&obj0
)) goto fail
;
14871 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14872 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14873 result
= (bool) ((arg1
)->m_rightDown
);
14876 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14884 static PyObject
*_wrap_MouseEvent_m_controlDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14885 PyObject
*resultobj
;
14886 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14888 PyObject
* obj0
= 0 ;
14889 PyObject
* obj1
= 0 ;
14890 char *kwnames
[] = {
14891 (char *) "self",(char *) "m_controlDown", NULL
14894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_controlDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14895 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14896 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14897 arg2
= (bool) SWIG_AsBool(obj1
);
14898 if (PyErr_Occurred()) SWIG_fail
;
14899 if (arg1
) (arg1
)->m_controlDown
= arg2
;
14901 Py_INCREF(Py_None
); resultobj
= Py_None
;
14908 static PyObject
*_wrap_MouseEvent_m_controlDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14909 PyObject
*resultobj
;
14910 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14912 PyObject
* obj0
= 0 ;
14913 char *kwnames
[] = {
14914 (char *) "self", NULL
14917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_controlDown_get",kwnames
,&obj0
)) goto fail
;
14918 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14919 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14920 result
= (bool) ((arg1
)->m_controlDown
);
14923 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14931 static PyObject
*_wrap_MouseEvent_m_shiftDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14932 PyObject
*resultobj
;
14933 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14935 PyObject
* obj0
= 0 ;
14936 PyObject
* obj1
= 0 ;
14937 char *kwnames
[] = {
14938 (char *) "self",(char *) "m_shiftDown", NULL
14941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_shiftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14942 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14943 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14944 arg2
= (bool) SWIG_AsBool(obj1
);
14945 if (PyErr_Occurred()) SWIG_fail
;
14946 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
14948 Py_INCREF(Py_None
); resultobj
= Py_None
;
14955 static PyObject
*_wrap_MouseEvent_m_shiftDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14956 PyObject
*resultobj
;
14957 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14959 PyObject
* obj0
= 0 ;
14960 char *kwnames
[] = {
14961 (char *) "self", NULL
14964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_shiftDown_get",kwnames
,&obj0
)) goto fail
;
14965 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14966 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14967 result
= (bool) ((arg1
)->m_shiftDown
);
14970 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14978 static PyObject
*_wrap_MouseEvent_m_altDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14979 PyObject
*resultobj
;
14980 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14982 PyObject
* obj0
= 0 ;
14983 PyObject
* obj1
= 0 ;
14984 char *kwnames
[] = {
14985 (char *) "self",(char *) "m_altDown", NULL
14988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_altDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14989 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14990 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14991 arg2
= (bool) SWIG_AsBool(obj1
);
14992 if (PyErr_Occurred()) SWIG_fail
;
14993 if (arg1
) (arg1
)->m_altDown
= arg2
;
14995 Py_INCREF(Py_None
); resultobj
= Py_None
;
15002 static PyObject
*_wrap_MouseEvent_m_altDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15003 PyObject
*resultobj
;
15004 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15006 PyObject
* obj0
= 0 ;
15007 char *kwnames
[] = {
15008 (char *) "self", NULL
15011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_altDown_get",kwnames
,&obj0
)) goto fail
;
15012 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15013 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15014 result
= (bool) ((arg1
)->m_altDown
);
15017 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15025 static PyObject
*_wrap_MouseEvent_m_metaDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15026 PyObject
*resultobj
;
15027 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15029 PyObject
* obj0
= 0 ;
15030 PyObject
* obj1
= 0 ;
15031 char *kwnames
[] = {
15032 (char *) "self",(char *) "m_metaDown", NULL
15035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_metaDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15036 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15037 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15038 arg2
= (bool) SWIG_AsBool(obj1
);
15039 if (PyErr_Occurred()) SWIG_fail
;
15040 if (arg1
) (arg1
)->m_metaDown
= arg2
;
15042 Py_INCREF(Py_None
); resultobj
= Py_None
;
15049 static PyObject
*_wrap_MouseEvent_m_metaDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15050 PyObject
*resultobj
;
15051 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15053 PyObject
* obj0
= 0 ;
15054 char *kwnames
[] = {
15055 (char *) "self", NULL
15058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_metaDown_get",kwnames
,&obj0
)) goto fail
;
15059 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15060 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15061 result
= (bool) ((arg1
)->m_metaDown
);
15064 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15072 static PyObject
*_wrap_MouseEvent_m_wheelRotation_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15073 PyObject
*resultobj
;
15074 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15076 PyObject
* obj0
= 0 ;
15077 PyObject
* obj1
= 0 ;
15078 char *kwnames
[] = {
15079 (char *) "self",(char *) "m_wheelRotation", NULL
15082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_wheelRotation_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15083 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15084 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15085 arg2
= (int) SWIG_AsInt(obj1
);
15086 if (PyErr_Occurred()) SWIG_fail
;
15087 if (arg1
) (arg1
)->m_wheelRotation
= arg2
;
15089 Py_INCREF(Py_None
); resultobj
= Py_None
;
15096 static PyObject
*_wrap_MouseEvent_m_wheelRotation_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15097 PyObject
*resultobj
;
15098 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15100 PyObject
* obj0
= 0 ;
15101 char *kwnames
[] = {
15102 (char *) "self", NULL
15105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_wheelRotation_get",kwnames
,&obj0
)) goto fail
;
15106 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15107 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15108 result
= (int) ((arg1
)->m_wheelRotation
);
15110 resultobj
= SWIG_FromInt((int)result
);
15117 static PyObject
*_wrap_MouseEvent_m_wheelDelta_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15118 PyObject
*resultobj
;
15119 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15121 PyObject
* obj0
= 0 ;
15122 PyObject
* obj1
= 0 ;
15123 char *kwnames
[] = {
15124 (char *) "self",(char *) "m_wheelDelta", NULL
15127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_wheelDelta_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15128 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15129 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15130 arg2
= (int) SWIG_AsInt(obj1
);
15131 if (PyErr_Occurred()) SWIG_fail
;
15132 if (arg1
) (arg1
)->m_wheelDelta
= arg2
;
15134 Py_INCREF(Py_None
); resultobj
= Py_None
;
15141 static PyObject
*_wrap_MouseEvent_m_wheelDelta_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15142 PyObject
*resultobj
;
15143 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15145 PyObject
* obj0
= 0 ;
15146 char *kwnames
[] = {
15147 (char *) "self", NULL
15150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_wheelDelta_get",kwnames
,&obj0
)) goto fail
;
15151 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15152 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15153 result
= (int) ((arg1
)->m_wheelDelta
);
15155 resultobj
= SWIG_FromInt((int)result
);
15162 static PyObject
*_wrap_MouseEvent_m_linesPerAction_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15163 PyObject
*resultobj
;
15164 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15166 PyObject
* obj0
= 0 ;
15167 PyObject
* obj1
= 0 ;
15168 char *kwnames
[] = {
15169 (char *) "self",(char *) "m_linesPerAction", NULL
15172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_linesPerAction_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15173 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15174 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15175 arg2
= (int) SWIG_AsInt(obj1
);
15176 if (PyErr_Occurred()) SWIG_fail
;
15177 if (arg1
) (arg1
)->m_linesPerAction
= arg2
;
15179 Py_INCREF(Py_None
); resultobj
= Py_None
;
15186 static PyObject
*_wrap_MouseEvent_m_linesPerAction_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15187 PyObject
*resultobj
;
15188 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15190 PyObject
* obj0
= 0 ;
15191 char *kwnames
[] = {
15192 (char *) "self", NULL
15195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_linesPerAction_get",kwnames
,&obj0
)) goto fail
;
15196 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15197 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15198 result
= (int) ((arg1
)->m_linesPerAction
);
15200 resultobj
= SWIG_FromInt((int)result
);
15207 static PyObject
* MouseEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15209 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15210 SWIG_TypeClientData(SWIGTYPE_p_wxMouseEvent
, obj
);
15212 return Py_BuildValue((char *)"");
15214 static PyObject
*_wrap_new_SetCursorEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15215 PyObject
*resultobj
;
15216 int arg1
= (int) 0 ;
15217 int arg2
= (int) 0 ;
15218 wxSetCursorEvent
*result
;
15219 PyObject
* obj0
= 0 ;
15220 PyObject
* obj1
= 0 ;
15221 char *kwnames
[] = {
15222 (char *) "x",(char *) "y", NULL
15225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SetCursorEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
15227 arg1
= (int) SWIG_AsInt(obj0
);
15228 if (PyErr_Occurred()) SWIG_fail
;
15231 arg2
= (int) SWIG_AsInt(obj1
);
15232 if (PyErr_Occurred()) SWIG_fail
;
15235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15236 result
= (wxSetCursorEvent
*)new wxSetCursorEvent(arg1
,arg2
);
15238 wxPyEndAllowThreads(__tstate
);
15239 if (PyErr_Occurred()) SWIG_fail
;
15241 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSetCursorEvent
, 1);
15248 static PyObject
*_wrap_SetCursorEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15249 PyObject
*resultobj
;
15250 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15252 PyObject
* obj0
= 0 ;
15253 char *kwnames
[] = {
15254 (char *) "self", NULL
15257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetX",kwnames
,&obj0
)) goto fail
;
15258 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15259 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15262 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetX();
15264 wxPyEndAllowThreads(__tstate
);
15265 if (PyErr_Occurred()) SWIG_fail
;
15267 resultobj
= SWIG_FromInt((int)result
);
15274 static PyObject
*_wrap_SetCursorEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15275 PyObject
*resultobj
;
15276 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15278 PyObject
* obj0
= 0 ;
15279 char *kwnames
[] = {
15280 (char *) "self", NULL
15283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetY",kwnames
,&obj0
)) goto fail
;
15284 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15285 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15288 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetY();
15290 wxPyEndAllowThreads(__tstate
);
15291 if (PyErr_Occurred()) SWIG_fail
;
15293 resultobj
= SWIG_FromInt((int)result
);
15300 static PyObject
*_wrap_SetCursorEvent_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15301 PyObject
*resultobj
;
15302 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15303 wxCursor
*arg2
= 0 ;
15304 PyObject
* obj0
= 0 ;
15305 PyObject
* obj1
= 0 ;
15306 char *kwnames
[] = {
15307 (char *) "self",(char *) "cursor", NULL
15310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SetCursorEvent_SetCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
15311 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15312 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15313 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
15314 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15316 if (arg2
== NULL
) {
15317 PyErr_SetString(PyExc_TypeError
,"null reference");
15321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15322 (arg1
)->SetCursor((wxCursor
const &)*arg2
);
15324 wxPyEndAllowThreads(__tstate
);
15325 if (PyErr_Occurred()) SWIG_fail
;
15327 Py_INCREF(Py_None
); resultobj
= Py_None
;
15334 static PyObject
*_wrap_SetCursorEvent_GetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15335 PyObject
*resultobj
;
15336 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15338 PyObject
* obj0
= 0 ;
15339 char *kwnames
[] = {
15340 (char *) "self", NULL
15343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetCursor",kwnames
,&obj0
)) goto fail
;
15344 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15345 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15349 wxCursor
const &_result_ref
= ((wxSetCursorEvent
const *)arg1
)->GetCursor();
15350 result
= (wxCursor
*) &_result_ref
;
15353 wxPyEndAllowThreads(__tstate
);
15354 if (PyErr_Occurred()) SWIG_fail
;
15357 wxCursor
* resultptr
= new wxCursor(*result
);
15358 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxCursor
, 1);
15366 static PyObject
*_wrap_SetCursorEvent_HasCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15367 PyObject
*resultobj
;
15368 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15370 PyObject
* obj0
= 0 ;
15371 char *kwnames
[] = {
15372 (char *) "self", NULL
15375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_HasCursor",kwnames
,&obj0
)) goto fail
;
15376 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15377 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15380 result
= (bool)((wxSetCursorEvent
const *)arg1
)->HasCursor();
15382 wxPyEndAllowThreads(__tstate
);
15383 if (PyErr_Occurred()) SWIG_fail
;
15386 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15394 static PyObject
* SetCursorEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15396 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15397 SWIG_TypeClientData(SWIGTYPE_p_wxSetCursorEvent
, obj
);
15399 return Py_BuildValue((char *)"");
15401 static PyObject
*_wrap_new_KeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15402 PyObject
*resultobj
;
15403 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15404 wxKeyEvent
*result
;
15405 PyObject
* obj0
= 0 ;
15406 char *kwnames
[] = {
15407 (char *) "keyType", NULL
15410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_KeyEvent",kwnames
,&obj0
)) goto fail
;
15412 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
15413 if (PyErr_Occurred()) SWIG_fail
;
15416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15417 result
= (wxKeyEvent
*)new wxKeyEvent(arg1
);
15419 wxPyEndAllowThreads(__tstate
);
15420 if (PyErr_Occurred()) SWIG_fail
;
15422 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxKeyEvent
, 1);
15429 static PyObject
*_wrap_KeyEvent_ControlDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15430 PyObject
*resultobj
;
15431 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15433 PyObject
* obj0
= 0 ;
15434 char *kwnames
[] = {
15435 (char *) "self", NULL
15438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
15439 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15440 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15443 result
= (bool)((wxKeyEvent
const *)arg1
)->ControlDown();
15445 wxPyEndAllowThreads(__tstate
);
15446 if (PyErr_Occurred()) SWIG_fail
;
15449 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15457 static PyObject
*_wrap_KeyEvent_MetaDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15458 PyObject
*resultobj
;
15459 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15461 PyObject
* obj0
= 0 ;
15462 char *kwnames
[] = {
15463 (char *) "self", NULL
15466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
15467 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15468 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15471 result
= (bool)((wxKeyEvent
const *)arg1
)->MetaDown();
15473 wxPyEndAllowThreads(__tstate
);
15474 if (PyErr_Occurred()) SWIG_fail
;
15477 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15485 static PyObject
*_wrap_KeyEvent_AltDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15486 PyObject
*resultobj
;
15487 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15489 PyObject
* obj0
= 0 ;
15490 char *kwnames
[] = {
15491 (char *) "self", NULL
15494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_AltDown",kwnames
,&obj0
)) goto fail
;
15495 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15496 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15499 result
= (bool)((wxKeyEvent
const *)arg1
)->AltDown();
15501 wxPyEndAllowThreads(__tstate
);
15502 if (PyErr_Occurred()) SWIG_fail
;
15505 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15513 static PyObject
*_wrap_KeyEvent_ShiftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15514 PyObject
*resultobj
;
15515 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15517 PyObject
* obj0
= 0 ;
15518 char *kwnames
[] = {
15519 (char *) "self", NULL
15522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
15523 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15524 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15527 result
= (bool)((wxKeyEvent
const *)arg1
)->ShiftDown();
15529 wxPyEndAllowThreads(__tstate
);
15530 if (PyErr_Occurred()) SWIG_fail
;
15533 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15541 static PyObject
*_wrap_KeyEvent_CmdDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15542 PyObject
*resultobj
;
15543 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15545 PyObject
* obj0
= 0 ;
15546 char *kwnames
[] = {
15547 (char *) "self", NULL
15550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_CmdDown",kwnames
,&obj0
)) goto fail
;
15551 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15552 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15555 result
= (bool)((wxKeyEvent
const *)arg1
)->CmdDown();
15557 wxPyEndAllowThreads(__tstate
);
15558 if (PyErr_Occurred()) SWIG_fail
;
15561 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15569 static PyObject
*_wrap_KeyEvent_HasModifiers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15570 PyObject
*resultobj
;
15571 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15573 PyObject
* obj0
= 0 ;
15574 char *kwnames
[] = {
15575 (char *) "self", NULL
15578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_HasModifiers",kwnames
,&obj0
)) goto fail
;
15579 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15580 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15583 result
= (bool)((wxKeyEvent
const *)arg1
)->HasModifiers();
15585 wxPyEndAllowThreads(__tstate
);
15586 if (PyErr_Occurred()) SWIG_fail
;
15589 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15597 static PyObject
*_wrap_KeyEvent_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15598 PyObject
*resultobj
;
15599 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15601 PyObject
* obj0
= 0 ;
15602 char *kwnames
[] = {
15603 (char *) "self", NULL
15606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
15607 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15608 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15611 result
= (int)((wxKeyEvent
const *)arg1
)->GetKeyCode();
15613 wxPyEndAllowThreads(__tstate
);
15614 if (PyErr_Occurred()) SWIG_fail
;
15616 resultobj
= SWIG_FromInt((int)result
);
15623 static PyObject
*_wrap_KeyEvent_GetUnicodeKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15624 PyObject
*resultobj
;
15625 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15627 PyObject
* obj0
= 0 ;
15628 char *kwnames
[] = {
15629 (char *) "self", NULL
15632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetUnicodeKey",kwnames
,&obj0
)) goto fail
;
15633 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15634 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15637 result
= (int)wxKeyEvent_GetUnicodeKey(arg1
);
15639 wxPyEndAllowThreads(__tstate
);
15640 if (PyErr_Occurred()) SWIG_fail
;
15642 resultobj
= SWIG_FromInt((int)result
);
15649 static PyObject
*_wrap_KeyEvent_GetRawKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15650 PyObject
*resultobj
;
15651 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15652 unsigned int result
;
15653 PyObject
* obj0
= 0 ;
15654 char *kwnames
[] = {
15655 (char *) "self", NULL
15658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetRawKeyCode",kwnames
,&obj0
)) goto fail
;
15659 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15660 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15663 result
= (unsigned int)((wxKeyEvent
const *)arg1
)->GetRawKeyCode();
15665 wxPyEndAllowThreads(__tstate
);
15666 if (PyErr_Occurred()) SWIG_fail
;
15668 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
15675 static PyObject
*_wrap_KeyEvent_GetRawKeyFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15676 PyObject
*resultobj
;
15677 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15678 unsigned int result
;
15679 PyObject
* obj0
= 0 ;
15680 char *kwnames
[] = {
15681 (char *) "self", NULL
15684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetRawKeyFlags",kwnames
,&obj0
)) goto fail
;
15685 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15686 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15689 result
= (unsigned int)((wxKeyEvent
const *)arg1
)->GetRawKeyFlags();
15691 wxPyEndAllowThreads(__tstate
);
15692 if (PyErr_Occurred()) SWIG_fail
;
15694 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
15701 static PyObject
*_wrap_KeyEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15702 PyObject
*resultobj
;
15703 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15705 PyObject
* obj0
= 0 ;
15706 char *kwnames
[] = {
15707 (char *) "self", NULL
15710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
15711 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15712 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15715 result
= (arg1
)->GetPosition();
15717 wxPyEndAllowThreads(__tstate
);
15718 if (PyErr_Occurred()) SWIG_fail
;
15721 wxPoint
* resultptr
;
15722 resultptr
= new wxPoint((wxPoint
&) result
);
15723 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
15731 static PyObject
*_wrap_KeyEvent_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15732 PyObject
*resultobj
;
15733 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15734 long *arg2
= (long *) 0 ;
15735 long *arg3
= (long *) 0 ;
15738 PyObject
* obj0
= 0 ;
15739 char *kwnames
[] = {
15740 (char *) "self", NULL
15745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
15746 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15747 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15750 (arg1
)->GetPosition(arg2
,arg3
);
15752 wxPyEndAllowThreads(__tstate
);
15753 if (PyErr_Occurred()) SWIG_fail
;
15755 Py_INCREF(Py_None
); resultobj
= Py_None
;
15757 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
15758 resultobj
= t_output_helper(resultobj
,o
);
15761 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15762 resultobj
= t_output_helper(resultobj
,o
);
15770 static PyObject
*_wrap_KeyEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15771 PyObject
*resultobj
;
15772 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15774 PyObject
* obj0
= 0 ;
15775 char *kwnames
[] = {
15776 (char *) "self", NULL
15779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetX",kwnames
,&obj0
)) goto fail
;
15780 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15781 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15784 result
= (int)((wxKeyEvent
const *)arg1
)->GetX();
15786 wxPyEndAllowThreads(__tstate
);
15787 if (PyErr_Occurred()) SWIG_fail
;
15789 resultobj
= SWIG_FromInt((int)result
);
15796 static PyObject
*_wrap_KeyEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15797 PyObject
*resultobj
;
15798 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15800 PyObject
* obj0
= 0 ;
15801 char *kwnames
[] = {
15802 (char *) "self", NULL
15805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetY",kwnames
,&obj0
)) goto fail
;
15806 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15807 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15810 result
= (int)((wxKeyEvent
const *)arg1
)->GetY();
15812 wxPyEndAllowThreads(__tstate
);
15813 if (PyErr_Occurred()) SWIG_fail
;
15815 resultobj
= SWIG_FromInt((int)result
);
15822 static PyObject
*_wrap_KeyEvent_m_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15823 PyObject
*resultobj
;
15824 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15826 PyObject
* obj0
= 0 ;
15827 PyObject
* obj1
= 0 ;
15828 char *kwnames
[] = {
15829 (char *) "self",(char *) "m_x", NULL
15832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15833 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15834 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15835 arg2
= (int) SWIG_AsInt(obj1
);
15836 if (PyErr_Occurred()) SWIG_fail
;
15837 if (arg1
) (arg1
)->m_x
= arg2
;
15839 Py_INCREF(Py_None
); resultobj
= Py_None
;
15846 static PyObject
*_wrap_KeyEvent_m_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15847 PyObject
*resultobj
;
15848 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15850 PyObject
* obj0
= 0 ;
15851 char *kwnames
[] = {
15852 (char *) "self", NULL
15855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_x_get",kwnames
,&obj0
)) goto fail
;
15856 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15857 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15858 result
= (int) ((arg1
)->m_x
);
15860 resultobj
= SWIG_FromInt((int)result
);
15867 static PyObject
*_wrap_KeyEvent_m_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15868 PyObject
*resultobj
;
15869 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15871 PyObject
* obj0
= 0 ;
15872 PyObject
* obj1
= 0 ;
15873 char *kwnames
[] = {
15874 (char *) "self",(char *) "m_y", NULL
15877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15878 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15879 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15880 arg2
= (int) SWIG_AsInt(obj1
);
15881 if (PyErr_Occurred()) SWIG_fail
;
15882 if (arg1
) (arg1
)->m_y
= arg2
;
15884 Py_INCREF(Py_None
); resultobj
= Py_None
;
15891 static PyObject
*_wrap_KeyEvent_m_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15892 PyObject
*resultobj
;
15893 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15895 PyObject
* obj0
= 0 ;
15896 char *kwnames
[] = {
15897 (char *) "self", NULL
15900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_y_get",kwnames
,&obj0
)) goto fail
;
15901 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15902 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15903 result
= (int) ((arg1
)->m_y
);
15905 resultobj
= SWIG_FromInt((int)result
);
15912 static PyObject
*_wrap_KeyEvent_m_keyCode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15913 PyObject
*resultobj
;
15914 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15916 PyObject
* obj0
= 0 ;
15917 PyObject
* obj1
= 0 ;
15918 char *kwnames
[] = {
15919 (char *) "self",(char *) "m_keyCode", NULL
15922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_keyCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15923 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15924 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15925 arg2
= (long) SWIG_AsLong(obj1
);
15926 if (PyErr_Occurred()) SWIG_fail
;
15927 if (arg1
) (arg1
)->m_keyCode
= arg2
;
15929 Py_INCREF(Py_None
); resultobj
= Py_None
;
15936 static PyObject
*_wrap_KeyEvent_m_keyCode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15937 PyObject
*resultobj
;
15938 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15940 PyObject
* obj0
= 0 ;
15941 char *kwnames
[] = {
15942 (char *) "self", NULL
15945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_keyCode_get",kwnames
,&obj0
)) goto fail
;
15946 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15947 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15948 result
= (long) ((arg1
)->m_keyCode
);
15950 resultobj
= SWIG_FromLong((long)result
);
15957 static PyObject
*_wrap_KeyEvent_m_controlDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15958 PyObject
*resultobj
;
15959 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15961 PyObject
* obj0
= 0 ;
15962 PyObject
* obj1
= 0 ;
15963 char *kwnames
[] = {
15964 (char *) "self",(char *) "m_controlDown", NULL
15967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_controlDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15968 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15969 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15970 arg2
= (bool) SWIG_AsBool(obj1
);
15971 if (PyErr_Occurred()) SWIG_fail
;
15972 if (arg1
) (arg1
)->m_controlDown
= arg2
;
15974 Py_INCREF(Py_None
); resultobj
= Py_None
;
15981 static PyObject
*_wrap_KeyEvent_m_controlDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15982 PyObject
*resultobj
;
15983 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15985 PyObject
* obj0
= 0 ;
15986 char *kwnames
[] = {
15987 (char *) "self", NULL
15990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_controlDown_get",kwnames
,&obj0
)) goto fail
;
15991 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15992 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15993 result
= (bool) ((arg1
)->m_controlDown
);
15996 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16004 static PyObject
*_wrap_KeyEvent_m_shiftDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16005 PyObject
*resultobj
;
16006 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16008 PyObject
* obj0
= 0 ;
16009 PyObject
* obj1
= 0 ;
16010 char *kwnames
[] = {
16011 (char *) "self",(char *) "m_shiftDown", NULL
16014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_shiftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16015 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16016 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16017 arg2
= (bool) SWIG_AsBool(obj1
);
16018 if (PyErr_Occurred()) SWIG_fail
;
16019 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
16021 Py_INCREF(Py_None
); resultobj
= Py_None
;
16028 static PyObject
*_wrap_KeyEvent_m_shiftDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16029 PyObject
*resultobj
;
16030 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16032 PyObject
* obj0
= 0 ;
16033 char *kwnames
[] = {
16034 (char *) "self", NULL
16037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_shiftDown_get",kwnames
,&obj0
)) goto fail
;
16038 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16039 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16040 result
= (bool) ((arg1
)->m_shiftDown
);
16043 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16051 static PyObject
*_wrap_KeyEvent_m_altDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16052 PyObject
*resultobj
;
16053 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16055 PyObject
* obj0
= 0 ;
16056 PyObject
* obj1
= 0 ;
16057 char *kwnames
[] = {
16058 (char *) "self",(char *) "m_altDown", NULL
16061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_altDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16062 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16063 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16064 arg2
= (bool) SWIG_AsBool(obj1
);
16065 if (PyErr_Occurred()) SWIG_fail
;
16066 if (arg1
) (arg1
)->m_altDown
= arg2
;
16068 Py_INCREF(Py_None
); resultobj
= Py_None
;
16075 static PyObject
*_wrap_KeyEvent_m_altDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16076 PyObject
*resultobj
;
16077 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16079 PyObject
* obj0
= 0 ;
16080 char *kwnames
[] = {
16081 (char *) "self", NULL
16084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_altDown_get",kwnames
,&obj0
)) goto fail
;
16085 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16086 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16087 result
= (bool) ((arg1
)->m_altDown
);
16090 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16098 static PyObject
*_wrap_KeyEvent_m_metaDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16099 PyObject
*resultobj
;
16100 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16102 PyObject
* obj0
= 0 ;
16103 PyObject
* obj1
= 0 ;
16104 char *kwnames
[] = {
16105 (char *) "self",(char *) "m_metaDown", NULL
16108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_metaDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16109 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16110 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16111 arg2
= (bool) SWIG_AsBool(obj1
);
16112 if (PyErr_Occurred()) SWIG_fail
;
16113 if (arg1
) (arg1
)->m_metaDown
= arg2
;
16115 Py_INCREF(Py_None
); resultobj
= Py_None
;
16122 static PyObject
*_wrap_KeyEvent_m_metaDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16123 PyObject
*resultobj
;
16124 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16126 PyObject
* obj0
= 0 ;
16127 char *kwnames
[] = {
16128 (char *) "self", NULL
16131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_metaDown_get",kwnames
,&obj0
)) goto fail
;
16132 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16133 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16134 result
= (bool) ((arg1
)->m_metaDown
);
16137 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16145 static PyObject
*_wrap_KeyEvent_m_scanCode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16146 PyObject
*resultobj
;
16147 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16149 PyObject
* obj0
= 0 ;
16150 PyObject
* obj1
= 0 ;
16151 char *kwnames
[] = {
16152 (char *) "self",(char *) "m_scanCode", NULL
16155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_scanCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16156 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16157 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16158 arg2
= (bool) SWIG_AsBool(obj1
);
16159 if (PyErr_Occurred()) SWIG_fail
;
16160 if (arg1
) (arg1
)->m_scanCode
= arg2
;
16162 Py_INCREF(Py_None
); resultobj
= Py_None
;
16169 static PyObject
*_wrap_KeyEvent_m_scanCode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16170 PyObject
*resultobj
;
16171 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16173 PyObject
* obj0
= 0 ;
16174 char *kwnames
[] = {
16175 (char *) "self", NULL
16178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_scanCode_get",kwnames
,&obj0
)) goto fail
;
16179 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16180 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16181 result
= (bool) ((arg1
)->m_scanCode
);
16184 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16192 static PyObject
*_wrap_KeyEvent_m_rawCode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16193 PyObject
*resultobj
;
16194 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16195 unsigned int arg2
;
16196 PyObject
* obj0
= 0 ;
16197 PyObject
* obj1
= 0 ;
16198 char *kwnames
[] = {
16199 (char *) "self",(char *) "m_rawCode", NULL
16202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_rawCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16203 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16204 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16205 arg2
= (unsigned int) SWIG_AsUnsignedInt(obj1
);
16206 if (PyErr_Occurred()) SWIG_fail
;
16207 if (arg1
) (arg1
)->m_rawCode
= arg2
;
16209 Py_INCREF(Py_None
); resultobj
= Py_None
;
16216 static PyObject
*_wrap_KeyEvent_m_rawCode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16217 PyObject
*resultobj
;
16218 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16219 unsigned int result
;
16220 PyObject
* obj0
= 0 ;
16221 char *kwnames
[] = {
16222 (char *) "self", NULL
16225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_rawCode_get",kwnames
,&obj0
)) goto fail
;
16226 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16227 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16228 result
= (unsigned int) ((arg1
)->m_rawCode
);
16230 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
16237 static PyObject
*_wrap_KeyEvent_m_rawFlags_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16238 PyObject
*resultobj
;
16239 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16240 unsigned int arg2
;
16241 PyObject
* obj0
= 0 ;
16242 PyObject
* obj1
= 0 ;
16243 char *kwnames
[] = {
16244 (char *) "self",(char *) "m_rawFlags", NULL
16247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_rawFlags_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16248 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16249 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16250 arg2
= (unsigned int) SWIG_AsUnsignedInt(obj1
);
16251 if (PyErr_Occurred()) SWIG_fail
;
16252 if (arg1
) (arg1
)->m_rawFlags
= arg2
;
16254 Py_INCREF(Py_None
); resultobj
= Py_None
;
16261 static PyObject
*_wrap_KeyEvent_m_rawFlags_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16262 PyObject
*resultobj
;
16263 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16264 unsigned int result
;
16265 PyObject
* obj0
= 0 ;
16266 char *kwnames
[] = {
16267 (char *) "self", NULL
16270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_rawFlags_get",kwnames
,&obj0
)) goto fail
;
16271 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16272 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16273 result
= (unsigned int) ((arg1
)->m_rawFlags
);
16275 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
16282 static PyObject
* KeyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16284 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16285 SWIG_TypeClientData(SWIGTYPE_p_wxKeyEvent
, obj
);
16287 return Py_BuildValue((char *)"");
16289 static PyObject
*_wrap_new_SizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16290 PyObject
*resultobj
;
16291 wxSize
const &arg1_defvalue
= wxDefaultSize
;
16292 wxSize
*arg1
= (wxSize
*) &arg1_defvalue
;
16293 int arg2
= (int) 0 ;
16294 wxSizeEvent
*result
;
16296 PyObject
* obj0
= 0 ;
16297 PyObject
* obj1
= 0 ;
16298 char *kwnames
[] = {
16299 (char *) "sz",(char *) "winid", NULL
16302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SizeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
16306 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
16310 arg2
= (int) SWIG_AsInt(obj1
);
16311 if (PyErr_Occurred()) SWIG_fail
;
16314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16315 result
= (wxSizeEvent
*)new wxSizeEvent((wxSize
const &)*arg1
,arg2
);
16317 wxPyEndAllowThreads(__tstate
);
16318 if (PyErr_Occurred()) SWIG_fail
;
16320 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizeEvent
, 1);
16327 static PyObject
*_wrap_SizeEvent_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16328 PyObject
*resultobj
;
16329 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16331 PyObject
* obj0
= 0 ;
16332 char *kwnames
[] = {
16333 (char *) "self", NULL
16336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_GetSize",kwnames
,&obj0
)) goto fail
;
16337 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16338 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16341 result
= ((wxSizeEvent
const *)arg1
)->GetSize();
16343 wxPyEndAllowThreads(__tstate
);
16344 if (PyErr_Occurred()) SWIG_fail
;
16347 wxSize
* resultptr
;
16348 resultptr
= new wxSize((wxSize
&) result
);
16349 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16357 static PyObject
*_wrap_SizeEvent_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16358 PyObject
*resultobj
;
16359 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16361 PyObject
* obj0
= 0 ;
16362 char *kwnames
[] = {
16363 (char *) "self", NULL
16366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_GetRect",kwnames
,&obj0
)) goto fail
;
16367 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16368 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16371 result
= ((wxSizeEvent
const *)arg1
)->GetRect();
16373 wxPyEndAllowThreads(__tstate
);
16374 if (PyErr_Occurred()) SWIG_fail
;
16377 wxRect
* resultptr
;
16378 resultptr
= new wxRect((wxRect
&) result
);
16379 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
16387 static PyObject
*_wrap_SizeEvent_SetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16388 PyObject
*resultobj
;
16389 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16392 PyObject
* obj0
= 0 ;
16393 PyObject
* obj1
= 0 ;
16394 char *kwnames
[] = {
16395 (char *) "self",(char *) "rect", NULL
16398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
16399 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16400 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16401 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxRect
,
16402 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
16405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16406 (arg1
)->SetRect(arg2
);
16408 wxPyEndAllowThreads(__tstate
);
16409 if (PyErr_Occurred()) SWIG_fail
;
16411 Py_INCREF(Py_None
); resultobj
= Py_None
;
16418 static PyObject
*_wrap_SizeEvent_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16419 PyObject
*resultobj
;
16420 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16423 PyObject
* obj0
= 0 ;
16424 PyObject
* obj1
= 0 ;
16425 char *kwnames
[] = {
16426 (char *) "self",(char *) "size", NULL
16429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
16430 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16431 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16432 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxSize
,
16433 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
16436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16437 wxSizeEvent_SetSize(arg1
,arg2
);
16439 wxPyEndAllowThreads(__tstate
);
16440 if (PyErr_Occurred()) SWIG_fail
;
16442 Py_INCREF(Py_None
); resultobj
= Py_None
;
16449 static PyObject
*_wrap_SizeEvent_m_size_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16450 PyObject
*resultobj
;
16451 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16452 wxSize
*arg2
= (wxSize
*) 0 ;
16453 PyObject
* obj0
= 0 ;
16454 PyObject
* obj1
= 0 ;
16455 char *kwnames
[] = {
16456 (char *) "self",(char *) "m_size", NULL
16459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_m_size_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16460 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16461 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16462 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSize
,
16463 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16464 if (arg1
) (arg1
)->m_size
= *arg2
;
16466 Py_INCREF(Py_None
); resultobj
= Py_None
;
16473 static PyObject
*_wrap_SizeEvent_m_size_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16474 PyObject
*resultobj
;
16475 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16477 PyObject
* obj0
= 0 ;
16478 char *kwnames
[] = {
16479 (char *) "self", NULL
16482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_m_size_get",kwnames
,&obj0
)) goto fail
;
16483 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16484 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16485 result
= (wxSize
*)& ((arg1
)->m_size
);
16487 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
16494 static PyObject
*_wrap_SizeEvent_m_rect_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16495 PyObject
*resultobj
;
16496 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16497 wxRect
*arg2
= (wxRect
*) 0 ;
16498 PyObject
* obj0
= 0 ;
16499 PyObject
* obj1
= 0 ;
16500 char *kwnames
[] = {
16501 (char *) "self",(char *) "m_rect", NULL
16504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_m_rect_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16505 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16506 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16507 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRect
,
16508 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16509 if (arg1
) (arg1
)->m_rect
= *arg2
;
16511 Py_INCREF(Py_None
); resultobj
= Py_None
;
16518 static PyObject
*_wrap_SizeEvent_m_rect_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16519 PyObject
*resultobj
;
16520 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16522 PyObject
* obj0
= 0 ;
16523 char *kwnames
[] = {
16524 (char *) "self", NULL
16527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_m_rect_get",kwnames
,&obj0
)) goto fail
;
16528 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16529 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16530 result
= (wxRect
*)& ((arg1
)->m_rect
);
16532 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
16539 static PyObject
* SizeEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16541 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16542 SWIG_TypeClientData(SWIGTYPE_p_wxSizeEvent
, obj
);
16544 return Py_BuildValue((char *)"");
16546 static PyObject
*_wrap_new_MoveEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16547 PyObject
*resultobj
;
16548 wxPoint
const &arg1_defvalue
= wxDefaultPosition
;
16549 wxPoint
*arg1
= (wxPoint
*) &arg1_defvalue
;
16550 int arg2
= (int) 0 ;
16551 wxMoveEvent
*result
;
16553 PyObject
* obj0
= 0 ;
16554 PyObject
* obj1
= 0 ;
16555 char *kwnames
[] = {
16556 (char *) "pos",(char *) "winid", NULL
16559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_MoveEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
16563 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
16567 arg2
= (int) SWIG_AsInt(obj1
);
16568 if (PyErr_Occurred()) SWIG_fail
;
16571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16572 result
= (wxMoveEvent
*)new wxMoveEvent((wxPoint
const &)*arg1
,arg2
);
16574 wxPyEndAllowThreads(__tstate
);
16575 if (PyErr_Occurred()) SWIG_fail
;
16577 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMoveEvent
, 1);
16584 static PyObject
*_wrap_MoveEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16585 PyObject
*resultobj
;
16586 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16588 PyObject
* obj0
= 0 ;
16589 char *kwnames
[] = {
16590 (char *) "self", NULL
16593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
16594 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16595 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16598 result
= ((wxMoveEvent
const *)arg1
)->GetPosition();
16600 wxPyEndAllowThreads(__tstate
);
16601 if (PyErr_Occurred()) SWIG_fail
;
16604 wxPoint
* resultptr
;
16605 resultptr
= new wxPoint((wxPoint
&) result
);
16606 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
16614 static PyObject
*_wrap_MoveEvent_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16615 PyObject
*resultobj
;
16616 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16618 PyObject
* obj0
= 0 ;
16619 char *kwnames
[] = {
16620 (char *) "self", NULL
16623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_GetRect",kwnames
,&obj0
)) goto fail
;
16624 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16625 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16628 result
= ((wxMoveEvent
const *)arg1
)->GetRect();
16630 wxPyEndAllowThreads(__tstate
);
16631 if (PyErr_Occurred()) SWIG_fail
;
16634 wxRect
* resultptr
;
16635 resultptr
= new wxRect((wxRect
&) result
);
16636 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
16644 static PyObject
*_wrap_MoveEvent_SetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16645 PyObject
*resultobj
;
16646 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16649 PyObject
* obj0
= 0 ;
16650 PyObject
* obj1
= 0 ;
16651 char *kwnames
[] = {
16652 (char *) "self",(char *) "rect", NULL
16655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
16656 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16657 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16658 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxRect
,
16659 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
16662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16663 (arg1
)->SetRect(arg2
);
16665 wxPyEndAllowThreads(__tstate
);
16666 if (PyErr_Occurred()) SWIG_fail
;
16668 Py_INCREF(Py_None
); resultobj
= Py_None
;
16675 static PyObject
*_wrap_MoveEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16676 PyObject
*resultobj
;
16677 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16680 PyObject
* obj0
= 0 ;
16681 PyObject
* obj1
= 0 ;
16682 char *kwnames
[] = {
16683 (char *) "self",(char *) "pos", NULL
16686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
16687 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16688 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16689 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxPoint
,
16690 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
16693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16694 wxMoveEvent_SetPosition(arg1
,arg2
);
16696 wxPyEndAllowThreads(__tstate
);
16697 if (PyErr_Occurred()) SWIG_fail
;
16699 Py_INCREF(Py_None
); resultobj
= Py_None
;
16706 static PyObject
*_wrap_MoveEvent_m_pos_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16707 PyObject
*resultobj
;
16708 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16709 wxPoint
*arg2
= (wxPoint
*) 0 ;
16710 PyObject
* obj0
= 0 ;
16711 PyObject
* obj1
= 0 ;
16712 char *kwnames
[] = {
16713 (char *) "self",(char *) "m_pos", NULL
16716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_m_pos_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16717 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16718 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16719 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPoint
,
16720 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16721 if (arg1
) (arg1
)->m_pos
= *arg2
;
16723 Py_INCREF(Py_None
); resultobj
= Py_None
;
16730 static PyObject
*_wrap_MoveEvent_m_pos_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16731 PyObject
*resultobj
;
16732 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16734 PyObject
* obj0
= 0 ;
16735 char *kwnames
[] = {
16736 (char *) "self", NULL
16739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_m_pos_get",kwnames
,&obj0
)) goto fail
;
16740 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16741 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16742 result
= (wxPoint
*)& ((arg1
)->m_pos
);
16744 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
16751 static PyObject
*_wrap_MoveEvent_m_rect_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16752 PyObject
*resultobj
;
16753 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16754 wxRect
*arg2
= (wxRect
*) 0 ;
16755 PyObject
* obj0
= 0 ;
16756 PyObject
* obj1
= 0 ;
16757 char *kwnames
[] = {
16758 (char *) "self",(char *) "m_rect", NULL
16761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_m_rect_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16762 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16763 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16764 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRect
,
16765 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16766 if (arg1
) (arg1
)->m_rect
= *arg2
;
16768 Py_INCREF(Py_None
); resultobj
= Py_None
;
16775 static PyObject
*_wrap_MoveEvent_m_rect_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16776 PyObject
*resultobj
;
16777 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16779 PyObject
* obj0
= 0 ;
16780 char *kwnames
[] = {
16781 (char *) "self", NULL
16784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_m_rect_get",kwnames
,&obj0
)) goto fail
;
16785 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16786 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16787 result
= (wxRect
*)& ((arg1
)->m_rect
);
16789 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
16796 static PyObject
* MoveEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16798 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16799 SWIG_TypeClientData(SWIGTYPE_p_wxMoveEvent
, obj
);
16801 return Py_BuildValue((char *)"");
16803 static PyObject
*_wrap_new_PaintEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16804 PyObject
*resultobj
;
16805 int arg1
= (int) 0 ;
16806 wxPaintEvent
*result
;
16807 PyObject
* obj0
= 0 ;
16808 char *kwnames
[] = {
16809 (char *) "Id", NULL
16812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PaintEvent",kwnames
,&obj0
)) goto fail
;
16814 arg1
= (int) SWIG_AsInt(obj0
);
16815 if (PyErr_Occurred()) SWIG_fail
;
16818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16819 result
= (wxPaintEvent
*)new wxPaintEvent(arg1
);
16821 wxPyEndAllowThreads(__tstate
);
16822 if (PyErr_Occurred()) SWIG_fail
;
16824 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaintEvent
, 1);
16831 static PyObject
* PaintEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16833 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16834 SWIG_TypeClientData(SWIGTYPE_p_wxPaintEvent
, obj
);
16836 return Py_BuildValue((char *)"");
16838 static PyObject
*_wrap_new_NcPaintEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16839 PyObject
*resultobj
;
16840 int arg1
= (int) 0 ;
16841 wxNcPaintEvent
*result
;
16842 PyObject
* obj0
= 0 ;
16843 char *kwnames
[] = {
16844 (char *) "winid", NULL
16847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_NcPaintEvent",kwnames
,&obj0
)) goto fail
;
16849 arg1
= (int) SWIG_AsInt(obj0
);
16850 if (PyErr_Occurred()) SWIG_fail
;
16853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16854 result
= (wxNcPaintEvent
*)new wxNcPaintEvent(arg1
);
16856 wxPyEndAllowThreads(__tstate
);
16857 if (PyErr_Occurred()) SWIG_fail
;
16859 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNcPaintEvent
, 1);
16866 static PyObject
* NcPaintEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16868 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16869 SWIG_TypeClientData(SWIGTYPE_p_wxNcPaintEvent
, obj
);
16871 return Py_BuildValue((char *)"");
16873 static PyObject
*_wrap_new_EraseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16874 PyObject
*resultobj
;
16875 int arg1
= (int) 0 ;
16876 wxDC
*arg2
= (wxDC
*) (wxDC
*) NULL
;
16877 wxEraseEvent
*result
;
16878 PyObject
* obj0
= 0 ;
16879 PyObject
* obj1
= 0 ;
16880 char *kwnames
[] = {
16881 (char *) "Id",(char *) "dc", NULL
16884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_EraseEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
16886 arg1
= (int) SWIG_AsInt(obj0
);
16887 if (PyErr_Occurred()) SWIG_fail
;
16890 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
16891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16895 result
= (wxEraseEvent
*)new wxEraseEvent(arg1
,arg2
);
16897 wxPyEndAllowThreads(__tstate
);
16898 if (PyErr_Occurred()) SWIG_fail
;
16900 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEraseEvent
, 1);
16907 static PyObject
*_wrap_EraseEvent_GetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16908 PyObject
*resultobj
;
16909 wxEraseEvent
*arg1
= (wxEraseEvent
*) 0 ;
16911 PyObject
* obj0
= 0 ;
16912 char *kwnames
[] = {
16913 (char *) "self", NULL
16916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EraseEvent_GetDC",kwnames
,&obj0
)) goto fail
;
16917 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEraseEvent
,
16918 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16921 result
= (wxDC
*)((wxEraseEvent
const *)arg1
)->GetDC();
16923 wxPyEndAllowThreads(__tstate
);
16924 if (PyErr_Occurred()) SWIG_fail
;
16927 resultobj
= wxPyMake_wxObject(result
, 0);
16935 static PyObject
* EraseEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16937 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16938 SWIG_TypeClientData(SWIGTYPE_p_wxEraseEvent
, obj
);
16940 return Py_BuildValue((char *)"");
16942 static PyObject
*_wrap_new_FocusEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16943 PyObject
*resultobj
;
16944 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16945 int arg2
= (int) 0 ;
16946 wxFocusEvent
*result
;
16947 PyObject
* obj0
= 0 ;
16948 PyObject
* obj1
= 0 ;
16949 char *kwnames
[] = {
16950 (char *) "type",(char *) "winid", NULL
16953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FocusEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
16955 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
16956 if (PyErr_Occurred()) SWIG_fail
;
16959 arg2
= (int) SWIG_AsInt(obj1
);
16960 if (PyErr_Occurred()) SWIG_fail
;
16963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16964 result
= (wxFocusEvent
*)new wxFocusEvent(arg1
,arg2
);
16966 wxPyEndAllowThreads(__tstate
);
16967 if (PyErr_Occurred()) SWIG_fail
;
16969 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFocusEvent
, 1);
16976 static PyObject
*_wrap_FocusEvent_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16977 PyObject
*resultobj
;
16978 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
16980 PyObject
* obj0
= 0 ;
16981 char *kwnames
[] = {
16982 (char *) "self", NULL
16985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FocusEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
16986 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFocusEvent
,
16987 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16990 result
= (wxWindow
*)((wxFocusEvent
const *)arg1
)->GetWindow();
16992 wxPyEndAllowThreads(__tstate
);
16993 if (PyErr_Occurred()) SWIG_fail
;
16996 resultobj
= wxPyMake_wxObject(result
, 0);
17004 static PyObject
*_wrap_FocusEvent_SetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17005 PyObject
*resultobj
;
17006 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
17007 wxWindow
*arg2
= (wxWindow
*) 0 ;
17008 PyObject
* obj0
= 0 ;
17009 PyObject
* obj1
= 0 ;
17010 char *kwnames
[] = {
17011 (char *) "self",(char *) "win", NULL
17014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FocusEvent_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
17015 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFocusEvent
,
17016 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17017 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
17018 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17021 (arg1
)->SetWindow(arg2
);
17023 wxPyEndAllowThreads(__tstate
);
17024 if (PyErr_Occurred()) SWIG_fail
;
17026 Py_INCREF(Py_None
); resultobj
= Py_None
;
17033 static PyObject
* FocusEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17035 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17036 SWIG_TypeClientData(SWIGTYPE_p_wxFocusEvent
, obj
);
17038 return Py_BuildValue((char *)"");
17040 static PyObject
*_wrap_new_ChildFocusEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17041 PyObject
*resultobj
;
17042 wxWindow
*arg1
= (wxWindow
*) NULL
;
17043 wxChildFocusEvent
*result
;
17044 PyObject
* obj0
= 0 ;
17045 char *kwnames
[] = {
17046 (char *) "win", NULL
17049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ChildFocusEvent",kwnames
,&obj0
)) goto fail
;
17051 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
17052 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17056 result
= (wxChildFocusEvent
*)new wxChildFocusEvent(arg1
);
17058 wxPyEndAllowThreads(__tstate
);
17059 if (PyErr_Occurred()) SWIG_fail
;
17061 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChildFocusEvent
, 1);
17068 static PyObject
*_wrap_ChildFocusEvent_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17069 PyObject
*resultobj
;
17070 wxChildFocusEvent
*arg1
= (wxChildFocusEvent
*) 0 ;
17072 PyObject
* obj0
= 0 ;
17073 char *kwnames
[] = {
17074 (char *) "self", NULL
17077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ChildFocusEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
17078 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChildFocusEvent
,
17079 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17082 result
= (wxWindow
*)((wxChildFocusEvent
const *)arg1
)->GetWindow();
17084 wxPyEndAllowThreads(__tstate
);
17085 if (PyErr_Occurred()) SWIG_fail
;
17088 resultobj
= wxPyMake_wxObject(result
, 0);
17096 static PyObject
* ChildFocusEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17098 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17099 SWIG_TypeClientData(SWIGTYPE_p_wxChildFocusEvent
, obj
);
17101 return Py_BuildValue((char *)"");
17103 static PyObject
*_wrap_new_ActivateEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17104 PyObject
*resultobj
;
17105 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17106 bool arg2
= (bool) True
;
17107 int arg3
= (int) 0 ;
17108 wxActivateEvent
*result
;
17109 PyObject
* obj0
= 0 ;
17110 PyObject
* obj1
= 0 ;
17111 PyObject
* obj2
= 0 ;
17112 char *kwnames
[] = {
17113 (char *) "type",(char *) "active",(char *) "Id", NULL
17116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ActivateEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17118 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
17119 if (PyErr_Occurred()) SWIG_fail
;
17122 arg2
= (bool) SWIG_AsBool(obj1
);
17123 if (PyErr_Occurred()) SWIG_fail
;
17126 arg3
= (int) SWIG_AsInt(obj2
);
17127 if (PyErr_Occurred()) SWIG_fail
;
17130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17131 result
= (wxActivateEvent
*)new wxActivateEvent(arg1
,arg2
,arg3
);
17133 wxPyEndAllowThreads(__tstate
);
17134 if (PyErr_Occurred()) SWIG_fail
;
17136 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxActivateEvent
, 1);
17143 static PyObject
*_wrap_ActivateEvent_GetActive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17144 PyObject
*resultobj
;
17145 wxActivateEvent
*arg1
= (wxActivateEvent
*) 0 ;
17147 PyObject
* obj0
= 0 ;
17148 char *kwnames
[] = {
17149 (char *) "self", NULL
17152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ActivateEvent_GetActive",kwnames
,&obj0
)) goto fail
;
17153 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxActivateEvent
,
17154 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17157 result
= (bool)((wxActivateEvent
const *)arg1
)->GetActive();
17159 wxPyEndAllowThreads(__tstate
);
17160 if (PyErr_Occurred()) SWIG_fail
;
17163 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17171 static PyObject
* ActivateEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17173 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17174 SWIG_TypeClientData(SWIGTYPE_p_wxActivateEvent
, obj
);
17176 return Py_BuildValue((char *)"");
17178 static PyObject
*_wrap_new_InitDialogEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17179 PyObject
*resultobj
;
17180 int arg1
= (int) 0 ;
17181 wxInitDialogEvent
*result
;
17182 PyObject
* obj0
= 0 ;
17183 char *kwnames
[] = {
17184 (char *) "Id", NULL
17187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_InitDialogEvent",kwnames
,&obj0
)) goto fail
;
17189 arg1
= (int) SWIG_AsInt(obj0
);
17190 if (PyErr_Occurred()) SWIG_fail
;
17193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17194 result
= (wxInitDialogEvent
*)new wxInitDialogEvent(arg1
);
17196 wxPyEndAllowThreads(__tstate
);
17197 if (PyErr_Occurred()) SWIG_fail
;
17199 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxInitDialogEvent
, 1);
17206 static PyObject
* InitDialogEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17208 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17209 SWIG_TypeClientData(SWIGTYPE_p_wxInitDialogEvent
, obj
);
17211 return Py_BuildValue((char *)"");
17213 static PyObject
*_wrap_new_MenuEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17214 PyObject
*resultobj
;
17215 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17216 int arg2
= (int) 0 ;
17217 wxMenu
*arg3
= (wxMenu
*) NULL
;
17218 wxMenuEvent
*result
;
17219 PyObject
* obj0
= 0 ;
17220 PyObject
* obj1
= 0 ;
17221 PyObject
* obj2
= 0 ;
17222 char *kwnames
[] = {
17223 (char *) "type",(char *) "winid",(char *) "menu", NULL
17226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_MenuEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17228 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
17229 if (PyErr_Occurred()) SWIG_fail
;
17232 arg2
= (int) SWIG_AsInt(obj1
);
17233 if (PyErr_Occurred()) SWIG_fail
;
17236 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMenu
,
17237 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17241 result
= (wxMenuEvent
*)new wxMenuEvent(arg1
,arg2
,arg3
);
17243 wxPyEndAllowThreads(__tstate
);
17244 if (PyErr_Occurred()) SWIG_fail
;
17246 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMenuEvent
, 1);
17253 static PyObject
*_wrap_MenuEvent_GetMenuId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17254 PyObject
*resultobj
;
17255 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
17257 PyObject
* obj0
= 0 ;
17258 char *kwnames
[] = {
17259 (char *) "self", NULL
17262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_GetMenuId",kwnames
,&obj0
)) goto fail
;
17263 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuEvent
,
17264 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17267 result
= (int)((wxMenuEvent
const *)arg1
)->GetMenuId();
17269 wxPyEndAllowThreads(__tstate
);
17270 if (PyErr_Occurred()) SWIG_fail
;
17272 resultobj
= SWIG_FromInt((int)result
);
17279 static PyObject
*_wrap_MenuEvent_IsPopup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17280 PyObject
*resultobj
;
17281 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
17283 PyObject
* obj0
= 0 ;
17284 char *kwnames
[] = {
17285 (char *) "self", NULL
17288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_IsPopup",kwnames
,&obj0
)) goto fail
;
17289 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuEvent
,
17290 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17293 result
= (bool)((wxMenuEvent
const *)arg1
)->IsPopup();
17295 wxPyEndAllowThreads(__tstate
);
17296 if (PyErr_Occurred()) SWIG_fail
;
17299 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17307 static PyObject
*_wrap_MenuEvent_GetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17308 PyObject
*resultobj
;
17309 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
17311 PyObject
* obj0
= 0 ;
17312 char *kwnames
[] = {
17313 (char *) "self", NULL
17316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_GetMenu",kwnames
,&obj0
)) goto fail
;
17317 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuEvent
,
17318 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17321 result
= (wxMenu
*)((wxMenuEvent
const *)arg1
)->GetMenu();
17323 wxPyEndAllowThreads(__tstate
);
17324 if (PyErr_Occurred()) SWIG_fail
;
17327 resultobj
= wxPyMake_wxObject(result
, 0);
17335 static PyObject
* MenuEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17337 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17338 SWIG_TypeClientData(SWIGTYPE_p_wxMenuEvent
, obj
);
17340 return Py_BuildValue((char *)"");
17342 static PyObject
*_wrap_new_CloseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17343 PyObject
*resultobj
;
17344 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17345 int arg2
= (int) 0 ;
17346 wxCloseEvent
*result
;
17347 PyObject
* obj0
= 0 ;
17348 PyObject
* obj1
= 0 ;
17349 char *kwnames
[] = {
17350 (char *) "type",(char *) "winid", NULL
17353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_CloseEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
17355 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
17356 if (PyErr_Occurred()) SWIG_fail
;
17359 arg2
= (int) SWIG_AsInt(obj1
);
17360 if (PyErr_Occurred()) SWIG_fail
;
17363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17364 result
= (wxCloseEvent
*)new wxCloseEvent(arg1
,arg2
);
17366 wxPyEndAllowThreads(__tstate
);
17367 if (PyErr_Occurred()) SWIG_fail
;
17369 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCloseEvent
, 1);
17376 static PyObject
*_wrap_CloseEvent_SetLoggingOff(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17377 PyObject
*resultobj
;
17378 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17380 PyObject
* obj0
= 0 ;
17381 PyObject
* obj1
= 0 ;
17382 char *kwnames
[] = {
17383 (char *) "self",(char *) "logOff", NULL
17386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetLoggingOff",kwnames
,&obj0
,&obj1
)) goto fail
;
17387 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17388 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17389 arg2
= (bool) SWIG_AsBool(obj1
);
17390 if (PyErr_Occurred()) SWIG_fail
;
17392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17393 (arg1
)->SetLoggingOff(arg2
);
17395 wxPyEndAllowThreads(__tstate
);
17396 if (PyErr_Occurred()) SWIG_fail
;
17398 Py_INCREF(Py_None
); resultobj
= Py_None
;
17405 static PyObject
*_wrap_CloseEvent_GetLoggingOff(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17406 PyObject
*resultobj
;
17407 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17409 PyObject
* obj0
= 0 ;
17410 char *kwnames
[] = {
17411 (char *) "self", NULL
17414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_GetLoggingOff",kwnames
,&obj0
)) goto fail
;
17415 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17416 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17419 result
= (bool)((wxCloseEvent
const *)arg1
)->GetLoggingOff();
17421 wxPyEndAllowThreads(__tstate
);
17422 if (PyErr_Occurred()) SWIG_fail
;
17425 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17433 static PyObject
*_wrap_CloseEvent_Veto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17434 PyObject
*resultobj
;
17435 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17436 bool arg2
= (bool) True
;
17437 PyObject
* obj0
= 0 ;
17438 PyObject
* obj1
= 0 ;
17439 char *kwnames
[] = {
17440 (char *) "self",(char *) "veto", NULL
17443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CloseEvent_Veto",kwnames
,&obj0
,&obj1
)) goto fail
;
17444 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17445 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17447 arg2
= (bool) SWIG_AsBool(obj1
);
17448 if (PyErr_Occurred()) SWIG_fail
;
17451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17452 (arg1
)->Veto(arg2
);
17454 wxPyEndAllowThreads(__tstate
);
17455 if (PyErr_Occurred()) SWIG_fail
;
17457 Py_INCREF(Py_None
); resultobj
= Py_None
;
17464 static PyObject
*_wrap_CloseEvent_SetCanVeto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17465 PyObject
*resultobj
;
17466 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17468 PyObject
* obj0
= 0 ;
17469 PyObject
* obj1
= 0 ;
17470 char *kwnames
[] = {
17471 (char *) "self",(char *) "canVeto", NULL
17474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetCanVeto",kwnames
,&obj0
,&obj1
)) goto fail
;
17475 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17476 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17477 arg2
= (bool) SWIG_AsBool(obj1
);
17478 if (PyErr_Occurred()) SWIG_fail
;
17480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17481 (arg1
)->SetCanVeto(arg2
);
17483 wxPyEndAllowThreads(__tstate
);
17484 if (PyErr_Occurred()) SWIG_fail
;
17486 Py_INCREF(Py_None
); resultobj
= Py_None
;
17493 static PyObject
*_wrap_CloseEvent_CanVeto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17494 PyObject
*resultobj
;
17495 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17497 PyObject
* obj0
= 0 ;
17498 char *kwnames
[] = {
17499 (char *) "self", NULL
17502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_CanVeto",kwnames
,&obj0
)) goto fail
;
17503 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17504 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17507 result
= (bool)((wxCloseEvent
const *)arg1
)->CanVeto();
17509 wxPyEndAllowThreads(__tstate
);
17510 if (PyErr_Occurred()) SWIG_fail
;
17513 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17521 static PyObject
*_wrap_CloseEvent_GetVeto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17522 PyObject
*resultobj
;
17523 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17525 PyObject
* obj0
= 0 ;
17526 char *kwnames
[] = {
17527 (char *) "self", NULL
17530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_GetVeto",kwnames
,&obj0
)) goto fail
;
17531 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17532 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17535 result
= (bool)((wxCloseEvent
const *)arg1
)->GetVeto();
17537 wxPyEndAllowThreads(__tstate
);
17538 if (PyErr_Occurred()) SWIG_fail
;
17541 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17549 static PyObject
* CloseEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17551 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17552 SWIG_TypeClientData(SWIGTYPE_p_wxCloseEvent
, obj
);
17554 return Py_BuildValue((char *)"");
17556 static PyObject
*_wrap_new_ShowEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17557 PyObject
*resultobj
;
17558 int arg1
= (int) 0 ;
17559 bool arg2
= (bool) False
;
17560 wxShowEvent
*result
;
17561 PyObject
* obj0
= 0 ;
17562 PyObject
* obj1
= 0 ;
17563 char *kwnames
[] = {
17564 (char *) "winid",(char *) "show", NULL
17567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ShowEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
17569 arg1
= (int) SWIG_AsInt(obj0
);
17570 if (PyErr_Occurred()) SWIG_fail
;
17573 arg2
= (bool) SWIG_AsBool(obj1
);
17574 if (PyErr_Occurred()) SWIG_fail
;
17577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17578 result
= (wxShowEvent
*)new wxShowEvent(arg1
,arg2
);
17580 wxPyEndAllowThreads(__tstate
);
17581 if (PyErr_Occurred()) SWIG_fail
;
17583 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxShowEvent
, 1);
17590 static PyObject
*_wrap_ShowEvent_SetShow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17591 PyObject
*resultobj
;
17592 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
17594 PyObject
* obj0
= 0 ;
17595 PyObject
* obj1
= 0 ;
17596 char *kwnames
[] = {
17597 (char *) "self",(char *) "show", NULL
17600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ShowEvent_SetShow",kwnames
,&obj0
,&obj1
)) goto fail
;
17601 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShowEvent
,
17602 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17603 arg2
= (bool) SWIG_AsBool(obj1
);
17604 if (PyErr_Occurred()) SWIG_fail
;
17606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17607 (arg1
)->SetShow(arg2
);
17609 wxPyEndAllowThreads(__tstate
);
17610 if (PyErr_Occurred()) SWIG_fail
;
17612 Py_INCREF(Py_None
); resultobj
= Py_None
;
17619 static PyObject
*_wrap_ShowEvent_GetShow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17620 PyObject
*resultobj
;
17621 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
17623 PyObject
* obj0
= 0 ;
17624 char *kwnames
[] = {
17625 (char *) "self", NULL
17628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShowEvent_GetShow",kwnames
,&obj0
)) goto fail
;
17629 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShowEvent
,
17630 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17633 result
= (bool)((wxShowEvent
const *)arg1
)->GetShow();
17635 wxPyEndAllowThreads(__tstate
);
17636 if (PyErr_Occurred()) SWIG_fail
;
17639 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17647 static PyObject
* ShowEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17649 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17650 SWIG_TypeClientData(SWIGTYPE_p_wxShowEvent
, obj
);
17652 return Py_BuildValue((char *)"");
17654 static PyObject
*_wrap_new_IconizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17655 PyObject
*resultobj
;
17656 int arg1
= (int) 0 ;
17657 bool arg2
= (bool) True
;
17658 wxIconizeEvent
*result
;
17659 PyObject
* obj0
= 0 ;
17660 PyObject
* obj1
= 0 ;
17661 char *kwnames
[] = {
17662 (char *) "id",(char *) "iconized", NULL
17665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconizeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
17667 arg1
= (int) SWIG_AsInt(obj0
);
17668 if (PyErr_Occurred()) SWIG_fail
;
17671 arg2
= (bool) SWIG_AsBool(obj1
);
17672 if (PyErr_Occurred()) SWIG_fail
;
17675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17676 result
= (wxIconizeEvent
*)new wxIconizeEvent(arg1
,arg2
);
17678 wxPyEndAllowThreads(__tstate
);
17679 if (PyErr_Occurred()) SWIG_fail
;
17681 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconizeEvent
, 1);
17688 static PyObject
*_wrap_IconizeEvent_Iconized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17689 PyObject
*resultobj
;
17690 wxIconizeEvent
*arg1
= (wxIconizeEvent
*) 0 ;
17692 PyObject
* obj0
= 0 ;
17693 char *kwnames
[] = {
17694 (char *) "self", NULL
17697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconizeEvent_Iconized",kwnames
,&obj0
)) goto fail
;
17698 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconizeEvent
,
17699 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17702 result
= (bool)(arg1
)->Iconized();
17704 wxPyEndAllowThreads(__tstate
);
17705 if (PyErr_Occurred()) SWIG_fail
;
17708 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17716 static PyObject
* IconizeEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17718 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17719 SWIG_TypeClientData(SWIGTYPE_p_wxIconizeEvent
, obj
);
17721 return Py_BuildValue((char *)"");
17723 static PyObject
*_wrap_new_MaximizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17724 PyObject
*resultobj
;
17725 int arg1
= (int) 0 ;
17726 wxMaximizeEvent
*result
;
17727 PyObject
* obj0
= 0 ;
17728 char *kwnames
[] = {
17729 (char *) "id", NULL
17732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MaximizeEvent",kwnames
,&obj0
)) goto fail
;
17734 arg1
= (int) SWIG_AsInt(obj0
);
17735 if (PyErr_Occurred()) SWIG_fail
;
17738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17739 result
= (wxMaximizeEvent
*)new wxMaximizeEvent(arg1
);
17741 wxPyEndAllowThreads(__tstate
);
17742 if (PyErr_Occurred()) SWIG_fail
;
17744 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMaximizeEvent
, 1);
17751 static PyObject
* MaximizeEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17753 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17754 SWIG_TypeClientData(SWIGTYPE_p_wxMaximizeEvent
, obj
);
17756 return Py_BuildValue((char *)"");
17758 static PyObject
*_wrap_DropFilesEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17759 PyObject
*resultobj
;
17760 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
17762 PyObject
* obj0
= 0 ;
17763 char *kwnames
[] = {
17764 (char *) "self", NULL
17767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
17768 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDropFilesEvent
,
17769 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17772 result
= (arg1
)->GetPosition();
17774 wxPyEndAllowThreads(__tstate
);
17775 if (PyErr_Occurred()) SWIG_fail
;
17778 wxPoint
* resultptr
;
17779 resultptr
= new wxPoint((wxPoint
&) result
);
17780 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
17788 static PyObject
*_wrap_DropFilesEvent_GetNumberOfFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17789 PyObject
*resultobj
;
17790 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
17792 PyObject
* obj0
= 0 ;
17793 char *kwnames
[] = {
17794 (char *) "self", NULL
17797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetNumberOfFiles",kwnames
,&obj0
)) goto fail
;
17798 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDropFilesEvent
,
17799 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17802 result
= (int)(arg1
)->GetNumberOfFiles();
17804 wxPyEndAllowThreads(__tstate
);
17805 if (PyErr_Occurred()) SWIG_fail
;
17807 resultobj
= SWIG_FromInt((int)result
);
17814 static PyObject
*_wrap_DropFilesEvent_GetFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17815 PyObject
*resultobj
;
17816 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
17818 PyObject
* obj0
= 0 ;
17819 char *kwnames
[] = {
17820 (char *) "self", NULL
17823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetFiles",kwnames
,&obj0
)) goto fail
;
17824 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDropFilesEvent
,
17825 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17828 result
= (PyObject
*)wxDropFilesEvent_GetFiles(arg1
);
17830 wxPyEndAllowThreads(__tstate
);
17831 if (PyErr_Occurred()) SWIG_fail
;
17833 resultobj
= result
;
17840 static PyObject
* DropFilesEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17842 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17843 SWIG_TypeClientData(SWIGTYPE_p_wxDropFilesEvent
, obj
);
17845 return Py_BuildValue((char *)"");
17847 static PyObject
*_wrap_new_UpdateUIEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17848 PyObject
*resultobj
;
17849 int arg1
= (int) 0 ;
17850 wxUpdateUIEvent
*result
;
17851 PyObject
* obj0
= 0 ;
17852 char *kwnames
[] = {
17853 (char *) "commandId", NULL
17856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_UpdateUIEvent",kwnames
,&obj0
)) goto fail
;
17858 arg1
= (int) SWIG_AsInt(obj0
);
17859 if (PyErr_Occurred()) SWIG_fail
;
17862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17863 result
= (wxUpdateUIEvent
*)new wxUpdateUIEvent(arg1
);
17865 wxPyEndAllowThreads(__tstate
);
17866 if (PyErr_Occurred()) SWIG_fail
;
17868 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxUpdateUIEvent
, 1);
17875 static PyObject
*_wrap_UpdateUIEvent_GetChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17876 PyObject
*resultobj
;
17877 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17879 PyObject
* obj0
= 0 ;
17880 char *kwnames
[] = {
17881 (char *) "self", NULL
17884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetChecked",kwnames
,&obj0
)) goto fail
;
17885 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
17886 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17889 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetChecked();
17891 wxPyEndAllowThreads(__tstate
);
17892 if (PyErr_Occurred()) SWIG_fail
;
17895 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17903 static PyObject
*_wrap_UpdateUIEvent_GetEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17904 PyObject
*resultobj
;
17905 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17907 PyObject
* obj0
= 0 ;
17908 char *kwnames
[] = {
17909 (char *) "self", NULL
17912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetEnabled",kwnames
,&obj0
)) goto fail
;
17913 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
17914 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17917 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetEnabled();
17919 wxPyEndAllowThreads(__tstate
);
17920 if (PyErr_Occurred()) SWIG_fail
;
17923 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17931 static PyObject
*_wrap_UpdateUIEvent_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17932 PyObject
*resultobj
;
17933 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17935 PyObject
* obj0
= 0 ;
17936 char *kwnames
[] = {
17937 (char *) "self", NULL
17940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetText",kwnames
,&obj0
)) goto fail
;
17941 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
17942 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17945 result
= ((wxUpdateUIEvent
const *)arg1
)->GetText();
17947 wxPyEndAllowThreads(__tstate
);
17948 if (PyErr_Occurred()) SWIG_fail
;
17952 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17954 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17963 static PyObject
*_wrap_UpdateUIEvent_GetSetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17964 PyObject
*resultobj
;
17965 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17967 PyObject
* obj0
= 0 ;
17968 char *kwnames
[] = {
17969 (char *) "self", NULL
17972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetText",kwnames
,&obj0
)) goto fail
;
17973 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
17974 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17977 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetText();
17979 wxPyEndAllowThreads(__tstate
);
17980 if (PyErr_Occurred()) SWIG_fail
;
17983 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17991 static PyObject
*_wrap_UpdateUIEvent_GetSetChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17992 PyObject
*resultobj
;
17993 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17995 PyObject
* obj0
= 0 ;
17996 char *kwnames
[] = {
17997 (char *) "self", NULL
18000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetChecked",kwnames
,&obj0
)) goto fail
;
18001 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18002 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18005 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetChecked();
18007 wxPyEndAllowThreads(__tstate
);
18008 if (PyErr_Occurred()) SWIG_fail
;
18011 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18019 static PyObject
*_wrap_UpdateUIEvent_GetSetEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18020 PyObject
*resultobj
;
18021 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18023 PyObject
* obj0
= 0 ;
18024 char *kwnames
[] = {
18025 (char *) "self", NULL
18028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetEnabled",kwnames
,&obj0
)) goto fail
;
18029 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18030 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18033 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetEnabled();
18035 wxPyEndAllowThreads(__tstate
);
18036 if (PyErr_Occurred()) SWIG_fail
;
18039 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18047 static PyObject
*_wrap_UpdateUIEvent_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18048 PyObject
*resultobj
;
18049 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18051 PyObject
* obj0
= 0 ;
18052 PyObject
* obj1
= 0 ;
18053 char *kwnames
[] = {
18054 (char *) "self",(char *) "check", NULL
18057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Check",kwnames
,&obj0
,&obj1
)) goto fail
;
18058 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18059 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18060 arg2
= (bool) SWIG_AsBool(obj1
);
18061 if (PyErr_Occurred()) SWIG_fail
;
18063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18064 (arg1
)->Check(arg2
);
18066 wxPyEndAllowThreads(__tstate
);
18067 if (PyErr_Occurred()) SWIG_fail
;
18069 Py_INCREF(Py_None
); resultobj
= Py_None
;
18076 static PyObject
*_wrap_UpdateUIEvent_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18077 PyObject
*resultobj
;
18078 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18080 PyObject
* obj0
= 0 ;
18081 PyObject
* obj1
= 0 ;
18082 char *kwnames
[] = {
18083 (char *) "self",(char *) "enable", NULL
18086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
18087 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18088 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18089 arg2
= (bool) SWIG_AsBool(obj1
);
18090 if (PyErr_Occurred()) SWIG_fail
;
18092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18093 (arg1
)->Enable(arg2
);
18095 wxPyEndAllowThreads(__tstate
);
18096 if (PyErr_Occurred()) SWIG_fail
;
18098 Py_INCREF(Py_None
); resultobj
= Py_None
;
18105 static PyObject
*_wrap_UpdateUIEvent_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18106 PyObject
*resultobj
;
18107 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18108 wxString
*arg2
= 0 ;
18109 bool temp2
= False
;
18110 PyObject
* obj0
= 0 ;
18111 PyObject
* obj1
= 0 ;
18112 char *kwnames
[] = {
18113 (char *) "self",(char *) "text", NULL
18116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
18117 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18118 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18120 arg2
= wxString_in_helper(obj1
);
18121 if (arg2
== NULL
) SWIG_fail
;
18125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18126 (arg1
)->SetText((wxString
const &)*arg2
);
18128 wxPyEndAllowThreads(__tstate
);
18129 if (PyErr_Occurred()) SWIG_fail
;
18131 Py_INCREF(Py_None
); resultobj
= Py_None
;
18146 static PyObject
*_wrap_UpdateUIEvent_SetUpdateInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18147 PyObject
*resultobj
;
18149 PyObject
* obj0
= 0 ;
18150 char *kwnames
[] = {
18151 (char *) "updateInterval", NULL
18154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_SetUpdateInterval",kwnames
,&obj0
)) goto fail
;
18155 arg1
= (long) SWIG_AsLong(obj0
);
18156 if (PyErr_Occurred()) SWIG_fail
;
18158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18159 wxUpdateUIEvent::SetUpdateInterval(arg1
);
18161 wxPyEndAllowThreads(__tstate
);
18162 if (PyErr_Occurred()) SWIG_fail
;
18164 Py_INCREF(Py_None
); resultobj
= Py_None
;
18171 static PyObject
*_wrap_UpdateUIEvent_GetUpdateInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18172 PyObject
*resultobj
;
18174 char *kwnames
[] = {
18178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_GetUpdateInterval",kwnames
)) goto fail
;
18180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18181 result
= (long)wxUpdateUIEvent::GetUpdateInterval();
18183 wxPyEndAllowThreads(__tstate
);
18184 if (PyErr_Occurred()) SWIG_fail
;
18186 resultobj
= SWIG_FromLong((long)result
);
18193 static PyObject
*_wrap_UpdateUIEvent_CanUpdate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18194 PyObject
*resultobj
;
18195 wxWindow
*arg1
= (wxWindow
*) 0 ;
18197 PyObject
* obj0
= 0 ;
18198 char *kwnames
[] = {
18199 (char *) "win", NULL
18202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_CanUpdate",kwnames
,&obj0
)) goto fail
;
18203 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
18204 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18207 result
= (bool)wxUpdateUIEvent::CanUpdate(arg1
);
18209 wxPyEndAllowThreads(__tstate
);
18210 if (PyErr_Occurred()) SWIG_fail
;
18213 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18221 static PyObject
*_wrap_UpdateUIEvent_ResetUpdateTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18222 PyObject
*resultobj
;
18223 char *kwnames
[] = {
18227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_ResetUpdateTime",kwnames
)) goto fail
;
18229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18230 wxUpdateUIEvent::ResetUpdateTime();
18232 wxPyEndAllowThreads(__tstate
);
18233 if (PyErr_Occurred()) SWIG_fail
;
18235 Py_INCREF(Py_None
); resultobj
= Py_None
;
18242 static PyObject
*_wrap_UpdateUIEvent_SetMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18243 PyObject
*resultobj
;
18245 PyObject
* obj0
= 0 ;
18246 char *kwnames
[] = {
18247 (char *) "mode", NULL
18250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_SetMode",kwnames
,&obj0
)) goto fail
;
18251 arg1
= (wxUpdateUIMode
) SWIG_AsInt(obj0
);
18252 if (PyErr_Occurred()) SWIG_fail
;
18254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18255 wxUpdateUIEvent::SetMode((wxUpdateUIMode
)arg1
);
18257 wxPyEndAllowThreads(__tstate
);
18258 if (PyErr_Occurred()) SWIG_fail
;
18260 Py_INCREF(Py_None
); resultobj
= Py_None
;
18267 static PyObject
*_wrap_UpdateUIEvent_GetMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18268 PyObject
*resultobj
;
18270 char *kwnames
[] = {
18274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_GetMode",kwnames
)) goto fail
;
18276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18277 result
= (int)wxUpdateUIEvent::GetMode();
18279 wxPyEndAllowThreads(__tstate
);
18280 if (PyErr_Occurred()) SWIG_fail
;
18282 resultobj
= SWIG_FromInt((int)result
);
18289 static PyObject
* UpdateUIEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18291 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18292 SWIG_TypeClientData(SWIGTYPE_p_wxUpdateUIEvent
, obj
);
18294 return Py_BuildValue((char *)"");
18296 static PyObject
*_wrap_new_SysColourChangedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18297 PyObject
*resultobj
;
18298 wxSysColourChangedEvent
*result
;
18299 char *kwnames
[] = {
18303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SysColourChangedEvent",kwnames
)) goto fail
;
18305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18306 result
= (wxSysColourChangedEvent
*)new wxSysColourChangedEvent();
18308 wxPyEndAllowThreads(__tstate
);
18309 if (PyErr_Occurred()) SWIG_fail
;
18311 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSysColourChangedEvent
, 1);
18318 static PyObject
* SysColourChangedEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18320 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18321 SWIG_TypeClientData(SWIGTYPE_p_wxSysColourChangedEvent
, obj
);
18323 return Py_BuildValue((char *)"");
18325 static PyObject
*_wrap_new_MouseCaptureChangedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18326 PyObject
*resultobj
;
18327 int arg1
= (int) 0 ;
18328 wxWindow
*arg2
= (wxWindow
*) NULL
;
18329 wxMouseCaptureChangedEvent
*result
;
18330 PyObject
* obj0
= 0 ;
18331 PyObject
* obj1
= 0 ;
18332 char *kwnames
[] = {
18333 (char *) "winid",(char *) "gainedCapture", NULL
18336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_MouseCaptureChangedEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
18338 arg1
= (int) SWIG_AsInt(obj0
);
18339 if (PyErr_Occurred()) SWIG_fail
;
18342 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
18343 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18347 result
= (wxMouseCaptureChangedEvent
*)new wxMouseCaptureChangedEvent(arg1
,arg2
);
18349 wxPyEndAllowThreads(__tstate
);
18350 if (PyErr_Occurred()) SWIG_fail
;
18352 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMouseCaptureChangedEvent
, 1);
18359 static PyObject
*_wrap_MouseCaptureChangedEvent_GetCapturedWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18360 PyObject
*resultobj
;
18361 wxMouseCaptureChangedEvent
*arg1
= (wxMouseCaptureChangedEvent
*) 0 ;
18363 PyObject
* obj0
= 0 ;
18364 char *kwnames
[] = {
18365 (char *) "self", NULL
18368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseCaptureChangedEvent_GetCapturedWindow",kwnames
,&obj0
)) goto fail
;
18369 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseCaptureChangedEvent
,
18370 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18373 result
= (wxWindow
*)((wxMouseCaptureChangedEvent
const *)arg1
)->GetCapturedWindow();
18375 wxPyEndAllowThreads(__tstate
);
18376 if (PyErr_Occurred()) SWIG_fail
;
18379 resultobj
= wxPyMake_wxObject(result
, 0);
18387 static PyObject
* MouseCaptureChangedEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18389 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18390 SWIG_TypeClientData(SWIGTYPE_p_wxMouseCaptureChangedEvent
, obj
);
18392 return Py_BuildValue((char *)"");
18394 static PyObject
*_wrap_new_DisplayChangedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18395 PyObject
*resultobj
;
18396 wxDisplayChangedEvent
*result
;
18397 char *kwnames
[] = {
18401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DisplayChangedEvent",kwnames
)) goto fail
;
18403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18404 result
= (wxDisplayChangedEvent
*)new wxDisplayChangedEvent();
18406 wxPyEndAllowThreads(__tstate
);
18407 if (PyErr_Occurred()) SWIG_fail
;
18409 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDisplayChangedEvent
, 1);
18416 static PyObject
* DisplayChangedEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18418 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18419 SWIG_TypeClientData(SWIGTYPE_p_wxDisplayChangedEvent
, obj
);
18421 return Py_BuildValue((char *)"");
18423 static PyObject
*_wrap_new_PaletteChangedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18424 PyObject
*resultobj
;
18425 int arg1
= (int) 0 ;
18426 wxPaletteChangedEvent
*result
;
18427 PyObject
* obj0
= 0 ;
18428 char *kwnames
[] = {
18429 (char *) "id", NULL
18432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PaletteChangedEvent",kwnames
,&obj0
)) goto fail
;
18434 arg1
= (int) SWIG_AsInt(obj0
);
18435 if (PyErr_Occurred()) SWIG_fail
;
18438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18439 result
= (wxPaletteChangedEvent
*)new wxPaletteChangedEvent(arg1
);
18441 wxPyEndAllowThreads(__tstate
);
18442 if (PyErr_Occurred()) SWIG_fail
;
18444 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaletteChangedEvent
, 1);
18451 static PyObject
*_wrap_PaletteChangedEvent_SetChangedWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18452 PyObject
*resultobj
;
18453 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
18454 wxWindow
*arg2
= (wxWindow
*) 0 ;
18455 PyObject
* obj0
= 0 ;
18456 PyObject
* obj1
= 0 ;
18457 char *kwnames
[] = {
18458 (char *) "self",(char *) "win", NULL
18461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PaletteChangedEvent_SetChangedWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
18462 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPaletteChangedEvent
,
18463 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18464 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
18465 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18468 (arg1
)->SetChangedWindow(arg2
);
18470 wxPyEndAllowThreads(__tstate
);
18471 if (PyErr_Occurred()) SWIG_fail
;
18473 Py_INCREF(Py_None
); resultobj
= Py_None
;
18480 static PyObject
*_wrap_PaletteChangedEvent_GetChangedWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18481 PyObject
*resultobj
;
18482 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
18484 PyObject
* obj0
= 0 ;
18485 char *kwnames
[] = {
18486 (char *) "self", NULL
18489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PaletteChangedEvent_GetChangedWindow",kwnames
,&obj0
)) goto fail
;
18490 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPaletteChangedEvent
,
18491 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18494 result
= (wxWindow
*)(arg1
)->GetChangedWindow();
18496 wxPyEndAllowThreads(__tstate
);
18497 if (PyErr_Occurred()) SWIG_fail
;
18500 resultobj
= wxPyMake_wxObject(result
, 0);
18508 static PyObject
* PaletteChangedEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18510 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18511 SWIG_TypeClientData(SWIGTYPE_p_wxPaletteChangedEvent
, obj
);
18513 return Py_BuildValue((char *)"");
18515 static PyObject
*_wrap_new_QueryNewPaletteEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18516 PyObject
*resultobj
;
18517 int arg1
= (int) 0 ;
18518 wxQueryNewPaletteEvent
*result
;
18519 PyObject
* obj0
= 0 ;
18520 char *kwnames
[] = {
18521 (char *) "winid", NULL
18524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryNewPaletteEvent",kwnames
,&obj0
)) goto fail
;
18526 arg1
= (int) SWIG_AsInt(obj0
);
18527 if (PyErr_Occurred()) SWIG_fail
;
18530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18531 result
= (wxQueryNewPaletteEvent
*)new wxQueryNewPaletteEvent(arg1
);
18533 wxPyEndAllowThreads(__tstate
);
18534 if (PyErr_Occurred()) SWIG_fail
;
18536 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxQueryNewPaletteEvent
, 1);
18543 static PyObject
*_wrap_QueryNewPaletteEvent_SetPaletteRealized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18544 PyObject
*resultobj
;
18545 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
18547 PyObject
* obj0
= 0 ;
18548 PyObject
* obj1
= 0 ;
18549 char *kwnames
[] = {
18550 (char *) "self",(char *) "realized", NULL
18553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryNewPaletteEvent_SetPaletteRealized",kwnames
,&obj0
,&obj1
)) goto fail
;
18554 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryNewPaletteEvent
,
18555 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18556 arg2
= (bool) SWIG_AsBool(obj1
);
18557 if (PyErr_Occurred()) SWIG_fail
;
18559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18560 (arg1
)->SetPaletteRealized(arg2
);
18562 wxPyEndAllowThreads(__tstate
);
18563 if (PyErr_Occurred()) SWIG_fail
;
18565 Py_INCREF(Py_None
); resultobj
= Py_None
;
18572 static PyObject
*_wrap_QueryNewPaletteEvent_GetPaletteRealized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18573 PyObject
*resultobj
;
18574 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
18576 PyObject
* obj0
= 0 ;
18577 char *kwnames
[] = {
18578 (char *) "self", NULL
18581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryNewPaletteEvent_GetPaletteRealized",kwnames
,&obj0
)) goto fail
;
18582 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryNewPaletteEvent
,
18583 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18586 result
= (bool)((wxQueryNewPaletteEvent
const *)arg1
)->GetPaletteRealized();
18588 wxPyEndAllowThreads(__tstate
);
18589 if (PyErr_Occurred()) SWIG_fail
;
18592 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18600 static PyObject
* QueryNewPaletteEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18602 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18603 SWIG_TypeClientData(SWIGTYPE_p_wxQueryNewPaletteEvent
, obj
);
18605 return Py_BuildValue((char *)"");
18607 static PyObject
*_wrap_new_NavigationKeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18608 PyObject
*resultobj
;
18609 wxNavigationKeyEvent
*result
;
18610 char *kwnames
[] = {
18614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NavigationKeyEvent",kwnames
)) goto fail
;
18616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18617 result
= (wxNavigationKeyEvent
*)new wxNavigationKeyEvent();
18619 wxPyEndAllowThreads(__tstate
);
18620 if (PyErr_Occurred()) SWIG_fail
;
18622 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNavigationKeyEvent
, 1);
18629 static PyObject
*_wrap_NavigationKeyEvent_GetDirection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18630 PyObject
*resultobj
;
18631 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18633 PyObject
* obj0
= 0 ;
18634 char *kwnames
[] = {
18635 (char *) "self", NULL
18638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_GetDirection",kwnames
,&obj0
)) goto fail
;
18639 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18640 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18643 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->GetDirection();
18645 wxPyEndAllowThreads(__tstate
);
18646 if (PyErr_Occurred()) SWIG_fail
;
18649 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18657 static PyObject
*_wrap_NavigationKeyEvent_SetDirection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18658 PyObject
*resultobj
;
18659 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18661 PyObject
* obj0
= 0 ;
18662 PyObject
* obj1
= 0 ;
18663 char *kwnames
[] = {
18664 (char *) "self",(char *) "forward", NULL
18667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetDirection",kwnames
,&obj0
,&obj1
)) goto fail
;
18668 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18669 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18670 arg2
= (bool) SWIG_AsBool(obj1
);
18671 if (PyErr_Occurred()) SWIG_fail
;
18673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18674 (arg1
)->SetDirection(arg2
);
18676 wxPyEndAllowThreads(__tstate
);
18677 if (PyErr_Occurred()) SWIG_fail
;
18679 Py_INCREF(Py_None
); resultobj
= Py_None
;
18686 static PyObject
*_wrap_NavigationKeyEvent_IsWindowChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18687 PyObject
*resultobj
;
18688 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18690 PyObject
* obj0
= 0 ;
18691 char *kwnames
[] = {
18692 (char *) "self", NULL
18695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_IsWindowChange",kwnames
,&obj0
)) goto fail
;
18696 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18697 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18700 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->IsWindowChange();
18702 wxPyEndAllowThreads(__tstate
);
18703 if (PyErr_Occurred()) SWIG_fail
;
18706 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18714 static PyObject
*_wrap_NavigationKeyEvent_SetWindowChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18715 PyObject
*resultobj
;
18716 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18718 PyObject
* obj0
= 0 ;
18719 PyObject
* obj1
= 0 ;
18720 char *kwnames
[] = {
18721 (char *) "self",(char *) "ischange", NULL
18724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetWindowChange",kwnames
,&obj0
,&obj1
)) goto fail
;
18725 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18726 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18727 arg2
= (bool) SWIG_AsBool(obj1
);
18728 if (PyErr_Occurred()) SWIG_fail
;
18730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18731 (arg1
)->SetWindowChange(arg2
);
18733 wxPyEndAllowThreads(__tstate
);
18734 if (PyErr_Occurred()) SWIG_fail
;
18736 Py_INCREF(Py_None
); resultobj
= Py_None
;
18743 static PyObject
*_wrap_NavigationKeyEvent_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18744 PyObject
*resultobj
;
18745 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18747 PyObject
* obj0
= 0 ;
18748 PyObject
* obj1
= 0 ;
18749 char *kwnames
[] = {
18750 (char *) "self",(char *) "flags", NULL
18753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
18754 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18755 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18756 arg2
= (long) SWIG_AsLong(obj1
);
18757 if (PyErr_Occurred()) SWIG_fail
;
18759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18760 (arg1
)->SetFlags(arg2
);
18762 wxPyEndAllowThreads(__tstate
);
18763 if (PyErr_Occurred()) SWIG_fail
;
18765 Py_INCREF(Py_None
); resultobj
= Py_None
;
18772 static PyObject
*_wrap_NavigationKeyEvent_GetCurrentFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18773 PyObject
*resultobj
;
18774 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18776 PyObject
* obj0
= 0 ;
18777 char *kwnames
[] = {
18778 (char *) "self", NULL
18781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_GetCurrentFocus",kwnames
,&obj0
)) goto fail
;
18782 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18783 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18786 result
= (wxWindow
*)((wxNavigationKeyEvent
const *)arg1
)->GetCurrentFocus();
18788 wxPyEndAllowThreads(__tstate
);
18789 if (PyErr_Occurred()) SWIG_fail
;
18792 resultobj
= wxPyMake_wxObject(result
, 0);
18800 static PyObject
*_wrap_NavigationKeyEvent_SetCurrentFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18801 PyObject
*resultobj
;
18802 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18803 wxWindow
*arg2
= (wxWindow
*) 0 ;
18804 PyObject
* obj0
= 0 ;
18805 PyObject
* obj1
= 0 ;
18806 char *kwnames
[] = {
18807 (char *) "self",(char *) "win", NULL
18810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetCurrentFocus",kwnames
,&obj0
,&obj1
)) goto fail
;
18811 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18812 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18813 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
18814 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18817 (arg1
)->SetCurrentFocus(arg2
);
18819 wxPyEndAllowThreads(__tstate
);
18820 if (PyErr_Occurred()) SWIG_fail
;
18822 Py_INCREF(Py_None
); resultobj
= Py_None
;
18829 static PyObject
* NavigationKeyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18831 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18832 SWIG_TypeClientData(SWIGTYPE_p_wxNavigationKeyEvent
, obj
);
18834 return Py_BuildValue((char *)"");
18836 static PyObject
*_wrap_new_WindowCreateEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18837 PyObject
*resultobj
;
18838 wxWindow
*arg1
= (wxWindow
*) NULL
;
18839 wxWindowCreateEvent
*result
;
18840 PyObject
* obj0
= 0 ;
18841 char *kwnames
[] = {
18842 (char *) "win", NULL
18845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowCreateEvent",kwnames
,&obj0
)) goto fail
;
18847 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
18848 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18852 result
= (wxWindowCreateEvent
*)new wxWindowCreateEvent(arg1
);
18854 wxPyEndAllowThreads(__tstate
);
18855 if (PyErr_Occurred()) SWIG_fail
;
18857 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowCreateEvent
, 1);
18864 static PyObject
*_wrap_WindowCreateEvent_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18865 PyObject
*resultobj
;
18866 wxWindowCreateEvent
*arg1
= (wxWindowCreateEvent
*) 0 ;
18868 PyObject
* obj0
= 0 ;
18869 char *kwnames
[] = {
18870 (char *) "self", NULL
18873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WindowCreateEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
18874 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindowCreateEvent
,
18875 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18878 result
= (wxWindow
*)((wxWindowCreateEvent
const *)arg1
)->GetWindow();
18880 wxPyEndAllowThreads(__tstate
);
18881 if (PyErr_Occurred()) SWIG_fail
;
18884 resultobj
= wxPyMake_wxObject(result
, 0);
18892 static PyObject
* WindowCreateEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18894 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18895 SWIG_TypeClientData(SWIGTYPE_p_wxWindowCreateEvent
, obj
);
18897 return Py_BuildValue((char *)"");
18899 static PyObject
*_wrap_new_WindowDestroyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18900 PyObject
*resultobj
;
18901 wxWindow
*arg1
= (wxWindow
*) NULL
;
18902 wxWindowDestroyEvent
*result
;
18903 PyObject
* obj0
= 0 ;
18904 char *kwnames
[] = {
18905 (char *) "win", NULL
18908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDestroyEvent",kwnames
,&obj0
)) goto fail
;
18910 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
18911 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18915 result
= (wxWindowDestroyEvent
*)new wxWindowDestroyEvent(arg1
);
18917 wxPyEndAllowThreads(__tstate
);
18918 if (PyErr_Occurred()) SWIG_fail
;
18920 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDestroyEvent
, 1);
18927 static PyObject
*_wrap_WindowDestroyEvent_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18928 PyObject
*resultobj
;
18929 wxWindowDestroyEvent
*arg1
= (wxWindowDestroyEvent
*) 0 ;
18931 PyObject
* obj0
= 0 ;
18932 char *kwnames
[] = {
18933 (char *) "self", NULL
18936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WindowDestroyEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
18937 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindowDestroyEvent
,
18938 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18941 result
= (wxWindow
*)((wxWindowDestroyEvent
const *)arg1
)->GetWindow();
18943 wxPyEndAllowThreads(__tstate
);
18944 if (PyErr_Occurred()) SWIG_fail
;
18947 resultobj
= wxPyMake_wxObject(result
, 0);
18955 static PyObject
* WindowDestroyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18957 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18958 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDestroyEvent
, obj
);
18960 return Py_BuildValue((char *)"");
18962 static PyObject
*_wrap_new_ContextMenuEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18963 PyObject
*resultobj
;
18964 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
18965 int arg2
= (int) 0 ;
18966 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
18967 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
18968 wxContextMenuEvent
*result
;
18970 PyObject
* obj0
= 0 ;
18971 PyObject
* obj1
= 0 ;
18972 PyObject
* obj2
= 0 ;
18973 char *kwnames
[] = {
18974 (char *) "type",(char *) "winid",(char *) "pt", NULL
18977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ContextMenuEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18979 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
18980 if (PyErr_Occurred()) SWIG_fail
;
18983 arg2
= (int) SWIG_AsInt(obj1
);
18984 if (PyErr_Occurred()) SWIG_fail
;
18989 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18994 result
= (wxContextMenuEvent
*)new wxContextMenuEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
18996 wxPyEndAllowThreads(__tstate
);
18997 if (PyErr_Occurred()) SWIG_fail
;
18999 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextMenuEvent
, 1);
19006 static PyObject
*_wrap_ContextMenuEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19007 PyObject
*resultobj
;
19008 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
19010 PyObject
* obj0
= 0 ;
19011 char *kwnames
[] = {
19012 (char *) "self", NULL
19015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ContextMenuEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
19016 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextMenuEvent
,
19017 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19021 wxPoint
const &_result_ref
= ((wxContextMenuEvent
const *)arg1
)->GetPosition();
19022 result
= (wxPoint
*) &_result_ref
;
19025 wxPyEndAllowThreads(__tstate
);
19026 if (PyErr_Occurred()) SWIG_fail
;
19028 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
19035 static PyObject
*_wrap_ContextMenuEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19036 PyObject
*resultobj
;
19037 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
19038 wxPoint
*arg2
= 0 ;
19040 PyObject
* obj0
= 0 ;
19041 PyObject
* obj1
= 0 ;
19042 char *kwnames
[] = {
19043 (char *) "self",(char *) "pos", NULL
19046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ContextMenuEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
19047 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextMenuEvent
,
19048 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19051 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19055 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
19057 wxPyEndAllowThreads(__tstate
);
19058 if (PyErr_Occurred()) SWIG_fail
;
19060 Py_INCREF(Py_None
); resultobj
= Py_None
;
19067 static PyObject
* ContextMenuEvent_swigregister(PyObject
*self
, PyObject
*args
) {
19069 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19070 SWIG_TypeClientData(SWIGTYPE_p_wxContextMenuEvent
, obj
);
19072 return Py_BuildValue((char *)"");
19074 static PyObject
*_wrap_new_IdleEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19075 PyObject
*resultobj
;
19076 wxIdleEvent
*result
;
19077 char *kwnames
[] = {
19081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_IdleEvent",kwnames
)) goto fail
;
19083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19084 result
= (wxIdleEvent
*)new wxIdleEvent();
19086 wxPyEndAllowThreads(__tstate
);
19087 if (PyErr_Occurred()) SWIG_fail
;
19089 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIdleEvent
, 1);
19096 static PyObject
*_wrap_IdleEvent_RequestMore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19097 PyObject
*resultobj
;
19098 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
19099 bool arg2
= (bool) True
;
19100 PyObject
* obj0
= 0 ;
19101 PyObject
* obj1
= 0 ;
19102 char *kwnames
[] = {
19103 (char *) "self",(char *) "needMore", NULL
19106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:IdleEvent_RequestMore",kwnames
,&obj0
,&obj1
)) goto fail
;
19107 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIdleEvent
,
19108 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19110 arg2
= (bool) SWIG_AsBool(obj1
);
19111 if (PyErr_Occurred()) SWIG_fail
;
19114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19115 (arg1
)->RequestMore(arg2
);
19117 wxPyEndAllowThreads(__tstate
);
19118 if (PyErr_Occurred()) SWIG_fail
;
19120 Py_INCREF(Py_None
); resultobj
= Py_None
;
19127 static PyObject
*_wrap_IdleEvent_MoreRequested(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19128 PyObject
*resultobj
;
19129 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
19131 PyObject
* obj0
= 0 ;
19132 char *kwnames
[] = {
19133 (char *) "self", NULL
19136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_MoreRequested",kwnames
,&obj0
)) goto fail
;
19137 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIdleEvent
,
19138 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19141 result
= (bool)((wxIdleEvent
const *)arg1
)->MoreRequested();
19143 wxPyEndAllowThreads(__tstate
);
19144 if (PyErr_Occurred()) SWIG_fail
;
19147 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19155 static PyObject
*_wrap_IdleEvent_SetMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19156 PyObject
*resultobj
;
19158 PyObject
* obj0
= 0 ;
19159 char *kwnames
[] = {
19160 (char *) "mode", NULL
19163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_SetMode",kwnames
,&obj0
)) goto fail
;
19164 arg1
= (wxIdleMode
) SWIG_AsInt(obj0
);
19165 if (PyErr_Occurred()) SWIG_fail
;
19167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19168 wxIdleEvent::SetMode((wxIdleMode
)arg1
);
19170 wxPyEndAllowThreads(__tstate
);
19171 if (PyErr_Occurred()) SWIG_fail
;
19173 Py_INCREF(Py_None
); resultobj
= Py_None
;
19180 static PyObject
*_wrap_IdleEvent_GetMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19181 PyObject
*resultobj
;
19183 char *kwnames
[] = {
19187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":IdleEvent_GetMode",kwnames
)) goto fail
;
19189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19190 result
= (int)wxIdleEvent::GetMode();
19192 wxPyEndAllowThreads(__tstate
);
19193 if (PyErr_Occurred()) SWIG_fail
;
19195 resultobj
= SWIG_FromInt((int)result
);
19202 static PyObject
*_wrap_IdleEvent_CanSend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19203 PyObject
*resultobj
;
19204 wxWindow
*arg1
= (wxWindow
*) 0 ;
19206 PyObject
* obj0
= 0 ;
19207 char *kwnames
[] = {
19208 (char *) "win", NULL
19211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_CanSend",kwnames
,&obj0
)) goto fail
;
19212 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
19213 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19216 result
= (bool)wxIdleEvent::CanSend(arg1
);
19218 wxPyEndAllowThreads(__tstate
);
19219 if (PyErr_Occurred()) SWIG_fail
;
19222 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19230 static PyObject
* IdleEvent_swigregister(PyObject
*self
, PyObject
*args
) {
19232 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19233 SWIG_TypeClientData(SWIGTYPE_p_wxIdleEvent
, obj
);
19235 return Py_BuildValue((char *)"");
19237 static PyObject
*_wrap_new_PyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19238 PyObject
*resultobj
;
19239 int arg1
= (int) 0 ;
19240 wxEventType arg2
= (wxEventType
) wxEVT_NULL
;
19242 PyObject
* obj0
= 0 ;
19243 PyObject
* obj1
= 0 ;
19244 char *kwnames
[] = {
19245 (char *) "winid",(char *) "commandType", NULL
19248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19250 arg1
= (int) SWIG_AsInt(obj0
);
19251 if (PyErr_Occurred()) SWIG_fail
;
19254 arg2
= (wxEventType
) SWIG_AsInt(obj1
);
19255 if (PyErr_Occurred()) SWIG_fail
;
19258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19259 result
= (wxPyEvent
*)new wxPyEvent(arg1
,arg2
);
19261 wxPyEndAllowThreads(__tstate
);
19262 if (PyErr_Occurred()) SWIG_fail
;
19264 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyEvent
, 1);
19271 static PyObject
*_wrap_delete_PyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19272 PyObject
*resultobj
;
19273 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
19274 PyObject
* obj0
= 0 ;
19275 char *kwnames
[] = {
19276 (char *) "self", NULL
19279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyEvent",kwnames
,&obj0
)) goto fail
;
19280 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEvent
,
19281 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19286 wxPyEndAllowThreads(__tstate
);
19287 if (PyErr_Occurred()) SWIG_fail
;
19289 Py_INCREF(Py_None
); resultobj
= Py_None
;
19296 static PyObject
*_wrap_PyEvent_SetSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19297 PyObject
*resultobj
;
19298 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
19299 PyObject
*arg2
= (PyObject
*) 0 ;
19300 PyObject
* obj0
= 0 ;
19301 PyObject
* obj1
= 0 ;
19302 char *kwnames
[] = {
19303 (char *) "self",(char *) "self", NULL
19306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEvent_SetSelf",kwnames
,&obj0
,&obj1
)) goto fail
;
19307 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEvent
,
19308 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19312 (arg1
)->SetSelf(arg2
);
19314 wxPyEndAllowThreads(__tstate
);
19315 if (PyErr_Occurred()) SWIG_fail
;
19317 Py_INCREF(Py_None
); resultobj
= Py_None
;
19324 static PyObject
*_wrap_PyEvent_GetSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19325 PyObject
*resultobj
;
19326 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
19328 PyObject
* obj0
= 0 ;
19329 char *kwnames
[] = {
19330 (char *) "self", NULL
19333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyEvent_GetSelf",kwnames
,&obj0
)) goto fail
;
19334 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEvent
,
19335 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19338 result
= (PyObject
*)(arg1
)->GetSelf();
19340 wxPyEndAllowThreads(__tstate
);
19341 if (PyErr_Occurred()) SWIG_fail
;
19343 resultobj
= result
;
19350 static PyObject
* PyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
19352 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19353 SWIG_TypeClientData(SWIGTYPE_p_wxPyEvent
, obj
);
19355 return Py_BuildValue((char *)"");
19357 static PyObject
*_wrap_new_PyCommandEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19358 PyObject
*resultobj
;
19359 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19360 int arg2
= (int) 0 ;
19361 wxPyCommandEvent
*result
;
19362 PyObject
* obj0
= 0 ;
19363 PyObject
* obj1
= 0 ;
19364 char *kwnames
[] = {
19365 (char *) "commandType",(char *) "id", NULL
19368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyCommandEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19370 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
19371 if (PyErr_Occurred()) SWIG_fail
;
19374 arg2
= (int) SWIG_AsInt(obj1
);
19375 if (PyErr_Occurred()) SWIG_fail
;
19378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19379 result
= (wxPyCommandEvent
*)new wxPyCommandEvent(arg1
,arg2
);
19381 wxPyEndAllowThreads(__tstate
);
19382 if (PyErr_Occurred()) SWIG_fail
;
19384 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyCommandEvent
, 1);
19391 static PyObject
*_wrap_delete_PyCommandEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19392 PyObject
*resultobj
;
19393 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
19394 PyObject
* obj0
= 0 ;
19395 char *kwnames
[] = {
19396 (char *) "self", NULL
19399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyCommandEvent",kwnames
,&obj0
)) goto fail
;
19400 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCommandEvent
,
19401 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19406 wxPyEndAllowThreads(__tstate
);
19407 if (PyErr_Occurred()) SWIG_fail
;
19409 Py_INCREF(Py_None
); resultobj
= Py_None
;
19416 static PyObject
*_wrap_PyCommandEvent_SetSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19417 PyObject
*resultobj
;
19418 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
19419 PyObject
*arg2
= (PyObject
*) 0 ;
19420 PyObject
* obj0
= 0 ;
19421 PyObject
* obj1
= 0 ;
19422 char *kwnames
[] = {
19423 (char *) "self",(char *) "self", NULL
19426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCommandEvent_SetSelf",kwnames
,&obj0
,&obj1
)) goto fail
;
19427 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCommandEvent
,
19428 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19432 (arg1
)->SetSelf(arg2
);
19434 wxPyEndAllowThreads(__tstate
);
19435 if (PyErr_Occurred()) SWIG_fail
;
19437 Py_INCREF(Py_None
); resultobj
= Py_None
;
19444 static PyObject
*_wrap_PyCommandEvent_GetSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19445 PyObject
*resultobj
;
19446 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
19448 PyObject
* obj0
= 0 ;
19449 char *kwnames
[] = {
19450 (char *) "self", NULL
19453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyCommandEvent_GetSelf",kwnames
,&obj0
)) goto fail
;
19454 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCommandEvent
,
19455 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19458 result
= (PyObject
*)(arg1
)->GetSelf();
19460 wxPyEndAllowThreads(__tstate
);
19461 if (PyErr_Occurred()) SWIG_fail
;
19463 resultobj
= result
;
19470 static PyObject
* PyCommandEvent_swigregister(PyObject
*self
, PyObject
*args
) {
19472 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19473 SWIG_TypeClientData(SWIGTYPE_p_wxPyCommandEvent
, obj
);
19475 return Py_BuildValue((char *)"");
19477 static PyObject
*_wrap_new_PyApp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19478 PyObject
*resultobj
;
19480 char *kwnames
[] = {
19484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyApp",kwnames
)) goto fail
;
19486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19487 result
= (wxPyApp
*)new_wxPyApp();
19489 wxPyEndAllowThreads(__tstate
);
19490 if (PyErr_Occurred()) SWIG_fail
;
19492 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyApp
, 1);
19499 static PyObject
*_wrap_delete_PyApp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19500 PyObject
*resultobj
;
19501 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19502 PyObject
* obj0
= 0 ;
19503 char *kwnames
[] = {
19504 (char *) "self", NULL
19507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyApp",kwnames
,&obj0
)) goto fail
;
19508 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19509 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19514 wxPyEndAllowThreads(__tstate
);
19515 if (PyErr_Occurred()) SWIG_fail
;
19517 Py_INCREF(Py_None
); resultobj
= Py_None
;
19524 static PyObject
*_wrap_PyApp__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19525 PyObject
*resultobj
;
19526 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19527 PyObject
*arg2
= (PyObject
*) 0 ;
19528 PyObject
*arg3
= (PyObject
*) 0 ;
19529 PyObject
* obj0
= 0 ;
19530 PyObject
* obj1
= 0 ;
19531 PyObject
* obj2
= 0 ;
19532 char *kwnames
[] = {
19533 (char *) "self",(char *) "self",(char *) "_class", NULL
19536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyApp__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19537 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19538 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19543 (arg1
)->_setCallbackInfo(arg2
,arg3
);
19545 wxPyEndAllowThreads(__tstate
);
19546 if (PyErr_Occurred()) SWIG_fail
;
19548 Py_INCREF(Py_None
); resultobj
= Py_None
;
19555 static PyObject
*_wrap_PyApp_GetAppName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19556 PyObject
*resultobj
;
19557 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19559 PyObject
* obj0
= 0 ;
19560 char *kwnames
[] = {
19561 (char *) "self", NULL
19564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetAppName",kwnames
,&obj0
)) goto fail
;
19565 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19566 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19569 result
= ((wxPyApp
const *)arg1
)->GetAppName();
19571 wxPyEndAllowThreads(__tstate
);
19572 if (PyErr_Occurred()) SWIG_fail
;
19576 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19578 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19587 static PyObject
*_wrap_PyApp_SetAppName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19588 PyObject
*resultobj
;
19589 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19590 wxString
*arg2
= 0 ;
19591 bool temp2
= False
;
19592 PyObject
* obj0
= 0 ;
19593 PyObject
* obj1
= 0 ;
19594 char *kwnames
[] = {
19595 (char *) "self",(char *) "name", NULL
19598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetAppName",kwnames
,&obj0
,&obj1
)) goto fail
;
19599 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19600 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19602 arg2
= wxString_in_helper(obj1
);
19603 if (arg2
== NULL
) SWIG_fail
;
19607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19608 (arg1
)->SetAppName((wxString
const &)*arg2
);
19610 wxPyEndAllowThreads(__tstate
);
19611 if (PyErr_Occurred()) SWIG_fail
;
19613 Py_INCREF(Py_None
); resultobj
= Py_None
;
19628 static PyObject
*_wrap_PyApp_GetClassName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19629 PyObject
*resultobj
;
19630 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19632 PyObject
* obj0
= 0 ;
19633 char *kwnames
[] = {
19634 (char *) "self", NULL
19637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetClassName",kwnames
,&obj0
)) goto fail
;
19638 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19639 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19642 result
= ((wxPyApp
const *)arg1
)->GetClassName();
19644 wxPyEndAllowThreads(__tstate
);
19645 if (PyErr_Occurred()) SWIG_fail
;
19649 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19651 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19660 static PyObject
*_wrap_PyApp_SetClassName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19661 PyObject
*resultobj
;
19662 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19663 wxString
*arg2
= 0 ;
19664 bool temp2
= False
;
19665 PyObject
* obj0
= 0 ;
19666 PyObject
* obj1
= 0 ;
19667 char *kwnames
[] = {
19668 (char *) "self",(char *) "name", NULL
19671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetClassName",kwnames
,&obj0
,&obj1
)) goto fail
;
19672 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19673 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19675 arg2
= wxString_in_helper(obj1
);
19676 if (arg2
== NULL
) SWIG_fail
;
19680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19681 (arg1
)->SetClassName((wxString
const &)*arg2
);
19683 wxPyEndAllowThreads(__tstate
);
19684 if (PyErr_Occurred()) SWIG_fail
;
19686 Py_INCREF(Py_None
); resultobj
= Py_None
;
19701 static PyObject
*_wrap_PyApp_GetVendorName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19702 PyObject
*resultobj
;
19703 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19705 PyObject
* obj0
= 0 ;
19706 char *kwnames
[] = {
19707 (char *) "self", NULL
19710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetVendorName",kwnames
,&obj0
)) goto fail
;
19711 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19712 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19716 wxString
const &_result_ref
= ((wxPyApp
const *)arg1
)->GetVendorName();
19717 result
= (wxString
*) &_result_ref
;
19720 wxPyEndAllowThreads(__tstate
);
19721 if (PyErr_Occurred()) SWIG_fail
;
19725 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19727 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19736 static PyObject
*_wrap_PyApp_SetVendorName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19737 PyObject
*resultobj
;
19738 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19739 wxString
*arg2
= 0 ;
19740 bool temp2
= False
;
19741 PyObject
* obj0
= 0 ;
19742 PyObject
* obj1
= 0 ;
19743 char *kwnames
[] = {
19744 (char *) "self",(char *) "name", NULL
19747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetVendorName",kwnames
,&obj0
,&obj1
)) goto fail
;
19748 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19749 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19751 arg2
= wxString_in_helper(obj1
);
19752 if (arg2
== NULL
) SWIG_fail
;
19756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19757 (arg1
)->SetVendorName((wxString
const &)*arg2
);
19759 wxPyEndAllowThreads(__tstate
);
19760 if (PyErr_Occurred()) SWIG_fail
;
19762 Py_INCREF(Py_None
); resultobj
= Py_None
;
19777 static PyObject
*_wrap_PyApp_GetTraits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19778 PyObject
*resultobj
;
19779 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19780 wxAppTraits
*result
;
19781 PyObject
* obj0
= 0 ;
19782 char *kwnames
[] = {
19783 (char *) "self", NULL
19786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetTraits",kwnames
,&obj0
)) goto fail
;
19787 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19788 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19791 result
= (wxAppTraits
*)(arg1
)->GetTraits();
19793 wxPyEndAllowThreads(__tstate
);
19794 if (PyErr_Occurred()) SWIG_fail
;
19796 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAppTraits
, 0);
19803 static PyObject
*_wrap_PyApp_ProcessPendingEvents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19804 PyObject
*resultobj
;
19805 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19806 PyObject
* obj0
= 0 ;
19807 char *kwnames
[] = {
19808 (char *) "self", NULL
19811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ProcessPendingEvents",kwnames
,&obj0
)) goto fail
;
19812 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19813 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19816 (arg1
)->ProcessPendingEvents();
19818 wxPyEndAllowThreads(__tstate
);
19819 if (PyErr_Occurred()) SWIG_fail
;
19821 Py_INCREF(Py_None
); resultobj
= Py_None
;
19828 static PyObject
*_wrap_PyApp_Yield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19829 PyObject
*resultobj
;
19830 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19831 bool arg2
= (bool) False
;
19833 PyObject
* obj0
= 0 ;
19834 PyObject
* obj1
= 0 ;
19835 char *kwnames
[] = {
19836 (char *) "self",(char *) "onlyIfNeeded", NULL
19839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyApp_Yield",kwnames
,&obj0
,&obj1
)) goto fail
;
19840 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19841 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19843 arg2
= (bool) SWIG_AsBool(obj1
);
19844 if (PyErr_Occurred()) SWIG_fail
;
19847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19848 result
= (bool)(arg1
)->Yield(arg2
);
19850 wxPyEndAllowThreads(__tstate
);
19851 if (PyErr_Occurred()) SWIG_fail
;
19854 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19862 static PyObject
*_wrap_PyApp_WakeUpIdle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19863 PyObject
*resultobj
;
19864 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19865 PyObject
* obj0
= 0 ;
19866 char *kwnames
[] = {
19867 (char *) "self", NULL
19870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_WakeUpIdle",kwnames
,&obj0
)) goto fail
;
19871 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19872 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19875 (arg1
)->WakeUpIdle();
19877 wxPyEndAllowThreads(__tstate
);
19878 if (PyErr_Occurred()) SWIG_fail
;
19880 Py_INCREF(Py_None
); resultobj
= Py_None
;
19887 static PyObject
*_wrap_PyApp_MainLoop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19888 PyObject
*resultobj
;
19889 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19891 PyObject
* obj0
= 0 ;
19892 char *kwnames
[] = {
19893 (char *) "self", NULL
19896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_MainLoop",kwnames
,&obj0
)) goto fail
;
19897 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19898 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19901 result
= (int)(arg1
)->MainLoop();
19903 wxPyEndAllowThreads(__tstate
);
19904 if (PyErr_Occurred()) SWIG_fail
;
19906 resultobj
= SWIG_FromInt((int)result
);
19913 static PyObject
*_wrap_PyApp_Exit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19914 PyObject
*resultobj
;
19915 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19916 PyObject
* obj0
= 0 ;
19917 char *kwnames
[] = {
19918 (char *) "self", NULL
19921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Exit",kwnames
,&obj0
)) goto fail
;
19922 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19923 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19928 wxPyEndAllowThreads(__tstate
);
19929 if (PyErr_Occurred()) SWIG_fail
;
19931 Py_INCREF(Py_None
); resultobj
= Py_None
;
19938 static PyObject
*_wrap_PyApp_ExitMainLoop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19939 PyObject
*resultobj
;
19940 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19941 PyObject
* obj0
= 0 ;
19942 char *kwnames
[] = {
19943 (char *) "self", NULL
19946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ExitMainLoop",kwnames
,&obj0
)) goto fail
;
19947 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19948 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19951 (arg1
)->ExitMainLoop();
19953 wxPyEndAllowThreads(__tstate
);
19954 if (PyErr_Occurred()) SWIG_fail
;
19956 Py_INCREF(Py_None
); resultobj
= Py_None
;
19963 static PyObject
*_wrap_PyApp_Pending(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19964 PyObject
*resultobj
;
19965 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19967 PyObject
* obj0
= 0 ;
19968 char *kwnames
[] = {
19969 (char *) "self", NULL
19972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Pending",kwnames
,&obj0
)) goto fail
;
19973 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19974 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19977 result
= (bool)(arg1
)->Pending();
19979 wxPyEndAllowThreads(__tstate
);
19980 if (PyErr_Occurred()) SWIG_fail
;
19983 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19991 static PyObject
*_wrap_PyApp_Dispatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19992 PyObject
*resultobj
;
19993 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19995 PyObject
* obj0
= 0 ;
19996 char *kwnames
[] = {
19997 (char *) "self", NULL
20000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Dispatch",kwnames
,&obj0
)) goto fail
;
20001 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20002 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20005 result
= (bool)(arg1
)->Dispatch();
20007 wxPyEndAllowThreads(__tstate
);
20008 if (PyErr_Occurred()) SWIG_fail
;
20011 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20019 static PyObject
*_wrap_PyApp_ProcessIdle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20020 PyObject
*resultobj
;
20021 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20023 PyObject
* obj0
= 0 ;
20024 char *kwnames
[] = {
20025 (char *) "self", NULL
20028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ProcessIdle",kwnames
,&obj0
)) goto fail
;
20029 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20030 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20033 result
= (bool)(arg1
)->ProcessIdle();
20035 wxPyEndAllowThreads(__tstate
);
20036 if (PyErr_Occurred()) SWIG_fail
;
20039 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20047 static PyObject
*_wrap_PyApp_SendIdleEvents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20048 PyObject
*resultobj
;
20049 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20050 wxWindow
*arg2
= (wxWindow
*) 0 ;
20051 wxIdleEvent
*arg3
= 0 ;
20053 PyObject
* obj0
= 0 ;
20054 PyObject
* obj1
= 0 ;
20055 PyObject
* obj2
= 0 ;
20056 char *kwnames
[] = {
20057 (char *) "self",(char *) "win",(char *) "event", NULL
20060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyApp_SendIdleEvents",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20061 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20062 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20063 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
20064 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20065 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxIdleEvent
,
20066 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20068 if (arg3
== NULL
) {
20069 PyErr_SetString(PyExc_TypeError
,"null reference");
20073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20074 result
= (bool)(arg1
)->SendIdleEvents(arg2
,*arg3
);
20076 wxPyEndAllowThreads(__tstate
);
20077 if (PyErr_Occurred()) SWIG_fail
;
20080 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20088 static PyObject
*_wrap_PyApp_IsActive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20089 PyObject
*resultobj
;
20090 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20092 PyObject
* obj0
= 0 ;
20093 char *kwnames
[] = {
20094 (char *) "self", NULL
20097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_IsActive",kwnames
,&obj0
)) goto fail
;
20098 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20099 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20102 result
= (bool)((wxPyApp
const *)arg1
)->IsActive();
20104 wxPyEndAllowThreads(__tstate
);
20105 if (PyErr_Occurred()) SWIG_fail
;
20108 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20116 static PyObject
*_wrap_PyApp_SetTopWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20117 PyObject
*resultobj
;
20118 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20119 wxWindow
*arg2
= (wxWindow
*) 0 ;
20120 PyObject
* obj0
= 0 ;
20121 PyObject
* obj1
= 0 ;
20122 char *kwnames
[] = {
20123 (char *) "self",(char *) "win", NULL
20126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetTopWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
20127 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20128 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20129 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
20130 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20133 (arg1
)->SetTopWindow(arg2
);
20135 wxPyEndAllowThreads(__tstate
);
20136 if (PyErr_Occurred()) SWIG_fail
;
20138 Py_INCREF(Py_None
); resultobj
= Py_None
;
20145 static PyObject
*_wrap_PyApp_GetTopWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20146 PyObject
*resultobj
;
20147 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20149 PyObject
* obj0
= 0 ;
20150 char *kwnames
[] = {
20151 (char *) "self", NULL
20154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetTopWindow",kwnames
,&obj0
)) goto fail
;
20155 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20156 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20159 result
= (wxWindow
*)((wxPyApp
const *)arg1
)->GetTopWindow();
20161 wxPyEndAllowThreads(__tstate
);
20162 if (PyErr_Occurred()) SWIG_fail
;
20165 resultobj
= wxPyMake_wxObject(result
, 0);
20173 static PyObject
*_wrap_PyApp_SetExitOnFrameDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20174 PyObject
*resultobj
;
20175 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20177 PyObject
* obj0
= 0 ;
20178 PyObject
* obj1
= 0 ;
20179 char *kwnames
[] = {
20180 (char *) "self",(char *) "flag", NULL
20183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetExitOnFrameDelete",kwnames
,&obj0
,&obj1
)) goto fail
;
20184 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20185 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20186 arg2
= (bool) SWIG_AsBool(obj1
);
20187 if (PyErr_Occurred()) SWIG_fail
;
20189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20190 (arg1
)->SetExitOnFrameDelete(arg2
);
20192 wxPyEndAllowThreads(__tstate
);
20193 if (PyErr_Occurred()) SWIG_fail
;
20195 Py_INCREF(Py_None
); resultobj
= Py_None
;
20202 static PyObject
*_wrap_PyApp_GetExitOnFrameDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20203 PyObject
*resultobj
;
20204 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20206 PyObject
* obj0
= 0 ;
20207 char *kwnames
[] = {
20208 (char *) "self", NULL
20211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetExitOnFrameDelete",kwnames
,&obj0
)) goto fail
;
20212 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20213 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20216 result
= (bool)((wxPyApp
const *)arg1
)->GetExitOnFrameDelete();
20218 wxPyEndAllowThreads(__tstate
);
20219 if (PyErr_Occurred()) SWIG_fail
;
20222 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20230 static PyObject
*_wrap_PyApp_SetUseBestVisual(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20231 PyObject
*resultobj
;
20232 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20234 PyObject
* obj0
= 0 ;
20235 PyObject
* obj1
= 0 ;
20236 char *kwnames
[] = {
20237 (char *) "self",(char *) "flag", NULL
20240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetUseBestVisual",kwnames
,&obj0
,&obj1
)) goto fail
;
20241 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20242 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20243 arg2
= (bool) SWIG_AsBool(obj1
);
20244 if (PyErr_Occurred()) SWIG_fail
;
20246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20247 (arg1
)->SetUseBestVisual(arg2
);
20249 wxPyEndAllowThreads(__tstate
);
20250 if (PyErr_Occurred()) SWIG_fail
;
20252 Py_INCREF(Py_None
); resultobj
= Py_None
;
20259 static PyObject
*_wrap_PyApp_GetUseBestVisual(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20260 PyObject
*resultobj
;
20261 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20263 PyObject
* obj0
= 0 ;
20264 char *kwnames
[] = {
20265 (char *) "self", NULL
20268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetUseBestVisual",kwnames
,&obj0
)) goto fail
;
20269 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20270 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20273 result
= (bool)((wxPyApp
const *)arg1
)->GetUseBestVisual();
20275 wxPyEndAllowThreads(__tstate
);
20276 if (PyErr_Occurred()) SWIG_fail
;
20279 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20287 static PyObject
*_wrap_PyApp_SetPrintMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20288 PyObject
*resultobj
;
20289 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20291 PyObject
* obj0
= 0 ;
20292 PyObject
* obj1
= 0 ;
20293 char *kwnames
[] = {
20294 (char *) "self",(char *) "mode", NULL
20297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetPrintMode",kwnames
,&obj0
,&obj1
)) goto fail
;
20298 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20299 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20300 arg2
= (int) SWIG_AsInt(obj1
);
20301 if (PyErr_Occurred()) SWIG_fail
;
20303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20304 (arg1
)->SetPrintMode(arg2
);
20306 wxPyEndAllowThreads(__tstate
);
20307 if (PyErr_Occurred()) SWIG_fail
;
20309 Py_INCREF(Py_None
); resultobj
= Py_None
;
20316 static PyObject
*_wrap_PyApp_GetPrintMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20317 PyObject
*resultobj
;
20318 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20320 PyObject
* obj0
= 0 ;
20321 char *kwnames
[] = {
20322 (char *) "self", NULL
20325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetPrintMode",kwnames
,&obj0
)) goto fail
;
20326 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20327 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20330 result
= (int)((wxPyApp
const *)arg1
)->GetPrintMode();
20332 wxPyEndAllowThreads(__tstate
);
20333 if (PyErr_Occurred()) SWIG_fail
;
20335 resultobj
= SWIG_FromInt((int)result
);
20342 static PyObject
*_wrap_PyApp_SetAssertMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20343 PyObject
*resultobj
;
20344 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20346 PyObject
* obj0
= 0 ;
20347 PyObject
* obj1
= 0 ;
20348 char *kwnames
[] = {
20349 (char *) "self",(char *) "mode", NULL
20352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetAssertMode",kwnames
,&obj0
,&obj1
)) goto fail
;
20353 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20354 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20355 arg2
= (int) SWIG_AsInt(obj1
);
20356 if (PyErr_Occurred()) SWIG_fail
;
20358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20359 (arg1
)->SetAssertMode(arg2
);
20361 wxPyEndAllowThreads(__tstate
);
20362 if (PyErr_Occurred()) SWIG_fail
;
20364 Py_INCREF(Py_None
); resultobj
= Py_None
;
20371 static PyObject
*_wrap_PyApp_GetAssertMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20372 PyObject
*resultobj
;
20373 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20375 PyObject
* obj0
= 0 ;
20376 char *kwnames
[] = {
20377 (char *) "self", NULL
20380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetAssertMode",kwnames
,&obj0
)) goto fail
;
20381 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20382 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20385 result
= (int)(arg1
)->GetAssertMode();
20387 wxPyEndAllowThreads(__tstate
);
20388 if (PyErr_Occurred()) SWIG_fail
;
20390 resultobj
= SWIG_FromInt((int)result
);
20397 static PyObject
*_wrap_PyApp_GetMacSupportPCMenuShortcuts(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20398 PyObject
*resultobj
;
20400 char *kwnames
[] = {
20404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacSupportPCMenuShortcuts",kwnames
)) goto fail
;
20406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20407 result
= (bool)wxPyApp::GetMacSupportPCMenuShortcuts();
20409 wxPyEndAllowThreads(__tstate
);
20410 if (PyErr_Occurred()) SWIG_fail
;
20413 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20421 static PyObject
*_wrap_PyApp_GetMacAboutMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20422 PyObject
*resultobj
;
20424 char *kwnames
[] = {
20428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacAboutMenuItemId",kwnames
)) goto fail
;
20430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20431 result
= (long)wxPyApp::GetMacAboutMenuItemId();
20433 wxPyEndAllowThreads(__tstate
);
20434 if (PyErr_Occurred()) SWIG_fail
;
20436 resultobj
= SWIG_FromLong((long)result
);
20443 static PyObject
*_wrap_PyApp_GetMacPreferencesMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20444 PyObject
*resultobj
;
20446 char *kwnames
[] = {
20450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacPreferencesMenuItemId",kwnames
)) goto fail
;
20452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20453 result
= (long)wxPyApp::GetMacPreferencesMenuItemId();
20455 wxPyEndAllowThreads(__tstate
);
20456 if (PyErr_Occurred()) SWIG_fail
;
20458 resultobj
= SWIG_FromLong((long)result
);
20465 static PyObject
*_wrap_PyApp_GetMacExitMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20466 PyObject
*resultobj
;
20468 char *kwnames
[] = {
20472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacExitMenuItemId",kwnames
)) goto fail
;
20474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20475 result
= (long)wxPyApp::GetMacExitMenuItemId();
20477 wxPyEndAllowThreads(__tstate
);
20478 if (PyErr_Occurred()) SWIG_fail
;
20480 resultobj
= SWIG_FromLong((long)result
);
20487 static PyObject
*_wrap_PyApp_GetMacHelpMenuTitleName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20488 PyObject
*resultobj
;
20490 char *kwnames
[] = {
20494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacHelpMenuTitleName",kwnames
)) goto fail
;
20496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20497 result
= wxPyApp::GetMacHelpMenuTitleName();
20499 wxPyEndAllowThreads(__tstate
);
20500 if (PyErr_Occurred()) SWIG_fail
;
20504 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20506 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20515 static PyObject
*_wrap_PyApp_SetMacSupportPCMenuShortcuts(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20516 PyObject
*resultobj
;
20518 PyObject
* obj0
= 0 ;
20519 char *kwnames
[] = {
20520 (char *) "val", NULL
20523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacSupportPCMenuShortcuts",kwnames
,&obj0
)) goto fail
;
20524 arg1
= (bool) SWIG_AsBool(obj0
);
20525 if (PyErr_Occurred()) SWIG_fail
;
20527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20528 wxPyApp::SetMacSupportPCMenuShortcuts(arg1
);
20530 wxPyEndAllowThreads(__tstate
);
20531 if (PyErr_Occurred()) SWIG_fail
;
20533 Py_INCREF(Py_None
); resultobj
= Py_None
;
20540 static PyObject
*_wrap_PyApp_SetMacAboutMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20541 PyObject
*resultobj
;
20543 PyObject
* obj0
= 0 ;
20544 char *kwnames
[] = {
20545 (char *) "val", NULL
20548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacAboutMenuItemId",kwnames
,&obj0
)) goto fail
;
20549 arg1
= (long) SWIG_AsLong(obj0
);
20550 if (PyErr_Occurred()) SWIG_fail
;
20552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20553 wxPyApp::SetMacAboutMenuItemId(arg1
);
20555 wxPyEndAllowThreads(__tstate
);
20556 if (PyErr_Occurred()) SWIG_fail
;
20558 Py_INCREF(Py_None
); resultobj
= Py_None
;
20565 static PyObject
*_wrap_PyApp_SetMacPreferencesMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20566 PyObject
*resultobj
;
20568 PyObject
* obj0
= 0 ;
20569 char *kwnames
[] = {
20570 (char *) "val", NULL
20573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacPreferencesMenuItemId",kwnames
,&obj0
)) goto fail
;
20574 arg1
= (long) SWIG_AsLong(obj0
);
20575 if (PyErr_Occurred()) SWIG_fail
;
20577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20578 wxPyApp::SetMacPreferencesMenuItemId(arg1
);
20580 wxPyEndAllowThreads(__tstate
);
20581 if (PyErr_Occurred()) SWIG_fail
;
20583 Py_INCREF(Py_None
); resultobj
= Py_None
;
20590 static PyObject
*_wrap_PyApp_SetMacExitMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20591 PyObject
*resultobj
;
20593 PyObject
* obj0
= 0 ;
20594 char *kwnames
[] = {
20595 (char *) "val", NULL
20598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacExitMenuItemId",kwnames
,&obj0
)) goto fail
;
20599 arg1
= (long) SWIG_AsLong(obj0
);
20600 if (PyErr_Occurred()) SWIG_fail
;
20602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20603 wxPyApp::SetMacExitMenuItemId(arg1
);
20605 wxPyEndAllowThreads(__tstate
);
20606 if (PyErr_Occurred()) SWIG_fail
;
20608 Py_INCREF(Py_None
); resultobj
= Py_None
;
20615 static PyObject
*_wrap_PyApp_SetMacHelpMenuTitleName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20616 PyObject
*resultobj
;
20617 wxString
*arg1
= 0 ;
20618 bool temp1
= False
;
20619 PyObject
* obj0
= 0 ;
20620 char *kwnames
[] = {
20621 (char *) "val", NULL
20624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacHelpMenuTitleName",kwnames
,&obj0
)) goto fail
;
20626 arg1
= wxString_in_helper(obj0
);
20627 if (arg1
== NULL
) SWIG_fail
;
20631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20632 wxPyApp::SetMacHelpMenuTitleName((wxString
const &)*arg1
);
20634 wxPyEndAllowThreads(__tstate
);
20635 if (PyErr_Occurred()) SWIG_fail
;
20637 Py_INCREF(Py_None
); resultobj
= Py_None
;
20652 static PyObject
*_wrap_PyApp__BootstrapApp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20653 PyObject
*resultobj
;
20654 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20655 PyObject
* obj0
= 0 ;
20656 char *kwnames
[] = {
20657 (char *) "self", NULL
20660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp__BootstrapApp",kwnames
,&obj0
)) goto fail
;
20661 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20662 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20665 (arg1
)->_BootstrapApp();
20667 wxPyEndAllowThreads(__tstate
);
20668 if (PyErr_Occurred()) SWIG_fail
;
20670 Py_INCREF(Py_None
); resultobj
= Py_None
;
20677 static PyObject
*_wrap_PyApp_GetComCtl32Version(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20678 PyObject
*resultobj
;
20680 char *kwnames
[] = {
20684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetComCtl32Version",kwnames
)) goto fail
;
20686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20687 result
= (int)wxPyApp::GetComCtl32Version();
20689 wxPyEndAllowThreads(__tstate
);
20690 if (PyErr_Occurred()) SWIG_fail
;
20692 resultobj
= SWIG_FromInt((int)result
);
20699 static PyObject
* PyApp_swigregister(PyObject
*self
, PyObject
*args
) {
20701 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20702 SWIG_TypeClientData(SWIGTYPE_p_wxPyApp
, obj
);
20704 return Py_BuildValue((char *)"");
20706 static PyObject
*_wrap_Exit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20707 PyObject
*resultobj
;
20708 char *kwnames
[] = {
20712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Exit",kwnames
)) goto fail
;
20714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20717 wxPyEndAllowThreads(__tstate
);
20718 if (PyErr_Occurred()) SWIG_fail
;
20720 Py_INCREF(Py_None
); resultobj
= Py_None
;
20727 static PyObject
*_wrap_Yield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20728 PyObject
*resultobj
;
20730 char *kwnames
[] = {
20734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Yield",kwnames
)) goto fail
;
20736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20737 result
= (bool)wxYield();
20739 wxPyEndAllowThreads(__tstate
);
20740 if (PyErr_Occurred()) SWIG_fail
;
20743 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20751 static PyObject
*_wrap_YieldIfNeeded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20752 PyObject
*resultobj
;
20754 char *kwnames
[] = {
20758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":YieldIfNeeded",kwnames
)) goto fail
;
20760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20761 result
= (bool)wxYieldIfNeeded();
20763 wxPyEndAllowThreads(__tstate
);
20764 if (PyErr_Occurred()) SWIG_fail
;
20767 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20775 static PyObject
*_wrap_SafeYield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20776 PyObject
*resultobj
;
20777 wxWindow
*arg1
= (wxWindow
*) NULL
;
20778 bool arg2
= (bool) False
;
20780 PyObject
* obj0
= 0 ;
20781 PyObject
* obj1
= 0 ;
20782 char *kwnames
[] = {
20783 (char *) "win",(char *) "onlyIfNeeded", NULL
20786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:SafeYield",kwnames
,&obj0
,&obj1
)) goto fail
;
20788 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
20789 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20792 arg2
= (bool) SWIG_AsBool(obj1
);
20793 if (PyErr_Occurred()) SWIG_fail
;
20796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20797 result
= (bool)wxSafeYield(arg1
,arg2
);
20799 wxPyEndAllowThreads(__tstate
);
20800 if (PyErr_Occurred()) SWIG_fail
;
20803 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20811 static PyObject
*_wrap_WakeUpIdle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20812 PyObject
*resultobj
;
20813 char *kwnames
[] = {
20817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":WakeUpIdle",kwnames
)) goto fail
;
20819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20822 wxPyEndAllowThreads(__tstate
);
20823 if (PyErr_Occurred()) SWIG_fail
;
20825 Py_INCREF(Py_None
); resultobj
= Py_None
;
20832 static PyObject
*_wrap_PostEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20833 PyObject
*resultobj
;
20834 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
20835 wxEvent
*arg2
= 0 ;
20836 PyObject
* obj0
= 0 ;
20837 PyObject
* obj1
= 0 ;
20838 char *kwnames
[] = {
20839 (char *) "dest",(char *) "event", NULL
20842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
20843 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
20844 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20845 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvent
,
20846 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20848 if (arg2
== NULL
) {
20849 PyErr_SetString(PyExc_TypeError
,"null reference");
20853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20854 wxPostEvent(arg1
,*arg2
);
20856 wxPyEndAllowThreads(__tstate
);
20857 if (PyErr_Occurred()) SWIG_fail
;
20859 Py_INCREF(Py_None
); resultobj
= Py_None
;
20866 static PyObject
*_wrap_App_CleanUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20867 PyObject
*resultobj
;
20868 char *kwnames
[] = {
20872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":App_CleanUp",kwnames
)) goto fail
;
20874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20877 wxPyEndAllowThreads(__tstate
);
20878 if (PyErr_Occurred()) SWIG_fail
;
20880 Py_INCREF(Py_None
); resultobj
= Py_None
;
20887 static PyObject
*_wrap_GetApp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20888 PyObject
*resultobj
;
20890 char *kwnames
[] = {
20894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetApp",kwnames
)) goto fail
;
20896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20897 result
= (wxPyApp
*)wxPyGetApp();
20899 wxPyEndAllowThreads(__tstate
);
20900 if (PyErr_Occurred()) SWIG_fail
;
20903 resultobj
= wxPyMake_wxObject(result
, 0);
20911 static PyObject
*_wrap_new_AcceleratorEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20912 PyObject
*resultobj
;
20913 int arg1
= (int) 0 ;
20914 int arg2
= (int) 0 ;
20915 int arg3
= (int) 0 ;
20916 wxAcceleratorEntry
*result
;
20917 PyObject
* obj0
= 0 ;
20918 PyObject
* obj1
= 0 ;
20919 PyObject
* obj2
= 0 ;
20920 char *kwnames
[] = {
20921 (char *) "flags",(char *) "keyCode",(char *) "cmdID", NULL
20924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_AcceleratorEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20926 arg1
= (int) SWIG_AsInt(obj0
);
20927 if (PyErr_Occurred()) SWIG_fail
;
20930 arg2
= (int) SWIG_AsInt(obj1
);
20931 if (PyErr_Occurred()) SWIG_fail
;
20934 arg3
= (int) SWIG_AsInt(obj2
);
20935 if (PyErr_Occurred()) SWIG_fail
;
20938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20939 result
= (wxAcceleratorEntry
*)new wxAcceleratorEntry(arg1
,arg2
,arg3
);
20941 wxPyEndAllowThreads(__tstate
);
20942 if (PyErr_Occurred()) SWIG_fail
;
20944 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 1);
20951 static PyObject
*_wrap_delete_AcceleratorEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20952 PyObject
*resultobj
;
20953 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
20954 PyObject
* obj0
= 0 ;
20955 char *kwnames
[] = {
20956 (char *) "self", NULL
20959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_AcceleratorEntry",kwnames
,&obj0
)) goto fail
;
20960 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
20961 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20966 wxPyEndAllowThreads(__tstate
);
20967 if (PyErr_Occurred()) SWIG_fail
;
20969 Py_INCREF(Py_None
); resultobj
= Py_None
;
20976 static PyObject
*_wrap_AcceleratorEntry_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20977 PyObject
*resultobj
;
20978 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
20982 PyObject
* obj0
= 0 ;
20983 PyObject
* obj1
= 0 ;
20984 PyObject
* obj2
= 0 ;
20985 PyObject
* obj3
= 0 ;
20986 char *kwnames
[] = {
20987 (char *) "self",(char *) "flags",(char *) "keyCode",(char *) "cmd", NULL
20990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AcceleratorEntry_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20991 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
20992 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20993 arg2
= (int) SWIG_AsInt(obj1
);
20994 if (PyErr_Occurred()) SWIG_fail
;
20995 arg3
= (int) SWIG_AsInt(obj2
);
20996 if (PyErr_Occurred()) SWIG_fail
;
20997 arg4
= (int) SWIG_AsInt(obj3
);
20998 if (PyErr_Occurred()) SWIG_fail
;
21000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21001 (arg1
)->Set(arg2
,arg3
,arg4
);
21003 wxPyEndAllowThreads(__tstate
);
21004 if (PyErr_Occurred()) SWIG_fail
;
21006 Py_INCREF(Py_None
); resultobj
= Py_None
;
21013 static PyObject
*_wrap_AcceleratorEntry_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21014 PyObject
*resultobj
;
21015 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
21017 PyObject
* obj0
= 0 ;
21018 char *kwnames
[] = {
21019 (char *) "self", NULL
21022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetFlags",kwnames
,&obj0
)) goto fail
;
21023 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
21024 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21027 result
= (int)(arg1
)->GetFlags();
21029 wxPyEndAllowThreads(__tstate
);
21030 if (PyErr_Occurred()) SWIG_fail
;
21032 resultobj
= SWIG_FromInt((int)result
);
21039 static PyObject
*_wrap_AcceleratorEntry_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21040 PyObject
*resultobj
;
21041 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
21043 PyObject
* obj0
= 0 ;
21044 char *kwnames
[] = {
21045 (char *) "self", NULL
21048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetKeyCode",kwnames
,&obj0
)) goto fail
;
21049 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
21050 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21053 result
= (int)(arg1
)->GetKeyCode();
21055 wxPyEndAllowThreads(__tstate
);
21056 if (PyErr_Occurred()) SWIG_fail
;
21058 resultobj
= SWIG_FromInt((int)result
);
21065 static PyObject
*_wrap_AcceleratorEntry_GetCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21066 PyObject
*resultobj
;
21067 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
21069 PyObject
* obj0
= 0 ;
21070 char *kwnames
[] = {
21071 (char *) "self", NULL
21074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetCommand",kwnames
,&obj0
)) goto fail
;
21075 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
21076 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21079 result
= (int)(arg1
)->GetCommand();
21081 wxPyEndAllowThreads(__tstate
);
21082 if (PyErr_Occurred()) SWIG_fail
;
21084 resultobj
= SWIG_FromInt((int)result
);
21091 static PyObject
* AcceleratorEntry_swigregister(PyObject
*self
, PyObject
*args
) {
21093 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21094 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorEntry
, obj
);
21096 return Py_BuildValue((char *)"");
21098 static PyObject
*_wrap_new_AcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21099 PyObject
*resultobj
;
21101 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
21102 wxAcceleratorTable
*result
;
21103 PyObject
* obj0
= 0 ;
21104 char *kwnames
[] = {
21108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_AcceleratorTable",kwnames
,&obj0
)) goto fail
;
21110 arg2
= wxAcceleratorEntry_LIST_helper(obj0
);
21111 if (arg2
) arg1
= PyList_Size(obj0
);
21115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21116 result
= (wxAcceleratorTable
*)new wxAcceleratorTable(arg1
,(wxAcceleratorEntry
const *)arg2
);
21118 wxPyEndAllowThreads(__tstate
);
21119 if (PyErr_Occurred()) SWIG_fail
;
21121 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorTable
, 1);
21134 static PyObject
*_wrap_delete_AcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21135 PyObject
*resultobj
;
21136 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
21137 PyObject
* obj0
= 0 ;
21138 char *kwnames
[] = {
21139 (char *) "self", NULL
21142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_AcceleratorTable",kwnames
,&obj0
)) goto fail
;
21143 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorTable
,
21144 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21149 wxPyEndAllowThreads(__tstate
);
21150 if (PyErr_Occurred()) SWIG_fail
;
21152 Py_INCREF(Py_None
); resultobj
= Py_None
;
21159 static PyObject
*_wrap_AcceleratorTable_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21160 PyObject
*resultobj
;
21161 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
21163 PyObject
* obj0
= 0 ;
21164 char *kwnames
[] = {
21165 (char *) "self", NULL
21168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorTable_Ok",kwnames
,&obj0
)) goto fail
;
21169 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorTable
,
21170 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21173 result
= (bool)((wxAcceleratorTable
const *)arg1
)->Ok();
21175 wxPyEndAllowThreads(__tstate
);
21176 if (PyErr_Occurred()) SWIG_fail
;
21179 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21187 static PyObject
* AcceleratorTable_swigregister(PyObject
*self
, PyObject
*args
) {
21189 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21190 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorTable
, obj
);
21192 return Py_BuildValue((char *)"");
21194 static int _wrap_NullAcceleratorTable_set(PyObject
*_val
) {
21195 PyErr_SetString(PyExc_TypeError
,"Variable NullAcceleratorTable is read-only.");
21200 static PyObject
*_wrap_NullAcceleratorTable_get() {
21203 pyobj
= SWIG_NewPointerObj((void *)(&wxNullAcceleratorTable
), SWIGTYPE_p_wxAcceleratorTable
, 0);
21208 static PyObject
*_wrap_GetAccelFromString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21209 PyObject
*resultobj
;
21210 wxString
*arg1
= 0 ;
21211 wxAcceleratorEntry
*result
;
21212 bool temp1
= False
;
21213 PyObject
* obj0
= 0 ;
21214 char *kwnames
[] = {
21215 (char *) "label", NULL
21218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetAccelFromString",kwnames
,&obj0
)) goto fail
;
21220 arg1
= wxString_in_helper(obj0
);
21221 if (arg1
== NULL
) SWIG_fail
;
21225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21226 result
= (wxAcceleratorEntry
*)wxGetAccelFromString((wxString
const &)*arg1
);
21228 wxPyEndAllowThreads(__tstate
);
21229 if (PyErr_Occurred()) SWIG_fail
;
21231 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 0);
21246 static int _wrap_PanelNameStr_set(PyObject
*_val
) {
21247 PyErr_SetString(PyExc_TypeError
,"Variable PanelNameStr is read-only.");
21252 static PyObject
*_wrap_PanelNameStr_get() {
21257 pyobj
= PyUnicode_FromWideChar((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
21259 pyobj
= PyString_FromStringAndSize((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
21266 static PyObject
*_wrap_new_VisualAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21267 PyObject
*resultobj
;
21268 wxVisualAttributes
*result
;
21269 char *kwnames
[] = {
21273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_VisualAttributes",kwnames
)) goto fail
;
21275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21276 result
= (wxVisualAttributes
*)new_wxVisualAttributes();
21278 wxPyEndAllowThreads(__tstate
);
21279 if (PyErr_Occurred()) SWIG_fail
;
21281 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxVisualAttributes
, 1);
21288 static PyObject
*_wrap_delete_VisualAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21289 PyObject
*resultobj
;
21290 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21291 PyObject
* obj0
= 0 ;
21292 char *kwnames
[] = {
21293 (char *) "self", NULL
21296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_VisualAttributes",kwnames
,&obj0
)) goto fail
;
21297 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21301 delete_wxVisualAttributes(arg1
);
21303 wxPyEndAllowThreads(__tstate
);
21304 if (PyErr_Occurred()) SWIG_fail
;
21306 Py_INCREF(Py_None
); resultobj
= Py_None
;
21313 static PyObject
*_wrap_VisualAttributes_font_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21314 PyObject
*resultobj
;
21315 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21316 wxFont
*arg2
= (wxFont
*) 0 ;
21317 PyObject
* obj0
= 0 ;
21318 PyObject
* obj1
= 0 ;
21319 char *kwnames
[] = {
21320 (char *) "self",(char *) "font", NULL
21323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_font_set",kwnames
,&obj0
,&obj1
)) goto fail
;
21324 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21325 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21326 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
21327 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21328 if (arg1
) (arg1
)->font
= *arg2
;
21330 Py_INCREF(Py_None
); resultobj
= Py_None
;
21337 static PyObject
*_wrap_VisualAttributes_font_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21338 PyObject
*resultobj
;
21339 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21341 PyObject
* obj0
= 0 ;
21342 char *kwnames
[] = {
21343 (char *) "self", NULL
21346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_font_get",kwnames
,&obj0
)) goto fail
;
21347 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21348 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21349 result
= (wxFont
*)& ((arg1
)->font
);
21351 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 0);
21358 static PyObject
*_wrap_VisualAttributes_colFg_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21359 PyObject
*resultobj
;
21360 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21361 wxColour
*arg2
= (wxColour
*) 0 ;
21362 PyObject
* obj0
= 0 ;
21363 PyObject
* obj1
= 0 ;
21364 char *kwnames
[] = {
21365 (char *) "self",(char *) "colFg", NULL
21368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_colFg_set",kwnames
,&obj0
,&obj1
)) goto fail
;
21369 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21370 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21371 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxColour
,
21372 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21373 if (arg1
) (arg1
)->colFg
= *arg2
;
21375 Py_INCREF(Py_None
); resultobj
= Py_None
;
21382 static PyObject
*_wrap_VisualAttributes_colFg_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21383 PyObject
*resultobj
;
21384 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21386 PyObject
* obj0
= 0 ;
21387 char *kwnames
[] = {
21388 (char *) "self", NULL
21391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_colFg_get",kwnames
,&obj0
)) goto fail
;
21392 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21393 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21394 result
= (wxColour
*)& ((arg1
)->colFg
);
21396 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
21403 static PyObject
*_wrap_VisualAttributes_colBg_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21404 PyObject
*resultobj
;
21405 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21406 wxColour
*arg2
= (wxColour
*) 0 ;
21407 PyObject
* obj0
= 0 ;
21408 PyObject
* obj1
= 0 ;
21409 char *kwnames
[] = {
21410 (char *) "self",(char *) "colBg", NULL
21413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_colBg_set",kwnames
,&obj0
,&obj1
)) goto fail
;
21414 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21415 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21416 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxColour
,
21417 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21418 if (arg1
) (arg1
)->colBg
= *arg2
;
21420 Py_INCREF(Py_None
); resultobj
= Py_None
;
21427 static PyObject
*_wrap_VisualAttributes_colBg_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21428 PyObject
*resultobj
;
21429 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21431 PyObject
* obj0
= 0 ;
21432 char *kwnames
[] = {
21433 (char *) "self", NULL
21436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_colBg_get",kwnames
,&obj0
)) goto fail
;
21437 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21438 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21439 result
= (wxColour
*)& ((arg1
)->colBg
);
21441 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
21448 static PyObject
* VisualAttributes_swigregister(PyObject
*self
, PyObject
*args
) {
21450 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21451 SWIG_TypeClientData(SWIGTYPE_p_wxVisualAttributes
, obj
);
21453 return Py_BuildValue((char *)"");
21455 static PyObject
*_wrap_new_Window(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21456 PyObject
*resultobj
;
21457 wxWindow
*arg1
= (wxWindow
*) 0 ;
21458 int arg2
= (int) (int)-1 ;
21459 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21460 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21461 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21462 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21463 long arg5
= (long) 0 ;
21464 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
21465 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21469 bool temp6
= False
;
21470 PyObject
* obj0
= 0 ;
21471 PyObject
* obj1
= 0 ;
21472 PyObject
* obj2
= 0 ;
21473 PyObject
* obj3
= 0 ;
21474 PyObject
* obj4
= 0 ;
21475 PyObject
* obj5
= 0 ;
21476 char *kwnames
[] = {
21477 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Window",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
21481 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21482 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21484 arg2
= (int const) SWIG_AsInt(obj1
);
21485 if (PyErr_Occurred()) SWIG_fail
;
21490 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21496 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21500 arg5
= (long) SWIG_AsLong(obj4
);
21501 if (PyErr_Occurred()) SWIG_fail
;
21505 arg6
= wxString_in_helper(obj5
);
21506 if (arg6
== NULL
) SWIG_fail
;
21511 if (!wxPyCheckForApp()) SWIG_fail
;
21512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21513 result
= (wxWindow
*)new wxWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21515 wxPyEndAllowThreads(__tstate
);
21516 if (PyErr_Occurred()) SWIG_fail
;
21518 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindow
, 1);
21533 static PyObject
*_wrap_new_PreWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21534 PyObject
*resultobj
;
21536 char *kwnames
[] = {
21540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreWindow",kwnames
)) goto fail
;
21542 if (!wxPyCheckForApp()) SWIG_fail
;
21543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21544 result
= (wxWindow
*)new wxWindow();
21546 wxPyEndAllowThreads(__tstate
);
21547 if (PyErr_Occurred()) SWIG_fail
;
21549 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindow
, 1);
21556 static PyObject
*_wrap_Window_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21557 PyObject
*resultobj
;
21558 wxWindow
*arg1
= (wxWindow
*) 0 ;
21559 wxWindow
*arg2
= (wxWindow
*) 0 ;
21560 int arg3
= (int) (int)-1 ;
21561 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21562 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21563 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21564 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21565 long arg6
= (long) 0 ;
21566 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
21567 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21571 bool temp7
= False
;
21572 PyObject
* obj0
= 0 ;
21573 PyObject
* obj1
= 0 ;
21574 PyObject
* obj2
= 0 ;
21575 PyObject
* obj3
= 0 ;
21576 PyObject
* obj4
= 0 ;
21577 PyObject
* obj5
= 0 ;
21578 PyObject
* obj6
= 0 ;
21579 char *kwnames
[] = {
21580 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Window_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
21584 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21585 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21586 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
21587 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21589 arg3
= (int const) SWIG_AsInt(obj2
);
21590 if (PyErr_Occurred()) SWIG_fail
;
21595 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21601 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21605 arg6
= (long) SWIG_AsLong(obj5
);
21606 if (PyErr_Occurred()) SWIG_fail
;
21610 arg7
= wxString_in_helper(obj6
);
21611 if (arg7
== NULL
) SWIG_fail
;
21616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21617 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21619 wxPyEndAllowThreads(__tstate
);
21620 if (PyErr_Occurred()) SWIG_fail
;
21623 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21639 static PyObject
*_wrap_Window_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21640 PyObject
*resultobj
;
21641 wxWindow
*arg1
= (wxWindow
*) 0 ;
21642 bool arg2
= (bool) False
;
21644 PyObject
* obj0
= 0 ;
21645 PyObject
* obj1
= 0 ;
21646 char *kwnames
[] = {
21647 (char *) "self",(char *) "force", NULL
21650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Close",kwnames
,&obj0
,&obj1
)) goto fail
;
21651 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21652 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21654 arg2
= (bool) SWIG_AsBool(obj1
);
21655 if (PyErr_Occurred()) SWIG_fail
;
21658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21659 result
= (bool)(arg1
)->Close(arg2
);
21661 wxPyEndAllowThreads(__tstate
);
21662 if (PyErr_Occurred()) SWIG_fail
;
21665 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21673 static PyObject
*_wrap_Window_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21674 PyObject
*resultobj
;
21675 wxWindow
*arg1
= (wxWindow
*) 0 ;
21677 PyObject
* obj0
= 0 ;
21678 char *kwnames
[] = {
21679 (char *) "self", NULL
21682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Destroy",kwnames
,&obj0
)) goto fail
;
21683 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21684 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21687 result
= (bool)(arg1
)->Destroy();
21689 wxPyEndAllowThreads(__tstate
);
21690 if (PyErr_Occurred()) SWIG_fail
;
21693 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21701 static PyObject
*_wrap_Window_DestroyChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21702 PyObject
*resultobj
;
21703 wxWindow
*arg1
= (wxWindow
*) 0 ;
21705 PyObject
* obj0
= 0 ;
21706 char *kwnames
[] = {
21707 (char *) "self", NULL
21710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_DestroyChildren",kwnames
,&obj0
)) goto fail
;
21711 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21712 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21715 result
= (bool)(arg1
)->DestroyChildren();
21717 wxPyEndAllowThreads(__tstate
);
21718 if (PyErr_Occurred()) SWIG_fail
;
21721 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21729 static PyObject
*_wrap_Window_IsBeingDeleted(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21730 PyObject
*resultobj
;
21731 wxWindow
*arg1
= (wxWindow
*) 0 ;
21733 PyObject
* obj0
= 0 ;
21734 char *kwnames
[] = {
21735 (char *) "self", NULL
21738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsBeingDeleted",kwnames
,&obj0
)) goto fail
;
21739 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21740 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21743 result
= (bool)((wxWindow
const *)arg1
)->IsBeingDeleted();
21745 wxPyEndAllowThreads(__tstate
);
21746 if (PyErr_Occurred()) SWIG_fail
;
21749 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21757 static PyObject
*_wrap_Window_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21758 PyObject
*resultobj
;
21759 wxWindow
*arg1
= (wxWindow
*) 0 ;
21760 wxString
*arg2
= 0 ;
21761 bool temp2
= False
;
21762 PyObject
* obj0
= 0 ;
21763 PyObject
* obj1
= 0 ;
21764 char *kwnames
[] = {
21765 (char *) "self",(char *) "title", NULL
21768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
21769 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21770 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21772 arg2
= wxString_in_helper(obj1
);
21773 if (arg2
== NULL
) SWIG_fail
;
21777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21778 (arg1
)->SetTitle((wxString
const &)*arg2
);
21780 wxPyEndAllowThreads(__tstate
);
21781 if (PyErr_Occurred()) SWIG_fail
;
21783 Py_INCREF(Py_None
); resultobj
= Py_None
;
21798 static PyObject
*_wrap_Window_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21799 PyObject
*resultobj
;
21800 wxWindow
*arg1
= (wxWindow
*) 0 ;
21802 PyObject
* obj0
= 0 ;
21803 char *kwnames
[] = {
21804 (char *) "self", NULL
21807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetTitle",kwnames
,&obj0
)) goto fail
;
21808 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21809 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21812 result
= ((wxWindow
const *)arg1
)->GetTitle();
21814 wxPyEndAllowThreads(__tstate
);
21815 if (PyErr_Occurred()) SWIG_fail
;
21819 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21821 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21830 static PyObject
*_wrap_Window_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21831 PyObject
*resultobj
;
21832 wxWindow
*arg1
= (wxWindow
*) 0 ;
21833 wxString
*arg2
= 0 ;
21834 bool temp2
= False
;
21835 PyObject
* obj0
= 0 ;
21836 PyObject
* obj1
= 0 ;
21837 char *kwnames
[] = {
21838 (char *) "self",(char *) "label", NULL
21841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
21842 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21843 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21845 arg2
= wxString_in_helper(obj1
);
21846 if (arg2
== NULL
) SWIG_fail
;
21850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21851 (arg1
)->SetLabel((wxString
const &)*arg2
);
21853 wxPyEndAllowThreads(__tstate
);
21854 if (PyErr_Occurred()) SWIG_fail
;
21856 Py_INCREF(Py_None
); resultobj
= Py_None
;
21871 static PyObject
*_wrap_Window_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21872 PyObject
*resultobj
;
21873 wxWindow
*arg1
= (wxWindow
*) 0 ;
21875 PyObject
* obj0
= 0 ;
21876 char *kwnames
[] = {
21877 (char *) "self", NULL
21880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetLabel",kwnames
,&obj0
)) goto fail
;
21881 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21882 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21885 result
= ((wxWindow
const *)arg1
)->GetLabel();
21887 wxPyEndAllowThreads(__tstate
);
21888 if (PyErr_Occurred()) SWIG_fail
;
21892 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21894 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21903 static PyObject
*_wrap_Window_SetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21904 PyObject
*resultobj
;
21905 wxWindow
*arg1
= (wxWindow
*) 0 ;
21906 wxString
*arg2
= 0 ;
21907 bool temp2
= False
;
21908 PyObject
* obj0
= 0 ;
21909 PyObject
* obj1
= 0 ;
21910 char *kwnames
[] = {
21911 (char *) "self",(char *) "name", NULL
21914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetName",kwnames
,&obj0
,&obj1
)) goto fail
;
21915 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21916 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21918 arg2
= wxString_in_helper(obj1
);
21919 if (arg2
== NULL
) SWIG_fail
;
21923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21924 (arg1
)->SetName((wxString
const &)*arg2
);
21926 wxPyEndAllowThreads(__tstate
);
21927 if (PyErr_Occurred()) SWIG_fail
;
21929 Py_INCREF(Py_None
); resultobj
= Py_None
;
21944 static PyObject
*_wrap_Window_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21945 PyObject
*resultobj
;
21946 wxWindow
*arg1
= (wxWindow
*) 0 ;
21948 PyObject
* obj0
= 0 ;
21949 char *kwnames
[] = {
21950 (char *) "self", NULL
21953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetName",kwnames
,&obj0
)) goto fail
;
21954 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21955 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21958 result
= ((wxWindow
const *)arg1
)->GetName();
21960 wxPyEndAllowThreads(__tstate
);
21961 if (PyErr_Occurred()) SWIG_fail
;
21965 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21967 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21976 static PyObject
*_wrap_Window_SetWindowVariant(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21977 PyObject
*resultobj
;
21978 wxWindow
*arg1
= (wxWindow
*) 0 ;
21980 PyObject
* obj0
= 0 ;
21981 PyObject
* obj1
= 0 ;
21982 char *kwnames
[] = {
21983 (char *) "self",(char *) "variant", NULL
21986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetWindowVariant",kwnames
,&obj0
,&obj1
)) goto fail
;
21987 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21988 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21989 arg2
= (wxWindowVariant
) SWIG_AsInt(obj1
);
21990 if (PyErr_Occurred()) SWIG_fail
;
21992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21993 (arg1
)->SetWindowVariant((wxWindowVariant
)arg2
);
21995 wxPyEndAllowThreads(__tstate
);
21996 if (PyErr_Occurred()) SWIG_fail
;
21998 Py_INCREF(Py_None
); resultobj
= Py_None
;
22005 static PyObject
*_wrap_Window_GetWindowVariant(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22006 PyObject
*resultobj
;
22007 wxWindow
*arg1
= (wxWindow
*) 0 ;
22009 PyObject
* obj0
= 0 ;
22010 char *kwnames
[] = {
22011 (char *) "self", NULL
22014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetWindowVariant",kwnames
,&obj0
)) goto fail
;
22015 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22016 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22019 result
= (int)((wxWindow
const *)arg1
)->GetWindowVariant();
22021 wxPyEndAllowThreads(__tstate
);
22022 if (PyErr_Occurred()) SWIG_fail
;
22024 resultobj
= SWIG_FromInt((int)result
);
22031 static PyObject
*_wrap_Window_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22032 PyObject
*resultobj
;
22033 wxWindow
*arg1
= (wxWindow
*) 0 ;
22035 PyObject
* obj0
= 0 ;
22036 PyObject
* obj1
= 0 ;
22037 char *kwnames
[] = {
22038 (char *) "self",(char *) "winid", NULL
22041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
22042 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22043 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22044 arg2
= (int) SWIG_AsInt(obj1
);
22045 if (PyErr_Occurred()) SWIG_fail
;
22047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22048 (arg1
)->SetId(arg2
);
22050 wxPyEndAllowThreads(__tstate
);
22051 if (PyErr_Occurred()) SWIG_fail
;
22053 Py_INCREF(Py_None
); resultobj
= Py_None
;
22060 static PyObject
*_wrap_Window_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22061 PyObject
*resultobj
;
22062 wxWindow
*arg1
= (wxWindow
*) 0 ;
22064 PyObject
* obj0
= 0 ;
22065 char *kwnames
[] = {
22066 (char *) "self", NULL
22069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetId",kwnames
,&obj0
)) goto fail
;
22070 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22071 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22074 result
= (int)((wxWindow
const *)arg1
)->GetId();
22076 wxPyEndAllowThreads(__tstate
);
22077 if (PyErr_Occurred()) SWIG_fail
;
22079 resultobj
= SWIG_FromInt((int)result
);
22086 static PyObject
*_wrap_Window_NewControlId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22087 PyObject
*resultobj
;
22089 char *kwnames
[] = {
22093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_NewControlId",kwnames
)) goto fail
;
22095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22096 result
= (int)wxWindow::NewControlId();
22098 wxPyEndAllowThreads(__tstate
);
22099 if (PyErr_Occurred()) SWIG_fail
;
22101 resultobj
= SWIG_FromInt((int)result
);
22108 static PyObject
*_wrap_Window_NextControlId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22109 PyObject
*resultobj
;
22112 PyObject
* obj0
= 0 ;
22113 char *kwnames
[] = {
22114 (char *) "winid", NULL
22117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_NextControlId",kwnames
,&obj0
)) goto fail
;
22118 arg1
= (int) SWIG_AsInt(obj0
);
22119 if (PyErr_Occurred()) SWIG_fail
;
22121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22122 result
= (int)wxWindow::NextControlId(arg1
);
22124 wxPyEndAllowThreads(__tstate
);
22125 if (PyErr_Occurred()) SWIG_fail
;
22127 resultobj
= SWIG_FromInt((int)result
);
22134 static PyObject
*_wrap_Window_PrevControlId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22135 PyObject
*resultobj
;
22138 PyObject
* obj0
= 0 ;
22139 char *kwnames
[] = {
22140 (char *) "winid", NULL
22143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PrevControlId",kwnames
,&obj0
)) goto fail
;
22144 arg1
= (int) SWIG_AsInt(obj0
);
22145 if (PyErr_Occurred()) SWIG_fail
;
22147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22148 result
= (int)wxWindow::PrevControlId(arg1
);
22150 wxPyEndAllowThreads(__tstate
);
22151 if (PyErr_Occurred()) SWIG_fail
;
22153 resultobj
= SWIG_FromInt((int)result
);
22160 static PyObject
*_wrap_Window_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22161 PyObject
*resultobj
;
22162 wxWindow
*arg1
= (wxWindow
*) 0 ;
22165 PyObject
* obj0
= 0 ;
22166 PyObject
* obj1
= 0 ;
22167 char *kwnames
[] = {
22168 (char *) "self",(char *) "size", NULL
22171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
22172 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22173 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22176 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
22179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22180 (arg1
)->SetSize((wxSize
const &)*arg2
);
22182 wxPyEndAllowThreads(__tstate
);
22183 if (PyErr_Occurred()) SWIG_fail
;
22185 Py_INCREF(Py_None
); resultobj
= Py_None
;
22192 static PyObject
*_wrap_Window_SetDimensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22193 PyObject
*resultobj
;
22194 wxWindow
*arg1
= (wxWindow
*) 0 ;
22199 int arg6
= (int) wxSIZE_AUTO
;
22200 PyObject
* obj0
= 0 ;
22201 PyObject
* obj1
= 0 ;
22202 PyObject
* obj2
= 0 ;
22203 PyObject
* obj3
= 0 ;
22204 PyObject
* obj4
= 0 ;
22205 PyObject
* obj5
= 0 ;
22206 char *kwnames
[] = {
22207 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
22210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Window_SetDimensions",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
22211 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22212 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22213 arg2
= (int) SWIG_AsInt(obj1
);
22214 if (PyErr_Occurred()) SWIG_fail
;
22215 arg3
= (int) SWIG_AsInt(obj2
);
22216 if (PyErr_Occurred()) SWIG_fail
;
22217 arg4
= (int) SWIG_AsInt(obj3
);
22218 if (PyErr_Occurred()) SWIG_fail
;
22219 arg5
= (int) SWIG_AsInt(obj4
);
22220 if (PyErr_Occurred()) SWIG_fail
;
22222 arg6
= (int) SWIG_AsInt(obj5
);
22223 if (PyErr_Occurred()) SWIG_fail
;
22226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22227 (arg1
)->SetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
22229 wxPyEndAllowThreads(__tstate
);
22230 if (PyErr_Occurred()) SWIG_fail
;
22232 Py_INCREF(Py_None
); resultobj
= Py_None
;
22239 static PyObject
*_wrap_Window_SetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22240 PyObject
*resultobj
;
22241 wxWindow
*arg1
= (wxWindow
*) 0 ;
22243 int arg3
= (int) wxSIZE_AUTO
;
22245 PyObject
* obj0
= 0 ;
22246 PyObject
* obj1
= 0 ;
22247 PyObject
* obj2
= 0 ;
22248 char *kwnames
[] = {
22249 (char *) "self",(char *) "rect",(char *) "sizeFlags", NULL
22252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22253 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22254 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22257 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
22260 arg3
= (int) SWIG_AsInt(obj2
);
22261 if (PyErr_Occurred()) SWIG_fail
;
22264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22265 (arg1
)->SetSize((wxRect
const &)*arg2
,arg3
);
22267 wxPyEndAllowThreads(__tstate
);
22268 if (PyErr_Occurred()) SWIG_fail
;
22270 Py_INCREF(Py_None
); resultobj
= Py_None
;
22277 static PyObject
*_wrap_Window_SetSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22278 PyObject
*resultobj
;
22279 wxWindow
*arg1
= (wxWindow
*) 0 ;
22282 PyObject
* obj0
= 0 ;
22283 PyObject
* obj1
= 0 ;
22284 PyObject
* obj2
= 0 ;
22285 char *kwnames
[] = {
22286 (char *) "self",(char *) "width",(char *) "height", NULL
22289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22290 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22291 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22292 arg2
= (int) SWIG_AsInt(obj1
);
22293 if (PyErr_Occurred()) SWIG_fail
;
22294 arg3
= (int) SWIG_AsInt(obj2
);
22295 if (PyErr_Occurred()) SWIG_fail
;
22297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22298 (arg1
)->SetSize(arg2
,arg3
);
22300 wxPyEndAllowThreads(__tstate
);
22301 if (PyErr_Occurred()) SWIG_fail
;
22303 Py_INCREF(Py_None
); resultobj
= Py_None
;
22310 static PyObject
*_wrap_Window_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22311 PyObject
*resultobj
;
22312 wxWindow
*arg1
= (wxWindow
*) 0 ;
22313 wxPoint
*arg2
= 0 ;
22314 int arg3
= (int) wxSIZE_USE_EXISTING
;
22316 PyObject
* obj0
= 0 ;
22317 PyObject
* obj1
= 0 ;
22318 PyObject
* obj2
= 0 ;
22319 char *kwnames
[] = {
22320 (char *) "self",(char *) "pt",(char *) "flags", NULL
22323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_Move",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22324 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22325 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22328 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22331 arg3
= (int) SWIG_AsInt(obj2
);
22332 if (PyErr_Occurred()) SWIG_fail
;
22335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22336 (arg1
)->Move((wxPoint
const &)*arg2
,arg3
);
22338 wxPyEndAllowThreads(__tstate
);
22339 if (PyErr_Occurred()) SWIG_fail
;
22341 Py_INCREF(Py_None
); resultobj
= Py_None
;
22348 static PyObject
*_wrap_Window_MoveXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22349 PyObject
*resultobj
;
22350 wxWindow
*arg1
= (wxWindow
*) 0 ;
22353 int arg4
= (int) wxSIZE_USE_EXISTING
;
22354 PyObject
* obj0
= 0 ;
22355 PyObject
* obj1
= 0 ;
22356 PyObject
* obj2
= 0 ;
22357 PyObject
* obj3
= 0 ;
22358 char *kwnames
[] = {
22359 (char *) "self",(char *) "x",(char *) "y",(char *) "flags", NULL
22362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_MoveXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22363 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22364 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22365 arg2
= (int) SWIG_AsInt(obj1
);
22366 if (PyErr_Occurred()) SWIG_fail
;
22367 arg3
= (int) SWIG_AsInt(obj2
);
22368 if (PyErr_Occurred()) SWIG_fail
;
22370 arg4
= (int) SWIG_AsInt(obj3
);
22371 if (PyErr_Occurred()) SWIG_fail
;
22374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22375 (arg1
)->Move(arg2
,arg3
,arg4
);
22377 wxPyEndAllowThreads(__tstate
);
22378 if (PyErr_Occurred()) SWIG_fail
;
22380 Py_INCREF(Py_None
); resultobj
= Py_None
;
22387 static PyObject
*_wrap_Window_SetBestFittingSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22388 PyObject
*resultobj
;
22389 wxWindow
*arg1
= (wxWindow
*) 0 ;
22390 wxSize
const &arg2_defvalue
= wxDefaultSize
;
22391 wxSize
*arg2
= (wxSize
*) &arg2_defvalue
;
22393 PyObject
* obj0
= 0 ;
22394 PyObject
* obj1
= 0 ;
22395 char *kwnames
[] = {
22396 (char *) "self",(char *) "size", NULL
22399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_SetBestFittingSize",kwnames
,&obj0
,&obj1
)) goto fail
;
22400 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22401 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22405 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
22409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22410 (arg1
)->SetBestFittingSize((wxSize
const &)*arg2
);
22412 wxPyEndAllowThreads(__tstate
);
22413 if (PyErr_Occurred()) SWIG_fail
;
22415 Py_INCREF(Py_None
); resultobj
= Py_None
;
22422 static PyObject
*_wrap_Window_Raise(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22423 PyObject
*resultobj
;
22424 wxWindow
*arg1
= (wxWindow
*) 0 ;
22425 PyObject
* obj0
= 0 ;
22426 char *kwnames
[] = {
22427 (char *) "self", NULL
22430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Raise",kwnames
,&obj0
)) goto fail
;
22431 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22432 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22437 wxPyEndAllowThreads(__tstate
);
22438 if (PyErr_Occurred()) SWIG_fail
;
22440 Py_INCREF(Py_None
); resultobj
= Py_None
;
22447 static PyObject
*_wrap_Window_Lower(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22448 PyObject
*resultobj
;
22449 wxWindow
*arg1
= (wxWindow
*) 0 ;
22450 PyObject
* obj0
= 0 ;
22451 char *kwnames
[] = {
22452 (char *) "self", NULL
22455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Lower",kwnames
,&obj0
)) goto fail
;
22456 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22457 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22462 wxPyEndAllowThreads(__tstate
);
22463 if (PyErr_Occurred()) SWIG_fail
;
22465 Py_INCREF(Py_None
); resultobj
= Py_None
;
22472 static PyObject
*_wrap_Window_SetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22473 PyObject
*resultobj
;
22474 wxWindow
*arg1
= (wxWindow
*) 0 ;
22477 PyObject
* obj0
= 0 ;
22478 PyObject
* obj1
= 0 ;
22479 char *kwnames
[] = {
22480 (char *) "self",(char *) "size", NULL
22483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientSize",kwnames
,&obj0
,&obj1
)) goto fail
;
22484 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22485 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22488 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
22491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22492 (arg1
)->SetClientSize((wxSize
const &)*arg2
);
22494 wxPyEndAllowThreads(__tstate
);
22495 if (PyErr_Occurred()) SWIG_fail
;
22497 Py_INCREF(Py_None
); resultobj
= Py_None
;
22504 static PyObject
*_wrap_Window_SetClientSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22505 PyObject
*resultobj
;
22506 wxWindow
*arg1
= (wxWindow
*) 0 ;
22509 PyObject
* obj0
= 0 ;
22510 PyObject
* obj1
= 0 ;
22511 PyObject
* obj2
= 0 ;
22512 char *kwnames
[] = {
22513 (char *) "self",(char *) "width",(char *) "height", NULL
22516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetClientSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22517 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22518 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22519 arg2
= (int) SWIG_AsInt(obj1
);
22520 if (PyErr_Occurred()) SWIG_fail
;
22521 arg3
= (int) SWIG_AsInt(obj2
);
22522 if (PyErr_Occurred()) SWIG_fail
;
22524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22525 (arg1
)->SetClientSize(arg2
,arg3
);
22527 wxPyEndAllowThreads(__tstate
);
22528 if (PyErr_Occurred()) SWIG_fail
;
22530 Py_INCREF(Py_None
); resultobj
= Py_None
;
22537 static PyObject
*_wrap_Window_SetClientRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22538 PyObject
*resultobj
;
22539 wxWindow
*arg1
= (wxWindow
*) 0 ;
22542 PyObject
* obj0
= 0 ;
22543 PyObject
* obj1
= 0 ;
22544 char *kwnames
[] = {
22545 (char *) "self",(char *) "rect", NULL
22548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientRect",kwnames
,&obj0
,&obj1
)) goto fail
;
22549 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22550 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22553 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
22556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22557 (arg1
)->SetClientSize((wxRect
const &)*arg2
);
22559 wxPyEndAllowThreads(__tstate
);
22560 if (PyErr_Occurred()) SWIG_fail
;
22562 Py_INCREF(Py_None
); resultobj
= Py_None
;
22569 static PyObject
*_wrap_Window_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22570 PyObject
*resultobj
;
22571 wxWindow
*arg1
= (wxWindow
*) 0 ;
22573 PyObject
* obj0
= 0 ;
22574 char *kwnames
[] = {
22575 (char *) "self", NULL
22578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetPosition",kwnames
,&obj0
)) goto fail
;
22579 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22580 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22583 result
= (arg1
)->GetPosition();
22585 wxPyEndAllowThreads(__tstate
);
22586 if (PyErr_Occurred()) SWIG_fail
;
22589 wxPoint
* resultptr
;
22590 resultptr
= new wxPoint((wxPoint
&) result
);
22591 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
22599 static PyObject
*_wrap_Window_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22600 PyObject
*resultobj
;
22601 wxWindow
*arg1
= (wxWindow
*) 0 ;
22602 int *arg2
= (int *) 0 ;
22603 int *arg3
= (int *) 0 ;
22606 PyObject
* obj0
= 0 ;
22607 char *kwnames
[] = {
22608 (char *) "self", NULL
22613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
22614 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22615 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22618 (arg1
)->GetPosition(arg2
,arg3
);
22620 wxPyEndAllowThreads(__tstate
);
22621 if (PyErr_Occurred()) SWIG_fail
;
22623 Py_INCREF(Py_None
); resultobj
= Py_None
;
22625 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
22626 resultobj
= t_output_helper(resultobj
,o
);
22629 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22630 resultobj
= t_output_helper(resultobj
,o
);
22638 static PyObject
*_wrap_Window_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22639 PyObject
*resultobj
;
22640 wxWindow
*arg1
= (wxWindow
*) 0 ;
22642 PyObject
* obj0
= 0 ;
22643 char *kwnames
[] = {
22644 (char *) "self", NULL
22647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSize",kwnames
,&obj0
)) goto fail
;
22648 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22652 result
= ((wxWindow
const *)arg1
)->GetSize();
22654 wxPyEndAllowThreads(__tstate
);
22655 if (PyErr_Occurred()) SWIG_fail
;
22658 wxSize
* resultptr
;
22659 resultptr
= new wxSize((wxSize
&) result
);
22660 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
22668 static PyObject
*_wrap_Window_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22669 PyObject
*resultobj
;
22670 wxWindow
*arg1
= (wxWindow
*) 0 ;
22671 int *arg2
= (int *) 0 ;
22672 int *arg3
= (int *) 0 ;
22675 PyObject
* obj0
= 0 ;
22676 char *kwnames
[] = {
22677 (char *) "self", NULL
22682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
22683 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22684 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22687 ((wxWindow
const *)arg1
)->GetSize(arg2
,arg3
);
22689 wxPyEndAllowThreads(__tstate
);
22690 if (PyErr_Occurred()) SWIG_fail
;
22692 Py_INCREF(Py_None
); resultobj
= Py_None
;
22694 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
22695 resultobj
= t_output_helper(resultobj
,o
);
22698 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22699 resultobj
= t_output_helper(resultobj
,o
);
22707 static PyObject
*_wrap_Window_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22708 PyObject
*resultobj
;
22709 wxWindow
*arg1
= (wxWindow
*) 0 ;
22711 PyObject
* obj0
= 0 ;
22712 char *kwnames
[] = {
22713 (char *) "self", NULL
22716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetRect",kwnames
,&obj0
)) goto fail
;
22717 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22718 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22721 result
= ((wxWindow
const *)arg1
)->GetRect();
22723 wxPyEndAllowThreads(__tstate
);
22724 if (PyErr_Occurred()) SWIG_fail
;
22727 wxRect
* resultptr
;
22728 resultptr
= new wxRect((wxRect
&) result
);
22729 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
22737 static PyObject
*_wrap_Window_GetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22738 PyObject
*resultobj
;
22739 wxWindow
*arg1
= (wxWindow
*) 0 ;
22741 PyObject
* obj0
= 0 ;
22742 char *kwnames
[] = {
22743 (char *) "self", NULL
22746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientSize",kwnames
,&obj0
)) goto fail
;
22747 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22748 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22751 result
= ((wxWindow
const *)arg1
)->GetClientSize();
22753 wxPyEndAllowThreads(__tstate
);
22754 if (PyErr_Occurred()) SWIG_fail
;
22757 wxSize
* resultptr
;
22758 resultptr
= new wxSize((wxSize
&) result
);
22759 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
22767 static PyObject
*_wrap_Window_GetClientSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22768 PyObject
*resultobj
;
22769 wxWindow
*arg1
= (wxWindow
*) 0 ;
22770 int *arg2
= (int *) 0 ;
22771 int *arg3
= (int *) 0 ;
22774 PyObject
* obj0
= 0 ;
22775 char *kwnames
[] = {
22776 (char *) "self", NULL
22781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientSizeTuple",kwnames
,&obj0
)) goto fail
;
22782 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22783 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22786 ((wxWindow
const *)arg1
)->GetClientSize(arg2
,arg3
);
22788 wxPyEndAllowThreads(__tstate
);
22789 if (PyErr_Occurred()) SWIG_fail
;
22791 Py_INCREF(Py_None
); resultobj
= Py_None
;
22793 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
22794 resultobj
= t_output_helper(resultobj
,o
);
22797 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22798 resultobj
= t_output_helper(resultobj
,o
);
22806 static PyObject
*_wrap_Window_GetClientAreaOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22807 PyObject
*resultobj
;
22808 wxWindow
*arg1
= (wxWindow
*) 0 ;
22810 PyObject
* obj0
= 0 ;
22811 char *kwnames
[] = {
22812 (char *) "self", NULL
22815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientAreaOrigin",kwnames
,&obj0
)) goto fail
;
22816 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22817 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22820 result
= ((wxWindow
const *)arg1
)->GetClientAreaOrigin();
22822 wxPyEndAllowThreads(__tstate
);
22823 if (PyErr_Occurred()) SWIG_fail
;
22826 wxPoint
* resultptr
;
22827 resultptr
= new wxPoint((wxPoint
&) result
);
22828 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
22836 static PyObject
*_wrap_Window_GetClientRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22837 PyObject
*resultobj
;
22838 wxWindow
*arg1
= (wxWindow
*) 0 ;
22840 PyObject
* obj0
= 0 ;
22841 char *kwnames
[] = {
22842 (char *) "self", NULL
22845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientRect",kwnames
,&obj0
)) goto fail
;
22846 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22847 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22850 result
= ((wxWindow
const *)arg1
)->GetClientRect();
22852 wxPyEndAllowThreads(__tstate
);
22853 if (PyErr_Occurred()) SWIG_fail
;
22856 wxRect
* resultptr
;
22857 resultptr
= new wxRect((wxRect
&) result
);
22858 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
22866 static PyObject
*_wrap_Window_GetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22867 PyObject
*resultobj
;
22868 wxWindow
*arg1
= (wxWindow
*) 0 ;
22870 PyObject
* obj0
= 0 ;
22871 char *kwnames
[] = {
22872 (char *) "self", NULL
22875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestSize",kwnames
,&obj0
)) goto fail
;
22876 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22877 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22880 result
= ((wxWindow
const *)arg1
)->GetBestSize();
22882 wxPyEndAllowThreads(__tstate
);
22883 if (PyErr_Occurred()) SWIG_fail
;
22886 wxSize
* resultptr
;
22887 resultptr
= new wxSize((wxSize
&) result
);
22888 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
22896 static PyObject
*_wrap_Window_GetBestSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22897 PyObject
*resultobj
;
22898 wxWindow
*arg1
= (wxWindow
*) 0 ;
22899 int *arg2
= (int *) 0 ;
22900 int *arg3
= (int *) 0 ;
22903 PyObject
* obj0
= 0 ;
22904 char *kwnames
[] = {
22905 (char *) "self", NULL
22910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestSizeTuple",kwnames
,&obj0
)) goto fail
;
22911 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22912 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22915 ((wxWindow
const *)arg1
)->GetBestSize(arg2
,arg3
);
22917 wxPyEndAllowThreads(__tstate
);
22918 if (PyErr_Occurred()) SWIG_fail
;
22920 Py_INCREF(Py_None
); resultobj
= Py_None
;
22922 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
22923 resultobj
= t_output_helper(resultobj
,o
);
22926 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22927 resultobj
= t_output_helper(resultobj
,o
);
22935 static PyObject
*_wrap_Window_InvalidateBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22936 PyObject
*resultobj
;
22937 wxWindow
*arg1
= (wxWindow
*) 0 ;
22938 PyObject
* obj0
= 0 ;
22939 char *kwnames
[] = {
22940 (char *) "self", NULL
22943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InvalidateBestSize",kwnames
,&obj0
)) goto fail
;
22944 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22945 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22948 (arg1
)->InvalidateBestSize();
22950 wxPyEndAllowThreads(__tstate
);
22951 if (PyErr_Occurred()) SWIG_fail
;
22953 Py_INCREF(Py_None
); resultobj
= Py_None
;
22960 static PyObject
*_wrap_Window_GetBestFittingSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22961 PyObject
*resultobj
;
22962 wxWindow
*arg1
= (wxWindow
*) 0 ;
22964 PyObject
* obj0
= 0 ;
22965 char *kwnames
[] = {
22966 (char *) "self", NULL
22969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestFittingSize",kwnames
,&obj0
)) goto fail
;
22970 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22971 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22974 result
= ((wxWindow
const *)arg1
)->GetBestFittingSize();
22976 wxPyEndAllowThreads(__tstate
);
22977 if (PyErr_Occurred()) SWIG_fail
;
22980 wxSize
* resultptr
;
22981 resultptr
= new wxSize((wxSize
&) result
);
22982 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
22990 static PyObject
*_wrap_Window_GetAdjustedBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22991 PyObject
*resultobj
;
22992 wxWindow
*arg1
= (wxWindow
*) 0 ;
22994 PyObject
* obj0
= 0 ;
22995 char *kwnames
[] = {
22996 (char *) "self", NULL
22999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAdjustedBestSize",kwnames
,&obj0
)) goto fail
;
23000 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23001 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23004 result
= ((wxWindow
const *)arg1
)->GetAdjustedBestSize();
23006 wxPyEndAllowThreads(__tstate
);
23007 if (PyErr_Occurred()) SWIG_fail
;
23010 wxSize
* resultptr
;
23011 resultptr
= new wxSize((wxSize
&) result
);
23012 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23020 static PyObject
*_wrap_Window_Center(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23021 PyObject
*resultobj
;
23022 wxWindow
*arg1
= (wxWindow
*) 0 ;
23023 int arg2
= (int) wxBOTH
;
23024 PyObject
* obj0
= 0 ;
23025 PyObject
* obj1
= 0 ;
23026 char *kwnames
[] = {
23027 (char *) "self",(char *) "direction", NULL
23030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Center",kwnames
,&obj0
,&obj1
)) goto fail
;
23031 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23032 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23034 arg2
= (int) SWIG_AsInt(obj1
);
23035 if (PyErr_Occurred()) SWIG_fail
;
23038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23039 (arg1
)->Center(arg2
);
23041 wxPyEndAllowThreads(__tstate
);
23042 if (PyErr_Occurred()) SWIG_fail
;
23044 Py_INCREF(Py_None
); resultobj
= Py_None
;
23051 static PyObject
*_wrap_Window_CenterOnScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23052 PyObject
*resultobj
;
23053 wxWindow
*arg1
= (wxWindow
*) 0 ;
23054 int arg2
= (int) wxBOTH
;
23055 PyObject
* obj0
= 0 ;
23056 PyObject
* obj1
= 0 ;
23057 char *kwnames
[] = {
23058 (char *) "self",(char *) "dir", NULL
23061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_CenterOnScreen",kwnames
,&obj0
,&obj1
)) goto fail
;
23062 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23063 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23065 arg2
= (int) SWIG_AsInt(obj1
);
23066 if (PyErr_Occurred()) SWIG_fail
;
23069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23070 (arg1
)->CenterOnScreen(arg2
);
23072 wxPyEndAllowThreads(__tstate
);
23073 if (PyErr_Occurred()) SWIG_fail
;
23075 Py_INCREF(Py_None
); resultobj
= Py_None
;
23082 static PyObject
*_wrap_Window_CenterOnParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23083 PyObject
*resultobj
;
23084 wxWindow
*arg1
= (wxWindow
*) 0 ;
23085 int arg2
= (int) wxBOTH
;
23086 PyObject
* obj0
= 0 ;
23087 PyObject
* obj1
= 0 ;
23088 char *kwnames
[] = {
23089 (char *) "self",(char *) "dir", NULL
23092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_CenterOnParent",kwnames
,&obj0
,&obj1
)) goto fail
;
23093 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23094 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23096 arg2
= (int) SWIG_AsInt(obj1
);
23097 if (PyErr_Occurred()) SWIG_fail
;
23100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23101 (arg1
)->CenterOnParent(arg2
);
23103 wxPyEndAllowThreads(__tstate
);
23104 if (PyErr_Occurred()) SWIG_fail
;
23106 Py_INCREF(Py_None
); resultobj
= Py_None
;
23113 static PyObject
*_wrap_Window_Fit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23114 PyObject
*resultobj
;
23115 wxWindow
*arg1
= (wxWindow
*) 0 ;
23116 PyObject
* obj0
= 0 ;
23117 char *kwnames
[] = {
23118 (char *) "self", NULL
23121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Fit",kwnames
,&obj0
)) goto fail
;
23122 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23123 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23128 wxPyEndAllowThreads(__tstate
);
23129 if (PyErr_Occurred()) SWIG_fail
;
23131 Py_INCREF(Py_None
); resultobj
= Py_None
;
23138 static PyObject
*_wrap_Window_FitInside(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23139 PyObject
*resultobj
;
23140 wxWindow
*arg1
= (wxWindow
*) 0 ;
23141 PyObject
* obj0
= 0 ;
23142 char *kwnames
[] = {
23143 (char *) "self", NULL
23146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_FitInside",kwnames
,&obj0
)) goto fail
;
23147 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23148 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23151 (arg1
)->FitInside();
23153 wxPyEndAllowThreads(__tstate
);
23154 if (PyErr_Occurred()) SWIG_fail
;
23156 Py_INCREF(Py_None
); resultobj
= Py_None
;
23163 static PyObject
*_wrap_Window_SetSizeHints__SWIG_0(PyObject
*self
, PyObject
*args
) {
23164 PyObject
*resultobj
;
23165 wxWindow
*arg1
= (wxWindow
*) 0 ;
23167 wxSize
const &arg3_defvalue
= wxDefaultSize
;
23168 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
23169 wxSize
const &arg4_defvalue
= wxDefaultSize
;
23170 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
23174 PyObject
* obj0
= 0 ;
23175 PyObject
* obj1
= 0 ;
23176 PyObject
* obj2
= 0 ;
23177 PyObject
* obj3
= 0 ;
23179 if(!PyArg_ParseTuple(args
,(char *)"OO|OO:Window_SetSizeHints",&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
23180 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23181 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23184 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
23189 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
23195 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
23199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23200 (arg1
)->SetSizeHints((wxSize
const &)*arg2
,(wxSize
const &)*arg3
,(wxSize
const &)*arg4
);
23202 wxPyEndAllowThreads(__tstate
);
23203 if (PyErr_Occurred()) SWIG_fail
;
23205 Py_INCREF(Py_None
); resultobj
= Py_None
;
23212 static PyObject
*_wrap_Window_SetSizeHints__SWIG_1(PyObject
*self
, PyObject
*args
) {
23213 PyObject
*resultobj
;
23214 wxWindow
*arg1
= (wxWindow
*) 0 ;
23217 int arg4
= (int) -1 ;
23218 int arg5
= (int) -1 ;
23219 int arg6
= (int) -1 ;
23220 int arg7
= (int) -1 ;
23221 PyObject
* obj0
= 0 ;
23222 PyObject
* obj1
= 0 ;
23223 PyObject
* obj2
= 0 ;
23224 PyObject
* obj3
= 0 ;
23225 PyObject
* obj4
= 0 ;
23226 PyObject
* obj5
= 0 ;
23227 PyObject
* obj6
= 0 ;
23229 if(!PyArg_ParseTuple(args
,(char *)"OOO|OOOO:Window_SetSizeHints",&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
23230 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23231 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23232 arg2
= (int) SWIG_AsInt(obj1
);
23233 if (PyErr_Occurred()) SWIG_fail
;
23234 arg3
= (int) SWIG_AsInt(obj2
);
23235 if (PyErr_Occurred()) SWIG_fail
;
23237 arg4
= (int) SWIG_AsInt(obj3
);
23238 if (PyErr_Occurred()) SWIG_fail
;
23241 arg5
= (int) SWIG_AsInt(obj4
);
23242 if (PyErr_Occurred()) SWIG_fail
;
23245 arg6
= (int) SWIG_AsInt(obj5
);
23246 if (PyErr_Occurred()) SWIG_fail
;
23249 arg7
= (int) SWIG_AsInt(obj6
);
23250 if (PyErr_Occurred()) SWIG_fail
;
23253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23254 (arg1
)->SetSizeHints(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
23256 wxPyEndAllowThreads(__tstate
);
23257 if (PyErr_Occurred()) SWIG_fail
;
23259 Py_INCREF(Py_None
); resultobj
= Py_None
;
23266 static PyObject
*_wrap_Window_SetSizeHints(PyObject
*self
, PyObject
*args
) {
23271 argc
= PyObject_Length(args
);
23272 for (ii
= 0; (ii
< argc
) && (ii
< 7); ii
++) {
23273 argv
[ii
] = PyTuple_GetItem(args
,ii
);
23275 if ((argc
>= 2) && (argc
<= 4)) {
23279 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
23288 _v
= wxPySimple_typecheck(argv
[1], wxT("wxSize"), 2);
23292 return _wrap_Window_SetSizeHints__SWIG_0(self
,args
);
23295 _v
= wxPySimple_typecheck(argv
[2], wxT("wxSize"), 2);
23299 return _wrap_Window_SetSizeHints__SWIG_0(self
,args
);
23302 _v
= wxPySimple_typecheck(argv
[3], wxT("wxSize"), 2);
23305 return _wrap_Window_SetSizeHints__SWIG_0(self
,args
);
23311 if ((argc
>= 3) && (argc
<= 7)) {
23315 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
23323 _v
= SWIG_CheckInt(argv
[1]);
23325 _v
= SWIG_CheckInt(argv
[2]);
23328 return _wrap_Window_SetSizeHints__SWIG_1(self
,args
);
23330 _v
= SWIG_CheckInt(argv
[3]);
23333 return _wrap_Window_SetSizeHints__SWIG_1(self
,args
);
23335 _v
= SWIG_CheckInt(argv
[4]);
23338 return _wrap_Window_SetSizeHints__SWIG_1(self
,args
);
23340 _v
= SWIG_CheckInt(argv
[5]);
23343 return _wrap_Window_SetSizeHints__SWIG_1(self
,args
);
23345 _v
= SWIG_CheckInt(argv
[6]);
23347 return _wrap_Window_SetSizeHints__SWIG_1(self
,args
);
23357 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'Window_SetSizeHints'");
23362 static PyObject
*_wrap_Window_SetVirtualSizeHints__SWIG_0(PyObject
*self
, PyObject
*args
) {
23363 PyObject
*resultobj
;
23364 wxWindow
*arg1
= (wxWindow
*) 0 ;
23366 wxSize
const &arg3_defvalue
= wxDefaultSize
;
23367 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
23370 PyObject
* obj0
= 0 ;
23371 PyObject
* obj1
= 0 ;
23372 PyObject
* obj2
= 0 ;
23374 if(!PyArg_ParseTuple(args
,(char *)"OO|O:Window_SetVirtualSizeHints",&obj0
,&obj1
,&obj2
)) goto fail
;
23375 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23379 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
23384 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
23388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23389 (arg1
)->SetVirtualSizeHints((wxSize
const &)*arg2
,(wxSize
const &)*arg3
);
23391 wxPyEndAllowThreads(__tstate
);
23392 if (PyErr_Occurred()) SWIG_fail
;
23394 Py_INCREF(Py_None
); resultobj
= Py_None
;
23401 static PyObject
*_wrap_Window_SetVirtualSizeHints__SWIG_1(PyObject
*self
, PyObject
*args
) {
23402 PyObject
*resultobj
;
23403 wxWindow
*arg1
= (wxWindow
*) 0 ;
23406 int arg4
= (int) -1 ;
23407 int arg5
= (int) -1 ;
23408 PyObject
* obj0
= 0 ;
23409 PyObject
* obj1
= 0 ;
23410 PyObject
* obj2
= 0 ;
23411 PyObject
* obj3
= 0 ;
23412 PyObject
* obj4
= 0 ;
23414 if(!PyArg_ParseTuple(args
,(char *)"OOO|OO:Window_SetVirtualSizeHints",&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
23415 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23416 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23417 arg2
= (int) SWIG_AsInt(obj1
);
23418 if (PyErr_Occurred()) SWIG_fail
;
23419 arg3
= (int) SWIG_AsInt(obj2
);
23420 if (PyErr_Occurred()) SWIG_fail
;
23422 arg4
= (int) SWIG_AsInt(obj3
);
23423 if (PyErr_Occurred()) SWIG_fail
;
23426 arg5
= (int) SWIG_AsInt(obj4
);
23427 if (PyErr_Occurred()) SWIG_fail
;
23430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23431 (arg1
)->SetVirtualSizeHints(arg2
,arg3
,arg4
,arg5
);
23433 wxPyEndAllowThreads(__tstate
);
23434 if (PyErr_Occurred()) SWIG_fail
;
23436 Py_INCREF(Py_None
); resultobj
= Py_None
;
23443 static PyObject
*_wrap_Window_SetVirtualSizeHints(PyObject
*self
, PyObject
*args
) {
23448 argc
= PyObject_Length(args
);
23449 for (ii
= 0; (ii
< argc
) && (ii
< 5); ii
++) {
23450 argv
[ii
] = PyTuple_GetItem(args
,ii
);
23452 if ((argc
>= 2) && (argc
<= 3)) {
23456 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
23465 _v
= wxPySimple_typecheck(argv
[1], wxT("wxSize"), 2);
23469 return _wrap_Window_SetVirtualSizeHints__SWIG_0(self
,args
);
23472 _v
= wxPySimple_typecheck(argv
[2], wxT("wxSize"), 2);
23475 return _wrap_Window_SetVirtualSizeHints__SWIG_0(self
,args
);
23480 if ((argc
>= 3) && (argc
<= 5)) {
23484 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
23492 _v
= SWIG_CheckInt(argv
[1]);
23494 _v
= SWIG_CheckInt(argv
[2]);
23497 return _wrap_Window_SetVirtualSizeHints__SWIG_1(self
,args
);
23499 _v
= SWIG_CheckInt(argv
[3]);
23502 return _wrap_Window_SetVirtualSizeHints__SWIG_1(self
,args
);
23504 _v
= SWIG_CheckInt(argv
[4]);
23506 return _wrap_Window_SetVirtualSizeHints__SWIG_1(self
,args
);
23514 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'Window_SetVirtualSizeHints'");
23519 static PyObject
*_wrap_Window_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23520 PyObject
*resultobj
;
23521 wxWindow
*arg1
= (wxWindow
*) 0 ;
23523 PyObject
* obj0
= 0 ;
23524 char *kwnames
[] = {
23525 (char *) "self", NULL
23528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxSize",kwnames
,&obj0
)) goto fail
;
23529 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23530 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23533 result
= ((wxWindow
const *)arg1
)->GetMaxSize();
23535 wxPyEndAllowThreads(__tstate
);
23536 if (PyErr_Occurred()) SWIG_fail
;
23539 wxSize
* resultptr
;
23540 resultptr
= new wxSize((wxSize
&) result
);
23541 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23549 static PyObject
*_wrap_Window_GetMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23550 PyObject
*resultobj
;
23551 wxWindow
*arg1
= (wxWindow
*) 0 ;
23553 PyObject
* obj0
= 0 ;
23554 char *kwnames
[] = {
23555 (char *) "self", NULL
23558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinSize",kwnames
,&obj0
)) goto fail
;
23559 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23560 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23563 result
= ((wxWindow
const *)arg1
)->GetMinSize();
23565 wxPyEndAllowThreads(__tstate
);
23566 if (PyErr_Occurred()) SWIG_fail
;
23569 wxSize
* resultptr
;
23570 resultptr
= new wxSize((wxSize
&) result
);
23571 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23579 static PyObject
*_wrap_Window_SetMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23580 PyObject
*resultobj
;
23581 wxWindow
*arg1
= (wxWindow
*) 0 ;
23584 PyObject
* obj0
= 0 ;
23585 PyObject
* obj1
= 0 ;
23586 char *kwnames
[] = {
23587 (char *) "self",(char *) "minSize", NULL
23590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetMinSize",kwnames
,&obj0
,&obj1
)) goto fail
;
23591 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23592 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23595 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
23598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23599 (arg1
)->SetMinSize((wxSize
const &)*arg2
);
23601 wxPyEndAllowThreads(__tstate
);
23602 if (PyErr_Occurred()) SWIG_fail
;
23604 Py_INCREF(Py_None
); resultobj
= Py_None
;
23611 static PyObject
*_wrap_Window_SetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23612 PyObject
*resultobj
;
23613 wxWindow
*arg1
= (wxWindow
*) 0 ;
23616 PyObject
* obj0
= 0 ;
23617 PyObject
* obj1
= 0 ;
23618 char *kwnames
[] = {
23619 (char *) "self",(char *) "maxSize", NULL
23622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetMaxSize",kwnames
,&obj0
,&obj1
)) goto fail
;
23623 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23624 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23627 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
23630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23631 (arg1
)->SetMaxSize((wxSize
const &)*arg2
);
23633 wxPyEndAllowThreads(__tstate
);
23634 if (PyErr_Occurred()) SWIG_fail
;
23636 Py_INCREF(Py_None
); resultobj
= Py_None
;
23643 static PyObject
*_wrap_Window_GetMinWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23644 PyObject
*resultobj
;
23645 wxWindow
*arg1
= (wxWindow
*) 0 ;
23647 PyObject
* obj0
= 0 ;
23648 char *kwnames
[] = {
23649 (char *) "self", NULL
23652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinWidth",kwnames
,&obj0
)) goto fail
;
23653 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23654 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23657 result
= (int)((wxWindow
const *)arg1
)->GetMinWidth();
23659 wxPyEndAllowThreads(__tstate
);
23660 if (PyErr_Occurred()) SWIG_fail
;
23662 resultobj
= SWIG_FromInt((int)result
);
23669 static PyObject
*_wrap_Window_GetMinHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23670 PyObject
*resultobj
;
23671 wxWindow
*arg1
= (wxWindow
*) 0 ;
23673 PyObject
* obj0
= 0 ;
23674 char *kwnames
[] = {
23675 (char *) "self", NULL
23678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinHeight",kwnames
,&obj0
)) goto fail
;
23679 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23680 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23683 result
= (int)((wxWindow
const *)arg1
)->GetMinHeight();
23685 wxPyEndAllowThreads(__tstate
);
23686 if (PyErr_Occurred()) SWIG_fail
;
23688 resultobj
= SWIG_FromInt((int)result
);
23695 static PyObject
*_wrap_Window_GetMaxWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23696 PyObject
*resultobj
;
23697 wxWindow
*arg1
= (wxWindow
*) 0 ;
23699 PyObject
* obj0
= 0 ;
23700 char *kwnames
[] = {
23701 (char *) "self", NULL
23704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxWidth",kwnames
,&obj0
)) goto fail
;
23705 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23706 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23709 result
= (int)((wxWindow
const *)arg1
)->GetMaxWidth();
23711 wxPyEndAllowThreads(__tstate
);
23712 if (PyErr_Occurred()) SWIG_fail
;
23714 resultobj
= SWIG_FromInt((int)result
);
23721 static PyObject
*_wrap_Window_GetMaxHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23722 PyObject
*resultobj
;
23723 wxWindow
*arg1
= (wxWindow
*) 0 ;
23725 PyObject
* obj0
= 0 ;
23726 char *kwnames
[] = {
23727 (char *) "self", NULL
23730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxHeight",kwnames
,&obj0
)) goto fail
;
23731 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23732 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23735 result
= (int)((wxWindow
const *)arg1
)->GetMaxHeight();
23737 wxPyEndAllowThreads(__tstate
);
23738 if (PyErr_Occurred()) SWIG_fail
;
23740 resultobj
= SWIG_FromInt((int)result
);
23747 static PyObject
*_wrap_Window_SetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23748 PyObject
*resultobj
;
23749 wxWindow
*arg1
= (wxWindow
*) 0 ;
23752 PyObject
* obj0
= 0 ;
23753 PyObject
* obj1
= 0 ;
23754 char *kwnames
[] = {
23755 (char *) "self",(char *) "size", NULL
23758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetVirtualSize",kwnames
,&obj0
,&obj1
)) goto fail
;
23759 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23760 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23763 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
23766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23767 (arg1
)->SetVirtualSize((wxSize
const &)*arg2
);
23769 wxPyEndAllowThreads(__tstate
);
23770 if (PyErr_Occurred()) SWIG_fail
;
23772 Py_INCREF(Py_None
); resultobj
= Py_None
;
23779 static PyObject
*_wrap_Window_SetVirtualSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23780 PyObject
*resultobj
;
23781 wxWindow
*arg1
= (wxWindow
*) 0 ;
23784 PyObject
* obj0
= 0 ;
23785 PyObject
* obj1
= 0 ;
23786 PyObject
* obj2
= 0 ;
23787 char *kwnames
[] = {
23788 (char *) "self",(char *) "w",(char *) "h", NULL
23791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetVirtualSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23792 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23793 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23794 arg2
= (int) SWIG_AsInt(obj1
);
23795 if (PyErr_Occurred()) SWIG_fail
;
23796 arg3
= (int) SWIG_AsInt(obj2
);
23797 if (PyErr_Occurred()) SWIG_fail
;
23799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23800 (arg1
)->SetVirtualSize(arg2
,arg3
);
23802 wxPyEndAllowThreads(__tstate
);
23803 if (PyErr_Occurred()) SWIG_fail
;
23805 Py_INCREF(Py_None
); resultobj
= Py_None
;
23812 static PyObject
*_wrap_Window_GetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23813 PyObject
*resultobj
;
23814 wxWindow
*arg1
= (wxWindow
*) 0 ;
23816 PyObject
* obj0
= 0 ;
23817 char *kwnames
[] = {
23818 (char *) "self", NULL
23821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetVirtualSize",kwnames
,&obj0
)) goto fail
;
23822 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23823 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23826 result
= ((wxWindow
const *)arg1
)->GetVirtualSize();
23828 wxPyEndAllowThreads(__tstate
);
23829 if (PyErr_Occurred()) SWIG_fail
;
23832 wxSize
* resultptr
;
23833 resultptr
= new wxSize((wxSize
&) result
);
23834 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23842 static PyObject
*_wrap_Window_GetVirtualSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23843 PyObject
*resultobj
;
23844 wxWindow
*arg1
= (wxWindow
*) 0 ;
23845 int *arg2
= (int *) 0 ;
23846 int *arg3
= (int *) 0 ;
23849 PyObject
* obj0
= 0 ;
23850 char *kwnames
[] = {
23851 (char *) "self", NULL
23856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetVirtualSizeTuple",kwnames
,&obj0
)) goto fail
;
23857 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23858 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23861 ((wxWindow
const *)arg1
)->GetVirtualSize(arg2
,arg3
);
23863 wxPyEndAllowThreads(__tstate
);
23864 if (PyErr_Occurred()) SWIG_fail
;
23866 Py_INCREF(Py_None
); resultobj
= Py_None
;
23868 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
23869 resultobj
= t_output_helper(resultobj
,o
);
23872 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
23873 resultobj
= t_output_helper(resultobj
,o
);
23881 static PyObject
*_wrap_Window_GetBestVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23882 PyObject
*resultobj
;
23883 wxWindow
*arg1
= (wxWindow
*) 0 ;
23885 PyObject
* obj0
= 0 ;
23886 char *kwnames
[] = {
23887 (char *) "self", NULL
23890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestVirtualSize",kwnames
,&obj0
)) goto fail
;
23891 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23892 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23895 result
= ((wxWindow
const *)arg1
)->GetBestVirtualSize();
23897 wxPyEndAllowThreads(__tstate
);
23898 if (PyErr_Occurred()) SWIG_fail
;
23901 wxSize
* resultptr
;
23902 resultptr
= new wxSize((wxSize
&) result
);
23903 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23911 static PyObject
*_wrap_Window_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23912 PyObject
*resultobj
;
23913 wxWindow
*arg1
= (wxWindow
*) 0 ;
23914 bool arg2
= (bool) True
;
23916 PyObject
* obj0
= 0 ;
23917 PyObject
* obj1
= 0 ;
23918 char *kwnames
[] = {
23919 (char *) "self",(char *) "show", NULL
23922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
23923 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23924 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23926 arg2
= (bool) SWIG_AsBool(obj1
);
23927 if (PyErr_Occurred()) SWIG_fail
;
23930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23931 result
= (bool)(arg1
)->Show(arg2
);
23933 wxPyEndAllowThreads(__tstate
);
23934 if (PyErr_Occurred()) SWIG_fail
;
23937 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23945 static PyObject
*_wrap_Window_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23946 PyObject
*resultobj
;
23947 wxWindow
*arg1
= (wxWindow
*) 0 ;
23949 PyObject
* obj0
= 0 ;
23950 char *kwnames
[] = {
23951 (char *) "self", NULL
23954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Hide",kwnames
,&obj0
)) goto fail
;
23955 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23956 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23959 result
= (bool)(arg1
)->Hide();
23961 wxPyEndAllowThreads(__tstate
);
23962 if (PyErr_Occurred()) SWIG_fail
;
23965 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23973 static PyObject
*_wrap_Window_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23974 PyObject
*resultobj
;
23975 wxWindow
*arg1
= (wxWindow
*) 0 ;
23976 bool arg2
= (bool) True
;
23978 PyObject
* obj0
= 0 ;
23979 PyObject
* obj1
= 0 ;
23980 char *kwnames
[] = {
23981 (char *) "self",(char *) "enable", NULL
23984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
23985 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23986 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23988 arg2
= (bool) SWIG_AsBool(obj1
);
23989 if (PyErr_Occurred()) SWIG_fail
;
23992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23993 result
= (bool)(arg1
)->Enable(arg2
);
23995 wxPyEndAllowThreads(__tstate
);
23996 if (PyErr_Occurred()) SWIG_fail
;
23999 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24007 static PyObject
*_wrap_Window_Disable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24008 PyObject
*resultobj
;
24009 wxWindow
*arg1
= (wxWindow
*) 0 ;
24011 PyObject
* obj0
= 0 ;
24012 char *kwnames
[] = {
24013 (char *) "self", NULL
24016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Disable",kwnames
,&obj0
)) goto fail
;
24017 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24018 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24021 result
= (bool)(arg1
)->Disable();
24023 wxPyEndAllowThreads(__tstate
);
24024 if (PyErr_Occurred()) SWIG_fail
;
24027 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24035 static PyObject
*_wrap_Window_IsShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24036 PyObject
*resultobj
;
24037 wxWindow
*arg1
= (wxWindow
*) 0 ;
24039 PyObject
* obj0
= 0 ;
24040 char *kwnames
[] = {
24041 (char *) "self", NULL
24044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsShown",kwnames
,&obj0
)) goto fail
;
24045 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24046 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24049 result
= (bool)((wxWindow
const *)arg1
)->IsShown();
24051 wxPyEndAllowThreads(__tstate
);
24052 if (PyErr_Occurred()) SWIG_fail
;
24055 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24063 static PyObject
*_wrap_Window_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24064 PyObject
*resultobj
;
24065 wxWindow
*arg1
= (wxWindow
*) 0 ;
24067 PyObject
* obj0
= 0 ;
24068 char *kwnames
[] = {
24069 (char *) "self", NULL
24072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsEnabled",kwnames
,&obj0
)) goto fail
;
24073 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24074 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24077 result
= (bool)((wxWindow
const *)arg1
)->IsEnabled();
24079 wxPyEndAllowThreads(__tstate
);
24080 if (PyErr_Occurred()) SWIG_fail
;
24083 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24091 static PyObject
*_wrap_Window_SetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24092 PyObject
*resultobj
;
24093 wxWindow
*arg1
= (wxWindow
*) 0 ;
24095 PyObject
* obj0
= 0 ;
24096 PyObject
* obj1
= 0 ;
24097 char *kwnames
[] = {
24098 (char *) "self",(char *) "style", NULL
24101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetWindowStyleFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
24102 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24103 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24104 arg2
= (long) SWIG_AsLong(obj1
);
24105 if (PyErr_Occurred()) SWIG_fail
;
24107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24108 (arg1
)->SetWindowStyleFlag(arg2
);
24110 wxPyEndAllowThreads(__tstate
);
24111 if (PyErr_Occurred()) SWIG_fail
;
24113 Py_INCREF(Py_None
); resultobj
= Py_None
;
24120 static PyObject
*_wrap_Window_GetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24121 PyObject
*resultobj
;
24122 wxWindow
*arg1
= (wxWindow
*) 0 ;
24124 PyObject
* obj0
= 0 ;
24125 char *kwnames
[] = {
24126 (char *) "self", NULL
24129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetWindowStyleFlag",kwnames
,&obj0
)) goto fail
;
24130 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24131 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24134 result
= (long)((wxWindow
const *)arg1
)->GetWindowStyleFlag();
24136 wxPyEndAllowThreads(__tstate
);
24137 if (PyErr_Occurred()) SWIG_fail
;
24139 resultobj
= SWIG_FromLong((long)result
);
24146 static PyObject
*_wrap_Window_HasFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24147 PyObject
*resultobj
;
24148 wxWindow
*arg1
= (wxWindow
*) 0 ;
24151 PyObject
* obj0
= 0 ;
24152 PyObject
* obj1
= 0 ;
24153 char *kwnames
[] = {
24154 (char *) "self",(char *) "flag", NULL
24157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HasFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
24158 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24159 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24160 arg2
= (int) SWIG_AsInt(obj1
);
24161 if (PyErr_Occurred()) SWIG_fail
;
24163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24164 result
= (bool)((wxWindow
const *)arg1
)->HasFlag(arg2
);
24166 wxPyEndAllowThreads(__tstate
);
24167 if (PyErr_Occurred()) SWIG_fail
;
24170 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24178 static PyObject
*_wrap_Window_IsRetained(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24179 PyObject
*resultobj
;
24180 wxWindow
*arg1
= (wxWindow
*) 0 ;
24182 PyObject
* obj0
= 0 ;
24183 char *kwnames
[] = {
24184 (char *) "self", NULL
24187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsRetained",kwnames
,&obj0
)) goto fail
;
24188 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24189 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24192 result
= (bool)((wxWindow
const *)arg1
)->IsRetained();
24194 wxPyEndAllowThreads(__tstate
);
24195 if (PyErr_Occurred()) SWIG_fail
;
24198 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24206 static PyObject
*_wrap_Window_SetExtraStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24207 PyObject
*resultobj
;
24208 wxWindow
*arg1
= (wxWindow
*) 0 ;
24210 PyObject
* obj0
= 0 ;
24211 PyObject
* obj1
= 0 ;
24212 char *kwnames
[] = {
24213 (char *) "self",(char *) "exStyle", NULL
24216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetExtraStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
24217 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24218 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24219 arg2
= (long) SWIG_AsLong(obj1
);
24220 if (PyErr_Occurred()) SWIG_fail
;
24222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24223 (arg1
)->SetExtraStyle(arg2
);
24225 wxPyEndAllowThreads(__tstate
);
24226 if (PyErr_Occurred()) SWIG_fail
;
24228 Py_INCREF(Py_None
); resultobj
= Py_None
;
24235 static PyObject
*_wrap_Window_GetExtraStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24236 PyObject
*resultobj
;
24237 wxWindow
*arg1
= (wxWindow
*) 0 ;
24239 PyObject
* obj0
= 0 ;
24240 char *kwnames
[] = {
24241 (char *) "self", NULL
24244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetExtraStyle",kwnames
,&obj0
)) goto fail
;
24245 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24246 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24249 result
= (long)((wxWindow
const *)arg1
)->GetExtraStyle();
24251 wxPyEndAllowThreads(__tstate
);
24252 if (PyErr_Occurred()) SWIG_fail
;
24254 resultobj
= SWIG_FromLong((long)result
);
24261 static PyObject
*_wrap_Window_MakeModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24262 PyObject
*resultobj
;
24263 wxWindow
*arg1
= (wxWindow
*) 0 ;
24264 bool arg2
= (bool) True
;
24265 PyObject
* obj0
= 0 ;
24266 PyObject
* obj1
= 0 ;
24267 char *kwnames
[] = {
24268 (char *) "self",(char *) "modal", NULL
24271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_MakeModal",kwnames
,&obj0
,&obj1
)) goto fail
;
24272 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24273 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24275 arg2
= (bool) SWIG_AsBool(obj1
);
24276 if (PyErr_Occurred()) SWIG_fail
;
24279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24280 (arg1
)->MakeModal(arg2
);
24282 wxPyEndAllowThreads(__tstate
);
24283 if (PyErr_Occurred()) SWIG_fail
;
24285 Py_INCREF(Py_None
); resultobj
= Py_None
;
24292 static PyObject
*_wrap_Window_SetThemeEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24293 PyObject
*resultobj
;
24294 wxWindow
*arg1
= (wxWindow
*) 0 ;
24296 PyObject
* obj0
= 0 ;
24297 PyObject
* obj1
= 0 ;
24298 char *kwnames
[] = {
24299 (char *) "self",(char *) "enableTheme", NULL
24302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetThemeEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
24303 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24304 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24305 arg2
= (bool) SWIG_AsBool(obj1
);
24306 if (PyErr_Occurred()) SWIG_fail
;
24308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24309 (arg1
)->SetThemeEnabled(arg2
);
24311 wxPyEndAllowThreads(__tstate
);
24312 if (PyErr_Occurred()) SWIG_fail
;
24314 Py_INCREF(Py_None
); resultobj
= Py_None
;
24321 static PyObject
*_wrap_Window_GetThemeEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24322 PyObject
*resultobj
;
24323 wxWindow
*arg1
= (wxWindow
*) 0 ;
24325 PyObject
* obj0
= 0 ;
24326 char *kwnames
[] = {
24327 (char *) "self", NULL
24330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetThemeEnabled",kwnames
,&obj0
)) goto fail
;
24331 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24332 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24335 result
= (bool)((wxWindow
const *)arg1
)->GetThemeEnabled();
24337 wxPyEndAllowThreads(__tstate
);
24338 if (PyErr_Occurred()) SWIG_fail
;
24341 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24349 static PyObject
*_wrap_Window_SetFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24350 PyObject
*resultobj
;
24351 wxWindow
*arg1
= (wxWindow
*) 0 ;
24352 PyObject
* obj0
= 0 ;
24353 char *kwnames
[] = {
24354 (char *) "self", NULL
24357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_SetFocus",kwnames
,&obj0
)) goto fail
;
24358 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24359 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24362 (arg1
)->SetFocus();
24364 wxPyEndAllowThreads(__tstate
);
24365 if (PyErr_Occurred()) SWIG_fail
;
24367 Py_INCREF(Py_None
); resultobj
= Py_None
;
24374 static PyObject
*_wrap_Window_SetFocusFromKbd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24375 PyObject
*resultobj
;
24376 wxWindow
*arg1
= (wxWindow
*) 0 ;
24377 PyObject
* obj0
= 0 ;
24378 char *kwnames
[] = {
24379 (char *) "self", NULL
24382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_SetFocusFromKbd",kwnames
,&obj0
)) goto fail
;
24383 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24384 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24387 (arg1
)->SetFocusFromKbd();
24389 wxPyEndAllowThreads(__tstate
);
24390 if (PyErr_Occurred()) SWIG_fail
;
24392 Py_INCREF(Py_None
); resultobj
= Py_None
;
24399 static PyObject
*_wrap_Window_FindFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24400 PyObject
*resultobj
;
24402 char *kwnames
[] = {
24406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_FindFocus",kwnames
)) goto fail
;
24408 if (!wxPyCheckForApp()) SWIG_fail
;
24409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24410 result
= (wxWindow
*)wxWindow::FindFocus();
24412 wxPyEndAllowThreads(__tstate
);
24413 if (PyErr_Occurred()) SWIG_fail
;
24416 resultobj
= wxPyMake_wxObject(result
, 0);
24424 static PyObject
*_wrap_Window_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24425 PyObject
*resultobj
;
24426 wxWindow
*arg1
= (wxWindow
*) 0 ;
24428 PyObject
* obj0
= 0 ;
24429 char *kwnames
[] = {
24430 (char *) "self", NULL
24433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
24434 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24435 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24438 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocus();
24440 wxPyEndAllowThreads(__tstate
);
24441 if (PyErr_Occurred()) SWIG_fail
;
24444 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24452 static PyObject
*_wrap_Window_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24453 PyObject
*resultobj
;
24454 wxWindow
*arg1
= (wxWindow
*) 0 ;
24456 PyObject
* obj0
= 0 ;
24457 char *kwnames
[] = {
24458 (char *) "self", NULL
24461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
24462 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24463 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24466 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocusFromKeyboard();
24468 wxPyEndAllowThreads(__tstate
);
24469 if (PyErr_Occurred()) SWIG_fail
;
24472 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24480 static PyObject
*_wrap_Window_GetDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24481 PyObject
*resultobj
;
24482 wxWindow
*arg1
= (wxWindow
*) 0 ;
24484 PyObject
* obj0
= 0 ;
24485 char *kwnames
[] = {
24486 (char *) "self", NULL
24489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDefaultItem",kwnames
,&obj0
)) goto fail
;
24490 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24491 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24494 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetDefaultItem();
24496 wxPyEndAllowThreads(__tstate
);
24497 if (PyErr_Occurred()) SWIG_fail
;
24500 resultobj
= wxPyMake_wxObject(result
, 0);
24508 static PyObject
*_wrap_Window_SetDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24509 PyObject
*resultobj
;
24510 wxWindow
*arg1
= (wxWindow
*) 0 ;
24511 wxWindow
*arg2
= (wxWindow
*) 0 ;
24513 PyObject
* obj0
= 0 ;
24514 PyObject
* obj1
= 0 ;
24515 char *kwnames
[] = {
24516 (char *) "self",(char *) "child", NULL
24519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDefaultItem",kwnames
,&obj0
,&obj1
)) goto fail
;
24520 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24521 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24522 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
24523 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24526 result
= (wxWindow
*)(arg1
)->SetDefaultItem(arg2
);
24528 wxPyEndAllowThreads(__tstate
);
24529 if (PyErr_Occurred()) SWIG_fail
;
24532 resultobj
= wxPyMake_wxObject(result
, 0);
24540 static PyObject
*_wrap_Window_SetTmpDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24541 PyObject
*resultobj
;
24542 wxWindow
*arg1
= (wxWindow
*) 0 ;
24543 wxWindow
*arg2
= (wxWindow
*) 0 ;
24544 PyObject
* obj0
= 0 ;
24545 PyObject
* obj1
= 0 ;
24546 char *kwnames
[] = {
24547 (char *) "self",(char *) "win", NULL
24550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetTmpDefaultItem",kwnames
,&obj0
,&obj1
)) goto fail
;
24551 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24552 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24553 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
24554 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24557 (arg1
)->SetTmpDefaultItem(arg2
);
24559 wxPyEndAllowThreads(__tstate
);
24560 if (PyErr_Occurred()) SWIG_fail
;
24562 Py_INCREF(Py_None
); resultobj
= Py_None
;
24569 static PyObject
*_wrap_Window_Navigate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24570 PyObject
*resultobj
;
24571 wxWindow
*arg1
= (wxWindow
*) 0 ;
24572 int arg2
= (int) wxNavigationKeyEvent::IsForward
;
24574 PyObject
* obj0
= 0 ;
24575 PyObject
* obj1
= 0 ;
24576 char *kwnames
[] = {
24577 (char *) "self",(char *) "flags", NULL
24580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Navigate",kwnames
,&obj0
,&obj1
)) goto fail
;
24581 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24582 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24584 arg2
= (int) SWIG_AsInt(obj1
);
24585 if (PyErr_Occurred()) SWIG_fail
;
24588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24589 result
= (bool)(arg1
)->Navigate(arg2
);
24591 wxPyEndAllowThreads(__tstate
);
24592 if (PyErr_Occurred()) SWIG_fail
;
24595 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24603 static PyObject
*_wrap_Window_MoveAfterInTabOrder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24604 PyObject
*resultobj
;
24605 wxWindow
*arg1
= (wxWindow
*) 0 ;
24606 wxWindow
*arg2
= (wxWindow
*) 0 ;
24607 PyObject
* obj0
= 0 ;
24608 PyObject
* obj1
= 0 ;
24609 char *kwnames
[] = {
24610 (char *) "self",(char *) "win", NULL
24613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_MoveAfterInTabOrder",kwnames
,&obj0
,&obj1
)) goto fail
;
24614 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24615 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24616 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
24617 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24620 (arg1
)->MoveAfterInTabOrder(arg2
);
24622 wxPyEndAllowThreads(__tstate
);
24623 if (PyErr_Occurred()) SWIG_fail
;
24625 Py_INCREF(Py_None
); resultobj
= Py_None
;
24632 static PyObject
*_wrap_Window_MoveBeforeInTabOrder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24633 PyObject
*resultobj
;
24634 wxWindow
*arg1
= (wxWindow
*) 0 ;
24635 wxWindow
*arg2
= (wxWindow
*) 0 ;
24636 PyObject
* obj0
= 0 ;
24637 PyObject
* obj1
= 0 ;
24638 char *kwnames
[] = {
24639 (char *) "self",(char *) "win", NULL
24642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_MoveBeforeInTabOrder",kwnames
,&obj0
,&obj1
)) goto fail
;
24643 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24644 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24645 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
24646 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24649 (arg1
)->MoveBeforeInTabOrder(arg2
);
24651 wxPyEndAllowThreads(__tstate
);
24652 if (PyErr_Occurred()) SWIG_fail
;
24654 Py_INCREF(Py_None
); resultobj
= Py_None
;
24661 static PyObject
*_wrap_Window_GetChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24662 PyObject
*resultobj
;
24663 wxWindow
*arg1
= (wxWindow
*) 0 ;
24665 PyObject
* obj0
= 0 ;
24666 char *kwnames
[] = {
24667 (char *) "self", NULL
24670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetChildren",kwnames
,&obj0
)) goto fail
;
24671 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24672 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24675 result
= (PyObject
*)wxWindow_GetChildren(arg1
);
24677 wxPyEndAllowThreads(__tstate
);
24678 if (PyErr_Occurred()) SWIG_fail
;
24680 resultobj
= result
;
24687 static PyObject
*_wrap_Window_GetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24688 PyObject
*resultobj
;
24689 wxWindow
*arg1
= (wxWindow
*) 0 ;
24691 PyObject
* obj0
= 0 ;
24692 char *kwnames
[] = {
24693 (char *) "self", NULL
24696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetParent",kwnames
,&obj0
)) goto fail
;
24697 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24698 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24701 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetParent();
24703 wxPyEndAllowThreads(__tstate
);
24704 if (PyErr_Occurred()) SWIG_fail
;
24707 resultobj
= wxPyMake_wxObject(result
, 0);
24715 static PyObject
*_wrap_Window_GetGrandParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24716 PyObject
*resultobj
;
24717 wxWindow
*arg1
= (wxWindow
*) 0 ;
24719 PyObject
* obj0
= 0 ;
24720 char *kwnames
[] = {
24721 (char *) "self", NULL
24724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetGrandParent",kwnames
,&obj0
)) goto fail
;
24725 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24726 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24729 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetGrandParent();
24731 wxPyEndAllowThreads(__tstate
);
24732 if (PyErr_Occurred()) SWIG_fail
;
24735 resultobj
= wxPyMake_wxObject(result
, 0);
24743 static PyObject
*_wrap_Window_IsTopLevel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24744 PyObject
*resultobj
;
24745 wxWindow
*arg1
= (wxWindow
*) 0 ;
24747 PyObject
* obj0
= 0 ;
24748 char *kwnames
[] = {
24749 (char *) "self", NULL
24752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsTopLevel",kwnames
,&obj0
)) goto fail
;
24753 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24754 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24757 result
= (bool)((wxWindow
const *)arg1
)->IsTopLevel();
24759 wxPyEndAllowThreads(__tstate
);
24760 if (PyErr_Occurred()) SWIG_fail
;
24763 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24771 static PyObject
*_wrap_Window_Reparent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24772 PyObject
*resultobj
;
24773 wxWindow
*arg1
= (wxWindow
*) 0 ;
24774 wxWindow
*arg2
= (wxWindow
*) 0 ;
24776 PyObject
* obj0
= 0 ;
24777 PyObject
* obj1
= 0 ;
24778 char *kwnames
[] = {
24779 (char *) "self",(char *) "newParent", NULL
24782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_Reparent",kwnames
,&obj0
,&obj1
)) goto fail
;
24783 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24784 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24785 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
24786 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24789 result
= (bool)(arg1
)->Reparent(arg2
);
24791 wxPyEndAllowThreads(__tstate
);
24792 if (PyErr_Occurred()) SWIG_fail
;
24795 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24803 static PyObject
*_wrap_Window_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24804 PyObject
*resultobj
;
24805 wxWindow
*arg1
= (wxWindow
*) 0 ;
24806 wxWindow
*arg2
= (wxWindow
*) 0 ;
24807 PyObject
* obj0
= 0 ;
24808 PyObject
* obj1
= 0 ;
24809 char *kwnames
[] = {
24810 (char *) "self",(char *) "child", NULL
24813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
24814 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24816 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
24817 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24820 (arg1
)->AddChild(arg2
);
24822 wxPyEndAllowThreads(__tstate
);
24823 if (PyErr_Occurred()) SWIG_fail
;
24825 Py_INCREF(Py_None
); resultobj
= Py_None
;
24832 static PyObject
*_wrap_Window_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24833 PyObject
*resultobj
;
24834 wxWindow
*arg1
= (wxWindow
*) 0 ;
24835 wxWindow
*arg2
= (wxWindow
*) 0 ;
24836 PyObject
* obj0
= 0 ;
24837 PyObject
* obj1
= 0 ;
24838 char *kwnames
[] = {
24839 (char *) "self",(char *) "child", NULL
24842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
24843 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24844 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24845 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
24846 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24849 (arg1
)->RemoveChild(arg2
);
24851 wxPyEndAllowThreads(__tstate
);
24852 if (PyErr_Occurred()) SWIG_fail
;
24854 Py_INCREF(Py_None
); resultobj
= Py_None
;
24861 static PyObject
*_wrap_Window_FindWindowById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24862 PyObject
*resultobj
;
24863 wxWindow
*arg1
= (wxWindow
*) 0 ;
24866 PyObject
* obj0
= 0 ;
24867 PyObject
* obj1
= 0 ;
24868 char *kwnames
[] = {
24869 (char *) "self",(char *) "winid", NULL
24872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FindWindowById",kwnames
,&obj0
,&obj1
)) goto fail
;
24873 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24874 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24875 arg2
= (long) SWIG_AsLong(obj1
);
24876 if (PyErr_Occurred()) SWIG_fail
;
24878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24879 result
= (wxWindow
*)(arg1
)->FindWindow(arg2
);
24881 wxPyEndAllowThreads(__tstate
);
24882 if (PyErr_Occurred()) SWIG_fail
;
24885 resultobj
= wxPyMake_wxObject(result
, 0);
24893 static PyObject
*_wrap_Window_FindWindowByName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24894 PyObject
*resultobj
;
24895 wxWindow
*arg1
= (wxWindow
*) 0 ;
24896 wxString
*arg2
= 0 ;
24898 bool temp2
= False
;
24899 PyObject
* obj0
= 0 ;
24900 PyObject
* obj1
= 0 ;
24901 char *kwnames
[] = {
24902 (char *) "self",(char *) "name", NULL
24905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FindWindowByName",kwnames
,&obj0
,&obj1
)) goto fail
;
24906 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24907 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24909 arg2
= wxString_in_helper(obj1
);
24910 if (arg2
== NULL
) SWIG_fail
;
24914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24915 result
= (wxWindow
*)(arg1
)->FindWindow((wxString
const &)*arg2
);
24917 wxPyEndAllowThreads(__tstate
);
24918 if (PyErr_Occurred()) SWIG_fail
;
24921 resultobj
= wxPyMake_wxObject(result
, 0);
24937 static PyObject
*_wrap_Window_GetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24938 PyObject
*resultobj
;
24939 wxWindow
*arg1
= (wxWindow
*) 0 ;
24940 wxEvtHandler
*result
;
24941 PyObject
* obj0
= 0 ;
24942 char *kwnames
[] = {
24943 (char *) "self", NULL
24946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetEventHandler",kwnames
,&obj0
)) goto fail
;
24947 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24948 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24951 result
= (wxEvtHandler
*)((wxWindow
const *)arg1
)->GetEventHandler();
24953 wxPyEndAllowThreads(__tstate
);
24954 if (PyErr_Occurred()) SWIG_fail
;
24957 resultobj
= wxPyMake_wxObject(result
, 0);
24965 static PyObject
*_wrap_Window_SetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24966 PyObject
*resultobj
;
24967 wxWindow
*arg1
= (wxWindow
*) 0 ;
24968 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
24969 PyObject
* obj0
= 0 ;
24970 PyObject
* obj1
= 0 ;
24971 char *kwnames
[] = {
24972 (char *) "self",(char *) "handler", NULL
24975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
24976 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24977 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24978 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
24979 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24982 (arg1
)->SetEventHandler(arg2
);
24984 wxPyEndAllowThreads(__tstate
);
24985 if (PyErr_Occurred()) SWIG_fail
;
24987 Py_INCREF(Py_None
); resultobj
= Py_None
;
24994 static PyObject
*_wrap_Window_PushEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24995 PyObject
*resultobj
;
24996 wxWindow
*arg1
= (wxWindow
*) 0 ;
24997 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
24998 PyObject
* obj0
= 0 ;
24999 PyObject
* obj1
= 0 ;
25000 char *kwnames
[] = {
25001 (char *) "self",(char *) "handler", NULL
25004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PushEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
25005 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25006 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25007 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
25008 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25011 (arg1
)->PushEventHandler(arg2
);
25013 wxPyEndAllowThreads(__tstate
);
25014 if (PyErr_Occurred()) SWIG_fail
;
25016 Py_INCREF(Py_None
); resultobj
= Py_None
;
25023 static PyObject
*_wrap_Window_PopEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25024 PyObject
*resultobj
;
25025 wxWindow
*arg1
= (wxWindow
*) 0 ;
25026 bool arg2
= (bool) False
;
25027 wxEvtHandler
*result
;
25028 PyObject
* obj0
= 0 ;
25029 PyObject
* obj1
= 0 ;
25030 char *kwnames
[] = {
25031 (char *) "self",(char *) "deleteHandler", NULL
25034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_PopEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
25035 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25036 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25038 arg2
= (bool) SWIG_AsBool(obj1
);
25039 if (PyErr_Occurred()) SWIG_fail
;
25042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25043 result
= (wxEvtHandler
*)(arg1
)->PopEventHandler(arg2
);
25045 wxPyEndAllowThreads(__tstate
);
25046 if (PyErr_Occurred()) SWIG_fail
;
25049 resultobj
= wxPyMake_wxObject(result
, 0);
25057 static PyObject
*_wrap_Window_RemoveEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25058 PyObject
*resultobj
;
25059 wxWindow
*arg1
= (wxWindow
*) 0 ;
25060 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
25062 PyObject
* obj0
= 0 ;
25063 PyObject
* obj1
= 0 ;
25064 char *kwnames
[] = {
25065 (char *) "self",(char *) "handler", NULL
25068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
25069 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25070 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25071 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
25072 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25075 result
= (bool)(arg1
)->RemoveEventHandler(arg2
);
25077 wxPyEndAllowThreads(__tstate
);
25078 if (PyErr_Occurred()) SWIG_fail
;
25081 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25089 static PyObject
*_wrap_Window_SetValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25090 PyObject
*resultobj
;
25091 wxWindow
*arg1
= (wxWindow
*) 0 ;
25092 wxValidator
*arg2
= 0 ;
25093 PyObject
* obj0
= 0 ;
25094 PyObject
* obj1
= 0 ;
25095 char *kwnames
[] = {
25096 (char *) "self",(char *) "validator", NULL
25099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetValidator",kwnames
,&obj0
,&obj1
)) goto fail
;
25100 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25101 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25102 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxValidator
,
25103 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25105 if (arg2
== NULL
) {
25106 PyErr_SetString(PyExc_TypeError
,"null reference");
25110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25111 (arg1
)->SetValidator((wxValidator
const &)*arg2
);
25113 wxPyEndAllowThreads(__tstate
);
25114 if (PyErr_Occurred()) SWIG_fail
;
25116 Py_INCREF(Py_None
); resultobj
= Py_None
;
25123 static PyObject
*_wrap_Window_GetValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25124 PyObject
*resultobj
;
25125 wxWindow
*arg1
= (wxWindow
*) 0 ;
25126 wxValidator
*result
;
25127 PyObject
* obj0
= 0 ;
25128 char *kwnames
[] = {
25129 (char *) "self", NULL
25132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetValidator",kwnames
,&obj0
)) goto fail
;
25133 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25134 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25137 result
= (wxValidator
*)(arg1
)->GetValidator();
25139 wxPyEndAllowThreads(__tstate
);
25140 if (PyErr_Occurred()) SWIG_fail
;
25143 resultobj
= wxPyMake_wxObject(result
, 0);
25151 static PyObject
*_wrap_Window_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25152 PyObject
*resultobj
;
25153 wxWindow
*arg1
= (wxWindow
*) 0 ;
25155 PyObject
* obj0
= 0 ;
25156 char *kwnames
[] = {
25157 (char *) "self", NULL
25160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Validate",kwnames
,&obj0
)) goto fail
;
25161 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25162 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25165 result
= (bool)(arg1
)->Validate();
25167 wxPyEndAllowThreads(__tstate
);
25168 if (PyErr_Occurred()) SWIG_fail
;
25171 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25179 static PyObject
*_wrap_Window_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25180 PyObject
*resultobj
;
25181 wxWindow
*arg1
= (wxWindow
*) 0 ;
25183 PyObject
* obj0
= 0 ;
25184 char *kwnames
[] = {
25185 (char *) "self", NULL
25188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
25189 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25190 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25193 result
= (bool)(arg1
)->TransferDataToWindow();
25195 wxPyEndAllowThreads(__tstate
);
25196 if (PyErr_Occurred()) SWIG_fail
;
25199 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25207 static PyObject
*_wrap_Window_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25208 PyObject
*resultobj
;
25209 wxWindow
*arg1
= (wxWindow
*) 0 ;
25211 PyObject
* obj0
= 0 ;
25212 char *kwnames
[] = {
25213 (char *) "self", NULL
25216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
25217 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25218 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25221 result
= (bool)(arg1
)->TransferDataFromWindow();
25223 wxPyEndAllowThreads(__tstate
);
25224 if (PyErr_Occurred()) SWIG_fail
;
25227 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25235 static PyObject
*_wrap_Window_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25236 PyObject
*resultobj
;
25237 wxWindow
*arg1
= (wxWindow
*) 0 ;
25238 PyObject
* obj0
= 0 ;
25239 char *kwnames
[] = {
25240 (char *) "self", NULL
25243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InitDialog",kwnames
,&obj0
)) goto fail
;
25244 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25245 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25248 (arg1
)->InitDialog();
25250 wxPyEndAllowThreads(__tstate
);
25251 if (PyErr_Occurred()) SWIG_fail
;
25253 Py_INCREF(Py_None
); resultobj
= Py_None
;
25260 static PyObject
*_wrap_Window_SetAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25261 PyObject
*resultobj
;
25262 wxWindow
*arg1
= (wxWindow
*) 0 ;
25263 wxAcceleratorTable
*arg2
= 0 ;
25264 PyObject
* obj0
= 0 ;
25265 PyObject
* obj1
= 0 ;
25266 char *kwnames
[] = {
25267 (char *) "self",(char *) "accel", NULL
25270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAcceleratorTable",kwnames
,&obj0
,&obj1
)) goto fail
;
25271 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25272 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25273 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxAcceleratorTable
,
25274 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25276 if (arg2
== NULL
) {
25277 PyErr_SetString(PyExc_TypeError
,"null reference");
25281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25282 (arg1
)->SetAcceleratorTable((wxAcceleratorTable
const &)*arg2
);
25284 wxPyEndAllowThreads(__tstate
);
25285 if (PyErr_Occurred()) SWIG_fail
;
25287 Py_INCREF(Py_None
); resultobj
= Py_None
;
25294 static PyObject
*_wrap_Window_GetAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25295 PyObject
*resultobj
;
25296 wxWindow
*arg1
= (wxWindow
*) 0 ;
25297 wxAcceleratorTable
*result
;
25298 PyObject
* obj0
= 0 ;
25299 char *kwnames
[] = {
25300 (char *) "self", NULL
25303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAcceleratorTable",kwnames
,&obj0
)) goto fail
;
25304 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25305 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25308 result
= (wxAcceleratorTable
*)(arg1
)->GetAcceleratorTable();
25310 wxPyEndAllowThreads(__tstate
);
25311 if (PyErr_Occurred()) SWIG_fail
;
25313 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorTable
, 0);
25320 static PyObject
*_wrap_Window_RegisterHotKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25321 PyObject
*resultobj
;
25322 wxWindow
*arg1
= (wxWindow
*) 0 ;
25327 PyObject
* obj0
= 0 ;
25328 PyObject
* obj1
= 0 ;
25329 PyObject
* obj2
= 0 ;
25330 PyObject
* obj3
= 0 ;
25331 char *kwnames
[] = {
25332 (char *) "self",(char *) "hotkeyId",(char *) "modifiers",(char *) "keycode", NULL
25335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Window_RegisterHotKey",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25336 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25337 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25338 arg2
= (int) SWIG_AsInt(obj1
);
25339 if (PyErr_Occurred()) SWIG_fail
;
25340 arg3
= (int) SWIG_AsInt(obj2
);
25341 if (PyErr_Occurred()) SWIG_fail
;
25342 arg4
= (int) SWIG_AsInt(obj3
);
25343 if (PyErr_Occurred()) SWIG_fail
;
25345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25346 result
= (bool)wxWindow_RegisterHotKey(arg1
,arg2
,arg3
,arg4
);
25348 wxPyEndAllowThreads(__tstate
);
25349 if (PyErr_Occurred()) SWIG_fail
;
25352 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25360 static PyObject
*_wrap_Window_UnregisterHotKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25361 PyObject
*resultobj
;
25362 wxWindow
*arg1
= (wxWindow
*) 0 ;
25365 PyObject
* obj0
= 0 ;
25366 PyObject
* obj1
= 0 ;
25367 char *kwnames
[] = {
25368 (char *) "self",(char *) "hotkeyId", NULL
25371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_UnregisterHotKey",kwnames
,&obj0
,&obj1
)) goto fail
;
25372 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25373 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25374 arg2
= (int) SWIG_AsInt(obj1
);
25375 if (PyErr_Occurred()) SWIG_fail
;
25377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25378 result
= (bool)wxWindow_UnregisterHotKey(arg1
,arg2
);
25380 wxPyEndAllowThreads(__tstate
);
25381 if (PyErr_Occurred()) SWIG_fail
;
25384 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25392 static PyObject
*_wrap_Window_ConvertDialogPointToPixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25393 PyObject
*resultobj
;
25394 wxWindow
*arg1
= (wxWindow
*) 0 ;
25395 wxPoint
*arg2
= 0 ;
25398 PyObject
* obj0
= 0 ;
25399 PyObject
* obj1
= 0 ;
25400 char *kwnames
[] = {
25401 (char *) "self",(char *) "pt", NULL
25404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogPointToPixels",kwnames
,&obj0
,&obj1
)) goto fail
;
25405 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25409 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25413 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
25415 wxPyEndAllowThreads(__tstate
);
25416 if (PyErr_Occurred()) SWIG_fail
;
25419 wxPoint
* resultptr
;
25420 resultptr
= new wxPoint((wxPoint
&) result
);
25421 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
25429 static PyObject
*_wrap_Window_ConvertDialogSizeToPixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25430 PyObject
*resultobj
;
25431 wxWindow
*arg1
= (wxWindow
*) 0 ;
25435 PyObject
* obj0
= 0 ;
25436 PyObject
* obj1
= 0 ;
25437 char *kwnames
[] = {
25438 (char *) "self",(char *) "sz", NULL
25441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogSizeToPixels",kwnames
,&obj0
,&obj1
)) goto fail
;
25442 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25443 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25446 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25450 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
25452 wxPyEndAllowThreads(__tstate
);
25453 if (PyErr_Occurred()) SWIG_fail
;
25456 wxSize
* resultptr
;
25457 resultptr
= new wxSize((wxSize
&) result
);
25458 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
25466 static PyObject
*_wrap_Window_DLG_PNT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25467 PyObject
*resultobj
;
25468 wxWindow
*arg1
= (wxWindow
*) 0 ;
25469 wxPoint
*arg2
= 0 ;
25472 PyObject
* obj0
= 0 ;
25473 PyObject
* obj1
= 0 ;
25474 char *kwnames
[] = {
25475 (char *) "self",(char *) "pt", NULL
25478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_PNT",kwnames
,&obj0
,&obj1
)) goto fail
;
25479 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25480 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25483 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25487 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
25489 wxPyEndAllowThreads(__tstate
);
25490 if (PyErr_Occurred()) SWIG_fail
;
25493 wxPoint
* resultptr
;
25494 resultptr
= new wxPoint((wxPoint
&) result
);
25495 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
25503 static PyObject
*_wrap_Window_DLG_SZE(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25504 PyObject
*resultobj
;
25505 wxWindow
*arg1
= (wxWindow
*) 0 ;
25509 PyObject
* obj0
= 0 ;
25510 PyObject
* obj1
= 0 ;
25511 char *kwnames
[] = {
25512 (char *) "self",(char *) "sz", NULL
25515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_SZE",kwnames
,&obj0
,&obj1
)) goto fail
;
25516 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25517 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25520 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25524 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
25526 wxPyEndAllowThreads(__tstate
);
25527 if (PyErr_Occurred()) SWIG_fail
;
25530 wxSize
* resultptr
;
25531 resultptr
= new wxSize((wxSize
&) result
);
25532 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
25540 static PyObject
*_wrap_Window_ConvertPixelPointToDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25541 PyObject
*resultobj
;
25542 wxWindow
*arg1
= (wxWindow
*) 0 ;
25543 wxPoint
*arg2
= 0 ;
25546 PyObject
* obj0
= 0 ;
25547 PyObject
* obj1
= 0 ;
25548 char *kwnames
[] = {
25549 (char *) "self",(char *) "pt", NULL
25552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelPointToDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
25553 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25554 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25557 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25561 result
= (arg1
)->ConvertPixelsToDialog((wxPoint
const &)*arg2
);
25563 wxPyEndAllowThreads(__tstate
);
25564 if (PyErr_Occurred()) SWIG_fail
;
25567 wxPoint
* resultptr
;
25568 resultptr
= new wxPoint((wxPoint
&) result
);
25569 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
25577 static PyObject
*_wrap_Window_ConvertPixelSizeToDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25578 PyObject
*resultobj
;
25579 wxWindow
*arg1
= (wxWindow
*) 0 ;
25583 PyObject
* obj0
= 0 ;
25584 PyObject
* obj1
= 0 ;
25585 char *kwnames
[] = {
25586 (char *) "self",(char *) "sz", NULL
25589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelSizeToDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
25590 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25591 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25594 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25598 result
= (arg1
)->ConvertPixelsToDialog((wxSize
const &)*arg2
);
25600 wxPyEndAllowThreads(__tstate
);
25601 if (PyErr_Occurred()) SWIG_fail
;
25604 wxSize
* resultptr
;
25605 resultptr
= new wxSize((wxSize
&) result
);
25606 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
25614 static PyObject
*_wrap_Window_WarpPointer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25615 PyObject
*resultobj
;
25616 wxWindow
*arg1
= (wxWindow
*) 0 ;
25619 PyObject
* obj0
= 0 ;
25620 PyObject
* obj1
= 0 ;
25621 PyObject
* obj2
= 0 ;
25622 char *kwnames
[] = {
25623 (char *) "self",(char *) "x",(char *) "y", NULL
25626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_WarpPointer",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25627 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25628 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25629 arg2
= (int) SWIG_AsInt(obj1
);
25630 if (PyErr_Occurred()) SWIG_fail
;
25631 arg3
= (int) SWIG_AsInt(obj2
);
25632 if (PyErr_Occurred()) SWIG_fail
;
25634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25635 (arg1
)->WarpPointer(arg2
,arg3
);
25637 wxPyEndAllowThreads(__tstate
);
25638 if (PyErr_Occurred()) SWIG_fail
;
25640 Py_INCREF(Py_None
); resultobj
= Py_None
;
25647 static PyObject
*_wrap_Window_CaptureMouse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25648 PyObject
*resultobj
;
25649 wxWindow
*arg1
= (wxWindow
*) 0 ;
25650 PyObject
* obj0
= 0 ;
25651 char *kwnames
[] = {
25652 (char *) "self", NULL
25655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_CaptureMouse",kwnames
,&obj0
)) goto fail
;
25656 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25657 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25660 (arg1
)->CaptureMouse();
25662 wxPyEndAllowThreads(__tstate
);
25663 if (PyErr_Occurred()) SWIG_fail
;
25665 Py_INCREF(Py_None
); resultobj
= Py_None
;
25672 static PyObject
*_wrap_Window_ReleaseMouse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25673 PyObject
*resultobj
;
25674 wxWindow
*arg1
= (wxWindow
*) 0 ;
25675 PyObject
* obj0
= 0 ;
25676 char *kwnames
[] = {
25677 (char *) "self", NULL
25680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ReleaseMouse",kwnames
,&obj0
)) goto fail
;
25681 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25682 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25685 (arg1
)->ReleaseMouse();
25687 wxPyEndAllowThreads(__tstate
);
25688 if (PyErr_Occurred()) SWIG_fail
;
25690 Py_INCREF(Py_None
); resultobj
= Py_None
;
25697 static PyObject
*_wrap_Window_GetCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25698 PyObject
*resultobj
;
25700 char *kwnames
[] = {
25704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_GetCapture",kwnames
)) goto fail
;
25706 if (!wxPyCheckForApp()) SWIG_fail
;
25707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25708 result
= (wxWindow
*)wxWindow::GetCapture();
25710 wxPyEndAllowThreads(__tstate
);
25711 if (PyErr_Occurred()) SWIG_fail
;
25714 resultobj
= wxPyMake_wxObject(result
, 0);
25722 static PyObject
*_wrap_Window_HasCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25723 PyObject
*resultobj
;
25724 wxWindow
*arg1
= (wxWindow
*) 0 ;
25726 PyObject
* obj0
= 0 ;
25727 char *kwnames
[] = {
25728 (char *) "self", NULL
25731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_HasCapture",kwnames
,&obj0
)) goto fail
;
25732 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25733 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25736 result
= (bool)((wxWindow
const *)arg1
)->HasCapture();
25738 wxPyEndAllowThreads(__tstate
);
25739 if (PyErr_Occurred()) SWIG_fail
;
25742 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25750 static PyObject
*_wrap_Window_Refresh(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25751 PyObject
*resultobj
;
25752 wxWindow
*arg1
= (wxWindow
*) 0 ;
25753 bool arg2
= (bool) True
;
25754 wxRect
*arg3
= (wxRect
*) NULL
;
25755 PyObject
* obj0
= 0 ;
25756 PyObject
* obj1
= 0 ;
25757 PyObject
* obj2
= 0 ;
25758 char *kwnames
[] = {
25759 (char *) "self",(char *) "eraseBackground",(char *) "rect", NULL
25762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Window_Refresh",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25763 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25766 arg2
= (bool) SWIG_AsBool(obj1
);
25767 if (PyErr_Occurred()) SWIG_fail
;
25770 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxRect
,
25771 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25775 (arg1
)->Refresh(arg2
,(wxRect
const *)arg3
);
25777 wxPyEndAllowThreads(__tstate
);
25778 if (PyErr_Occurred()) SWIG_fail
;
25780 Py_INCREF(Py_None
); resultobj
= Py_None
;
25787 static PyObject
*_wrap_Window_RefreshRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25788 PyObject
*resultobj
;
25789 wxWindow
*arg1
= (wxWindow
*) 0 ;
25792 PyObject
* obj0
= 0 ;
25793 PyObject
* obj1
= 0 ;
25794 char *kwnames
[] = {
25795 (char *) "self",(char *) "rect", NULL
25798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RefreshRect",kwnames
,&obj0
,&obj1
)) goto fail
;
25799 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25800 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25803 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
25806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25807 (arg1
)->RefreshRect((wxRect
const &)*arg2
);
25809 wxPyEndAllowThreads(__tstate
);
25810 if (PyErr_Occurred()) SWIG_fail
;
25812 Py_INCREF(Py_None
); resultobj
= Py_None
;
25819 static PyObject
*_wrap_Window_Update(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25820 PyObject
*resultobj
;
25821 wxWindow
*arg1
= (wxWindow
*) 0 ;
25822 PyObject
* obj0
= 0 ;
25823 char *kwnames
[] = {
25824 (char *) "self", NULL
25827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Update",kwnames
,&obj0
)) goto fail
;
25828 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25829 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25834 wxPyEndAllowThreads(__tstate
);
25835 if (PyErr_Occurred()) SWIG_fail
;
25837 Py_INCREF(Py_None
); resultobj
= Py_None
;
25844 static PyObject
*_wrap_Window_ClearBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25845 PyObject
*resultobj
;
25846 wxWindow
*arg1
= (wxWindow
*) 0 ;
25847 PyObject
* obj0
= 0 ;
25848 char *kwnames
[] = {
25849 (char *) "self", NULL
25852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ClearBackground",kwnames
,&obj0
)) goto fail
;
25853 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25854 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25857 (arg1
)->ClearBackground();
25859 wxPyEndAllowThreads(__tstate
);
25860 if (PyErr_Occurred()) SWIG_fail
;
25862 Py_INCREF(Py_None
); resultobj
= Py_None
;
25869 static PyObject
*_wrap_Window_Freeze(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25870 PyObject
*resultobj
;
25871 wxWindow
*arg1
= (wxWindow
*) 0 ;
25872 PyObject
* obj0
= 0 ;
25873 char *kwnames
[] = {
25874 (char *) "self", NULL
25877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Freeze",kwnames
,&obj0
)) goto fail
;
25878 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25879 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25884 wxPyEndAllowThreads(__tstate
);
25885 if (PyErr_Occurred()) SWIG_fail
;
25887 Py_INCREF(Py_None
); resultobj
= Py_None
;
25894 static PyObject
*_wrap_Window_Thaw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25895 PyObject
*resultobj
;
25896 wxWindow
*arg1
= (wxWindow
*) 0 ;
25897 PyObject
* obj0
= 0 ;
25898 char *kwnames
[] = {
25899 (char *) "self", NULL
25902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Thaw",kwnames
,&obj0
)) goto fail
;
25903 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25904 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25909 wxPyEndAllowThreads(__tstate
);
25910 if (PyErr_Occurred()) SWIG_fail
;
25912 Py_INCREF(Py_None
); resultobj
= Py_None
;
25919 static PyObject
*_wrap_Window_PrepareDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25920 PyObject
*resultobj
;
25921 wxWindow
*arg1
= (wxWindow
*) 0 ;
25923 PyObject
* obj0
= 0 ;
25924 PyObject
* obj1
= 0 ;
25925 char *kwnames
[] = {
25926 (char *) "self",(char *) "dc", NULL
25929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PrepareDC",kwnames
,&obj0
,&obj1
)) goto fail
;
25930 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25931 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25932 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
25933 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25935 if (arg2
== NULL
) {
25936 PyErr_SetString(PyExc_TypeError
,"null reference");
25940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25941 (arg1
)->PrepareDC(*arg2
);
25943 wxPyEndAllowThreads(__tstate
);
25944 if (PyErr_Occurred()) SWIG_fail
;
25946 Py_INCREF(Py_None
); resultobj
= Py_None
;
25953 static PyObject
*_wrap_Window_GetUpdateRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25954 PyObject
*resultobj
;
25955 wxWindow
*arg1
= (wxWindow
*) 0 ;
25957 PyObject
* obj0
= 0 ;
25958 char *kwnames
[] = {
25959 (char *) "self", NULL
25962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetUpdateRegion",kwnames
,&obj0
)) goto fail
;
25963 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25964 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25968 wxRegion
&_result_ref
= (arg1
)->GetUpdateRegion();
25969 result
= (wxRegion
*) &_result_ref
;
25972 wxPyEndAllowThreads(__tstate
);
25973 if (PyErr_Occurred()) SWIG_fail
;
25975 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 0);
25982 static PyObject
*_wrap_Window_GetUpdateClientRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25983 PyObject
*resultobj
;
25984 wxWindow
*arg1
= (wxWindow
*) 0 ;
25986 PyObject
* obj0
= 0 ;
25987 char *kwnames
[] = {
25988 (char *) "self", NULL
25991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetUpdateClientRect",kwnames
,&obj0
)) goto fail
;
25992 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25993 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25996 result
= ((wxWindow
const *)arg1
)->GetUpdateClientRect();
25998 wxPyEndAllowThreads(__tstate
);
25999 if (PyErr_Occurred()) SWIG_fail
;
26002 wxRect
* resultptr
;
26003 resultptr
= new wxRect((wxRect
&) result
);
26004 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
26012 static PyObject
*_wrap_Window_IsExposed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26013 PyObject
*resultobj
;
26014 wxWindow
*arg1
= (wxWindow
*) 0 ;
26017 int arg4
= (int) 1 ;
26018 int arg5
= (int) 1 ;
26020 PyObject
* obj0
= 0 ;
26021 PyObject
* obj1
= 0 ;
26022 PyObject
* obj2
= 0 ;
26023 PyObject
* obj3
= 0 ;
26024 PyObject
* obj4
= 0 ;
26025 char *kwnames
[] = {
26026 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
26029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Window_IsExposed",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
26030 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26031 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26032 arg2
= (int) SWIG_AsInt(obj1
);
26033 if (PyErr_Occurred()) SWIG_fail
;
26034 arg3
= (int) SWIG_AsInt(obj2
);
26035 if (PyErr_Occurred()) SWIG_fail
;
26037 arg4
= (int) SWIG_AsInt(obj3
);
26038 if (PyErr_Occurred()) SWIG_fail
;
26041 arg5
= (int) SWIG_AsInt(obj4
);
26042 if (PyErr_Occurred()) SWIG_fail
;
26045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26046 result
= (bool)((wxWindow
const *)arg1
)->IsExposed(arg2
,arg3
,arg4
,arg5
);
26048 wxPyEndAllowThreads(__tstate
);
26049 if (PyErr_Occurred()) SWIG_fail
;
26052 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26060 static PyObject
*_wrap_Window_IsExposedPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26061 PyObject
*resultobj
;
26062 wxWindow
*arg1
= (wxWindow
*) 0 ;
26063 wxPoint
*arg2
= 0 ;
26066 PyObject
* obj0
= 0 ;
26067 PyObject
* obj1
= 0 ;
26068 char *kwnames
[] = {
26069 (char *) "self",(char *) "pt", NULL
26072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_IsExposedPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
26073 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26074 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26077 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26081 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxPoint
const &)*arg2
);
26083 wxPyEndAllowThreads(__tstate
);
26084 if (PyErr_Occurred()) SWIG_fail
;
26087 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26095 static PyObject
*_wrap_Window_IsExposedRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26096 PyObject
*resultobj
;
26097 wxWindow
*arg1
= (wxWindow
*) 0 ;
26101 PyObject
* obj0
= 0 ;
26102 PyObject
* obj1
= 0 ;
26103 char *kwnames
[] = {
26104 (char *) "self",(char *) "rect", NULL
26107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_IsExposedRect",kwnames
,&obj0
,&obj1
)) goto fail
;
26108 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26109 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26112 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
26115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26116 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxRect
const &)*arg2
);
26118 wxPyEndAllowThreads(__tstate
);
26119 if (PyErr_Occurred()) SWIG_fail
;
26122 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26130 static PyObject
*_wrap_Window_GetDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26131 PyObject
*resultobj
;
26132 wxWindow
*arg1
= (wxWindow
*) 0 ;
26133 wxVisualAttributes result
;
26134 PyObject
* obj0
= 0 ;
26135 char *kwnames
[] = {
26136 (char *) "self", NULL
26139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
26140 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26141 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26144 result
= ((wxWindow
const *)arg1
)->GetDefaultAttributes();
26146 wxPyEndAllowThreads(__tstate
);
26147 if (PyErr_Occurred()) SWIG_fail
;
26150 wxVisualAttributes
* resultptr
;
26151 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
26152 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
26160 static PyObject
*_wrap_Window_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26161 PyObject
*resultobj
;
26162 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
26163 wxVisualAttributes result
;
26164 PyObject
* obj0
= 0 ;
26165 char *kwnames
[] = {
26166 (char *) "variant", NULL
26169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Window_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
26171 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
26172 if (PyErr_Occurred()) SWIG_fail
;
26175 if (!wxPyCheckForApp()) SWIG_fail
;
26176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26177 result
= wxWindow::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
26179 wxPyEndAllowThreads(__tstate
);
26180 if (PyErr_Occurred()) SWIG_fail
;
26183 wxVisualAttributes
* resultptr
;
26184 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
26185 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
26193 static PyObject
*_wrap_Window_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26194 PyObject
*resultobj
;
26195 wxWindow
*arg1
= (wxWindow
*) 0 ;
26196 wxColour
*arg2
= 0 ;
26199 PyObject
* obj0
= 0 ;
26200 PyObject
* obj1
= 0 ;
26201 char *kwnames
[] = {
26202 (char *) "self",(char *) "colour", NULL
26205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
26206 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26207 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26210 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26214 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
26216 wxPyEndAllowThreads(__tstate
);
26217 if (PyErr_Occurred()) SWIG_fail
;
26220 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26228 static PyObject
*_wrap_Window_SetOwnBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26229 PyObject
*resultobj
;
26230 wxWindow
*arg1
= (wxWindow
*) 0 ;
26231 wxColour
*arg2
= 0 ;
26233 PyObject
* obj0
= 0 ;
26234 PyObject
* obj1
= 0 ;
26235 char *kwnames
[] = {
26236 (char *) "self",(char *) "colour", NULL
26239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
26240 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26241 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26244 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26248 (arg1
)->SetOwnBackgroundColour((wxColour
const &)*arg2
);
26250 wxPyEndAllowThreads(__tstate
);
26251 if (PyErr_Occurred()) SWIG_fail
;
26253 Py_INCREF(Py_None
); resultobj
= Py_None
;
26260 static PyObject
*_wrap_Window_SetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26261 PyObject
*resultobj
;
26262 wxWindow
*arg1
= (wxWindow
*) 0 ;
26263 wxColour
*arg2
= 0 ;
26266 PyObject
* obj0
= 0 ;
26267 PyObject
* obj1
= 0 ;
26268 char *kwnames
[] = {
26269 (char *) "self",(char *) "colour", NULL
26272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
26273 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26274 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26277 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26281 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
26283 wxPyEndAllowThreads(__tstate
);
26284 if (PyErr_Occurred()) SWIG_fail
;
26287 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26295 static PyObject
*_wrap_Window_SetOwnForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26296 PyObject
*resultobj
;
26297 wxWindow
*arg1
= (wxWindow
*) 0 ;
26298 wxColour
*arg2
= 0 ;
26300 PyObject
* obj0
= 0 ;
26301 PyObject
* obj1
= 0 ;
26302 char *kwnames
[] = {
26303 (char *) "self",(char *) "colour", NULL
26306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
26307 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26308 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26311 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26315 (arg1
)->SetOwnForegroundColour((wxColour
const &)*arg2
);
26317 wxPyEndAllowThreads(__tstate
);
26318 if (PyErr_Occurred()) SWIG_fail
;
26320 Py_INCREF(Py_None
); resultobj
= Py_None
;
26327 static PyObject
*_wrap_Window_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26328 PyObject
*resultobj
;
26329 wxWindow
*arg1
= (wxWindow
*) 0 ;
26331 PyObject
* obj0
= 0 ;
26332 char *kwnames
[] = {
26333 (char *) "self", NULL
26336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
26337 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26338 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26341 result
= ((wxWindow
const *)arg1
)->GetBackgroundColour();
26343 wxPyEndAllowThreads(__tstate
);
26344 if (PyErr_Occurred()) SWIG_fail
;
26347 wxColour
* resultptr
;
26348 resultptr
= new wxColour((wxColour
&) result
);
26349 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
26357 static PyObject
*_wrap_Window_GetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26358 PyObject
*resultobj
;
26359 wxWindow
*arg1
= (wxWindow
*) 0 ;
26361 PyObject
* obj0
= 0 ;
26362 char *kwnames
[] = {
26363 (char *) "self", NULL
26366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetForegroundColour",kwnames
,&obj0
)) goto fail
;
26367 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26368 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26371 result
= ((wxWindow
const *)arg1
)->GetForegroundColour();
26373 wxPyEndAllowThreads(__tstate
);
26374 if (PyErr_Occurred()) SWIG_fail
;
26377 wxColour
* resultptr
;
26378 resultptr
= new wxColour((wxColour
&) result
);
26379 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
26387 static PyObject
*_wrap_Window_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26388 PyObject
*resultobj
;
26389 wxWindow
*arg1
= (wxWindow
*) 0 ;
26390 wxCursor
*arg2
= 0 ;
26392 PyObject
* obj0
= 0 ;
26393 PyObject
* obj1
= 0 ;
26394 char *kwnames
[] = {
26395 (char *) "self",(char *) "cursor", NULL
26398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
26399 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26400 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26401 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
26402 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26404 if (arg2
== NULL
) {
26405 PyErr_SetString(PyExc_TypeError
,"null reference");
26409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26410 result
= (bool)(arg1
)->SetCursor((wxCursor
const &)*arg2
);
26412 wxPyEndAllowThreads(__tstate
);
26413 if (PyErr_Occurred()) SWIG_fail
;
26416 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26424 static PyObject
*_wrap_Window_GetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26425 PyObject
*resultobj
;
26426 wxWindow
*arg1
= (wxWindow
*) 0 ;
26428 PyObject
* obj0
= 0 ;
26429 char *kwnames
[] = {
26430 (char *) "self", NULL
26433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCursor",kwnames
,&obj0
)) goto fail
;
26434 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26435 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26438 result
= (arg1
)->GetCursor();
26440 wxPyEndAllowThreads(__tstate
);
26441 if (PyErr_Occurred()) SWIG_fail
;
26444 wxCursor
* resultptr
;
26445 resultptr
= new wxCursor((wxCursor
&) result
);
26446 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxCursor
, 1);
26454 static PyObject
*_wrap_Window_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26455 PyObject
*resultobj
;
26456 wxWindow
*arg1
= (wxWindow
*) 0 ;
26459 PyObject
* obj0
= 0 ;
26460 PyObject
* obj1
= 0 ;
26461 char *kwnames
[] = {
26462 (char *) "self",(char *) "font", NULL
26465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
26466 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26467 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26468 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
26469 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26471 if (arg2
== NULL
) {
26472 PyErr_SetString(PyExc_TypeError
,"null reference");
26476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26477 result
= (bool)(arg1
)->SetFont((wxFont
const &)*arg2
);
26479 wxPyEndAllowThreads(__tstate
);
26480 if (PyErr_Occurred()) SWIG_fail
;
26483 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26491 static PyObject
*_wrap_Window_SetOwnFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26492 PyObject
*resultobj
;
26493 wxWindow
*arg1
= (wxWindow
*) 0 ;
26495 PyObject
* obj0
= 0 ;
26496 PyObject
* obj1
= 0 ;
26497 char *kwnames
[] = {
26498 (char *) "self",(char *) "font", NULL
26501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnFont",kwnames
,&obj0
,&obj1
)) goto fail
;
26502 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26503 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26504 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
26505 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26507 if (arg2
== NULL
) {
26508 PyErr_SetString(PyExc_TypeError
,"null reference");
26512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26513 (arg1
)->SetOwnFont((wxFont
const &)*arg2
);
26515 wxPyEndAllowThreads(__tstate
);
26516 if (PyErr_Occurred()) SWIG_fail
;
26518 Py_INCREF(Py_None
); resultobj
= Py_None
;
26525 static PyObject
*_wrap_Window_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26526 PyObject
*resultobj
;
26527 wxWindow
*arg1
= (wxWindow
*) 0 ;
26529 PyObject
* obj0
= 0 ;
26530 char *kwnames
[] = {
26531 (char *) "self", NULL
26534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetFont",kwnames
,&obj0
)) goto fail
;
26535 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26536 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26539 result
= (arg1
)->GetFont();
26541 wxPyEndAllowThreads(__tstate
);
26542 if (PyErr_Occurred()) SWIG_fail
;
26545 wxFont
* resultptr
;
26546 resultptr
= new wxFont((wxFont
&) result
);
26547 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
26555 static PyObject
*_wrap_Window_SetCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26556 PyObject
*resultobj
;
26557 wxWindow
*arg1
= (wxWindow
*) 0 ;
26558 wxCaret
*arg2
= (wxCaret
*) 0 ;
26559 PyObject
* obj0
= 0 ;
26560 PyObject
* obj1
= 0 ;
26561 char *kwnames
[] = {
26562 (char *) "self",(char *) "caret", NULL
26565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCaret",kwnames
,&obj0
,&obj1
)) goto fail
;
26566 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26567 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26568 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCaret
,
26569 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26572 (arg1
)->SetCaret(arg2
);
26574 wxPyEndAllowThreads(__tstate
);
26575 if (PyErr_Occurred()) SWIG_fail
;
26577 Py_INCREF(Py_None
); resultobj
= Py_None
;
26584 static PyObject
*_wrap_Window_GetCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26585 PyObject
*resultobj
;
26586 wxWindow
*arg1
= (wxWindow
*) 0 ;
26588 PyObject
* obj0
= 0 ;
26589 char *kwnames
[] = {
26590 (char *) "self", NULL
26593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCaret",kwnames
,&obj0
)) goto fail
;
26594 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26595 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26598 result
= (wxCaret
*)((wxWindow
const *)arg1
)->GetCaret();
26600 wxPyEndAllowThreads(__tstate
);
26601 if (PyErr_Occurred()) SWIG_fail
;
26603 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCaret
, 0);
26610 static PyObject
*_wrap_Window_GetCharHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26611 PyObject
*resultobj
;
26612 wxWindow
*arg1
= (wxWindow
*) 0 ;
26614 PyObject
* obj0
= 0 ;
26615 char *kwnames
[] = {
26616 (char *) "self", NULL
26619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCharHeight",kwnames
,&obj0
)) goto fail
;
26620 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26621 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26624 result
= (int)((wxWindow
const *)arg1
)->GetCharHeight();
26626 wxPyEndAllowThreads(__tstate
);
26627 if (PyErr_Occurred()) SWIG_fail
;
26629 resultobj
= SWIG_FromInt((int)result
);
26636 static PyObject
*_wrap_Window_GetCharWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26637 PyObject
*resultobj
;
26638 wxWindow
*arg1
= (wxWindow
*) 0 ;
26640 PyObject
* obj0
= 0 ;
26641 char *kwnames
[] = {
26642 (char *) "self", NULL
26645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCharWidth",kwnames
,&obj0
)) goto fail
;
26646 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26650 result
= (int)((wxWindow
const *)arg1
)->GetCharWidth();
26652 wxPyEndAllowThreads(__tstate
);
26653 if (PyErr_Occurred()) SWIG_fail
;
26655 resultobj
= SWIG_FromInt((int)result
);
26662 static PyObject
*_wrap_Window_GetTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26663 PyObject
*resultobj
;
26664 wxWindow
*arg1
= (wxWindow
*) 0 ;
26665 wxString
*arg2
= 0 ;
26666 int *arg3
= (int *) 0 ;
26667 int *arg4
= (int *) 0 ;
26668 bool temp2
= False
;
26671 PyObject
* obj0
= 0 ;
26672 PyObject
* obj1
= 0 ;
26673 char *kwnames
[] = {
26674 (char *) "self",(char *) "string", NULL
26679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetTextExtent",kwnames
,&obj0
,&obj1
)) goto fail
;
26680 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26681 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26683 arg2
= wxString_in_helper(obj1
);
26684 if (arg2
== NULL
) SWIG_fail
;
26688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26689 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
26691 wxPyEndAllowThreads(__tstate
);
26692 if (PyErr_Occurred()) SWIG_fail
;
26694 Py_INCREF(Py_None
); resultobj
= Py_None
;
26696 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
26697 resultobj
= t_output_helper(resultobj
,o
);
26700 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
26701 resultobj
= t_output_helper(resultobj
,o
);
26717 static PyObject
*_wrap_Window_GetFullTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26718 PyObject
*resultobj
;
26719 wxWindow
*arg1
= (wxWindow
*) 0 ;
26720 wxString
*arg2
= 0 ;
26721 int *arg3
= (int *) 0 ;
26722 int *arg4
= (int *) 0 ;
26723 int *arg5
= (int *) 0 ;
26724 int *arg6
= (int *) 0 ;
26725 wxFont
*arg7
= (wxFont
*) NULL
;
26726 bool temp2
= False
;
26731 PyObject
* obj0
= 0 ;
26732 PyObject
* obj1
= 0 ;
26733 PyObject
* obj2
= 0 ;
26734 char *kwnames
[] = {
26735 (char *) "self",(char *) "string",(char *) "font", NULL
26742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26743 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26744 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26746 arg2
= wxString_in_helper(obj1
);
26747 if (arg2
== NULL
) SWIG_fail
;
26751 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg7
),SWIGTYPE_p_wxFont
,
26752 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26756 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,(wxFont
const *)arg7
);
26758 wxPyEndAllowThreads(__tstate
);
26759 if (PyErr_Occurred()) SWIG_fail
;
26761 Py_INCREF(Py_None
); resultobj
= Py_None
;
26763 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
26764 resultobj
= t_output_helper(resultobj
,o
);
26767 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
26768 resultobj
= t_output_helper(resultobj
,o
);
26771 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
26772 resultobj
= t_output_helper(resultobj
,o
);
26775 PyObject
*o
= PyInt_FromLong((long) (*arg6
));
26776 resultobj
= t_output_helper(resultobj
,o
);
26792 static PyObject
*_wrap_Window_ClientToScreenXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26793 PyObject
*resultobj
;
26794 wxWindow
*arg1
= (wxWindow
*) 0 ;
26795 int *arg2
= (int *) 0 ;
26796 int *arg3
= (int *) 0 ;
26799 PyObject
* obj0
= 0 ;
26800 PyObject
* obj1
= 0 ;
26801 PyObject
* obj2
= 0 ;
26802 char *kwnames
[] = {
26803 (char *) "self",(char *) "x",(char *) "y", NULL
26806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ClientToScreenXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26807 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26808 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26810 temp2
= PyInt_AsLong(obj1
);
26811 if (PyErr_Occurred()) SWIG_fail
;
26815 temp3
= PyInt_AsLong(obj2
);
26816 if (PyErr_Occurred()) SWIG_fail
;
26820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26821 ((wxWindow
const *)arg1
)->ClientToScreen(arg2
,arg3
);
26823 wxPyEndAllowThreads(__tstate
);
26824 if (PyErr_Occurred()) SWIG_fail
;
26826 Py_INCREF(Py_None
); resultobj
= Py_None
;
26828 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
26829 resultobj
= t_output_helper(resultobj
,o
);
26832 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
26833 resultobj
= t_output_helper(resultobj
,o
);
26841 static PyObject
*_wrap_Window_ScreenToClientXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26842 PyObject
*resultobj
;
26843 wxWindow
*arg1
= (wxWindow
*) 0 ;
26844 int *arg2
= (int *) 0 ;
26845 int *arg3
= (int *) 0 ;
26848 PyObject
* obj0
= 0 ;
26849 PyObject
* obj1
= 0 ;
26850 PyObject
* obj2
= 0 ;
26851 char *kwnames
[] = {
26852 (char *) "self",(char *) "x",(char *) "y", NULL
26855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ScreenToClientXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26856 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26857 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26859 temp2
= PyInt_AsLong(obj1
);
26860 if (PyErr_Occurred()) SWIG_fail
;
26864 temp3
= PyInt_AsLong(obj2
);
26865 if (PyErr_Occurred()) SWIG_fail
;
26869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26870 ((wxWindow
const *)arg1
)->ScreenToClient(arg2
,arg3
);
26872 wxPyEndAllowThreads(__tstate
);
26873 if (PyErr_Occurred()) SWIG_fail
;
26875 Py_INCREF(Py_None
); resultobj
= Py_None
;
26877 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
26878 resultobj
= t_output_helper(resultobj
,o
);
26881 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
26882 resultobj
= t_output_helper(resultobj
,o
);
26890 static PyObject
*_wrap_Window_ClientToScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26891 PyObject
*resultobj
;
26892 wxWindow
*arg1
= (wxWindow
*) 0 ;
26893 wxPoint
*arg2
= 0 ;
26896 PyObject
* obj0
= 0 ;
26897 PyObject
* obj1
= 0 ;
26898 char *kwnames
[] = {
26899 (char *) "self",(char *) "pt", NULL
26902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ClientToScreen",kwnames
,&obj0
,&obj1
)) goto fail
;
26903 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26904 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26907 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26911 result
= ((wxWindow
const *)arg1
)->ClientToScreen((wxPoint
const &)*arg2
);
26913 wxPyEndAllowThreads(__tstate
);
26914 if (PyErr_Occurred()) SWIG_fail
;
26917 wxPoint
* resultptr
;
26918 resultptr
= new wxPoint((wxPoint
&) result
);
26919 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
26927 static PyObject
*_wrap_Window_ScreenToClient(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26928 PyObject
*resultobj
;
26929 wxWindow
*arg1
= (wxWindow
*) 0 ;
26930 wxPoint
*arg2
= 0 ;
26933 PyObject
* obj0
= 0 ;
26934 PyObject
* obj1
= 0 ;
26935 char *kwnames
[] = {
26936 (char *) "self",(char *) "pt", NULL
26939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScreenToClient",kwnames
,&obj0
,&obj1
)) goto fail
;
26940 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26941 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26944 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26948 result
= ((wxWindow
const *)arg1
)->ScreenToClient((wxPoint
const &)*arg2
);
26950 wxPyEndAllowThreads(__tstate
);
26951 if (PyErr_Occurred()) SWIG_fail
;
26954 wxPoint
* resultptr
;
26955 resultptr
= new wxPoint((wxPoint
&) result
);
26956 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
26964 static PyObject
*_wrap_Window_HitTestXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26965 PyObject
*resultobj
;
26966 wxWindow
*arg1
= (wxWindow
*) 0 ;
26970 PyObject
* obj0
= 0 ;
26971 PyObject
* obj1
= 0 ;
26972 PyObject
* obj2
= 0 ;
26973 char *kwnames
[] = {
26974 (char *) "self",(char *) "x",(char *) "y", NULL
26977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26978 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26979 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26980 arg2
= (int) SWIG_AsInt(obj1
);
26981 if (PyErr_Occurred()) SWIG_fail
;
26982 arg3
= (int) SWIG_AsInt(obj2
);
26983 if (PyErr_Occurred()) SWIG_fail
;
26985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26986 result
= (int)((wxWindow
const *)arg1
)->HitTest(arg2
,arg3
);
26988 wxPyEndAllowThreads(__tstate
);
26989 if (PyErr_Occurred()) SWIG_fail
;
26991 resultobj
= SWIG_FromInt((int)result
);
26998 static PyObject
*_wrap_Window_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26999 PyObject
*resultobj
;
27000 wxWindow
*arg1
= (wxWindow
*) 0 ;
27001 wxPoint
*arg2
= 0 ;
27004 PyObject
* obj0
= 0 ;
27005 PyObject
* obj1
= 0 ;
27006 char *kwnames
[] = {
27007 (char *) "self",(char *) "pt", NULL
27010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
27011 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27012 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27015 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
27018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27019 result
= (int)((wxWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
27021 wxPyEndAllowThreads(__tstate
);
27022 if (PyErr_Occurred()) SWIG_fail
;
27024 resultobj
= SWIG_FromInt((int)result
);
27031 static PyObject
*_wrap_Window_GetBorder__SWIG_0(PyObject
*self
, PyObject
*args
) {
27032 PyObject
*resultobj
;
27033 wxWindow
*arg1
= (wxWindow
*) 0 ;
27036 PyObject
* obj0
= 0 ;
27037 PyObject
* obj1
= 0 ;
27039 if(!PyArg_ParseTuple(args
,(char *)"OO:Window_GetBorder",&obj0
,&obj1
)) goto fail
;
27040 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27041 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27042 arg2
= (long) SWIG_AsLong(obj1
);
27043 if (PyErr_Occurred()) SWIG_fail
;
27045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27046 result
= (int)((wxWindow
const *)arg1
)->GetBorder(arg2
);
27048 wxPyEndAllowThreads(__tstate
);
27049 if (PyErr_Occurred()) SWIG_fail
;
27051 resultobj
= SWIG_FromInt((int)result
);
27058 static PyObject
*_wrap_Window_GetBorder__SWIG_1(PyObject
*self
, PyObject
*args
) {
27059 PyObject
*resultobj
;
27060 wxWindow
*arg1
= (wxWindow
*) 0 ;
27062 PyObject
* obj0
= 0 ;
27064 if(!PyArg_ParseTuple(args
,(char *)"O:Window_GetBorder",&obj0
)) goto fail
;
27065 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27066 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27069 result
= (int)((wxWindow
const *)arg1
)->GetBorder();
27071 wxPyEndAllowThreads(__tstate
);
27072 if (PyErr_Occurred()) SWIG_fail
;
27074 resultobj
= SWIG_FromInt((int)result
);
27081 static PyObject
*_wrap_Window_GetBorder(PyObject
*self
, PyObject
*args
) {
27086 argc
= PyObject_Length(args
);
27087 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
27088 argv
[ii
] = PyTuple_GetItem(args
,ii
);
27094 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
27102 return _wrap_Window_GetBorder__SWIG_1(self
,args
);
27109 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
27117 _v
= SWIG_CheckLong(argv
[1]);
27119 return _wrap_Window_GetBorder__SWIG_0(self
,args
);
27124 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'Window_GetBorder'");
27129 static PyObject
*_wrap_Window_UpdateWindowUI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27130 PyObject
*resultobj
;
27131 wxWindow
*arg1
= (wxWindow
*) 0 ;
27132 long arg2
= (long) wxUPDATE_UI_NONE
;
27133 PyObject
* obj0
= 0 ;
27134 PyObject
* obj1
= 0 ;
27135 char *kwnames
[] = {
27136 (char *) "self",(char *) "flags", NULL
27139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_UpdateWindowUI",kwnames
,&obj0
,&obj1
)) goto fail
;
27140 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27141 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27143 arg2
= (long) SWIG_AsLong(obj1
);
27144 if (PyErr_Occurred()) SWIG_fail
;
27147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27148 (arg1
)->UpdateWindowUI(arg2
);
27150 wxPyEndAllowThreads(__tstate
);
27151 if (PyErr_Occurred()) SWIG_fail
;
27153 Py_INCREF(Py_None
); resultobj
= Py_None
;
27160 static PyObject
*_wrap_Window_PopupMenuXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27161 PyObject
*resultobj
;
27162 wxWindow
*arg1
= (wxWindow
*) 0 ;
27163 wxMenu
*arg2
= (wxMenu
*) 0 ;
27164 int arg3
= (int) -1 ;
27165 int arg4
= (int) -1 ;
27167 PyObject
* obj0
= 0 ;
27168 PyObject
* obj1
= 0 ;
27169 PyObject
* obj2
= 0 ;
27170 PyObject
* obj3
= 0 ;
27171 char *kwnames
[] = {
27172 (char *) "self",(char *) "menu",(char *) "x",(char *) "y", NULL
27175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Window_PopupMenuXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27176 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27177 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27178 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
27179 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27181 arg3
= (int) SWIG_AsInt(obj2
);
27182 if (PyErr_Occurred()) SWIG_fail
;
27185 arg4
= (int) SWIG_AsInt(obj3
);
27186 if (PyErr_Occurred()) SWIG_fail
;
27189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27190 result
= (bool)(arg1
)->PopupMenu(arg2
,arg3
,arg4
);
27192 wxPyEndAllowThreads(__tstate
);
27193 if (PyErr_Occurred()) SWIG_fail
;
27196 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27204 static PyObject
*_wrap_Window_PopupMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27205 PyObject
*resultobj
;
27206 wxWindow
*arg1
= (wxWindow
*) 0 ;
27207 wxMenu
*arg2
= (wxMenu
*) 0 ;
27208 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
27209 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
27212 PyObject
* obj0
= 0 ;
27213 PyObject
* obj1
= 0 ;
27214 PyObject
* obj2
= 0 ;
27215 char *kwnames
[] = {
27216 (char *) "self",(char *) "menu",(char *) "pos", NULL
27219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_PopupMenu",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27220 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27221 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27222 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
27223 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27227 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
27231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27232 result
= (bool)(arg1
)->PopupMenu(arg2
,(wxPoint
const &)*arg3
);
27234 wxPyEndAllowThreads(__tstate
);
27235 if (PyErr_Occurred()) SWIG_fail
;
27238 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27246 static PyObject
*_wrap_Window_GetHandle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27247 PyObject
*resultobj
;
27248 wxWindow
*arg1
= (wxWindow
*) 0 ;
27250 PyObject
* obj0
= 0 ;
27251 char *kwnames
[] = {
27252 (char *) "self", NULL
27255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetHandle",kwnames
,&obj0
)) goto fail
;
27256 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27257 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27260 result
= (long)wxWindow_GetHandle(arg1
);
27262 wxPyEndAllowThreads(__tstate
);
27263 if (PyErr_Occurred()) SWIG_fail
;
27265 resultobj
= SWIG_FromLong((long)result
);
27272 static PyObject
*_wrap_Window_OnPaint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27273 PyObject
*resultobj
;
27274 wxWindow
*arg1
= (wxWindow
*) 0 ;
27275 wxPaintEvent
*arg2
= 0 ;
27276 PyObject
* obj0
= 0 ;
27277 PyObject
* obj1
= 0 ;
27278 char *kwnames
[] = {
27279 (char *) "self",(char *) "event", NULL
27282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_OnPaint",kwnames
,&obj0
,&obj1
)) goto fail
;
27283 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27284 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27285 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPaintEvent
,
27286 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27288 if (arg2
== NULL
) {
27289 PyErr_SetString(PyExc_TypeError
,"null reference");
27293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27294 (arg1
)->OnPaint(*arg2
);
27296 wxPyEndAllowThreads(__tstate
);
27297 if (PyErr_Occurred()) SWIG_fail
;
27299 Py_INCREF(Py_None
); resultobj
= Py_None
;
27306 static PyObject
*_wrap_Window_HasScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27307 PyObject
*resultobj
;
27308 wxWindow
*arg1
= (wxWindow
*) 0 ;
27311 PyObject
* obj0
= 0 ;
27312 PyObject
* obj1
= 0 ;
27313 char *kwnames
[] = {
27314 (char *) "self",(char *) "orient", NULL
27317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HasScrollbar",kwnames
,&obj0
,&obj1
)) goto fail
;
27318 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27319 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27320 arg2
= (int) SWIG_AsInt(obj1
);
27321 if (PyErr_Occurred()) SWIG_fail
;
27323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27324 result
= (bool)((wxWindow
const *)arg1
)->HasScrollbar(arg2
);
27326 wxPyEndAllowThreads(__tstate
);
27327 if (PyErr_Occurred()) SWIG_fail
;
27330 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27338 static PyObject
*_wrap_Window_SetScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27339 PyObject
*resultobj
;
27340 wxWindow
*arg1
= (wxWindow
*) 0 ;
27345 bool arg6
= (bool) True
;
27346 PyObject
* obj0
= 0 ;
27347 PyObject
* obj1
= 0 ;
27348 PyObject
* obj2
= 0 ;
27349 PyObject
* obj3
= 0 ;
27350 PyObject
* obj4
= 0 ;
27351 PyObject
* obj5
= 0 ;
27352 char *kwnames
[] = {
27353 (char *) "self",(char *) "orientation",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "refresh", NULL
27356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Window_SetScrollbar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
27357 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27358 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27359 arg2
= (int) SWIG_AsInt(obj1
);
27360 if (PyErr_Occurred()) SWIG_fail
;
27361 arg3
= (int) SWIG_AsInt(obj2
);
27362 if (PyErr_Occurred()) SWIG_fail
;
27363 arg4
= (int) SWIG_AsInt(obj3
);
27364 if (PyErr_Occurred()) SWIG_fail
;
27365 arg5
= (int) SWIG_AsInt(obj4
);
27366 if (PyErr_Occurred()) SWIG_fail
;
27368 arg6
= (bool) SWIG_AsBool(obj5
);
27369 if (PyErr_Occurred()) SWIG_fail
;
27372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27373 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
27375 wxPyEndAllowThreads(__tstate
);
27376 if (PyErr_Occurred()) SWIG_fail
;
27378 Py_INCREF(Py_None
); resultobj
= Py_None
;
27385 static PyObject
*_wrap_Window_SetScrollPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27386 PyObject
*resultobj
;
27387 wxWindow
*arg1
= (wxWindow
*) 0 ;
27390 bool arg4
= (bool) True
;
27391 PyObject
* obj0
= 0 ;
27392 PyObject
* obj1
= 0 ;
27393 PyObject
* obj2
= 0 ;
27394 PyObject
* obj3
= 0 ;
27395 char *kwnames
[] = {
27396 (char *) "self",(char *) "orientation",(char *) "pos",(char *) "refresh", NULL
27399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_SetScrollPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27400 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27401 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27402 arg2
= (int) SWIG_AsInt(obj1
);
27403 if (PyErr_Occurred()) SWIG_fail
;
27404 arg3
= (int) SWIG_AsInt(obj2
);
27405 if (PyErr_Occurred()) SWIG_fail
;
27407 arg4
= (bool) SWIG_AsBool(obj3
);
27408 if (PyErr_Occurred()) SWIG_fail
;
27411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27412 (arg1
)->SetScrollPos(arg2
,arg3
,arg4
);
27414 wxPyEndAllowThreads(__tstate
);
27415 if (PyErr_Occurred()) SWIG_fail
;
27417 Py_INCREF(Py_None
); resultobj
= Py_None
;
27424 static PyObject
*_wrap_Window_GetScrollPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27425 PyObject
*resultobj
;
27426 wxWindow
*arg1
= (wxWindow
*) 0 ;
27429 PyObject
* obj0
= 0 ;
27430 PyObject
* obj1
= 0 ;
27431 char *kwnames
[] = {
27432 (char *) "self",(char *) "orientation", NULL
27435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollPos",kwnames
,&obj0
,&obj1
)) goto fail
;
27436 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27437 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27438 arg2
= (int) SWIG_AsInt(obj1
);
27439 if (PyErr_Occurred()) SWIG_fail
;
27441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27442 result
= (int)((wxWindow
const *)arg1
)->GetScrollPos(arg2
);
27444 wxPyEndAllowThreads(__tstate
);
27445 if (PyErr_Occurred()) SWIG_fail
;
27447 resultobj
= SWIG_FromInt((int)result
);
27454 static PyObject
*_wrap_Window_GetScrollThumb(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27455 PyObject
*resultobj
;
27456 wxWindow
*arg1
= (wxWindow
*) 0 ;
27459 PyObject
* obj0
= 0 ;
27460 PyObject
* obj1
= 0 ;
27461 char *kwnames
[] = {
27462 (char *) "self",(char *) "orientation", NULL
27465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollThumb",kwnames
,&obj0
,&obj1
)) goto fail
;
27466 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27467 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27468 arg2
= (int) SWIG_AsInt(obj1
);
27469 if (PyErr_Occurred()) SWIG_fail
;
27471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27472 result
= (int)((wxWindow
const *)arg1
)->GetScrollThumb(arg2
);
27474 wxPyEndAllowThreads(__tstate
);
27475 if (PyErr_Occurred()) SWIG_fail
;
27477 resultobj
= SWIG_FromInt((int)result
);
27484 static PyObject
*_wrap_Window_GetScrollRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27485 PyObject
*resultobj
;
27486 wxWindow
*arg1
= (wxWindow
*) 0 ;
27489 PyObject
* obj0
= 0 ;
27490 PyObject
* obj1
= 0 ;
27491 char *kwnames
[] = {
27492 (char *) "self",(char *) "orientation", NULL
27495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollRange",kwnames
,&obj0
,&obj1
)) goto fail
;
27496 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27497 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27498 arg2
= (int) SWIG_AsInt(obj1
);
27499 if (PyErr_Occurred()) SWIG_fail
;
27501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27502 result
= (int)((wxWindow
const *)arg1
)->GetScrollRange(arg2
);
27504 wxPyEndAllowThreads(__tstate
);
27505 if (PyErr_Occurred()) SWIG_fail
;
27507 resultobj
= SWIG_FromInt((int)result
);
27514 static PyObject
*_wrap_Window_ScrollWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27515 PyObject
*resultobj
;
27516 wxWindow
*arg1
= (wxWindow
*) 0 ;
27519 wxRect
*arg4
= (wxRect
*) NULL
;
27520 PyObject
* obj0
= 0 ;
27521 PyObject
* obj1
= 0 ;
27522 PyObject
* obj2
= 0 ;
27523 PyObject
* obj3
= 0 ;
27524 char *kwnames
[] = {
27525 (char *) "self",(char *) "dx",(char *) "dy",(char *) "rect", NULL
27528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_ScrollWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27529 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27530 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27531 arg2
= (int) SWIG_AsInt(obj1
);
27532 if (PyErr_Occurred()) SWIG_fail
;
27533 arg3
= (int) SWIG_AsInt(obj2
);
27534 if (PyErr_Occurred()) SWIG_fail
;
27536 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxRect
,
27537 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27541 (arg1
)->ScrollWindow(arg2
,arg3
,(wxRect
const *)arg4
);
27543 wxPyEndAllowThreads(__tstate
);
27544 if (PyErr_Occurred()) SWIG_fail
;
27546 Py_INCREF(Py_None
); resultobj
= Py_None
;
27553 static PyObject
*_wrap_Window_ScrollLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27554 PyObject
*resultobj
;
27555 wxWindow
*arg1
= (wxWindow
*) 0 ;
27558 PyObject
* obj0
= 0 ;
27559 PyObject
* obj1
= 0 ;
27560 char *kwnames
[] = {
27561 (char *) "self",(char *) "lines", NULL
27564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScrollLines",kwnames
,&obj0
,&obj1
)) goto fail
;
27565 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27566 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27567 arg2
= (int) SWIG_AsInt(obj1
);
27568 if (PyErr_Occurred()) SWIG_fail
;
27570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27571 result
= (bool)(arg1
)->ScrollLines(arg2
);
27573 wxPyEndAllowThreads(__tstate
);
27574 if (PyErr_Occurred()) SWIG_fail
;
27577 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27585 static PyObject
*_wrap_Window_ScrollPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27586 PyObject
*resultobj
;
27587 wxWindow
*arg1
= (wxWindow
*) 0 ;
27590 PyObject
* obj0
= 0 ;
27591 PyObject
* obj1
= 0 ;
27592 char *kwnames
[] = {
27593 (char *) "self",(char *) "pages", NULL
27596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScrollPages",kwnames
,&obj0
,&obj1
)) goto fail
;
27597 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27598 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27599 arg2
= (int) SWIG_AsInt(obj1
);
27600 if (PyErr_Occurred()) SWIG_fail
;
27602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27603 result
= (bool)(arg1
)->ScrollPages(arg2
);
27605 wxPyEndAllowThreads(__tstate
);
27606 if (PyErr_Occurred()) SWIG_fail
;
27609 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27617 static PyObject
*_wrap_Window_LineUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27618 PyObject
*resultobj
;
27619 wxWindow
*arg1
= (wxWindow
*) 0 ;
27621 PyObject
* obj0
= 0 ;
27622 char *kwnames
[] = {
27623 (char *) "self", NULL
27626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_LineUp",kwnames
,&obj0
)) goto fail
;
27627 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27628 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27631 result
= (bool)(arg1
)->LineUp();
27633 wxPyEndAllowThreads(__tstate
);
27634 if (PyErr_Occurred()) SWIG_fail
;
27637 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27645 static PyObject
*_wrap_Window_LineDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27646 PyObject
*resultobj
;
27647 wxWindow
*arg1
= (wxWindow
*) 0 ;
27649 PyObject
* obj0
= 0 ;
27650 char *kwnames
[] = {
27651 (char *) "self", NULL
27654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_LineDown",kwnames
,&obj0
)) goto fail
;
27655 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27656 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27659 result
= (bool)(arg1
)->LineDown();
27661 wxPyEndAllowThreads(__tstate
);
27662 if (PyErr_Occurred()) SWIG_fail
;
27665 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27673 static PyObject
*_wrap_Window_PageUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27674 PyObject
*resultobj
;
27675 wxWindow
*arg1
= (wxWindow
*) 0 ;
27677 PyObject
* obj0
= 0 ;
27678 char *kwnames
[] = {
27679 (char *) "self", NULL
27682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PageUp",kwnames
,&obj0
)) goto fail
;
27683 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27684 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27687 result
= (bool)(arg1
)->PageUp();
27689 wxPyEndAllowThreads(__tstate
);
27690 if (PyErr_Occurred()) SWIG_fail
;
27693 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27701 static PyObject
*_wrap_Window_PageDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27702 PyObject
*resultobj
;
27703 wxWindow
*arg1
= (wxWindow
*) 0 ;
27705 PyObject
* obj0
= 0 ;
27706 char *kwnames
[] = {
27707 (char *) "self", NULL
27710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PageDown",kwnames
,&obj0
)) goto fail
;
27711 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27712 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27715 result
= (bool)(arg1
)->PageDown();
27717 wxPyEndAllowThreads(__tstate
);
27718 if (PyErr_Occurred()) SWIG_fail
;
27721 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27729 static PyObject
*_wrap_Window_SetHelpText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27730 PyObject
*resultobj
;
27731 wxWindow
*arg1
= (wxWindow
*) 0 ;
27732 wxString
*arg2
= 0 ;
27733 bool temp2
= False
;
27734 PyObject
* obj0
= 0 ;
27735 PyObject
* obj1
= 0 ;
27736 char *kwnames
[] = {
27737 (char *) "self",(char *) "text", NULL
27740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpText",kwnames
,&obj0
,&obj1
)) goto fail
;
27741 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27742 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27744 arg2
= wxString_in_helper(obj1
);
27745 if (arg2
== NULL
) SWIG_fail
;
27749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27750 (arg1
)->SetHelpText((wxString
const &)*arg2
);
27752 wxPyEndAllowThreads(__tstate
);
27753 if (PyErr_Occurred()) SWIG_fail
;
27755 Py_INCREF(Py_None
); resultobj
= Py_None
;
27770 static PyObject
*_wrap_Window_SetHelpTextForId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27771 PyObject
*resultobj
;
27772 wxWindow
*arg1
= (wxWindow
*) 0 ;
27773 wxString
*arg2
= 0 ;
27774 bool temp2
= False
;
27775 PyObject
* obj0
= 0 ;
27776 PyObject
* obj1
= 0 ;
27777 char *kwnames
[] = {
27778 (char *) "self",(char *) "text", NULL
27781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpTextForId",kwnames
,&obj0
,&obj1
)) goto fail
;
27782 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27783 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27785 arg2
= wxString_in_helper(obj1
);
27786 if (arg2
== NULL
) SWIG_fail
;
27790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27791 (arg1
)->SetHelpTextForId((wxString
const &)*arg2
);
27793 wxPyEndAllowThreads(__tstate
);
27794 if (PyErr_Occurred()) SWIG_fail
;
27796 Py_INCREF(Py_None
); resultobj
= Py_None
;
27811 static PyObject
*_wrap_Window_GetHelpText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27812 PyObject
*resultobj
;
27813 wxWindow
*arg1
= (wxWindow
*) 0 ;
27815 PyObject
* obj0
= 0 ;
27816 char *kwnames
[] = {
27817 (char *) "self", NULL
27820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetHelpText",kwnames
,&obj0
)) goto fail
;
27821 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27822 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27825 result
= ((wxWindow
const *)arg1
)->GetHelpText();
27827 wxPyEndAllowThreads(__tstate
);
27828 if (PyErr_Occurred()) SWIG_fail
;
27832 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27834 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27843 static PyObject
*_wrap_Window_SetToolTipString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27844 PyObject
*resultobj
;
27845 wxWindow
*arg1
= (wxWindow
*) 0 ;
27846 wxString
*arg2
= 0 ;
27847 bool temp2
= False
;
27848 PyObject
* obj0
= 0 ;
27849 PyObject
* obj1
= 0 ;
27850 char *kwnames
[] = {
27851 (char *) "self",(char *) "tip", NULL
27854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTipString",kwnames
,&obj0
,&obj1
)) goto fail
;
27855 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27856 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27858 arg2
= wxString_in_helper(obj1
);
27859 if (arg2
== NULL
) SWIG_fail
;
27863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27864 (arg1
)->SetToolTip((wxString
const &)*arg2
);
27866 wxPyEndAllowThreads(__tstate
);
27867 if (PyErr_Occurred()) SWIG_fail
;
27869 Py_INCREF(Py_None
); resultobj
= Py_None
;
27884 static PyObject
*_wrap_Window_SetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27885 PyObject
*resultobj
;
27886 wxWindow
*arg1
= (wxWindow
*) 0 ;
27887 wxToolTip
*arg2
= (wxToolTip
*) 0 ;
27888 PyObject
* obj0
= 0 ;
27889 PyObject
* obj1
= 0 ;
27890 char *kwnames
[] = {
27891 (char *) "self",(char *) "tip", NULL
27894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTip",kwnames
,&obj0
,&obj1
)) goto fail
;
27895 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27896 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27897 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolTip
,
27898 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27901 (arg1
)->SetToolTip(arg2
);
27903 wxPyEndAllowThreads(__tstate
);
27904 if (PyErr_Occurred()) SWIG_fail
;
27906 Py_INCREF(Py_None
); resultobj
= Py_None
;
27913 static PyObject
*_wrap_Window_GetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27914 PyObject
*resultobj
;
27915 wxWindow
*arg1
= (wxWindow
*) 0 ;
27917 PyObject
* obj0
= 0 ;
27918 char *kwnames
[] = {
27919 (char *) "self", NULL
27922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetToolTip",kwnames
,&obj0
)) goto fail
;
27923 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27924 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27927 result
= (wxToolTip
*)((wxWindow
const *)arg1
)->GetToolTip();
27929 wxPyEndAllowThreads(__tstate
);
27930 if (PyErr_Occurred()) SWIG_fail
;
27933 resultobj
= wxPyMake_wxObject(result
, 0);
27941 static PyObject
*_wrap_Window_SetDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27942 PyObject
*resultobj
;
27943 wxWindow
*arg1
= (wxWindow
*) 0 ;
27944 wxPyDropTarget
*arg2
= (wxPyDropTarget
*) 0 ;
27945 PyObject
* obj0
= 0 ;
27946 PyObject
* obj1
= 0 ;
27947 char *kwnames
[] = {
27948 (char *) "self",(char *) "dropTarget", NULL
27951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDropTarget",kwnames
,&obj0
,&obj1
)) goto fail
;
27952 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27953 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27954 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyDropTarget
,
27955 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
27957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27958 (arg1
)->SetDropTarget(arg2
);
27960 wxPyEndAllowThreads(__tstate
);
27961 if (PyErr_Occurred()) SWIG_fail
;
27963 Py_INCREF(Py_None
); resultobj
= Py_None
;
27970 static PyObject
*_wrap_Window_GetDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27971 PyObject
*resultobj
;
27972 wxWindow
*arg1
= (wxWindow
*) 0 ;
27973 wxPyDropTarget
*result
;
27974 PyObject
* obj0
= 0 ;
27975 char *kwnames
[] = {
27976 (char *) "self", NULL
27979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDropTarget",kwnames
,&obj0
)) goto fail
;
27980 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27981 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27984 result
= (wxPyDropTarget
*)((wxWindow
const *)arg1
)->GetDropTarget();
27986 wxPyEndAllowThreads(__tstate
);
27987 if (PyErr_Occurred()) SWIG_fail
;
27989 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropTarget
, 0);
27996 static PyObject
*_wrap_Window_DragAcceptFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27997 PyObject
*resultobj
;
27998 wxWindow
*arg1
= (wxWindow
*) 0 ;
28000 PyObject
* obj0
= 0 ;
28001 PyObject
* obj1
= 0 ;
28002 char *kwnames
[] = {
28003 (char *) "self",(char *) "accept", NULL
28006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DragAcceptFiles",kwnames
,&obj0
,&obj1
)) goto fail
;
28007 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28008 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28009 arg2
= (bool) SWIG_AsBool(obj1
);
28010 if (PyErr_Occurred()) SWIG_fail
;
28012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28013 (arg1
)->DragAcceptFiles(arg2
);
28015 wxPyEndAllowThreads(__tstate
);
28016 if (PyErr_Occurred()) SWIG_fail
;
28018 Py_INCREF(Py_None
); resultobj
= Py_None
;
28025 static PyObject
*_wrap_Window_SetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28026 PyObject
*resultobj
;
28027 wxWindow
*arg1
= (wxWindow
*) 0 ;
28028 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
28029 PyObject
* obj0
= 0 ;
28030 PyObject
* obj1
= 0 ;
28031 char *kwnames
[] = {
28032 (char *) "self",(char *) "constraints", NULL
28035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetConstraints",kwnames
,&obj0
,&obj1
)) goto fail
;
28036 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28037 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28038 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxLayoutConstraints
,
28039 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28042 (arg1
)->SetConstraints(arg2
);
28044 wxPyEndAllowThreads(__tstate
);
28045 if (PyErr_Occurred()) SWIG_fail
;
28047 Py_INCREF(Py_None
); resultobj
= Py_None
;
28054 static PyObject
*_wrap_Window_GetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28055 PyObject
*resultobj
;
28056 wxWindow
*arg1
= (wxWindow
*) 0 ;
28057 wxLayoutConstraints
*result
;
28058 PyObject
* obj0
= 0 ;
28059 char *kwnames
[] = {
28060 (char *) "self", NULL
28063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetConstraints",kwnames
,&obj0
)) goto fail
;
28064 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28065 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28068 result
= (wxLayoutConstraints
*)((wxWindow
const *)arg1
)->GetConstraints();
28070 wxPyEndAllowThreads(__tstate
);
28071 if (PyErr_Occurred()) SWIG_fail
;
28073 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutConstraints
, 0);
28080 static PyObject
*_wrap_Window_SetAutoLayout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28081 PyObject
*resultobj
;
28082 wxWindow
*arg1
= (wxWindow
*) 0 ;
28084 PyObject
* obj0
= 0 ;
28085 PyObject
* obj1
= 0 ;
28086 char *kwnames
[] = {
28087 (char *) "self",(char *) "autoLayout", NULL
28090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAutoLayout",kwnames
,&obj0
,&obj1
)) goto fail
;
28091 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28092 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28093 arg2
= (bool) SWIG_AsBool(obj1
);
28094 if (PyErr_Occurred()) SWIG_fail
;
28096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28097 (arg1
)->SetAutoLayout(arg2
);
28099 wxPyEndAllowThreads(__tstate
);
28100 if (PyErr_Occurred()) SWIG_fail
;
28102 Py_INCREF(Py_None
); resultobj
= Py_None
;
28109 static PyObject
*_wrap_Window_GetAutoLayout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28110 PyObject
*resultobj
;
28111 wxWindow
*arg1
= (wxWindow
*) 0 ;
28113 PyObject
* obj0
= 0 ;
28114 char *kwnames
[] = {
28115 (char *) "self", NULL
28118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAutoLayout",kwnames
,&obj0
)) goto fail
;
28119 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28120 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28123 result
= (bool)((wxWindow
const *)arg1
)->GetAutoLayout();
28125 wxPyEndAllowThreads(__tstate
);
28126 if (PyErr_Occurred()) SWIG_fail
;
28129 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28137 static PyObject
*_wrap_Window_Layout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28138 PyObject
*resultobj
;
28139 wxWindow
*arg1
= (wxWindow
*) 0 ;
28141 PyObject
* obj0
= 0 ;
28142 char *kwnames
[] = {
28143 (char *) "self", NULL
28146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Layout",kwnames
,&obj0
)) goto fail
;
28147 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28148 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28151 result
= (bool)(arg1
)->Layout();
28153 wxPyEndAllowThreads(__tstate
);
28154 if (PyErr_Occurred()) SWIG_fail
;
28157 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28165 static PyObject
*_wrap_Window_SetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28166 PyObject
*resultobj
;
28167 wxWindow
*arg1
= (wxWindow
*) 0 ;
28168 wxSizer
*arg2
= (wxSizer
*) 0 ;
28169 bool arg3
= (bool) True
;
28170 PyObject
* obj0
= 0 ;
28171 PyObject
* obj1
= 0 ;
28172 PyObject
* obj2
= 0 ;
28173 char *kwnames
[] = {
28174 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
28177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizer",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28178 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28179 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28180 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
28181 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28183 arg3
= (bool) SWIG_AsBool(obj2
);
28184 if (PyErr_Occurred()) SWIG_fail
;
28187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28188 (arg1
)->SetSizer(arg2
,arg3
);
28190 wxPyEndAllowThreads(__tstate
);
28191 if (PyErr_Occurred()) SWIG_fail
;
28193 Py_INCREF(Py_None
); resultobj
= Py_None
;
28200 static PyObject
*_wrap_Window_SetSizerAndFit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28201 PyObject
*resultobj
;
28202 wxWindow
*arg1
= (wxWindow
*) 0 ;
28203 wxSizer
*arg2
= (wxSizer
*) 0 ;
28204 bool arg3
= (bool) True
;
28205 PyObject
* obj0
= 0 ;
28206 PyObject
* obj1
= 0 ;
28207 PyObject
* obj2
= 0 ;
28208 char *kwnames
[] = {
28209 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
28212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizerAndFit",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28213 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28214 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28215 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
28216 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28218 arg3
= (bool) SWIG_AsBool(obj2
);
28219 if (PyErr_Occurred()) SWIG_fail
;
28222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28223 (arg1
)->SetSizerAndFit(arg2
,arg3
);
28225 wxPyEndAllowThreads(__tstate
);
28226 if (PyErr_Occurred()) SWIG_fail
;
28228 Py_INCREF(Py_None
); resultobj
= Py_None
;
28235 static PyObject
*_wrap_Window_GetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28236 PyObject
*resultobj
;
28237 wxWindow
*arg1
= (wxWindow
*) 0 ;
28239 PyObject
* obj0
= 0 ;
28240 char *kwnames
[] = {
28241 (char *) "self", NULL
28244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSizer",kwnames
,&obj0
)) goto fail
;
28245 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28246 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28249 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetSizer();
28251 wxPyEndAllowThreads(__tstate
);
28252 if (PyErr_Occurred()) SWIG_fail
;
28255 resultobj
= wxPyMake_wxSizer(result
, 0);
28263 static PyObject
*_wrap_Window_SetContainingSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28264 PyObject
*resultobj
;
28265 wxWindow
*arg1
= (wxWindow
*) 0 ;
28266 wxSizer
*arg2
= (wxSizer
*) 0 ;
28267 PyObject
* obj0
= 0 ;
28268 PyObject
* obj1
= 0 ;
28269 char *kwnames
[] = {
28270 (char *) "self",(char *) "sizer", NULL
28273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetContainingSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
28274 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28275 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28276 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
28277 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28280 (arg1
)->SetContainingSizer(arg2
);
28282 wxPyEndAllowThreads(__tstate
);
28283 if (PyErr_Occurred()) SWIG_fail
;
28285 Py_INCREF(Py_None
); resultobj
= Py_None
;
28292 static PyObject
*_wrap_Window_GetContainingSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28293 PyObject
*resultobj
;
28294 wxWindow
*arg1
= (wxWindow
*) 0 ;
28296 PyObject
* obj0
= 0 ;
28297 char *kwnames
[] = {
28298 (char *) "self", NULL
28301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetContainingSizer",kwnames
,&obj0
)) goto fail
;
28302 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28303 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28306 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetContainingSizer();
28308 wxPyEndAllowThreads(__tstate
);
28309 if (PyErr_Occurred()) SWIG_fail
;
28312 resultobj
= wxPyMake_wxSizer(result
, 0);
28320 static PyObject
*_wrap_Window_InheritAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28321 PyObject
*resultobj
;
28322 wxWindow
*arg1
= (wxWindow
*) 0 ;
28323 PyObject
* obj0
= 0 ;
28324 char *kwnames
[] = {
28325 (char *) "self", NULL
28328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InheritAttributes",kwnames
,&obj0
)) goto fail
;
28329 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28330 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28333 (arg1
)->InheritAttributes();
28335 wxPyEndAllowThreads(__tstate
);
28336 if (PyErr_Occurred()) SWIG_fail
;
28338 Py_INCREF(Py_None
); resultobj
= Py_None
;
28345 static PyObject
*_wrap_Window_ShouldInheritColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28346 PyObject
*resultobj
;
28347 wxWindow
*arg1
= (wxWindow
*) 0 ;
28349 PyObject
* obj0
= 0 ;
28350 char *kwnames
[] = {
28351 (char *) "self", NULL
28354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
28355 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28356 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28359 result
= (bool)((wxWindow
const *)arg1
)->ShouldInheritColours();
28361 wxPyEndAllowThreads(__tstate
);
28362 if (PyErr_Occurred()) SWIG_fail
;
28365 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28373 static PyObject
* Window_swigregister(PyObject
*self
, PyObject
*args
) {
28375 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28376 SWIG_TypeClientData(SWIGTYPE_p_wxWindow
, obj
);
28378 return Py_BuildValue((char *)"");
28380 static PyObject
*_wrap_FindWindowById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28381 PyObject
*resultobj
;
28383 wxWindow
*arg2
= (wxWindow
*) NULL
;
28385 PyObject
* obj0
= 0 ;
28386 PyObject
* obj1
= 0 ;
28387 char *kwnames
[] = {
28388 (char *) "id",(char *) "parent", NULL
28391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowById",kwnames
,&obj0
,&obj1
)) goto fail
;
28392 arg1
= (long) SWIG_AsLong(obj0
);
28393 if (PyErr_Occurred()) SWIG_fail
;
28395 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28396 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28399 if (!wxPyCheckForApp()) SWIG_fail
;
28400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28401 result
= (wxWindow
*)wxFindWindowById(arg1
,(wxWindow
const *)arg2
);
28403 wxPyEndAllowThreads(__tstate
);
28404 if (PyErr_Occurred()) SWIG_fail
;
28407 resultobj
= wxPyMake_wxObject(result
, 0);
28415 static PyObject
*_wrap_FindWindowByName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28416 PyObject
*resultobj
;
28417 wxString
*arg1
= 0 ;
28418 wxWindow
*arg2
= (wxWindow
*) NULL
;
28420 bool temp1
= False
;
28421 PyObject
* obj0
= 0 ;
28422 PyObject
* obj1
= 0 ;
28423 char *kwnames
[] = {
28424 (char *) "name",(char *) "parent", NULL
28427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByName",kwnames
,&obj0
,&obj1
)) goto fail
;
28429 arg1
= wxString_in_helper(obj0
);
28430 if (arg1
== NULL
) SWIG_fail
;
28434 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28435 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28438 if (!wxPyCheckForApp()) SWIG_fail
;
28439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28440 result
= (wxWindow
*)wxFindWindowByName((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
28442 wxPyEndAllowThreads(__tstate
);
28443 if (PyErr_Occurred()) SWIG_fail
;
28446 resultobj
= wxPyMake_wxObject(result
, 0);
28462 static PyObject
*_wrap_FindWindowByLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28463 PyObject
*resultobj
;
28464 wxString
*arg1
= 0 ;
28465 wxWindow
*arg2
= (wxWindow
*) NULL
;
28467 bool temp1
= False
;
28468 PyObject
* obj0
= 0 ;
28469 PyObject
* obj1
= 0 ;
28470 char *kwnames
[] = {
28471 (char *) "label",(char *) "parent", NULL
28474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
28476 arg1
= wxString_in_helper(obj0
);
28477 if (arg1
== NULL
) SWIG_fail
;
28481 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28482 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28485 if (!wxPyCheckForApp()) SWIG_fail
;
28486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28487 result
= (wxWindow
*)wxFindWindowByLabel((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
28489 wxPyEndAllowThreads(__tstate
);
28490 if (PyErr_Occurred()) SWIG_fail
;
28493 resultobj
= wxPyMake_wxObject(result
, 0);
28509 static PyObject
*_wrap_Window_FromHWND(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28510 PyObject
*resultobj
;
28511 wxWindow
*arg1
= (wxWindow
*) 0 ;
28512 unsigned long arg2
;
28514 PyObject
* obj0
= 0 ;
28515 PyObject
* obj1
= 0 ;
28516 char *kwnames
[] = {
28517 (char *) "parent",(char *) "_hWnd", NULL
28520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FromHWND",kwnames
,&obj0
,&obj1
)) goto fail
;
28521 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28522 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28523 arg2
= (unsigned long) SWIG_AsUnsignedLong(obj1
);
28524 if (PyErr_Occurred()) SWIG_fail
;
28526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28527 result
= (wxWindow
*)wxWindow_FromHWND(arg1
,arg2
);
28529 wxPyEndAllowThreads(__tstate
);
28530 if (PyErr_Occurred()) SWIG_fail
;
28533 resultobj
= wxPyMake_wxObject(result
, 0);
28541 static PyObject
*_wrap_new_Validator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28542 PyObject
*resultobj
;
28543 wxValidator
*result
;
28544 char *kwnames
[] = {
28548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Validator",kwnames
)) goto fail
;
28550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28551 result
= (wxValidator
*)new wxValidator();
28553 wxPyEndAllowThreads(__tstate
);
28554 if (PyErr_Occurred()) SWIG_fail
;
28556 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxValidator
, 1);
28563 static PyObject
*_wrap_Validator_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28564 PyObject
*resultobj
;
28565 wxValidator
*arg1
= (wxValidator
*) 0 ;
28566 wxValidator
*result
;
28567 PyObject
* obj0
= 0 ;
28568 char *kwnames
[] = {
28569 (char *) "self", NULL
28572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_Clone",kwnames
,&obj0
)) goto fail
;
28573 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
28574 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28577 result
= (wxValidator
*)(arg1
)->Clone();
28579 wxPyEndAllowThreads(__tstate
);
28580 if (PyErr_Occurred()) SWIG_fail
;
28583 resultobj
= wxPyMake_wxObject(result
, 0);
28591 static PyObject
*_wrap_Validator_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28592 PyObject
*resultobj
;
28593 wxValidator
*arg1
= (wxValidator
*) 0 ;
28594 wxWindow
*arg2
= (wxWindow
*) 0 ;
28596 PyObject
* obj0
= 0 ;
28597 PyObject
* obj1
= 0 ;
28598 char *kwnames
[] = {
28599 (char *) "self",(char *) "parent", NULL
28602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_Validate",kwnames
,&obj0
,&obj1
)) goto fail
;
28603 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
28604 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28605 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28609 result
= (bool)(arg1
)->Validate(arg2
);
28611 wxPyEndAllowThreads(__tstate
);
28612 if (PyErr_Occurred()) SWIG_fail
;
28615 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28623 static PyObject
*_wrap_Validator_TransferToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28624 PyObject
*resultobj
;
28625 wxValidator
*arg1
= (wxValidator
*) 0 ;
28627 PyObject
* obj0
= 0 ;
28628 char *kwnames
[] = {
28629 (char *) "self", NULL
28632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_TransferToWindow",kwnames
,&obj0
)) goto fail
;
28633 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
28634 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28637 result
= (bool)(arg1
)->TransferToWindow();
28639 wxPyEndAllowThreads(__tstate
);
28640 if (PyErr_Occurred()) SWIG_fail
;
28643 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28651 static PyObject
*_wrap_Validator_TransferFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28652 PyObject
*resultobj
;
28653 wxValidator
*arg1
= (wxValidator
*) 0 ;
28655 PyObject
* obj0
= 0 ;
28656 char *kwnames
[] = {
28657 (char *) "self", NULL
28660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_TransferFromWindow",kwnames
,&obj0
)) goto fail
;
28661 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
28662 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28665 result
= (bool)(arg1
)->TransferFromWindow();
28667 wxPyEndAllowThreads(__tstate
);
28668 if (PyErr_Occurred()) SWIG_fail
;
28671 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28679 static PyObject
*_wrap_Validator_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28680 PyObject
*resultobj
;
28681 wxValidator
*arg1
= (wxValidator
*) 0 ;
28683 PyObject
* obj0
= 0 ;
28684 char *kwnames
[] = {
28685 (char *) "self", NULL
28688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_GetWindow",kwnames
,&obj0
)) goto fail
;
28689 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
28690 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28693 result
= (wxWindow
*)(arg1
)->GetWindow();
28695 wxPyEndAllowThreads(__tstate
);
28696 if (PyErr_Occurred()) SWIG_fail
;
28699 resultobj
= wxPyMake_wxObject(result
, 0);
28707 static PyObject
*_wrap_Validator_SetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28708 PyObject
*resultobj
;
28709 wxValidator
*arg1
= (wxValidator
*) 0 ;
28710 wxWindow
*arg2
= (wxWindow
*) 0 ;
28711 PyObject
* obj0
= 0 ;
28712 PyObject
* obj1
= 0 ;
28713 char *kwnames
[] = {
28714 (char *) "self",(char *) "window", NULL
28717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
28718 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
28719 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28720 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28721 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28724 (arg1
)->SetWindow(arg2
);
28726 wxPyEndAllowThreads(__tstate
);
28727 if (PyErr_Occurred()) SWIG_fail
;
28729 Py_INCREF(Py_None
); resultobj
= Py_None
;
28736 static PyObject
*_wrap_Validator_IsSilent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28737 PyObject
*resultobj
;
28739 char *kwnames
[] = {
28743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Validator_IsSilent",kwnames
)) goto fail
;
28745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28746 result
= (bool)wxValidator::IsSilent();
28748 wxPyEndAllowThreads(__tstate
);
28749 if (PyErr_Occurred()) SWIG_fail
;
28752 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28760 static PyObject
*_wrap_Validator_SetBellOnError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28761 PyObject
*resultobj
;
28762 int arg1
= (int) True
;
28763 PyObject
* obj0
= 0 ;
28764 char *kwnames
[] = {
28765 (char *) "doIt", NULL
28768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Validator_SetBellOnError",kwnames
,&obj0
)) goto fail
;
28770 arg1
= (int) SWIG_AsInt(obj0
);
28771 if (PyErr_Occurred()) SWIG_fail
;
28774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28775 wxValidator::SetBellOnError(arg1
);
28777 wxPyEndAllowThreads(__tstate
);
28778 if (PyErr_Occurred()) SWIG_fail
;
28780 Py_INCREF(Py_None
); resultobj
= Py_None
;
28787 static PyObject
* Validator_swigregister(PyObject
*self
, PyObject
*args
) {
28789 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28790 SWIG_TypeClientData(SWIGTYPE_p_wxValidator
, obj
);
28792 return Py_BuildValue((char *)"");
28794 static PyObject
*_wrap_new_PyValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28795 PyObject
*resultobj
;
28796 wxPyValidator
*result
;
28797 char *kwnames
[] = {
28801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyValidator",kwnames
)) goto fail
;
28803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28804 result
= (wxPyValidator
*)new wxPyValidator();
28806 wxPyEndAllowThreads(__tstate
);
28807 if (PyErr_Occurred()) SWIG_fail
;
28809 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyValidator
, 1);
28816 static PyObject
*_wrap_PyValidator__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28817 PyObject
*resultobj
;
28818 wxPyValidator
*arg1
= (wxPyValidator
*) 0 ;
28819 PyObject
*arg2
= (PyObject
*) 0 ;
28820 PyObject
*arg3
= (PyObject
*) 0 ;
28821 int arg4
= (int) True
;
28822 PyObject
* obj0
= 0 ;
28823 PyObject
* obj1
= 0 ;
28824 PyObject
* obj2
= 0 ;
28825 PyObject
* obj3
= 0 ;
28826 char *kwnames
[] = {
28827 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
28830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PyValidator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28831 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyValidator
,
28832 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28836 arg4
= (int) SWIG_AsInt(obj3
);
28837 if (PyErr_Occurred()) SWIG_fail
;
28840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28841 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
28843 wxPyEndAllowThreads(__tstate
);
28844 if (PyErr_Occurred()) SWIG_fail
;
28846 Py_INCREF(Py_None
); resultobj
= Py_None
;
28853 static PyObject
* PyValidator_swigregister(PyObject
*self
, PyObject
*args
) {
28855 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28856 SWIG_TypeClientData(SWIGTYPE_p_wxPyValidator
, obj
);
28858 return Py_BuildValue((char *)"");
28860 static int _wrap_DefaultValidator_set(PyObject
*_val
) {
28861 PyErr_SetString(PyExc_TypeError
,"Variable DefaultValidator is read-only.");
28866 static PyObject
*_wrap_DefaultValidator_get() {
28869 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultValidator
), SWIGTYPE_p_wxValidator
, 0);
28874 static PyObject
*_wrap_new_Menu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28875 PyObject
*resultobj
;
28876 wxString
const &arg1_defvalue
= wxPyEmptyString
;
28877 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
28878 long arg2
= (long) 0 ;
28880 bool temp1
= False
;
28881 PyObject
* obj0
= 0 ;
28882 PyObject
* obj1
= 0 ;
28883 char *kwnames
[] = {
28884 (char *) "title",(char *) "style", NULL
28887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Menu",kwnames
,&obj0
,&obj1
)) goto fail
;
28890 arg1
= wxString_in_helper(obj0
);
28891 if (arg1
== NULL
) SWIG_fail
;
28896 arg2
= (long) SWIG_AsLong(obj1
);
28897 if (PyErr_Occurred()) SWIG_fail
;
28900 if (!wxPyCheckForApp()) SWIG_fail
;
28901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28902 result
= (wxMenu
*)new wxMenu((wxString
const &)*arg1
,arg2
);
28904 wxPyEndAllowThreads(__tstate
);
28905 if (PyErr_Occurred()) SWIG_fail
;
28907 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMenu
, 1);
28922 static PyObject
*_wrap_Menu_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28923 PyObject
*resultobj
;
28924 wxMenu
*arg1
= (wxMenu
*) 0 ;
28926 wxString
*arg3
= 0 ;
28927 wxString
const &arg4_defvalue
= wxPyEmptyString
;
28928 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
28929 int arg5
= (int) wxITEM_NORMAL
;
28930 wxMenuItem
*result
;
28931 bool temp3
= False
;
28932 bool temp4
= False
;
28933 PyObject
* obj0
= 0 ;
28934 PyObject
* obj1
= 0 ;
28935 PyObject
* obj2
= 0 ;
28936 PyObject
* obj3
= 0 ;
28937 PyObject
* obj4
= 0 ;
28938 char *kwnames
[] = {
28939 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
28942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Menu_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
28943 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28944 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28945 arg2
= (int) SWIG_AsInt(obj1
);
28946 if (PyErr_Occurred()) SWIG_fail
;
28948 arg3
= wxString_in_helper(obj2
);
28949 if (arg3
== NULL
) SWIG_fail
;
28954 arg4
= wxString_in_helper(obj3
);
28955 if (arg4
== NULL
) SWIG_fail
;
28960 arg5
= (wxItemKind
) SWIG_AsInt(obj4
);
28961 if (PyErr_Occurred()) SWIG_fail
;
28964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28965 result
= (wxMenuItem
*)(arg1
)->Append(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
);
28967 wxPyEndAllowThreads(__tstate
);
28968 if (PyErr_Occurred()) SWIG_fail
;
28971 resultobj
= wxPyMake_wxObject(result
, 0);
28995 static PyObject
*_wrap_Menu_AppendSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28996 PyObject
*resultobj
;
28997 wxMenu
*arg1
= (wxMenu
*) 0 ;
28998 wxMenuItem
*result
;
28999 PyObject
* obj0
= 0 ;
29000 char *kwnames
[] = {
29001 (char *) "self", NULL
29004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_AppendSeparator",kwnames
,&obj0
)) goto fail
;
29005 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29006 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29009 result
= (wxMenuItem
*)(arg1
)->AppendSeparator();
29011 wxPyEndAllowThreads(__tstate
);
29012 if (PyErr_Occurred()) SWIG_fail
;
29015 resultobj
= wxPyMake_wxObject(result
, 0);
29023 static PyObject
*_wrap_Menu_AppendCheckItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29024 PyObject
*resultobj
;
29025 wxMenu
*arg1
= (wxMenu
*) 0 ;
29027 wxString
*arg3
= 0 ;
29028 wxString
const &arg4_defvalue
= wxPyEmptyString
;
29029 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
29030 wxMenuItem
*result
;
29031 bool temp3
= False
;
29032 bool temp4
= False
;
29033 PyObject
* obj0
= 0 ;
29034 PyObject
* obj1
= 0 ;
29035 PyObject
* obj2
= 0 ;
29036 PyObject
* obj3
= 0 ;
29037 char *kwnames
[] = {
29038 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
29041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_AppendCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29042 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29043 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29044 arg2
= (int) SWIG_AsInt(obj1
);
29045 if (PyErr_Occurred()) SWIG_fail
;
29047 arg3
= wxString_in_helper(obj2
);
29048 if (arg3
== NULL
) SWIG_fail
;
29053 arg4
= wxString_in_helper(obj3
);
29054 if (arg4
== NULL
) SWIG_fail
;
29059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29060 result
= (wxMenuItem
*)(arg1
)->AppendCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
29062 wxPyEndAllowThreads(__tstate
);
29063 if (PyErr_Occurred()) SWIG_fail
;
29066 resultobj
= wxPyMake_wxObject(result
, 0);
29090 static PyObject
*_wrap_Menu_AppendRadioItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29091 PyObject
*resultobj
;
29092 wxMenu
*arg1
= (wxMenu
*) 0 ;
29094 wxString
*arg3
= 0 ;
29095 wxString
const &arg4_defvalue
= wxPyEmptyString
;
29096 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
29097 wxMenuItem
*result
;
29098 bool temp3
= False
;
29099 bool temp4
= False
;
29100 PyObject
* obj0
= 0 ;
29101 PyObject
* obj1
= 0 ;
29102 PyObject
* obj2
= 0 ;
29103 PyObject
* obj3
= 0 ;
29104 char *kwnames
[] = {
29105 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
29108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_AppendRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29109 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29110 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29111 arg2
= (int) SWIG_AsInt(obj1
);
29112 if (PyErr_Occurred()) SWIG_fail
;
29114 arg3
= wxString_in_helper(obj2
);
29115 if (arg3
== NULL
) SWIG_fail
;
29120 arg4
= wxString_in_helper(obj3
);
29121 if (arg4
== NULL
) SWIG_fail
;
29126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29127 result
= (wxMenuItem
*)(arg1
)->AppendRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
29129 wxPyEndAllowThreads(__tstate
);
29130 if (PyErr_Occurred()) SWIG_fail
;
29133 resultobj
= wxPyMake_wxObject(result
, 0);
29157 static PyObject
*_wrap_Menu_AppendMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29158 PyObject
*resultobj
;
29159 wxMenu
*arg1
= (wxMenu
*) 0 ;
29161 wxString
*arg3
= 0 ;
29162 wxMenu
*arg4
= (wxMenu
*) 0 ;
29163 wxString
const &arg5_defvalue
= wxPyEmptyString
;
29164 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
29165 wxMenuItem
*result
;
29166 bool temp3
= False
;
29167 bool temp5
= False
;
29168 PyObject
* obj0
= 0 ;
29169 PyObject
* obj1
= 0 ;
29170 PyObject
* obj2
= 0 ;
29171 PyObject
* obj3
= 0 ;
29172 PyObject
* obj4
= 0 ;
29173 char *kwnames
[] = {
29174 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
29177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_AppendMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29178 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29179 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29180 arg2
= (int) SWIG_AsInt(obj1
);
29181 if (PyErr_Occurred()) SWIG_fail
;
29183 arg3
= wxString_in_helper(obj2
);
29184 if (arg3
== NULL
) SWIG_fail
;
29187 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxMenu
,
29188 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29191 arg5
= wxString_in_helper(obj4
);
29192 if (arg5
== NULL
) SWIG_fail
;
29197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29198 result
= (wxMenuItem
*)(arg1
)->Append(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
29200 wxPyEndAllowThreads(__tstate
);
29201 if (PyErr_Occurred()) SWIG_fail
;
29204 resultobj
= wxPyMake_wxObject(result
, 0);
29228 static PyObject
*_wrap_Menu_AppendItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29229 PyObject
*resultobj
;
29230 wxMenu
*arg1
= (wxMenu
*) 0 ;
29231 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
29232 wxMenuItem
*result
;
29233 PyObject
* obj0
= 0 ;
29234 PyObject
* obj1
= 0 ;
29235 char *kwnames
[] = {
29236 (char *) "self",(char *) "item", NULL
29239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_AppendItem",kwnames
,&obj0
,&obj1
)) goto fail
;
29240 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29241 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29242 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
29243 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29246 result
= (wxMenuItem
*)(arg1
)->Append(arg2
);
29248 wxPyEndAllowThreads(__tstate
);
29249 if (PyErr_Occurred()) SWIG_fail
;
29252 resultobj
= wxPyMake_wxObject(result
, 0);
29260 static PyObject
*_wrap_Menu_Break(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29261 PyObject
*resultobj
;
29262 wxMenu
*arg1
= (wxMenu
*) 0 ;
29263 PyObject
* obj0
= 0 ;
29264 char *kwnames
[] = {
29265 (char *) "self", NULL
29268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Break",kwnames
,&obj0
)) goto fail
;
29269 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29270 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29275 wxPyEndAllowThreads(__tstate
);
29276 if (PyErr_Occurred()) SWIG_fail
;
29278 Py_INCREF(Py_None
); resultobj
= Py_None
;
29285 static PyObject
*_wrap_Menu_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29286 PyObject
*resultobj
;
29287 wxMenu
*arg1
= (wxMenu
*) 0 ;
29289 wxMenuItem
*arg3
= (wxMenuItem
*) 0 ;
29290 wxMenuItem
*result
;
29291 PyObject
* obj0
= 0 ;
29292 PyObject
* obj1
= 0 ;
29293 PyObject
* obj2
= 0 ;
29294 char *kwnames
[] = {
29295 (char *) "self",(char *) "pos",(char *) "item", NULL
29298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29299 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29300 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29301 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
29302 if (PyErr_Occurred()) SWIG_fail
;
29303 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMenuItem
,
29304 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29307 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
);
29309 wxPyEndAllowThreads(__tstate
);
29310 if (PyErr_Occurred()) SWIG_fail
;
29313 resultobj
= wxPyMake_wxObject(result
, 0);
29321 static PyObject
*_wrap_Menu_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29322 PyObject
*resultobj
;
29323 wxMenu
*arg1
= (wxMenu
*) 0 ;
29326 wxString
*arg4
= 0 ;
29327 wxString
const &arg5_defvalue
= wxPyEmptyString
;
29328 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
29329 int arg6
= (int) wxITEM_NORMAL
;
29330 wxMenuItem
*result
;
29331 bool temp4
= False
;
29332 bool temp5
= False
;
29333 PyObject
* obj0
= 0 ;
29334 PyObject
* obj1
= 0 ;
29335 PyObject
* obj2
= 0 ;
29336 PyObject
* obj3
= 0 ;
29337 PyObject
* obj4
= 0 ;
29338 PyObject
* obj5
= 0 ;
29339 char *kwnames
[] = {
29340 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
29343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:Menu_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
29344 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29345 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29346 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
29347 if (PyErr_Occurred()) SWIG_fail
;
29348 arg3
= (int) SWIG_AsInt(obj2
);
29349 if (PyErr_Occurred()) SWIG_fail
;
29351 arg4
= wxString_in_helper(obj3
);
29352 if (arg4
== NULL
) SWIG_fail
;
29357 arg5
= wxString_in_helper(obj4
);
29358 if (arg5
== NULL
) SWIG_fail
;
29363 arg6
= (wxItemKind
) SWIG_AsInt(obj5
);
29364 if (PyErr_Occurred()) SWIG_fail
;
29367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29368 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,(wxItemKind
)arg6
);
29370 wxPyEndAllowThreads(__tstate
);
29371 if (PyErr_Occurred()) SWIG_fail
;
29374 resultobj
= wxPyMake_wxObject(result
, 0);
29398 static PyObject
*_wrap_Menu_InsertSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29399 PyObject
*resultobj
;
29400 wxMenu
*arg1
= (wxMenu
*) 0 ;
29402 wxMenuItem
*result
;
29403 PyObject
* obj0
= 0 ;
29404 PyObject
* obj1
= 0 ;
29405 char *kwnames
[] = {
29406 (char *) "self",(char *) "pos", NULL
29409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_InsertSeparator",kwnames
,&obj0
,&obj1
)) goto fail
;
29410 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29411 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29412 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
29413 if (PyErr_Occurred()) SWIG_fail
;
29415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29416 result
= (wxMenuItem
*)(arg1
)->InsertSeparator(arg2
);
29418 wxPyEndAllowThreads(__tstate
);
29419 if (PyErr_Occurred()) SWIG_fail
;
29422 resultobj
= wxPyMake_wxObject(result
, 0);
29430 static PyObject
*_wrap_Menu_InsertCheckItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29431 PyObject
*resultobj
;
29432 wxMenu
*arg1
= (wxMenu
*) 0 ;
29435 wxString
*arg4
= 0 ;
29436 wxString
const &arg5_defvalue
= wxPyEmptyString
;
29437 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
29438 wxMenuItem
*result
;
29439 bool temp4
= False
;
29440 bool temp5
= False
;
29441 PyObject
* obj0
= 0 ;
29442 PyObject
* obj1
= 0 ;
29443 PyObject
* obj2
= 0 ;
29444 PyObject
* obj3
= 0 ;
29445 PyObject
* obj4
= 0 ;
29446 char *kwnames
[] = {
29447 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
29450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_InsertCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29451 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29452 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29453 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
29454 if (PyErr_Occurred()) SWIG_fail
;
29455 arg3
= (int) SWIG_AsInt(obj2
);
29456 if (PyErr_Occurred()) SWIG_fail
;
29458 arg4
= wxString_in_helper(obj3
);
29459 if (arg4
== NULL
) SWIG_fail
;
29464 arg5
= wxString_in_helper(obj4
);
29465 if (arg5
== NULL
) SWIG_fail
;
29470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29471 result
= (wxMenuItem
*)(arg1
)->InsertCheckItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
29473 wxPyEndAllowThreads(__tstate
);
29474 if (PyErr_Occurred()) SWIG_fail
;
29477 resultobj
= wxPyMake_wxObject(result
, 0);
29501 static PyObject
*_wrap_Menu_InsertRadioItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29502 PyObject
*resultobj
;
29503 wxMenu
*arg1
= (wxMenu
*) 0 ;
29506 wxString
*arg4
= 0 ;
29507 wxString
const &arg5_defvalue
= wxPyEmptyString
;
29508 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
29509 wxMenuItem
*result
;
29510 bool temp4
= False
;
29511 bool temp5
= False
;
29512 PyObject
* obj0
= 0 ;
29513 PyObject
* obj1
= 0 ;
29514 PyObject
* obj2
= 0 ;
29515 PyObject
* obj3
= 0 ;
29516 PyObject
* obj4
= 0 ;
29517 char *kwnames
[] = {
29518 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
29521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_InsertRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29522 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29523 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29524 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
29525 if (PyErr_Occurred()) SWIG_fail
;
29526 arg3
= (int) SWIG_AsInt(obj2
);
29527 if (PyErr_Occurred()) SWIG_fail
;
29529 arg4
= wxString_in_helper(obj3
);
29530 if (arg4
== NULL
) SWIG_fail
;
29535 arg5
= wxString_in_helper(obj4
);
29536 if (arg5
== NULL
) SWIG_fail
;
29541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29542 result
= (wxMenuItem
*)(arg1
)->InsertRadioItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
29544 wxPyEndAllowThreads(__tstate
);
29545 if (PyErr_Occurred()) SWIG_fail
;
29548 resultobj
= wxPyMake_wxObject(result
, 0);
29572 static PyObject
*_wrap_Menu_InsertMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29573 PyObject
*resultobj
;
29574 wxMenu
*arg1
= (wxMenu
*) 0 ;
29577 wxString
*arg4
= 0 ;
29578 wxMenu
*arg5
= (wxMenu
*) 0 ;
29579 wxString
const &arg6_defvalue
= wxPyEmptyString
;
29580 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
29581 wxMenuItem
*result
;
29582 bool temp4
= False
;
29583 bool temp6
= False
;
29584 PyObject
* obj0
= 0 ;
29585 PyObject
* obj1
= 0 ;
29586 PyObject
* obj2
= 0 ;
29587 PyObject
* obj3
= 0 ;
29588 PyObject
* obj4
= 0 ;
29589 PyObject
* obj5
= 0 ;
29590 char *kwnames
[] = {
29591 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
29594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Menu_InsertMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
29595 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29596 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29597 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
29598 if (PyErr_Occurred()) SWIG_fail
;
29599 arg3
= (int) SWIG_AsInt(obj2
);
29600 if (PyErr_Occurred()) SWIG_fail
;
29602 arg4
= wxString_in_helper(obj3
);
29603 if (arg4
== NULL
) SWIG_fail
;
29606 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxMenu
,
29607 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29610 arg6
= wxString_in_helper(obj5
);
29611 if (arg6
== NULL
) SWIG_fail
;
29616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29617 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
29619 wxPyEndAllowThreads(__tstate
);
29620 if (PyErr_Occurred()) SWIG_fail
;
29623 resultobj
= wxPyMake_wxObject(result
, 0);
29647 static PyObject
*_wrap_Menu_PrependItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29648 PyObject
*resultobj
;
29649 wxMenu
*arg1
= (wxMenu
*) 0 ;
29650 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
29651 wxMenuItem
*result
;
29652 PyObject
* obj0
= 0 ;
29653 PyObject
* obj1
= 0 ;
29654 char *kwnames
[] = {
29655 (char *) "self",(char *) "item", NULL
29658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_PrependItem",kwnames
,&obj0
,&obj1
)) goto fail
;
29659 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29660 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29661 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
29662 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29665 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
);
29667 wxPyEndAllowThreads(__tstate
);
29668 if (PyErr_Occurred()) SWIG_fail
;
29671 resultobj
= wxPyMake_wxObject(result
, 0);
29679 static PyObject
*_wrap_Menu_Prepend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29680 PyObject
*resultobj
;
29681 wxMenu
*arg1
= (wxMenu
*) 0 ;
29683 wxString
*arg3
= 0 ;
29684 wxString
const &arg4_defvalue
= wxPyEmptyString
;
29685 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
29686 int arg5
= (int) wxITEM_NORMAL
;
29687 wxMenuItem
*result
;
29688 bool temp3
= False
;
29689 bool temp4
= False
;
29690 PyObject
* obj0
= 0 ;
29691 PyObject
* obj1
= 0 ;
29692 PyObject
* obj2
= 0 ;
29693 PyObject
* obj3
= 0 ;
29694 PyObject
* obj4
= 0 ;
29695 char *kwnames
[] = {
29696 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
29699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Menu_Prepend",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29700 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29701 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29702 arg2
= (int) SWIG_AsInt(obj1
);
29703 if (PyErr_Occurred()) SWIG_fail
;
29705 arg3
= wxString_in_helper(obj2
);
29706 if (arg3
== NULL
) SWIG_fail
;
29711 arg4
= wxString_in_helper(obj3
);
29712 if (arg4
== NULL
) SWIG_fail
;
29717 arg5
= (wxItemKind
) SWIG_AsInt(obj4
);
29718 if (PyErr_Occurred()) SWIG_fail
;
29721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29722 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
);
29724 wxPyEndAllowThreads(__tstate
);
29725 if (PyErr_Occurred()) SWIG_fail
;
29728 resultobj
= wxPyMake_wxObject(result
, 0);
29752 static PyObject
*_wrap_Menu_PrependSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29753 PyObject
*resultobj
;
29754 wxMenu
*arg1
= (wxMenu
*) 0 ;
29755 wxMenuItem
*result
;
29756 PyObject
* obj0
= 0 ;
29757 char *kwnames
[] = {
29758 (char *) "self", NULL
29761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_PrependSeparator",kwnames
,&obj0
)) goto fail
;
29762 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29763 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29766 result
= (wxMenuItem
*)(arg1
)->PrependSeparator();
29768 wxPyEndAllowThreads(__tstate
);
29769 if (PyErr_Occurred()) SWIG_fail
;
29772 resultobj
= wxPyMake_wxObject(result
, 0);
29780 static PyObject
*_wrap_Menu_PrependCheckItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29781 PyObject
*resultobj
;
29782 wxMenu
*arg1
= (wxMenu
*) 0 ;
29784 wxString
*arg3
= 0 ;
29785 wxString
const &arg4_defvalue
= wxPyEmptyString
;
29786 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
29787 wxMenuItem
*result
;
29788 bool temp3
= False
;
29789 bool temp4
= False
;
29790 PyObject
* obj0
= 0 ;
29791 PyObject
* obj1
= 0 ;
29792 PyObject
* obj2
= 0 ;
29793 PyObject
* obj3
= 0 ;
29794 char *kwnames
[] = {
29795 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
29798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_PrependCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29799 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29800 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29801 arg2
= (int) SWIG_AsInt(obj1
);
29802 if (PyErr_Occurred()) SWIG_fail
;
29804 arg3
= wxString_in_helper(obj2
);
29805 if (arg3
== NULL
) SWIG_fail
;
29810 arg4
= wxString_in_helper(obj3
);
29811 if (arg4
== NULL
) SWIG_fail
;
29816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29817 result
= (wxMenuItem
*)(arg1
)->PrependCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
29819 wxPyEndAllowThreads(__tstate
);
29820 if (PyErr_Occurred()) SWIG_fail
;
29823 resultobj
= wxPyMake_wxObject(result
, 0);
29847 static PyObject
*_wrap_Menu_PrependRadioItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29848 PyObject
*resultobj
;
29849 wxMenu
*arg1
= (wxMenu
*) 0 ;
29851 wxString
*arg3
= 0 ;
29852 wxString
const &arg4_defvalue
= wxPyEmptyString
;
29853 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
29854 wxMenuItem
*result
;
29855 bool temp3
= False
;
29856 bool temp4
= False
;
29857 PyObject
* obj0
= 0 ;
29858 PyObject
* obj1
= 0 ;
29859 PyObject
* obj2
= 0 ;
29860 PyObject
* obj3
= 0 ;
29861 char *kwnames
[] = {
29862 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
29865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_PrependRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29866 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29867 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29868 arg2
= (int) SWIG_AsInt(obj1
);
29869 if (PyErr_Occurred()) SWIG_fail
;
29871 arg3
= wxString_in_helper(obj2
);
29872 if (arg3
== NULL
) SWIG_fail
;
29877 arg4
= wxString_in_helper(obj3
);
29878 if (arg4
== NULL
) SWIG_fail
;
29883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29884 result
= (wxMenuItem
*)(arg1
)->PrependRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
29886 wxPyEndAllowThreads(__tstate
);
29887 if (PyErr_Occurred()) SWIG_fail
;
29890 resultobj
= wxPyMake_wxObject(result
, 0);
29914 static PyObject
*_wrap_Menu_PrependMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29915 PyObject
*resultobj
;
29916 wxMenu
*arg1
= (wxMenu
*) 0 ;
29918 wxString
*arg3
= 0 ;
29919 wxMenu
*arg4
= (wxMenu
*) 0 ;
29920 wxString
const &arg5_defvalue
= wxPyEmptyString
;
29921 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
29922 wxMenuItem
*result
;
29923 bool temp3
= False
;
29924 bool temp5
= False
;
29925 PyObject
* obj0
= 0 ;
29926 PyObject
* obj1
= 0 ;
29927 PyObject
* obj2
= 0 ;
29928 PyObject
* obj3
= 0 ;
29929 PyObject
* obj4
= 0 ;
29930 char *kwnames
[] = {
29931 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
29934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_PrependMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29935 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29936 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29937 arg2
= (int) SWIG_AsInt(obj1
);
29938 if (PyErr_Occurred()) SWIG_fail
;
29940 arg3
= wxString_in_helper(obj2
);
29941 if (arg3
== NULL
) SWIG_fail
;
29944 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxMenu
,
29945 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29948 arg5
= wxString_in_helper(obj4
);
29949 if (arg5
== NULL
) SWIG_fail
;
29954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29955 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
29957 wxPyEndAllowThreads(__tstate
);
29958 if (PyErr_Occurred()) SWIG_fail
;
29961 resultobj
= wxPyMake_wxObject(result
, 0);
29985 static PyObject
*_wrap_Menu_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29986 PyObject
*resultobj
;
29987 wxMenu
*arg1
= (wxMenu
*) 0 ;
29989 wxMenuItem
*result
;
29990 PyObject
* obj0
= 0 ;
29991 PyObject
* obj1
= 0 ;
29992 char *kwnames
[] = {
29993 (char *) "self",(char *) "id", NULL
29996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
29997 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29998 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29999 arg2
= (int) SWIG_AsInt(obj1
);
30000 if (PyErr_Occurred()) SWIG_fail
;
30002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30003 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
30005 wxPyEndAllowThreads(__tstate
);
30006 if (PyErr_Occurred()) SWIG_fail
;
30009 resultobj
= wxPyMake_wxObject(result
, 0);
30017 static PyObject
*_wrap_Menu_RemoveItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30018 PyObject
*resultobj
;
30019 wxMenu
*arg1
= (wxMenu
*) 0 ;
30020 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
30021 wxMenuItem
*result
;
30022 PyObject
* obj0
= 0 ;
30023 PyObject
* obj1
= 0 ;
30024 char *kwnames
[] = {
30025 (char *) "self",(char *) "item", NULL
30028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_RemoveItem",kwnames
,&obj0
,&obj1
)) goto fail
;
30029 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30030 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30031 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
30032 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30035 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
30037 wxPyEndAllowThreads(__tstate
);
30038 if (PyErr_Occurred()) SWIG_fail
;
30041 resultobj
= wxPyMake_wxObject(result
, 0);
30049 static PyObject
*_wrap_Menu_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30050 PyObject
*resultobj
;
30051 wxMenu
*arg1
= (wxMenu
*) 0 ;
30054 PyObject
* obj0
= 0 ;
30055 PyObject
* obj1
= 0 ;
30056 char *kwnames
[] = {
30057 (char *) "self",(char *) "id", NULL
30060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
30061 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30062 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30063 arg2
= (int) SWIG_AsInt(obj1
);
30064 if (PyErr_Occurred()) SWIG_fail
;
30066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30067 result
= (bool)(arg1
)->Delete(arg2
);
30069 wxPyEndAllowThreads(__tstate
);
30070 if (PyErr_Occurred()) SWIG_fail
;
30073 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30081 static PyObject
*_wrap_Menu_DeleteItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30082 PyObject
*resultobj
;
30083 wxMenu
*arg1
= (wxMenu
*) 0 ;
30084 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
30086 PyObject
* obj0
= 0 ;
30087 PyObject
* obj1
= 0 ;
30088 char *kwnames
[] = {
30089 (char *) "self",(char *) "item", NULL
30092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DeleteItem",kwnames
,&obj0
,&obj1
)) goto fail
;
30093 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30094 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30095 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
30096 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30099 result
= (bool)(arg1
)->Delete(arg2
);
30101 wxPyEndAllowThreads(__tstate
);
30102 if (PyErr_Occurred()) SWIG_fail
;
30105 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30113 static PyObject
*_wrap_Menu_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30114 PyObject
*resultobj
;
30115 wxMenu
*arg1
= (wxMenu
*) 0 ;
30116 PyObject
* obj0
= 0 ;
30117 char *kwnames
[] = {
30118 (char *) "self", NULL
30121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Destroy",kwnames
,&obj0
)) goto fail
;
30122 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30123 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30126 wxMenu_Destroy(arg1
);
30128 wxPyEndAllowThreads(__tstate
);
30129 if (PyErr_Occurred()) SWIG_fail
;
30131 Py_INCREF(Py_None
); resultobj
= Py_None
;
30138 static PyObject
*_wrap_Menu_DestroyId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30139 PyObject
*resultobj
;
30140 wxMenu
*arg1
= (wxMenu
*) 0 ;
30143 PyObject
* obj0
= 0 ;
30144 PyObject
* obj1
= 0 ;
30145 char *kwnames
[] = {
30146 (char *) "self",(char *) "id", NULL
30149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DestroyId",kwnames
,&obj0
,&obj1
)) goto fail
;
30150 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30151 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30152 arg2
= (int) SWIG_AsInt(obj1
);
30153 if (PyErr_Occurred()) SWIG_fail
;
30155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30156 result
= (bool)(arg1
)->Destroy(arg2
);
30158 wxPyEndAllowThreads(__tstate
);
30159 if (PyErr_Occurred()) SWIG_fail
;
30162 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30170 static PyObject
*_wrap_Menu_DestroyItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30171 PyObject
*resultobj
;
30172 wxMenu
*arg1
= (wxMenu
*) 0 ;
30173 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
30175 PyObject
* obj0
= 0 ;
30176 PyObject
* obj1
= 0 ;
30177 char *kwnames
[] = {
30178 (char *) "self",(char *) "item", NULL
30181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DestroyItem",kwnames
,&obj0
,&obj1
)) goto fail
;
30182 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30183 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30184 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
30185 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30188 result
= (bool)(arg1
)->Destroy(arg2
);
30190 wxPyEndAllowThreads(__tstate
);
30191 if (PyErr_Occurred()) SWIG_fail
;
30194 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30202 static PyObject
*_wrap_Menu_GetMenuItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30203 PyObject
*resultobj
;
30204 wxMenu
*arg1
= (wxMenu
*) 0 ;
30206 PyObject
* obj0
= 0 ;
30207 char *kwnames
[] = {
30208 (char *) "self", NULL
30211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuItemCount",kwnames
,&obj0
)) goto fail
;
30212 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30213 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30216 result
= (size_t)((wxMenu
const *)arg1
)->GetMenuItemCount();
30218 wxPyEndAllowThreads(__tstate
);
30219 if (PyErr_Occurred()) SWIG_fail
;
30221 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
30228 static PyObject
*_wrap_Menu_GetMenuItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30229 PyObject
*resultobj
;
30230 wxMenu
*arg1
= (wxMenu
*) 0 ;
30232 PyObject
* obj0
= 0 ;
30233 char *kwnames
[] = {
30234 (char *) "self", NULL
30237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuItems",kwnames
,&obj0
)) goto fail
;
30238 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30239 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30242 result
= (PyObject
*)wxMenu_GetMenuItems(arg1
);
30244 wxPyEndAllowThreads(__tstate
);
30245 if (PyErr_Occurred()) SWIG_fail
;
30247 resultobj
= result
;
30254 static PyObject
*_wrap_Menu_FindItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30255 PyObject
*resultobj
;
30256 wxMenu
*arg1
= (wxMenu
*) 0 ;
30257 wxString
*arg2
= 0 ;
30259 bool temp2
= False
;
30260 PyObject
* obj0
= 0 ;
30261 PyObject
* obj1
= 0 ;
30262 char *kwnames
[] = {
30263 (char *) "self",(char *) "item", NULL
30266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItem",kwnames
,&obj0
,&obj1
)) goto fail
;
30267 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30268 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30270 arg2
= wxString_in_helper(obj1
);
30271 if (arg2
== NULL
) SWIG_fail
;
30275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30276 result
= (int)((wxMenu
const *)arg1
)->FindItem((wxString
const &)*arg2
);
30278 wxPyEndAllowThreads(__tstate
);
30279 if (PyErr_Occurred()) SWIG_fail
;
30281 resultobj
= SWIG_FromInt((int)result
);
30296 static PyObject
*_wrap_Menu_FindItemById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30297 PyObject
*resultobj
;
30298 wxMenu
*arg1
= (wxMenu
*) 0 ;
30300 wxMenuItem
*result
;
30301 PyObject
* obj0
= 0 ;
30302 PyObject
* obj1
= 0 ;
30303 char *kwnames
[] = {
30304 (char *) "self",(char *) "id", NULL
30307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItemById",kwnames
,&obj0
,&obj1
)) goto fail
;
30308 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30310 arg2
= (int) SWIG_AsInt(obj1
);
30311 if (PyErr_Occurred()) SWIG_fail
;
30313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30314 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItem(arg2
);
30316 wxPyEndAllowThreads(__tstate
);
30317 if (PyErr_Occurred()) SWIG_fail
;
30320 resultobj
= wxPyMake_wxObject(result
, 0);
30328 static PyObject
*_wrap_Menu_FindItemByPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30329 PyObject
*resultobj
;
30330 wxMenu
*arg1
= (wxMenu
*) 0 ;
30332 wxMenuItem
*result
;
30333 PyObject
* obj0
= 0 ;
30334 PyObject
* obj1
= 0 ;
30335 char *kwnames
[] = {
30336 (char *) "self",(char *) "position", NULL
30339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItemByPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
30340 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30342 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
30343 if (PyErr_Occurred()) SWIG_fail
;
30345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30346 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItemByPosition(arg2
);
30348 wxPyEndAllowThreads(__tstate
);
30349 if (PyErr_Occurred()) SWIG_fail
;
30352 resultobj
= wxPyMake_wxObject(result
, 0);
30360 static PyObject
*_wrap_Menu_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30361 PyObject
*resultobj
;
30362 wxMenu
*arg1
= (wxMenu
*) 0 ;
30365 PyObject
* obj0
= 0 ;
30366 PyObject
* obj1
= 0 ;
30367 PyObject
* obj2
= 0 ;
30368 char *kwnames
[] = {
30369 (char *) "self",(char *) "id",(char *) "enable", NULL
30372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_Enable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30373 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30374 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30375 arg2
= (int) SWIG_AsInt(obj1
);
30376 if (PyErr_Occurred()) SWIG_fail
;
30377 arg3
= (bool) SWIG_AsBool(obj2
);
30378 if (PyErr_Occurred()) SWIG_fail
;
30380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30381 (arg1
)->Enable(arg2
,arg3
);
30383 wxPyEndAllowThreads(__tstate
);
30384 if (PyErr_Occurred()) SWIG_fail
;
30386 Py_INCREF(Py_None
); resultobj
= Py_None
;
30393 static PyObject
*_wrap_Menu_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30394 PyObject
*resultobj
;
30395 wxMenu
*arg1
= (wxMenu
*) 0 ;
30398 PyObject
* obj0
= 0 ;
30399 PyObject
* obj1
= 0 ;
30400 char *kwnames
[] = {
30401 (char *) "self",(char *) "id", NULL
30404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_IsEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
30405 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30407 arg2
= (int) SWIG_AsInt(obj1
);
30408 if (PyErr_Occurred()) SWIG_fail
;
30410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30411 result
= (bool)((wxMenu
const *)arg1
)->IsEnabled(arg2
);
30413 wxPyEndAllowThreads(__tstate
);
30414 if (PyErr_Occurred()) SWIG_fail
;
30417 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30425 static PyObject
*_wrap_Menu_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30426 PyObject
*resultobj
;
30427 wxMenu
*arg1
= (wxMenu
*) 0 ;
30430 PyObject
* obj0
= 0 ;
30431 PyObject
* obj1
= 0 ;
30432 PyObject
* obj2
= 0 ;
30433 char *kwnames
[] = {
30434 (char *) "self",(char *) "id",(char *) "check", NULL
30437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30438 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30439 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30440 arg2
= (int) SWIG_AsInt(obj1
);
30441 if (PyErr_Occurred()) SWIG_fail
;
30442 arg3
= (bool) SWIG_AsBool(obj2
);
30443 if (PyErr_Occurred()) SWIG_fail
;
30445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30446 (arg1
)->Check(arg2
,arg3
);
30448 wxPyEndAllowThreads(__tstate
);
30449 if (PyErr_Occurred()) SWIG_fail
;
30451 Py_INCREF(Py_None
); resultobj
= Py_None
;
30458 static PyObject
*_wrap_Menu_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30459 PyObject
*resultobj
;
30460 wxMenu
*arg1
= (wxMenu
*) 0 ;
30463 PyObject
* obj0
= 0 ;
30464 PyObject
* obj1
= 0 ;
30465 char *kwnames
[] = {
30466 (char *) "self",(char *) "id", NULL
30469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
30470 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30471 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30472 arg2
= (int) SWIG_AsInt(obj1
);
30473 if (PyErr_Occurred()) SWIG_fail
;
30475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30476 result
= (bool)((wxMenu
const *)arg1
)->IsChecked(arg2
);
30478 wxPyEndAllowThreads(__tstate
);
30479 if (PyErr_Occurred()) SWIG_fail
;
30482 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30490 static PyObject
*_wrap_Menu_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30491 PyObject
*resultobj
;
30492 wxMenu
*arg1
= (wxMenu
*) 0 ;
30494 wxString
*arg3
= 0 ;
30495 bool temp3
= False
;
30496 PyObject
* obj0
= 0 ;
30497 PyObject
* obj1
= 0 ;
30498 PyObject
* obj2
= 0 ;
30499 char *kwnames
[] = {
30500 (char *) "self",(char *) "id",(char *) "label", NULL
30503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_SetLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30504 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30505 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30506 arg2
= (int) SWIG_AsInt(obj1
);
30507 if (PyErr_Occurred()) SWIG_fail
;
30509 arg3
= wxString_in_helper(obj2
);
30510 if (arg3
== NULL
) SWIG_fail
;
30514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30515 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
30517 wxPyEndAllowThreads(__tstate
);
30518 if (PyErr_Occurred()) SWIG_fail
;
30520 Py_INCREF(Py_None
); resultobj
= Py_None
;
30535 static PyObject
*_wrap_Menu_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30536 PyObject
*resultobj
;
30537 wxMenu
*arg1
= (wxMenu
*) 0 ;
30540 PyObject
* obj0
= 0 ;
30541 PyObject
* obj1
= 0 ;
30542 char *kwnames
[] = {
30543 (char *) "self",(char *) "id", NULL
30546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_GetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
30547 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30548 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30549 arg2
= (int) SWIG_AsInt(obj1
);
30550 if (PyErr_Occurred()) SWIG_fail
;
30552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30553 result
= ((wxMenu
const *)arg1
)->GetLabel(arg2
);
30555 wxPyEndAllowThreads(__tstate
);
30556 if (PyErr_Occurred()) SWIG_fail
;
30560 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30562 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30571 static PyObject
*_wrap_Menu_SetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30572 PyObject
*resultobj
;
30573 wxMenu
*arg1
= (wxMenu
*) 0 ;
30575 wxString
*arg3
= 0 ;
30576 bool temp3
= False
;
30577 PyObject
* obj0
= 0 ;
30578 PyObject
* obj1
= 0 ;
30579 PyObject
* obj2
= 0 ;
30580 char *kwnames
[] = {
30581 (char *) "self",(char *) "id",(char *) "helpString", NULL
30584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_SetHelpString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30585 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30586 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30587 arg2
= (int) SWIG_AsInt(obj1
);
30588 if (PyErr_Occurred()) SWIG_fail
;
30590 arg3
= wxString_in_helper(obj2
);
30591 if (arg3
== NULL
) SWIG_fail
;
30595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30596 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
30598 wxPyEndAllowThreads(__tstate
);
30599 if (PyErr_Occurred()) SWIG_fail
;
30601 Py_INCREF(Py_None
); resultobj
= Py_None
;
30616 static PyObject
*_wrap_Menu_GetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30617 PyObject
*resultobj
;
30618 wxMenu
*arg1
= (wxMenu
*) 0 ;
30621 PyObject
* obj0
= 0 ;
30622 PyObject
* obj1
= 0 ;
30623 char *kwnames
[] = {
30624 (char *) "self",(char *) "id", NULL
30627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_GetHelpString",kwnames
,&obj0
,&obj1
)) goto fail
;
30628 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30629 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30630 arg2
= (int) SWIG_AsInt(obj1
);
30631 if (PyErr_Occurred()) SWIG_fail
;
30633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30634 result
= ((wxMenu
const *)arg1
)->GetHelpString(arg2
);
30636 wxPyEndAllowThreads(__tstate
);
30637 if (PyErr_Occurred()) SWIG_fail
;
30641 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30643 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30652 static PyObject
*_wrap_Menu_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30653 PyObject
*resultobj
;
30654 wxMenu
*arg1
= (wxMenu
*) 0 ;
30655 wxString
*arg2
= 0 ;
30656 bool temp2
= False
;
30657 PyObject
* obj0
= 0 ;
30658 PyObject
* obj1
= 0 ;
30659 char *kwnames
[] = {
30660 (char *) "self",(char *) "title", NULL
30663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
30664 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30665 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30667 arg2
= wxString_in_helper(obj1
);
30668 if (arg2
== NULL
) SWIG_fail
;
30672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30673 (arg1
)->SetTitle((wxString
const &)*arg2
);
30675 wxPyEndAllowThreads(__tstate
);
30676 if (PyErr_Occurred()) SWIG_fail
;
30678 Py_INCREF(Py_None
); resultobj
= Py_None
;
30693 static PyObject
*_wrap_Menu_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30694 PyObject
*resultobj
;
30695 wxMenu
*arg1
= (wxMenu
*) 0 ;
30697 PyObject
* obj0
= 0 ;
30698 char *kwnames
[] = {
30699 (char *) "self", NULL
30702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetTitle",kwnames
,&obj0
)) goto fail
;
30703 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30704 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30707 result
= ((wxMenu
const *)arg1
)->GetTitle();
30709 wxPyEndAllowThreads(__tstate
);
30710 if (PyErr_Occurred()) SWIG_fail
;
30714 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30716 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30725 static PyObject
*_wrap_Menu_SetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30726 PyObject
*resultobj
;
30727 wxMenu
*arg1
= (wxMenu
*) 0 ;
30728 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
30729 PyObject
* obj0
= 0 ;
30730 PyObject
* obj1
= 0 ;
30731 char *kwnames
[] = {
30732 (char *) "self",(char *) "handler", NULL
30735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
30736 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30737 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30738 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
30739 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30742 (arg1
)->SetEventHandler(arg2
);
30744 wxPyEndAllowThreads(__tstate
);
30745 if (PyErr_Occurred()) SWIG_fail
;
30747 Py_INCREF(Py_None
); resultobj
= Py_None
;
30754 static PyObject
*_wrap_Menu_GetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30755 PyObject
*resultobj
;
30756 wxMenu
*arg1
= (wxMenu
*) 0 ;
30757 wxEvtHandler
*result
;
30758 PyObject
* obj0
= 0 ;
30759 char *kwnames
[] = {
30760 (char *) "self", NULL
30763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetEventHandler",kwnames
,&obj0
)) goto fail
;
30764 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30765 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30768 result
= (wxEvtHandler
*)((wxMenu
const *)arg1
)->GetEventHandler();
30770 wxPyEndAllowThreads(__tstate
);
30771 if (PyErr_Occurred()) SWIG_fail
;
30774 resultobj
= wxPyMake_wxObject(result
, 0);
30782 static PyObject
*_wrap_Menu_SetInvokingWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30783 PyObject
*resultobj
;
30784 wxMenu
*arg1
= (wxMenu
*) 0 ;
30785 wxWindow
*arg2
= (wxWindow
*) 0 ;
30786 PyObject
* obj0
= 0 ;
30787 PyObject
* obj1
= 0 ;
30788 char *kwnames
[] = {
30789 (char *) "self",(char *) "win", NULL
30792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetInvokingWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
30793 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30794 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30795 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
30796 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30799 (arg1
)->SetInvokingWindow(arg2
);
30801 wxPyEndAllowThreads(__tstate
);
30802 if (PyErr_Occurred()) SWIG_fail
;
30804 Py_INCREF(Py_None
); resultobj
= Py_None
;
30811 static PyObject
*_wrap_Menu_GetInvokingWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30812 PyObject
*resultobj
;
30813 wxMenu
*arg1
= (wxMenu
*) 0 ;
30815 PyObject
* obj0
= 0 ;
30816 char *kwnames
[] = {
30817 (char *) "self", NULL
30820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetInvokingWindow",kwnames
,&obj0
)) goto fail
;
30821 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30822 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30825 result
= (wxWindow
*)((wxMenu
const *)arg1
)->GetInvokingWindow();
30827 wxPyEndAllowThreads(__tstate
);
30828 if (PyErr_Occurred()) SWIG_fail
;
30831 resultobj
= wxPyMake_wxObject(result
, 0);
30839 static PyObject
*_wrap_Menu_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30840 PyObject
*resultobj
;
30841 wxMenu
*arg1
= (wxMenu
*) 0 ;
30843 PyObject
* obj0
= 0 ;
30844 char *kwnames
[] = {
30845 (char *) "self", NULL
30848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetStyle",kwnames
,&obj0
)) goto fail
;
30849 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30850 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30853 result
= (long)((wxMenu
const *)arg1
)->GetStyle();
30855 wxPyEndAllowThreads(__tstate
);
30856 if (PyErr_Occurred()) SWIG_fail
;
30858 resultobj
= SWIG_FromLong((long)result
);
30865 static PyObject
*_wrap_Menu_UpdateUI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30866 PyObject
*resultobj
;
30867 wxMenu
*arg1
= (wxMenu
*) 0 ;
30868 wxEvtHandler
*arg2
= (wxEvtHandler
*) NULL
;
30869 PyObject
* obj0
= 0 ;
30870 PyObject
* obj1
= 0 ;
30871 char *kwnames
[] = {
30872 (char *) "self",(char *) "source", NULL
30875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Menu_UpdateUI",kwnames
,&obj0
,&obj1
)) goto fail
;
30876 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30877 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30879 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
30880 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30884 (arg1
)->UpdateUI(arg2
);
30886 wxPyEndAllowThreads(__tstate
);
30887 if (PyErr_Occurred()) SWIG_fail
;
30889 Py_INCREF(Py_None
); resultobj
= Py_None
;
30896 static PyObject
*_wrap_Menu_GetMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30897 PyObject
*resultobj
;
30898 wxMenu
*arg1
= (wxMenu
*) 0 ;
30900 PyObject
* obj0
= 0 ;
30901 char *kwnames
[] = {
30902 (char *) "self", NULL
30905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuBar",kwnames
,&obj0
)) goto fail
;
30906 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30907 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30910 result
= (wxMenuBar
*)((wxMenu
const *)arg1
)->GetMenuBar();
30912 wxPyEndAllowThreads(__tstate
);
30913 if (PyErr_Occurred()) SWIG_fail
;
30916 resultobj
= wxPyMake_wxObject(result
, 0);
30924 static PyObject
*_wrap_Menu_Attach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30925 PyObject
*resultobj
;
30926 wxMenu
*arg1
= (wxMenu
*) 0 ;
30927 wxMenuBarBase
*arg2
= (wxMenuBarBase
*) 0 ;
30928 PyObject
* obj0
= 0 ;
30929 PyObject
* obj1
= 0 ;
30930 char *kwnames
[] = {
30931 (char *) "self",(char *) "menubar", NULL
30934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
30935 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30936 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30937 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuBarBase
,
30938 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30941 (arg1
)->Attach(arg2
);
30943 wxPyEndAllowThreads(__tstate
);
30944 if (PyErr_Occurred()) SWIG_fail
;
30946 Py_INCREF(Py_None
); resultobj
= Py_None
;
30953 static PyObject
*_wrap_Menu_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30954 PyObject
*resultobj
;
30955 wxMenu
*arg1
= (wxMenu
*) 0 ;
30956 PyObject
* obj0
= 0 ;
30957 char *kwnames
[] = {
30958 (char *) "self", NULL
30961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Detach",kwnames
,&obj0
)) goto fail
;
30962 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30963 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30968 wxPyEndAllowThreads(__tstate
);
30969 if (PyErr_Occurred()) SWIG_fail
;
30971 Py_INCREF(Py_None
); resultobj
= Py_None
;
30978 static PyObject
*_wrap_Menu_IsAttached(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30979 PyObject
*resultobj
;
30980 wxMenu
*arg1
= (wxMenu
*) 0 ;
30982 PyObject
* obj0
= 0 ;
30983 char *kwnames
[] = {
30984 (char *) "self", NULL
30987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_IsAttached",kwnames
,&obj0
)) goto fail
;
30988 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30989 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30992 result
= (bool)((wxMenu
const *)arg1
)->IsAttached();
30994 wxPyEndAllowThreads(__tstate
);
30995 if (PyErr_Occurred()) SWIG_fail
;
30998 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31006 static PyObject
*_wrap_Menu_SetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31007 PyObject
*resultobj
;
31008 wxMenu
*arg1
= (wxMenu
*) 0 ;
31009 wxMenu
*arg2
= (wxMenu
*) 0 ;
31010 PyObject
* obj0
= 0 ;
31011 PyObject
* obj1
= 0 ;
31012 char *kwnames
[] = {
31013 (char *) "self",(char *) "parent", NULL
31016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetParent",kwnames
,&obj0
,&obj1
)) goto fail
;
31017 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31018 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31019 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
31020 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31023 (arg1
)->SetParent(arg2
);
31025 wxPyEndAllowThreads(__tstate
);
31026 if (PyErr_Occurred()) SWIG_fail
;
31028 Py_INCREF(Py_None
); resultobj
= Py_None
;
31035 static PyObject
*_wrap_Menu_GetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31036 PyObject
*resultobj
;
31037 wxMenu
*arg1
= (wxMenu
*) 0 ;
31039 PyObject
* obj0
= 0 ;
31040 char *kwnames
[] = {
31041 (char *) "self", NULL
31044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetParent",kwnames
,&obj0
)) goto fail
;
31045 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31046 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31049 result
= (wxMenu
*)((wxMenu
const *)arg1
)->GetParent();
31051 wxPyEndAllowThreads(__tstate
);
31052 if (PyErr_Occurred()) SWIG_fail
;
31055 resultobj
= wxPyMake_wxObject(result
, 0);
31063 static PyObject
* Menu_swigregister(PyObject
*self
, PyObject
*args
) {
31065 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31066 SWIG_TypeClientData(SWIGTYPE_p_wxMenu
, obj
);
31068 return Py_BuildValue((char *)"");
31070 static PyObject
*_wrap_new_MenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31071 PyObject
*resultobj
;
31072 long arg1
= (long) 0 ;
31074 PyObject
* obj0
= 0 ;
31075 char *kwnames
[] = {
31076 (char *) "style", NULL
31079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MenuBar",kwnames
,&obj0
)) goto fail
;
31081 arg1
= (long) SWIG_AsLong(obj0
);
31082 if (PyErr_Occurred()) SWIG_fail
;
31085 if (!wxPyCheckForApp()) SWIG_fail
;
31086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31087 result
= (wxMenuBar
*)new wxMenuBar(arg1
);
31089 wxPyEndAllowThreads(__tstate
);
31090 if (PyErr_Occurred()) SWIG_fail
;
31092 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMenuBar
, 1);
31099 static PyObject
*_wrap_MenuBar_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31100 PyObject
*resultobj
;
31101 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31102 wxMenu
*arg2
= (wxMenu
*) 0 ;
31103 wxString
*arg3
= 0 ;
31105 bool temp3
= False
;
31106 PyObject
* obj0
= 0 ;
31107 PyObject
* obj1
= 0 ;
31108 PyObject
* obj2
= 0 ;
31109 char *kwnames
[] = {
31110 (char *) "self",(char *) "menu",(char *) "title", NULL
31113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Append",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31114 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31115 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31116 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
31117 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31119 arg3
= wxString_in_helper(obj2
);
31120 if (arg3
== NULL
) SWIG_fail
;
31124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31125 result
= (bool)(arg1
)->Append(arg2
,(wxString
const &)*arg3
);
31127 wxPyEndAllowThreads(__tstate
);
31128 if (PyErr_Occurred()) SWIG_fail
;
31131 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31147 static PyObject
*_wrap_MenuBar_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31148 PyObject
*resultobj
;
31149 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31151 wxMenu
*arg3
= (wxMenu
*) 0 ;
31152 wxString
*arg4
= 0 ;
31154 bool temp4
= False
;
31155 PyObject
* obj0
= 0 ;
31156 PyObject
* obj1
= 0 ;
31157 PyObject
* obj2
= 0 ;
31158 PyObject
* obj3
= 0 ;
31159 char *kwnames
[] = {
31160 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
31163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
31164 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31165 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31166 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
31167 if (PyErr_Occurred()) SWIG_fail
;
31168 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMenu
,
31169 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31171 arg4
= wxString_in_helper(obj3
);
31172 if (arg4
== NULL
) SWIG_fail
;
31176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31177 result
= (bool)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
);
31179 wxPyEndAllowThreads(__tstate
);
31180 if (PyErr_Occurred()) SWIG_fail
;
31183 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31199 static PyObject
*_wrap_MenuBar_GetMenuCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31200 PyObject
*resultobj
;
31201 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31203 PyObject
* obj0
= 0 ;
31204 char *kwnames
[] = {
31205 (char *) "self", NULL
31208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_GetMenuCount",kwnames
,&obj0
)) goto fail
;
31209 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31210 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31213 result
= (size_t)((wxMenuBar
const *)arg1
)->GetMenuCount();
31215 wxPyEndAllowThreads(__tstate
);
31216 if (PyErr_Occurred()) SWIG_fail
;
31218 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
31225 static PyObject
*_wrap_MenuBar_GetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31226 PyObject
*resultobj
;
31227 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31230 PyObject
* obj0
= 0 ;
31231 PyObject
* obj1
= 0 ;
31232 char *kwnames
[] = {
31233 (char *) "self",(char *) "pos", NULL
31236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
31237 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31238 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31239 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
31240 if (PyErr_Occurred()) SWIG_fail
;
31242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31243 result
= (wxMenu
*)((wxMenuBar
const *)arg1
)->GetMenu(arg2
);
31245 wxPyEndAllowThreads(__tstate
);
31246 if (PyErr_Occurred()) SWIG_fail
;
31249 resultobj
= wxPyMake_wxObject(result
, 0);
31257 static PyObject
*_wrap_MenuBar_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31258 PyObject
*resultobj
;
31259 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31261 wxMenu
*arg3
= (wxMenu
*) 0 ;
31262 wxString
*arg4
= 0 ;
31264 bool temp4
= False
;
31265 PyObject
* obj0
= 0 ;
31266 PyObject
* obj1
= 0 ;
31267 PyObject
* obj2
= 0 ;
31268 PyObject
* obj3
= 0 ;
31269 char *kwnames
[] = {
31270 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
31273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
31274 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31275 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31276 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
31277 if (PyErr_Occurred()) SWIG_fail
;
31278 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMenu
,
31279 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31281 arg4
= wxString_in_helper(obj3
);
31282 if (arg4
== NULL
) SWIG_fail
;
31286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31287 result
= (wxMenu
*)(arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
31289 wxPyEndAllowThreads(__tstate
);
31290 if (PyErr_Occurred()) SWIG_fail
;
31293 resultobj
= wxPyMake_wxObject(result
, 0);
31309 static PyObject
*_wrap_MenuBar_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31310 PyObject
*resultobj
;
31311 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31314 PyObject
* obj0
= 0 ;
31315 PyObject
* obj1
= 0 ;
31316 char *kwnames
[] = {
31317 (char *) "self",(char *) "pos", NULL
31320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
31321 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31322 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31323 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
31324 if (PyErr_Occurred()) SWIG_fail
;
31326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31327 result
= (wxMenu
*)(arg1
)->Remove(arg2
);
31329 wxPyEndAllowThreads(__tstate
);
31330 if (PyErr_Occurred()) SWIG_fail
;
31333 resultobj
= wxPyMake_wxObject(result
, 0);
31341 static PyObject
*_wrap_MenuBar_EnableTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31342 PyObject
*resultobj
;
31343 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31346 PyObject
* obj0
= 0 ;
31347 PyObject
* obj1
= 0 ;
31348 PyObject
* obj2
= 0 ;
31349 char *kwnames
[] = {
31350 (char *) "self",(char *) "pos",(char *) "enable", NULL
31353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_EnableTop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31354 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31355 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31356 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
31357 if (PyErr_Occurred()) SWIG_fail
;
31358 arg3
= (bool) SWIG_AsBool(obj2
);
31359 if (PyErr_Occurred()) SWIG_fail
;
31361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31362 (arg1
)->EnableTop(arg2
,arg3
);
31364 wxPyEndAllowThreads(__tstate
);
31365 if (PyErr_Occurred()) SWIG_fail
;
31367 Py_INCREF(Py_None
); resultobj
= Py_None
;
31374 static PyObject
*_wrap_MenuBar_IsEnabledTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31375 PyObject
*resultobj
;
31376 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31379 PyObject
* obj0
= 0 ;
31380 PyObject
* obj1
= 0 ;
31381 char *kwnames
[] = {
31382 (char *) "self",(char *) "pos", NULL
31385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsEnabledTop",kwnames
,&obj0
,&obj1
)) goto fail
;
31386 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31387 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31388 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
31389 if (PyErr_Occurred()) SWIG_fail
;
31391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31392 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabledTop(arg2
);
31394 wxPyEndAllowThreads(__tstate
);
31395 if (PyErr_Occurred()) SWIG_fail
;
31398 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31406 static PyObject
*_wrap_MenuBar_SetLabelTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31407 PyObject
*resultobj
;
31408 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31410 wxString
*arg3
= 0 ;
31411 bool temp3
= False
;
31412 PyObject
* obj0
= 0 ;
31413 PyObject
* obj1
= 0 ;
31414 PyObject
* obj2
= 0 ;
31415 char *kwnames
[] = {
31416 (char *) "self",(char *) "pos",(char *) "label", NULL
31419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetLabelTop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31420 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31421 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31422 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
31423 if (PyErr_Occurred()) SWIG_fail
;
31425 arg3
= wxString_in_helper(obj2
);
31426 if (arg3
== NULL
) SWIG_fail
;
31430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31431 (arg1
)->SetLabelTop(arg2
,(wxString
const &)*arg3
);
31433 wxPyEndAllowThreads(__tstate
);
31434 if (PyErr_Occurred()) SWIG_fail
;
31436 Py_INCREF(Py_None
); resultobj
= Py_None
;
31451 static PyObject
*_wrap_MenuBar_GetLabelTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31452 PyObject
*resultobj
;
31453 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31456 PyObject
* obj0
= 0 ;
31457 PyObject
* obj1
= 0 ;
31458 char *kwnames
[] = {
31459 (char *) "self",(char *) "pos", NULL
31462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetLabelTop",kwnames
,&obj0
,&obj1
)) goto fail
;
31463 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31464 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31465 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
31466 if (PyErr_Occurred()) SWIG_fail
;
31468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31469 result
= ((wxMenuBar
const *)arg1
)->GetLabelTop(arg2
);
31471 wxPyEndAllowThreads(__tstate
);
31472 if (PyErr_Occurred()) SWIG_fail
;
31476 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31478 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31487 static PyObject
*_wrap_MenuBar_FindMenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31488 PyObject
*resultobj
;
31489 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31490 wxString
*arg2
= 0 ;
31491 wxString
*arg3
= 0 ;
31493 bool temp2
= False
;
31494 bool temp3
= False
;
31495 PyObject
* obj0
= 0 ;
31496 PyObject
* obj1
= 0 ;
31497 PyObject
* obj2
= 0 ;
31498 char *kwnames
[] = {
31499 (char *) "self",(char *) "menu",(char *) "item", NULL
31502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_FindMenuItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31503 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31504 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31506 arg2
= wxString_in_helper(obj1
);
31507 if (arg2
== NULL
) SWIG_fail
;
31511 arg3
= wxString_in_helper(obj2
);
31512 if (arg3
== NULL
) SWIG_fail
;
31516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31517 result
= (int)((wxMenuBar
const *)arg1
)->FindMenuItem((wxString
const &)*arg2
,(wxString
const &)*arg3
);
31519 wxPyEndAllowThreads(__tstate
);
31520 if (PyErr_Occurred()) SWIG_fail
;
31522 resultobj
= SWIG_FromInt((int)result
);
31545 static PyObject
*_wrap_MenuBar_FindItemById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31546 PyObject
*resultobj
;
31547 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31549 wxMenuItem
*result
;
31550 PyObject
* obj0
= 0 ;
31551 PyObject
* obj1
= 0 ;
31552 char *kwnames
[] = {
31553 (char *) "self",(char *) "id", NULL
31556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_FindItemById",kwnames
,&obj0
,&obj1
)) goto fail
;
31557 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31558 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31559 arg2
= (int) SWIG_AsInt(obj1
);
31560 if (PyErr_Occurred()) SWIG_fail
;
31562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31563 result
= (wxMenuItem
*)((wxMenuBar
const *)arg1
)->FindItem(arg2
);
31565 wxPyEndAllowThreads(__tstate
);
31566 if (PyErr_Occurred()) SWIG_fail
;
31569 resultobj
= wxPyMake_wxObject(result
, 0);
31577 static PyObject
*_wrap_MenuBar_FindMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31578 PyObject
*resultobj
;
31579 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31580 wxString
*arg2
= 0 ;
31582 bool temp2
= False
;
31583 PyObject
* obj0
= 0 ;
31584 PyObject
* obj1
= 0 ;
31585 char *kwnames
[] = {
31586 (char *) "self",(char *) "title", NULL
31589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_FindMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
31590 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31591 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31593 arg2
= wxString_in_helper(obj1
);
31594 if (arg2
== NULL
) SWIG_fail
;
31598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31599 result
= (int)((wxMenuBar
const *)arg1
)->FindMenu((wxString
const &)*arg2
);
31601 wxPyEndAllowThreads(__tstate
);
31602 if (PyErr_Occurred()) SWIG_fail
;
31604 resultobj
= SWIG_FromInt((int)result
);
31619 static PyObject
*_wrap_MenuBar_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31620 PyObject
*resultobj
;
31621 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31624 PyObject
* obj0
= 0 ;
31625 PyObject
* obj1
= 0 ;
31626 PyObject
* obj2
= 0 ;
31627 char *kwnames
[] = {
31628 (char *) "self",(char *) "id",(char *) "enable", NULL
31631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Enable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31632 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31633 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31634 arg2
= (int) SWIG_AsInt(obj1
);
31635 if (PyErr_Occurred()) SWIG_fail
;
31636 arg3
= (bool) SWIG_AsBool(obj2
);
31637 if (PyErr_Occurred()) SWIG_fail
;
31639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31640 (arg1
)->Enable(arg2
,arg3
);
31642 wxPyEndAllowThreads(__tstate
);
31643 if (PyErr_Occurred()) SWIG_fail
;
31645 Py_INCREF(Py_None
); resultobj
= Py_None
;
31652 static PyObject
*_wrap_MenuBar_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31653 PyObject
*resultobj
;
31654 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31657 PyObject
* obj0
= 0 ;
31658 PyObject
* obj1
= 0 ;
31659 PyObject
* obj2
= 0 ;
31660 char *kwnames
[] = {
31661 (char *) "self",(char *) "id",(char *) "check", NULL
31664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31665 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31666 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31667 arg2
= (int) SWIG_AsInt(obj1
);
31668 if (PyErr_Occurred()) SWIG_fail
;
31669 arg3
= (bool) SWIG_AsBool(obj2
);
31670 if (PyErr_Occurred()) SWIG_fail
;
31672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31673 (arg1
)->Check(arg2
,arg3
);
31675 wxPyEndAllowThreads(__tstate
);
31676 if (PyErr_Occurred()) SWIG_fail
;
31678 Py_INCREF(Py_None
); resultobj
= Py_None
;
31685 static PyObject
*_wrap_MenuBar_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31686 PyObject
*resultobj
;
31687 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31690 PyObject
* obj0
= 0 ;
31691 PyObject
* obj1
= 0 ;
31692 char *kwnames
[] = {
31693 (char *) "self",(char *) "id", NULL
31696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
31697 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31698 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31699 arg2
= (int) SWIG_AsInt(obj1
);
31700 if (PyErr_Occurred()) SWIG_fail
;
31702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31703 result
= (bool)((wxMenuBar
const *)arg1
)->IsChecked(arg2
);
31705 wxPyEndAllowThreads(__tstate
);
31706 if (PyErr_Occurred()) SWIG_fail
;
31709 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31717 static PyObject
*_wrap_MenuBar_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31718 PyObject
*resultobj
;
31719 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31722 PyObject
* obj0
= 0 ;
31723 PyObject
* obj1
= 0 ;
31724 char *kwnames
[] = {
31725 (char *) "self",(char *) "id", NULL
31728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
31729 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31730 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31731 arg2
= (int) SWIG_AsInt(obj1
);
31732 if (PyErr_Occurred()) SWIG_fail
;
31734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31735 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabled(arg2
);
31737 wxPyEndAllowThreads(__tstate
);
31738 if (PyErr_Occurred()) SWIG_fail
;
31741 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31749 static PyObject
*_wrap_MenuBar_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31750 PyObject
*resultobj
;
31751 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31753 wxString
*arg3
= 0 ;
31754 bool temp3
= False
;
31755 PyObject
* obj0
= 0 ;
31756 PyObject
* obj1
= 0 ;
31757 PyObject
* obj2
= 0 ;
31758 char *kwnames
[] = {
31759 (char *) "self",(char *) "id",(char *) "label", NULL
31762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31763 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31765 arg2
= (int) SWIG_AsInt(obj1
);
31766 if (PyErr_Occurred()) SWIG_fail
;
31768 arg3
= wxString_in_helper(obj2
);
31769 if (arg3
== NULL
) SWIG_fail
;
31773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31774 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
31776 wxPyEndAllowThreads(__tstate
);
31777 if (PyErr_Occurred()) SWIG_fail
;
31779 Py_INCREF(Py_None
); resultobj
= Py_None
;
31794 static PyObject
*_wrap_MenuBar_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31795 PyObject
*resultobj
;
31796 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31799 PyObject
* obj0
= 0 ;
31800 PyObject
* obj1
= 0 ;
31801 char *kwnames
[] = {
31802 (char *) "self",(char *) "id", NULL
31805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
31806 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31807 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31808 arg2
= (int) SWIG_AsInt(obj1
);
31809 if (PyErr_Occurred()) SWIG_fail
;
31811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31812 result
= ((wxMenuBar
const *)arg1
)->GetLabel(arg2
);
31814 wxPyEndAllowThreads(__tstate
);
31815 if (PyErr_Occurred()) SWIG_fail
;
31819 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31821 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31830 static PyObject
*_wrap_MenuBar_SetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31831 PyObject
*resultobj
;
31832 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31834 wxString
*arg3
= 0 ;
31835 bool temp3
= False
;
31836 PyObject
* obj0
= 0 ;
31837 PyObject
* obj1
= 0 ;
31838 PyObject
* obj2
= 0 ;
31839 char *kwnames
[] = {
31840 (char *) "self",(char *) "id",(char *) "helpString", NULL
31843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetHelpString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31844 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31845 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31846 arg2
= (int) SWIG_AsInt(obj1
);
31847 if (PyErr_Occurred()) SWIG_fail
;
31849 arg3
= wxString_in_helper(obj2
);
31850 if (arg3
== NULL
) SWIG_fail
;
31854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31855 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
31857 wxPyEndAllowThreads(__tstate
);
31858 if (PyErr_Occurred()) SWIG_fail
;
31860 Py_INCREF(Py_None
); resultobj
= Py_None
;
31875 static PyObject
*_wrap_MenuBar_GetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31876 PyObject
*resultobj
;
31877 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31880 PyObject
* obj0
= 0 ;
31881 PyObject
* obj1
= 0 ;
31882 char *kwnames
[] = {
31883 (char *) "self",(char *) "id", NULL
31886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetHelpString",kwnames
,&obj0
,&obj1
)) goto fail
;
31887 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31888 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31889 arg2
= (int) SWIG_AsInt(obj1
);
31890 if (PyErr_Occurred()) SWIG_fail
;
31892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31893 result
= ((wxMenuBar
const *)arg1
)->GetHelpString(arg2
);
31895 wxPyEndAllowThreads(__tstate
);
31896 if (PyErr_Occurred()) SWIG_fail
;
31900 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31902 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31911 static PyObject
*_wrap_MenuBar_GetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31912 PyObject
*resultobj
;
31913 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31915 PyObject
* obj0
= 0 ;
31916 char *kwnames
[] = {
31917 (char *) "self", NULL
31920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_GetFrame",kwnames
,&obj0
)) goto fail
;
31921 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31925 result
= (wxFrame
*)((wxMenuBar
const *)arg1
)->GetFrame();
31927 wxPyEndAllowThreads(__tstate
);
31928 if (PyErr_Occurred()) SWIG_fail
;
31931 resultobj
= wxPyMake_wxObject(result
, 0);
31939 static PyObject
*_wrap_MenuBar_IsAttached(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31940 PyObject
*resultobj
;
31941 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31943 PyObject
* obj0
= 0 ;
31944 char *kwnames
[] = {
31945 (char *) "self", NULL
31948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_IsAttached",kwnames
,&obj0
)) goto fail
;
31949 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31950 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31953 result
= (bool)((wxMenuBar
const *)arg1
)->IsAttached();
31955 wxPyEndAllowThreads(__tstate
);
31956 if (PyErr_Occurred()) SWIG_fail
;
31959 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31967 static PyObject
*_wrap_MenuBar_Attach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31968 PyObject
*resultobj
;
31969 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31970 wxFrame
*arg2
= (wxFrame
*) 0 ;
31971 PyObject
* obj0
= 0 ;
31972 PyObject
* obj1
= 0 ;
31973 char *kwnames
[] = {
31974 (char *) "self",(char *) "frame", NULL
31977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
31978 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31979 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31980 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
31981 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31984 (arg1
)->Attach(arg2
);
31986 wxPyEndAllowThreads(__tstate
);
31987 if (PyErr_Occurred()) SWIG_fail
;
31989 Py_INCREF(Py_None
); resultobj
= Py_None
;
31996 static PyObject
*_wrap_MenuBar_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31997 PyObject
*resultobj
;
31998 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31999 PyObject
* obj0
= 0 ;
32000 char *kwnames
[] = {
32001 (char *) "self", NULL
32004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_Detach",kwnames
,&obj0
)) goto fail
;
32005 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32006 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32011 wxPyEndAllowThreads(__tstate
);
32012 if (PyErr_Occurred()) SWIG_fail
;
32014 Py_INCREF(Py_None
); resultobj
= Py_None
;
32021 static PyObject
* MenuBar_swigregister(PyObject
*self
, PyObject
*args
) {
32023 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32024 SWIG_TypeClientData(SWIGTYPE_p_wxMenuBar
, obj
);
32026 return Py_BuildValue((char *)"");
32028 static PyObject
*_wrap_new_MenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32029 PyObject
*resultobj
;
32030 wxMenu
*arg1
= (wxMenu
*) NULL
;
32031 int arg2
= (int) wxID_ANY
;
32032 wxString
const &arg3_defvalue
= wxPyEmptyString
;
32033 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
32034 wxString
const &arg4_defvalue
= wxPyEmptyString
;
32035 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
32036 int arg5
= (int) wxITEM_NORMAL
;
32037 wxMenu
*arg6
= (wxMenu
*) NULL
;
32038 wxMenuItem
*result
;
32039 bool temp3
= False
;
32040 bool temp4
= False
;
32041 PyObject
* obj0
= 0 ;
32042 PyObject
* obj1
= 0 ;
32043 PyObject
* obj2
= 0 ;
32044 PyObject
* obj3
= 0 ;
32045 PyObject
* obj4
= 0 ;
32046 PyObject
* obj5
= 0 ;
32047 char *kwnames
[] = {
32048 (char *) "parentMenu",(char *) "id",(char *) "text",(char *) "help",(char *) "kind",(char *) "subMenu", NULL
32051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOO:new_MenuItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
32053 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
32054 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32057 arg2
= (int) SWIG_AsInt(obj1
);
32058 if (PyErr_Occurred()) SWIG_fail
;
32062 arg3
= wxString_in_helper(obj2
);
32063 if (arg3
== NULL
) SWIG_fail
;
32069 arg4
= wxString_in_helper(obj3
);
32070 if (arg4
== NULL
) SWIG_fail
;
32075 arg5
= (wxItemKind
) SWIG_AsInt(obj4
);
32076 if (PyErr_Occurred()) SWIG_fail
;
32079 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxMenu
,
32080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32084 result
= (wxMenuItem
*)new wxMenuItem(arg1
,arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
,arg6
);
32086 wxPyEndAllowThreads(__tstate
);
32087 if (PyErr_Occurred()) SWIG_fail
;
32090 resultobj
= wxPyMake_wxObject(result
, 1);
32114 static PyObject
*_wrap_MenuItem_GetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32115 PyObject
*resultobj
;
32116 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32118 PyObject
* obj0
= 0 ;
32119 char *kwnames
[] = {
32120 (char *) "self", NULL
32123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetMenu",kwnames
,&obj0
)) goto fail
;
32124 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32125 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32128 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetMenu();
32130 wxPyEndAllowThreads(__tstate
);
32131 if (PyErr_Occurred()) SWIG_fail
;
32134 resultobj
= wxPyMake_wxObject(result
, 0);
32142 static PyObject
*_wrap_MenuItem_SetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32143 PyObject
*resultobj
;
32144 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32145 wxMenu
*arg2
= (wxMenu
*) 0 ;
32146 PyObject
* obj0
= 0 ;
32147 PyObject
* obj1
= 0 ;
32148 char *kwnames
[] = {
32149 (char *) "self",(char *) "menu", NULL
32152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
32153 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32154 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32155 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
32156 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32159 (arg1
)->SetMenu(arg2
);
32161 wxPyEndAllowThreads(__tstate
);
32162 if (PyErr_Occurred()) SWIG_fail
;
32164 Py_INCREF(Py_None
); resultobj
= Py_None
;
32171 static PyObject
*_wrap_MenuItem_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32172 PyObject
*resultobj
;
32173 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32175 PyObject
* obj0
= 0 ;
32176 PyObject
* obj1
= 0 ;
32177 char *kwnames
[] = {
32178 (char *) "self",(char *) "id", NULL
32181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
32182 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32183 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32184 arg2
= (int) SWIG_AsInt(obj1
);
32185 if (PyErr_Occurred()) SWIG_fail
;
32187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32188 (arg1
)->SetId(arg2
);
32190 wxPyEndAllowThreads(__tstate
);
32191 if (PyErr_Occurred()) SWIG_fail
;
32193 Py_INCREF(Py_None
); resultobj
= Py_None
;
32200 static PyObject
*_wrap_MenuItem_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32201 PyObject
*resultobj
;
32202 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32204 PyObject
* obj0
= 0 ;
32205 char *kwnames
[] = {
32206 (char *) "self", NULL
32209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetId",kwnames
,&obj0
)) goto fail
;
32210 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32211 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32214 result
= (int)((wxMenuItem
const *)arg1
)->GetId();
32216 wxPyEndAllowThreads(__tstate
);
32217 if (PyErr_Occurred()) SWIG_fail
;
32219 resultobj
= SWIG_FromInt((int)result
);
32226 static PyObject
*_wrap_MenuItem_IsSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32227 PyObject
*resultobj
;
32228 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32230 PyObject
* obj0
= 0 ;
32231 char *kwnames
[] = {
32232 (char *) "self", NULL
32235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsSeparator",kwnames
,&obj0
)) goto fail
;
32236 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32237 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32240 result
= (bool)((wxMenuItem
const *)arg1
)->IsSeparator();
32242 wxPyEndAllowThreads(__tstate
);
32243 if (PyErr_Occurred()) SWIG_fail
;
32246 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32254 static PyObject
*_wrap_MenuItem_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32255 PyObject
*resultobj
;
32256 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32257 wxString
*arg2
= 0 ;
32258 bool temp2
= False
;
32259 PyObject
* obj0
= 0 ;
32260 PyObject
* obj1
= 0 ;
32261 char *kwnames
[] = {
32262 (char *) "self",(char *) "str", NULL
32265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
32266 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32267 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32269 arg2
= wxString_in_helper(obj1
);
32270 if (arg2
== NULL
) SWIG_fail
;
32274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32275 (arg1
)->SetText((wxString
const &)*arg2
);
32277 wxPyEndAllowThreads(__tstate
);
32278 if (PyErr_Occurred()) SWIG_fail
;
32280 Py_INCREF(Py_None
); resultobj
= Py_None
;
32295 static PyObject
*_wrap_MenuItem_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32296 PyObject
*resultobj
;
32297 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32299 PyObject
* obj0
= 0 ;
32300 char *kwnames
[] = {
32301 (char *) "self", NULL
32304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetLabel",kwnames
,&obj0
)) goto fail
;
32305 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32306 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32309 result
= ((wxMenuItem
const *)arg1
)->GetLabel();
32311 wxPyEndAllowThreads(__tstate
);
32312 if (PyErr_Occurred()) SWIG_fail
;
32316 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32318 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32327 static PyObject
*_wrap_MenuItem_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32328 PyObject
*resultobj
;
32329 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32331 PyObject
* obj0
= 0 ;
32332 char *kwnames
[] = {
32333 (char *) "self", NULL
32336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetText",kwnames
,&obj0
)) goto fail
;
32337 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32338 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32342 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetText();
32343 result
= (wxString
*) &_result_ref
;
32346 wxPyEndAllowThreads(__tstate
);
32347 if (PyErr_Occurred()) SWIG_fail
;
32351 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
32353 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
32362 static PyObject
*_wrap_MenuItem_GetLabelFromText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32363 PyObject
*resultobj
;
32364 wxString
*arg1
= 0 ;
32366 bool temp1
= False
;
32367 PyObject
* obj0
= 0 ;
32368 char *kwnames
[] = {
32369 (char *) "text", NULL
32372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetLabelFromText",kwnames
,&obj0
)) goto fail
;
32374 arg1
= wxString_in_helper(obj0
);
32375 if (arg1
== NULL
) SWIG_fail
;
32379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32380 result
= wxMenuItem::GetLabelFromText((wxString
const &)*arg1
);
32382 wxPyEndAllowThreads(__tstate
);
32383 if (PyErr_Occurred()) SWIG_fail
;
32387 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32389 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32406 static PyObject
*_wrap_MenuItem_GetKind(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32407 PyObject
*resultobj
;
32408 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32410 PyObject
* obj0
= 0 ;
32411 char *kwnames
[] = {
32412 (char *) "self", NULL
32415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetKind",kwnames
,&obj0
)) goto fail
;
32416 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32417 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32420 result
= (int)((wxMenuItem
const *)arg1
)->GetKind();
32422 wxPyEndAllowThreads(__tstate
);
32423 if (PyErr_Occurred()) SWIG_fail
;
32425 resultobj
= SWIG_FromInt((int)result
);
32432 static PyObject
*_wrap_MenuItem_SetKind(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32433 PyObject
*resultobj
;
32434 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32436 PyObject
* obj0
= 0 ;
32437 PyObject
* obj1
= 0 ;
32438 char *kwnames
[] = {
32439 (char *) "self",(char *) "kind", NULL
32442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetKind",kwnames
,&obj0
,&obj1
)) goto fail
;
32443 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32444 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32445 arg2
= (wxItemKind
) SWIG_AsInt(obj1
);
32446 if (PyErr_Occurred()) SWIG_fail
;
32448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32449 (arg1
)->SetKind((wxItemKind
)arg2
);
32451 wxPyEndAllowThreads(__tstate
);
32452 if (PyErr_Occurred()) SWIG_fail
;
32454 Py_INCREF(Py_None
); resultobj
= Py_None
;
32461 static PyObject
*_wrap_MenuItem_SetCheckable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32462 PyObject
*resultobj
;
32463 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32465 PyObject
* obj0
= 0 ;
32466 PyObject
* obj1
= 0 ;
32467 char *kwnames
[] = {
32468 (char *) "self",(char *) "checkable", NULL
32471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetCheckable",kwnames
,&obj0
,&obj1
)) goto fail
;
32472 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32473 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32474 arg2
= (bool) SWIG_AsBool(obj1
);
32475 if (PyErr_Occurred()) SWIG_fail
;
32477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32478 (arg1
)->SetCheckable(arg2
);
32480 wxPyEndAllowThreads(__tstate
);
32481 if (PyErr_Occurred()) SWIG_fail
;
32483 Py_INCREF(Py_None
); resultobj
= Py_None
;
32490 static PyObject
*_wrap_MenuItem_IsCheckable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32491 PyObject
*resultobj
;
32492 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32494 PyObject
* obj0
= 0 ;
32495 char *kwnames
[] = {
32496 (char *) "self", NULL
32499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsCheckable",kwnames
,&obj0
)) goto fail
;
32500 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32501 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32504 result
= (bool)((wxMenuItem
const *)arg1
)->IsCheckable();
32506 wxPyEndAllowThreads(__tstate
);
32507 if (PyErr_Occurred()) SWIG_fail
;
32510 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32518 static PyObject
*_wrap_MenuItem_IsSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32519 PyObject
*resultobj
;
32520 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32522 PyObject
* obj0
= 0 ;
32523 char *kwnames
[] = {
32524 (char *) "self", NULL
32527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsSubMenu",kwnames
,&obj0
)) goto fail
;
32528 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32529 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32532 result
= (bool)((wxMenuItem
const *)arg1
)->IsSubMenu();
32534 wxPyEndAllowThreads(__tstate
);
32535 if (PyErr_Occurred()) SWIG_fail
;
32538 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32546 static PyObject
*_wrap_MenuItem_SetSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32547 PyObject
*resultobj
;
32548 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32549 wxMenu
*arg2
= (wxMenu
*) 0 ;
32550 PyObject
* obj0
= 0 ;
32551 PyObject
* obj1
= 0 ;
32552 char *kwnames
[] = {
32553 (char *) "self",(char *) "menu", NULL
32556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetSubMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
32557 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32558 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32559 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
32560 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32563 (arg1
)->SetSubMenu(arg2
);
32565 wxPyEndAllowThreads(__tstate
);
32566 if (PyErr_Occurred()) SWIG_fail
;
32568 Py_INCREF(Py_None
); resultobj
= Py_None
;
32575 static PyObject
*_wrap_MenuItem_GetSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32576 PyObject
*resultobj
;
32577 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32579 PyObject
* obj0
= 0 ;
32580 char *kwnames
[] = {
32581 (char *) "self", NULL
32584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetSubMenu",kwnames
,&obj0
)) goto fail
;
32585 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32586 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32589 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetSubMenu();
32591 wxPyEndAllowThreads(__tstate
);
32592 if (PyErr_Occurred()) SWIG_fail
;
32595 resultobj
= wxPyMake_wxObject(result
, 0);
32603 static PyObject
*_wrap_MenuItem_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32604 PyObject
*resultobj
;
32605 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32606 bool arg2
= (bool) True
;
32607 PyObject
* obj0
= 0 ;
32608 PyObject
* obj1
= 0 ;
32609 char *kwnames
[] = {
32610 (char *) "self",(char *) "enable", NULL
32613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
32614 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32615 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32617 arg2
= (bool) SWIG_AsBool(obj1
);
32618 if (PyErr_Occurred()) SWIG_fail
;
32621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32622 (arg1
)->Enable(arg2
);
32624 wxPyEndAllowThreads(__tstate
);
32625 if (PyErr_Occurred()) SWIG_fail
;
32627 Py_INCREF(Py_None
); resultobj
= Py_None
;
32634 static PyObject
*_wrap_MenuItem_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32635 PyObject
*resultobj
;
32636 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32638 PyObject
* obj0
= 0 ;
32639 char *kwnames
[] = {
32640 (char *) "self", NULL
32643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsEnabled",kwnames
,&obj0
)) goto fail
;
32644 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32645 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32648 result
= (bool)((wxMenuItem
const *)arg1
)->IsEnabled();
32650 wxPyEndAllowThreads(__tstate
);
32651 if (PyErr_Occurred()) SWIG_fail
;
32654 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32662 static PyObject
*_wrap_MenuItem_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32663 PyObject
*resultobj
;
32664 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32665 bool arg2
= (bool) True
;
32666 PyObject
* obj0
= 0 ;
32667 PyObject
* obj1
= 0 ;
32668 char *kwnames
[] = {
32669 (char *) "self",(char *) "check", NULL
32672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Check",kwnames
,&obj0
,&obj1
)) goto fail
;
32673 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32674 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32676 arg2
= (bool) SWIG_AsBool(obj1
);
32677 if (PyErr_Occurred()) SWIG_fail
;
32680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32681 (arg1
)->Check(arg2
);
32683 wxPyEndAllowThreads(__tstate
);
32684 if (PyErr_Occurred()) SWIG_fail
;
32686 Py_INCREF(Py_None
); resultobj
= Py_None
;
32693 static PyObject
*_wrap_MenuItem_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32694 PyObject
*resultobj
;
32695 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32697 PyObject
* obj0
= 0 ;
32698 char *kwnames
[] = {
32699 (char *) "self", NULL
32702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsChecked",kwnames
,&obj0
)) goto fail
;
32703 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32704 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32707 result
= (bool)((wxMenuItem
const *)arg1
)->IsChecked();
32709 wxPyEndAllowThreads(__tstate
);
32710 if (PyErr_Occurred()) SWIG_fail
;
32713 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32721 static PyObject
*_wrap_MenuItem_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32722 PyObject
*resultobj
;
32723 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32724 PyObject
* obj0
= 0 ;
32725 char *kwnames
[] = {
32726 (char *) "self", NULL
32729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_Toggle",kwnames
,&obj0
)) goto fail
;
32730 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32731 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32736 wxPyEndAllowThreads(__tstate
);
32737 if (PyErr_Occurred()) SWIG_fail
;
32739 Py_INCREF(Py_None
); resultobj
= Py_None
;
32746 static PyObject
*_wrap_MenuItem_SetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32747 PyObject
*resultobj
;
32748 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32749 wxString
*arg2
= 0 ;
32750 bool temp2
= False
;
32751 PyObject
* obj0
= 0 ;
32752 PyObject
* obj1
= 0 ;
32753 char *kwnames
[] = {
32754 (char *) "self",(char *) "str", NULL
32757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
32758 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32759 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32761 arg2
= wxString_in_helper(obj1
);
32762 if (arg2
== NULL
) SWIG_fail
;
32766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32767 (arg1
)->SetHelp((wxString
const &)*arg2
);
32769 wxPyEndAllowThreads(__tstate
);
32770 if (PyErr_Occurred()) SWIG_fail
;
32772 Py_INCREF(Py_None
); resultobj
= Py_None
;
32787 static PyObject
*_wrap_MenuItem_GetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32788 PyObject
*resultobj
;
32789 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32791 PyObject
* obj0
= 0 ;
32792 char *kwnames
[] = {
32793 (char *) "self", NULL
32796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetHelp",kwnames
,&obj0
)) goto fail
;
32797 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32798 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32802 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetHelp();
32803 result
= (wxString
*) &_result_ref
;
32806 wxPyEndAllowThreads(__tstate
);
32807 if (PyErr_Occurred()) SWIG_fail
;
32811 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
32813 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
32822 static PyObject
*_wrap_MenuItem_GetAccel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32823 PyObject
*resultobj
;
32824 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32825 wxAcceleratorEntry
*result
;
32826 PyObject
* obj0
= 0 ;
32827 char *kwnames
[] = {
32828 (char *) "self", NULL
32831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetAccel",kwnames
,&obj0
)) goto fail
;
32832 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32833 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32836 result
= (wxAcceleratorEntry
*)((wxMenuItem
const *)arg1
)->GetAccel();
32838 wxPyEndAllowThreads(__tstate
);
32839 if (PyErr_Occurred()) SWIG_fail
;
32841 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 0);
32848 static PyObject
*_wrap_MenuItem_SetAccel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32849 PyObject
*resultobj
;
32850 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32851 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
32852 PyObject
* obj0
= 0 ;
32853 PyObject
* obj1
= 0 ;
32854 char *kwnames
[] = {
32855 (char *) "self",(char *) "accel", NULL
32858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetAccel",kwnames
,&obj0
,&obj1
)) goto fail
;
32859 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32860 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32861 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxAcceleratorEntry
,
32862 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32865 (arg1
)->SetAccel(arg2
);
32867 wxPyEndAllowThreads(__tstate
);
32868 if (PyErr_Occurred()) SWIG_fail
;
32870 Py_INCREF(Py_None
); resultobj
= Py_None
;
32877 static PyObject
*_wrap_MenuItem_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32878 PyObject
*resultobj
;
32879 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32881 PyObject
* obj0
= 0 ;
32882 PyObject
* obj1
= 0 ;
32883 char *kwnames
[] = {
32884 (char *) "self",(char *) "font", NULL
32887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
32888 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32889 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32890 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
32891 SWIG_POINTER_EXCEPTION
| 0)) == -1)
32893 if (arg2
== NULL
) {
32894 PyErr_SetString(PyExc_TypeError
,"null reference");
32898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32899 (arg1
)->SetFont((wxFont
const &)*arg2
);
32901 wxPyEndAllowThreads(__tstate
);
32902 if (PyErr_Occurred()) SWIG_fail
;
32904 Py_INCREF(Py_None
); resultobj
= Py_None
;
32911 static PyObject
*_wrap_MenuItem_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32912 PyObject
*resultobj
;
32913 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32915 PyObject
* obj0
= 0 ;
32916 char *kwnames
[] = {
32917 (char *) "self", NULL
32920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetFont",kwnames
,&obj0
)) goto fail
;
32921 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32925 result
= (arg1
)->GetFont();
32927 wxPyEndAllowThreads(__tstate
);
32928 if (PyErr_Occurred()) SWIG_fail
;
32931 wxFont
* resultptr
;
32932 resultptr
= new wxFont((wxFont
&) result
);
32933 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
32941 static PyObject
*_wrap_MenuItem_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32942 PyObject
*resultobj
;
32943 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32944 wxColour
*arg2
= 0 ;
32946 PyObject
* obj0
= 0 ;
32947 PyObject
* obj1
= 0 ;
32948 char *kwnames
[] = {
32949 (char *) "self",(char *) "colText", NULL
32952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
32953 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32954 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32957 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
32960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32961 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
32963 wxPyEndAllowThreads(__tstate
);
32964 if (PyErr_Occurred()) SWIG_fail
;
32966 Py_INCREF(Py_None
); resultobj
= Py_None
;
32973 static PyObject
*_wrap_MenuItem_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32974 PyObject
*resultobj
;
32975 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32977 PyObject
* obj0
= 0 ;
32978 char *kwnames
[] = {
32979 (char *) "self", NULL
32982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetTextColour",kwnames
,&obj0
)) goto fail
;
32983 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32984 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32987 result
= (arg1
)->GetTextColour();
32989 wxPyEndAllowThreads(__tstate
);
32990 if (PyErr_Occurred()) SWIG_fail
;
32993 wxColour
* resultptr
;
32994 resultptr
= new wxColour((wxColour
&) result
);
32995 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
33003 static PyObject
*_wrap_MenuItem_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33004 PyObject
*resultobj
;
33005 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33006 wxColour
*arg2
= 0 ;
33008 PyObject
* obj0
= 0 ;
33009 PyObject
* obj1
= 0 ;
33010 char *kwnames
[] = {
33011 (char *) "self",(char *) "colBack", NULL
33014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
33015 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33016 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33019 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33023 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
33025 wxPyEndAllowThreads(__tstate
);
33026 if (PyErr_Occurred()) SWIG_fail
;
33028 Py_INCREF(Py_None
); resultobj
= Py_None
;
33035 static PyObject
*_wrap_MenuItem_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33036 PyObject
*resultobj
;
33037 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33039 PyObject
* obj0
= 0 ;
33040 char *kwnames
[] = {
33041 (char *) "self", NULL
33044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
33045 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33046 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33049 result
= (arg1
)->GetBackgroundColour();
33051 wxPyEndAllowThreads(__tstate
);
33052 if (PyErr_Occurred()) SWIG_fail
;
33055 wxColour
* resultptr
;
33056 resultptr
= new wxColour((wxColour
&) result
);
33057 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
33065 static PyObject
*_wrap_MenuItem_SetBitmaps(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33066 PyObject
*resultobj
;
33067 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33068 wxBitmap
*arg2
= 0 ;
33069 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
33070 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
33071 PyObject
* obj0
= 0 ;
33072 PyObject
* obj1
= 0 ;
33073 PyObject
* obj2
= 0 ;
33074 char *kwnames
[] = {
33075 (char *) "self",(char *) "bmpChecked",(char *) "bmpUnchecked", NULL
33078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MenuItem_SetBitmaps",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33079 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33081 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
33082 SWIG_POINTER_EXCEPTION
| 0)) == -1)
33084 if (arg2
== NULL
) {
33085 PyErr_SetString(PyExc_TypeError
,"null reference");
33089 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
33090 SWIG_POINTER_EXCEPTION
| 0)) == -1)
33092 if (arg3
== NULL
) {
33093 PyErr_SetString(PyExc_TypeError
,"null reference");
33098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33099 (arg1
)->SetBitmaps((wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
33101 wxPyEndAllowThreads(__tstate
);
33102 if (PyErr_Occurred()) SWIG_fail
;
33104 Py_INCREF(Py_None
); resultobj
= Py_None
;
33111 static PyObject
*_wrap_MenuItem_SetDisabledBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33112 PyObject
*resultobj
;
33113 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33114 wxBitmap
*arg2
= 0 ;
33115 PyObject
* obj0
= 0 ;
33116 PyObject
* obj1
= 0 ;
33117 char *kwnames
[] = {
33118 (char *) "self",(char *) "bmpDisabled", NULL
33121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
33122 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33123 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33124 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
33125 SWIG_POINTER_EXCEPTION
| 0)) == -1)
33127 if (arg2
== NULL
) {
33128 PyErr_SetString(PyExc_TypeError
,"null reference");
33132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33133 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
33135 wxPyEndAllowThreads(__tstate
);
33136 if (PyErr_Occurred()) SWIG_fail
;
33138 Py_INCREF(Py_None
); resultobj
= Py_None
;
33145 static PyObject
*_wrap_MenuItem_GetDisabledBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33146 PyObject
*resultobj
;
33147 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33149 PyObject
* obj0
= 0 ;
33150 char *kwnames
[] = {
33151 (char *) "self", NULL
33154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetDisabledBitmap",kwnames
,&obj0
)) goto fail
;
33155 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33156 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33160 wxBitmap
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetDisabledBitmap();
33161 result
= (wxBitmap
*) &_result_ref
;
33164 wxPyEndAllowThreads(__tstate
);
33165 if (PyErr_Occurred()) SWIG_fail
;
33168 wxBitmap
* resultptr
= new wxBitmap(*result
);
33169 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
33177 static PyObject
*_wrap_MenuItem_SetMarginWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33178 PyObject
*resultobj
;
33179 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33181 PyObject
* obj0
= 0 ;
33182 PyObject
* obj1
= 0 ;
33183 char *kwnames
[] = {
33184 (char *) "self",(char *) "nWidth", NULL
33187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetMarginWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
33188 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33189 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33190 arg2
= (int) SWIG_AsInt(obj1
);
33191 if (PyErr_Occurred()) SWIG_fail
;
33193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33194 (arg1
)->SetMarginWidth(arg2
);
33196 wxPyEndAllowThreads(__tstate
);
33197 if (PyErr_Occurred()) SWIG_fail
;
33199 Py_INCREF(Py_None
); resultobj
= Py_None
;
33206 static PyObject
*_wrap_MenuItem_GetMarginWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33207 PyObject
*resultobj
;
33208 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33210 PyObject
* obj0
= 0 ;
33211 char *kwnames
[] = {
33212 (char *) "self", NULL
33215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetMarginWidth",kwnames
,&obj0
)) goto fail
;
33216 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33217 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33220 result
= (int)(arg1
)->GetMarginWidth();
33222 wxPyEndAllowThreads(__tstate
);
33223 if (PyErr_Occurred()) SWIG_fail
;
33225 resultobj
= SWIG_FromInt((int)result
);
33232 static PyObject
*_wrap_MenuItem_GetDefaultMarginWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33233 PyObject
*resultobj
;
33235 char *kwnames
[] = {
33239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MenuItem_GetDefaultMarginWidth",kwnames
)) goto fail
;
33241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33242 result
= (int)wxMenuItem::GetDefaultMarginWidth();
33244 wxPyEndAllowThreads(__tstate
);
33245 if (PyErr_Occurred()) SWIG_fail
;
33247 resultobj
= SWIG_FromInt((int)result
);
33254 static PyObject
*_wrap_MenuItem_IsOwnerDrawn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33255 PyObject
*resultobj
;
33256 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33258 PyObject
* obj0
= 0 ;
33259 char *kwnames
[] = {
33260 (char *) "self", NULL
33263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsOwnerDrawn",kwnames
,&obj0
)) goto fail
;
33264 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33268 result
= (bool)(arg1
)->IsOwnerDrawn();
33270 wxPyEndAllowThreads(__tstate
);
33271 if (PyErr_Occurred()) SWIG_fail
;
33274 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33282 static PyObject
*_wrap_MenuItem_SetOwnerDrawn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33283 PyObject
*resultobj
;
33284 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33285 bool arg2
= (bool) True
;
33286 PyObject
* obj0
= 0 ;
33287 PyObject
* obj1
= 0 ;
33288 char *kwnames
[] = {
33289 (char *) "self",(char *) "ownerDrawn", NULL
33292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_SetOwnerDrawn",kwnames
,&obj0
,&obj1
)) goto fail
;
33293 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33294 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33296 arg2
= (bool) SWIG_AsBool(obj1
);
33297 if (PyErr_Occurred()) SWIG_fail
;
33300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33301 (arg1
)->SetOwnerDrawn(arg2
);
33303 wxPyEndAllowThreads(__tstate
);
33304 if (PyErr_Occurred()) SWIG_fail
;
33306 Py_INCREF(Py_None
); resultobj
= Py_None
;
33313 static PyObject
*_wrap_MenuItem_ResetOwnerDrawn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33314 PyObject
*resultobj
;
33315 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33316 PyObject
* obj0
= 0 ;
33317 char *kwnames
[] = {
33318 (char *) "self", NULL
33321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_ResetOwnerDrawn",kwnames
,&obj0
)) goto fail
;
33322 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33323 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33326 (arg1
)->ResetOwnerDrawn();
33328 wxPyEndAllowThreads(__tstate
);
33329 if (PyErr_Occurred()) SWIG_fail
;
33331 Py_INCREF(Py_None
); resultobj
= Py_None
;
33338 static PyObject
*_wrap_MenuItem_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33339 PyObject
*resultobj
;
33340 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33341 wxBitmap
*arg2
= 0 ;
33342 PyObject
* obj0
= 0 ;
33343 PyObject
* obj1
= 0 ;
33344 char *kwnames
[] = {
33345 (char *) "self",(char *) "bitmap", NULL
33348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
33349 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33350 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33351 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
33352 SWIG_POINTER_EXCEPTION
| 0)) == -1)
33354 if (arg2
== NULL
) {
33355 PyErr_SetString(PyExc_TypeError
,"null reference");
33359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33360 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
33362 wxPyEndAllowThreads(__tstate
);
33363 if (PyErr_Occurred()) SWIG_fail
;
33365 Py_INCREF(Py_None
); resultobj
= Py_None
;
33372 static PyObject
*_wrap_MenuItem_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33373 PyObject
*resultobj
;
33374 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33376 PyObject
* obj0
= 0 ;
33377 char *kwnames
[] = {
33378 (char *) "self", NULL
33381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetBitmap",kwnames
,&obj0
)) goto fail
;
33382 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33383 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33387 wxBitmap
const &_result_ref
= (arg1
)->GetBitmap();
33388 result
= (wxBitmap
*) &_result_ref
;
33391 wxPyEndAllowThreads(__tstate
);
33392 if (PyErr_Occurred()) SWIG_fail
;
33395 wxBitmap
* resultptr
= new wxBitmap(*result
);
33396 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
33404 static PyObject
* MenuItem_swigregister(PyObject
*self
, PyObject
*args
) {
33406 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33407 SWIG_TypeClientData(SWIGTYPE_p_wxMenuItem
, obj
);
33409 return Py_BuildValue((char *)"");
33411 static int _wrap_ControlNameStr_set(PyObject
*_val
) {
33412 PyErr_SetString(PyExc_TypeError
,"Variable ControlNameStr is read-only.");
33417 static PyObject
*_wrap_ControlNameStr_get() {
33422 pyobj
= PyUnicode_FromWideChar((&wxPyControlNameStr
)->c_str(), (&wxPyControlNameStr
)->Len());
33424 pyobj
= PyString_FromStringAndSize((&wxPyControlNameStr
)->c_str(), (&wxPyControlNameStr
)->Len());
33431 static PyObject
*_wrap_new_Control(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33432 PyObject
*resultobj
;
33433 wxWindow
*arg1
= (wxWindow
*) 0 ;
33434 int arg2
= (int) -1 ;
33435 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
33436 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
33437 wxSize
const &arg4_defvalue
= wxDefaultSize
;
33438 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
33439 long arg5
= (long) 0 ;
33440 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
33441 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
33442 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
33443 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
33447 bool temp7
= False
;
33448 PyObject
* obj0
= 0 ;
33449 PyObject
* obj1
= 0 ;
33450 PyObject
* obj2
= 0 ;
33451 PyObject
* obj3
= 0 ;
33452 PyObject
* obj4
= 0 ;
33453 PyObject
* obj5
= 0 ;
33454 PyObject
* obj6
= 0 ;
33455 char *kwnames
[] = {
33456 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
33459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Control",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
33460 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
33461 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33463 arg2
= (int) SWIG_AsInt(obj1
);
33464 if (PyErr_Occurred()) SWIG_fail
;
33469 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
33475 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
33479 arg5
= (long) SWIG_AsLong(obj4
);
33480 if (PyErr_Occurred()) SWIG_fail
;
33483 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
33484 SWIG_POINTER_EXCEPTION
| 0)) == -1)
33486 if (arg6
== NULL
) {
33487 PyErr_SetString(PyExc_TypeError
,"null reference");
33493 arg7
= wxString_in_helper(obj6
);
33494 if (arg7
== NULL
) SWIG_fail
;
33499 if (!wxPyCheckForApp()) SWIG_fail
;
33500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33501 result
= (wxControl
*)new wxControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
33503 wxPyEndAllowThreads(__tstate
);
33504 if (PyErr_Occurred()) SWIG_fail
;
33506 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxControl
, 1);
33521 static PyObject
*_wrap_new_PreControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33522 PyObject
*resultobj
;
33524 char *kwnames
[] = {
33528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreControl",kwnames
)) goto fail
;
33530 if (!wxPyCheckForApp()) SWIG_fail
;
33531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33532 result
= (wxControl
*)new wxControl();
33534 wxPyEndAllowThreads(__tstate
);
33535 if (PyErr_Occurred()) SWIG_fail
;
33537 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxControl
, 1);
33544 static PyObject
*_wrap_Control_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33545 PyObject
*resultobj
;
33546 wxControl
*arg1
= (wxControl
*) 0 ;
33547 wxWindow
*arg2
= (wxWindow
*) 0 ;
33548 int arg3
= (int) -1 ;
33549 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
33550 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
33551 wxSize
const &arg5_defvalue
= wxDefaultSize
;
33552 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
33553 long arg6
= (long) 0 ;
33554 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
33555 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
33556 wxString
const &arg8_defvalue
= wxPyControlNameStr
;
33557 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
33561 bool temp8
= False
;
33562 PyObject
* obj0
= 0 ;
33563 PyObject
* obj1
= 0 ;
33564 PyObject
* obj2
= 0 ;
33565 PyObject
* obj3
= 0 ;
33566 PyObject
* obj4
= 0 ;
33567 PyObject
* obj5
= 0 ;
33568 PyObject
* obj6
= 0 ;
33569 PyObject
* obj7
= 0 ;
33570 char *kwnames
[] = {
33571 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
33574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Control_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
33575 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxControl
,
33576 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33577 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
33578 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33580 arg3
= (int) SWIG_AsInt(obj2
);
33581 if (PyErr_Occurred()) SWIG_fail
;
33586 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
33592 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
33596 arg6
= (long) SWIG_AsLong(obj5
);
33597 if (PyErr_Occurred()) SWIG_fail
;
33600 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
33601 SWIG_POINTER_EXCEPTION
| 0)) == -1)
33603 if (arg7
== NULL
) {
33604 PyErr_SetString(PyExc_TypeError
,"null reference");
33610 arg8
= wxString_in_helper(obj7
);
33611 if (arg8
== NULL
) SWIG_fail
;
33616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33617 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
33619 wxPyEndAllowThreads(__tstate
);
33620 if (PyErr_Occurred()) SWIG_fail
;
33623 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33639 static PyObject
*_wrap_Control_Command(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33640 PyObject
*resultobj
;
33641 wxControl
*arg1
= (wxControl
*) 0 ;
33642 wxCommandEvent
*arg2
= 0 ;
33643 PyObject
* obj0
= 0 ;
33644 PyObject
* obj1
= 0 ;
33645 char *kwnames
[] = {
33646 (char *) "self",(char *) "event", NULL
33649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Control_Command",kwnames
,&obj0
,&obj1
)) goto fail
;
33650 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxControl
,
33651 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33652 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCommandEvent
,
33653 SWIG_POINTER_EXCEPTION
| 0)) == -1)
33655 if (arg2
== NULL
) {
33656 PyErr_SetString(PyExc_TypeError
,"null reference");
33660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33661 (arg1
)->Command(*arg2
);
33663 wxPyEndAllowThreads(__tstate
);
33664 if (PyErr_Occurred()) SWIG_fail
;
33666 Py_INCREF(Py_None
); resultobj
= Py_None
;
33673 static PyObject
*_wrap_Control_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33674 PyObject
*resultobj
;
33675 wxControl
*arg1
= (wxControl
*) 0 ;
33677 PyObject
* obj0
= 0 ;
33678 char *kwnames
[] = {
33679 (char *) "self", NULL
33682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Control_GetLabel",kwnames
,&obj0
)) goto fail
;
33683 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxControl
,
33684 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33687 result
= (arg1
)->GetLabel();
33689 wxPyEndAllowThreads(__tstate
);
33690 if (PyErr_Occurred()) SWIG_fail
;
33694 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33696 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33705 static PyObject
*_wrap_Control_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33706 PyObject
*resultobj
;
33707 wxControl
*arg1
= (wxControl
*) 0 ;
33708 wxString
*arg2
= 0 ;
33709 bool temp2
= False
;
33710 PyObject
* obj0
= 0 ;
33711 PyObject
* obj1
= 0 ;
33712 char *kwnames
[] = {
33713 (char *) "self",(char *) "label", NULL
33716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Control_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
33717 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxControl
,
33718 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33720 arg2
= wxString_in_helper(obj1
);
33721 if (arg2
== NULL
) SWIG_fail
;
33725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33726 (arg1
)->SetLabel((wxString
const &)*arg2
);
33728 wxPyEndAllowThreads(__tstate
);
33729 if (PyErr_Occurred()) SWIG_fail
;
33731 Py_INCREF(Py_None
); resultobj
= Py_None
;
33746 static PyObject
*_wrap_Control_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33747 PyObject
*resultobj
;
33748 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
33749 wxVisualAttributes result
;
33750 PyObject
* obj0
= 0 ;
33751 char *kwnames
[] = {
33752 (char *) "variant", NULL
33755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Control_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
33757 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
33758 if (PyErr_Occurred()) SWIG_fail
;
33761 if (!wxPyCheckForApp()) SWIG_fail
;
33762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33763 result
= wxControl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
33765 wxPyEndAllowThreads(__tstate
);
33766 if (PyErr_Occurred()) SWIG_fail
;
33769 wxVisualAttributes
* resultptr
;
33770 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
33771 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
33779 static PyObject
* Control_swigregister(PyObject
*self
, PyObject
*args
) {
33781 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33782 SWIG_TypeClientData(SWIGTYPE_p_wxControl
, obj
);
33784 return Py_BuildValue((char *)"");
33786 static PyObject
*_wrap_ItemContainer_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33787 PyObject
*resultobj
;
33788 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33789 wxString
*arg2
= 0 ;
33790 PyObject
*arg3
= (PyObject
*) NULL
;
33792 bool temp2
= False
;
33793 PyObject
* obj0
= 0 ;
33794 PyObject
* obj1
= 0 ;
33795 PyObject
* obj2
= 0 ;
33796 char *kwnames
[] = {
33797 (char *) "self",(char *) "item",(char *) "clientData", NULL
33800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ItemContainer_Append",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33801 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33802 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33804 arg2
= wxString_in_helper(obj1
);
33805 if (arg2
== NULL
) SWIG_fail
;
33812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33813 result
= (int)wxItemContainer_Append(arg1
,(wxString
const &)*arg2
,arg3
);
33815 wxPyEndAllowThreads(__tstate
);
33816 if (PyErr_Occurred()) SWIG_fail
;
33818 resultobj
= SWIG_FromInt((int)result
);
33833 static PyObject
*_wrap_ItemContainer_AppendItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33834 PyObject
*resultobj
;
33835 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33836 wxArrayString
*arg2
= 0 ;
33837 bool temp2
= False
;
33838 PyObject
* obj0
= 0 ;
33839 PyObject
* obj1
= 0 ;
33840 char *kwnames
[] = {
33841 (char *) "self",(char *) "strings", NULL
33844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_AppendItems",kwnames
,&obj0
,&obj1
)) goto fail
;
33845 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33846 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33848 if (! PySequence_Check(obj1
)) {
33849 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
33852 arg2
= new wxArrayString
;
33854 int i
, len
=PySequence_Length(obj1
);
33855 for (i
=0; i
<len
; i
++) {
33856 PyObject
* item
= PySequence_GetItem(obj1
, i
);
33858 PyObject
* str
= PyObject_Unicode(item
);
33860 PyObject
* str
= PyObject_Str(item
);
33862 if (PyErr_Occurred()) SWIG_fail
;
33863 arg2
->Add(Py2wxString(str
));
33869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33870 (arg1
)->Append((wxArrayString
const &)*arg2
);
33872 wxPyEndAllowThreads(__tstate
);
33873 if (PyErr_Occurred()) SWIG_fail
;
33875 Py_INCREF(Py_None
); resultobj
= Py_None
;
33877 if (temp2
) delete arg2
;
33882 if (temp2
) delete arg2
;
33888 static PyObject
*_wrap_ItemContainer_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33889 PyObject
*resultobj
;
33890 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33891 wxString
*arg2
= 0 ;
33893 PyObject
*arg4
= (PyObject
*) NULL
;
33895 bool temp2
= False
;
33896 PyObject
* obj0
= 0 ;
33897 PyObject
* obj1
= 0 ;
33898 PyObject
* obj2
= 0 ;
33899 PyObject
* obj3
= 0 ;
33900 char *kwnames
[] = {
33901 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
33904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ItemContainer_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
33905 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33906 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33908 arg2
= wxString_in_helper(obj1
);
33909 if (arg2
== NULL
) SWIG_fail
;
33912 arg3
= (int) SWIG_AsInt(obj2
);
33913 if (PyErr_Occurred()) SWIG_fail
;
33918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33919 result
= (int)wxItemContainer_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
33921 wxPyEndAllowThreads(__tstate
);
33922 if (PyErr_Occurred()) SWIG_fail
;
33924 resultobj
= SWIG_FromInt((int)result
);
33939 static PyObject
*_wrap_ItemContainer_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33940 PyObject
*resultobj
;
33941 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33942 PyObject
* obj0
= 0 ;
33943 char *kwnames
[] = {
33944 (char *) "self", NULL
33947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_Clear",kwnames
,&obj0
)) goto fail
;
33948 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33949 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33954 wxPyEndAllowThreads(__tstate
);
33955 if (PyErr_Occurred()) SWIG_fail
;
33957 Py_INCREF(Py_None
); resultobj
= Py_None
;
33964 static PyObject
*_wrap_ItemContainer_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33965 PyObject
*resultobj
;
33966 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33968 PyObject
* obj0
= 0 ;
33969 PyObject
* obj1
= 0 ;
33970 char *kwnames
[] = {
33971 (char *) "self",(char *) "n", NULL
33974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
33975 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33976 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33977 arg2
= (int) SWIG_AsInt(obj1
);
33978 if (PyErr_Occurred()) SWIG_fail
;
33980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33981 (arg1
)->Delete(arg2
);
33983 wxPyEndAllowThreads(__tstate
);
33984 if (PyErr_Occurred()) SWIG_fail
;
33986 Py_INCREF(Py_None
); resultobj
= Py_None
;
33993 static PyObject
*_wrap_ItemContainer_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33994 PyObject
*resultobj
;
33995 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33997 PyObject
* obj0
= 0 ;
33998 char *kwnames
[] = {
33999 (char *) "self", NULL
34002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetCount",kwnames
,&obj0
)) goto fail
;
34003 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34004 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34007 result
= (int)((wxItemContainer
const *)arg1
)->GetCount();
34009 wxPyEndAllowThreads(__tstate
);
34010 if (PyErr_Occurred()) SWIG_fail
;
34012 resultobj
= SWIG_FromInt((int)result
);
34019 static PyObject
*_wrap_ItemContainer_IsEmpty(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34020 PyObject
*resultobj
;
34021 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34023 PyObject
* obj0
= 0 ;
34024 char *kwnames
[] = {
34025 (char *) "self", NULL
34028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_IsEmpty",kwnames
,&obj0
)) goto fail
;
34029 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34030 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34033 result
= (bool)((wxItemContainer
const *)arg1
)->IsEmpty();
34035 wxPyEndAllowThreads(__tstate
);
34036 if (PyErr_Occurred()) SWIG_fail
;
34039 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34047 static PyObject
*_wrap_ItemContainer_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34048 PyObject
*resultobj
;
34049 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34052 PyObject
* obj0
= 0 ;
34053 PyObject
* obj1
= 0 ;
34054 char *kwnames
[] = {
34055 (char *) "self",(char *) "n", NULL
34058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_GetString",kwnames
,&obj0
,&obj1
)) goto fail
;
34059 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34060 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34061 arg2
= (int) SWIG_AsInt(obj1
);
34062 if (PyErr_Occurred()) SWIG_fail
;
34064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34065 result
= ((wxItemContainer
const *)arg1
)->GetString(arg2
);
34067 wxPyEndAllowThreads(__tstate
);
34068 if (PyErr_Occurred()) SWIG_fail
;
34072 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
34074 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
34083 static PyObject
*_wrap_ItemContainer_GetStrings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34084 PyObject
*resultobj
;
34085 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34086 wxArrayString result
;
34087 PyObject
* obj0
= 0 ;
34088 char *kwnames
[] = {
34089 (char *) "self", NULL
34092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetStrings",kwnames
,&obj0
)) goto fail
;
34093 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34094 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34097 result
= ((wxItemContainer
const *)arg1
)->GetStrings();
34099 wxPyEndAllowThreads(__tstate
);
34100 if (PyErr_Occurred()) SWIG_fail
;
34103 resultobj
= wxArrayString2PyList_helper(result
);
34111 static PyObject
*_wrap_ItemContainer_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34112 PyObject
*resultobj
;
34113 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34115 wxString
*arg3
= 0 ;
34116 bool temp3
= False
;
34117 PyObject
* obj0
= 0 ;
34118 PyObject
* obj1
= 0 ;
34119 PyObject
* obj2
= 0 ;
34120 char *kwnames
[] = {
34121 (char *) "self",(char *) "n",(char *) "s", NULL
34124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ItemContainer_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34125 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34126 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34127 arg2
= (int) SWIG_AsInt(obj1
);
34128 if (PyErr_Occurred()) SWIG_fail
;
34130 arg3
= wxString_in_helper(obj2
);
34131 if (arg3
== NULL
) SWIG_fail
;
34135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34136 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
34138 wxPyEndAllowThreads(__tstate
);
34139 if (PyErr_Occurred()) SWIG_fail
;
34141 Py_INCREF(Py_None
); resultobj
= Py_None
;
34156 static PyObject
*_wrap_ItemContainer_FindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34157 PyObject
*resultobj
;
34158 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34159 wxString
*arg2
= 0 ;
34161 bool temp2
= False
;
34162 PyObject
* obj0
= 0 ;
34163 PyObject
* obj1
= 0 ;
34164 char *kwnames
[] = {
34165 (char *) "self",(char *) "s", NULL
34168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_FindString",kwnames
,&obj0
,&obj1
)) goto fail
;
34169 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34170 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34172 arg2
= wxString_in_helper(obj1
);
34173 if (arg2
== NULL
) SWIG_fail
;
34177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34178 result
= (int)((wxItemContainer
const *)arg1
)->FindString((wxString
const &)*arg2
);
34180 wxPyEndAllowThreads(__tstate
);
34181 if (PyErr_Occurred()) SWIG_fail
;
34183 resultobj
= SWIG_FromInt((int)result
);
34198 static PyObject
*_wrap_ItemContainer_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34199 PyObject
*resultobj
;
34200 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34202 PyObject
* obj0
= 0 ;
34203 PyObject
* obj1
= 0 ;
34204 char *kwnames
[] = {
34205 (char *) "self",(char *) "n", NULL
34208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_Select",kwnames
,&obj0
,&obj1
)) goto fail
;
34209 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34210 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34211 arg2
= (int) SWIG_AsInt(obj1
);
34212 if (PyErr_Occurred()) SWIG_fail
;
34214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34215 (arg1
)->Select(arg2
);
34217 wxPyEndAllowThreads(__tstate
);
34218 if (PyErr_Occurred()) SWIG_fail
;
34220 Py_INCREF(Py_None
); resultobj
= Py_None
;
34227 static PyObject
*_wrap_ItemContainer_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34228 PyObject
*resultobj
;
34229 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34231 PyObject
* obj0
= 0 ;
34232 char *kwnames
[] = {
34233 (char *) "self", NULL
34236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetSelection",kwnames
,&obj0
)) goto fail
;
34237 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34238 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34241 result
= (int)((wxItemContainer
const *)arg1
)->GetSelection();
34243 wxPyEndAllowThreads(__tstate
);
34244 if (PyErr_Occurred()) SWIG_fail
;
34246 resultobj
= SWIG_FromInt((int)result
);
34253 static PyObject
*_wrap_ItemContainer_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34254 PyObject
*resultobj
;
34255 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34257 PyObject
* obj0
= 0 ;
34258 char *kwnames
[] = {
34259 (char *) "self", NULL
34262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetStringSelection",kwnames
,&obj0
)) goto fail
;
34263 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34264 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34267 result
= ((wxItemContainer
const *)arg1
)->GetStringSelection();
34269 wxPyEndAllowThreads(__tstate
);
34270 if (PyErr_Occurred()) SWIG_fail
;
34274 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
34276 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
34285 static PyObject
*_wrap_ItemContainer_GetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34286 PyObject
*resultobj
;
34287 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34290 PyObject
* obj0
= 0 ;
34291 PyObject
* obj1
= 0 ;
34292 char *kwnames
[] = {
34293 (char *) "self",(char *) "n", NULL
34296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_GetClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
34297 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34299 arg2
= (int) SWIG_AsInt(obj1
);
34300 if (PyErr_Occurred()) SWIG_fail
;
34302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34303 result
= (PyObject
*)wxItemContainer_GetClientData(arg1
,arg2
);
34305 wxPyEndAllowThreads(__tstate
);
34306 if (PyErr_Occurred()) SWIG_fail
;
34308 resultobj
= result
;
34315 static PyObject
*_wrap_ItemContainer_SetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34316 PyObject
*resultobj
;
34317 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34319 PyObject
*arg3
= (PyObject
*) 0 ;
34320 PyObject
* obj0
= 0 ;
34321 PyObject
* obj1
= 0 ;
34322 PyObject
* obj2
= 0 ;
34323 char *kwnames
[] = {
34324 (char *) "self",(char *) "n",(char *) "clientData", NULL
34327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ItemContainer_SetClientData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34328 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34329 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34330 arg2
= (int) SWIG_AsInt(obj1
);
34331 if (PyErr_Occurred()) SWIG_fail
;
34334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34335 wxItemContainer_SetClientData(arg1
,arg2
,arg3
);
34337 wxPyEndAllowThreads(__tstate
);
34338 if (PyErr_Occurred()) SWIG_fail
;
34340 Py_INCREF(Py_None
); resultobj
= Py_None
;
34347 static PyObject
* ItemContainer_swigregister(PyObject
*self
, PyObject
*args
) {
34349 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34350 SWIG_TypeClientData(SWIGTYPE_p_wxItemContainer
, obj
);
34352 return Py_BuildValue((char *)"");
34354 static PyObject
* ControlWithItems_swigregister(PyObject
*self
, PyObject
*args
) {
34356 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34357 SWIG_TypeClientData(SWIGTYPE_p_wxControlWithItems
, obj
);
34359 return Py_BuildValue((char *)"");
34361 static PyObject
*_wrap_new_SizerItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34362 PyObject
*resultobj
;
34363 wxSizerItem
*result
;
34364 char *kwnames
[] = {
34368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SizerItem",kwnames
)) goto fail
;
34370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34371 result
= (wxSizerItem
*)new wxSizerItem();
34373 wxPyEndAllowThreads(__tstate
);
34374 if (PyErr_Occurred()) SWIG_fail
;
34376 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
34383 static PyObject
*_wrap_new_SizerItemWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34384 PyObject
*resultobj
;
34385 wxWindow
*arg1
= (wxWindow
*) 0 ;
34389 PyObject
*arg5
= (PyObject
*) NULL
;
34390 wxSizerItem
*result
;
34391 PyObject
* obj0
= 0 ;
34392 PyObject
* obj1
= 0 ;
34393 PyObject
* obj2
= 0 ;
34394 PyObject
* obj3
= 0 ;
34395 PyObject
* obj4
= 0 ;
34396 char *kwnames
[] = {
34397 (char *) "window",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
34400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:new_SizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
34401 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
34402 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34403 arg2
= (int) SWIG_AsInt(obj1
);
34404 if (PyErr_Occurred()) SWIG_fail
;
34405 arg3
= (int) SWIG_AsInt(obj2
);
34406 if (PyErr_Occurred()) SWIG_fail
;
34407 arg4
= (int) SWIG_AsInt(obj3
);
34408 if (PyErr_Occurred()) SWIG_fail
;
34413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34414 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
34416 wxPyEndAllowThreads(__tstate
);
34417 if (PyErr_Occurred()) SWIG_fail
;
34419 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
34426 static PyObject
*_wrap_new_SizerItemSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34427 PyObject
*resultobj
;
34433 PyObject
*arg6
= (PyObject
*) NULL
;
34434 wxSizerItem
*result
;
34435 PyObject
* obj0
= 0 ;
34436 PyObject
* obj1
= 0 ;
34437 PyObject
* obj2
= 0 ;
34438 PyObject
* obj3
= 0 ;
34439 PyObject
* obj4
= 0 ;
34440 PyObject
* obj5
= 0 ;
34441 char *kwnames
[] = {
34442 (char *) "width",(char *) "height",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
34445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_SizerItemSpacer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
34446 arg1
= (int) SWIG_AsInt(obj0
);
34447 if (PyErr_Occurred()) SWIG_fail
;
34448 arg2
= (int) SWIG_AsInt(obj1
);
34449 if (PyErr_Occurred()) SWIG_fail
;
34450 arg3
= (int) SWIG_AsInt(obj2
);
34451 if (PyErr_Occurred()) SWIG_fail
;
34452 arg4
= (int) SWIG_AsInt(obj3
);
34453 if (PyErr_Occurred()) SWIG_fail
;
34454 arg5
= (int) SWIG_AsInt(obj4
);
34455 if (PyErr_Occurred()) SWIG_fail
;
34460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34461 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
34463 wxPyEndAllowThreads(__tstate
);
34464 if (PyErr_Occurred()) SWIG_fail
;
34466 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
34473 static PyObject
*_wrap_new_SizerItemSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34474 PyObject
*resultobj
;
34475 wxSizer
*arg1
= (wxSizer
*) 0 ;
34479 PyObject
*arg5
= (PyObject
*) NULL
;
34480 wxSizerItem
*result
;
34481 PyObject
* obj0
= 0 ;
34482 PyObject
* obj1
= 0 ;
34483 PyObject
* obj2
= 0 ;
34484 PyObject
* obj3
= 0 ;
34485 PyObject
* obj4
= 0 ;
34486 char *kwnames
[] = {
34487 (char *) "sizer",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
34490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:new_SizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
34491 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34492 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34493 arg2
= (int) SWIG_AsInt(obj1
);
34494 if (PyErr_Occurred()) SWIG_fail
;
34495 arg3
= (int) SWIG_AsInt(obj2
);
34496 if (PyErr_Occurred()) SWIG_fail
;
34497 arg4
= (int) SWIG_AsInt(obj3
);
34498 if (PyErr_Occurred()) SWIG_fail
;
34503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34504 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
34506 wxPyEndAllowThreads(__tstate
);
34507 if (PyErr_Occurred()) SWIG_fail
;
34509 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
34516 static PyObject
*_wrap_SizerItem_DeleteWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34517 PyObject
*resultobj
;
34518 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34519 PyObject
* obj0
= 0 ;
34520 char *kwnames
[] = {
34521 (char *) "self", NULL
34524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_DeleteWindows",kwnames
,&obj0
)) goto fail
;
34525 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34526 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34529 (arg1
)->DeleteWindows();
34531 wxPyEndAllowThreads(__tstate
);
34532 if (PyErr_Occurred()) SWIG_fail
;
34534 Py_INCREF(Py_None
); resultobj
= Py_None
;
34541 static PyObject
*_wrap_SizerItem_DetachSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34542 PyObject
*resultobj
;
34543 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34544 PyObject
* obj0
= 0 ;
34545 char *kwnames
[] = {
34546 (char *) "self", NULL
34549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_DetachSizer",kwnames
,&obj0
)) goto fail
;
34550 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34551 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34554 (arg1
)->DetachSizer();
34556 wxPyEndAllowThreads(__tstate
);
34557 if (PyErr_Occurred()) SWIG_fail
;
34559 Py_INCREF(Py_None
); resultobj
= Py_None
;
34566 static PyObject
*_wrap_SizerItem_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34567 PyObject
*resultobj
;
34568 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34570 PyObject
* obj0
= 0 ;
34571 char *kwnames
[] = {
34572 (char *) "self", NULL
34575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSize",kwnames
,&obj0
)) goto fail
;
34576 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34577 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34580 result
= (arg1
)->GetSize();
34582 wxPyEndAllowThreads(__tstate
);
34583 if (PyErr_Occurred()) SWIG_fail
;
34586 wxSize
* resultptr
;
34587 resultptr
= new wxSize((wxSize
&) result
);
34588 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
34596 static PyObject
*_wrap_SizerItem_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34597 PyObject
*resultobj
;
34598 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34600 PyObject
* obj0
= 0 ;
34601 char *kwnames
[] = {
34602 (char *) "self", NULL
34605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_CalcMin",kwnames
,&obj0
)) goto fail
;
34606 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34607 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34610 result
= (arg1
)->CalcMin();
34612 wxPyEndAllowThreads(__tstate
);
34613 if (PyErr_Occurred()) SWIG_fail
;
34616 wxSize
* resultptr
;
34617 resultptr
= new wxSize((wxSize
&) result
);
34618 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
34626 static PyObject
*_wrap_SizerItem_SetDimension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34627 PyObject
*resultobj
;
34628 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34633 PyObject
* obj0
= 0 ;
34634 PyObject
* obj1
= 0 ;
34635 PyObject
* obj2
= 0 ;
34636 char *kwnames
[] = {
34637 (char *) "self",(char *) "pos",(char *) "size", NULL
34640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34641 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34642 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34643 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxPoint
,
34644 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
34646 if ((SWIG_ConvertPtr(obj2
,(void **)(&argp3
),SWIGTYPE_p_wxSize
,
34647 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
34650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34651 (arg1
)->SetDimension(arg2
,arg3
);
34653 wxPyEndAllowThreads(__tstate
);
34654 if (PyErr_Occurred()) SWIG_fail
;
34656 Py_INCREF(Py_None
); resultobj
= Py_None
;
34663 static PyObject
*_wrap_SizerItem_GetMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34664 PyObject
*resultobj
;
34665 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34667 PyObject
* obj0
= 0 ;
34668 char *kwnames
[] = {
34669 (char *) "self", NULL
34672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetMinSize",kwnames
,&obj0
)) goto fail
;
34673 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34674 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34677 result
= (arg1
)->GetMinSize();
34679 wxPyEndAllowThreads(__tstate
);
34680 if (PyErr_Occurred()) SWIG_fail
;
34683 wxSize
* resultptr
;
34684 resultptr
= new wxSize((wxSize
&) result
);
34685 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
34693 static PyObject
*_wrap_SizerItem_GetMinSizeWithBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34694 PyObject
*resultobj
;
34695 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34697 PyObject
* obj0
= 0 ;
34698 char *kwnames
[] = {
34699 (char *) "self", NULL
34702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetMinSizeWithBorder",kwnames
,&obj0
)) goto fail
;
34703 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34704 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34707 result
= ((wxSizerItem
const *)arg1
)->GetMinSizeWithBorder();
34709 wxPyEndAllowThreads(__tstate
);
34710 if (PyErr_Occurred()) SWIG_fail
;
34713 wxSize
* resultptr
;
34714 resultptr
= new wxSize((wxSize
&) result
);
34715 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
34723 static PyObject
*_wrap_SizerItem_SetInitSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34724 PyObject
*resultobj
;
34725 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34728 PyObject
* obj0
= 0 ;
34729 PyObject
* obj1
= 0 ;
34730 PyObject
* obj2
= 0 ;
34731 char *kwnames
[] = {
34732 (char *) "self",(char *) "x",(char *) "y", NULL
34735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetInitSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34736 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34737 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34738 arg2
= (int) SWIG_AsInt(obj1
);
34739 if (PyErr_Occurred()) SWIG_fail
;
34740 arg3
= (int) SWIG_AsInt(obj2
);
34741 if (PyErr_Occurred()) SWIG_fail
;
34743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34744 (arg1
)->SetInitSize(arg2
,arg3
);
34746 wxPyEndAllowThreads(__tstate
);
34747 if (PyErr_Occurred()) SWIG_fail
;
34749 Py_INCREF(Py_None
); resultobj
= Py_None
;
34756 static PyObject
*_wrap_SizerItem_SetRatioWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34757 PyObject
*resultobj
;
34758 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34761 PyObject
* obj0
= 0 ;
34762 PyObject
* obj1
= 0 ;
34763 PyObject
* obj2
= 0 ;
34764 char *kwnames
[] = {
34765 (char *) "self",(char *) "width",(char *) "height", NULL
34768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetRatioWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34769 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34770 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34771 arg2
= (int) SWIG_AsInt(obj1
);
34772 if (PyErr_Occurred()) SWIG_fail
;
34773 arg3
= (int) SWIG_AsInt(obj2
);
34774 if (PyErr_Occurred()) SWIG_fail
;
34776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34777 (arg1
)->SetRatio(arg2
,arg3
);
34779 wxPyEndAllowThreads(__tstate
);
34780 if (PyErr_Occurred()) SWIG_fail
;
34782 Py_INCREF(Py_None
); resultobj
= Py_None
;
34789 static PyObject
*_wrap_SizerItem_SetRatioSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34790 PyObject
*resultobj
;
34791 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34794 PyObject
* obj0
= 0 ;
34795 PyObject
* obj1
= 0 ;
34796 char *kwnames
[] = {
34797 (char *) "self",(char *) "size", NULL
34800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetRatioSize",kwnames
,&obj0
,&obj1
)) goto fail
;
34801 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34802 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34803 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxSize
,
34804 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
34807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34808 (arg1
)->SetRatio(arg2
);
34810 wxPyEndAllowThreads(__tstate
);
34811 if (PyErr_Occurred()) SWIG_fail
;
34813 Py_INCREF(Py_None
); resultobj
= Py_None
;
34820 static PyObject
*_wrap_SizerItem_SetRatio(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34821 PyObject
*resultobj
;
34822 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34824 PyObject
* obj0
= 0 ;
34825 PyObject
* obj1
= 0 ;
34826 char *kwnames
[] = {
34827 (char *) "self",(char *) "ratio", NULL
34830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetRatio",kwnames
,&obj0
,&obj1
)) goto fail
;
34831 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34832 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34833 arg2
= (float) SWIG_AsFloat(obj1
);
34834 if (PyErr_Occurred()) SWIG_fail
;
34836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34837 (arg1
)->SetRatio(arg2
);
34839 wxPyEndAllowThreads(__tstate
);
34840 if (PyErr_Occurred()) SWIG_fail
;
34842 Py_INCREF(Py_None
); resultobj
= Py_None
;
34849 static PyObject
*_wrap_SizerItem_GetRatio(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34850 PyObject
*resultobj
;
34851 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34853 PyObject
* obj0
= 0 ;
34854 char *kwnames
[] = {
34855 (char *) "self", NULL
34858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetRatio",kwnames
,&obj0
)) goto fail
;
34859 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34860 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34863 result
= (float)(arg1
)->GetRatio();
34865 wxPyEndAllowThreads(__tstate
);
34866 if (PyErr_Occurred()) SWIG_fail
;
34868 resultobj
= SWIG_FromFloat((float)result
);
34875 static PyObject
*_wrap_SizerItem_IsWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34876 PyObject
*resultobj
;
34877 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34879 PyObject
* obj0
= 0 ;
34880 char *kwnames
[] = {
34881 (char *) "self", NULL
34884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsWindow",kwnames
,&obj0
)) goto fail
;
34885 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34886 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34889 result
= (bool)(arg1
)->IsWindow();
34891 wxPyEndAllowThreads(__tstate
);
34892 if (PyErr_Occurred()) SWIG_fail
;
34895 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34903 static PyObject
*_wrap_SizerItem_IsSizer(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_IsSizer",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
= (bool)(arg1
)->IsSizer();
34919 wxPyEndAllowThreads(__tstate
);
34920 if (PyErr_Occurred()) SWIG_fail
;
34923 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34931 static PyObject
*_wrap_SizerItem_IsSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34932 PyObject
*resultobj
;
34933 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34935 PyObject
* obj0
= 0 ;
34936 char *kwnames
[] = {
34937 (char *) "self", NULL
34940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsSpacer",kwnames
,&obj0
)) goto fail
;
34941 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34942 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34945 result
= (bool)(arg1
)->IsSpacer();
34947 wxPyEndAllowThreads(__tstate
);
34948 if (PyErr_Occurred()) SWIG_fail
;
34951 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34959 static PyObject
*_wrap_SizerItem_SetProportion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34960 PyObject
*resultobj
;
34961 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34963 PyObject
* obj0
= 0 ;
34964 PyObject
* obj1
= 0 ;
34965 char *kwnames
[] = {
34966 (char *) "self",(char *) "proportion", NULL
34969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetProportion",kwnames
,&obj0
,&obj1
)) goto fail
;
34970 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34971 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34972 arg2
= (int) SWIG_AsInt(obj1
);
34973 if (PyErr_Occurred()) SWIG_fail
;
34975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34976 (arg1
)->SetProportion(arg2
);
34978 wxPyEndAllowThreads(__tstate
);
34979 if (PyErr_Occurred()) SWIG_fail
;
34981 Py_INCREF(Py_None
); resultobj
= Py_None
;
34988 static PyObject
*_wrap_SizerItem_GetProportion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34989 PyObject
*resultobj
;
34990 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34992 PyObject
* obj0
= 0 ;
34993 char *kwnames
[] = {
34994 (char *) "self", NULL
34997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetProportion",kwnames
,&obj0
)) goto fail
;
34998 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34999 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35002 result
= (int)(arg1
)->GetProportion();
35004 wxPyEndAllowThreads(__tstate
);
35005 if (PyErr_Occurred()) SWIG_fail
;
35007 resultobj
= SWIG_FromInt((int)result
);
35014 static PyObject
*_wrap_SizerItem_SetFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35015 PyObject
*resultobj
;
35016 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35018 PyObject
* obj0
= 0 ;
35019 PyObject
* obj1
= 0 ;
35020 char *kwnames
[] = {
35021 (char *) "self",(char *) "flag", NULL
35024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
35025 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35026 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35027 arg2
= (int) SWIG_AsInt(obj1
);
35028 if (PyErr_Occurred()) SWIG_fail
;
35030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35031 (arg1
)->SetFlag(arg2
);
35033 wxPyEndAllowThreads(__tstate
);
35034 if (PyErr_Occurred()) SWIG_fail
;
35036 Py_INCREF(Py_None
); resultobj
= Py_None
;
35043 static PyObject
*_wrap_SizerItem_GetFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35044 PyObject
*resultobj
;
35045 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35047 PyObject
* obj0
= 0 ;
35048 char *kwnames
[] = {
35049 (char *) "self", NULL
35052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetFlag",kwnames
,&obj0
)) goto fail
;
35053 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35054 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35057 result
= (int)(arg1
)->GetFlag();
35059 wxPyEndAllowThreads(__tstate
);
35060 if (PyErr_Occurred()) SWIG_fail
;
35062 resultobj
= SWIG_FromInt((int)result
);
35069 static PyObject
*_wrap_SizerItem_SetBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35070 PyObject
*resultobj
;
35071 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35073 PyObject
* obj0
= 0 ;
35074 PyObject
* obj1
= 0 ;
35075 char *kwnames
[] = {
35076 (char *) "self",(char *) "border", NULL
35079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetBorder",kwnames
,&obj0
,&obj1
)) goto fail
;
35080 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35081 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35082 arg2
= (int) SWIG_AsInt(obj1
);
35083 if (PyErr_Occurred()) SWIG_fail
;
35085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35086 (arg1
)->SetBorder(arg2
);
35088 wxPyEndAllowThreads(__tstate
);
35089 if (PyErr_Occurred()) SWIG_fail
;
35091 Py_INCREF(Py_None
); resultobj
= Py_None
;
35098 static PyObject
*_wrap_SizerItem_GetBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35099 PyObject
*resultobj
;
35100 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35102 PyObject
* obj0
= 0 ;
35103 char *kwnames
[] = {
35104 (char *) "self", NULL
35107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetBorder",kwnames
,&obj0
)) goto fail
;
35108 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35109 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35112 result
= (int)(arg1
)->GetBorder();
35114 wxPyEndAllowThreads(__tstate
);
35115 if (PyErr_Occurred()) SWIG_fail
;
35117 resultobj
= SWIG_FromInt((int)result
);
35124 static PyObject
*_wrap_SizerItem_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35125 PyObject
*resultobj
;
35126 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35128 PyObject
* obj0
= 0 ;
35129 char *kwnames
[] = {
35130 (char *) "self", NULL
35133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetWindow",kwnames
,&obj0
)) goto fail
;
35134 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35135 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35138 result
= (wxWindow
*)(arg1
)->GetWindow();
35140 wxPyEndAllowThreads(__tstate
);
35141 if (PyErr_Occurred()) SWIG_fail
;
35144 resultobj
= wxPyMake_wxObject(result
, 0);
35152 static PyObject
*_wrap_SizerItem_SetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35153 PyObject
*resultobj
;
35154 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35155 wxWindow
*arg2
= (wxWindow
*) 0 ;
35156 PyObject
* obj0
= 0 ;
35157 PyObject
* obj1
= 0 ;
35158 char *kwnames
[] = {
35159 (char *) "self",(char *) "window", NULL
35162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
35163 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35164 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35165 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
35166 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35169 (arg1
)->SetWindow(arg2
);
35171 wxPyEndAllowThreads(__tstate
);
35172 if (PyErr_Occurred()) SWIG_fail
;
35174 Py_INCREF(Py_None
); resultobj
= Py_None
;
35181 static PyObject
*_wrap_SizerItem_GetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35182 PyObject
*resultobj
;
35183 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35185 PyObject
* obj0
= 0 ;
35186 char *kwnames
[] = {
35187 (char *) "self", NULL
35190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSizer",kwnames
,&obj0
)) goto fail
;
35191 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35192 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35195 result
= (wxSizer
*)(arg1
)->GetSizer();
35197 wxPyEndAllowThreads(__tstate
);
35198 if (PyErr_Occurred()) SWIG_fail
;
35201 resultobj
= wxPyMake_wxSizer(result
, 0);
35209 static PyObject
*_wrap_SizerItem_SetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35210 PyObject
*resultobj
;
35211 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35212 wxSizer
*arg2
= (wxSizer
*) 0 ;
35213 PyObject
* obj0
= 0 ;
35214 PyObject
* obj1
= 0 ;
35215 char *kwnames
[] = {
35216 (char *) "self",(char *) "sizer", NULL
35219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
35220 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35221 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35222 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
35223 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35226 (arg1
)->SetSizer(arg2
);
35228 wxPyEndAllowThreads(__tstate
);
35229 if (PyErr_Occurred()) SWIG_fail
;
35231 Py_INCREF(Py_None
); resultobj
= Py_None
;
35238 static PyObject
*_wrap_SizerItem_GetSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35239 PyObject
*resultobj
;
35240 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35242 PyObject
* obj0
= 0 ;
35243 char *kwnames
[] = {
35244 (char *) "self", NULL
35247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSpacer",kwnames
,&obj0
)) goto fail
;
35248 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35249 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35253 wxSize
const &_result_ref
= (arg1
)->GetSpacer();
35254 result
= (wxSize
*) &_result_ref
;
35257 wxPyEndAllowThreads(__tstate
);
35258 if (PyErr_Occurred()) SWIG_fail
;
35260 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
35267 static PyObject
*_wrap_SizerItem_SetSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35268 PyObject
*resultobj
;
35269 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35272 PyObject
* obj0
= 0 ;
35273 PyObject
* obj1
= 0 ;
35274 char *kwnames
[] = {
35275 (char *) "self",(char *) "size", NULL
35278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSpacer",kwnames
,&obj0
,&obj1
)) goto fail
;
35279 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35280 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35283 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
35286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35287 (arg1
)->SetSpacer((wxSize
const &)*arg2
);
35289 wxPyEndAllowThreads(__tstate
);
35290 if (PyErr_Occurred()) SWIG_fail
;
35292 Py_INCREF(Py_None
); resultobj
= Py_None
;
35299 static PyObject
*_wrap_SizerItem_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35300 PyObject
*resultobj
;
35301 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35303 PyObject
* obj0
= 0 ;
35304 PyObject
* obj1
= 0 ;
35305 char *kwnames
[] = {
35306 (char *) "self",(char *) "show", NULL
35309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
35310 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35311 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35312 arg2
= (bool) SWIG_AsBool(obj1
);
35313 if (PyErr_Occurred()) SWIG_fail
;
35315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35316 (arg1
)->Show(arg2
);
35318 wxPyEndAllowThreads(__tstate
);
35319 if (PyErr_Occurred()) SWIG_fail
;
35321 Py_INCREF(Py_None
); resultobj
= Py_None
;
35328 static PyObject
*_wrap_SizerItem_IsShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35329 PyObject
*resultobj
;
35330 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35332 PyObject
* obj0
= 0 ;
35333 char *kwnames
[] = {
35334 (char *) "self", NULL
35337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsShown",kwnames
,&obj0
)) goto fail
;
35338 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35339 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35342 result
= (bool)(arg1
)->IsShown();
35344 wxPyEndAllowThreads(__tstate
);
35345 if (PyErr_Occurred()) SWIG_fail
;
35348 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35356 static PyObject
*_wrap_SizerItem_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35357 PyObject
*resultobj
;
35358 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35360 PyObject
* obj0
= 0 ;
35361 char *kwnames
[] = {
35362 (char *) "self", NULL
35365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetPosition",kwnames
,&obj0
)) goto fail
;
35366 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35367 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35370 result
= (arg1
)->GetPosition();
35372 wxPyEndAllowThreads(__tstate
);
35373 if (PyErr_Occurred()) SWIG_fail
;
35376 wxPoint
* resultptr
;
35377 resultptr
= new wxPoint((wxPoint
&) result
);
35378 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
35386 static PyObject
*_wrap_SizerItem_GetUserData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35387 PyObject
*resultobj
;
35388 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35390 PyObject
* obj0
= 0 ;
35391 char *kwnames
[] = {
35392 (char *) "self", NULL
35395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetUserData",kwnames
,&obj0
)) goto fail
;
35396 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35397 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35400 result
= (PyObject
*)wxSizerItem_GetUserData(arg1
);
35402 wxPyEndAllowThreads(__tstate
);
35403 if (PyErr_Occurred()) SWIG_fail
;
35405 resultobj
= result
;
35412 static PyObject
* SizerItem_swigregister(PyObject
*self
, PyObject
*args
) {
35414 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
35415 SWIG_TypeClientData(SWIGTYPE_p_wxSizerItem
, obj
);
35417 return Py_BuildValue((char *)"");
35419 static PyObject
*_wrap_Sizer__setOORInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35420 PyObject
*resultobj
;
35421 wxSizer
*arg1
= (wxSizer
*) 0 ;
35422 PyObject
*arg2
= (PyObject
*) 0 ;
35423 PyObject
* obj0
= 0 ;
35424 PyObject
* obj1
= 0 ;
35425 char *kwnames
[] = {
35426 (char *) "self",(char *) "_self", NULL
35429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
35430 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35431 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35435 wxSizer__setOORInfo(arg1
,arg2
);
35437 wxPyEndAllowThreads(__tstate
);
35438 if (PyErr_Occurred()) SWIG_fail
;
35440 Py_INCREF(Py_None
); resultobj
= Py_None
;
35447 static PyObject
*_wrap_Sizer_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35448 PyObject
*resultobj
;
35449 wxSizer
*arg1
= (wxSizer
*) 0 ;
35450 PyObject
*arg2
= (PyObject
*) 0 ;
35451 int arg3
= (int) 0 ;
35452 int arg4
= (int) 0 ;
35453 int arg5
= (int) 0 ;
35454 PyObject
*arg6
= (PyObject
*) NULL
;
35455 PyObject
* obj0
= 0 ;
35456 PyObject
* obj1
= 0 ;
35457 PyObject
* obj2
= 0 ;
35458 PyObject
* obj3
= 0 ;
35459 PyObject
* obj4
= 0 ;
35460 PyObject
* obj5
= 0 ;
35461 char *kwnames
[] = {
35462 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
35465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Sizer_Add",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
35466 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35467 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35470 arg3
= (int) SWIG_AsInt(obj2
);
35471 if (PyErr_Occurred()) SWIG_fail
;
35474 arg4
= (int) SWIG_AsInt(obj3
);
35475 if (PyErr_Occurred()) SWIG_fail
;
35478 arg5
= (int) SWIG_AsInt(obj4
);
35479 if (PyErr_Occurred()) SWIG_fail
;
35485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35486 wxSizer_Add(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
35488 wxPyEndAllowThreads(__tstate
);
35489 if (PyErr_Occurred()) SWIG_fail
;
35491 Py_INCREF(Py_None
); resultobj
= Py_None
;
35498 static PyObject
*_wrap_Sizer_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35499 PyObject
*resultobj
;
35500 wxSizer
*arg1
= (wxSizer
*) 0 ;
35502 PyObject
*arg3
= (PyObject
*) 0 ;
35503 int arg4
= (int) 0 ;
35504 int arg5
= (int) 0 ;
35505 int arg6
= (int) 0 ;
35506 PyObject
*arg7
= (PyObject
*) NULL
;
35507 PyObject
* obj0
= 0 ;
35508 PyObject
* obj1
= 0 ;
35509 PyObject
* obj2
= 0 ;
35510 PyObject
* obj3
= 0 ;
35511 PyObject
* obj4
= 0 ;
35512 PyObject
* obj5
= 0 ;
35513 PyObject
* obj6
= 0 ;
35514 char *kwnames
[] = {
35515 (char *) "self",(char *) "before",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
35518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Sizer_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
35519 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35520 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35521 arg2
= (int) SWIG_AsInt(obj1
);
35522 if (PyErr_Occurred()) SWIG_fail
;
35525 arg4
= (int) SWIG_AsInt(obj3
);
35526 if (PyErr_Occurred()) SWIG_fail
;
35529 arg5
= (int) SWIG_AsInt(obj4
);
35530 if (PyErr_Occurred()) SWIG_fail
;
35533 arg6
= (int) SWIG_AsInt(obj5
);
35534 if (PyErr_Occurred()) SWIG_fail
;
35540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35541 wxSizer_Insert(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
35543 wxPyEndAllowThreads(__tstate
);
35544 if (PyErr_Occurred()) SWIG_fail
;
35546 Py_INCREF(Py_None
); resultobj
= Py_None
;
35553 static PyObject
*_wrap_Sizer_Prepend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35554 PyObject
*resultobj
;
35555 wxSizer
*arg1
= (wxSizer
*) 0 ;
35556 PyObject
*arg2
= (PyObject
*) 0 ;
35557 int arg3
= (int) 0 ;
35558 int arg4
= (int) 0 ;
35559 int arg5
= (int) 0 ;
35560 PyObject
*arg6
= (PyObject
*) NULL
;
35561 PyObject
* obj0
= 0 ;
35562 PyObject
* obj1
= 0 ;
35563 PyObject
* obj2
= 0 ;
35564 PyObject
* obj3
= 0 ;
35565 PyObject
* obj4
= 0 ;
35566 PyObject
* obj5
= 0 ;
35567 char *kwnames
[] = {
35568 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
35571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Sizer_Prepend",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
35572 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35573 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35576 arg3
= (int) SWIG_AsInt(obj2
);
35577 if (PyErr_Occurred()) SWIG_fail
;
35580 arg4
= (int) SWIG_AsInt(obj3
);
35581 if (PyErr_Occurred()) SWIG_fail
;
35584 arg5
= (int) SWIG_AsInt(obj4
);
35585 if (PyErr_Occurred()) SWIG_fail
;
35591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35592 wxSizer_Prepend(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
35594 wxPyEndAllowThreads(__tstate
);
35595 if (PyErr_Occurred()) SWIG_fail
;
35597 Py_INCREF(Py_None
); resultobj
= Py_None
;
35604 static PyObject
*_wrap_Sizer_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35605 PyObject
*resultobj
;
35606 wxSizer
*arg1
= (wxSizer
*) 0 ;
35607 PyObject
*arg2
= (PyObject
*) 0 ;
35609 PyObject
* obj0
= 0 ;
35610 PyObject
* obj1
= 0 ;
35611 char *kwnames
[] = {
35612 (char *) "self",(char *) "item", NULL
35615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
35616 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35617 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35621 result
= (bool)wxSizer_Remove(arg1
,arg2
);
35623 wxPyEndAllowThreads(__tstate
);
35624 if (PyErr_Occurred()) SWIG_fail
;
35627 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35635 static PyObject
*_wrap_Sizer_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35636 PyObject
*resultobj
;
35637 wxSizer
*arg1
= (wxSizer
*) 0 ;
35638 PyObject
*arg2
= (PyObject
*) 0 ;
35640 PyObject
* obj0
= 0 ;
35641 PyObject
* obj1
= 0 ;
35642 char *kwnames
[] = {
35643 (char *) "self",(char *) "item", NULL
35646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Detach",kwnames
,&obj0
,&obj1
)) goto fail
;
35647 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35648 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35652 result
= (bool)wxSizer_Detach(arg1
,arg2
);
35654 wxPyEndAllowThreads(__tstate
);
35655 if (PyErr_Occurred()) SWIG_fail
;
35658 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35666 static PyObject
*_wrap_Sizer__SetItemMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35667 PyObject
*resultobj
;
35668 wxSizer
*arg1
= (wxSizer
*) 0 ;
35669 PyObject
*arg2
= (PyObject
*) 0 ;
35672 PyObject
* obj0
= 0 ;
35673 PyObject
* obj1
= 0 ;
35674 PyObject
* obj2
= 0 ;
35675 char *kwnames
[] = {
35676 (char *) "self",(char *) "item",(char *) "size", NULL
35679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer__SetItemMinSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35680 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35681 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35685 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
35688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35689 wxSizer__SetItemMinSize(arg1
,arg2
,(wxSize
const &)*arg3
);
35691 wxPyEndAllowThreads(__tstate
);
35692 if (PyErr_Occurred()) SWIG_fail
;
35694 Py_INCREF(Py_None
); resultobj
= Py_None
;
35701 static PyObject
*_wrap_Sizer_AddItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35702 PyObject
*resultobj
;
35703 wxSizer
*arg1
= (wxSizer
*) 0 ;
35704 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
35705 PyObject
* obj0
= 0 ;
35706 PyObject
* obj1
= 0 ;
35707 char *kwnames
[] = {
35708 (char *) "self",(char *) "item", NULL
35711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_AddItem",kwnames
,&obj0
,&obj1
)) goto fail
;
35712 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35713 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35714 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizerItem
,
35715 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35720 wxPyEndAllowThreads(__tstate
);
35721 if (PyErr_Occurred()) SWIG_fail
;
35723 Py_INCREF(Py_None
); resultobj
= Py_None
;
35730 static PyObject
*_wrap_Sizer_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35731 PyObject
*resultobj
;
35732 wxSizer
*arg1
= (wxSizer
*) 0 ;
35734 wxSizerItem
*arg3
= (wxSizerItem
*) 0 ;
35735 PyObject
* obj0
= 0 ;
35736 PyObject
* obj1
= 0 ;
35737 PyObject
* obj2
= 0 ;
35738 char *kwnames
[] = {
35739 (char *) "self",(char *) "index",(char *) "item", NULL
35742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35743 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35744 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35745 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
35746 if (PyErr_Occurred()) SWIG_fail
;
35747 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxSizerItem
,
35748 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35751 (arg1
)->Insert(arg2
,arg3
);
35753 wxPyEndAllowThreads(__tstate
);
35754 if (PyErr_Occurred()) SWIG_fail
;
35756 Py_INCREF(Py_None
); resultobj
= Py_None
;
35763 static PyObject
*_wrap_Sizer_PrependItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35764 PyObject
*resultobj
;
35765 wxSizer
*arg1
= (wxSizer
*) 0 ;
35766 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
35767 PyObject
* obj0
= 0 ;
35768 PyObject
* obj1
= 0 ;
35769 char *kwnames
[] = {
35770 (char *) "self",(char *) "item", NULL
35773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_PrependItem",kwnames
,&obj0
,&obj1
)) goto fail
;
35774 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35775 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35776 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizerItem
,
35777 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35780 (arg1
)->Prepend(arg2
);
35782 wxPyEndAllowThreads(__tstate
);
35783 if (PyErr_Occurred()) SWIG_fail
;
35785 Py_INCREF(Py_None
); resultobj
= Py_None
;
35792 static PyObject
*_wrap_Sizer_SetDimension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35793 PyObject
*resultobj
;
35794 wxSizer
*arg1
= (wxSizer
*) 0 ;
35799 PyObject
* obj0
= 0 ;
35800 PyObject
* obj1
= 0 ;
35801 PyObject
* obj2
= 0 ;
35802 PyObject
* obj3
= 0 ;
35803 PyObject
* obj4
= 0 ;
35804 char *kwnames
[] = {
35805 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
35808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Sizer_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
35809 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35810 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35811 arg2
= (int) SWIG_AsInt(obj1
);
35812 if (PyErr_Occurred()) SWIG_fail
;
35813 arg3
= (int) SWIG_AsInt(obj2
);
35814 if (PyErr_Occurred()) SWIG_fail
;
35815 arg4
= (int) SWIG_AsInt(obj3
);
35816 if (PyErr_Occurred()) SWIG_fail
;
35817 arg5
= (int) SWIG_AsInt(obj4
);
35818 if (PyErr_Occurred()) SWIG_fail
;
35820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35821 (arg1
)->SetDimension(arg2
,arg3
,arg4
,arg5
);
35823 wxPyEndAllowThreads(__tstate
);
35824 if (PyErr_Occurred()) SWIG_fail
;
35826 Py_INCREF(Py_None
); resultobj
= Py_None
;
35833 static PyObject
*_wrap_Sizer_SetMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35834 PyObject
*resultobj
;
35835 wxSizer
*arg1
= (wxSizer
*) 0 ;
35838 PyObject
* obj0
= 0 ;
35839 PyObject
* obj1
= 0 ;
35840 char *kwnames
[] = {
35841 (char *) "self",(char *) "size", NULL
35844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetMinSize",kwnames
,&obj0
,&obj1
)) goto fail
;
35845 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35846 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35849 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
35852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35853 (arg1
)->SetMinSize((wxSize
const &)*arg2
);
35855 wxPyEndAllowThreads(__tstate
);
35856 if (PyErr_Occurred()) SWIG_fail
;
35858 Py_INCREF(Py_None
); resultobj
= Py_None
;
35865 static PyObject
*_wrap_Sizer_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35866 PyObject
*resultobj
;
35867 wxSizer
*arg1
= (wxSizer
*) 0 ;
35869 PyObject
* obj0
= 0 ;
35870 char *kwnames
[] = {
35871 (char *) "self", NULL
35874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetSize",kwnames
,&obj0
)) goto fail
;
35875 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35876 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35879 result
= (arg1
)->GetSize();
35881 wxPyEndAllowThreads(__tstate
);
35882 if (PyErr_Occurred()) SWIG_fail
;
35885 wxSize
* resultptr
;
35886 resultptr
= new wxSize((wxSize
&) result
);
35887 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
35895 static PyObject
*_wrap_Sizer_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35896 PyObject
*resultobj
;
35897 wxSizer
*arg1
= (wxSizer
*) 0 ;
35899 PyObject
* obj0
= 0 ;
35900 char *kwnames
[] = {
35901 (char *) "self", NULL
35904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetPosition",kwnames
,&obj0
)) goto fail
;
35905 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35906 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35909 result
= (arg1
)->GetPosition();
35911 wxPyEndAllowThreads(__tstate
);
35912 if (PyErr_Occurred()) SWIG_fail
;
35915 wxPoint
* resultptr
;
35916 resultptr
= new wxPoint((wxPoint
&) result
);
35917 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
35925 static PyObject
*_wrap_Sizer_GetMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35926 PyObject
*resultobj
;
35927 wxSizer
*arg1
= (wxSizer
*) 0 ;
35929 PyObject
* obj0
= 0 ;
35930 char *kwnames
[] = {
35931 (char *) "self", NULL
35934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetMinSize",kwnames
,&obj0
)) goto fail
;
35935 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35936 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35939 result
= (arg1
)->GetMinSize();
35941 wxPyEndAllowThreads(__tstate
);
35942 if (PyErr_Occurred()) SWIG_fail
;
35945 wxSize
* resultptr
;
35946 resultptr
= new wxSize((wxSize
&) result
);
35947 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
35955 static PyObject
*_wrap_Sizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35956 PyObject
*resultobj
;
35957 wxSizer
*arg1
= (wxSizer
*) 0 ;
35958 PyObject
* obj0
= 0 ;
35959 char *kwnames
[] = {
35960 (char *) "self", NULL
35963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
35964 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35965 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35968 (arg1
)->RecalcSizes();
35970 wxPyEndAllowThreads(__tstate
);
35971 if (PyErr_Occurred()) SWIG_fail
;
35973 Py_INCREF(Py_None
); resultobj
= Py_None
;
35980 static PyObject
*_wrap_Sizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35981 PyObject
*resultobj
;
35982 wxSizer
*arg1
= (wxSizer
*) 0 ;
35984 PyObject
* obj0
= 0 ;
35985 char *kwnames
[] = {
35986 (char *) "self", NULL
35989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_CalcMin",kwnames
,&obj0
)) goto fail
;
35990 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35991 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35994 result
= (arg1
)->CalcMin();
35996 wxPyEndAllowThreads(__tstate
);
35997 if (PyErr_Occurred()) SWIG_fail
;
36000 wxSize
* resultptr
;
36001 resultptr
= new wxSize((wxSize
&) result
);
36002 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
36010 static PyObject
*_wrap_Sizer_Layout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36011 PyObject
*resultobj
;
36012 wxSizer
*arg1
= (wxSizer
*) 0 ;
36013 PyObject
* obj0
= 0 ;
36014 char *kwnames
[] = {
36015 (char *) "self", NULL
36018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_Layout",kwnames
,&obj0
)) goto fail
;
36019 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36020 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36025 wxPyEndAllowThreads(__tstate
);
36026 if (PyErr_Occurred()) SWIG_fail
;
36028 Py_INCREF(Py_None
); resultobj
= Py_None
;
36035 static PyObject
*_wrap_Sizer_Fit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36036 PyObject
*resultobj
;
36037 wxSizer
*arg1
= (wxSizer
*) 0 ;
36038 wxWindow
*arg2
= (wxWindow
*) 0 ;
36040 PyObject
* obj0
= 0 ;
36041 PyObject
* obj1
= 0 ;
36042 char *kwnames
[] = {
36043 (char *) "self",(char *) "window", NULL
36046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Fit",kwnames
,&obj0
,&obj1
)) goto fail
;
36047 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36048 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36049 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
36050 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36053 result
= (arg1
)->Fit(arg2
);
36055 wxPyEndAllowThreads(__tstate
);
36056 if (PyErr_Occurred()) SWIG_fail
;
36059 wxSize
* resultptr
;
36060 resultptr
= new wxSize((wxSize
&) result
);
36061 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
36069 static PyObject
*_wrap_Sizer_FitInside(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36070 PyObject
*resultobj
;
36071 wxSizer
*arg1
= (wxSizer
*) 0 ;
36072 wxWindow
*arg2
= (wxWindow
*) 0 ;
36073 PyObject
* obj0
= 0 ;
36074 PyObject
* obj1
= 0 ;
36075 char *kwnames
[] = {
36076 (char *) "self",(char *) "window", NULL
36079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_FitInside",kwnames
,&obj0
,&obj1
)) goto fail
;
36080 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36081 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36082 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
36083 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36086 (arg1
)->FitInside(arg2
);
36088 wxPyEndAllowThreads(__tstate
);
36089 if (PyErr_Occurred()) SWIG_fail
;
36091 Py_INCREF(Py_None
); resultobj
= Py_None
;
36098 static PyObject
*_wrap_Sizer_SetSizeHints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36099 PyObject
*resultobj
;
36100 wxSizer
*arg1
= (wxSizer
*) 0 ;
36101 wxWindow
*arg2
= (wxWindow
*) 0 ;
36102 PyObject
* obj0
= 0 ;
36103 PyObject
* obj1
= 0 ;
36104 char *kwnames
[] = {
36105 (char *) "self",(char *) "window", NULL
36108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetSizeHints",kwnames
,&obj0
,&obj1
)) goto fail
;
36109 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36110 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36111 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
36112 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36115 (arg1
)->SetSizeHints(arg2
);
36117 wxPyEndAllowThreads(__tstate
);
36118 if (PyErr_Occurred()) SWIG_fail
;
36120 Py_INCREF(Py_None
); resultobj
= Py_None
;
36127 static PyObject
*_wrap_Sizer_SetVirtualSizeHints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36128 PyObject
*resultobj
;
36129 wxSizer
*arg1
= (wxSizer
*) 0 ;
36130 wxWindow
*arg2
= (wxWindow
*) 0 ;
36131 PyObject
* obj0
= 0 ;
36132 PyObject
* obj1
= 0 ;
36133 char *kwnames
[] = {
36134 (char *) "self",(char *) "window", NULL
36137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetVirtualSizeHints",kwnames
,&obj0
,&obj1
)) goto fail
;
36138 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36139 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36140 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
36141 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36144 (arg1
)->SetVirtualSizeHints(arg2
);
36146 wxPyEndAllowThreads(__tstate
);
36147 if (PyErr_Occurred()) SWIG_fail
;
36149 Py_INCREF(Py_None
); resultobj
= Py_None
;
36156 static PyObject
*_wrap_Sizer_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36157 PyObject
*resultobj
;
36158 wxSizer
*arg1
= (wxSizer
*) 0 ;
36159 bool arg2
= (bool) False
;
36160 PyObject
* obj0
= 0 ;
36161 PyObject
* obj1
= 0 ;
36162 char *kwnames
[] = {
36163 (char *) "self",(char *) "deleteWindows", NULL
36166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sizer_Clear",kwnames
,&obj0
,&obj1
)) goto fail
;
36167 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36168 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36170 arg2
= (bool) SWIG_AsBool(obj1
);
36171 if (PyErr_Occurred()) SWIG_fail
;
36174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36175 (arg1
)->Clear(arg2
);
36177 wxPyEndAllowThreads(__tstate
);
36178 if (PyErr_Occurred()) SWIG_fail
;
36180 Py_INCREF(Py_None
); resultobj
= Py_None
;
36187 static PyObject
*_wrap_Sizer_DeleteWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36188 PyObject
*resultobj
;
36189 wxSizer
*arg1
= (wxSizer
*) 0 ;
36190 PyObject
* obj0
= 0 ;
36191 char *kwnames
[] = {
36192 (char *) "self", NULL
36195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_DeleteWindows",kwnames
,&obj0
)) goto fail
;
36196 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36197 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36200 (arg1
)->DeleteWindows();
36202 wxPyEndAllowThreads(__tstate
);
36203 if (PyErr_Occurred()) SWIG_fail
;
36205 Py_INCREF(Py_None
); resultobj
= Py_None
;
36212 static PyObject
*_wrap_Sizer_GetChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36213 PyObject
*resultobj
;
36214 wxSizer
*arg1
= (wxSizer
*) 0 ;
36216 PyObject
* obj0
= 0 ;
36217 char *kwnames
[] = {
36218 (char *) "self", NULL
36221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetChildren",kwnames
,&obj0
)) goto fail
;
36222 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36223 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36226 result
= (PyObject
*)wxSizer_GetChildren(arg1
);
36228 wxPyEndAllowThreads(__tstate
);
36229 if (PyErr_Occurred()) SWIG_fail
;
36231 resultobj
= result
;
36238 static PyObject
*_wrap_Sizer_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36239 PyObject
*resultobj
;
36240 wxSizer
*arg1
= (wxSizer
*) 0 ;
36241 PyObject
*arg2
= (PyObject
*) 0 ;
36242 bool arg3
= (bool) True
;
36243 PyObject
* obj0
= 0 ;
36244 PyObject
* obj1
= 0 ;
36245 PyObject
* obj2
= 0 ;
36246 char *kwnames
[] = {
36247 (char *) "self",(char *) "item",(char *) "show", NULL
36250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Sizer_Show",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
36251 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36252 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36255 arg3
= (bool) SWIG_AsBool(obj2
);
36256 if (PyErr_Occurred()) SWIG_fail
;
36259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36260 wxSizer_Show(arg1
,arg2
,arg3
);
36262 wxPyEndAllowThreads(__tstate
);
36263 if (PyErr_Occurred()) SWIG_fail
;
36265 Py_INCREF(Py_None
); resultobj
= Py_None
;
36272 static PyObject
*_wrap_Sizer_IsShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36273 PyObject
*resultobj
;
36274 wxSizer
*arg1
= (wxSizer
*) 0 ;
36275 PyObject
*arg2
= (PyObject
*) 0 ;
36277 PyObject
* obj0
= 0 ;
36278 PyObject
* obj1
= 0 ;
36279 char *kwnames
[] = {
36280 (char *) "self",(char *) "item", NULL
36283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_IsShown",kwnames
,&obj0
,&obj1
)) goto fail
;
36284 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36285 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36289 result
= (bool)wxSizer_IsShown(arg1
,arg2
);
36291 wxPyEndAllowThreads(__tstate
);
36292 if (PyErr_Occurred()) SWIG_fail
;
36295 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36303 static PyObject
*_wrap_Sizer_ShowItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36304 PyObject
*resultobj
;
36305 wxSizer
*arg1
= (wxSizer
*) 0 ;
36307 PyObject
* obj0
= 0 ;
36308 PyObject
* obj1
= 0 ;
36309 char *kwnames
[] = {
36310 (char *) "self",(char *) "show", NULL
36313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_ShowItems",kwnames
,&obj0
,&obj1
)) goto fail
;
36314 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36315 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36316 arg2
= (bool) SWIG_AsBool(obj1
);
36317 if (PyErr_Occurred()) SWIG_fail
;
36319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36320 (arg1
)->ShowItems(arg2
);
36322 wxPyEndAllowThreads(__tstate
);
36323 if (PyErr_Occurred()) SWIG_fail
;
36325 Py_INCREF(Py_None
); resultobj
= Py_None
;
36332 static PyObject
* Sizer_swigregister(PyObject
*self
, PyObject
*args
) {
36334 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
36335 SWIG_TypeClientData(SWIGTYPE_p_wxSizer
, obj
);
36337 return Py_BuildValue((char *)"");
36339 static PyObject
*_wrap_new_PySizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36340 PyObject
*resultobj
;
36342 char *kwnames
[] = {
36346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PySizer",kwnames
)) goto fail
;
36348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36349 result
= (wxPySizer
*)new wxPySizer();
36351 wxPyEndAllowThreads(__tstate
);
36352 if (PyErr_Occurred()) SWIG_fail
;
36354 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPySizer
, 1);
36361 static PyObject
*_wrap_PySizer__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36362 PyObject
*resultobj
;
36363 wxPySizer
*arg1
= (wxPySizer
*) 0 ;
36364 PyObject
*arg2
= (PyObject
*) 0 ;
36365 PyObject
*arg3
= (PyObject
*) 0 ;
36366 PyObject
* obj0
= 0 ;
36367 PyObject
* obj1
= 0 ;
36368 PyObject
* obj2
= 0 ;
36369 char *kwnames
[] = {
36370 (char *) "self",(char *) "self",(char *) "_class", NULL
36373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PySizer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
36374 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPySizer
,
36375 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36380 (arg1
)->_setCallbackInfo(arg2
,arg3
);
36382 wxPyEndAllowThreads(__tstate
);
36383 if (PyErr_Occurred()) SWIG_fail
;
36385 Py_INCREF(Py_None
); resultobj
= Py_None
;
36392 static PyObject
* PySizer_swigregister(PyObject
*self
, PyObject
*args
) {
36394 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
36395 SWIG_TypeClientData(SWIGTYPE_p_wxPySizer
, obj
);
36397 return Py_BuildValue((char *)"");
36399 static PyObject
*_wrap_new_BoxSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36400 PyObject
*resultobj
;
36401 int arg1
= (int) wxHORIZONTAL
;
36402 wxBoxSizer
*result
;
36403 PyObject
* obj0
= 0 ;
36404 char *kwnames
[] = {
36405 (char *) "orient", NULL
36408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BoxSizer",kwnames
,&obj0
)) goto fail
;
36410 arg1
= (int) SWIG_AsInt(obj0
);
36411 if (PyErr_Occurred()) SWIG_fail
;
36414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36415 result
= (wxBoxSizer
*)new wxBoxSizer(arg1
);
36417 wxPyEndAllowThreads(__tstate
);
36418 if (PyErr_Occurred()) SWIG_fail
;
36420 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBoxSizer
, 1);
36427 static PyObject
*_wrap_BoxSizer_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36428 PyObject
*resultobj
;
36429 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
36431 PyObject
* obj0
= 0 ;
36432 char *kwnames
[] = {
36433 (char *) "self", NULL
36436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BoxSizer_GetOrientation",kwnames
,&obj0
)) goto fail
;
36437 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBoxSizer
,
36438 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36441 result
= (int)(arg1
)->GetOrientation();
36443 wxPyEndAllowThreads(__tstate
);
36444 if (PyErr_Occurred()) SWIG_fail
;
36446 resultobj
= SWIG_FromInt((int)result
);
36453 static PyObject
*_wrap_BoxSizer_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36454 PyObject
*resultobj
;
36455 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
36457 PyObject
* obj0
= 0 ;
36458 PyObject
* obj1
= 0 ;
36459 char *kwnames
[] = {
36460 (char *) "self",(char *) "orient", NULL
36463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BoxSizer_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
36464 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBoxSizer
,
36465 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36466 arg2
= (int) SWIG_AsInt(obj1
);
36467 if (PyErr_Occurred()) SWIG_fail
;
36469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36470 (arg1
)->SetOrientation(arg2
);
36472 wxPyEndAllowThreads(__tstate
);
36473 if (PyErr_Occurred()) SWIG_fail
;
36475 Py_INCREF(Py_None
); resultobj
= Py_None
;
36482 static PyObject
* BoxSizer_swigregister(PyObject
*self
, PyObject
*args
) {
36484 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
36485 SWIG_TypeClientData(SWIGTYPE_p_wxBoxSizer
, obj
);
36487 return Py_BuildValue((char *)"");
36489 static PyObject
*_wrap_new_StaticBoxSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36490 PyObject
*resultobj
;
36491 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
36492 int arg2
= (int) wxHORIZONTAL
;
36493 wxStaticBoxSizer
*result
;
36494 PyObject
* obj0
= 0 ;
36495 PyObject
* obj1
= 0 ;
36496 char *kwnames
[] = {
36497 (char *) "box",(char *) "orient", NULL
36500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_StaticBoxSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
36501 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBox
,
36502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36504 arg2
= (int) SWIG_AsInt(obj1
);
36505 if (PyErr_Occurred()) SWIG_fail
;
36508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36509 result
= (wxStaticBoxSizer
*)new wxStaticBoxSizer(arg1
,arg2
);
36511 wxPyEndAllowThreads(__tstate
);
36512 if (PyErr_Occurred()) SWIG_fail
;
36514 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBoxSizer
, 1);
36521 static PyObject
*_wrap_StaticBoxSizer_GetStaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36522 PyObject
*resultobj
;
36523 wxStaticBoxSizer
*arg1
= (wxStaticBoxSizer
*) 0 ;
36524 wxStaticBox
*result
;
36525 PyObject
* obj0
= 0 ;
36526 char *kwnames
[] = {
36527 (char *) "self", NULL
36530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBoxSizer_GetStaticBox",kwnames
,&obj0
)) goto fail
;
36531 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBoxSizer
,
36532 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36535 result
= (wxStaticBox
*)(arg1
)->GetStaticBox();
36537 wxPyEndAllowThreads(__tstate
);
36538 if (PyErr_Occurred()) SWIG_fail
;
36541 resultobj
= wxPyMake_wxObject(result
, 0);
36549 static PyObject
* StaticBoxSizer_swigregister(PyObject
*self
, PyObject
*args
) {
36551 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
36552 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBoxSizer
, obj
);
36554 return Py_BuildValue((char *)"");
36556 static PyObject
*_wrap_new_GridSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36557 PyObject
*resultobj
;
36558 int arg1
= (int) 1 ;
36559 int arg2
= (int) 0 ;
36560 int arg3
= (int) 0 ;
36561 int arg4
= (int) 0 ;
36562 wxGridSizer
*result
;
36563 PyObject
* obj0
= 0 ;
36564 PyObject
* obj1
= 0 ;
36565 PyObject
* obj2
= 0 ;
36566 PyObject
* obj3
= 0 ;
36567 char *kwnames
[] = {
36568 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
36571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_GridSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
36573 arg1
= (int) SWIG_AsInt(obj0
);
36574 if (PyErr_Occurred()) SWIG_fail
;
36577 arg2
= (int) SWIG_AsInt(obj1
);
36578 if (PyErr_Occurred()) SWIG_fail
;
36581 arg3
= (int) SWIG_AsInt(obj2
);
36582 if (PyErr_Occurred()) SWIG_fail
;
36585 arg4
= (int) SWIG_AsInt(obj3
);
36586 if (PyErr_Occurred()) SWIG_fail
;
36589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36590 result
= (wxGridSizer
*)new wxGridSizer(arg1
,arg2
,arg3
,arg4
);
36592 wxPyEndAllowThreads(__tstate
);
36593 if (PyErr_Occurred()) SWIG_fail
;
36595 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridSizer
, 1);
36602 static PyObject
*_wrap_GridSizer_SetCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36603 PyObject
*resultobj
;
36604 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36606 PyObject
* obj0
= 0 ;
36607 PyObject
* obj1
= 0 ;
36608 char *kwnames
[] = {
36609 (char *) "self",(char *) "cols", NULL
36612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetCols",kwnames
,&obj0
,&obj1
)) goto fail
;
36613 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36614 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36615 arg2
= (int) SWIG_AsInt(obj1
);
36616 if (PyErr_Occurred()) SWIG_fail
;
36618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36619 (arg1
)->SetCols(arg2
);
36621 wxPyEndAllowThreads(__tstate
);
36622 if (PyErr_Occurred()) SWIG_fail
;
36624 Py_INCREF(Py_None
); resultobj
= Py_None
;
36631 static PyObject
*_wrap_GridSizer_SetRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36632 PyObject
*resultobj
;
36633 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36635 PyObject
* obj0
= 0 ;
36636 PyObject
* obj1
= 0 ;
36637 char *kwnames
[] = {
36638 (char *) "self",(char *) "rows", NULL
36641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetRows",kwnames
,&obj0
,&obj1
)) goto fail
;
36642 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36643 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36644 arg2
= (int) SWIG_AsInt(obj1
);
36645 if (PyErr_Occurred()) SWIG_fail
;
36647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36648 (arg1
)->SetRows(arg2
);
36650 wxPyEndAllowThreads(__tstate
);
36651 if (PyErr_Occurred()) SWIG_fail
;
36653 Py_INCREF(Py_None
); resultobj
= Py_None
;
36660 static PyObject
*_wrap_GridSizer_SetVGap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36661 PyObject
*resultobj
;
36662 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36664 PyObject
* obj0
= 0 ;
36665 PyObject
* obj1
= 0 ;
36666 char *kwnames
[] = {
36667 (char *) "self",(char *) "gap", NULL
36670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetVGap",kwnames
,&obj0
,&obj1
)) goto fail
;
36671 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36672 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36673 arg2
= (int) SWIG_AsInt(obj1
);
36674 if (PyErr_Occurred()) SWIG_fail
;
36676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36677 (arg1
)->SetVGap(arg2
);
36679 wxPyEndAllowThreads(__tstate
);
36680 if (PyErr_Occurred()) SWIG_fail
;
36682 Py_INCREF(Py_None
); resultobj
= Py_None
;
36689 static PyObject
*_wrap_GridSizer_SetHGap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36690 PyObject
*resultobj
;
36691 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36693 PyObject
* obj0
= 0 ;
36694 PyObject
* obj1
= 0 ;
36695 char *kwnames
[] = {
36696 (char *) "self",(char *) "gap", NULL
36699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetHGap",kwnames
,&obj0
,&obj1
)) goto fail
;
36700 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36701 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36702 arg2
= (int) SWIG_AsInt(obj1
);
36703 if (PyErr_Occurred()) SWIG_fail
;
36705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36706 (arg1
)->SetHGap(arg2
);
36708 wxPyEndAllowThreads(__tstate
);
36709 if (PyErr_Occurred()) SWIG_fail
;
36711 Py_INCREF(Py_None
); resultobj
= Py_None
;
36718 static PyObject
*_wrap_GridSizer_GetCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36719 PyObject
*resultobj
;
36720 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36722 PyObject
* obj0
= 0 ;
36723 char *kwnames
[] = {
36724 (char *) "self", NULL
36727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetCols",kwnames
,&obj0
)) goto fail
;
36728 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36729 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36732 result
= (int)(arg1
)->GetCols();
36734 wxPyEndAllowThreads(__tstate
);
36735 if (PyErr_Occurred()) SWIG_fail
;
36737 resultobj
= SWIG_FromInt((int)result
);
36744 static PyObject
*_wrap_GridSizer_GetRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36745 PyObject
*resultobj
;
36746 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36748 PyObject
* obj0
= 0 ;
36749 char *kwnames
[] = {
36750 (char *) "self", NULL
36753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetRows",kwnames
,&obj0
)) goto fail
;
36754 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36755 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36758 result
= (int)(arg1
)->GetRows();
36760 wxPyEndAllowThreads(__tstate
);
36761 if (PyErr_Occurred()) SWIG_fail
;
36763 resultobj
= SWIG_FromInt((int)result
);
36770 static PyObject
*_wrap_GridSizer_GetVGap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36771 PyObject
*resultobj
;
36772 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36774 PyObject
* obj0
= 0 ;
36775 char *kwnames
[] = {
36776 (char *) "self", NULL
36779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetVGap",kwnames
,&obj0
)) goto fail
;
36780 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36781 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36784 result
= (int)(arg1
)->GetVGap();
36786 wxPyEndAllowThreads(__tstate
);
36787 if (PyErr_Occurred()) SWIG_fail
;
36789 resultobj
= SWIG_FromInt((int)result
);
36796 static PyObject
*_wrap_GridSizer_GetHGap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36797 PyObject
*resultobj
;
36798 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36800 PyObject
* obj0
= 0 ;
36801 char *kwnames
[] = {
36802 (char *) "self", NULL
36805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetHGap",kwnames
,&obj0
)) goto fail
;
36806 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36807 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36810 result
= (int)(arg1
)->GetHGap();
36812 wxPyEndAllowThreads(__tstate
);
36813 if (PyErr_Occurred()) SWIG_fail
;
36815 resultobj
= SWIG_FromInt((int)result
);
36822 static PyObject
* GridSizer_swigregister(PyObject
*self
, PyObject
*args
) {
36824 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
36825 SWIG_TypeClientData(SWIGTYPE_p_wxGridSizer
, obj
);
36827 return Py_BuildValue((char *)"");
36829 static PyObject
*_wrap_new_FlexGridSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36830 PyObject
*resultobj
;
36831 int arg1
= (int) 1 ;
36832 int arg2
= (int) 0 ;
36833 int arg3
= (int) 0 ;
36834 int arg4
= (int) 0 ;
36835 wxFlexGridSizer
*result
;
36836 PyObject
* obj0
= 0 ;
36837 PyObject
* obj1
= 0 ;
36838 PyObject
* obj2
= 0 ;
36839 PyObject
* obj3
= 0 ;
36840 char *kwnames
[] = {
36841 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
36844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_FlexGridSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
36846 arg1
= (int) SWIG_AsInt(obj0
);
36847 if (PyErr_Occurred()) SWIG_fail
;
36850 arg2
= (int) SWIG_AsInt(obj1
);
36851 if (PyErr_Occurred()) SWIG_fail
;
36854 arg3
= (int) SWIG_AsInt(obj2
);
36855 if (PyErr_Occurred()) SWIG_fail
;
36858 arg4
= (int) SWIG_AsInt(obj3
);
36859 if (PyErr_Occurred()) SWIG_fail
;
36862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36863 result
= (wxFlexGridSizer
*)new wxFlexGridSizer(arg1
,arg2
,arg3
,arg4
);
36865 wxPyEndAllowThreads(__tstate
);
36866 if (PyErr_Occurred()) SWIG_fail
;
36868 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFlexGridSizer
, 1);
36875 static PyObject
*_wrap_FlexGridSizer_AddGrowableRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36876 PyObject
*resultobj
;
36877 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36879 int arg3
= (int) 0 ;
36880 PyObject
* obj0
= 0 ;
36881 PyObject
* obj1
= 0 ;
36882 PyObject
* obj2
= 0 ;
36883 char *kwnames
[] = {
36884 (char *) "self",(char *) "idx",(char *) "proportion", NULL
36887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FlexGridSizer_AddGrowableRow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
36888 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36889 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36890 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
36891 if (PyErr_Occurred()) SWIG_fail
;
36893 arg3
= (int) SWIG_AsInt(obj2
);
36894 if (PyErr_Occurred()) SWIG_fail
;
36897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36898 (arg1
)->AddGrowableRow(arg2
,arg3
);
36900 wxPyEndAllowThreads(__tstate
);
36901 if (PyErr_Occurred()) SWIG_fail
;
36903 Py_INCREF(Py_None
); resultobj
= Py_None
;
36910 static PyObject
*_wrap_FlexGridSizer_RemoveGrowableRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36911 PyObject
*resultobj
;
36912 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36914 PyObject
* obj0
= 0 ;
36915 PyObject
* obj1
= 0 ;
36916 char *kwnames
[] = {
36917 (char *) "self",(char *) "idx", NULL
36920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableRow",kwnames
,&obj0
,&obj1
)) goto fail
;
36921 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36923 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
36924 if (PyErr_Occurred()) SWIG_fail
;
36926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36927 (arg1
)->RemoveGrowableRow(arg2
);
36929 wxPyEndAllowThreads(__tstate
);
36930 if (PyErr_Occurred()) SWIG_fail
;
36932 Py_INCREF(Py_None
); resultobj
= Py_None
;
36939 static PyObject
*_wrap_FlexGridSizer_AddGrowableCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36940 PyObject
*resultobj
;
36941 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36943 int arg3
= (int) 0 ;
36944 PyObject
* obj0
= 0 ;
36945 PyObject
* obj1
= 0 ;
36946 PyObject
* obj2
= 0 ;
36947 char *kwnames
[] = {
36948 (char *) "self",(char *) "idx",(char *) "proportion", NULL
36951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FlexGridSizer_AddGrowableCol",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
36952 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36953 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36954 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
36955 if (PyErr_Occurred()) SWIG_fail
;
36957 arg3
= (int) SWIG_AsInt(obj2
);
36958 if (PyErr_Occurred()) SWIG_fail
;
36961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36962 (arg1
)->AddGrowableCol(arg2
,arg3
);
36964 wxPyEndAllowThreads(__tstate
);
36965 if (PyErr_Occurred()) SWIG_fail
;
36967 Py_INCREF(Py_None
); resultobj
= Py_None
;
36974 static PyObject
*_wrap_FlexGridSizer_RemoveGrowableCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36975 PyObject
*resultobj
;
36976 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36978 PyObject
* obj0
= 0 ;
36979 PyObject
* obj1
= 0 ;
36980 char *kwnames
[] = {
36981 (char *) "self",(char *) "idx", NULL
36984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableCol",kwnames
,&obj0
,&obj1
)) goto fail
;
36985 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36986 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36987 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
36988 if (PyErr_Occurred()) SWIG_fail
;
36990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36991 (arg1
)->RemoveGrowableCol(arg2
);
36993 wxPyEndAllowThreads(__tstate
);
36994 if (PyErr_Occurred()) SWIG_fail
;
36996 Py_INCREF(Py_None
); resultobj
= Py_None
;
37003 static PyObject
*_wrap_FlexGridSizer_SetFlexibleDirection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37004 PyObject
*resultobj
;
37005 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
37007 PyObject
* obj0
= 0 ;
37008 PyObject
* obj1
= 0 ;
37009 char *kwnames
[] = {
37010 (char *) "self",(char *) "direction", NULL
37013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_SetFlexibleDirection",kwnames
,&obj0
,&obj1
)) goto fail
;
37014 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
37015 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37016 arg2
= (int) SWIG_AsInt(obj1
);
37017 if (PyErr_Occurred()) SWIG_fail
;
37019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37020 (arg1
)->SetFlexibleDirection(arg2
);
37022 wxPyEndAllowThreads(__tstate
);
37023 if (PyErr_Occurred()) SWIG_fail
;
37025 Py_INCREF(Py_None
); resultobj
= Py_None
;
37032 static PyObject
*_wrap_FlexGridSizer_GetFlexibleDirection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37033 PyObject
*resultobj
;
37034 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
37036 PyObject
* obj0
= 0 ;
37037 char *kwnames
[] = {
37038 (char *) "self", NULL
37041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetFlexibleDirection",kwnames
,&obj0
)) goto fail
;
37042 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
37043 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37046 result
= (int)(arg1
)->GetFlexibleDirection();
37048 wxPyEndAllowThreads(__tstate
);
37049 if (PyErr_Occurred()) SWIG_fail
;
37051 resultobj
= SWIG_FromInt((int)result
);
37058 static PyObject
*_wrap_FlexGridSizer_SetNonFlexibleGrowMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37059 PyObject
*resultobj
;
37060 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
37062 PyObject
* obj0
= 0 ;
37063 PyObject
* obj1
= 0 ;
37064 char *kwnames
[] = {
37065 (char *) "self",(char *) "mode", NULL
37068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_SetNonFlexibleGrowMode",kwnames
,&obj0
,&obj1
)) goto fail
;
37069 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
37070 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37071 arg2
= (wxFlexSizerGrowMode
) SWIG_AsInt(obj1
);
37072 if (PyErr_Occurred()) SWIG_fail
;
37074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37075 (arg1
)->SetNonFlexibleGrowMode((wxFlexSizerGrowMode
)arg2
);
37077 wxPyEndAllowThreads(__tstate
);
37078 if (PyErr_Occurred()) SWIG_fail
;
37080 Py_INCREF(Py_None
); resultobj
= Py_None
;
37087 static PyObject
*_wrap_FlexGridSizer_GetNonFlexibleGrowMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37088 PyObject
*resultobj
;
37089 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
37091 PyObject
* obj0
= 0 ;
37092 char *kwnames
[] = {
37093 (char *) "self", NULL
37096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetNonFlexibleGrowMode",kwnames
,&obj0
)) goto fail
;
37097 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
37098 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37101 result
= (int)(arg1
)->GetNonFlexibleGrowMode();
37103 wxPyEndAllowThreads(__tstate
);
37104 if (PyErr_Occurred()) SWIG_fail
;
37106 resultobj
= SWIG_FromInt((int)result
);
37113 static PyObject
*_wrap_FlexGridSizer_GetRowHeights(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37114 PyObject
*resultobj
;
37115 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
37116 wxArrayInt
*result
;
37117 PyObject
* obj0
= 0 ;
37118 char *kwnames
[] = {
37119 (char *) "self", NULL
37122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetRowHeights",kwnames
,&obj0
)) goto fail
;
37123 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
37124 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37128 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetRowHeights();
37129 result
= (wxArrayInt
*) &_result_ref
;
37132 wxPyEndAllowThreads(__tstate
);
37133 if (PyErr_Occurred()) SWIG_fail
;
37136 resultobj
= PyList_New(0);
37138 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
37139 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
37140 PyList_Append(resultobj
, val
);
37150 static PyObject
*_wrap_FlexGridSizer_GetColWidths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37151 PyObject
*resultobj
;
37152 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
37153 wxArrayInt
*result
;
37154 PyObject
* obj0
= 0 ;
37155 char *kwnames
[] = {
37156 (char *) "self", NULL
37159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetColWidths",kwnames
,&obj0
)) goto fail
;
37160 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
37161 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37165 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetColWidths();
37166 result
= (wxArrayInt
*) &_result_ref
;
37169 wxPyEndAllowThreads(__tstate
);
37170 if (PyErr_Occurred()) SWIG_fail
;
37173 resultobj
= PyList_New(0);
37175 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
37176 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
37177 PyList_Append(resultobj
, val
);
37187 static PyObject
* FlexGridSizer_swigregister(PyObject
*self
, PyObject
*args
) {
37189 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
37190 SWIG_TypeClientData(SWIGTYPE_p_wxFlexGridSizer
, obj
);
37192 return Py_BuildValue((char *)"");
37194 static PyObject
*_wrap_new_GBPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37195 PyObject
*resultobj
;
37196 int arg1
= (int) 0 ;
37197 int arg2
= (int) 0 ;
37198 wxGBPosition
*result
;
37199 PyObject
* obj0
= 0 ;
37200 PyObject
* obj1
= 0 ;
37201 char *kwnames
[] = {
37202 (char *) "row",(char *) "col", NULL
37205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GBPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
37207 arg1
= (int) SWIG_AsInt(obj0
);
37208 if (PyErr_Occurred()) SWIG_fail
;
37211 arg2
= (int) SWIG_AsInt(obj1
);
37212 if (PyErr_Occurred()) SWIG_fail
;
37215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37216 result
= (wxGBPosition
*)new wxGBPosition(arg1
,arg2
);
37218 wxPyEndAllowThreads(__tstate
);
37219 if (PyErr_Occurred()) SWIG_fail
;
37221 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBPosition
, 1);
37228 static PyObject
*_wrap_GBPosition_GetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37229 PyObject
*resultobj
;
37230 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
37232 PyObject
* obj0
= 0 ;
37233 char *kwnames
[] = {
37234 (char *) "self", NULL
37237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_GetRow",kwnames
,&obj0
)) goto fail
;
37238 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
37239 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37242 result
= (int)((wxGBPosition
const *)arg1
)->GetRow();
37244 wxPyEndAllowThreads(__tstate
);
37245 if (PyErr_Occurred()) SWIG_fail
;
37247 resultobj
= SWIG_FromInt((int)result
);
37254 static PyObject
*_wrap_GBPosition_GetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37255 PyObject
*resultobj
;
37256 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
37258 PyObject
* obj0
= 0 ;
37259 char *kwnames
[] = {
37260 (char *) "self", NULL
37263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_GetCol",kwnames
,&obj0
)) goto fail
;
37264 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
37265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37268 result
= (int)((wxGBPosition
const *)arg1
)->GetCol();
37270 wxPyEndAllowThreads(__tstate
);
37271 if (PyErr_Occurred()) SWIG_fail
;
37273 resultobj
= SWIG_FromInt((int)result
);
37280 static PyObject
*_wrap_GBPosition_SetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37281 PyObject
*resultobj
;
37282 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
37284 PyObject
* obj0
= 0 ;
37285 PyObject
* obj1
= 0 ;
37286 char *kwnames
[] = {
37287 (char *) "self",(char *) "row", NULL
37290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition_SetRow",kwnames
,&obj0
,&obj1
)) goto fail
;
37291 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
37292 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37293 arg2
= (int) SWIG_AsInt(obj1
);
37294 if (PyErr_Occurred()) SWIG_fail
;
37296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37297 (arg1
)->SetRow(arg2
);
37299 wxPyEndAllowThreads(__tstate
);
37300 if (PyErr_Occurred()) SWIG_fail
;
37302 Py_INCREF(Py_None
); resultobj
= Py_None
;
37309 static PyObject
*_wrap_GBPosition_SetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37310 PyObject
*resultobj
;
37311 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
37313 PyObject
* obj0
= 0 ;
37314 PyObject
* obj1
= 0 ;
37315 char *kwnames
[] = {
37316 (char *) "self",(char *) "col", NULL
37319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition_SetCol",kwnames
,&obj0
,&obj1
)) goto fail
;
37320 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
37321 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37322 arg2
= (int) SWIG_AsInt(obj1
);
37323 if (PyErr_Occurred()) SWIG_fail
;
37325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37326 (arg1
)->SetCol(arg2
);
37328 wxPyEndAllowThreads(__tstate
);
37329 if (PyErr_Occurred()) SWIG_fail
;
37331 Py_INCREF(Py_None
); resultobj
= Py_None
;
37338 static PyObject
*_wrap_GBPosition___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37339 PyObject
*resultobj
;
37340 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
37341 wxGBPosition
*arg2
= 0 ;
37343 wxGBPosition temp2
;
37344 PyObject
* obj0
= 0 ;
37345 PyObject
* obj1
= 0 ;
37346 char *kwnames
[] = {
37347 (char *) "self",(char *) "other", NULL
37350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
37351 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
37352 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37355 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
37358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37359 result
= (bool)(arg1
)->operator ==((wxGBPosition
const &)*arg2
);
37361 wxPyEndAllowThreads(__tstate
);
37362 if (PyErr_Occurred()) SWIG_fail
;
37365 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37373 static PyObject
*_wrap_GBPosition___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37374 PyObject
*resultobj
;
37375 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
37376 wxGBPosition
*arg2
= 0 ;
37378 wxGBPosition temp2
;
37379 PyObject
* obj0
= 0 ;
37380 PyObject
* obj1
= 0 ;
37381 char *kwnames
[] = {
37382 (char *) "self",(char *) "other", NULL
37385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
37386 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
37387 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37390 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
37393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37394 result
= (bool)(arg1
)->operator !=((wxGBPosition
const &)*arg2
);
37396 wxPyEndAllowThreads(__tstate
);
37397 if (PyErr_Occurred()) SWIG_fail
;
37400 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37408 static PyObject
*_wrap_GBPosition_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37409 PyObject
*resultobj
;
37410 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
37411 int arg2
= (int) 0 ;
37412 int arg3
= (int) 0 ;
37413 PyObject
* obj0
= 0 ;
37414 PyObject
* obj1
= 0 ;
37415 PyObject
* obj2
= 0 ;
37416 char *kwnames
[] = {
37417 (char *) "self",(char *) "row",(char *) "col", NULL
37420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GBPosition_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37421 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
37422 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37424 arg2
= (int) SWIG_AsInt(obj1
);
37425 if (PyErr_Occurred()) SWIG_fail
;
37428 arg3
= (int) SWIG_AsInt(obj2
);
37429 if (PyErr_Occurred()) SWIG_fail
;
37432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37433 wxGBPosition_Set(arg1
,arg2
,arg3
);
37435 wxPyEndAllowThreads(__tstate
);
37436 if (PyErr_Occurred()) SWIG_fail
;
37438 Py_INCREF(Py_None
); resultobj
= Py_None
;
37445 static PyObject
*_wrap_GBPosition_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37446 PyObject
*resultobj
;
37447 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
37449 PyObject
* obj0
= 0 ;
37450 char *kwnames
[] = {
37451 (char *) "self", NULL
37454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_Get",kwnames
,&obj0
)) goto fail
;
37455 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
37456 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37459 result
= (PyObject
*)wxGBPosition_Get(arg1
);
37461 wxPyEndAllowThreads(__tstate
);
37462 if (PyErr_Occurred()) SWIG_fail
;
37464 resultobj
= result
;
37471 static PyObject
* GBPosition_swigregister(PyObject
*self
, PyObject
*args
) {
37473 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
37474 SWIG_TypeClientData(SWIGTYPE_p_wxGBPosition
, obj
);
37476 return Py_BuildValue((char *)"");
37478 static PyObject
*_wrap_new_GBSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37479 PyObject
*resultobj
;
37480 int arg1
= (int) 1 ;
37481 int arg2
= (int) 1 ;
37483 PyObject
* obj0
= 0 ;
37484 PyObject
* obj1
= 0 ;
37485 char *kwnames
[] = {
37486 (char *) "rowspan",(char *) "colspan", NULL
37489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GBSpan",kwnames
,&obj0
,&obj1
)) goto fail
;
37491 arg1
= (int) SWIG_AsInt(obj0
);
37492 if (PyErr_Occurred()) SWIG_fail
;
37495 arg2
= (int) SWIG_AsInt(obj1
);
37496 if (PyErr_Occurred()) SWIG_fail
;
37499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37500 result
= (wxGBSpan
*)new wxGBSpan(arg1
,arg2
);
37502 wxPyEndAllowThreads(__tstate
);
37503 if (PyErr_Occurred()) SWIG_fail
;
37505 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSpan
, 1);
37512 static PyObject
*_wrap_GBSpan_GetRowspan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37513 PyObject
*resultobj
;
37514 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37516 PyObject
* obj0
= 0 ;
37517 char *kwnames
[] = {
37518 (char *) "self", NULL
37521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_GetRowspan",kwnames
,&obj0
)) goto fail
;
37522 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37523 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37526 result
= (int)((wxGBSpan
const *)arg1
)->GetRowspan();
37528 wxPyEndAllowThreads(__tstate
);
37529 if (PyErr_Occurred()) SWIG_fail
;
37531 resultobj
= SWIG_FromInt((int)result
);
37538 static PyObject
*_wrap_GBSpan_GetColspan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37539 PyObject
*resultobj
;
37540 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37542 PyObject
* obj0
= 0 ;
37543 char *kwnames
[] = {
37544 (char *) "self", NULL
37547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_GetColspan",kwnames
,&obj0
)) goto fail
;
37548 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37549 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37552 result
= (int)((wxGBSpan
const *)arg1
)->GetColspan();
37554 wxPyEndAllowThreads(__tstate
);
37555 if (PyErr_Occurred()) SWIG_fail
;
37557 resultobj
= SWIG_FromInt((int)result
);
37564 static PyObject
*_wrap_GBSpan_SetRowspan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37565 PyObject
*resultobj
;
37566 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37568 PyObject
* obj0
= 0 ;
37569 PyObject
* obj1
= 0 ;
37570 char *kwnames
[] = {
37571 (char *) "self",(char *) "rowspan", NULL
37574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan_SetRowspan",kwnames
,&obj0
,&obj1
)) goto fail
;
37575 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37576 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37577 arg2
= (int) SWIG_AsInt(obj1
);
37578 if (PyErr_Occurred()) SWIG_fail
;
37580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37581 (arg1
)->SetRowspan(arg2
);
37583 wxPyEndAllowThreads(__tstate
);
37584 if (PyErr_Occurred()) SWIG_fail
;
37586 Py_INCREF(Py_None
); resultobj
= Py_None
;
37593 static PyObject
*_wrap_GBSpan_SetColspan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37594 PyObject
*resultobj
;
37595 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37597 PyObject
* obj0
= 0 ;
37598 PyObject
* obj1
= 0 ;
37599 char *kwnames
[] = {
37600 (char *) "self",(char *) "colspan", NULL
37603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan_SetColspan",kwnames
,&obj0
,&obj1
)) goto fail
;
37604 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37605 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37606 arg2
= (int) SWIG_AsInt(obj1
);
37607 if (PyErr_Occurred()) SWIG_fail
;
37609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37610 (arg1
)->SetColspan(arg2
);
37612 wxPyEndAllowThreads(__tstate
);
37613 if (PyErr_Occurred()) SWIG_fail
;
37615 Py_INCREF(Py_None
); resultobj
= Py_None
;
37622 static PyObject
*_wrap_GBSpan___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37623 PyObject
*resultobj
;
37624 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37625 wxGBSpan
*arg2
= 0 ;
37628 PyObject
* obj0
= 0 ;
37629 PyObject
* obj1
= 0 ;
37630 char *kwnames
[] = {
37631 (char *) "self",(char *) "other", NULL
37634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
37635 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37636 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37639 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
37642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37643 result
= (bool)(arg1
)->operator ==((wxGBSpan
const &)*arg2
);
37645 wxPyEndAllowThreads(__tstate
);
37646 if (PyErr_Occurred()) SWIG_fail
;
37649 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37657 static PyObject
*_wrap_GBSpan___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37658 PyObject
*resultobj
;
37659 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37660 wxGBSpan
*arg2
= 0 ;
37663 PyObject
* obj0
= 0 ;
37664 PyObject
* obj1
= 0 ;
37665 char *kwnames
[] = {
37666 (char *) "self",(char *) "other", NULL
37669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
37670 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37671 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37674 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
37677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37678 result
= (bool)(arg1
)->operator !=((wxGBSpan
const &)*arg2
);
37680 wxPyEndAllowThreads(__tstate
);
37681 if (PyErr_Occurred()) SWIG_fail
;
37684 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37692 static PyObject
*_wrap_GBSpan_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37693 PyObject
*resultobj
;
37694 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37695 int arg2
= (int) 1 ;
37696 int arg3
= (int) 1 ;
37697 PyObject
* obj0
= 0 ;
37698 PyObject
* obj1
= 0 ;
37699 PyObject
* obj2
= 0 ;
37700 char *kwnames
[] = {
37701 (char *) "self",(char *) "rowspan",(char *) "colspan", NULL
37704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GBSpan_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37705 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37706 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37708 arg2
= (int) SWIG_AsInt(obj1
);
37709 if (PyErr_Occurred()) SWIG_fail
;
37712 arg3
= (int) SWIG_AsInt(obj2
);
37713 if (PyErr_Occurred()) SWIG_fail
;
37716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37717 wxGBSpan_Set(arg1
,arg2
,arg3
);
37719 wxPyEndAllowThreads(__tstate
);
37720 if (PyErr_Occurred()) SWIG_fail
;
37722 Py_INCREF(Py_None
); resultobj
= Py_None
;
37729 static PyObject
*_wrap_GBSpan_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37730 PyObject
*resultobj
;
37731 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37733 PyObject
* obj0
= 0 ;
37734 char *kwnames
[] = {
37735 (char *) "self", NULL
37738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_Get",kwnames
,&obj0
)) goto fail
;
37739 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37740 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37743 result
= (PyObject
*)wxGBSpan_Get(arg1
);
37745 wxPyEndAllowThreads(__tstate
);
37746 if (PyErr_Occurred()) SWIG_fail
;
37748 resultobj
= result
;
37755 static PyObject
* GBSpan_swigregister(PyObject
*self
, PyObject
*args
) {
37757 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
37758 SWIG_TypeClientData(SWIGTYPE_p_wxGBSpan
, obj
);
37760 return Py_BuildValue((char *)"");
37762 static int _wrap_DefaultSpan_set(PyObject
*_val
) {
37763 PyErr_SetString(PyExc_TypeError
,"Variable DefaultSpan is read-only.");
37768 static PyObject
*_wrap_DefaultSpan_get() {
37771 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultSpan
), SWIGTYPE_p_wxGBSpan
, 0);
37776 static PyObject
*_wrap_new_GBSizerItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37777 PyObject
*resultobj
;
37778 wxGBSizerItem
*result
;
37779 char *kwnames
[] = {
37783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GBSizerItem",kwnames
)) goto fail
;
37785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37786 result
= (wxGBSizerItem
*)new wxGBSizerItem();
37788 wxPyEndAllowThreads(__tstate
);
37789 if (PyErr_Occurred()) SWIG_fail
;
37791 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
37798 static PyObject
*_wrap_new_GBSizerItemWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37799 PyObject
*resultobj
;
37800 wxWindow
*arg1
= (wxWindow
*) 0 ;
37801 wxGBPosition
*arg2
= 0 ;
37802 wxGBSpan
*arg3
= 0 ;
37805 PyObject
*arg6
= (PyObject
*) NULL
;
37806 wxGBSizerItem
*result
;
37807 wxGBPosition temp2
;
37809 PyObject
* obj0
= 0 ;
37810 PyObject
* obj1
= 0 ;
37811 PyObject
* obj2
= 0 ;
37812 PyObject
* obj3
= 0 ;
37813 PyObject
* obj4
= 0 ;
37814 PyObject
* obj5
= 0 ;
37815 char *kwnames
[] = {
37816 (char *) "window",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
37819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_GBSizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
37820 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
37821 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37824 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
37828 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
37830 arg4
= (int) SWIG_AsInt(obj3
);
37831 if (PyErr_Occurred()) SWIG_fail
;
37832 arg5
= (int) SWIG_AsInt(obj4
);
37833 if (PyErr_Occurred()) SWIG_fail
;
37838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37839 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
37841 wxPyEndAllowThreads(__tstate
);
37842 if (PyErr_Occurred()) SWIG_fail
;
37844 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
37851 static PyObject
*_wrap_new_GBSizerItemSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37852 PyObject
*resultobj
;
37853 wxSizer
*arg1
= (wxSizer
*) 0 ;
37854 wxGBPosition
*arg2
= 0 ;
37855 wxGBSpan
*arg3
= 0 ;
37858 PyObject
*arg6
= (PyObject
*) NULL
;
37859 wxGBSizerItem
*result
;
37860 wxGBPosition temp2
;
37862 PyObject
* obj0
= 0 ;
37863 PyObject
* obj1
= 0 ;
37864 PyObject
* obj2
= 0 ;
37865 PyObject
* obj3
= 0 ;
37866 PyObject
* obj4
= 0 ;
37867 PyObject
* obj5
= 0 ;
37868 char *kwnames
[] = {
37869 (char *) "sizer",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
37872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_GBSizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
37873 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
37874 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37877 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
37881 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
37883 arg4
= (int) SWIG_AsInt(obj3
);
37884 if (PyErr_Occurred()) SWIG_fail
;
37885 arg5
= (int) SWIG_AsInt(obj4
);
37886 if (PyErr_Occurred()) SWIG_fail
;
37891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37892 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
37894 wxPyEndAllowThreads(__tstate
);
37895 if (PyErr_Occurred()) SWIG_fail
;
37897 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
37904 static PyObject
*_wrap_new_GBSizerItemSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37905 PyObject
*resultobj
;
37908 wxGBPosition
*arg3
= 0 ;
37909 wxGBSpan
*arg4
= 0 ;
37912 PyObject
*arg7
= (PyObject
*) NULL
;
37913 wxGBSizerItem
*result
;
37914 wxGBPosition temp3
;
37916 PyObject
* obj0
= 0 ;
37917 PyObject
* obj1
= 0 ;
37918 PyObject
* obj2
= 0 ;
37919 PyObject
* obj3
= 0 ;
37920 PyObject
* obj4
= 0 ;
37921 PyObject
* obj5
= 0 ;
37922 PyObject
* obj6
= 0 ;
37923 char *kwnames
[] = {
37924 (char *) "width",(char *) "height",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
37927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:new_GBSizerItemSpacer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
37928 arg1
= (int) SWIG_AsInt(obj0
);
37929 if (PyErr_Occurred()) SWIG_fail
;
37930 arg2
= (int) SWIG_AsInt(obj1
);
37931 if (PyErr_Occurred()) SWIG_fail
;
37934 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
37938 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
37940 arg5
= (int) SWIG_AsInt(obj4
);
37941 if (PyErr_Occurred()) SWIG_fail
;
37942 arg6
= (int) SWIG_AsInt(obj5
);
37943 if (PyErr_Occurred()) SWIG_fail
;
37948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37949 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
37951 wxPyEndAllowThreads(__tstate
);
37952 if (PyErr_Occurred()) SWIG_fail
;
37954 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
37961 static PyObject
*_wrap_GBSizerItem_GetPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37962 PyObject
*resultobj
;
37963 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
37964 wxGBPosition result
;
37965 PyObject
* obj0
= 0 ;
37966 char *kwnames
[] = {
37967 (char *) "self", NULL
37970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetPos",kwnames
,&obj0
)) goto fail
;
37971 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
37972 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37975 result
= ((wxGBSizerItem
const *)arg1
)->GetPos();
37977 wxPyEndAllowThreads(__tstate
);
37978 if (PyErr_Occurred()) SWIG_fail
;
37981 wxGBPosition
* resultptr
;
37982 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
37983 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
37991 static PyObject
*_wrap_GBSizerItem_GetSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37992 PyObject
*resultobj
;
37993 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
37995 PyObject
* obj0
= 0 ;
37996 char *kwnames
[] = {
37997 (char *) "self", NULL
38000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetSpan",kwnames
,&obj0
)) goto fail
;
38001 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
38002 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38005 result
= ((wxGBSizerItem
const *)arg1
)->GetSpan();
38007 wxPyEndAllowThreads(__tstate
);
38008 if (PyErr_Occurred()) SWIG_fail
;
38011 wxGBSpan
* resultptr
;
38012 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
38013 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
38021 static PyObject
*_wrap_GBSizerItem_SetPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38022 PyObject
*resultobj
;
38023 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
38024 wxGBPosition
*arg2
= 0 ;
38026 wxGBPosition temp2
;
38027 PyObject
* obj0
= 0 ;
38028 PyObject
* obj1
= 0 ;
38029 char *kwnames
[] = {
38030 (char *) "self",(char *) "pos", NULL
38033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetPos",kwnames
,&obj0
,&obj1
)) goto fail
;
38034 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
38035 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38038 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
38041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38042 result
= (bool)(arg1
)->SetPos((wxGBPosition
const &)*arg2
);
38044 wxPyEndAllowThreads(__tstate
);
38045 if (PyErr_Occurred()) SWIG_fail
;
38048 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38056 static PyObject
*_wrap_GBSizerItem_SetSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38057 PyObject
*resultobj
;
38058 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
38059 wxGBSpan
*arg2
= 0 ;
38062 PyObject
* obj0
= 0 ;
38063 PyObject
* obj1
= 0 ;
38064 char *kwnames
[] = {
38065 (char *) "self",(char *) "span", NULL
38068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetSpan",kwnames
,&obj0
,&obj1
)) goto fail
;
38069 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
38070 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38073 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
38076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38077 result
= (bool)(arg1
)->SetSpan((wxGBSpan
const &)*arg2
);
38079 wxPyEndAllowThreads(__tstate
);
38080 if (PyErr_Occurred()) SWIG_fail
;
38083 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38091 static PyObject
*_wrap_GBSizerItem_Intersects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38092 PyObject
*resultobj
;
38093 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
38094 wxGBSizerItem
*arg2
= 0 ;
38096 PyObject
* obj0
= 0 ;
38097 PyObject
* obj1
= 0 ;
38098 char *kwnames
[] = {
38099 (char *) "self",(char *) "other", NULL
38102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_Intersects",kwnames
,&obj0
,&obj1
)) goto fail
;
38103 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
38104 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38105 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGBSizerItem
,
38106 SWIG_POINTER_EXCEPTION
| 0)) == -1)
38108 if (arg2
== NULL
) {
38109 PyErr_SetString(PyExc_TypeError
,"null reference");
38113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38114 result
= (bool)(arg1
)->Intersects((wxGBSizerItem
const &)*arg2
);
38116 wxPyEndAllowThreads(__tstate
);
38117 if (PyErr_Occurred()) SWIG_fail
;
38120 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38128 static PyObject
*_wrap_GBSizerItem_IntersectsPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38129 PyObject
*resultobj
;
38130 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
38131 wxGBPosition
*arg2
= 0 ;
38132 wxGBSpan
*arg3
= 0 ;
38134 wxGBPosition temp2
;
38136 PyObject
* obj0
= 0 ;
38137 PyObject
* obj1
= 0 ;
38138 PyObject
* obj2
= 0 ;
38139 char *kwnames
[] = {
38140 (char *) "self",(char *) "pos",(char *) "span", NULL
38143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GBSizerItem_IntersectsPos",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
38144 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
38145 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38148 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
38152 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
38155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38156 result
= (bool)(arg1
)->Intersects((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
);
38158 wxPyEndAllowThreads(__tstate
);
38159 if (PyErr_Occurred()) SWIG_fail
;
38162 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38170 static PyObject
*_wrap_GBSizerItem_GetEndPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38171 PyObject
*resultobj
;
38172 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
38173 wxGBPosition result
;
38174 PyObject
* obj0
= 0 ;
38175 char *kwnames
[] = {
38176 (char *) "self", NULL
38179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetEndPos",kwnames
,&obj0
)) goto fail
;
38180 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
38181 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38184 result
= wxGBSizerItem_GetEndPos(arg1
);
38186 wxPyEndAllowThreads(__tstate
);
38187 if (PyErr_Occurred()) SWIG_fail
;
38190 wxGBPosition
* resultptr
;
38191 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
38192 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
38200 static PyObject
*_wrap_GBSizerItem_GetGBSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38201 PyObject
*resultobj
;
38202 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
38203 wxGridBagSizer
*result
;
38204 PyObject
* obj0
= 0 ;
38205 char *kwnames
[] = {
38206 (char *) "self", NULL
38209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetGBSizer",kwnames
,&obj0
)) goto fail
;
38210 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
38211 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38214 result
= (wxGridBagSizer
*)((wxGBSizerItem
const *)arg1
)->GetGBSizer();
38216 wxPyEndAllowThreads(__tstate
);
38217 if (PyErr_Occurred()) SWIG_fail
;
38219 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridBagSizer
, 0);
38226 static PyObject
*_wrap_GBSizerItem_SetGBSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38227 PyObject
*resultobj
;
38228 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
38229 wxGridBagSizer
*arg2
= (wxGridBagSizer
*) 0 ;
38230 PyObject
* obj0
= 0 ;
38231 PyObject
* obj1
= 0 ;
38232 char *kwnames
[] = {
38233 (char *) "self",(char *) "sizer", NULL
38236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetGBSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
38237 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
38238 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38239 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridBagSizer
,
38240 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38243 (arg1
)->SetGBSizer(arg2
);
38245 wxPyEndAllowThreads(__tstate
);
38246 if (PyErr_Occurred()) SWIG_fail
;
38248 Py_INCREF(Py_None
); resultobj
= Py_None
;
38255 static PyObject
* GBSizerItem_swigregister(PyObject
*self
, PyObject
*args
) {
38257 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
38258 SWIG_TypeClientData(SWIGTYPE_p_wxGBSizerItem
, obj
);
38260 return Py_BuildValue((char *)"");
38262 static PyObject
*_wrap_new_GridBagSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38263 PyObject
*resultobj
;
38264 int arg1
= (int) 0 ;
38265 int arg2
= (int) 0 ;
38266 wxGridBagSizer
*result
;
38267 PyObject
* obj0
= 0 ;
38268 PyObject
* obj1
= 0 ;
38269 char *kwnames
[] = {
38270 (char *) "vgap",(char *) "hgap", NULL
38273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridBagSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
38275 arg1
= (int) SWIG_AsInt(obj0
);
38276 if (PyErr_Occurred()) SWIG_fail
;
38279 arg2
= (int) SWIG_AsInt(obj1
);
38280 if (PyErr_Occurred()) SWIG_fail
;
38283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38284 result
= (wxGridBagSizer
*)new wxGridBagSizer(arg1
,arg2
);
38286 wxPyEndAllowThreads(__tstate
);
38287 if (PyErr_Occurred()) SWIG_fail
;
38289 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridBagSizer
, 1);
38296 static PyObject
*_wrap_GridBagSizer_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38297 PyObject
*resultobj
;
38298 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38299 PyObject
*arg2
= (PyObject
*) 0 ;
38300 wxGBPosition
*arg3
= 0 ;
38301 wxGBSpan
const &arg4_defvalue
= wxDefaultSpan
;
38302 wxGBSpan
*arg4
= (wxGBSpan
*) &arg4_defvalue
;
38303 int arg5
= (int) 0 ;
38304 int arg6
= (int) 0 ;
38305 PyObject
*arg7
= (PyObject
*) NULL
;
38307 wxGBPosition temp3
;
38309 PyObject
* obj0
= 0 ;
38310 PyObject
* obj1
= 0 ;
38311 PyObject
* obj2
= 0 ;
38312 PyObject
* obj3
= 0 ;
38313 PyObject
* obj4
= 0 ;
38314 PyObject
* obj5
= 0 ;
38315 PyObject
* obj6
= 0 ;
38316 char *kwnames
[] = {
38317 (char *) "self",(char *) "item",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
38320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:GridBagSizer_Add",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
38321 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38322 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38326 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
38331 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
38335 arg5
= (int) SWIG_AsInt(obj4
);
38336 if (PyErr_Occurred()) SWIG_fail
;
38339 arg6
= (int) SWIG_AsInt(obj5
);
38340 if (PyErr_Occurred()) SWIG_fail
;
38346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38347 result
= (bool)wxGridBagSizer_Add(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
38349 wxPyEndAllowThreads(__tstate
);
38350 if (PyErr_Occurred()) SWIG_fail
;
38353 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38361 static PyObject
*_wrap_GridBagSizer_AddItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38362 PyObject
*resultobj
;
38363 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38364 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
38366 PyObject
* obj0
= 0 ;
38367 PyObject
* obj1
= 0 ;
38368 char *kwnames
[] = {
38369 (char *) "self",(char *) "item", NULL
38372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_AddItem",kwnames
,&obj0
,&obj1
)) goto fail
;
38373 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38374 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38375 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGBSizerItem
,
38376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38379 result
= (bool)(arg1
)->Add(arg2
);
38381 wxPyEndAllowThreads(__tstate
);
38382 if (PyErr_Occurred()) SWIG_fail
;
38385 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38393 static PyObject
*_wrap_GridBagSizer_GetEmptyCellSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38394 PyObject
*resultobj
;
38395 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38397 PyObject
* obj0
= 0 ;
38398 char *kwnames
[] = {
38399 (char *) "self", NULL
38402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridBagSizer_GetEmptyCellSize",kwnames
,&obj0
)) goto fail
;
38403 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38404 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38407 result
= ((wxGridBagSizer
const *)arg1
)->GetEmptyCellSize();
38409 wxPyEndAllowThreads(__tstate
);
38410 if (PyErr_Occurred()) SWIG_fail
;
38413 wxSize
* resultptr
;
38414 resultptr
= new wxSize((wxSize
&) result
);
38415 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
38423 static PyObject
*_wrap_GridBagSizer_SetEmptyCellSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38424 PyObject
*resultobj
;
38425 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38428 PyObject
* obj0
= 0 ;
38429 PyObject
* obj1
= 0 ;
38430 char *kwnames
[] = {
38431 (char *) "self",(char *) "sz", NULL
38434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_SetEmptyCellSize",kwnames
,&obj0
,&obj1
)) goto fail
;
38435 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38436 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38439 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
38442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38443 (arg1
)->SetEmptyCellSize((wxSize
const &)*arg2
);
38445 wxPyEndAllowThreads(__tstate
);
38446 if (PyErr_Occurred()) SWIG_fail
;
38448 Py_INCREF(Py_None
); resultobj
= Py_None
;
38455 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_0(PyObject
*self
, PyObject
*args
) {
38456 PyObject
*resultobj
;
38457 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38458 wxWindow
*arg2
= (wxWindow
*) 0 ;
38459 wxGBPosition result
;
38460 PyObject
* obj0
= 0 ;
38461 PyObject
* obj1
= 0 ;
38463 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
38464 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38465 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38466 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
38467 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38470 result
= (arg1
)->GetItemPosition(arg2
);
38472 wxPyEndAllowThreads(__tstate
);
38473 if (PyErr_Occurred()) SWIG_fail
;
38476 wxGBPosition
* resultptr
;
38477 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
38478 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
38486 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_1(PyObject
*self
, PyObject
*args
) {
38487 PyObject
*resultobj
;
38488 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38489 wxSizer
*arg2
= (wxSizer
*) 0 ;
38490 wxGBPosition result
;
38491 PyObject
* obj0
= 0 ;
38492 PyObject
* obj1
= 0 ;
38494 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
38495 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38496 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38497 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
38498 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38501 result
= (arg1
)->GetItemPosition(arg2
);
38503 wxPyEndAllowThreads(__tstate
);
38504 if (PyErr_Occurred()) SWIG_fail
;
38507 wxGBPosition
* resultptr
;
38508 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
38509 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
38517 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_2(PyObject
*self
, PyObject
*args
) {
38518 PyObject
*resultobj
;
38519 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38521 wxGBPosition result
;
38522 PyObject
* obj0
= 0 ;
38523 PyObject
* obj1
= 0 ;
38525 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
38526 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38527 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38528 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
38529 if (PyErr_Occurred()) SWIG_fail
;
38531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38532 result
= (arg1
)->GetItemPosition(arg2
);
38534 wxPyEndAllowThreads(__tstate
);
38535 if (PyErr_Occurred()) SWIG_fail
;
38538 wxGBPosition
* resultptr
;
38539 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
38540 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
38548 static PyObject
*_wrap_GridBagSizer_GetItemPosition(PyObject
*self
, PyObject
*args
) {
38553 argc
= PyObject_Length(args
);
38554 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
38555 argv
[ii
] = PyTuple_GetItem(args
,ii
);
38561 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38571 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
38579 return _wrap_GridBagSizer_GetItemPosition__SWIG_0(self
,args
);
38587 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38597 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
38605 return _wrap_GridBagSizer_GetItemPosition__SWIG_1(self
,args
);
38613 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38621 _v
= SWIG_CheckUnsignedLong(argv
[1]);
38623 return _wrap_GridBagSizer_GetItemPosition__SWIG_2(self
,args
);
38628 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_GetItemPosition'");
38633 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_0(PyObject
*self
, PyObject
*args
) {
38634 PyObject
*resultobj
;
38635 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38636 wxWindow
*arg2
= (wxWindow
*) 0 ;
38637 wxGBPosition
*arg3
= 0 ;
38639 wxGBPosition temp3
;
38640 PyObject
* obj0
= 0 ;
38641 PyObject
* obj1
= 0 ;
38642 PyObject
* obj2
= 0 ;
38644 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
38645 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38646 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38647 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
38648 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38651 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
38654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38655 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
38657 wxPyEndAllowThreads(__tstate
);
38658 if (PyErr_Occurred()) SWIG_fail
;
38661 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38669 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_1(PyObject
*self
, PyObject
*args
) {
38670 PyObject
*resultobj
;
38671 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38672 wxSizer
*arg2
= (wxSizer
*) 0 ;
38673 wxGBPosition
*arg3
= 0 ;
38675 wxGBPosition temp3
;
38676 PyObject
* obj0
= 0 ;
38677 PyObject
* obj1
= 0 ;
38678 PyObject
* obj2
= 0 ;
38680 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
38681 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38682 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38683 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
38684 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38687 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
38690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38691 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
38693 wxPyEndAllowThreads(__tstate
);
38694 if (PyErr_Occurred()) SWIG_fail
;
38697 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38705 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_2(PyObject
*self
, PyObject
*args
) {
38706 PyObject
*resultobj
;
38707 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38709 wxGBPosition
*arg3
= 0 ;
38711 wxGBPosition temp3
;
38712 PyObject
* obj0
= 0 ;
38713 PyObject
* obj1
= 0 ;
38714 PyObject
* obj2
= 0 ;
38716 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
38717 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38718 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38719 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
38720 if (PyErr_Occurred()) SWIG_fail
;
38723 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
38726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38727 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
38729 wxPyEndAllowThreads(__tstate
);
38730 if (PyErr_Occurred()) SWIG_fail
;
38733 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38741 static PyObject
*_wrap_GridBagSizer_SetItemPosition(PyObject
*self
, PyObject
*args
) {
38746 argc
= PyObject_Length(args
);
38747 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
38748 argv
[ii
] = PyTuple_GetItem(args
,ii
);
38754 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38764 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
38773 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
38776 return _wrap_GridBagSizer_SetItemPosition__SWIG_0(self
,args
);
38785 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38795 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
38804 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
38807 return _wrap_GridBagSizer_SetItemPosition__SWIG_1(self
,args
);
38816 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38824 _v
= SWIG_CheckUnsignedLong(argv
[1]);
38827 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
38830 return _wrap_GridBagSizer_SetItemPosition__SWIG_2(self
,args
);
38836 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_SetItemPosition'");
38841 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_0(PyObject
*self
, PyObject
*args
) {
38842 PyObject
*resultobj
;
38843 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38844 wxWindow
*arg2
= (wxWindow
*) 0 ;
38846 PyObject
* obj0
= 0 ;
38847 PyObject
* obj1
= 0 ;
38849 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
38850 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38851 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38852 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
38853 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38856 result
= (arg1
)->GetItemSpan(arg2
);
38858 wxPyEndAllowThreads(__tstate
);
38859 if (PyErr_Occurred()) SWIG_fail
;
38862 wxGBSpan
* resultptr
;
38863 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
38864 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
38872 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_1(PyObject
*self
, PyObject
*args
) {
38873 PyObject
*resultobj
;
38874 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38875 wxSizer
*arg2
= (wxSizer
*) 0 ;
38877 PyObject
* obj0
= 0 ;
38878 PyObject
* obj1
= 0 ;
38880 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
38881 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38882 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38883 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
38884 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38887 result
= (arg1
)->GetItemSpan(arg2
);
38889 wxPyEndAllowThreads(__tstate
);
38890 if (PyErr_Occurred()) SWIG_fail
;
38893 wxGBSpan
* resultptr
;
38894 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
38895 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
38903 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_2(PyObject
*self
, PyObject
*args
) {
38904 PyObject
*resultobj
;
38905 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38908 PyObject
* obj0
= 0 ;
38909 PyObject
* obj1
= 0 ;
38911 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
38912 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38913 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38914 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
38915 if (PyErr_Occurred()) SWIG_fail
;
38917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38918 result
= (arg1
)->GetItemSpan(arg2
);
38920 wxPyEndAllowThreads(__tstate
);
38921 if (PyErr_Occurred()) SWIG_fail
;
38924 wxGBSpan
* resultptr
;
38925 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
38926 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
38934 static PyObject
*_wrap_GridBagSizer_GetItemSpan(PyObject
*self
, PyObject
*args
) {
38939 argc
= PyObject_Length(args
);
38940 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
38941 argv
[ii
] = PyTuple_GetItem(args
,ii
);
38947 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38957 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
38965 return _wrap_GridBagSizer_GetItemSpan__SWIG_0(self
,args
);
38973 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38983 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
38991 return _wrap_GridBagSizer_GetItemSpan__SWIG_1(self
,args
);
38999 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39007 _v
= SWIG_CheckUnsignedLong(argv
[1]);
39009 return _wrap_GridBagSizer_GetItemSpan__SWIG_2(self
,args
);
39014 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_GetItemSpan'");
39019 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_0(PyObject
*self
, PyObject
*args
) {
39020 PyObject
*resultobj
;
39021 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39022 wxWindow
*arg2
= (wxWindow
*) 0 ;
39023 wxGBSpan
*arg3
= 0 ;
39026 PyObject
* obj0
= 0 ;
39027 PyObject
* obj1
= 0 ;
39028 PyObject
* obj2
= 0 ;
39030 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
39031 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39032 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39033 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39034 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39037 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
39040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39041 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
39043 wxPyEndAllowThreads(__tstate
);
39044 if (PyErr_Occurred()) SWIG_fail
;
39047 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39055 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_1(PyObject
*self
, PyObject
*args
) {
39056 PyObject
*resultobj
;
39057 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39058 wxSizer
*arg2
= (wxSizer
*) 0 ;
39059 wxGBSpan
*arg3
= 0 ;
39062 PyObject
* obj0
= 0 ;
39063 PyObject
* obj1
= 0 ;
39064 PyObject
* obj2
= 0 ;
39066 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
39067 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39068 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39069 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
39070 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39073 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
39076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39077 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
39079 wxPyEndAllowThreads(__tstate
);
39080 if (PyErr_Occurred()) SWIG_fail
;
39083 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39091 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_2(PyObject
*self
, PyObject
*args
) {
39092 PyObject
*resultobj
;
39093 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39095 wxGBSpan
*arg3
= 0 ;
39098 PyObject
* obj0
= 0 ;
39099 PyObject
* obj1
= 0 ;
39100 PyObject
* obj2
= 0 ;
39102 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
39103 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39104 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39105 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
39106 if (PyErr_Occurred()) SWIG_fail
;
39109 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
39112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39113 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
39115 wxPyEndAllowThreads(__tstate
);
39116 if (PyErr_Occurred()) SWIG_fail
;
39119 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39127 static PyObject
*_wrap_GridBagSizer_SetItemSpan(PyObject
*self
, PyObject
*args
) {
39132 argc
= PyObject_Length(args
);
39133 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
39134 argv
[ii
] = PyTuple_GetItem(args
,ii
);
39140 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39150 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
39159 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
39162 return _wrap_GridBagSizer_SetItemSpan__SWIG_0(self
,args
);
39171 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39181 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
39190 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
39193 return _wrap_GridBagSizer_SetItemSpan__SWIG_1(self
,args
);
39202 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39210 _v
= SWIG_CheckUnsignedLong(argv
[1]);
39213 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
39216 return _wrap_GridBagSizer_SetItemSpan__SWIG_2(self
,args
);
39222 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_SetItemSpan'");
39227 static PyObject
*_wrap_GridBagSizer_FindItem__SWIG_0(PyObject
*self
, PyObject
*args
) {
39228 PyObject
*resultobj
;
39229 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39230 wxWindow
*arg2
= (wxWindow
*) 0 ;
39231 wxGBSizerItem
*result
;
39232 PyObject
* obj0
= 0 ;
39233 PyObject
* obj1
= 0 ;
39235 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_FindItem",&obj0
,&obj1
)) goto fail
;
39236 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39237 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39238 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39239 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39242 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
39244 wxPyEndAllowThreads(__tstate
);
39245 if (PyErr_Occurred()) SWIG_fail
;
39247 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
39254 static PyObject
*_wrap_GridBagSizer_FindItem__SWIG_1(PyObject
*self
, PyObject
*args
) {
39255 PyObject
*resultobj
;
39256 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39257 wxSizer
*arg2
= (wxSizer
*) 0 ;
39258 wxGBSizerItem
*result
;
39259 PyObject
* obj0
= 0 ;
39260 PyObject
* obj1
= 0 ;
39262 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_FindItem",&obj0
,&obj1
)) goto fail
;
39263 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39264 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39265 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
39266 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39269 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
39271 wxPyEndAllowThreads(__tstate
);
39272 if (PyErr_Occurred()) SWIG_fail
;
39274 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
39281 static PyObject
*_wrap_GridBagSizer_FindItem(PyObject
*self
, PyObject
*args
) {
39286 argc
= PyObject_Length(args
);
39287 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
39288 argv
[ii
] = PyTuple_GetItem(args
,ii
);
39294 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39304 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
39312 return _wrap_GridBagSizer_FindItem__SWIG_0(self
,args
);
39320 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39330 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
39338 return _wrap_GridBagSizer_FindItem__SWIG_1(self
,args
);
39343 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_FindItem'");
39348 static PyObject
*_wrap_GridBagSizer_FindItemAtPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39349 PyObject
*resultobj
;
39350 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39351 wxGBPosition
*arg2
= 0 ;
39352 wxGBSizerItem
*result
;
39353 wxGBPosition temp2
;
39354 PyObject
* obj0
= 0 ;
39355 PyObject
* obj1
= 0 ;
39356 char *kwnames
[] = {
39357 (char *) "self",(char *) "pos", NULL
39360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
39361 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39362 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39365 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
39368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39369 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPosition((wxGBPosition
const &)*arg2
);
39371 wxPyEndAllowThreads(__tstate
);
39372 if (PyErr_Occurred()) SWIG_fail
;
39374 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
39381 static PyObject
*_wrap_GridBagSizer_FindItemAtPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39382 PyObject
*resultobj
;
39383 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39384 wxPoint
*arg2
= 0 ;
39385 wxGBSizerItem
*result
;
39387 PyObject
* obj0
= 0 ;
39388 PyObject
* obj1
= 0 ;
39389 char *kwnames
[] = {
39390 (char *) "self",(char *) "pt", NULL
39393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
39394 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39395 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39398 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
39401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39402 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPoint((wxPoint
const &)*arg2
);
39404 wxPyEndAllowThreads(__tstate
);
39405 if (PyErr_Occurred()) SWIG_fail
;
39407 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
39414 static PyObject
*_wrap_GridBagSizer_CheckForIntersection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39415 PyObject
*resultobj
;
39416 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39417 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
39418 wxGBSizerItem
*arg3
= (wxGBSizerItem
*) NULL
;
39420 PyObject
* obj0
= 0 ;
39421 PyObject
* obj1
= 0 ;
39422 PyObject
* obj2
= 0 ;
39423 char *kwnames
[] = {
39424 (char *) "self",(char *) "item",(char *) "excludeItem", NULL
39427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GridBagSizer_CheckForIntersection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39428 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39429 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39430 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGBSizerItem
,
39431 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39433 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxGBSizerItem
,
39434 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39438 result
= (bool)(arg1
)->CheckForIntersection(arg2
,arg3
);
39440 wxPyEndAllowThreads(__tstate
);
39441 if (PyErr_Occurred()) SWIG_fail
;
39444 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39452 static PyObject
*_wrap_GridBagSizer_CheckForIntersectionPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39453 PyObject
*resultobj
;
39454 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39455 wxGBPosition
*arg2
= 0 ;
39456 wxGBSpan
*arg3
= 0 ;
39457 wxGBSizerItem
*arg4
= (wxGBSizerItem
*) NULL
;
39459 wxGBPosition temp2
;
39461 PyObject
* obj0
= 0 ;
39462 PyObject
* obj1
= 0 ;
39463 PyObject
* obj2
= 0 ;
39464 PyObject
* obj3
= 0 ;
39465 char *kwnames
[] = {
39466 (char *) "self",(char *) "pos",(char *) "span",(char *) "excludeItem", NULL
39469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:GridBagSizer_CheckForIntersectionPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
39470 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39471 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39474 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
39478 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
39481 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxGBSizerItem
,
39482 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39486 result
= (bool)(arg1
)->CheckForIntersection((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
);
39488 wxPyEndAllowThreads(__tstate
);
39489 if (PyErr_Occurred()) SWIG_fail
;
39492 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39500 static PyObject
* GridBagSizer_swigregister(PyObject
*self
, PyObject
*args
) {
39502 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
39503 SWIG_TypeClientData(SWIGTYPE_p_wxGridBagSizer
, obj
);
39505 return Py_BuildValue((char *)"");
39507 static PyObject
*_wrap_IndividualLayoutConstraint_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39508 PyObject
*resultobj
;
39509 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39511 wxWindow
*arg3
= (wxWindow
*) 0 ;
39513 int arg5
= (int) 0 ;
39514 int arg6
= (int) wxLAYOUT_DEFAULT_MARGIN
;
39515 PyObject
* obj0
= 0 ;
39516 PyObject
* obj1
= 0 ;
39517 PyObject
* obj2
= 0 ;
39518 PyObject
* obj3
= 0 ;
39519 PyObject
* obj4
= 0 ;
39520 PyObject
* obj5
= 0 ;
39521 char *kwnames
[] = {
39522 (char *) "self",(char *) "rel",(char *) "otherW",(char *) "otherE",(char *) "val",(char *) "marg", NULL
39525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:IndividualLayoutConstraint_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
39526 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39527 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39528 arg2
= (wxRelationship
) SWIG_AsInt(obj1
);
39529 if (PyErr_Occurred()) SWIG_fail
;
39530 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
39531 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39532 arg4
= (wxEdge
) SWIG_AsInt(obj3
);
39533 if (PyErr_Occurred()) SWIG_fail
;
39535 arg5
= (int) SWIG_AsInt(obj4
);
39536 if (PyErr_Occurred()) SWIG_fail
;
39539 arg6
= (int) SWIG_AsInt(obj5
);
39540 if (PyErr_Occurred()) SWIG_fail
;
39543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39544 (arg1
)->Set((wxRelationship
)arg2
,arg3
,(wxEdge
)arg4
,arg5
,arg6
);
39546 wxPyEndAllowThreads(__tstate
);
39547 if (PyErr_Occurred()) SWIG_fail
;
39549 Py_INCREF(Py_None
); resultobj
= Py_None
;
39556 static PyObject
*_wrap_IndividualLayoutConstraint_LeftOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39557 PyObject
*resultobj
;
39558 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39559 wxWindow
*arg2
= (wxWindow
*) 0 ;
39560 int arg3
= (int) 0 ;
39561 PyObject
* obj0
= 0 ;
39562 PyObject
* obj1
= 0 ;
39563 PyObject
* obj2
= 0 ;
39564 char *kwnames
[] = {
39565 (char *) "self",(char *) "sibling",(char *) "marg", NULL
39568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_LeftOf",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39569 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39570 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39571 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39572 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39574 arg3
= (int) SWIG_AsInt(obj2
);
39575 if (PyErr_Occurred()) SWIG_fail
;
39578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39579 (arg1
)->LeftOf(arg2
,arg3
);
39581 wxPyEndAllowThreads(__tstate
);
39582 if (PyErr_Occurred()) SWIG_fail
;
39584 Py_INCREF(Py_None
); resultobj
= Py_None
;
39591 static PyObject
*_wrap_IndividualLayoutConstraint_RightOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39592 PyObject
*resultobj
;
39593 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39594 wxWindow
*arg2
= (wxWindow
*) 0 ;
39595 int arg3
= (int) 0 ;
39596 PyObject
* obj0
= 0 ;
39597 PyObject
* obj1
= 0 ;
39598 PyObject
* obj2
= 0 ;
39599 char *kwnames
[] = {
39600 (char *) "self",(char *) "sibling",(char *) "marg", NULL
39603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_RightOf",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39604 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39605 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39606 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39607 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39609 arg3
= (int) SWIG_AsInt(obj2
);
39610 if (PyErr_Occurred()) SWIG_fail
;
39613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39614 (arg1
)->RightOf(arg2
,arg3
);
39616 wxPyEndAllowThreads(__tstate
);
39617 if (PyErr_Occurred()) SWIG_fail
;
39619 Py_INCREF(Py_None
); resultobj
= Py_None
;
39626 static PyObject
*_wrap_IndividualLayoutConstraint_Above(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39627 PyObject
*resultobj
;
39628 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39629 wxWindow
*arg2
= (wxWindow
*) 0 ;
39630 int arg3
= (int) 0 ;
39631 PyObject
* obj0
= 0 ;
39632 PyObject
* obj1
= 0 ;
39633 PyObject
* obj2
= 0 ;
39634 char *kwnames
[] = {
39635 (char *) "self",(char *) "sibling",(char *) "marg", NULL
39638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_Above",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39639 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39640 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39641 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39642 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39644 arg3
= (int) SWIG_AsInt(obj2
);
39645 if (PyErr_Occurred()) SWIG_fail
;
39648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39649 (arg1
)->Above(arg2
,arg3
);
39651 wxPyEndAllowThreads(__tstate
);
39652 if (PyErr_Occurred()) SWIG_fail
;
39654 Py_INCREF(Py_None
); resultobj
= Py_None
;
39661 static PyObject
*_wrap_IndividualLayoutConstraint_Below(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39662 PyObject
*resultobj
;
39663 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39664 wxWindow
*arg2
= (wxWindow
*) 0 ;
39665 int arg3
= (int) 0 ;
39666 PyObject
* obj0
= 0 ;
39667 PyObject
* obj1
= 0 ;
39668 PyObject
* obj2
= 0 ;
39669 char *kwnames
[] = {
39670 (char *) "self",(char *) "sibling",(char *) "marg", NULL
39673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_Below",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39674 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39675 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39676 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39677 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39679 arg3
= (int) SWIG_AsInt(obj2
);
39680 if (PyErr_Occurred()) SWIG_fail
;
39683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39684 (arg1
)->Below(arg2
,arg3
);
39686 wxPyEndAllowThreads(__tstate
);
39687 if (PyErr_Occurred()) SWIG_fail
;
39689 Py_INCREF(Py_None
); resultobj
= Py_None
;
39696 static PyObject
*_wrap_IndividualLayoutConstraint_SameAs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39697 PyObject
*resultobj
;
39698 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39699 wxWindow
*arg2
= (wxWindow
*) 0 ;
39701 int arg4
= (int) 0 ;
39702 PyObject
* obj0
= 0 ;
39703 PyObject
* obj1
= 0 ;
39704 PyObject
* obj2
= 0 ;
39705 PyObject
* obj3
= 0 ;
39706 char *kwnames
[] = {
39707 (char *) "self",(char *) "otherW",(char *) "edge",(char *) "marg", NULL
39710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:IndividualLayoutConstraint_SameAs",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
39711 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39712 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39713 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39714 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39715 arg3
= (wxEdge
) SWIG_AsInt(obj2
);
39716 if (PyErr_Occurred()) SWIG_fail
;
39718 arg4
= (int) SWIG_AsInt(obj3
);
39719 if (PyErr_Occurred()) SWIG_fail
;
39722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39723 (arg1
)->SameAs(arg2
,(wxEdge
)arg3
,arg4
);
39725 wxPyEndAllowThreads(__tstate
);
39726 if (PyErr_Occurred()) SWIG_fail
;
39728 Py_INCREF(Py_None
); resultobj
= Py_None
;
39735 static PyObject
*_wrap_IndividualLayoutConstraint_PercentOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39736 PyObject
*resultobj
;
39737 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39738 wxWindow
*arg2
= (wxWindow
*) 0 ;
39741 PyObject
* obj0
= 0 ;
39742 PyObject
* obj1
= 0 ;
39743 PyObject
* obj2
= 0 ;
39744 PyObject
* obj3
= 0 ;
39745 char *kwnames
[] = {
39746 (char *) "self",(char *) "otherW",(char *) "wh",(char *) "per", NULL
39749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:IndividualLayoutConstraint_PercentOf",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
39750 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39751 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39752 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39753 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39754 arg3
= (wxEdge
) SWIG_AsInt(obj2
);
39755 if (PyErr_Occurred()) SWIG_fail
;
39756 arg4
= (int) SWIG_AsInt(obj3
);
39757 if (PyErr_Occurred()) SWIG_fail
;
39759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39760 (arg1
)->PercentOf(arg2
,(wxEdge
)arg3
,arg4
);
39762 wxPyEndAllowThreads(__tstate
);
39763 if (PyErr_Occurred()) SWIG_fail
;
39765 Py_INCREF(Py_None
); resultobj
= Py_None
;
39772 static PyObject
*_wrap_IndividualLayoutConstraint_Absolute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39773 PyObject
*resultobj
;
39774 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39776 PyObject
* obj0
= 0 ;
39777 PyObject
* obj1
= 0 ;
39778 char *kwnames
[] = {
39779 (char *) "self",(char *) "val", NULL
39782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_Absolute",kwnames
,&obj0
,&obj1
)) goto fail
;
39783 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39784 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39785 arg2
= (int) SWIG_AsInt(obj1
);
39786 if (PyErr_Occurred()) SWIG_fail
;
39788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39789 (arg1
)->Absolute(arg2
);
39791 wxPyEndAllowThreads(__tstate
);
39792 if (PyErr_Occurred()) SWIG_fail
;
39794 Py_INCREF(Py_None
); resultobj
= Py_None
;
39801 static PyObject
*_wrap_IndividualLayoutConstraint_Unconstrained(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39802 PyObject
*resultobj
;
39803 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39804 PyObject
* obj0
= 0 ;
39805 char *kwnames
[] = {
39806 (char *) "self", NULL
39809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_Unconstrained",kwnames
,&obj0
)) goto fail
;
39810 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39811 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39814 (arg1
)->Unconstrained();
39816 wxPyEndAllowThreads(__tstate
);
39817 if (PyErr_Occurred()) SWIG_fail
;
39819 Py_INCREF(Py_None
); resultobj
= Py_None
;
39826 static PyObject
*_wrap_IndividualLayoutConstraint_AsIs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39827 PyObject
*resultobj
;
39828 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39829 PyObject
* obj0
= 0 ;
39830 char *kwnames
[] = {
39831 (char *) "self", NULL
39834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_AsIs",kwnames
,&obj0
)) goto fail
;
39835 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39836 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39841 wxPyEndAllowThreads(__tstate
);
39842 if (PyErr_Occurred()) SWIG_fail
;
39844 Py_INCREF(Py_None
); resultobj
= Py_None
;
39851 static PyObject
*_wrap_IndividualLayoutConstraint_GetOtherWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39852 PyObject
*resultobj
;
39853 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39855 PyObject
* obj0
= 0 ;
39856 char *kwnames
[] = {
39857 (char *) "self", NULL
39860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetOtherWindow",kwnames
,&obj0
)) goto fail
;
39861 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39862 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39865 result
= (wxWindow
*)(arg1
)->GetOtherWindow();
39867 wxPyEndAllowThreads(__tstate
);
39868 if (PyErr_Occurred()) SWIG_fail
;
39871 resultobj
= wxPyMake_wxObject(result
, 0);
39879 static PyObject
*_wrap_IndividualLayoutConstraint_GetMyEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39880 PyObject
*resultobj
;
39881 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39883 PyObject
* obj0
= 0 ;
39884 char *kwnames
[] = {
39885 (char *) "self", NULL
39888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetMyEdge",kwnames
,&obj0
)) goto fail
;
39889 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39890 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39893 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetMyEdge();
39895 wxPyEndAllowThreads(__tstate
);
39896 if (PyErr_Occurred()) SWIG_fail
;
39898 resultobj
= SWIG_FromInt((int)result
);
39905 static PyObject
*_wrap_IndividualLayoutConstraint_SetEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39906 PyObject
*resultobj
;
39907 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39909 PyObject
* obj0
= 0 ;
39910 PyObject
* obj1
= 0 ;
39911 char *kwnames
[] = {
39912 (char *) "self",(char *) "which", NULL
39915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetEdge",kwnames
,&obj0
,&obj1
)) goto fail
;
39916 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39917 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39918 arg2
= (wxEdge
) SWIG_AsInt(obj1
);
39919 if (PyErr_Occurred()) SWIG_fail
;
39921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39922 (arg1
)->SetEdge((wxEdge
)arg2
);
39924 wxPyEndAllowThreads(__tstate
);
39925 if (PyErr_Occurred()) SWIG_fail
;
39927 Py_INCREF(Py_None
); resultobj
= Py_None
;
39934 static PyObject
*_wrap_IndividualLayoutConstraint_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39935 PyObject
*resultobj
;
39936 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39938 PyObject
* obj0
= 0 ;
39939 PyObject
* obj1
= 0 ;
39940 char *kwnames
[] = {
39941 (char *) "self",(char *) "v", NULL
39944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
39945 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39946 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39947 arg2
= (int) SWIG_AsInt(obj1
);
39948 if (PyErr_Occurred()) SWIG_fail
;
39950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39951 (arg1
)->SetValue(arg2
);
39953 wxPyEndAllowThreads(__tstate
);
39954 if (PyErr_Occurred()) SWIG_fail
;
39956 Py_INCREF(Py_None
); resultobj
= Py_None
;
39963 static PyObject
*_wrap_IndividualLayoutConstraint_GetMargin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39964 PyObject
*resultobj
;
39965 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39967 PyObject
* obj0
= 0 ;
39968 char *kwnames
[] = {
39969 (char *) "self", NULL
39972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetMargin",kwnames
,&obj0
)) goto fail
;
39973 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39974 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39977 result
= (int)(arg1
)->GetMargin();
39979 wxPyEndAllowThreads(__tstate
);
39980 if (PyErr_Occurred()) SWIG_fail
;
39982 resultobj
= SWIG_FromInt((int)result
);
39989 static PyObject
*_wrap_IndividualLayoutConstraint_SetMargin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39990 PyObject
*resultobj
;
39991 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39993 PyObject
* obj0
= 0 ;
39994 PyObject
* obj1
= 0 ;
39995 char *kwnames
[] = {
39996 (char *) "self",(char *) "m", NULL
39999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetMargin",kwnames
,&obj0
,&obj1
)) goto fail
;
40000 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40001 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40002 arg2
= (int) SWIG_AsInt(obj1
);
40003 if (PyErr_Occurred()) SWIG_fail
;
40005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40006 (arg1
)->SetMargin(arg2
);
40008 wxPyEndAllowThreads(__tstate
);
40009 if (PyErr_Occurred()) SWIG_fail
;
40011 Py_INCREF(Py_None
); resultobj
= Py_None
;
40018 static PyObject
*_wrap_IndividualLayoutConstraint_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40019 PyObject
*resultobj
;
40020 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40022 PyObject
* obj0
= 0 ;
40023 char *kwnames
[] = {
40024 (char *) "self", NULL
40027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetValue",kwnames
,&obj0
)) goto fail
;
40028 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40029 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40032 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetValue();
40034 wxPyEndAllowThreads(__tstate
);
40035 if (PyErr_Occurred()) SWIG_fail
;
40037 resultobj
= SWIG_FromInt((int)result
);
40044 static PyObject
*_wrap_IndividualLayoutConstraint_GetPercent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40045 PyObject
*resultobj
;
40046 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40048 PyObject
* obj0
= 0 ;
40049 char *kwnames
[] = {
40050 (char *) "self", NULL
40053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetPercent",kwnames
,&obj0
)) goto fail
;
40054 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40055 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40058 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetPercent();
40060 wxPyEndAllowThreads(__tstate
);
40061 if (PyErr_Occurred()) SWIG_fail
;
40063 resultobj
= SWIG_FromInt((int)result
);
40070 static PyObject
*_wrap_IndividualLayoutConstraint_GetOtherEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40071 PyObject
*resultobj
;
40072 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40074 PyObject
* obj0
= 0 ;
40075 char *kwnames
[] = {
40076 (char *) "self", NULL
40079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetOtherEdge",kwnames
,&obj0
)) goto fail
;
40080 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40081 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40084 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetOtherEdge();
40086 wxPyEndAllowThreads(__tstate
);
40087 if (PyErr_Occurred()) SWIG_fail
;
40089 resultobj
= SWIG_FromInt((int)result
);
40096 static PyObject
*_wrap_IndividualLayoutConstraint_GetDone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40097 PyObject
*resultobj
;
40098 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40100 PyObject
* obj0
= 0 ;
40101 char *kwnames
[] = {
40102 (char *) "self", NULL
40105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetDone",kwnames
,&obj0
)) goto fail
;
40106 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40107 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40110 result
= (bool)((wxIndividualLayoutConstraint
const *)arg1
)->GetDone();
40112 wxPyEndAllowThreads(__tstate
);
40113 if (PyErr_Occurred()) SWIG_fail
;
40116 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40124 static PyObject
*_wrap_IndividualLayoutConstraint_SetDone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40125 PyObject
*resultobj
;
40126 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40128 PyObject
* obj0
= 0 ;
40129 PyObject
* obj1
= 0 ;
40130 char *kwnames
[] = {
40131 (char *) "self",(char *) "d", NULL
40134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetDone",kwnames
,&obj0
,&obj1
)) goto fail
;
40135 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40136 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40137 arg2
= (bool) SWIG_AsBool(obj1
);
40138 if (PyErr_Occurred()) SWIG_fail
;
40140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40141 (arg1
)->SetDone(arg2
);
40143 wxPyEndAllowThreads(__tstate
);
40144 if (PyErr_Occurred()) SWIG_fail
;
40146 Py_INCREF(Py_None
); resultobj
= Py_None
;
40153 static PyObject
*_wrap_IndividualLayoutConstraint_GetRelationship(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40154 PyObject
*resultobj
;
40155 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40157 PyObject
* obj0
= 0 ;
40158 char *kwnames
[] = {
40159 (char *) "self", NULL
40162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetRelationship",kwnames
,&obj0
)) goto fail
;
40163 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40164 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40167 result
= (int)(arg1
)->GetRelationship();
40169 wxPyEndAllowThreads(__tstate
);
40170 if (PyErr_Occurred()) SWIG_fail
;
40172 resultobj
= SWIG_FromInt((int)result
);
40179 static PyObject
*_wrap_IndividualLayoutConstraint_SetRelationship(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40180 PyObject
*resultobj
;
40181 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40183 PyObject
* obj0
= 0 ;
40184 PyObject
* obj1
= 0 ;
40185 char *kwnames
[] = {
40186 (char *) "self",(char *) "r", NULL
40189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetRelationship",kwnames
,&obj0
,&obj1
)) goto fail
;
40190 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40191 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40192 arg2
= (wxRelationship
) SWIG_AsInt(obj1
);
40193 if (PyErr_Occurred()) SWIG_fail
;
40195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40196 (arg1
)->SetRelationship((wxRelationship
)arg2
);
40198 wxPyEndAllowThreads(__tstate
);
40199 if (PyErr_Occurred()) SWIG_fail
;
40201 Py_INCREF(Py_None
); resultobj
= Py_None
;
40208 static PyObject
*_wrap_IndividualLayoutConstraint_ResetIfWin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40209 PyObject
*resultobj
;
40210 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40211 wxWindow
*arg2
= (wxWindow
*) 0 ;
40213 PyObject
* obj0
= 0 ;
40214 PyObject
* obj1
= 0 ;
40215 char *kwnames
[] = {
40216 (char *) "self",(char *) "otherW", NULL
40219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_ResetIfWin",kwnames
,&obj0
,&obj1
)) goto fail
;
40220 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40221 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40222 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
40223 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40226 result
= (bool)(arg1
)->ResetIfWin(arg2
);
40228 wxPyEndAllowThreads(__tstate
);
40229 if (PyErr_Occurred()) SWIG_fail
;
40232 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40240 static PyObject
*_wrap_IndividualLayoutConstraint_SatisfyConstraint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40241 PyObject
*resultobj
;
40242 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40243 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
40244 wxWindow
*arg3
= (wxWindow
*) 0 ;
40246 PyObject
* obj0
= 0 ;
40247 PyObject
* obj1
= 0 ;
40248 PyObject
* obj2
= 0 ;
40249 char *kwnames
[] = {
40250 (char *) "self",(char *) "constraints",(char *) "win", NULL
40253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IndividualLayoutConstraint_SatisfyConstraint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
40254 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40255 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40256 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxLayoutConstraints
,
40257 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40258 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
40259 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40262 result
= (bool)(arg1
)->SatisfyConstraint(arg2
,arg3
);
40264 wxPyEndAllowThreads(__tstate
);
40265 if (PyErr_Occurred()) SWIG_fail
;
40268 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40276 static PyObject
*_wrap_IndividualLayoutConstraint_GetEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40277 PyObject
*resultobj
;
40278 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40280 wxWindow
*arg3
= (wxWindow
*) 0 ;
40281 wxWindow
*arg4
= (wxWindow
*) 0 ;
40283 PyObject
* obj0
= 0 ;
40284 PyObject
* obj1
= 0 ;
40285 PyObject
* obj2
= 0 ;
40286 PyObject
* obj3
= 0 ;
40287 char *kwnames
[] = {
40288 (char *) "self",(char *) "which",(char *) "thisWin",(char *) "other", NULL
40291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:IndividualLayoutConstraint_GetEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
40292 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40293 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40294 arg2
= (wxEdge
) SWIG_AsInt(obj1
);
40295 if (PyErr_Occurred()) SWIG_fail
;
40296 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
40297 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40298 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
40299 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40302 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetEdge((wxEdge
)arg2
,arg3
,arg4
);
40304 wxPyEndAllowThreads(__tstate
);
40305 if (PyErr_Occurred()) SWIG_fail
;
40307 resultobj
= SWIG_FromInt((int)result
);
40314 static PyObject
* IndividualLayoutConstraint_swigregister(PyObject
*self
, PyObject
*args
) {
40316 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
40317 SWIG_TypeClientData(SWIGTYPE_p_wxIndividualLayoutConstraint
, obj
);
40319 return Py_BuildValue((char *)"");
40321 static PyObject
*_wrap_LayoutConstraints_left_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40322 PyObject
*resultobj
;
40323 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40324 wxIndividualLayoutConstraint
*result
;
40325 PyObject
* obj0
= 0 ;
40326 char *kwnames
[] = {
40327 (char *) "self", NULL
40330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_left_get",kwnames
,&obj0
)) goto fail
;
40331 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40332 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40333 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->left
);
40335 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40342 static PyObject
*_wrap_LayoutConstraints_top_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40343 PyObject
*resultobj
;
40344 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40345 wxIndividualLayoutConstraint
*result
;
40346 PyObject
* obj0
= 0 ;
40347 char *kwnames
[] = {
40348 (char *) "self", NULL
40351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_top_get",kwnames
,&obj0
)) goto fail
;
40352 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40353 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40354 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->top
);
40356 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40363 static PyObject
*_wrap_LayoutConstraints_right_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40364 PyObject
*resultobj
;
40365 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40366 wxIndividualLayoutConstraint
*result
;
40367 PyObject
* obj0
= 0 ;
40368 char *kwnames
[] = {
40369 (char *) "self", NULL
40372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_right_get",kwnames
,&obj0
)) goto fail
;
40373 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40374 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40375 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->right
);
40377 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40384 static PyObject
*_wrap_LayoutConstraints_bottom_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40385 PyObject
*resultobj
;
40386 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40387 wxIndividualLayoutConstraint
*result
;
40388 PyObject
* obj0
= 0 ;
40389 char *kwnames
[] = {
40390 (char *) "self", NULL
40393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_bottom_get",kwnames
,&obj0
)) goto fail
;
40394 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40395 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40396 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->bottom
);
40398 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40405 static PyObject
*_wrap_LayoutConstraints_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40406 PyObject
*resultobj
;
40407 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40408 wxIndividualLayoutConstraint
*result
;
40409 PyObject
* obj0
= 0 ;
40410 char *kwnames
[] = {
40411 (char *) "self", NULL
40414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_width_get",kwnames
,&obj0
)) goto fail
;
40415 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40416 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40417 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->width
);
40419 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40426 static PyObject
*_wrap_LayoutConstraints_height_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40427 PyObject
*resultobj
;
40428 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40429 wxIndividualLayoutConstraint
*result
;
40430 PyObject
* obj0
= 0 ;
40431 char *kwnames
[] = {
40432 (char *) "self", NULL
40435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_height_get",kwnames
,&obj0
)) goto fail
;
40436 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40437 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40438 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->height
);
40440 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40447 static PyObject
*_wrap_LayoutConstraints_centreX_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40448 PyObject
*resultobj
;
40449 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40450 wxIndividualLayoutConstraint
*result
;
40451 PyObject
* obj0
= 0 ;
40452 char *kwnames
[] = {
40453 (char *) "self", NULL
40456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_centreX_get",kwnames
,&obj0
)) goto fail
;
40457 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40458 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40459 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreX
);
40461 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40468 static PyObject
*_wrap_LayoutConstraints_centreY_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40469 PyObject
*resultobj
;
40470 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40471 wxIndividualLayoutConstraint
*result
;
40472 PyObject
* obj0
= 0 ;
40473 char *kwnames
[] = {
40474 (char *) "self", NULL
40477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_centreY_get",kwnames
,&obj0
)) goto fail
;
40478 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40479 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40480 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreY
);
40482 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40489 static PyObject
*_wrap_new_LayoutConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40490 PyObject
*resultobj
;
40491 wxLayoutConstraints
*result
;
40492 char *kwnames
[] = {
40496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LayoutConstraints",kwnames
)) goto fail
;
40498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40499 result
= (wxLayoutConstraints
*)new wxLayoutConstraints();
40501 wxPyEndAllowThreads(__tstate
);
40502 if (PyErr_Occurred()) SWIG_fail
;
40504 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutConstraints
, 1);
40511 static PyObject
*_wrap_LayoutConstraints_SatisfyConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40512 PyObject
*resultobj
;
40513 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40514 wxWindow
*arg2
= (wxWindow
*) 0 ;
40515 int *arg3
= (int *) 0 ;
40518 PyObject
* obj0
= 0 ;
40519 PyObject
* obj1
= 0 ;
40520 char *kwnames
[] = {
40521 (char *) "self",(char *) "win", NULL
40525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LayoutConstraints_SatisfyConstraints",kwnames
,&obj0
,&obj1
)) goto fail
;
40526 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40527 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40528 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
40529 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40532 result
= (bool)(arg1
)->SatisfyConstraints(arg2
,arg3
);
40534 wxPyEndAllowThreads(__tstate
);
40535 if (PyErr_Occurred()) SWIG_fail
;
40538 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40541 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
40542 resultobj
= t_output_helper(resultobj
,o
);
40550 static PyObject
*_wrap_LayoutConstraints_AreSatisfied(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40551 PyObject
*resultobj
;
40552 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40554 PyObject
* obj0
= 0 ;
40555 char *kwnames
[] = {
40556 (char *) "self", NULL
40559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_AreSatisfied",kwnames
,&obj0
)) goto fail
;
40560 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40561 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40564 result
= (bool)((wxLayoutConstraints
const *)arg1
)->AreSatisfied();
40566 wxPyEndAllowThreads(__tstate
);
40567 if (PyErr_Occurred()) SWIG_fail
;
40570 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40578 static PyObject
* LayoutConstraints_swigregister(PyObject
*self
, PyObject
*args
) {
40580 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
40581 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutConstraints
, obj
);
40583 return Py_BuildValue((char *)"");
40585 static PyMethodDef SwigMethods
[] = {
40586 { (char *)"_wxPySetDictionary", __wxPySetDictionary
, METH_VARARGS
},
40587 { (char *)"_wxPyFixStockObjects", __wxPyFixStockObjects
, METH_VARARGS
},
40588 { (char *)"Object_GetClassName", (PyCFunction
) _wrap_Object_GetClassName
, METH_VARARGS
| METH_KEYWORDS
},
40589 { (char *)"Object_Destroy", (PyCFunction
) _wrap_Object_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
40590 { (char *)"Object_swigregister", Object_swigregister
, METH_VARARGS
},
40591 { (char *)"Size_width_set", (PyCFunction
) _wrap_Size_width_set
, METH_VARARGS
| METH_KEYWORDS
},
40592 { (char *)"Size_width_get", (PyCFunction
) _wrap_Size_width_get
, METH_VARARGS
| METH_KEYWORDS
},
40593 { (char *)"Size_height_set", (PyCFunction
) _wrap_Size_height_set
, METH_VARARGS
| METH_KEYWORDS
},
40594 { (char *)"Size_height_get", (PyCFunction
) _wrap_Size_height_get
, METH_VARARGS
| METH_KEYWORDS
},
40595 { (char *)"new_Size", (PyCFunction
) _wrap_new_Size
, METH_VARARGS
| METH_KEYWORDS
},
40596 { (char *)"delete_Size", (PyCFunction
) _wrap_delete_Size
, METH_VARARGS
| METH_KEYWORDS
},
40597 { (char *)"Size___eq__", (PyCFunction
) _wrap_Size___eq__
, METH_VARARGS
| METH_KEYWORDS
},
40598 { (char *)"Size___ne__", (PyCFunction
) _wrap_Size___ne__
, METH_VARARGS
| METH_KEYWORDS
},
40599 { (char *)"Size___add__", (PyCFunction
) _wrap_Size___add__
, METH_VARARGS
| METH_KEYWORDS
},
40600 { (char *)"Size___sub__", (PyCFunction
) _wrap_Size___sub__
, METH_VARARGS
| METH_KEYWORDS
},
40601 { (char *)"Size_IncTo", (PyCFunction
) _wrap_Size_IncTo
, METH_VARARGS
| METH_KEYWORDS
},
40602 { (char *)"Size_DecTo", (PyCFunction
) _wrap_Size_DecTo
, METH_VARARGS
| METH_KEYWORDS
},
40603 { (char *)"Size_Set", (PyCFunction
) _wrap_Size_Set
, METH_VARARGS
| METH_KEYWORDS
},
40604 { (char *)"Size_SetWidth", (PyCFunction
) _wrap_Size_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
40605 { (char *)"Size_SetHeight", (PyCFunction
) _wrap_Size_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
40606 { (char *)"Size_GetWidth", (PyCFunction
) _wrap_Size_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
40607 { (char *)"Size_GetHeight", (PyCFunction
) _wrap_Size_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
40608 { (char *)"Size_IsFullySpecified", (PyCFunction
) _wrap_Size_IsFullySpecified
, METH_VARARGS
| METH_KEYWORDS
},
40609 { (char *)"Size_SetDefaults", (PyCFunction
) _wrap_Size_SetDefaults
, METH_VARARGS
| METH_KEYWORDS
},
40610 { (char *)"Size_Get", (PyCFunction
) _wrap_Size_Get
, METH_VARARGS
| METH_KEYWORDS
},
40611 { (char *)"Size_swigregister", Size_swigregister
, METH_VARARGS
},
40612 { (char *)"RealPoint_x_set", (PyCFunction
) _wrap_RealPoint_x_set
, METH_VARARGS
| METH_KEYWORDS
},
40613 { (char *)"RealPoint_x_get", (PyCFunction
) _wrap_RealPoint_x_get
, METH_VARARGS
| METH_KEYWORDS
},
40614 { (char *)"RealPoint_y_set", (PyCFunction
) _wrap_RealPoint_y_set
, METH_VARARGS
| METH_KEYWORDS
},
40615 { (char *)"RealPoint_y_get", (PyCFunction
) _wrap_RealPoint_y_get
, METH_VARARGS
| METH_KEYWORDS
},
40616 { (char *)"new_RealPoint", (PyCFunction
) _wrap_new_RealPoint
, METH_VARARGS
| METH_KEYWORDS
},
40617 { (char *)"delete_RealPoint", (PyCFunction
) _wrap_delete_RealPoint
, METH_VARARGS
| METH_KEYWORDS
},
40618 { (char *)"RealPoint___eq__", (PyCFunction
) _wrap_RealPoint___eq__
, METH_VARARGS
| METH_KEYWORDS
},
40619 { (char *)"RealPoint___ne__", (PyCFunction
) _wrap_RealPoint___ne__
, METH_VARARGS
| METH_KEYWORDS
},
40620 { (char *)"RealPoint___add__", (PyCFunction
) _wrap_RealPoint___add__
, METH_VARARGS
| METH_KEYWORDS
},
40621 { (char *)"RealPoint___sub__", (PyCFunction
) _wrap_RealPoint___sub__
, METH_VARARGS
| METH_KEYWORDS
},
40622 { (char *)"RealPoint_Set", (PyCFunction
) _wrap_RealPoint_Set
, METH_VARARGS
| METH_KEYWORDS
},
40623 { (char *)"RealPoint_Get", (PyCFunction
) _wrap_RealPoint_Get
, METH_VARARGS
| METH_KEYWORDS
},
40624 { (char *)"RealPoint_swigregister", RealPoint_swigregister
, METH_VARARGS
},
40625 { (char *)"Point_x_set", (PyCFunction
) _wrap_Point_x_set
, METH_VARARGS
| METH_KEYWORDS
},
40626 { (char *)"Point_x_get", (PyCFunction
) _wrap_Point_x_get
, METH_VARARGS
| METH_KEYWORDS
},
40627 { (char *)"Point_y_set", (PyCFunction
) _wrap_Point_y_set
, METH_VARARGS
| METH_KEYWORDS
},
40628 { (char *)"Point_y_get", (PyCFunction
) _wrap_Point_y_get
, METH_VARARGS
| METH_KEYWORDS
},
40629 { (char *)"new_Point", (PyCFunction
) _wrap_new_Point
, METH_VARARGS
| METH_KEYWORDS
},
40630 { (char *)"delete_Point", (PyCFunction
) _wrap_delete_Point
, METH_VARARGS
| METH_KEYWORDS
},
40631 { (char *)"Point___eq__", (PyCFunction
) _wrap_Point___eq__
, METH_VARARGS
| METH_KEYWORDS
},
40632 { (char *)"Point___ne__", (PyCFunction
) _wrap_Point___ne__
, METH_VARARGS
| METH_KEYWORDS
},
40633 { (char *)"Point___add__", (PyCFunction
) _wrap_Point___add__
, METH_VARARGS
| METH_KEYWORDS
},
40634 { (char *)"Point___sub__", (PyCFunction
) _wrap_Point___sub__
, METH_VARARGS
| METH_KEYWORDS
},
40635 { (char *)"Point___iadd__", (PyCFunction
) _wrap_Point___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
40636 { (char *)"Point___isub__", (PyCFunction
) _wrap_Point___isub__
, METH_VARARGS
| METH_KEYWORDS
},
40637 { (char *)"Point_Set", (PyCFunction
) _wrap_Point_Set
, METH_VARARGS
| METH_KEYWORDS
},
40638 { (char *)"Point_Get", (PyCFunction
) _wrap_Point_Get
, METH_VARARGS
| METH_KEYWORDS
},
40639 { (char *)"Point_swigregister", Point_swigregister
, METH_VARARGS
},
40640 { (char *)"new_Rect", (PyCFunction
) _wrap_new_Rect
, METH_VARARGS
| METH_KEYWORDS
},
40641 { (char *)"new_RectPP", (PyCFunction
) _wrap_new_RectPP
, METH_VARARGS
| METH_KEYWORDS
},
40642 { (char *)"new_RectPS", (PyCFunction
) _wrap_new_RectPS
, METH_VARARGS
| METH_KEYWORDS
},
40643 { (char *)"delete_Rect", (PyCFunction
) _wrap_delete_Rect
, METH_VARARGS
| METH_KEYWORDS
},
40644 { (char *)"Rect_GetX", (PyCFunction
) _wrap_Rect_GetX
, METH_VARARGS
| METH_KEYWORDS
},
40645 { (char *)"Rect_SetX", (PyCFunction
) _wrap_Rect_SetX
, METH_VARARGS
| METH_KEYWORDS
},
40646 { (char *)"Rect_GetY", (PyCFunction
) _wrap_Rect_GetY
, METH_VARARGS
| METH_KEYWORDS
},
40647 { (char *)"Rect_SetY", (PyCFunction
) _wrap_Rect_SetY
, METH_VARARGS
| METH_KEYWORDS
},
40648 { (char *)"Rect_GetWidth", (PyCFunction
) _wrap_Rect_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
40649 { (char *)"Rect_SetWidth", (PyCFunction
) _wrap_Rect_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
40650 { (char *)"Rect_GetHeight", (PyCFunction
) _wrap_Rect_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
40651 { (char *)"Rect_SetHeight", (PyCFunction
) _wrap_Rect_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
40652 { (char *)"Rect_GetPosition", (PyCFunction
) _wrap_Rect_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40653 { (char *)"Rect_SetPosition", (PyCFunction
) _wrap_Rect_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40654 { (char *)"Rect_GetSize", (PyCFunction
) _wrap_Rect_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
40655 { (char *)"Rect_SetSize", (PyCFunction
) _wrap_Rect_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
40656 { (char *)"Rect_GetTopLeft", (PyCFunction
) _wrap_Rect_GetTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
40657 { (char *)"Rect_SetTopLeft", (PyCFunction
) _wrap_Rect_SetTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
40658 { (char *)"Rect_GetBottomRight", (PyCFunction
) _wrap_Rect_GetBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
40659 { (char *)"Rect_SetBottomRight", (PyCFunction
) _wrap_Rect_SetBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
40660 { (char *)"Rect_GetLeft", (PyCFunction
) _wrap_Rect_GetLeft
, METH_VARARGS
| METH_KEYWORDS
},
40661 { (char *)"Rect_GetTop", (PyCFunction
) _wrap_Rect_GetTop
, METH_VARARGS
| METH_KEYWORDS
},
40662 { (char *)"Rect_GetBottom", (PyCFunction
) _wrap_Rect_GetBottom
, METH_VARARGS
| METH_KEYWORDS
},
40663 { (char *)"Rect_GetRight", (PyCFunction
) _wrap_Rect_GetRight
, METH_VARARGS
| METH_KEYWORDS
},
40664 { (char *)"Rect_SetLeft", (PyCFunction
) _wrap_Rect_SetLeft
, METH_VARARGS
| METH_KEYWORDS
},
40665 { (char *)"Rect_SetRight", (PyCFunction
) _wrap_Rect_SetRight
, METH_VARARGS
| METH_KEYWORDS
},
40666 { (char *)"Rect_SetTop", (PyCFunction
) _wrap_Rect_SetTop
, METH_VARARGS
| METH_KEYWORDS
},
40667 { (char *)"Rect_SetBottom", (PyCFunction
) _wrap_Rect_SetBottom
, METH_VARARGS
| METH_KEYWORDS
},
40668 { (char *)"Rect_Inflate", (PyCFunction
) _wrap_Rect_Inflate
, METH_VARARGS
| METH_KEYWORDS
},
40669 { (char *)"Rect_Deflate", (PyCFunction
) _wrap_Rect_Deflate
, METH_VARARGS
| METH_KEYWORDS
},
40670 { (char *)"Rect_OffsetXY", (PyCFunction
) _wrap_Rect_OffsetXY
, METH_VARARGS
| METH_KEYWORDS
},
40671 { (char *)"Rect_Offset", (PyCFunction
) _wrap_Rect_Offset
, METH_VARARGS
| METH_KEYWORDS
},
40672 { (char *)"Rect_Intersect", (PyCFunction
) _wrap_Rect_Intersect
, METH_VARARGS
| METH_KEYWORDS
},
40673 { (char *)"Rect___add__", (PyCFunction
) _wrap_Rect___add__
, METH_VARARGS
| METH_KEYWORDS
},
40674 { (char *)"Rect___iadd__", (PyCFunction
) _wrap_Rect___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
40675 { (char *)"Rect___eq__", (PyCFunction
) _wrap_Rect___eq__
, METH_VARARGS
| METH_KEYWORDS
},
40676 { (char *)"Rect___ne__", (PyCFunction
) _wrap_Rect___ne__
, METH_VARARGS
| METH_KEYWORDS
},
40677 { (char *)"Rect_InsideXY", (PyCFunction
) _wrap_Rect_InsideXY
, METH_VARARGS
| METH_KEYWORDS
},
40678 { (char *)"Rect_Inside", (PyCFunction
) _wrap_Rect_Inside
, METH_VARARGS
| METH_KEYWORDS
},
40679 { (char *)"Rect_Intersects", (PyCFunction
) _wrap_Rect_Intersects
, METH_VARARGS
| METH_KEYWORDS
},
40680 { (char *)"Rect_x_set", (PyCFunction
) _wrap_Rect_x_set
, METH_VARARGS
| METH_KEYWORDS
},
40681 { (char *)"Rect_x_get", (PyCFunction
) _wrap_Rect_x_get
, METH_VARARGS
| METH_KEYWORDS
},
40682 { (char *)"Rect_y_set", (PyCFunction
) _wrap_Rect_y_set
, METH_VARARGS
| METH_KEYWORDS
},
40683 { (char *)"Rect_y_get", (PyCFunction
) _wrap_Rect_y_get
, METH_VARARGS
| METH_KEYWORDS
},
40684 { (char *)"Rect_width_set", (PyCFunction
) _wrap_Rect_width_set
, METH_VARARGS
| METH_KEYWORDS
},
40685 { (char *)"Rect_width_get", (PyCFunction
) _wrap_Rect_width_get
, METH_VARARGS
| METH_KEYWORDS
},
40686 { (char *)"Rect_height_set", (PyCFunction
) _wrap_Rect_height_set
, METH_VARARGS
| METH_KEYWORDS
},
40687 { (char *)"Rect_height_get", (PyCFunction
) _wrap_Rect_height_get
, METH_VARARGS
| METH_KEYWORDS
},
40688 { (char *)"Rect_Set", (PyCFunction
) _wrap_Rect_Set
, METH_VARARGS
| METH_KEYWORDS
},
40689 { (char *)"Rect_Get", (PyCFunction
) _wrap_Rect_Get
, METH_VARARGS
| METH_KEYWORDS
},
40690 { (char *)"Rect_swigregister", Rect_swigregister
, METH_VARARGS
},
40691 { (char *)"IntersectRect", (PyCFunction
) _wrap_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
},
40692 { (char *)"new_Point2D", (PyCFunction
) _wrap_new_Point2D
, METH_VARARGS
| METH_KEYWORDS
},
40693 { (char *)"new_Point2DCopy", (PyCFunction
) _wrap_new_Point2DCopy
, METH_VARARGS
| METH_KEYWORDS
},
40694 { (char *)"new_Point2DFromPoint", (PyCFunction
) _wrap_new_Point2DFromPoint
, METH_VARARGS
| METH_KEYWORDS
},
40695 { (char *)"Point2D_GetFloor", (PyCFunction
) _wrap_Point2D_GetFloor
, METH_VARARGS
| METH_KEYWORDS
},
40696 { (char *)"Point2D_GetRounded", (PyCFunction
) _wrap_Point2D_GetRounded
, METH_VARARGS
| METH_KEYWORDS
},
40697 { (char *)"Point2D_GetVectorLength", (PyCFunction
) _wrap_Point2D_GetVectorLength
, METH_VARARGS
| METH_KEYWORDS
},
40698 { (char *)"Point2D_GetVectorAngle", (PyCFunction
) _wrap_Point2D_GetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
},
40699 { (char *)"Point2D_SetVectorLength", (PyCFunction
) _wrap_Point2D_SetVectorLength
, METH_VARARGS
| METH_KEYWORDS
},
40700 { (char *)"Point2D_SetVectorAngle", (PyCFunction
) _wrap_Point2D_SetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
},
40701 { (char *)"Point2D_GetDistance", (PyCFunction
) _wrap_Point2D_GetDistance
, METH_VARARGS
| METH_KEYWORDS
},
40702 { (char *)"Point2D_GetDistanceSquare", (PyCFunction
) _wrap_Point2D_GetDistanceSquare
, METH_VARARGS
| METH_KEYWORDS
},
40703 { (char *)"Point2D_GetDotProduct", (PyCFunction
) _wrap_Point2D_GetDotProduct
, METH_VARARGS
| METH_KEYWORDS
},
40704 { (char *)"Point2D_GetCrossProduct", (PyCFunction
) _wrap_Point2D_GetCrossProduct
, METH_VARARGS
| METH_KEYWORDS
},
40705 { (char *)"Point2D___neg__", (PyCFunction
) _wrap_Point2D___neg__
, METH_VARARGS
| METH_KEYWORDS
},
40706 { (char *)"Point2D___iadd__", (PyCFunction
) _wrap_Point2D___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
40707 { (char *)"Point2D___isub__", (PyCFunction
) _wrap_Point2D___isub__
, METH_VARARGS
| METH_KEYWORDS
},
40708 { (char *)"Point2D___imul__", (PyCFunction
) _wrap_Point2D___imul__
, METH_VARARGS
| METH_KEYWORDS
},
40709 { (char *)"Point2D___idiv__", (PyCFunction
) _wrap_Point2D___idiv__
, METH_VARARGS
| METH_KEYWORDS
},
40710 { (char *)"Point2D___eq__", (PyCFunction
) _wrap_Point2D___eq__
, METH_VARARGS
| METH_KEYWORDS
},
40711 { (char *)"Point2D___ne__", (PyCFunction
) _wrap_Point2D___ne__
, METH_VARARGS
| METH_KEYWORDS
},
40712 { (char *)"Point2D_x_set", (PyCFunction
) _wrap_Point2D_x_set
, METH_VARARGS
| METH_KEYWORDS
},
40713 { (char *)"Point2D_x_get", (PyCFunction
) _wrap_Point2D_x_get
, METH_VARARGS
| METH_KEYWORDS
},
40714 { (char *)"Point2D_y_set", (PyCFunction
) _wrap_Point2D_y_set
, METH_VARARGS
| METH_KEYWORDS
},
40715 { (char *)"Point2D_y_get", (PyCFunction
) _wrap_Point2D_y_get
, METH_VARARGS
| METH_KEYWORDS
},
40716 { (char *)"Point2D_Set", (PyCFunction
) _wrap_Point2D_Set
, METH_VARARGS
| METH_KEYWORDS
},
40717 { (char *)"Point2D_Get", (PyCFunction
) _wrap_Point2D_Get
, METH_VARARGS
| METH_KEYWORDS
},
40718 { (char *)"Point2D_swigregister", Point2D_swigregister
, METH_VARARGS
},
40719 { (char *)"new_InputStream", (PyCFunction
) _wrap_new_InputStream
, METH_VARARGS
| METH_KEYWORDS
},
40720 { (char *)"InputStream_close", (PyCFunction
) _wrap_InputStream_close
, METH_VARARGS
| METH_KEYWORDS
},
40721 { (char *)"InputStream_flush", (PyCFunction
) _wrap_InputStream_flush
, METH_VARARGS
| METH_KEYWORDS
},
40722 { (char *)"InputStream_eof", (PyCFunction
) _wrap_InputStream_eof
, METH_VARARGS
| METH_KEYWORDS
},
40723 { (char *)"InputStream_read", (PyCFunction
) _wrap_InputStream_read
, METH_VARARGS
| METH_KEYWORDS
},
40724 { (char *)"InputStream_readline", (PyCFunction
) _wrap_InputStream_readline
, METH_VARARGS
| METH_KEYWORDS
},
40725 { (char *)"InputStream_readlines", (PyCFunction
) _wrap_InputStream_readlines
, METH_VARARGS
| METH_KEYWORDS
},
40726 { (char *)"InputStream_seek", (PyCFunction
) _wrap_InputStream_seek
, METH_VARARGS
| METH_KEYWORDS
},
40727 { (char *)"InputStream_tell", (PyCFunction
) _wrap_InputStream_tell
, METH_VARARGS
| METH_KEYWORDS
},
40728 { (char *)"InputStream_Peek", (PyCFunction
) _wrap_InputStream_Peek
, METH_VARARGS
| METH_KEYWORDS
},
40729 { (char *)"InputStream_GetC", (PyCFunction
) _wrap_InputStream_GetC
, METH_VARARGS
| METH_KEYWORDS
},
40730 { (char *)"InputStream_LastRead", (PyCFunction
) _wrap_InputStream_LastRead
, METH_VARARGS
| METH_KEYWORDS
},
40731 { (char *)"InputStream_CanRead", (PyCFunction
) _wrap_InputStream_CanRead
, METH_VARARGS
| METH_KEYWORDS
},
40732 { (char *)"InputStream_Eof", (PyCFunction
) _wrap_InputStream_Eof
, METH_VARARGS
| METH_KEYWORDS
},
40733 { (char *)"InputStream_Ungetch", (PyCFunction
) _wrap_InputStream_Ungetch
, METH_VARARGS
| METH_KEYWORDS
},
40734 { (char *)"InputStream_SeekI", (PyCFunction
) _wrap_InputStream_SeekI
, METH_VARARGS
| METH_KEYWORDS
},
40735 { (char *)"InputStream_TellI", (PyCFunction
) _wrap_InputStream_TellI
, METH_VARARGS
| METH_KEYWORDS
},
40736 { (char *)"InputStream_swigregister", InputStream_swigregister
, METH_VARARGS
},
40737 { (char *)"OutputStream_write", (PyCFunction
) _wrap_OutputStream_write
, METH_VARARGS
| METH_KEYWORDS
},
40738 { (char *)"OutputStream_swigregister", OutputStream_swigregister
, METH_VARARGS
},
40739 { (char *)"new_FSFile", (PyCFunction
) _wrap_new_FSFile
, METH_VARARGS
| METH_KEYWORDS
},
40740 { (char *)"delete_FSFile", (PyCFunction
) _wrap_delete_FSFile
, METH_VARARGS
| METH_KEYWORDS
},
40741 { (char *)"FSFile_GetStream", (PyCFunction
) _wrap_FSFile_GetStream
, METH_VARARGS
| METH_KEYWORDS
},
40742 { (char *)"FSFile_GetMimeType", (PyCFunction
) _wrap_FSFile_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
40743 { (char *)"FSFile_GetLocation", (PyCFunction
) _wrap_FSFile_GetLocation
, METH_VARARGS
| METH_KEYWORDS
},
40744 { (char *)"FSFile_GetAnchor", (PyCFunction
) _wrap_FSFile_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
},
40745 { (char *)"FSFile_GetModificationTime", (PyCFunction
) _wrap_FSFile_GetModificationTime
, METH_VARARGS
| METH_KEYWORDS
},
40746 { (char *)"FSFile_swigregister", FSFile_swigregister
, METH_VARARGS
},
40747 { (char *)"CPPFileSystemHandler_swigregister", CPPFileSystemHandler_swigregister
, METH_VARARGS
},
40748 { (char *)"new_FileSystemHandler", (PyCFunction
) _wrap_new_FileSystemHandler
, METH_VARARGS
| METH_KEYWORDS
},
40749 { (char *)"FileSystemHandler__setCallbackInfo", (PyCFunction
) _wrap_FileSystemHandler__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
40750 { (char *)"FileSystemHandler_CanOpen", (PyCFunction
) _wrap_FileSystemHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
},
40751 { (char *)"FileSystemHandler_OpenFile", (PyCFunction
) _wrap_FileSystemHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
40752 { (char *)"FileSystemHandler_FindFirst", (PyCFunction
) _wrap_FileSystemHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
},
40753 { (char *)"FileSystemHandler_FindNext", (PyCFunction
) _wrap_FileSystemHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
},
40754 { (char *)"FileSystemHandler_GetProtocol", (PyCFunction
) _wrap_FileSystemHandler_GetProtocol
, METH_VARARGS
| METH_KEYWORDS
},
40755 { (char *)"FileSystemHandler_GetLeftLocation", (PyCFunction
) _wrap_FileSystemHandler_GetLeftLocation
, METH_VARARGS
| METH_KEYWORDS
},
40756 { (char *)"FileSystemHandler_GetAnchor", (PyCFunction
) _wrap_FileSystemHandler_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
},
40757 { (char *)"FileSystemHandler_GetRightLocation", (PyCFunction
) _wrap_FileSystemHandler_GetRightLocation
, METH_VARARGS
| METH_KEYWORDS
},
40758 { (char *)"FileSystemHandler_GetMimeTypeFromExt", (PyCFunction
) _wrap_FileSystemHandler_GetMimeTypeFromExt
, METH_VARARGS
| METH_KEYWORDS
},
40759 { (char *)"FileSystemHandler_swigregister", FileSystemHandler_swigregister
, METH_VARARGS
},
40760 { (char *)"new_FileSystem", (PyCFunction
) _wrap_new_FileSystem
, METH_VARARGS
| METH_KEYWORDS
},
40761 { (char *)"delete_FileSystem", (PyCFunction
) _wrap_delete_FileSystem
, METH_VARARGS
| METH_KEYWORDS
},
40762 { (char *)"FileSystem_ChangePathTo", (PyCFunction
) _wrap_FileSystem_ChangePathTo
, METH_VARARGS
| METH_KEYWORDS
},
40763 { (char *)"FileSystem_GetPath", (PyCFunction
) _wrap_FileSystem_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
40764 { (char *)"FileSystem_OpenFile", (PyCFunction
) _wrap_FileSystem_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
40765 { (char *)"FileSystem_FindFirst", (PyCFunction
) _wrap_FileSystem_FindFirst
, METH_VARARGS
| METH_KEYWORDS
},
40766 { (char *)"FileSystem_FindNext", (PyCFunction
) _wrap_FileSystem_FindNext
, METH_VARARGS
| METH_KEYWORDS
},
40767 { (char *)"FileSystem_AddHandler", (PyCFunction
) _wrap_FileSystem_AddHandler
, METH_VARARGS
| METH_KEYWORDS
},
40768 { (char *)"FileSystem_CleanUpHandlers", (PyCFunction
) _wrap_FileSystem_CleanUpHandlers
, METH_VARARGS
| METH_KEYWORDS
},
40769 { (char *)"FileSystem_FileNameToURL", (PyCFunction
) _wrap_FileSystem_FileNameToURL
, METH_VARARGS
| METH_KEYWORDS
},
40770 { (char *)"FileSystem_swigregister", FileSystem_swigregister
, METH_VARARGS
},
40771 { (char *)"FileSystem_URLToFileName", (PyCFunction
) _wrap_FileSystem_URLToFileName
, METH_VARARGS
| METH_KEYWORDS
},
40772 { (char *)"new_InternetFSHandler", (PyCFunction
) _wrap_new_InternetFSHandler
, METH_VARARGS
| METH_KEYWORDS
},
40773 { (char *)"InternetFSHandler_CanOpen", (PyCFunction
) _wrap_InternetFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
},
40774 { (char *)"InternetFSHandler_OpenFile", (PyCFunction
) _wrap_InternetFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
40775 { (char *)"InternetFSHandler_swigregister", InternetFSHandler_swigregister
, METH_VARARGS
},
40776 { (char *)"new_ZipFSHandler", (PyCFunction
) _wrap_new_ZipFSHandler
, METH_VARARGS
| METH_KEYWORDS
},
40777 { (char *)"ZipFSHandler_CanOpen", (PyCFunction
) _wrap_ZipFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
},
40778 { (char *)"ZipFSHandler_OpenFile", (PyCFunction
) _wrap_ZipFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
40779 { (char *)"ZipFSHandler_FindFirst", (PyCFunction
) _wrap_ZipFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
},
40780 { (char *)"ZipFSHandler_FindNext", (PyCFunction
) _wrap_ZipFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
},
40781 { (char *)"ZipFSHandler_swigregister", ZipFSHandler_swigregister
, METH_VARARGS
},
40782 { (char *)"__wxMemoryFSHandler_AddFile_wxImage", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxImage
, METH_VARARGS
| METH_KEYWORDS
},
40783 { (char *)"__wxMemoryFSHandler_AddFile_wxBitmap", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxBitmap
, METH_VARARGS
| METH_KEYWORDS
},
40784 { (char *)"__wxMemoryFSHandler_AddFile_Data", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_Data
, METH_VARARGS
| METH_KEYWORDS
},
40785 { (char *)"new_MemoryFSHandler", (PyCFunction
) _wrap_new_MemoryFSHandler
, METH_VARARGS
| METH_KEYWORDS
},
40786 { (char *)"MemoryFSHandler_RemoveFile", (PyCFunction
) _wrap_MemoryFSHandler_RemoveFile
, METH_VARARGS
| METH_KEYWORDS
},
40787 { (char *)"MemoryFSHandler_CanOpen", (PyCFunction
) _wrap_MemoryFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
},
40788 { (char *)"MemoryFSHandler_OpenFile", (PyCFunction
) _wrap_MemoryFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
40789 { (char *)"MemoryFSHandler_FindFirst", (PyCFunction
) _wrap_MemoryFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
},
40790 { (char *)"MemoryFSHandler_FindNext", (PyCFunction
) _wrap_MemoryFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
},
40791 { (char *)"MemoryFSHandler_swigregister", MemoryFSHandler_swigregister
, METH_VARARGS
},
40792 { (char *)"ImageHandler_GetName", (PyCFunction
) _wrap_ImageHandler_GetName
, METH_VARARGS
| METH_KEYWORDS
},
40793 { (char *)"ImageHandler_GetExtension", (PyCFunction
) _wrap_ImageHandler_GetExtension
, METH_VARARGS
| METH_KEYWORDS
},
40794 { (char *)"ImageHandler_GetType", (PyCFunction
) _wrap_ImageHandler_GetType
, METH_VARARGS
| METH_KEYWORDS
},
40795 { (char *)"ImageHandler_GetMimeType", (PyCFunction
) _wrap_ImageHandler_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
40796 { (char *)"ImageHandler_CanRead", (PyCFunction
) _wrap_ImageHandler_CanRead
, METH_VARARGS
| METH_KEYWORDS
},
40797 { (char *)"ImageHandler_SetName", (PyCFunction
) _wrap_ImageHandler_SetName
, METH_VARARGS
| METH_KEYWORDS
},
40798 { (char *)"ImageHandler_SetExtension", (PyCFunction
) _wrap_ImageHandler_SetExtension
, METH_VARARGS
| METH_KEYWORDS
},
40799 { (char *)"ImageHandler_SetType", (PyCFunction
) _wrap_ImageHandler_SetType
, METH_VARARGS
| METH_KEYWORDS
},
40800 { (char *)"ImageHandler_SetMimeType", (PyCFunction
) _wrap_ImageHandler_SetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
40801 { (char *)"ImageHandler_swigregister", ImageHandler_swigregister
, METH_VARARGS
},
40802 { (char *)"new_ImageHistogram", (PyCFunction
) _wrap_new_ImageHistogram
, METH_VARARGS
| METH_KEYWORDS
},
40803 { (char *)"ImageHistogram_MakeKey", (PyCFunction
) _wrap_ImageHistogram_MakeKey
, METH_VARARGS
| METH_KEYWORDS
},
40804 { (char *)"ImageHistogram_FindFirstUnusedColour", (PyCFunction
) _wrap_ImageHistogram_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
},
40805 { (char *)"ImageHistogram_swigregister", ImageHistogram_swigregister
, METH_VARARGS
},
40806 { (char *)"new_Image", (PyCFunction
) _wrap_new_Image
, METH_VARARGS
| METH_KEYWORDS
},
40807 { (char *)"delete_Image", (PyCFunction
) _wrap_delete_Image
, METH_VARARGS
| METH_KEYWORDS
},
40808 { (char *)"new_ImageFromMime", (PyCFunction
) _wrap_new_ImageFromMime
, METH_VARARGS
| METH_KEYWORDS
},
40809 { (char *)"new_ImageFromStream", (PyCFunction
) _wrap_new_ImageFromStream
, METH_VARARGS
| METH_KEYWORDS
},
40810 { (char *)"new_ImageFromStreamMime", (PyCFunction
) _wrap_new_ImageFromStreamMime
, METH_VARARGS
| METH_KEYWORDS
},
40811 { (char *)"new_EmptyImage", (PyCFunction
) _wrap_new_EmptyImage
, METH_VARARGS
| METH_KEYWORDS
},
40812 { (char *)"new_ImageFromBitmap", (PyCFunction
) _wrap_new_ImageFromBitmap
, METH_VARARGS
| METH_KEYWORDS
},
40813 { (char *)"new_ImageFromData", (PyCFunction
) _wrap_new_ImageFromData
, METH_VARARGS
| METH_KEYWORDS
},
40814 { (char *)"Image_Create", (PyCFunction
) _wrap_Image_Create
, METH_VARARGS
| METH_KEYWORDS
},
40815 { (char *)"Image_Destroy", (PyCFunction
) _wrap_Image_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
40816 { (char *)"Image_Scale", (PyCFunction
) _wrap_Image_Scale
, METH_VARARGS
| METH_KEYWORDS
},
40817 { (char *)"Image_ShrinkBy", (PyCFunction
) _wrap_Image_ShrinkBy
, METH_VARARGS
| METH_KEYWORDS
},
40818 { (char *)"Image_Rescale", (PyCFunction
) _wrap_Image_Rescale
, METH_VARARGS
| METH_KEYWORDS
},
40819 { (char *)"Image_SetRGB", (PyCFunction
) _wrap_Image_SetRGB
, METH_VARARGS
| METH_KEYWORDS
},
40820 { (char *)"Image_GetRed", (PyCFunction
) _wrap_Image_GetRed
, METH_VARARGS
| METH_KEYWORDS
},
40821 { (char *)"Image_GetGreen", (PyCFunction
) _wrap_Image_GetGreen
, METH_VARARGS
| METH_KEYWORDS
},
40822 { (char *)"Image_GetBlue", (PyCFunction
) _wrap_Image_GetBlue
, METH_VARARGS
| METH_KEYWORDS
},
40823 { (char *)"Image_SetAlpha", (PyCFunction
) _wrap_Image_SetAlpha
, METH_VARARGS
| METH_KEYWORDS
},
40824 { (char *)"Image_GetAlpha", (PyCFunction
) _wrap_Image_GetAlpha
, METH_VARARGS
| METH_KEYWORDS
},
40825 { (char *)"Image_HasAlpha", (PyCFunction
) _wrap_Image_HasAlpha
, METH_VARARGS
| METH_KEYWORDS
},
40826 { (char *)"Image_FindFirstUnusedColour", (PyCFunction
) _wrap_Image_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
},
40827 { (char *)"Image_SetMaskFromImage", (PyCFunction
) _wrap_Image_SetMaskFromImage
, METH_VARARGS
| METH_KEYWORDS
},
40828 { (char *)"Image_CanRead", (PyCFunction
) _wrap_Image_CanRead
, METH_VARARGS
| METH_KEYWORDS
},
40829 { (char *)"Image_GetImageCount", (PyCFunction
) _wrap_Image_GetImageCount
, METH_VARARGS
| METH_KEYWORDS
},
40830 { (char *)"Image_LoadFile", (PyCFunction
) _wrap_Image_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
40831 { (char *)"Image_LoadMimeFile", (PyCFunction
) _wrap_Image_LoadMimeFile
, METH_VARARGS
| METH_KEYWORDS
},
40832 { (char *)"Image_SaveFile", (PyCFunction
) _wrap_Image_SaveFile
, METH_VARARGS
| METH_KEYWORDS
},
40833 { (char *)"Image_SaveMimeFile", (PyCFunction
) _wrap_Image_SaveMimeFile
, METH_VARARGS
| METH_KEYWORDS
},
40834 { (char *)"Image_CanReadStream", (PyCFunction
) _wrap_Image_CanReadStream
, METH_VARARGS
| METH_KEYWORDS
},
40835 { (char *)"Image_LoadStream", (PyCFunction
) _wrap_Image_LoadStream
, METH_VARARGS
| METH_KEYWORDS
},
40836 { (char *)"Image_LoadMimeStream", (PyCFunction
) _wrap_Image_LoadMimeStream
, METH_VARARGS
| METH_KEYWORDS
},
40837 { (char *)"Image_Ok", (PyCFunction
) _wrap_Image_Ok
, METH_VARARGS
| METH_KEYWORDS
},
40838 { (char *)"Image_GetWidth", (PyCFunction
) _wrap_Image_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
40839 { (char *)"Image_GetHeight", (PyCFunction
) _wrap_Image_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
40840 { (char *)"Image_GetSize", (PyCFunction
) _wrap_Image_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
40841 { (char *)"Image_GetSubImage", (PyCFunction
) _wrap_Image_GetSubImage
, METH_VARARGS
| METH_KEYWORDS
},
40842 { (char *)"Image_Copy", (PyCFunction
) _wrap_Image_Copy
, METH_VARARGS
| METH_KEYWORDS
},
40843 { (char *)"Image_Paste", (PyCFunction
) _wrap_Image_Paste
, METH_VARARGS
| METH_KEYWORDS
},
40844 { (char *)"Image_GetData", (PyCFunction
) _wrap_Image_GetData
, METH_VARARGS
| METH_KEYWORDS
},
40845 { (char *)"Image_SetData", (PyCFunction
) _wrap_Image_SetData
, METH_VARARGS
| METH_KEYWORDS
},
40846 { (char *)"Image_GetDataBuffer", (PyCFunction
) _wrap_Image_GetDataBuffer
, METH_VARARGS
| METH_KEYWORDS
},
40847 { (char *)"Image_SetDataBuffer", (PyCFunction
) _wrap_Image_SetDataBuffer
, METH_VARARGS
| METH_KEYWORDS
},
40848 { (char *)"Image_GetAlphaData", (PyCFunction
) _wrap_Image_GetAlphaData
, METH_VARARGS
| METH_KEYWORDS
},
40849 { (char *)"Image_SetAlphaData", (PyCFunction
) _wrap_Image_SetAlphaData
, METH_VARARGS
| METH_KEYWORDS
},
40850 { (char *)"Image_GetAlphaBuffer", (PyCFunction
) _wrap_Image_GetAlphaBuffer
, METH_VARARGS
| METH_KEYWORDS
},
40851 { (char *)"Image_SetAlphaBuffer", (PyCFunction
) _wrap_Image_SetAlphaBuffer
, METH_VARARGS
| METH_KEYWORDS
},
40852 { (char *)"Image_SetMaskColour", (PyCFunction
) _wrap_Image_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
},
40853 { (char *)"Image_GetMaskRed", (PyCFunction
) _wrap_Image_GetMaskRed
, METH_VARARGS
| METH_KEYWORDS
},
40854 { (char *)"Image_GetMaskGreen", (PyCFunction
) _wrap_Image_GetMaskGreen
, METH_VARARGS
| METH_KEYWORDS
},
40855 { (char *)"Image_GetMaskBlue", (PyCFunction
) _wrap_Image_GetMaskBlue
, METH_VARARGS
| METH_KEYWORDS
},
40856 { (char *)"Image_SetMask", (PyCFunction
) _wrap_Image_SetMask
, METH_VARARGS
| METH_KEYWORDS
},
40857 { (char *)"Image_HasMask", (PyCFunction
) _wrap_Image_HasMask
, METH_VARARGS
| METH_KEYWORDS
},
40858 { (char *)"Image_Rotate", (PyCFunction
) _wrap_Image_Rotate
, METH_VARARGS
| METH_KEYWORDS
},
40859 { (char *)"Image_Rotate90", (PyCFunction
) _wrap_Image_Rotate90
, METH_VARARGS
| METH_KEYWORDS
},
40860 { (char *)"Image_Mirror", (PyCFunction
) _wrap_Image_Mirror
, METH_VARARGS
| METH_KEYWORDS
},
40861 { (char *)"Image_Replace", (PyCFunction
) _wrap_Image_Replace
, METH_VARARGS
| METH_KEYWORDS
},
40862 { (char *)"Image_ConvertToMono", (PyCFunction
) _wrap_Image_ConvertToMono
, METH_VARARGS
| METH_KEYWORDS
},
40863 { (char *)"Image_SetOption", (PyCFunction
) _wrap_Image_SetOption
, METH_VARARGS
| METH_KEYWORDS
},
40864 { (char *)"Image_SetOptionInt", (PyCFunction
) _wrap_Image_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
},
40865 { (char *)"Image_GetOption", (PyCFunction
) _wrap_Image_GetOption
, METH_VARARGS
| METH_KEYWORDS
},
40866 { (char *)"Image_GetOptionInt", (PyCFunction
) _wrap_Image_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
},
40867 { (char *)"Image_HasOption", (PyCFunction
) _wrap_Image_HasOption
, METH_VARARGS
| METH_KEYWORDS
},
40868 { (char *)"Image_CountColours", (PyCFunction
) _wrap_Image_CountColours
, METH_VARARGS
| METH_KEYWORDS
},
40869 { (char *)"Image_ComputeHistogram", (PyCFunction
) _wrap_Image_ComputeHistogram
, METH_VARARGS
| METH_KEYWORDS
},
40870 { (char *)"Image_AddHandler", (PyCFunction
) _wrap_Image_AddHandler
, METH_VARARGS
| METH_KEYWORDS
},
40871 { (char *)"Image_InsertHandler", (PyCFunction
) _wrap_Image_InsertHandler
, METH_VARARGS
| METH_KEYWORDS
},
40872 { (char *)"Image_RemoveHandler", (PyCFunction
) _wrap_Image_RemoveHandler
, METH_VARARGS
| METH_KEYWORDS
},
40873 { (char *)"Image_GetImageExtWildcard", (PyCFunction
) _wrap_Image_GetImageExtWildcard
, METH_VARARGS
| METH_KEYWORDS
},
40874 { (char *)"Image_ConvertToBitmap", (PyCFunction
) _wrap_Image_ConvertToBitmap
, METH_VARARGS
| METH_KEYWORDS
},
40875 { (char *)"Image_ConvertToMonoBitmap", (PyCFunction
) _wrap_Image_ConvertToMonoBitmap
, METH_VARARGS
| METH_KEYWORDS
},
40876 { (char *)"Image_swigregister", Image_swigregister
, METH_VARARGS
},
40877 { (char *)"new_BMPHandler", (PyCFunction
) _wrap_new_BMPHandler
, METH_VARARGS
| METH_KEYWORDS
},
40878 { (char *)"BMPHandler_swigregister", BMPHandler_swigregister
, METH_VARARGS
},
40879 { (char *)"new_ICOHandler", (PyCFunction
) _wrap_new_ICOHandler
, METH_VARARGS
| METH_KEYWORDS
},
40880 { (char *)"ICOHandler_swigregister", ICOHandler_swigregister
, METH_VARARGS
},
40881 { (char *)"new_CURHandler", (PyCFunction
) _wrap_new_CURHandler
, METH_VARARGS
| METH_KEYWORDS
},
40882 { (char *)"CURHandler_swigregister", CURHandler_swigregister
, METH_VARARGS
},
40883 { (char *)"new_ANIHandler", (PyCFunction
) _wrap_new_ANIHandler
, METH_VARARGS
| METH_KEYWORDS
},
40884 { (char *)"ANIHandler_swigregister", ANIHandler_swigregister
, METH_VARARGS
},
40885 { (char *)"new_PNGHandler", (PyCFunction
) _wrap_new_PNGHandler
, METH_VARARGS
| METH_KEYWORDS
},
40886 { (char *)"PNGHandler_swigregister", PNGHandler_swigregister
, METH_VARARGS
},
40887 { (char *)"new_GIFHandler", (PyCFunction
) _wrap_new_GIFHandler
, METH_VARARGS
| METH_KEYWORDS
},
40888 { (char *)"GIFHandler_swigregister", GIFHandler_swigregister
, METH_VARARGS
},
40889 { (char *)"new_PCXHandler", (PyCFunction
) _wrap_new_PCXHandler
, METH_VARARGS
| METH_KEYWORDS
},
40890 { (char *)"PCXHandler_swigregister", PCXHandler_swigregister
, METH_VARARGS
},
40891 { (char *)"new_JPEGHandler", (PyCFunction
) _wrap_new_JPEGHandler
, METH_VARARGS
| METH_KEYWORDS
},
40892 { (char *)"JPEGHandler_swigregister", JPEGHandler_swigregister
, METH_VARARGS
},
40893 { (char *)"new_PNMHandler", (PyCFunction
) _wrap_new_PNMHandler
, METH_VARARGS
| METH_KEYWORDS
},
40894 { (char *)"PNMHandler_swigregister", PNMHandler_swigregister
, METH_VARARGS
},
40895 { (char *)"new_XPMHandler", (PyCFunction
) _wrap_new_XPMHandler
, METH_VARARGS
| METH_KEYWORDS
},
40896 { (char *)"XPMHandler_swigregister", XPMHandler_swigregister
, METH_VARARGS
},
40897 { (char *)"new_TIFFHandler", (PyCFunction
) _wrap_new_TIFFHandler
, METH_VARARGS
| METH_KEYWORDS
},
40898 { (char *)"TIFFHandler_swigregister", TIFFHandler_swigregister
, METH_VARARGS
},
40899 { (char *)"new_EvtHandler", (PyCFunction
) _wrap_new_EvtHandler
, METH_VARARGS
| METH_KEYWORDS
},
40900 { (char *)"EvtHandler_GetNextHandler", (PyCFunction
) _wrap_EvtHandler_GetNextHandler
, METH_VARARGS
| METH_KEYWORDS
},
40901 { (char *)"EvtHandler_GetPreviousHandler", (PyCFunction
) _wrap_EvtHandler_GetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
40902 { (char *)"EvtHandler_SetNextHandler", (PyCFunction
) _wrap_EvtHandler_SetNextHandler
, METH_VARARGS
| METH_KEYWORDS
},
40903 { (char *)"EvtHandler_SetPreviousHandler", (PyCFunction
) _wrap_EvtHandler_SetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
40904 { (char *)"EvtHandler_GetEvtHandlerEnabled", (PyCFunction
) _wrap_EvtHandler_GetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
},
40905 { (char *)"EvtHandler_SetEvtHandlerEnabled", (PyCFunction
) _wrap_EvtHandler_SetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
},
40906 { (char *)"EvtHandler_ProcessEvent", (PyCFunction
) _wrap_EvtHandler_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
},
40907 { (char *)"EvtHandler_AddPendingEvent", (PyCFunction
) _wrap_EvtHandler_AddPendingEvent
, METH_VARARGS
| METH_KEYWORDS
},
40908 { (char *)"EvtHandler_ProcessPendingEvents", (PyCFunction
) _wrap_EvtHandler_ProcessPendingEvents
, METH_VARARGS
| METH_KEYWORDS
},
40909 { (char *)"EvtHandler_Connect", (PyCFunction
) _wrap_EvtHandler_Connect
, METH_VARARGS
| METH_KEYWORDS
},
40910 { (char *)"EvtHandler_Disconnect", (PyCFunction
) _wrap_EvtHandler_Disconnect
, METH_VARARGS
| METH_KEYWORDS
},
40911 { (char *)"EvtHandler__setOORInfo", (PyCFunction
) _wrap_EvtHandler__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
},
40912 { (char *)"EvtHandler_swigregister", EvtHandler_swigregister
, METH_VARARGS
},
40913 { (char *)"NewEventType", (PyCFunction
) _wrap_NewEventType
, METH_VARARGS
| METH_KEYWORDS
},
40914 { (char *)"delete_Event", (PyCFunction
) _wrap_delete_Event
, METH_VARARGS
| METH_KEYWORDS
},
40915 { (char *)"Event_SetEventType", (PyCFunction
) _wrap_Event_SetEventType
, METH_VARARGS
| METH_KEYWORDS
},
40916 { (char *)"Event_GetEventType", (PyCFunction
) _wrap_Event_GetEventType
, METH_VARARGS
| METH_KEYWORDS
},
40917 { (char *)"Event_GetEventObject", (PyCFunction
) _wrap_Event_GetEventObject
, METH_VARARGS
| METH_KEYWORDS
},
40918 { (char *)"Event_SetEventObject", (PyCFunction
) _wrap_Event_SetEventObject
, METH_VARARGS
| METH_KEYWORDS
},
40919 { (char *)"Event_GetTimestamp", (PyCFunction
) _wrap_Event_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
40920 { (char *)"Event_SetTimestamp", (PyCFunction
) _wrap_Event_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
40921 { (char *)"Event_GetId", (PyCFunction
) _wrap_Event_GetId
, METH_VARARGS
| METH_KEYWORDS
},
40922 { (char *)"Event_SetId", (PyCFunction
) _wrap_Event_SetId
, METH_VARARGS
| METH_KEYWORDS
},
40923 { (char *)"Event_IsCommandEvent", (PyCFunction
) _wrap_Event_IsCommandEvent
, METH_VARARGS
| METH_KEYWORDS
},
40924 { (char *)"Event_Skip", (PyCFunction
) _wrap_Event_Skip
, METH_VARARGS
| METH_KEYWORDS
},
40925 { (char *)"Event_GetSkipped", (PyCFunction
) _wrap_Event_GetSkipped
, METH_VARARGS
| METH_KEYWORDS
},
40926 { (char *)"Event_ShouldPropagate", (PyCFunction
) _wrap_Event_ShouldPropagate
, METH_VARARGS
| METH_KEYWORDS
},
40927 { (char *)"Event_StopPropagation", (PyCFunction
) _wrap_Event_StopPropagation
, METH_VARARGS
| METH_KEYWORDS
},
40928 { (char *)"Event_ResumePropagation", (PyCFunction
) _wrap_Event_ResumePropagation
, METH_VARARGS
| METH_KEYWORDS
},
40929 { (char *)"Event_Clone", (PyCFunction
) _wrap_Event_Clone
, METH_VARARGS
| METH_KEYWORDS
},
40930 { (char *)"Event_swigregister", Event_swigregister
, METH_VARARGS
},
40931 { (char *)"new_PropagationDisabler", (PyCFunction
) _wrap_new_PropagationDisabler
, METH_VARARGS
| METH_KEYWORDS
},
40932 { (char *)"delete_PropagationDisabler", (PyCFunction
) _wrap_delete_PropagationDisabler
, METH_VARARGS
| METH_KEYWORDS
},
40933 { (char *)"PropagationDisabler_swigregister", PropagationDisabler_swigregister
, METH_VARARGS
},
40934 { (char *)"new_PropagateOnce", (PyCFunction
) _wrap_new_PropagateOnce
, METH_VARARGS
| METH_KEYWORDS
},
40935 { (char *)"delete_PropagateOnce", (PyCFunction
) _wrap_delete_PropagateOnce
, METH_VARARGS
| METH_KEYWORDS
},
40936 { (char *)"PropagateOnce_swigregister", PropagateOnce_swigregister
, METH_VARARGS
},
40937 { (char *)"new_CommandEvent", (PyCFunction
) _wrap_new_CommandEvent
, METH_VARARGS
| METH_KEYWORDS
},
40938 { (char *)"CommandEvent_GetSelection", (PyCFunction
) _wrap_CommandEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
40939 { (char *)"CommandEvent_SetString", (PyCFunction
) _wrap_CommandEvent_SetString
, METH_VARARGS
| METH_KEYWORDS
},
40940 { (char *)"CommandEvent_GetString", (PyCFunction
) _wrap_CommandEvent_GetString
, METH_VARARGS
| METH_KEYWORDS
},
40941 { (char *)"CommandEvent_IsChecked", (PyCFunction
) _wrap_CommandEvent_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
40942 { (char *)"CommandEvent_IsSelection", (PyCFunction
) _wrap_CommandEvent_IsSelection
, METH_VARARGS
| METH_KEYWORDS
},
40943 { (char *)"CommandEvent_SetExtraLong", (PyCFunction
) _wrap_CommandEvent_SetExtraLong
, METH_VARARGS
| METH_KEYWORDS
},
40944 { (char *)"CommandEvent_GetExtraLong", (PyCFunction
) _wrap_CommandEvent_GetExtraLong
, METH_VARARGS
| METH_KEYWORDS
},
40945 { (char *)"CommandEvent_SetInt", (PyCFunction
) _wrap_CommandEvent_SetInt
, METH_VARARGS
| METH_KEYWORDS
},
40946 { (char *)"CommandEvent_GetInt", (PyCFunction
) _wrap_CommandEvent_GetInt
, METH_VARARGS
| METH_KEYWORDS
},
40947 { (char *)"CommandEvent_Clone", (PyCFunction
) _wrap_CommandEvent_Clone
, METH_VARARGS
| METH_KEYWORDS
},
40948 { (char *)"CommandEvent_swigregister", CommandEvent_swigregister
, METH_VARARGS
},
40949 { (char *)"new_NotifyEvent", (PyCFunction
) _wrap_new_NotifyEvent
, METH_VARARGS
| METH_KEYWORDS
},
40950 { (char *)"NotifyEvent_Veto", (PyCFunction
) _wrap_NotifyEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
},
40951 { (char *)"NotifyEvent_Allow", (PyCFunction
) _wrap_NotifyEvent_Allow
, METH_VARARGS
| METH_KEYWORDS
},
40952 { (char *)"NotifyEvent_IsAllowed", (PyCFunction
) _wrap_NotifyEvent_IsAllowed
, METH_VARARGS
| METH_KEYWORDS
},
40953 { (char *)"NotifyEvent_swigregister", NotifyEvent_swigregister
, METH_VARARGS
},
40954 { (char *)"new_ScrollEvent", (PyCFunction
) _wrap_new_ScrollEvent
, METH_VARARGS
| METH_KEYWORDS
},
40955 { (char *)"ScrollEvent_GetOrientation", (PyCFunction
) _wrap_ScrollEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
40956 { (char *)"ScrollEvent_GetPosition", (PyCFunction
) _wrap_ScrollEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40957 { (char *)"ScrollEvent_SetOrientation", (PyCFunction
) _wrap_ScrollEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
40958 { (char *)"ScrollEvent_SetPosition", (PyCFunction
) _wrap_ScrollEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40959 { (char *)"ScrollEvent_swigregister", ScrollEvent_swigregister
, METH_VARARGS
},
40960 { (char *)"new_ScrollWinEvent", (PyCFunction
) _wrap_new_ScrollWinEvent
, METH_VARARGS
| METH_KEYWORDS
},
40961 { (char *)"ScrollWinEvent_GetOrientation", (PyCFunction
) _wrap_ScrollWinEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
40962 { (char *)"ScrollWinEvent_GetPosition", (PyCFunction
) _wrap_ScrollWinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40963 { (char *)"ScrollWinEvent_SetOrientation", (PyCFunction
) _wrap_ScrollWinEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
40964 { (char *)"ScrollWinEvent_SetPosition", (PyCFunction
) _wrap_ScrollWinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40965 { (char *)"ScrollWinEvent_swigregister", ScrollWinEvent_swigregister
, METH_VARARGS
},
40966 { (char *)"new_MouseEvent", (PyCFunction
) _wrap_new_MouseEvent
, METH_VARARGS
| METH_KEYWORDS
},
40967 { (char *)"MouseEvent_IsButton", (PyCFunction
) _wrap_MouseEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
},
40968 { (char *)"MouseEvent_ButtonDown", (PyCFunction
) _wrap_MouseEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
},
40969 { (char *)"MouseEvent_ButtonDClick", (PyCFunction
) _wrap_MouseEvent_ButtonDClick
, METH_VARARGS
| METH_KEYWORDS
},
40970 { (char *)"MouseEvent_ButtonUp", (PyCFunction
) _wrap_MouseEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
},
40971 { (char *)"MouseEvent_Button", (PyCFunction
) _wrap_MouseEvent_Button
, METH_VARARGS
| METH_KEYWORDS
},
40972 { (char *)"MouseEvent_ButtonIsDown", (PyCFunction
) _wrap_MouseEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
},
40973 { (char *)"MouseEvent_GetButton", (PyCFunction
) _wrap_MouseEvent_GetButton
, METH_VARARGS
| METH_KEYWORDS
},
40974 { (char *)"MouseEvent_ControlDown", (PyCFunction
) _wrap_MouseEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
},
40975 { (char *)"MouseEvent_MetaDown", (PyCFunction
) _wrap_MouseEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
},
40976 { (char *)"MouseEvent_AltDown", (PyCFunction
) _wrap_MouseEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
},
40977 { (char *)"MouseEvent_ShiftDown", (PyCFunction
) _wrap_MouseEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
},
40978 { (char *)"MouseEvent_CmdDown", (PyCFunction
) _wrap_MouseEvent_CmdDown
, METH_VARARGS
| METH_KEYWORDS
},
40979 { (char *)"MouseEvent_LeftDown", (PyCFunction
) _wrap_MouseEvent_LeftDown
, METH_VARARGS
| METH_KEYWORDS
},
40980 { (char *)"MouseEvent_MiddleDown", (PyCFunction
) _wrap_MouseEvent_MiddleDown
, METH_VARARGS
| METH_KEYWORDS
},
40981 { (char *)"MouseEvent_RightDown", (PyCFunction
) _wrap_MouseEvent_RightDown
, METH_VARARGS
| METH_KEYWORDS
},
40982 { (char *)"MouseEvent_LeftUp", (PyCFunction
) _wrap_MouseEvent_LeftUp
, METH_VARARGS
| METH_KEYWORDS
},
40983 { (char *)"MouseEvent_MiddleUp", (PyCFunction
) _wrap_MouseEvent_MiddleUp
, METH_VARARGS
| METH_KEYWORDS
},
40984 { (char *)"MouseEvent_RightUp", (PyCFunction
) _wrap_MouseEvent_RightUp
, METH_VARARGS
| METH_KEYWORDS
},
40985 { (char *)"MouseEvent_LeftDClick", (PyCFunction
) _wrap_MouseEvent_LeftDClick
, METH_VARARGS
| METH_KEYWORDS
},
40986 { (char *)"MouseEvent_MiddleDClick", (PyCFunction
) _wrap_MouseEvent_MiddleDClick
, METH_VARARGS
| METH_KEYWORDS
},
40987 { (char *)"MouseEvent_RightDClick", (PyCFunction
) _wrap_MouseEvent_RightDClick
, METH_VARARGS
| METH_KEYWORDS
},
40988 { (char *)"MouseEvent_LeftIsDown", (PyCFunction
) _wrap_MouseEvent_LeftIsDown
, METH_VARARGS
| METH_KEYWORDS
},
40989 { (char *)"MouseEvent_MiddleIsDown", (PyCFunction
) _wrap_MouseEvent_MiddleIsDown
, METH_VARARGS
| METH_KEYWORDS
},
40990 { (char *)"MouseEvent_RightIsDown", (PyCFunction
) _wrap_MouseEvent_RightIsDown
, METH_VARARGS
| METH_KEYWORDS
},
40991 { (char *)"MouseEvent_Dragging", (PyCFunction
) _wrap_MouseEvent_Dragging
, METH_VARARGS
| METH_KEYWORDS
},
40992 { (char *)"MouseEvent_Moving", (PyCFunction
) _wrap_MouseEvent_Moving
, METH_VARARGS
| METH_KEYWORDS
},
40993 { (char *)"MouseEvent_Entering", (PyCFunction
) _wrap_MouseEvent_Entering
, METH_VARARGS
| METH_KEYWORDS
},
40994 { (char *)"MouseEvent_Leaving", (PyCFunction
) _wrap_MouseEvent_Leaving
, METH_VARARGS
| METH_KEYWORDS
},
40995 { (char *)"MouseEvent_GetPosition", (PyCFunction
) _wrap_MouseEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40996 { (char *)"MouseEvent_GetPositionTuple", (PyCFunction
) _wrap_MouseEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
40997 { (char *)"MouseEvent_GetLogicalPosition", (PyCFunction
) _wrap_MouseEvent_GetLogicalPosition
, METH_VARARGS
| METH_KEYWORDS
},
40998 { (char *)"MouseEvent_GetX", (PyCFunction
) _wrap_MouseEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
40999 { (char *)"MouseEvent_GetY", (PyCFunction
) _wrap_MouseEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
41000 { (char *)"MouseEvent_GetWheelRotation", (PyCFunction
) _wrap_MouseEvent_GetWheelRotation
, METH_VARARGS
| METH_KEYWORDS
},
41001 { (char *)"MouseEvent_GetWheelDelta", (PyCFunction
) _wrap_MouseEvent_GetWheelDelta
, METH_VARARGS
| METH_KEYWORDS
},
41002 { (char *)"MouseEvent_GetLinesPerAction", (PyCFunction
) _wrap_MouseEvent_GetLinesPerAction
, METH_VARARGS
| METH_KEYWORDS
},
41003 { (char *)"MouseEvent_IsPageScroll", (PyCFunction
) _wrap_MouseEvent_IsPageScroll
, METH_VARARGS
| METH_KEYWORDS
},
41004 { (char *)"MouseEvent_m_x_set", (PyCFunction
) _wrap_MouseEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
},
41005 { (char *)"MouseEvent_m_x_get", (PyCFunction
) _wrap_MouseEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
},
41006 { (char *)"MouseEvent_m_y_set", (PyCFunction
) _wrap_MouseEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
},
41007 { (char *)"MouseEvent_m_y_get", (PyCFunction
) _wrap_MouseEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
},
41008 { (char *)"MouseEvent_m_leftDown_set", (PyCFunction
) _wrap_MouseEvent_m_leftDown_set
, METH_VARARGS
| METH_KEYWORDS
},
41009 { (char *)"MouseEvent_m_leftDown_get", (PyCFunction
) _wrap_MouseEvent_m_leftDown_get
, METH_VARARGS
| METH_KEYWORDS
},
41010 { (char *)"MouseEvent_m_middleDown_set", (PyCFunction
) _wrap_MouseEvent_m_middleDown_set
, METH_VARARGS
| METH_KEYWORDS
},
41011 { (char *)"MouseEvent_m_middleDown_get", (PyCFunction
) _wrap_MouseEvent_m_middleDown_get
, METH_VARARGS
| METH_KEYWORDS
},
41012 { (char *)"MouseEvent_m_rightDown_set", (PyCFunction
) _wrap_MouseEvent_m_rightDown_set
, METH_VARARGS
| METH_KEYWORDS
},
41013 { (char *)"MouseEvent_m_rightDown_get", (PyCFunction
) _wrap_MouseEvent_m_rightDown_get
, METH_VARARGS
| METH_KEYWORDS
},
41014 { (char *)"MouseEvent_m_controlDown_set", (PyCFunction
) _wrap_MouseEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
},
41015 { (char *)"MouseEvent_m_controlDown_get", (PyCFunction
) _wrap_MouseEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
},
41016 { (char *)"MouseEvent_m_shiftDown_set", (PyCFunction
) _wrap_MouseEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
},
41017 { (char *)"MouseEvent_m_shiftDown_get", (PyCFunction
) _wrap_MouseEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
},
41018 { (char *)"MouseEvent_m_altDown_set", (PyCFunction
) _wrap_MouseEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
},
41019 { (char *)"MouseEvent_m_altDown_get", (PyCFunction
) _wrap_MouseEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
},
41020 { (char *)"MouseEvent_m_metaDown_set", (PyCFunction
) _wrap_MouseEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
},
41021 { (char *)"MouseEvent_m_metaDown_get", (PyCFunction
) _wrap_MouseEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
},
41022 { (char *)"MouseEvent_m_wheelRotation_set", (PyCFunction
) _wrap_MouseEvent_m_wheelRotation_set
, METH_VARARGS
| METH_KEYWORDS
},
41023 { (char *)"MouseEvent_m_wheelRotation_get", (PyCFunction
) _wrap_MouseEvent_m_wheelRotation_get
, METH_VARARGS
| METH_KEYWORDS
},
41024 { (char *)"MouseEvent_m_wheelDelta_set", (PyCFunction
) _wrap_MouseEvent_m_wheelDelta_set
, METH_VARARGS
| METH_KEYWORDS
},
41025 { (char *)"MouseEvent_m_wheelDelta_get", (PyCFunction
) _wrap_MouseEvent_m_wheelDelta_get
, METH_VARARGS
| METH_KEYWORDS
},
41026 { (char *)"MouseEvent_m_linesPerAction_set", (PyCFunction
) _wrap_MouseEvent_m_linesPerAction_set
, METH_VARARGS
| METH_KEYWORDS
},
41027 { (char *)"MouseEvent_m_linesPerAction_get", (PyCFunction
) _wrap_MouseEvent_m_linesPerAction_get
, METH_VARARGS
| METH_KEYWORDS
},
41028 { (char *)"MouseEvent_swigregister", MouseEvent_swigregister
, METH_VARARGS
},
41029 { (char *)"new_SetCursorEvent", (PyCFunction
) _wrap_new_SetCursorEvent
, METH_VARARGS
| METH_KEYWORDS
},
41030 { (char *)"SetCursorEvent_GetX", (PyCFunction
) _wrap_SetCursorEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
41031 { (char *)"SetCursorEvent_GetY", (PyCFunction
) _wrap_SetCursorEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
41032 { (char *)"SetCursorEvent_SetCursor", (PyCFunction
) _wrap_SetCursorEvent_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
41033 { (char *)"SetCursorEvent_GetCursor", (PyCFunction
) _wrap_SetCursorEvent_GetCursor
, METH_VARARGS
| METH_KEYWORDS
},
41034 { (char *)"SetCursorEvent_HasCursor", (PyCFunction
) _wrap_SetCursorEvent_HasCursor
, METH_VARARGS
| METH_KEYWORDS
},
41035 { (char *)"SetCursorEvent_swigregister", SetCursorEvent_swigregister
, METH_VARARGS
},
41036 { (char *)"new_KeyEvent", (PyCFunction
) _wrap_new_KeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
41037 { (char *)"KeyEvent_ControlDown", (PyCFunction
) _wrap_KeyEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
},
41038 { (char *)"KeyEvent_MetaDown", (PyCFunction
) _wrap_KeyEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
},
41039 { (char *)"KeyEvent_AltDown", (PyCFunction
) _wrap_KeyEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
},
41040 { (char *)"KeyEvent_ShiftDown", (PyCFunction
) _wrap_KeyEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
},
41041 { (char *)"KeyEvent_CmdDown", (PyCFunction
) _wrap_KeyEvent_CmdDown
, METH_VARARGS
| METH_KEYWORDS
},
41042 { (char *)"KeyEvent_HasModifiers", (PyCFunction
) _wrap_KeyEvent_HasModifiers
, METH_VARARGS
| METH_KEYWORDS
},
41043 { (char *)"KeyEvent_GetKeyCode", (PyCFunction
) _wrap_KeyEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
41044 { (char *)"KeyEvent_GetUnicodeKey", (PyCFunction
) _wrap_KeyEvent_GetUnicodeKey
, METH_VARARGS
| METH_KEYWORDS
},
41045 { (char *)"KeyEvent_GetRawKeyCode", (PyCFunction
) _wrap_KeyEvent_GetRawKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
41046 { (char *)"KeyEvent_GetRawKeyFlags", (PyCFunction
) _wrap_KeyEvent_GetRawKeyFlags
, METH_VARARGS
| METH_KEYWORDS
},
41047 { (char *)"KeyEvent_GetPosition", (PyCFunction
) _wrap_KeyEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
41048 { (char *)"KeyEvent_GetPositionTuple", (PyCFunction
) _wrap_KeyEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
41049 { (char *)"KeyEvent_GetX", (PyCFunction
) _wrap_KeyEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
41050 { (char *)"KeyEvent_GetY", (PyCFunction
) _wrap_KeyEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
41051 { (char *)"KeyEvent_m_x_set", (PyCFunction
) _wrap_KeyEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
},
41052 { (char *)"KeyEvent_m_x_get", (PyCFunction
) _wrap_KeyEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
},
41053 { (char *)"KeyEvent_m_y_set", (PyCFunction
) _wrap_KeyEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
},
41054 { (char *)"KeyEvent_m_y_get", (PyCFunction
) _wrap_KeyEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
},
41055 { (char *)"KeyEvent_m_keyCode_set", (PyCFunction
) _wrap_KeyEvent_m_keyCode_set
, METH_VARARGS
| METH_KEYWORDS
},
41056 { (char *)"KeyEvent_m_keyCode_get", (PyCFunction
) _wrap_KeyEvent_m_keyCode_get
, METH_VARARGS
| METH_KEYWORDS
},
41057 { (char *)"KeyEvent_m_controlDown_set", (PyCFunction
) _wrap_KeyEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
},
41058 { (char *)"KeyEvent_m_controlDown_get", (PyCFunction
) _wrap_KeyEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
},
41059 { (char *)"KeyEvent_m_shiftDown_set", (PyCFunction
) _wrap_KeyEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
},
41060 { (char *)"KeyEvent_m_shiftDown_get", (PyCFunction
) _wrap_KeyEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
},
41061 { (char *)"KeyEvent_m_altDown_set", (PyCFunction
) _wrap_KeyEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
},
41062 { (char *)"KeyEvent_m_altDown_get", (PyCFunction
) _wrap_KeyEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
},
41063 { (char *)"KeyEvent_m_metaDown_set", (PyCFunction
) _wrap_KeyEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
},
41064 { (char *)"KeyEvent_m_metaDown_get", (PyCFunction
) _wrap_KeyEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
},
41065 { (char *)"KeyEvent_m_scanCode_set", (PyCFunction
) _wrap_KeyEvent_m_scanCode_set
, METH_VARARGS
| METH_KEYWORDS
},
41066 { (char *)"KeyEvent_m_scanCode_get", (PyCFunction
) _wrap_KeyEvent_m_scanCode_get
, METH_VARARGS
| METH_KEYWORDS
},
41067 { (char *)"KeyEvent_m_rawCode_set", (PyCFunction
) _wrap_KeyEvent_m_rawCode_set
, METH_VARARGS
| METH_KEYWORDS
},
41068 { (char *)"KeyEvent_m_rawCode_get", (PyCFunction
) _wrap_KeyEvent_m_rawCode_get
, METH_VARARGS
| METH_KEYWORDS
},
41069 { (char *)"KeyEvent_m_rawFlags_set", (PyCFunction
) _wrap_KeyEvent_m_rawFlags_set
, METH_VARARGS
| METH_KEYWORDS
},
41070 { (char *)"KeyEvent_m_rawFlags_get", (PyCFunction
) _wrap_KeyEvent_m_rawFlags_get
, METH_VARARGS
| METH_KEYWORDS
},
41071 { (char *)"KeyEvent_swigregister", KeyEvent_swigregister
, METH_VARARGS
},
41072 { (char *)"new_SizeEvent", (PyCFunction
) _wrap_new_SizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
41073 { (char *)"SizeEvent_GetSize", (PyCFunction
) _wrap_SizeEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
41074 { (char *)"SizeEvent_GetRect", (PyCFunction
) _wrap_SizeEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
41075 { (char *)"SizeEvent_SetRect", (PyCFunction
) _wrap_SizeEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
41076 { (char *)"SizeEvent_SetSize", (PyCFunction
) _wrap_SizeEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
41077 { (char *)"SizeEvent_m_size_set", (PyCFunction
) _wrap_SizeEvent_m_size_set
, METH_VARARGS
| METH_KEYWORDS
},
41078 { (char *)"SizeEvent_m_size_get", (PyCFunction
) _wrap_SizeEvent_m_size_get
, METH_VARARGS
| METH_KEYWORDS
},
41079 { (char *)"SizeEvent_m_rect_set", (PyCFunction
) _wrap_SizeEvent_m_rect_set
, METH_VARARGS
| METH_KEYWORDS
},
41080 { (char *)"SizeEvent_m_rect_get", (PyCFunction
) _wrap_SizeEvent_m_rect_get
, METH_VARARGS
| METH_KEYWORDS
},
41081 { (char *)"SizeEvent_swigregister", SizeEvent_swigregister
, METH_VARARGS
},
41082 { (char *)"new_MoveEvent", (PyCFunction
) _wrap_new_MoveEvent
, METH_VARARGS
| METH_KEYWORDS
},
41083 { (char *)"MoveEvent_GetPosition", (PyCFunction
) _wrap_MoveEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
41084 { (char *)"MoveEvent_GetRect", (PyCFunction
) _wrap_MoveEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
41085 { (char *)"MoveEvent_SetRect", (PyCFunction
) _wrap_MoveEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
41086 { (char *)"MoveEvent_SetPosition", (PyCFunction
) _wrap_MoveEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
41087 { (char *)"MoveEvent_m_pos_set", (PyCFunction
) _wrap_MoveEvent_m_pos_set
, METH_VARARGS
| METH_KEYWORDS
},
41088 { (char *)"MoveEvent_m_pos_get", (PyCFunction
) _wrap_MoveEvent_m_pos_get
, METH_VARARGS
| METH_KEYWORDS
},
41089 { (char *)"MoveEvent_m_rect_set", (PyCFunction
) _wrap_MoveEvent_m_rect_set
, METH_VARARGS
| METH_KEYWORDS
},
41090 { (char *)"MoveEvent_m_rect_get", (PyCFunction
) _wrap_MoveEvent_m_rect_get
, METH_VARARGS
| METH_KEYWORDS
},
41091 { (char *)"MoveEvent_swigregister", MoveEvent_swigregister
, METH_VARARGS
},
41092 { (char *)"new_PaintEvent", (PyCFunction
) _wrap_new_PaintEvent
, METH_VARARGS
| METH_KEYWORDS
},
41093 { (char *)"PaintEvent_swigregister", PaintEvent_swigregister
, METH_VARARGS
},
41094 { (char *)"new_NcPaintEvent", (PyCFunction
) _wrap_new_NcPaintEvent
, METH_VARARGS
| METH_KEYWORDS
},
41095 { (char *)"NcPaintEvent_swigregister", NcPaintEvent_swigregister
, METH_VARARGS
},
41096 { (char *)"new_EraseEvent", (PyCFunction
) _wrap_new_EraseEvent
, METH_VARARGS
| METH_KEYWORDS
},
41097 { (char *)"EraseEvent_GetDC", (PyCFunction
) _wrap_EraseEvent_GetDC
, METH_VARARGS
| METH_KEYWORDS
},
41098 { (char *)"EraseEvent_swigregister", EraseEvent_swigregister
, METH_VARARGS
},
41099 { (char *)"new_FocusEvent", (PyCFunction
) _wrap_new_FocusEvent
, METH_VARARGS
| METH_KEYWORDS
},
41100 { (char *)"FocusEvent_GetWindow", (PyCFunction
) _wrap_FocusEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
41101 { (char *)"FocusEvent_SetWindow", (PyCFunction
) _wrap_FocusEvent_SetWindow
, METH_VARARGS
| METH_KEYWORDS
},
41102 { (char *)"FocusEvent_swigregister", FocusEvent_swigregister
, METH_VARARGS
},
41103 { (char *)"new_ChildFocusEvent", (PyCFunction
) _wrap_new_ChildFocusEvent
, METH_VARARGS
| METH_KEYWORDS
},
41104 { (char *)"ChildFocusEvent_GetWindow", (PyCFunction
) _wrap_ChildFocusEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
41105 { (char *)"ChildFocusEvent_swigregister", ChildFocusEvent_swigregister
, METH_VARARGS
},
41106 { (char *)"new_ActivateEvent", (PyCFunction
) _wrap_new_ActivateEvent
, METH_VARARGS
| METH_KEYWORDS
},
41107 { (char *)"ActivateEvent_GetActive", (PyCFunction
) _wrap_ActivateEvent_GetActive
, METH_VARARGS
| METH_KEYWORDS
},
41108 { (char *)"ActivateEvent_swigregister", ActivateEvent_swigregister
, METH_VARARGS
},
41109 { (char *)"new_InitDialogEvent", (PyCFunction
) _wrap_new_InitDialogEvent
, METH_VARARGS
| METH_KEYWORDS
},
41110 { (char *)"InitDialogEvent_swigregister", InitDialogEvent_swigregister
, METH_VARARGS
},
41111 { (char *)"new_MenuEvent", (PyCFunction
) _wrap_new_MenuEvent
, METH_VARARGS
| METH_KEYWORDS
},
41112 { (char *)"MenuEvent_GetMenuId", (PyCFunction
) _wrap_MenuEvent_GetMenuId
, METH_VARARGS
| METH_KEYWORDS
},
41113 { (char *)"MenuEvent_IsPopup", (PyCFunction
) _wrap_MenuEvent_IsPopup
, METH_VARARGS
| METH_KEYWORDS
},
41114 { (char *)"MenuEvent_GetMenu", (PyCFunction
) _wrap_MenuEvent_GetMenu
, METH_VARARGS
| METH_KEYWORDS
},
41115 { (char *)"MenuEvent_swigregister", MenuEvent_swigregister
, METH_VARARGS
},
41116 { (char *)"new_CloseEvent", (PyCFunction
) _wrap_new_CloseEvent
, METH_VARARGS
| METH_KEYWORDS
},
41117 { (char *)"CloseEvent_SetLoggingOff", (PyCFunction
) _wrap_CloseEvent_SetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
},
41118 { (char *)"CloseEvent_GetLoggingOff", (PyCFunction
) _wrap_CloseEvent_GetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
},
41119 { (char *)"CloseEvent_Veto", (PyCFunction
) _wrap_CloseEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
},
41120 { (char *)"CloseEvent_SetCanVeto", (PyCFunction
) _wrap_CloseEvent_SetCanVeto
, METH_VARARGS
| METH_KEYWORDS
},
41121 { (char *)"CloseEvent_CanVeto", (PyCFunction
) _wrap_CloseEvent_CanVeto
, METH_VARARGS
| METH_KEYWORDS
},
41122 { (char *)"CloseEvent_GetVeto", (PyCFunction
) _wrap_CloseEvent_GetVeto
, METH_VARARGS
| METH_KEYWORDS
},
41123 { (char *)"CloseEvent_swigregister", CloseEvent_swigregister
, METH_VARARGS
},
41124 { (char *)"new_ShowEvent", (PyCFunction
) _wrap_new_ShowEvent
, METH_VARARGS
| METH_KEYWORDS
},
41125 { (char *)"ShowEvent_SetShow", (PyCFunction
) _wrap_ShowEvent_SetShow
, METH_VARARGS
| METH_KEYWORDS
},
41126 { (char *)"ShowEvent_GetShow", (PyCFunction
) _wrap_ShowEvent_GetShow
, METH_VARARGS
| METH_KEYWORDS
},
41127 { (char *)"ShowEvent_swigregister", ShowEvent_swigregister
, METH_VARARGS
},
41128 { (char *)"new_IconizeEvent", (PyCFunction
) _wrap_new_IconizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
41129 { (char *)"IconizeEvent_Iconized", (PyCFunction
) _wrap_IconizeEvent_Iconized
, METH_VARARGS
| METH_KEYWORDS
},
41130 { (char *)"IconizeEvent_swigregister", IconizeEvent_swigregister
, METH_VARARGS
},
41131 { (char *)"new_MaximizeEvent", (PyCFunction
) _wrap_new_MaximizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
41132 { (char *)"MaximizeEvent_swigregister", MaximizeEvent_swigregister
, METH_VARARGS
},
41133 { (char *)"DropFilesEvent_GetPosition", (PyCFunction
) _wrap_DropFilesEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
41134 { (char *)"DropFilesEvent_GetNumberOfFiles", (PyCFunction
) _wrap_DropFilesEvent_GetNumberOfFiles
, METH_VARARGS
| METH_KEYWORDS
},
41135 { (char *)"DropFilesEvent_GetFiles", (PyCFunction
) _wrap_DropFilesEvent_GetFiles
, METH_VARARGS
| METH_KEYWORDS
},
41136 { (char *)"DropFilesEvent_swigregister", DropFilesEvent_swigregister
, METH_VARARGS
},
41137 { (char *)"new_UpdateUIEvent", (PyCFunction
) _wrap_new_UpdateUIEvent
, METH_VARARGS
| METH_KEYWORDS
},
41138 { (char *)"UpdateUIEvent_GetChecked", (PyCFunction
) _wrap_UpdateUIEvent_GetChecked
, METH_VARARGS
| METH_KEYWORDS
},
41139 { (char *)"UpdateUIEvent_GetEnabled", (PyCFunction
) _wrap_UpdateUIEvent_GetEnabled
, METH_VARARGS
| METH_KEYWORDS
},
41140 { (char *)"UpdateUIEvent_GetText", (PyCFunction
) _wrap_UpdateUIEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
},
41141 { (char *)"UpdateUIEvent_GetSetText", (PyCFunction
) _wrap_UpdateUIEvent_GetSetText
, METH_VARARGS
| METH_KEYWORDS
},
41142 { (char *)"UpdateUIEvent_GetSetChecked", (PyCFunction
) _wrap_UpdateUIEvent_GetSetChecked
, METH_VARARGS
| METH_KEYWORDS
},
41143 { (char *)"UpdateUIEvent_GetSetEnabled", (PyCFunction
) _wrap_UpdateUIEvent_GetSetEnabled
, METH_VARARGS
| METH_KEYWORDS
},
41144 { (char *)"UpdateUIEvent_Check", (PyCFunction
) _wrap_UpdateUIEvent_Check
, METH_VARARGS
| METH_KEYWORDS
},
41145 { (char *)"UpdateUIEvent_Enable", (PyCFunction
) _wrap_UpdateUIEvent_Enable
, METH_VARARGS
| METH_KEYWORDS
},
41146 { (char *)"UpdateUIEvent_SetText", (PyCFunction
) _wrap_UpdateUIEvent_SetText
, METH_VARARGS
| METH_KEYWORDS
},
41147 { (char *)"UpdateUIEvent_SetUpdateInterval", (PyCFunction
) _wrap_UpdateUIEvent_SetUpdateInterval
, METH_VARARGS
| METH_KEYWORDS
},
41148 { (char *)"UpdateUIEvent_GetUpdateInterval", (PyCFunction
) _wrap_UpdateUIEvent_GetUpdateInterval
, METH_VARARGS
| METH_KEYWORDS
},
41149 { (char *)"UpdateUIEvent_CanUpdate", (PyCFunction
) _wrap_UpdateUIEvent_CanUpdate
, METH_VARARGS
| METH_KEYWORDS
},
41150 { (char *)"UpdateUIEvent_ResetUpdateTime", (PyCFunction
) _wrap_UpdateUIEvent_ResetUpdateTime
, METH_VARARGS
| METH_KEYWORDS
},
41151 { (char *)"UpdateUIEvent_SetMode", (PyCFunction
) _wrap_UpdateUIEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
},
41152 { (char *)"UpdateUIEvent_GetMode", (PyCFunction
) _wrap_UpdateUIEvent_GetMode
, METH_VARARGS
| METH_KEYWORDS
},
41153 { (char *)"UpdateUIEvent_swigregister", UpdateUIEvent_swigregister
, METH_VARARGS
},
41154 { (char *)"new_SysColourChangedEvent", (PyCFunction
) _wrap_new_SysColourChangedEvent
, METH_VARARGS
| METH_KEYWORDS
},
41155 { (char *)"SysColourChangedEvent_swigregister", SysColourChangedEvent_swigregister
, METH_VARARGS
},
41156 { (char *)"new_MouseCaptureChangedEvent", (PyCFunction
) _wrap_new_MouseCaptureChangedEvent
, METH_VARARGS
| METH_KEYWORDS
},
41157 { (char *)"MouseCaptureChangedEvent_GetCapturedWindow", (PyCFunction
) _wrap_MouseCaptureChangedEvent_GetCapturedWindow
, METH_VARARGS
| METH_KEYWORDS
},
41158 { (char *)"MouseCaptureChangedEvent_swigregister", MouseCaptureChangedEvent_swigregister
, METH_VARARGS
},
41159 { (char *)"new_DisplayChangedEvent", (PyCFunction
) _wrap_new_DisplayChangedEvent
, METH_VARARGS
| METH_KEYWORDS
},
41160 { (char *)"DisplayChangedEvent_swigregister", DisplayChangedEvent_swigregister
, METH_VARARGS
},
41161 { (char *)"new_PaletteChangedEvent", (PyCFunction
) _wrap_new_PaletteChangedEvent
, METH_VARARGS
| METH_KEYWORDS
},
41162 { (char *)"PaletteChangedEvent_SetChangedWindow", (PyCFunction
) _wrap_PaletteChangedEvent_SetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
},
41163 { (char *)"PaletteChangedEvent_GetChangedWindow", (PyCFunction
) _wrap_PaletteChangedEvent_GetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
},
41164 { (char *)"PaletteChangedEvent_swigregister", PaletteChangedEvent_swigregister
, METH_VARARGS
},
41165 { (char *)"new_QueryNewPaletteEvent", (PyCFunction
) _wrap_new_QueryNewPaletteEvent
, METH_VARARGS
| METH_KEYWORDS
},
41166 { (char *)"QueryNewPaletteEvent_SetPaletteRealized", (PyCFunction
) _wrap_QueryNewPaletteEvent_SetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
},
41167 { (char *)"QueryNewPaletteEvent_GetPaletteRealized", (PyCFunction
) _wrap_QueryNewPaletteEvent_GetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
},
41168 { (char *)"QueryNewPaletteEvent_swigregister", QueryNewPaletteEvent_swigregister
, METH_VARARGS
},
41169 { (char *)"new_NavigationKeyEvent", (PyCFunction
) _wrap_new_NavigationKeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
41170 { (char *)"NavigationKeyEvent_GetDirection", (PyCFunction
) _wrap_NavigationKeyEvent_GetDirection
, METH_VARARGS
| METH_KEYWORDS
},
41171 { (char *)"NavigationKeyEvent_SetDirection", (PyCFunction
) _wrap_NavigationKeyEvent_SetDirection
, METH_VARARGS
| METH_KEYWORDS
},
41172 { (char *)"NavigationKeyEvent_IsWindowChange", (PyCFunction
) _wrap_NavigationKeyEvent_IsWindowChange
, METH_VARARGS
| METH_KEYWORDS
},
41173 { (char *)"NavigationKeyEvent_SetWindowChange", (PyCFunction
) _wrap_NavigationKeyEvent_SetWindowChange
, METH_VARARGS
| METH_KEYWORDS
},
41174 { (char *)"NavigationKeyEvent_SetFlags", (PyCFunction
) _wrap_NavigationKeyEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
41175 { (char *)"NavigationKeyEvent_GetCurrentFocus", (PyCFunction
) _wrap_NavigationKeyEvent_GetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
},
41176 { (char *)"NavigationKeyEvent_SetCurrentFocus", (PyCFunction
) _wrap_NavigationKeyEvent_SetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
},
41177 { (char *)"NavigationKeyEvent_swigregister", NavigationKeyEvent_swigregister
, METH_VARARGS
},
41178 { (char *)"new_WindowCreateEvent", (PyCFunction
) _wrap_new_WindowCreateEvent
, METH_VARARGS
| METH_KEYWORDS
},
41179 { (char *)"WindowCreateEvent_GetWindow", (PyCFunction
) _wrap_WindowCreateEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
41180 { (char *)"WindowCreateEvent_swigregister", WindowCreateEvent_swigregister
, METH_VARARGS
},
41181 { (char *)"new_WindowDestroyEvent", (PyCFunction
) _wrap_new_WindowDestroyEvent
, METH_VARARGS
| METH_KEYWORDS
},
41182 { (char *)"WindowDestroyEvent_GetWindow", (PyCFunction
) _wrap_WindowDestroyEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
41183 { (char *)"WindowDestroyEvent_swigregister", WindowDestroyEvent_swigregister
, METH_VARARGS
},
41184 { (char *)"new_ContextMenuEvent", (PyCFunction
) _wrap_new_ContextMenuEvent
, METH_VARARGS
| METH_KEYWORDS
},
41185 { (char *)"ContextMenuEvent_GetPosition", (PyCFunction
) _wrap_ContextMenuEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
41186 { (char *)"ContextMenuEvent_SetPosition", (PyCFunction
) _wrap_ContextMenuEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
41187 { (char *)"ContextMenuEvent_swigregister", ContextMenuEvent_swigregister
, METH_VARARGS
},
41188 { (char *)"new_IdleEvent", (PyCFunction
) _wrap_new_IdleEvent
, METH_VARARGS
| METH_KEYWORDS
},
41189 { (char *)"IdleEvent_RequestMore", (PyCFunction
) _wrap_IdleEvent_RequestMore
, METH_VARARGS
| METH_KEYWORDS
},
41190 { (char *)"IdleEvent_MoreRequested", (PyCFunction
) _wrap_IdleEvent_MoreRequested
, METH_VARARGS
| METH_KEYWORDS
},
41191 { (char *)"IdleEvent_SetMode", (PyCFunction
) _wrap_IdleEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
},
41192 { (char *)"IdleEvent_GetMode", (PyCFunction
) _wrap_IdleEvent_GetMode
, METH_VARARGS
| METH_KEYWORDS
},
41193 { (char *)"IdleEvent_CanSend", (PyCFunction
) _wrap_IdleEvent_CanSend
, METH_VARARGS
| METH_KEYWORDS
},
41194 { (char *)"IdleEvent_swigregister", IdleEvent_swigregister
, METH_VARARGS
},
41195 { (char *)"new_PyEvent", (PyCFunction
) _wrap_new_PyEvent
, METH_VARARGS
| METH_KEYWORDS
},
41196 { (char *)"delete_PyEvent", (PyCFunction
) _wrap_delete_PyEvent
, METH_VARARGS
| METH_KEYWORDS
},
41197 { (char *)"PyEvent_SetSelf", (PyCFunction
) _wrap_PyEvent_SetSelf
, METH_VARARGS
| METH_KEYWORDS
},
41198 { (char *)"PyEvent_GetSelf", (PyCFunction
) _wrap_PyEvent_GetSelf
, METH_VARARGS
| METH_KEYWORDS
},
41199 { (char *)"PyEvent_swigregister", PyEvent_swigregister
, METH_VARARGS
},
41200 { (char *)"new_PyCommandEvent", (PyCFunction
) _wrap_new_PyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
},
41201 { (char *)"delete_PyCommandEvent", (PyCFunction
) _wrap_delete_PyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
},
41202 { (char *)"PyCommandEvent_SetSelf", (PyCFunction
) _wrap_PyCommandEvent_SetSelf
, METH_VARARGS
| METH_KEYWORDS
},
41203 { (char *)"PyCommandEvent_GetSelf", (PyCFunction
) _wrap_PyCommandEvent_GetSelf
, METH_VARARGS
| METH_KEYWORDS
},
41204 { (char *)"PyCommandEvent_swigregister", PyCommandEvent_swigregister
, METH_VARARGS
},
41205 { (char *)"new_PyApp", (PyCFunction
) _wrap_new_PyApp
, METH_VARARGS
| METH_KEYWORDS
},
41206 { (char *)"delete_PyApp", (PyCFunction
) _wrap_delete_PyApp
, METH_VARARGS
| METH_KEYWORDS
},
41207 { (char *)"PyApp__setCallbackInfo", (PyCFunction
) _wrap_PyApp__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
41208 { (char *)"PyApp_GetAppName", (PyCFunction
) _wrap_PyApp_GetAppName
, METH_VARARGS
| METH_KEYWORDS
},
41209 { (char *)"PyApp_SetAppName", (PyCFunction
) _wrap_PyApp_SetAppName
, METH_VARARGS
| METH_KEYWORDS
},
41210 { (char *)"PyApp_GetClassName", (PyCFunction
) _wrap_PyApp_GetClassName
, METH_VARARGS
| METH_KEYWORDS
},
41211 { (char *)"PyApp_SetClassName", (PyCFunction
) _wrap_PyApp_SetClassName
, METH_VARARGS
| METH_KEYWORDS
},
41212 { (char *)"PyApp_GetVendorName", (PyCFunction
) _wrap_PyApp_GetVendorName
, METH_VARARGS
| METH_KEYWORDS
},
41213 { (char *)"PyApp_SetVendorName", (PyCFunction
) _wrap_PyApp_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
},
41214 { (char *)"PyApp_GetTraits", (PyCFunction
) _wrap_PyApp_GetTraits
, METH_VARARGS
| METH_KEYWORDS
},
41215 { (char *)"PyApp_ProcessPendingEvents", (PyCFunction
) _wrap_PyApp_ProcessPendingEvents
, METH_VARARGS
| METH_KEYWORDS
},
41216 { (char *)"PyApp_Yield", (PyCFunction
) _wrap_PyApp_Yield
, METH_VARARGS
| METH_KEYWORDS
},
41217 { (char *)"PyApp_WakeUpIdle", (PyCFunction
) _wrap_PyApp_WakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
},
41218 { (char *)"PyApp_MainLoop", (PyCFunction
) _wrap_PyApp_MainLoop
, METH_VARARGS
| METH_KEYWORDS
},
41219 { (char *)"PyApp_Exit", (PyCFunction
) _wrap_PyApp_Exit
, METH_VARARGS
| METH_KEYWORDS
},
41220 { (char *)"PyApp_ExitMainLoop", (PyCFunction
) _wrap_PyApp_ExitMainLoop
, METH_VARARGS
| METH_KEYWORDS
},
41221 { (char *)"PyApp_Pending", (PyCFunction
) _wrap_PyApp_Pending
, METH_VARARGS
| METH_KEYWORDS
},
41222 { (char *)"PyApp_Dispatch", (PyCFunction
) _wrap_PyApp_Dispatch
, METH_VARARGS
| METH_KEYWORDS
},
41223 { (char *)"PyApp_ProcessIdle", (PyCFunction
) _wrap_PyApp_ProcessIdle
, METH_VARARGS
| METH_KEYWORDS
},
41224 { (char *)"PyApp_SendIdleEvents", (PyCFunction
) _wrap_PyApp_SendIdleEvents
, METH_VARARGS
| METH_KEYWORDS
},
41225 { (char *)"PyApp_IsActive", (PyCFunction
) _wrap_PyApp_IsActive
, METH_VARARGS
| METH_KEYWORDS
},
41226 { (char *)"PyApp_SetTopWindow", (PyCFunction
) _wrap_PyApp_SetTopWindow
, METH_VARARGS
| METH_KEYWORDS
},
41227 { (char *)"PyApp_GetTopWindow", (PyCFunction
) _wrap_PyApp_GetTopWindow
, METH_VARARGS
| METH_KEYWORDS
},
41228 { (char *)"PyApp_SetExitOnFrameDelete", (PyCFunction
) _wrap_PyApp_SetExitOnFrameDelete
, METH_VARARGS
| METH_KEYWORDS
},
41229 { (char *)"PyApp_GetExitOnFrameDelete", (PyCFunction
) _wrap_PyApp_GetExitOnFrameDelete
, METH_VARARGS
| METH_KEYWORDS
},
41230 { (char *)"PyApp_SetUseBestVisual", (PyCFunction
) _wrap_PyApp_SetUseBestVisual
, METH_VARARGS
| METH_KEYWORDS
},
41231 { (char *)"PyApp_GetUseBestVisual", (PyCFunction
) _wrap_PyApp_GetUseBestVisual
, METH_VARARGS
| METH_KEYWORDS
},
41232 { (char *)"PyApp_SetPrintMode", (PyCFunction
) _wrap_PyApp_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
},
41233 { (char *)"PyApp_GetPrintMode", (PyCFunction
) _wrap_PyApp_GetPrintMode
, METH_VARARGS
| METH_KEYWORDS
},
41234 { (char *)"PyApp_SetAssertMode", (PyCFunction
) _wrap_PyApp_SetAssertMode
, METH_VARARGS
| METH_KEYWORDS
},
41235 { (char *)"PyApp_GetAssertMode", (PyCFunction
) _wrap_PyApp_GetAssertMode
, METH_VARARGS
| METH_KEYWORDS
},
41236 { (char *)"PyApp_GetMacSupportPCMenuShortcuts", (PyCFunction
) _wrap_PyApp_GetMacSupportPCMenuShortcuts
, METH_VARARGS
| METH_KEYWORDS
},
41237 { (char *)"PyApp_GetMacAboutMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacAboutMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
41238 { (char *)"PyApp_GetMacPreferencesMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacPreferencesMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
41239 { (char *)"PyApp_GetMacExitMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacExitMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
41240 { (char *)"PyApp_GetMacHelpMenuTitleName", (PyCFunction
) _wrap_PyApp_GetMacHelpMenuTitleName
, METH_VARARGS
| METH_KEYWORDS
},
41241 { (char *)"PyApp_SetMacSupportPCMenuShortcuts", (PyCFunction
) _wrap_PyApp_SetMacSupportPCMenuShortcuts
, METH_VARARGS
| METH_KEYWORDS
},
41242 { (char *)"PyApp_SetMacAboutMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacAboutMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
41243 { (char *)"PyApp_SetMacPreferencesMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacPreferencesMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
41244 { (char *)"PyApp_SetMacExitMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacExitMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
41245 { (char *)"PyApp_SetMacHelpMenuTitleName", (PyCFunction
) _wrap_PyApp_SetMacHelpMenuTitleName
, METH_VARARGS
| METH_KEYWORDS
},
41246 { (char *)"PyApp__BootstrapApp", (PyCFunction
) _wrap_PyApp__BootstrapApp
, METH_VARARGS
| METH_KEYWORDS
},
41247 { (char *)"PyApp_GetComCtl32Version", (PyCFunction
) _wrap_PyApp_GetComCtl32Version
, METH_VARARGS
| METH_KEYWORDS
},
41248 { (char *)"PyApp_swigregister", PyApp_swigregister
, METH_VARARGS
},
41249 { (char *)"Exit", (PyCFunction
) _wrap_Exit
, METH_VARARGS
| METH_KEYWORDS
},
41250 { (char *)"Yield", (PyCFunction
) _wrap_Yield
, METH_VARARGS
| METH_KEYWORDS
},
41251 { (char *)"YieldIfNeeded", (PyCFunction
) _wrap_YieldIfNeeded
, METH_VARARGS
| METH_KEYWORDS
},
41252 { (char *)"SafeYield", (PyCFunction
) _wrap_SafeYield
, METH_VARARGS
| METH_KEYWORDS
},
41253 { (char *)"WakeUpIdle", (PyCFunction
) _wrap_WakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
},
41254 { (char *)"PostEvent", (PyCFunction
) _wrap_PostEvent
, METH_VARARGS
| METH_KEYWORDS
},
41255 { (char *)"App_CleanUp", (PyCFunction
) _wrap_App_CleanUp
, METH_VARARGS
| METH_KEYWORDS
},
41256 { (char *)"GetApp", (PyCFunction
) _wrap_GetApp
, METH_VARARGS
| METH_KEYWORDS
},
41257 { (char *)"new_AcceleratorEntry", (PyCFunction
) _wrap_new_AcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
},
41258 { (char *)"delete_AcceleratorEntry", (PyCFunction
) _wrap_delete_AcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
},
41259 { (char *)"AcceleratorEntry_Set", (PyCFunction
) _wrap_AcceleratorEntry_Set
, METH_VARARGS
| METH_KEYWORDS
},
41260 { (char *)"AcceleratorEntry_GetFlags", (PyCFunction
) _wrap_AcceleratorEntry_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
41261 { (char *)"AcceleratorEntry_GetKeyCode", (PyCFunction
) _wrap_AcceleratorEntry_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
41262 { (char *)"AcceleratorEntry_GetCommand", (PyCFunction
) _wrap_AcceleratorEntry_GetCommand
, METH_VARARGS
| METH_KEYWORDS
},
41263 { (char *)"AcceleratorEntry_swigregister", AcceleratorEntry_swigregister
, METH_VARARGS
},
41264 { (char *)"new_AcceleratorTable", (PyCFunction
) _wrap_new_AcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
41265 { (char *)"delete_AcceleratorTable", (PyCFunction
) _wrap_delete_AcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
41266 { (char *)"AcceleratorTable_Ok", (PyCFunction
) _wrap_AcceleratorTable_Ok
, METH_VARARGS
| METH_KEYWORDS
},
41267 { (char *)"AcceleratorTable_swigregister", AcceleratorTable_swigregister
, METH_VARARGS
},
41268 { (char *)"GetAccelFromString", (PyCFunction
) _wrap_GetAccelFromString
, METH_VARARGS
| METH_KEYWORDS
},
41269 { (char *)"new_VisualAttributes", (PyCFunction
) _wrap_new_VisualAttributes
, METH_VARARGS
| METH_KEYWORDS
},
41270 { (char *)"delete_VisualAttributes", (PyCFunction
) _wrap_delete_VisualAttributes
, METH_VARARGS
| METH_KEYWORDS
},
41271 { (char *)"VisualAttributes_font_set", (PyCFunction
) _wrap_VisualAttributes_font_set
, METH_VARARGS
| METH_KEYWORDS
},
41272 { (char *)"VisualAttributes_font_get", (PyCFunction
) _wrap_VisualAttributes_font_get
, METH_VARARGS
| METH_KEYWORDS
},
41273 { (char *)"VisualAttributes_colFg_set", (PyCFunction
) _wrap_VisualAttributes_colFg_set
, METH_VARARGS
| METH_KEYWORDS
},
41274 { (char *)"VisualAttributes_colFg_get", (PyCFunction
) _wrap_VisualAttributes_colFg_get
, METH_VARARGS
| METH_KEYWORDS
},
41275 { (char *)"VisualAttributes_colBg_set", (PyCFunction
) _wrap_VisualAttributes_colBg_set
, METH_VARARGS
| METH_KEYWORDS
},
41276 { (char *)"VisualAttributes_colBg_get", (PyCFunction
) _wrap_VisualAttributes_colBg_get
, METH_VARARGS
| METH_KEYWORDS
},
41277 { (char *)"VisualAttributes_swigregister", VisualAttributes_swigregister
, METH_VARARGS
},
41278 { (char *)"new_Window", (PyCFunction
) _wrap_new_Window
, METH_VARARGS
| METH_KEYWORDS
},
41279 { (char *)"new_PreWindow", (PyCFunction
) _wrap_new_PreWindow
, METH_VARARGS
| METH_KEYWORDS
},
41280 { (char *)"Window_Create", (PyCFunction
) _wrap_Window_Create
, METH_VARARGS
| METH_KEYWORDS
},
41281 { (char *)"Window_Close", (PyCFunction
) _wrap_Window_Close
, METH_VARARGS
| METH_KEYWORDS
},
41282 { (char *)"Window_Destroy", (PyCFunction
) _wrap_Window_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
41283 { (char *)"Window_DestroyChildren", (PyCFunction
) _wrap_Window_DestroyChildren
, METH_VARARGS
| METH_KEYWORDS
},
41284 { (char *)"Window_IsBeingDeleted", (PyCFunction
) _wrap_Window_IsBeingDeleted
, METH_VARARGS
| METH_KEYWORDS
},
41285 { (char *)"Window_SetTitle", (PyCFunction
) _wrap_Window_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
41286 { (char *)"Window_GetTitle", (PyCFunction
) _wrap_Window_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
41287 { (char *)"Window_SetLabel", (PyCFunction
) _wrap_Window_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
41288 { (char *)"Window_GetLabel", (PyCFunction
) _wrap_Window_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
41289 { (char *)"Window_SetName", (PyCFunction
) _wrap_Window_SetName
, METH_VARARGS
| METH_KEYWORDS
},
41290 { (char *)"Window_GetName", (PyCFunction
) _wrap_Window_GetName
, METH_VARARGS
| METH_KEYWORDS
},
41291 { (char *)"Window_SetWindowVariant", (PyCFunction
) _wrap_Window_SetWindowVariant
, METH_VARARGS
| METH_KEYWORDS
},
41292 { (char *)"Window_GetWindowVariant", (PyCFunction
) _wrap_Window_GetWindowVariant
, METH_VARARGS
| METH_KEYWORDS
},
41293 { (char *)"Window_SetId", (PyCFunction
) _wrap_Window_SetId
, METH_VARARGS
| METH_KEYWORDS
},
41294 { (char *)"Window_GetId", (PyCFunction
) _wrap_Window_GetId
, METH_VARARGS
| METH_KEYWORDS
},
41295 { (char *)"Window_NewControlId", (PyCFunction
) _wrap_Window_NewControlId
, METH_VARARGS
| METH_KEYWORDS
},
41296 { (char *)"Window_NextControlId", (PyCFunction
) _wrap_Window_NextControlId
, METH_VARARGS
| METH_KEYWORDS
},
41297 { (char *)"Window_PrevControlId", (PyCFunction
) _wrap_Window_PrevControlId
, METH_VARARGS
| METH_KEYWORDS
},
41298 { (char *)"Window_SetSize", (PyCFunction
) _wrap_Window_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
41299 { (char *)"Window_SetDimensions", (PyCFunction
) _wrap_Window_SetDimensions
, METH_VARARGS
| METH_KEYWORDS
},
41300 { (char *)"Window_SetRect", (PyCFunction
) _wrap_Window_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
41301 { (char *)"Window_SetSizeWH", (PyCFunction
) _wrap_Window_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
41302 { (char *)"Window_Move", (PyCFunction
) _wrap_Window_Move
, METH_VARARGS
| METH_KEYWORDS
},
41303 { (char *)"Window_MoveXY", (PyCFunction
) _wrap_Window_MoveXY
, METH_VARARGS
| METH_KEYWORDS
},
41304 { (char *)"Window_SetBestFittingSize", (PyCFunction
) _wrap_Window_SetBestFittingSize
, METH_VARARGS
| METH_KEYWORDS
},
41305 { (char *)"Window_Raise", (PyCFunction
) _wrap_Window_Raise
, METH_VARARGS
| METH_KEYWORDS
},
41306 { (char *)"Window_Lower", (PyCFunction
) _wrap_Window_Lower
, METH_VARARGS
| METH_KEYWORDS
},
41307 { (char *)"Window_SetClientSize", (PyCFunction
) _wrap_Window_SetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
41308 { (char *)"Window_SetClientSizeWH", (PyCFunction
) _wrap_Window_SetClientSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
41309 { (char *)"Window_SetClientRect", (PyCFunction
) _wrap_Window_SetClientRect
, METH_VARARGS
| METH_KEYWORDS
},
41310 { (char *)"Window_GetPosition", (PyCFunction
) _wrap_Window_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
41311 { (char *)"Window_GetPositionTuple", (PyCFunction
) _wrap_Window_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
41312 { (char *)"Window_GetSize", (PyCFunction
) _wrap_Window_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
41313 { (char *)"Window_GetSizeTuple", (PyCFunction
) _wrap_Window_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
41314 { (char *)"Window_GetRect", (PyCFunction
) _wrap_Window_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
41315 { (char *)"Window_GetClientSize", (PyCFunction
) _wrap_Window_GetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
41316 { (char *)"Window_GetClientSizeTuple", (PyCFunction
) _wrap_Window_GetClientSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
41317 { (char *)"Window_GetClientAreaOrigin", (PyCFunction
) _wrap_Window_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
},
41318 { (char *)"Window_GetClientRect", (PyCFunction
) _wrap_Window_GetClientRect
, METH_VARARGS
| METH_KEYWORDS
},
41319 { (char *)"Window_GetBestSize", (PyCFunction
) _wrap_Window_GetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
41320 { (char *)"Window_GetBestSizeTuple", (PyCFunction
) _wrap_Window_GetBestSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
41321 { (char *)"Window_InvalidateBestSize", (PyCFunction
) _wrap_Window_InvalidateBestSize
, METH_VARARGS
| METH_KEYWORDS
},
41322 { (char *)"Window_GetBestFittingSize", (PyCFunction
) _wrap_Window_GetBestFittingSize
, METH_VARARGS
| METH_KEYWORDS
},
41323 { (char *)"Window_GetAdjustedBestSize", (PyCFunction
) _wrap_Window_GetAdjustedBestSize
, METH_VARARGS
| METH_KEYWORDS
},
41324 { (char *)"Window_Center", (PyCFunction
) _wrap_Window_Center
, METH_VARARGS
| METH_KEYWORDS
},
41325 { (char *)"Window_CenterOnScreen", (PyCFunction
) _wrap_Window_CenterOnScreen
, METH_VARARGS
| METH_KEYWORDS
},
41326 { (char *)"Window_CenterOnParent", (PyCFunction
) _wrap_Window_CenterOnParent
, METH_VARARGS
| METH_KEYWORDS
},
41327 { (char *)"Window_Fit", (PyCFunction
) _wrap_Window_Fit
, METH_VARARGS
| METH_KEYWORDS
},
41328 { (char *)"Window_FitInside", (PyCFunction
) _wrap_Window_FitInside
, METH_VARARGS
| METH_KEYWORDS
},
41329 { (char *)"Window_SetSizeHints", _wrap_Window_SetSizeHints
, METH_VARARGS
},
41330 { (char *)"Window_SetVirtualSizeHints", _wrap_Window_SetVirtualSizeHints
, METH_VARARGS
},
41331 { (char *)"Window_GetMaxSize", (PyCFunction
) _wrap_Window_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
41332 { (char *)"Window_GetMinSize", (PyCFunction
) _wrap_Window_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
41333 { (char *)"Window_SetMinSize", (PyCFunction
) _wrap_Window_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
41334 { (char *)"Window_SetMaxSize", (PyCFunction
) _wrap_Window_SetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
41335 { (char *)"Window_GetMinWidth", (PyCFunction
) _wrap_Window_GetMinWidth
, METH_VARARGS
| METH_KEYWORDS
},
41336 { (char *)"Window_GetMinHeight", (PyCFunction
) _wrap_Window_GetMinHeight
, METH_VARARGS
| METH_KEYWORDS
},
41337 { (char *)"Window_GetMaxWidth", (PyCFunction
) _wrap_Window_GetMaxWidth
, METH_VARARGS
| METH_KEYWORDS
},
41338 { (char *)"Window_GetMaxHeight", (PyCFunction
) _wrap_Window_GetMaxHeight
, METH_VARARGS
| METH_KEYWORDS
},
41339 { (char *)"Window_SetVirtualSize", (PyCFunction
) _wrap_Window_SetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
41340 { (char *)"Window_SetVirtualSizeWH", (PyCFunction
) _wrap_Window_SetVirtualSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
41341 { (char *)"Window_GetVirtualSize", (PyCFunction
) _wrap_Window_GetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
41342 { (char *)"Window_GetVirtualSizeTuple", (PyCFunction
) _wrap_Window_GetVirtualSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
41343 { (char *)"Window_GetBestVirtualSize", (PyCFunction
) _wrap_Window_GetBestVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
41344 { (char *)"Window_Show", (PyCFunction
) _wrap_Window_Show
, METH_VARARGS
| METH_KEYWORDS
},
41345 { (char *)"Window_Hide", (PyCFunction
) _wrap_Window_Hide
, METH_VARARGS
| METH_KEYWORDS
},
41346 { (char *)"Window_Enable", (PyCFunction
) _wrap_Window_Enable
, METH_VARARGS
| METH_KEYWORDS
},
41347 { (char *)"Window_Disable", (PyCFunction
) _wrap_Window_Disable
, METH_VARARGS
| METH_KEYWORDS
},
41348 { (char *)"Window_IsShown", (PyCFunction
) _wrap_Window_IsShown
, METH_VARARGS
| METH_KEYWORDS
},
41349 { (char *)"Window_IsEnabled", (PyCFunction
) _wrap_Window_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
41350 { (char *)"Window_SetWindowStyleFlag", (PyCFunction
) _wrap_Window_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
41351 { (char *)"Window_GetWindowStyleFlag", (PyCFunction
) _wrap_Window_GetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
41352 { (char *)"Window_HasFlag", (PyCFunction
) _wrap_Window_HasFlag
, METH_VARARGS
| METH_KEYWORDS
},
41353 { (char *)"Window_IsRetained", (PyCFunction
) _wrap_Window_IsRetained
, METH_VARARGS
| METH_KEYWORDS
},
41354 { (char *)"Window_SetExtraStyle", (PyCFunction
) _wrap_Window_SetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
},
41355 { (char *)"Window_GetExtraStyle", (PyCFunction
) _wrap_Window_GetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
},
41356 { (char *)"Window_MakeModal", (PyCFunction
) _wrap_Window_MakeModal
, METH_VARARGS
| METH_KEYWORDS
},
41357 { (char *)"Window_SetThemeEnabled", (PyCFunction
) _wrap_Window_SetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
},
41358 { (char *)"Window_GetThemeEnabled", (PyCFunction
) _wrap_Window_GetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
},
41359 { (char *)"Window_SetFocus", (PyCFunction
) _wrap_Window_SetFocus
, METH_VARARGS
| METH_KEYWORDS
},
41360 { (char *)"Window_SetFocusFromKbd", (PyCFunction
) _wrap_Window_SetFocusFromKbd
, METH_VARARGS
| METH_KEYWORDS
},
41361 { (char *)"Window_FindFocus", (PyCFunction
) _wrap_Window_FindFocus
, METH_VARARGS
| METH_KEYWORDS
},
41362 { (char *)"Window_AcceptsFocus", (PyCFunction
) _wrap_Window_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
41363 { (char *)"Window_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_Window_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
41364 { (char *)"Window_GetDefaultItem", (PyCFunction
) _wrap_Window_GetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
41365 { (char *)"Window_SetDefaultItem", (PyCFunction
) _wrap_Window_SetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
41366 { (char *)"Window_SetTmpDefaultItem", (PyCFunction
) _wrap_Window_SetTmpDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
41367 { (char *)"Window_Navigate", (PyCFunction
) _wrap_Window_Navigate
, METH_VARARGS
| METH_KEYWORDS
},
41368 { (char *)"Window_MoveAfterInTabOrder", (PyCFunction
) _wrap_Window_MoveAfterInTabOrder
, METH_VARARGS
| METH_KEYWORDS
},
41369 { (char *)"Window_MoveBeforeInTabOrder", (PyCFunction
) _wrap_Window_MoveBeforeInTabOrder
, METH_VARARGS
| METH_KEYWORDS
},
41370 { (char *)"Window_GetChildren", (PyCFunction
) _wrap_Window_GetChildren
, METH_VARARGS
| METH_KEYWORDS
},
41371 { (char *)"Window_GetParent", (PyCFunction
) _wrap_Window_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
41372 { (char *)"Window_GetGrandParent", (PyCFunction
) _wrap_Window_GetGrandParent
, METH_VARARGS
| METH_KEYWORDS
},
41373 { (char *)"Window_IsTopLevel", (PyCFunction
) _wrap_Window_IsTopLevel
, METH_VARARGS
| METH_KEYWORDS
},
41374 { (char *)"Window_Reparent", (PyCFunction
) _wrap_Window_Reparent
, METH_VARARGS
| METH_KEYWORDS
},
41375 { (char *)"Window_AddChild", (PyCFunction
) _wrap_Window_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
41376 { (char *)"Window_RemoveChild", (PyCFunction
) _wrap_Window_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
41377 { (char *)"Window_FindWindowById", (PyCFunction
) _wrap_Window_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
},
41378 { (char *)"Window_FindWindowByName", (PyCFunction
) _wrap_Window_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
},
41379 { (char *)"Window_GetEventHandler", (PyCFunction
) _wrap_Window_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
41380 { (char *)"Window_SetEventHandler", (PyCFunction
) _wrap_Window_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
41381 { (char *)"Window_PushEventHandler", (PyCFunction
) _wrap_Window_PushEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
41382 { (char *)"Window_PopEventHandler", (PyCFunction
) _wrap_Window_PopEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
41383 { (char *)"Window_RemoveEventHandler", (PyCFunction
) _wrap_Window_RemoveEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
41384 { (char *)"Window_SetValidator", (PyCFunction
) _wrap_Window_SetValidator
, METH_VARARGS
| METH_KEYWORDS
},
41385 { (char *)"Window_GetValidator", (PyCFunction
) _wrap_Window_GetValidator
, METH_VARARGS
| METH_KEYWORDS
},
41386 { (char *)"Window_Validate", (PyCFunction
) _wrap_Window_Validate
, METH_VARARGS
| METH_KEYWORDS
},
41387 { (char *)"Window_TransferDataToWindow", (PyCFunction
) _wrap_Window_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
41388 { (char *)"Window_TransferDataFromWindow", (PyCFunction
) _wrap_Window_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
41389 { (char *)"Window_InitDialog", (PyCFunction
) _wrap_Window_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
41390 { (char *)"Window_SetAcceleratorTable", (PyCFunction
) _wrap_Window_SetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
41391 { (char *)"Window_GetAcceleratorTable", (PyCFunction
) _wrap_Window_GetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
41392 { (char *)"Window_RegisterHotKey", (PyCFunction
) _wrap_Window_RegisterHotKey
, METH_VARARGS
| METH_KEYWORDS
},
41393 { (char *)"Window_UnregisterHotKey", (PyCFunction
) _wrap_Window_UnregisterHotKey
, METH_VARARGS
| METH_KEYWORDS
},
41394 { (char *)"Window_ConvertDialogPointToPixels", (PyCFunction
) _wrap_Window_ConvertDialogPointToPixels
, METH_VARARGS
| METH_KEYWORDS
},
41395 { (char *)"Window_ConvertDialogSizeToPixels", (PyCFunction
) _wrap_Window_ConvertDialogSizeToPixels
, METH_VARARGS
| METH_KEYWORDS
},
41396 { (char *)"Window_DLG_PNT", (PyCFunction
) _wrap_Window_DLG_PNT
, METH_VARARGS
| METH_KEYWORDS
},
41397 { (char *)"Window_DLG_SZE", (PyCFunction
) _wrap_Window_DLG_SZE
, METH_VARARGS
| METH_KEYWORDS
},
41398 { (char *)"Window_ConvertPixelPointToDialog", (PyCFunction
) _wrap_Window_ConvertPixelPointToDialog
, METH_VARARGS
| METH_KEYWORDS
},
41399 { (char *)"Window_ConvertPixelSizeToDialog", (PyCFunction
) _wrap_Window_ConvertPixelSizeToDialog
, METH_VARARGS
| METH_KEYWORDS
},
41400 { (char *)"Window_WarpPointer", (PyCFunction
) _wrap_Window_WarpPointer
, METH_VARARGS
| METH_KEYWORDS
},
41401 { (char *)"Window_CaptureMouse", (PyCFunction
) _wrap_Window_CaptureMouse
, METH_VARARGS
| METH_KEYWORDS
},
41402 { (char *)"Window_ReleaseMouse", (PyCFunction
) _wrap_Window_ReleaseMouse
, METH_VARARGS
| METH_KEYWORDS
},
41403 { (char *)"Window_GetCapture", (PyCFunction
) _wrap_Window_GetCapture
, METH_VARARGS
| METH_KEYWORDS
},
41404 { (char *)"Window_HasCapture", (PyCFunction
) _wrap_Window_HasCapture
, METH_VARARGS
| METH_KEYWORDS
},
41405 { (char *)"Window_Refresh", (PyCFunction
) _wrap_Window_Refresh
, METH_VARARGS
| METH_KEYWORDS
},
41406 { (char *)"Window_RefreshRect", (PyCFunction
) _wrap_Window_RefreshRect
, METH_VARARGS
| METH_KEYWORDS
},
41407 { (char *)"Window_Update", (PyCFunction
) _wrap_Window_Update
, METH_VARARGS
| METH_KEYWORDS
},
41408 { (char *)"Window_ClearBackground", (PyCFunction
) _wrap_Window_ClearBackground
, METH_VARARGS
| METH_KEYWORDS
},
41409 { (char *)"Window_Freeze", (PyCFunction
) _wrap_Window_Freeze
, METH_VARARGS
| METH_KEYWORDS
},
41410 { (char *)"Window_Thaw", (PyCFunction
) _wrap_Window_Thaw
, METH_VARARGS
| METH_KEYWORDS
},
41411 { (char *)"Window_PrepareDC", (PyCFunction
) _wrap_Window_PrepareDC
, METH_VARARGS
| METH_KEYWORDS
},
41412 { (char *)"Window_GetUpdateRegion", (PyCFunction
) _wrap_Window_GetUpdateRegion
, METH_VARARGS
| METH_KEYWORDS
},
41413 { (char *)"Window_GetUpdateClientRect", (PyCFunction
) _wrap_Window_GetUpdateClientRect
, METH_VARARGS
| METH_KEYWORDS
},
41414 { (char *)"Window_IsExposed", (PyCFunction
) _wrap_Window_IsExposed
, METH_VARARGS
| METH_KEYWORDS
},
41415 { (char *)"Window_IsExposedPoint", (PyCFunction
) _wrap_Window_IsExposedPoint
, METH_VARARGS
| METH_KEYWORDS
},
41416 { (char *)"Window_IsExposedRect", (PyCFunction
) _wrap_Window_IsExposedRect
, METH_VARARGS
| METH_KEYWORDS
},
41417 { (char *)"Window_GetDefaultAttributes", (PyCFunction
) _wrap_Window_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
41418 { (char *)"Window_GetClassDefaultAttributes", (PyCFunction
) _wrap_Window_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
41419 { (char *)"Window_SetBackgroundColour", (PyCFunction
) _wrap_Window_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
41420 { (char *)"Window_SetOwnBackgroundColour", (PyCFunction
) _wrap_Window_SetOwnBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
41421 { (char *)"Window_SetForegroundColour", (PyCFunction
) _wrap_Window_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
41422 { (char *)"Window_SetOwnForegroundColour", (PyCFunction
) _wrap_Window_SetOwnForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
41423 { (char *)"Window_GetBackgroundColour", (PyCFunction
) _wrap_Window_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
41424 { (char *)"Window_GetForegroundColour", (PyCFunction
) _wrap_Window_GetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
41425 { (char *)"Window_SetCursor", (PyCFunction
) _wrap_Window_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
41426 { (char *)"Window_GetCursor", (PyCFunction
) _wrap_Window_GetCursor
, METH_VARARGS
| METH_KEYWORDS
},
41427 { (char *)"Window_SetFont", (PyCFunction
) _wrap_Window_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
41428 { (char *)"Window_SetOwnFont", (PyCFunction
) _wrap_Window_SetOwnFont
, METH_VARARGS
| METH_KEYWORDS
},
41429 { (char *)"Window_GetFont", (PyCFunction
) _wrap_Window_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
41430 { (char *)"Window_SetCaret", (PyCFunction
) _wrap_Window_SetCaret
, METH_VARARGS
| METH_KEYWORDS
},
41431 { (char *)"Window_GetCaret", (PyCFunction
) _wrap_Window_GetCaret
, METH_VARARGS
| METH_KEYWORDS
},
41432 { (char *)"Window_GetCharHeight", (PyCFunction
) _wrap_Window_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
},
41433 { (char *)"Window_GetCharWidth", (PyCFunction
) _wrap_Window_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
},
41434 { (char *)"Window_GetTextExtent", (PyCFunction
) _wrap_Window_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
41435 { (char *)"Window_GetFullTextExtent", (PyCFunction
) _wrap_Window_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
41436 { (char *)"Window_ClientToScreenXY", (PyCFunction
) _wrap_Window_ClientToScreenXY
, METH_VARARGS
| METH_KEYWORDS
},
41437 { (char *)"Window_ScreenToClientXY", (PyCFunction
) _wrap_Window_ScreenToClientXY
, METH_VARARGS
| METH_KEYWORDS
},
41438 { (char *)"Window_ClientToScreen", (PyCFunction
) _wrap_Window_ClientToScreen
, METH_VARARGS
| METH_KEYWORDS
},
41439 { (char *)"Window_ScreenToClient", (PyCFunction
) _wrap_Window_ScreenToClient
, METH_VARARGS
| METH_KEYWORDS
},
41440 { (char *)"Window_HitTestXY", (PyCFunction
) _wrap_Window_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
},
41441 { (char *)"Window_HitTest", (PyCFunction
) _wrap_Window_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
41442 { (char *)"Window_GetBorder", _wrap_Window_GetBorder
, METH_VARARGS
},
41443 { (char *)"Window_UpdateWindowUI", (PyCFunction
) _wrap_Window_UpdateWindowUI
, METH_VARARGS
| METH_KEYWORDS
},
41444 { (char *)"Window_PopupMenuXY", (PyCFunction
) _wrap_Window_PopupMenuXY
, METH_VARARGS
| METH_KEYWORDS
},
41445 { (char *)"Window_PopupMenu", (PyCFunction
) _wrap_Window_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
},
41446 { (char *)"Window_GetHandle", (PyCFunction
) _wrap_Window_GetHandle
, METH_VARARGS
| METH_KEYWORDS
},
41447 { (char *)"Window_OnPaint", (PyCFunction
) _wrap_Window_OnPaint
, METH_VARARGS
| METH_KEYWORDS
},
41448 { (char *)"Window_HasScrollbar", (PyCFunction
) _wrap_Window_HasScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
41449 { (char *)"Window_SetScrollbar", (PyCFunction
) _wrap_Window_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
41450 { (char *)"Window_SetScrollPos", (PyCFunction
) _wrap_Window_SetScrollPos
, METH_VARARGS
| METH_KEYWORDS
},
41451 { (char *)"Window_GetScrollPos", (PyCFunction
) _wrap_Window_GetScrollPos
, METH_VARARGS
| METH_KEYWORDS
},
41452 { (char *)"Window_GetScrollThumb", (PyCFunction
) _wrap_Window_GetScrollThumb
, METH_VARARGS
| METH_KEYWORDS
},
41453 { (char *)"Window_GetScrollRange", (PyCFunction
) _wrap_Window_GetScrollRange
, METH_VARARGS
| METH_KEYWORDS
},
41454 { (char *)"Window_ScrollWindow", (PyCFunction
) _wrap_Window_ScrollWindow
, METH_VARARGS
| METH_KEYWORDS
},
41455 { (char *)"Window_ScrollLines", (PyCFunction
) _wrap_Window_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
},
41456 { (char *)"Window_ScrollPages", (PyCFunction
) _wrap_Window_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
},
41457 { (char *)"Window_LineUp", (PyCFunction
) _wrap_Window_LineUp
, METH_VARARGS
| METH_KEYWORDS
},
41458 { (char *)"Window_LineDown", (PyCFunction
) _wrap_Window_LineDown
, METH_VARARGS
| METH_KEYWORDS
},
41459 { (char *)"Window_PageUp", (PyCFunction
) _wrap_Window_PageUp
, METH_VARARGS
| METH_KEYWORDS
},
41460 { (char *)"Window_PageDown", (PyCFunction
) _wrap_Window_PageDown
, METH_VARARGS
| METH_KEYWORDS
},
41461 { (char *)"Window_SetHelpText", (PyCFunction
) _wrap_Window_SetHelpText
, METH_VARARGS
| METH_KEYWORDS
},
41462 { (char *)"Window_SetHelpTextForId", (PyCFunction
) _wrap_Window_SetHelpTextForId
, METH_VARARGS
| METH_KEYWORDS
},
41463 { (char *)"Window_GetHelpText", (PyCFunction
) _wrap_Window_GetHelpText
, METH_VARARGS
| METH_KEYWORDS
},
41464 { (char *)"Window_SetToolTipString", (PyCFunction
) _wrap_Window_SetToolTipString
, METH_VARARGS
| METH_KEYWORDS
},
41465 { (char *)"Window_SetToolTip", (PyCFunction
) _wrap_Window_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
41466 { (char *)"Window_GetToolTip", (PyCFunction
) _wrap_Window_GetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
41467 { (char *)"Window_SetDropTarget", (PyCFunction
) _wrap_Window_SetDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
41468 { (char *)"Window_GetDropTarget", (PyCFunction
) _wrap_Window_GetDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
41469 { (char *)"Window_DragAcceptFiles", (PyCFunction
) _wrap_Window_DragAcceptFiles
, METH_VARARGS
| METH_KEYWORDS
},
41470 { (char *)"Window_SetConstraints", (PyCFunction
) _wrap_Window_SetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
41471 { (char *)"Window_GetConstraints", (PyCFunction
) _wrap_Window_GetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
41472 { (char *)"Window_SetAutoLayout", (PyCFunction
) _wrap_Window_SetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
},
41473 { (char *)"Window_GetAutoLayout", (PyCFunction
) _wrap_Window_GetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
},
41474 { (char *)"Window_Layout", (PyCFunction
) _wrap_Window_Layout
, METH_VARARGS
| METH_KEYWORDS
},
41475 { (char *)"Window_SetSizer", (PyCFunction
) _wrap_Window_SetSizer
, METH_VARARGS
| METH_KEYWORDS
},
41476 { (char *)"Window_SetSizerAndFit", (PyCFunction
) _wrap_Window_SetSizerAndFit
, METH_VARARGS
| METH_KEYWORDS
},
41477 { (char *)"Window_GetSizer", (PyCFunction
) _wrap_Window_GetSizer
, METH_VARARGS
| METH_KEYWORDS
},
41478 { (char *)"Window_SetContainingSizer", (PyCFunction
) _wrap_Window_SetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
},
41479 { (char *)"Window_GetContainingSizer", (PyCFunction
) _wrap_Window_GetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
},
41480 { (char *)"Window_InheritAttributes", (PyCFunction
) _wrap_Window_InheritAttributes
, METH_VARARGS
| METH_KEYWORDS
},
41481 { (char *)"Window_ShouldInheritColours", (PyCFunction
) _wrap_Window_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
},
41482 { (char *)"Window_swigregister", Window_swigregister
, METH_VARARGS
},
41483 { (char *)"FindWindowById", (PyCFunction
) _wrap_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
},
41484 { (char *)"FindWindowByName", (PyCFunction
) _wrap_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
},
41485 { (char *)"FindWindowByLabel", (PyCFunction
) _wrap_FindWindowByLabel
, METH_VARARGS
| METH_KEYWORDS
},
41486 { (char *)"Window_FromHWND", (PyCFunction
) _wrap_Window_FromHWND
, METH_VARARGS
| METH_KEYWORDS
},
41487 { (char *)"new_Validator", (PyCFunction
) _wrap_new_Validator
, METH_VARARGS
| METH_KEYWORDS
},
41488 { (char *)"Validator_Clone", (PyCFunction
) _wrap_Validator_Clone
, METH_VARARGS
| METH_KEYWORDS
},
41489 { (char *)"Validator_Validate", (PyCFunction
) _wrap_Validator_Validate
, METH_VARARGS
| METH_KEYWORDS
},
41490 { (char *)"Validator_TransferToWindow", (PyCFunction
) _wrap_Validator_TransferToWindow
, METH_VARARGS
| METH_KEYWORDS
},
41491 { (char *)"Validator_TransferFromWindow", (PyCFunction
) _wrap_Validator_TransferFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
41492 { (char *)"Validator_GetWindow", (PyCFunction
) _wrap_Validator_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
41493 { (char *)"Validator_SetWindow", (PyCFunction
) _wrap_Validator_SetWindow
, METH_VARARGS
| METH_KEYWORDS
},
41494 { (char *)"Validator_IsSilent", (PyCFunction
) _wrap_Validator_IsSilent
, METH_VARARGS
| METH_KEYWORDS
},
41495 { (char *)"Validator_SetBellOnError", (PyCFunction
) _wrap_Validator_SetBellOnError
, METH_VARARGS
| METH_KEYWORDS
},
41496 { (char *)"Validator_swigregister", Validator_swigregister
, METH_VARARGS
},
41497 { (char *)"new_PyValidator", (PyCFunction
) _wrap_new_PyValidator
, METH_VARARGS
| METH_KEYWORDS
},
41498 { (char *)"PyValidator__setCallbackInfo", (PyCFunction
) _wrap_PyValidator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
41499 { (char *)"PyValidator_swigregister", PyValidator_swigregister
, METH_VARARGS
},
41500 { (char *)"new_Menu", (PyCFunction
) _wrap_new_Menu
, METH_VARARGS
| METH_KEYWORDS
},
41501 { (char *)"Menu_Append", (PyCFunction
) _wrap_Menu_Append
, METH_VARARGS
| METH_KEYWORDS
},
41502 { (char *)"Menu_AppendSeparator", (PyCFunction
) _wrap_Menu_AppendSeparator
, METH_VARARGS
| METH_KEYWORDS
},
41503 { (char *)"Menu_AppendCheckItem", (PyCFunction
) _wrap_Menu_AppendCheckItem
, METH_VARARGS
| METH_KEYWORDS
},
41504 { (char *)"Menu_AppendRadioItem", (PyCFunction
) _wrap_Menu_AppendRadioItem
, METH_VARARGS
| METH_KEYWORDS
},
41505 { (char *)"Menu_AppendMenu", (PyCFunction
) _wrap_Menu_AppendMenu
, METH_VARARGS
| METH_KEYWORDS
},
41506 { (char *)"Menu_AppendItem", (PyCFunction
) _wrap_Menu_AppendItem
, METH_VARARGS
| METH_KEYWORDS
},
41507 { (char *)"Menu_Break", (PyCFunction
) _wrap_Menu_Break
, METH_VARARGS
| METH_KEYWORDS
},
41508 { (char *)"Menu_InsertItem", (PyCFunction
) _wrap_Menu_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
41509 { (char *)"Menu_Insert", (PyCFunction
) _wrap_Menu_Insert
, METH_VARARGS
| METH_KEYWORDS
},
41510 { (char *)"Menu_InsertSeparator", (PyCFunction
) _wrap_Menu_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
},
41511 { (char *)"Menu_InsertCheckItem", (PyCFunction
) _wrap_Menu_InsertCheckItem
, METH_VARARGS
| METH_KEYWORDS
},
41512 { (char *)"Menu_InsertRadioItem", (PyCFunction
) _wrap_Menu_InsertRadioItem
, METH_VARARGS
| METH_KEYWORDS
},
41513 { (char *)"Menu_InsertMenu", (PyCFunction
) _wrap_Menu_InsertMenu
, METH_VARARGS
| METH_KEYWORDS
},
41514 { (char *)"Menu_PrependItem", (PyCFunction
) _wrap_Menu_PrependItem
, METH_VARARGS
| METH_KEYWORDS
},
41515 { (char *)"Menu_Prepend", (PyCFunction
) _wrap_Menu_Prepend
, METH_VARARGS
| METH_KEYWORDS
},
41516 { (char *)"Menu_PrependSeparator", (PyCFunction
) _wrap_Menu_PrependSeparator
, METH_VARARGS
| METH_KEYWORDS
},
41517 { (char *)"Menu_PrependCheckItem", (PyCFunction
) _wrap_Menu_PrependCheckItem
, METH_VARARGS
| METH_KEYWORDS
},
41518 { (char *)"Menu_PrependRadioItem", (PyCFunction
) _wrap_Menu_PrependRadioItem
, METH_VARARGS
| METH_KEYWORDS
},
41519 { (char *)"Menu_PrependMenu", (PyCFunction
) _wrap_Menu_PrependMenu
, METH_VARARGS
| METH_KEYWORDS
},
41520 { (char *)"Menu_Remove", (PyCFunction
) _wrap_Menu_Remove
, METH_VARARGS
| METH_KEYWORDS
},
41521 { (char *)"Menu_RemoveItem", (PyCFunction
) _wrap_Menu_RemoveItem
, METH_VARARGS
| METH_KEYWORDS
},
41522 { (char *)"Menu_Delete", (PyCFunction
) _wrap_Menu_Delete
, METH_VARARGS
| METH_KEYWORDS
},
41523 { (char *)"Menu_DeleteItem", (PyCFunction
) _wrap_Menu_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
},
41524 { (char *)"Menu_Destroy", (PyCFunction
) _wrap_Menu_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
41525 { (char *)"Menu_DestroyId", (PyCFunction
) _wrap_Menu_DestroyId
, METH_VARARGS
| METH_KEYWORDS
},
41526 { (char *)"Menu_DestroyItem", (PyCFunction
) _wrap_Menu_DestroyItem
, METH_VARARGS
| METH_KEYWORDS
},
41527 { (char *)"Menu_GetMenuItemCount", (PyCFunction
) _wrap_Menu_GetMenuItemCount
, METH_VARARGS
| METH_KEYWORDS
},
41528 { (char *)"Menu_GetMenuItems", (PyCFunction
) _wrap_Menu_GetMenuItems
, METH_VARARGS
| METH_KEYWORDS
},
41529 { (char *)"Menu_FindItem", (PyCFunction
) _wrap_Menu_FindItem
, METH_VARARGS
| METH_KEYWORDS
},
41530 { (char *)"Menu_FindItemById", (PyCFunction
) _wrap_Menu_FindItemById
, METH_VARARGS
| METH_KEYWORDS
},
41531 { (char *)"Menu_FindItemByPosition", (PyCFunction
) _wrap_Menu_FindItemByPosition
, METH_VARARGS
| METH_KEYWORDS
},
41532 { (char *)"Menu_Enable", (PyCFunction
) _wrap_Menu_Enable
, METH_VARARGS
| METH_KEYWORDS
},
41533 { (char *)"Menu_IsEnabled", (PyCFunction
) _wrap_Menu_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
41534 { (char *)"Menu_Check", (PyCFunction
) _wrap_Menu_Check
, METH_VARARGS
| METH_KEYWORDS
},
41535 { (char *)"Menu_IsChecked", (PyCFunction
) _wrap_Menu_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
41536 { (char *)"Menu_SetLabel", (PyCFunction
) _wrap_Menu_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
41537 { (char *)"Menu_GetLabel", (PyCFunction
) _wrap_Menu_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
41538 { (char *)"Menu_SetHelpString", (PyCFunction
) _wrap_Menu_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
41539 { (char *)"Menu_GetHelpString", (PyCFunction
) _wrap_Menu_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
41540 { (char *)"Menu_SetTitle", (PyCFunction
) _wrap_Menu_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
41541 { (char *)"Menu_GetTitle", (PyCFunction
) _wrap_Menu_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
41542 { (char *)"Menu_SetEventHandler", (PyCFunction
) _wrap_Menu_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
41543 { (char *)"Menu_GetEventHandler", (PyCFunction
) _wrap_Menu_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
41544 { (char *)"Menu_SetInvokingWindow", (PyCFunction
) _wrap_Menu_SetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
},
41545 { (char *)"Menu_GetInvokingWindow", (PyCFunction
) _wrap_Menu_GetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
},
41546 { (char *)"Menu_GetStyle", (PyCFunction
) _wrap_Menu_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
41547 { (char *)"Menu_UpdateUI", (PyCFunction
) _wrap_Menu_UpdateUI
, METH_VARARGS
| METH_KEYWORDS
},
41548 { (char *)"Menu_GetMenuBar", (PyCFunction
) _wrap_Menu_GetMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
41549 { (char *)"Menu_Attach", (PyCFunction
) _wrap_Menu_Attach
, METH_VARARGS
| METH_KEYWORDS
},
41550 { (char *)"Menu_Detach", (PyCFunction
) _wrap_Menu_Detach
, METH_VARARGS
| METH_KEYWORDS
},
41551 { (char *)"Menu_IsAttached", (PyCFunction
) _wrap_Menu_IsAttached
, METH_VARARGS
| METH_KEYWORDS
},
41552 { (char *)"Menu_SetParent", (PyCFunction
) _wrap_Menu_SetParent
, METH_VARARGS
| METH_KEYWORDS
},
41553 { (char *)"Menu_GetParent", (PyCFunction
) _wrap_Menu_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
41554 { (char *)"Menu_swigregister", Menu_swigregister
, METH_VARARGS
},
41555 { (char *)"new_MenuBar", (PyCFunction
) _wrap_new_MenuBar
, METH_VARARGS
| METH_KEYWORDS
},
41556 { (char *)"MenuBar_Append", (PyCFunction
) _wrap_MenuBar_Append
, METH_VARARGS
| METH_KEYWORDS
},
41557 { (char *)"MenuBar_Insert", (PyCFunction
) _wrap_MenuBar_Insert
, METH_VARARGS
| METH_KEYWORDS
},
41558 { (char *)"MenuBar_GetMenuCount", (PyCFunction
) _wrap_MenuBar_GetMenuCount
, METH_VARARGS
| METH_KEYWORDS
},
41559 { (char *)"MenuBar_GetMenu", (PyCFunction
) _wrap_MenuBar_GetMenu
, METH_VARARGS
| METH_KEYWORDS
},
41560 { (char *)"MenuBar_Replace", (PyCFunction
) _wrap_MenuBar_Replace
, METH_VARARGS
| METH_KEYWORDS
},
41561 { (char *)"MenuBar_Remove", (PyCFunction
) _wrap_MenuBar_Remove
, METH_VARARGS
| METH_KEYWORDS
},
41562 { (char *)"MenuBar_EnableTop", (PyCFunction
) _wrap_MenuBar_EnableTop
, METH_VARARGS
| METH_KEYWORDS
},
41563 { (char *)"MenuBar_IsEnabledTop", (PyCFunction
) _wrap_MenuBar_IsEnabledTop
, METH_VARARGS
| METH_KEYWORDS
},
41564 { (char *)"MenuBar_SetLabelTop", (PyCFunction
) _wrap_MenuBar_SetLabelTop
, METH_VARARGS
| METH_KEYWORDS
},
41565 { (char *)"MenuBar_GetLabelTop", (PyCFunction
) _wrap_MenuBar_GetLabelTop
, METH_VARARGS
| METH_KEYWORDS
},
41566 { (char *)"MenuBar_FindMenuItem", (PyCFunction
) _wrap_MenuBar_FindMenuItem
, METH_VARARGS
| METH_KEYWORDS
},
41567 { (char *)"MenuBar_FindItemById", (PyCFunction
) _wrap_MenuBar_FindItemById
, METH_VARARGS
| METH_KEYWORDS
},
41568 { (char *)"MenuBar_FindMenu", (PyCFunction
) _wrap_MenuBar_FindMenu
, METH_VARARGS
| METH_KEYWORDS
},
41569 { (char *)"MenuBar_Enable", (PyCFunction
) _wrap_MenuBar_Enable
, METH_VARARGS
| METH_KEYWORDS
},
41570 { (char *)"MenuBar_Check", (PyCFunction
) _wrap_MenuBar_Check
, METH_VARARGS
| METH_KEYWORDS
},
41571 { (char *)"MenuBar_IsChecked", (PyCFunction
) _wrap_MenuBar_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
41572 { (char *)"MenuBar_IsEnabled", (PyCFunction
) _wrap_MenuBar_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
41573 { (char *)"MenuBar_SetLabel", (PyCFunction
) _wrap_MenuBar_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
41574 { (char *)"MenuBar_GetLabel", (PyCFunction
) _wrap_MenuBar_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
41575 { (char *)"MenuBar_SetHelpString", (PyCFunction
) _wrap_MenuBar_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
41576 { (char *)"MenuBar_GetHelpString", (PyCFunction
) _wrap_MenuBar_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
41577 { (char *)"MenuBar_GetFrame", (PyCFunction
) _wrap_MenuBar_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
41578 { (char *)"MenuBar_IsAttached", (PyCFunction
) _wrap_MenuBar_IsAttached
, METH_VARARGS
| METH_KEYWORDS
},
41579 { (char *)"MenuBar_Attach", (PyCFunction
) _wrap_MenuBar_Attach
, METH_VARARGS
| METH_KEYWORDS
},
41580 { (char *)"MenuBar_Detach", (PyCFunction
) _wrap_MenuBar_Detach
, METH_VARARGS
| METH_KEYWORDS
},
41581 { (char *)"MenuBar_swigregister", MenuBar_swigregister
, METH_VARARGS
},
41582 { (char *)"new_MenuItem", (PyCFunction
) _wrap_new_MenuItem
, METH_VARARGS
| METH_KEYWORDS
},
41583 { (char *)"MenuItem_GetMenu", (PyCFunction
) _wrap_MenuItem_GetMenu
, METH_VARARGS
| METH_KEYWORDS
},
41584 { (char *)"MenuItem_SetMenu", (PyCFunction
) _wrap_MenuItem_SetMenu
, METH_VARARGS
| METH_KEYWORDS
},
41585 { (char *)"MenuItem_SetId", (PyCFunction
) _wrap_MenuItem_SetId
, METH_VARARGS
| METH_KEYWORDS
},
41586 { (char *)"MenuItem_GetId", (PyCFunction
) _wrap_MenuItem_GetId
, METH_VARARGS
| METH_KEYWORDS
},
41587 { (char *)"MenuItem_IsSeparator", (PyCFunction
) _wrap_MenuItem_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
},
41588 { (char *)"MenuItem_SetText", (PyCFunction
) _wrap_MenuItem_SetText
, METH_VARARGS
| METH_KEYWORDS
},
41589 { (char *)"MenuItem_GetLabel", (PyCFunction
) _wrap_MenuItem_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
41590 { (char *)"MenuItem_GetText", (PyCFunction
) _wrap_MenuItem_GetText
, METH_VARARGS
| METH_KEYWORDS
},
41591 { (char *)"MenuItem_GetLabelFromText", (PyCFunction
) _wrap_MenuItem_GetLabelFromText
, METH_VARARGS
| METH_KEYWORDS
},
41592 { (char *)"MenuItem_GetKind", (PyCFunction
) _wrap_MenuItem_GetKind
, METH_VARARGS
| METH_KEYWORDS
},
41593 { (char *)"MenuItem_SetKind", (PyCFunction
) _wrap_MenuItem_SetKind
, METH_VARARGS
| METH_KEYWORDS
},
41594 { (char *)"MenuItem_SetCheckable", (PyCFunction
) _wrap_MenuItem_SetCheckable
, METH_VARARGS
| METH_KEYWORDS
},
41595 { (char *)"MenuItem_IsCheckable", (PyCFunction
) _wrap_MenuItem_IsCheckable
, METH_VARARGS
| METH_KEYWORDS
},
41596 { (char *)"MenuItem_IsSubMenu", (PyCFunction
) _wrap_MenuItem_IsSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
41597 { (char *)"MenuItem_SetSubMenu", (PyCFunction
) _wrap_MenuItem_SetSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
41598 { (char *)"MenuItem_GetSubMenu", (PyCFunction
) _wrap_MenuItem_GetSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
41599 { (char *)"MenuItem_Enable", (PyCFunction
) _wrap_MenuItem_Enable
, METH_VARARGS
| METH_KEYWORDS
},
41600 { (char *)"MenuItem_IsEnabled", (PyCFunction
) _wrap_MenuItem_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
41601 { (char *)"MenuItem_Check", (PyCFunction
) _wrap_MenuItem_Check
, METH_VARARGS
| METH_KEYWORDS
},
41602 { (char *)"MenuItem_IsChecked", (PyCFunction
) _wrap_MenuItem_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
41603 { (char *)"MenuItem_Toggle", (PyCFunction
) _wrap_MenuItem_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
41604 { (char *)"MenuItem_SetHelp", (PyCFunction
) _wrap_MenuItem_SetHelp
, METH_VARARGS
| METH_KEYWORDS
},
41605 { (char *)"MenuItem_GetHelp", (PyCFunction
) _wrap_MenuItem_GetHelp
, METH_VARARGS
| METH_KEYWORDS
},
41606 { (char *)"MenuItem_GetAccel", (PyCFunction
) _wrap_MenuItem_GetAccel
, METH_VARARGS
| METH_KEYWORDS
},
41607 { (char *)"MenuItem_SetAccel", (PyCFunction
) _wrap_MenuItem_SetAccel
, METH_VARARGS
| METH_KEYWORDS
},
41608 { (char *)"MenuItem_SetFont", (PyCFunction
) _wrap_MenuItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
41609 { (char *)"MenuItem_GetFont", (PyCFunction
) _wrap_MenuItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
41610 { (char *)"MenuItem_SetTextColour", (PyCFunction
) _wrap_MenuItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
41611 { (char *)"MenuItem_GetTextColour", (PyCFunction
) _wrap_MenuItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
41612 { (char *)"MenuItem_SetBackgroundColour", (PyCFunction
) _wrap_MenuItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
41613 { (char *)"MenuItem_GetBackgroundColour", (PyCFunction
) _wrap_MenuItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
41614 { (char *)"MenuItem_SetBitmaps", (PyCFunction
) _wrap_MenuItem_SetBitmaps
, METH_VARARGS
| METH_KEYWORDS
},
41615 { (char *)"MenuItem_SetDisabledBitmap", (PyCFunction
) _wrap_MenuItem_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
},
41616 { (char *)"MenuItem_GetDisabledBitmap", (PyCFunction
) _wrap_MenuItem_GetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
},
41617 { (char *)"MenuItem_SetMarginWidth", (PyCFunction
) _wrap_MenuItem_SetMarginWidth
, METH_VARARGS
| METH_KEYWORDS
},
41618 { (char *)"MenuItem_GetMarginWidth", (PyCFunction
) _wrap_MenuItem_GetMarginWidth
, METH_VARARGS
| METH_KEYWORDS
},
41619 { (char *)"MenuItem_GetDefaultMarginWidth", (PyCFunction
) _wrap_MenuItem_GetDefaultMarginWidth
, METH_VARARGS
| METH_KEYWORDS
},
41620 { (char *)"MenuItem_IsOwnerDrawn", (PyCFunction
) _wrap_MenuItem_IsOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
},
41621 { (char *)"MenuItem_SetOwnerDrawn", (PyCFunction
) _wrap_MenuItem_SetOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
},
41622 { (char *)"MenuItem_ResetOwnerDrawn", (PyCFunction
) _wrap_MenuItem_ResetOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
},
41623 { (char *)"MenuItem_SetBitmap", (PyCFunction
) _wrap_MenuItem_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
41624 { (char *)"MenuItem_GetBitmap", (PyCFunction
) _wrap_MenuItem_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
41625 { (char *)"MenuItem_swigregister", MenuItem_swigregister
, METH_VARARGS
},
41626 { (char *)"new_Control", (PyCFunction
) _wrap_new_Control
, METH_VARARGS
| METH_KEYWORDS
},
41627 { (char *)"new_PreControl", (PyCFunction
) _wrap_new_PreControl
, METH_VARARGS
| METH_KEYWORDS
},
41628 { (char *)"Control_Create", (PyCFunction
) _wrap_Control_Create
, METH_VARARGS
| METH_KEYWORDS
},
41629 { (char *)"Control_Command", (PyCFunction
) _wrap_Control_Command
, METH_VARARGS
| METH_KEYWORDS
},
41630 { (char *)"Control_GetLabel", (PyCFunction
) _wrap_Control_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
41631 { (char *)"Control_SetLabel", (PyCFunction
) _wrap_Control_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
41632 { (char *)"Control_GetClassDefaultAttributes", (PyCFunction
) _wrap_Control_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
41633 { (char *)"Control_swigregister", Control_swigregister
, METH_VARARGS
},
41634 { (char *)"ItemContainer_Append", (PyCFunction
) _wrap_ItemContainer_Append
, METH_VARARGS
| METH_KEYWORDS
},
41635 { (char *)"ItemContainer_AppendItems", (PyCFunction
) _wrap_ItemContainer_AppendItems
, METH_VARARGS
| METH_KEYWORDS
},
41636 { (char *)"ItemContainer_Insert", (PyCFunction
) _wrap_ItemContainer_Insert
, METH_VARARGS
| METH_KEYWORDS
},
41637 { (char *)"ItemContainer_Clear", (PyCFunction
) _wrap_ItemContainer_Clear
, METH_VARARGS
| METH_KEYWORDS
},
41638 { (char *)"ItemContainer_Delete", (PyCFunction
) _wrap_ItemContainer_Delete
, METH_VARARGS
| METH_KEYWORDS
},
41639 { (char *)"ItemContainer_GetCount", (PyCFunction
) _wrap_ItemContainer_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
41640 { (char *)"ItemContainer_IsEmpty", (PyCFunction
) _wrap_ItemContainer_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
},
41641 { (char *)"ItemContainer_GetString", (PyCFunction
) _wrap_ItemContainer_GetString
, METH_VARARGS
| METH_KEYWORDS
},
41642 { (char *)"ItemContainer_GetStrings", (PyCFunction
) _wrap_ItemContainer_GetStrings
, METH_VARARGS
| METH_KEYWORDS
},
41643 { (char *)"ItemContainer_SetString", (PyCFunction
) _wrap_ItemContainer_SetString
, METH_VARARGS
| METH_KEYWORDS
},
41644 { (char *)"ItemContainer_FindString", (PyCFunction
) _wrap_ItemContainer_FindString
, METH_VARARGS
| METH_KEYWORDS
},
41645 { (char *)"ItemContainer_Select", (PyCFunction
) _wrap_ItemContainer_Select
, METH_VARARGS
| METH_KEYWORDS
},
41646 { (char *)"ItemContainer_GetSelection", (PyCFunction
) _wrap_ItemContainer_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
41647 { (char *)"ItemContainer_GetStringSelection", (PyCFunction
) _wrap_ItemContainer_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
41648 { (char *)"ItemContainer_GetClientData", (PyCFunction
) _wrap_ItemContainer_GetClientData
, METH_VARARGS
| METH_KEYWORDS
},
41649 { (char *)"ItemContainer_SetClientData", (PyCFunction
) _wrap_ItemContainer_SetClientData
, METH_VARARGS
| METH_KEYWORDS
},
41650 { (char *)"ItemContainer_swigregister", ItemContainer_swigregister
, METH_VARARGS
},
41651 { (char *)"ControlWithItems_swigregister", ControlWithItems_swigregister
, METH_VARARGS
},
41652 { (char *)"new_SizerItem", (PyCFunction
) _wrap_new_SizerItem
, METH_VARARGS
| METH_KEYWORDS
},
41653 { (char *)"new_SizerItemWindow", (PyCFunction
) _wrap_new_SizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
},
41654 { (char *)"new_SizerItemSpacer", (PyCFunction
) _wrap_new_SizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
},
41655 { (char *)"new_SizerItemSizer", (PyCFunction
) _wrap_new_SizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
},
41656 { (char *)"SizerItem_DeleteWindows", (PyCFunction
) _wrap_SizerItem_DeleteWindows
, METH_VARARGS
| METH_KEYWORDS
},
41657 { (char *)"SizerItem_DetachSizer", (PyCFunction
) _wrap_SizerItem_DetachSizer
, METH_VARARGS
| METH_KEYWORDS
},
41658 { (char *)"SizerItem_GetSize", (PyCFunction
) _wrap_SizerItem_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
41659 { (char *)"SizerItem_CalcMin", (PyCFunction
) _wrap_SizerItem_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
41660 { (char *)"SizerItem_SetDimension", (PyCFunction
) _wrap_SizerItem_SetDimension
, METH_VARARGS
| METH_KEYWORDS
},
41661 { (char *)"SizerItem_GetMinSize", (PyCFunction
) _wrap_SizerItem_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
41662 { (char *)"SizerItem_GetMinSizeWithBorder", (PyCFunction
) _wrap_SizerItem_GetMinSizeWithBorder
, METH_VARARGS
| METH_KEYWORDS
},
41663 { (char *)"SizerItem_SetInitSize", (PyCFunction
) _wrap_SizerItem_SetInitSize
, METH_VARARGS
| METH_KEYWORDS
},
41664 { (char *)"SizerItem_SetRatioWH", (PyCFunction
) _wrap_SizerItem_SetRatioWH
, METH_VARARGS
| METH_KEYWORDS
},
41665 { (char *)"SizerItem_SetRatioSize", (PyCFunction
) _wrap_SizerItem_SetRatioSize
, METH_VARARGS
| METH_KEYWORDS
},
41666 { (char *)"SizerItem_SetRatio", (PyCFunction
) _wrap_SizerItem_SetRatio
, METH_VARARGS
| METH_KEYWORDS
},
41667 { (char *)"SizerItem_GetRatio", (PyCFunction
) _wrap_SizerItem_GetRatio
, METH_VARARGS
| METH_KEYWORDS
},
41668 { (char *)"SizerItem_IsWindow", (PyCFunction
) _wrap_SizerItem_IsWindow
, METH_VARARGS
| METH_KEYWORDS
},
41669 { (char *)"SizerItem_IsSizer", (PyCFunction
) _wrap_SizerItem_IsSizer
, METH_VARARGS
| METH_KEYWORDS
},
41670 { (char *)"SizerItem_IsSpacer", (PyCFunction
) _wrap_SizerItem_IsSpacer
, METH_VARARGS
| METH_KEYWORDS
},
41671 { (char *)"SizerItem_SetProportion", (PyCFunction
) _wrap_SizerItem_SetProportion
, METH_VARARGS
| METH_KEYWORDS
},
41672 { (char *)"SizerItem_GetProportion", (PyCFunction
) _wrap_SizerItem_GetProportion
, METH_VARARGS
| METH_KEYWORDS
},
41673 { (char *)"SizerItem_SetFlag", (PyCFunction
) _wrap_SizerItem_SetFlag
, METH_VARARGS
| METH_KEYWORDS
},
41674 { (char *)"SizerItem_GetFlag", (PyCFunction
) _wrap_SizerItem_GetFlag
, METH_VARARGS
| METH_KEYWORDS
},
41675 { (char *)"SizerItem_SetBorder", (PyCFunction
) _wrap_SizerItem_SetBorder
, METH_VARARGS
| METH_KEYWORDS
},
41676 { (char *)"SizerItem_GetBorder", (PyCFunction
) _wrap_SizerItem_GetBorder
, METH_VARARGS
| METH_KEYWORDS
},
41677 { (char *)"SizerItem_GetWindow", (PyCFunction
) _wrap_SizerItem_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
41678 { (char *)"SizerItem_SetWindow", (PyCFunction
) _wrap_SizerItem_SetWindow
, METH_VARARGS
| METH_KEYWORDS
},
41679 { (char *)"SizerItem_GetSizer", (PyCFunction
) _wrap_SizerItem_GetSizer
, METH_VARARGS
| METH_KEYWORDS
},
41680 { (char *)"SizerItem_SetSizer", (PyCFunction
) _wrap_SizerItem_SetSizer
, METH_VARARGS
| METH_KEYWORDS
},
41681 { (char *)"SizerItem_GetSpacer", (PyCFunction
) _wrap_SizerItem_GetSpacer
, METH_VARARGS
| METH_KEYWORDS
},
41682 { (char *)"SizerItem_SetSpacer", (PyCFunction
) _wrap_SizerItem_SetSpacer
, METH_VARARGS
| METH_KEYWORDS
},
41683 { (char *)"SizerItem_Show", (PyCFunction
) _wrap_SizerItem_Show
, METH_VARARGS
| METH_KEYWORDS
},
41684 { (char *)"SizerItem_IsShown", (PyCFunction
) _wrap_SizerItem_IsShown
, METH_VARARGS
| METH_KEYWORDS
},
41685 { (char *)"SizerItem_GetPosition", (PyCFunction
) _wrap_SizerItem_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
41686 { (char *)"SizerItem_GetUserData", (PyCFunction
) _wrap_SizerItem_GetUserData
, METH_VARARGS
| METH_KEYWORDS
},
41687 { (char *)"SizerItem_swigregister", SizerItem_swigregister
, METH_VARARGS
},
41688 { (char *)"Sizer__setOORInfo", (PyCFunction
) _wrap_Sizer__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
},
41689 { (char *)"Sizer_Add", (PyCFunction
) _wrap_Sizer_Add
, METH_VARARGS
| METH_KEYWORDS
},
41690 { (char *)"Sizer_Insert", (PyCFunction
) _wrap_Sizer_Insert
, METH_VARARGS
| METH_KEYWORDS
},
41691 { (char *)"Sizer_Prepend", (PyCFunction
) _wrap_Sizer_Prepend
, METH_VARARGS
| METH_KEYWORDS
},
41692 { (char *)"Sizer_Remove", (PyCFunction
) _wrap_Sizer_Remove
, METH_VARARGS
| METH_KEYWORDS
},
41693 { (char *)"Sizer_Detach", (PyCFunction
) _wrap_Sizer_Detach
, METH_VARARGS
| METH_KEYWORDS
},
41694 { (char *)"Sizer__SetItemMinSize", (PyCFunction
) _wrap_Sizer__SetItemMinSize
, METH_VARARGS
| METH_KEYWORDS
},
41695 { (char *)"Sizer_AddItem", (PyCFunction
) _wrap_Sizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
},
41696 { (char *)"Sizer_InsertItem", (PyCFunction
) _wrap_Sizer_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
41697 { (char *)"Sizer_PrependItem", (PyCFunction
) _wrap_Sizer_PrependItem
, METH_VARARGS
| METH_KEYWORDS
},
41698 { (char *)"Sizer_SetDimension", (PyCFunction
) _wrap_Sizer_SetDimension
, METH_VARARGS
| METH_KEYWORDS
},
41699 { (char *)"Sizer_SetMinSize", (PyCFunction
) _wrap_Sizer_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
41700 { (char *)"Sizer_GetSize", (PyCFunction
) _wrap_Sizer_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
41701 { (char *)"Sizer_GetPosition", (PyCFunction
) _wrap_Sizer_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
41702 { (char *)"Sizer_GetMinSize", (PyCFunction
) _wrap_Sizer_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
41703 { (char *)"Sizer_RecalcSizes", (PyCFunction
) _wrap_Sizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
41704 { (char *)"Sizer_CalcMin", (PyCFunction
) _wrap_Sizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
41705 { (char *)"Sizer_Layout", (PyCFunction
) _wrap_Sizer_Layout
, METH_VARARGS
| METH_KEYWORDS
},
41706 { (char *)"Sizer_Fit", (PyCFunction
) _wrap_Sizer_Fit
, METH_VARARGS
| METH_KEYWORDS
},
41707 { (char *)"Sizer_FitInside", (PyCFunction
) _wrap_Sizer_FitInside
, METH_VARARGS
| METH_KEYWORDS
},
41708 { (char *)"Sizer_SetSizeHints", (PyCFunction
) _wrap_Sizer_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
},
41709 { (char *)"Sizer_SetVirtualSizeHints", (PyCFunction
) _wrap_Sizer_SetVirtualSizeHints
, METH_VARARGS
| METH_KEYWORDS
},
41710 { (char *)"Sizer_Clear", (PyCFunction
) _wrap_Sizer_Clear
, METH_VARARGS
| METH_KEYWORDS
},
41711 { (char *)"Sizer_DeleteWindows", (PyCFunction
) _wrap_Sizer_DeleteWindows
, METH_VARARGS
| METH_KEYWORDS
},
41712 { (char *)"Sizer_GetChildren", (PyCFunction
) _wrap_Sizer_GetChildren
, METH_VARARGS
| METH_KEYWORDS
},
41713 { (char *)"Sizer_Show", (PyCFunction
) _wrap_Sizer_Show
, METH_VARARGS
| METH_KEYWORDS
},
41714 { (char *)"Sizer_IsShown", (PyCFunction
) _wrap_Sizer_IsShown
, METH_VARARGS
| METH_KEYWORDS
},
41715 { (char *)"Sizer_ShowItems", (PyCFunction
) _wrap_Sizer_ShowItems
, METH_VARARGS
| METH_KEYWORDS
},
41716 { (char *)"Sizer_swigregister", Sizer_swigregister
, METH_VARARGS
},
41717 { (char *)"new_PySizer", (PyCFunction
) _wrap_new_PySizer
, METH_VARARGS
| METH_KEYWORDS
},
41718 { (char *)"PySizer__setCallbackInfo", (PyCFunction
) _wrap_PySizer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
41719 { (char *)"PySizer_swigregister", PySizer_swigregister
, METH_VARARGS
},
41720 { (char *)"new_BoxSizer", (PyCFunction
) _wrap_new_BoxSizer
, METH_VARARGS
| METH_KEYWORDS
},
41721 { (char *)"BoxSizer_GetOrientation", (PyCFunction
) _wrap_BoxSizer_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
41722 { (char *)"BoxSizer_SetOrientation", (PyCFunction
) _wrap_BoxSizer_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
41723 { (char *)"BoxSizer_swigregister", BoxSizer_swigregister
, METH_VARARGS
},
41724 { (char *)"new_StaticBoxSizer", (PyCFunction
) _wrap_new_StaticBoxSizer
, METH_VARARGS
| METH_KEYWORDS
},
41725 { (char *)"StaticBoxSizer_GetStaticBox", (PyCFunction
) _wrap_StaticBoxSizer_GetStaticBox
, METH_VARARGS
| METH_KEYWORDS
},
41726 { (char *)"StaticBoxSizer_swigregister", StaticBoxSizer_swigregister
, METH_VARARGS
},
41727 { (char *)"new_GridSizer", (PyCFunction
) _wrap_new_GridSizer
, METH_VARARGS
| METH_KEYWORDS
},
41728 { (char *)"GridSizer_SetCols", (PyCFunction
) _wrap_GridSizer_SetCols
, METH_VARARGS
| METH_KEYWORDS
},
41729 { (char *)"GridSizer_SetRows", (PyCFunction
) _wrap_GridSizer_SetRows
, METH_VARARGS
| METH_KEYWORDS
},
41730 { (char *)"GridSizer_SetVGap", (PyCFunction
) _wrap_GridSizer_SetVGap
, METH_VARARGS
| METH_KEYWORDS
},
41731 { (char *)"GridSizer_SetHGap", (PyCFunction
) _wrap_GridSizer_SetHGap
, METH_VARARGS
| METH_KEYWORDS
},
41732 { (char *)"GridSizer_GetCols", (PyCFunction
) _wrap_GridSizer_GetCols
, METH_VARARGS
| METH_KEYWORDS
},
41733 { (char *)"GridSizer_GetRows", (PyCFunction
) _wrap_GridSizer_GetRows
, METH_VARARGS
| METH_KEYWORDS
},
41734 { (char *)"GridSizer_GetVGap", (PyCFunction
) _wrap_GridSizer_GetVGap
, METH_VARARGS
| METH_KEYWORDS
},
41735 { (char *)"GridSizer_GetHGap", (PyCFunction
) _wrap_GridSizer_GetHGap
, METH_VARARGS
| METH_KEYWORDS
},
41736 { (char *)"GridSizer_swigregister", GridSizer_swigregister
, METH_VARARGS
},
41737 { (char *)"new_FlexGridSizer", (PyCFunction
) _wrap_new_FlexGridSizer
, METH_VARARGS
| METH_KEYWORDS
},
41738 { (char *)"FlexGridSizer_AddGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableRow
, METH_VARARGS
| METH_KEYWORDS
},
41739 { (char *)"FlexGridSizer_RemoveGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableRow
, METH_VARARGS
| METH_KEYWORDS
},
41740 { (char *)"FlexGridSizer_AddGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableCol
, METH_VARARGS
| METH_KEYWORDS
},
41741 { (char *)"FlexGridSizer_RemoveGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableCol
, METH_VARARGS
| METH_KEYWORDS
},
41742 { (char *)"FlexGridSizer_SetFlexibleDirection", (PyCFunction
) _wrap_FlexGridSizer_SetFlexibleDirection
, METH_VARARGS
| METH_KEYWORDS
},
41743 { (char *)"FlexGridSizer_GetFlexibleDirection", (PyCFunction
) _wrap_FlexGridSizer_GetFlexibleDirection
, METH_VARARGS
| METH_KEYWORDS
},
41744 { (char *)"FlexGridSizer_SetNonFlexibleGrowMode", (PyCFunction
) _wrap_FlexGridSizer_SetNonFlexibleGrowMode
, METH_VARARGS
| METH_KEYWORDS
},
41745 { (char *)"FlexGridSizer_GetNonFlexibleGrowMode", (PyCFunction
) _wrap_FlexGridSizer_GetNonFlexibleGrowMode
, METH_VARARGS
| METH_KEYWORDS
},
41746 { (char *)"FlexGridSizer_GetRowHeights", (PyCFunction
) _wrap_FlexGridSizer_GetRowHeights
, METH_VARARGS
| METH_KEYWORDS
},
41747 { (char *)"FlexGridSizer_GetColWidths", (PyCFunction
) _wrap_FlexGridSizer_GetColWidths
, METH_VARARGS
| METH_KEYWORDS
},
41748 { (char *)"FlexGridSizer_swigregister", FlexGridSizer_swigregister
, METH_VARARGS
},
41749 { (char *)"new_GBPosition", (PyCFunction
) _wrap_new_GBPosition
, METH_VARARGS
| METH_KEYWORDS
},
41750 { (char *)"GBPosition_GetRow", (PyCFunction
) _wrap_GBPosition_GetRow
, METH_VARARGS
| METH_KEYWORDS
},
41751 { (char *)"GBPosition_GetCol", (PyCFunction
) _wrap_GBPosition_GetCol
, METH_VARARGS
| METH_KEYWORDS
},
41752 { (char *)"GBPosition_SetRow", (PyCFunction
) _wrap_GBPosition_SetRow
, METH_VARARGS
| METH_KEYWORDS
},
41753 { (char *)"GBPosition_SetCol", (PyCFunction
) _wrap_GBPosition_SetCol
, METH_VARARGS
| METH_KEYWORDS
},
41754 { (char *)"GBPosition___eq__", (PyCFunction
) _wrap_GBPosition___eq__
, METH_VARARGS
| METH_KEYWORDS
},
41755 { (char *)"GBPosition___ne__", (PyCFunction
) _wrap_GBPosition___ne__
, METH_VARARGS
| METH_KEYWORDS
},
41756 { (char *)"GBPosition_Set", (PyCFunction
) _wrap_GBPosition_Set
, METH_VARARGS
| METH_KEYWORDS
},
41757 { (char *)"GBPosition_Get", (PyCFunction
) _wrap_GBPosition_Get
, METH_VARARGS
| METH_KEYWORDS
},
41758 { (char *)"GBPosition_swigregister", GBPosition_swigregister
, METH_VARARGS
},
41759 { (char *)"new_GBSpan", (PyCFunction
) _wrap_new_GBSpan
, METH_VARARGS
| METH_KEYWORDS
},
41760 { (char *)"GBSpan_GetRowspan", (PyCFunction
) _wrap_GBSpan_GetRowspan
, METH_VARARGS
| METH_KEYWORDS
},
41761 { (char *)"GBSpan_GetColspan", (PyCFunction
) _wrap_GBSpan_GetColspan
, METH_VARARGS
| METH_KEYWORDS
},
41762 { (char *)"GBSpan_SetRowspan", (PyCFunction
) _wrap_GBSpan_SetRowspan
, METH_VARARGS
| METH_KEYWORDS
},
41763 { (char *)"GBSpan_SetColspan", (PyCFunction
) _wrap_GBSpan_SetColspan
, METH_VARARGS
| METH_KEYWORDS
},
41764 { (char *)"GBSpan___eq__", (PyCFunction
) _wrap_GBSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
},
41765 { (char *)"GBSpan___ne__", (PyCFunction
) _wrap_GBSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
},
41766 { (char *)"GBSpan_Set", (PyCFunction
) _wrap_GBSpan_Set
, METH_VARARGS
| METH_KEYWORDS
},
41767 { (char *)"GBSpan_Get", (PyCFunction
) _wrap_GBSpan_Get
, METH_VARARGS
| METH_KEYWORDS
},
41768 { (char *)"GBSpan_swigregister", GBSpan_swigregister
, METH_VARARGS
},
41769 { (char *)"new_GBSizerItem", (PyCFunction
) _wrap_new_GBSizerItem
, METH_VARARGS
| METH_KEYWORDS
},
41770 { (char *)"new_GBSizerItemWindow", (PyCFunction
) _wrap_new_GBSizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
},
41771 { (char *)"new_GBSizerItemSizer", (PyCFunction
) _wrap_new_GBSizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
},
41772 { (char *)"new_GBSizerItemSpacer", (PyCFunction
) _wrap_new_GBSizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
},
41773 { (char *)"GBSizerItem_GetPos", (PyCFunction
) _wrap_GBSizerItem_GetPos
, METH_VARARGS
| METH_KEYWORDS
},
41774 { (char *)"GBSizerItem_GetSpan", (PyCFunction
) _wrap_GBSizerItem_GetSpan
, METH_VARARGS
| METH_KEYWORDS
},
41775 { (char *)"GBSizerItem_SetPos", (PyCFunction
) _wrap_GBSizerItem_SetPos
, METH_VARARGS
| METH_KEYWORDS
},
41776 { (char *)"GBSizerItem_SetSpan", (PyCFunction
) _wrap_GBSizerItem_SetSpan
, METH_VARARGS
| METH_KEYWORDS
},
41777 { (char *)"GBSizerItem_Intersects", (PyCFunction
) _wrap_GBSizerItem_Intersects
, METH_VARARGS
| METH_KEYWORDS
},
41778 { (char *)"GBSizerItem_IntersectsPos", (PyCFunction
) _wrap_GBSizerItem_IntersectsPos
, METH_VARARGS
| METH_KEYWORDS
},
41779 { (char *)"GBSizerItem_GetEndPos", (PyCFunction
) _wrap_GBSizerItem_GetEndPos
, METH_VARARGS
| METH_KEYWORDS
},
41780 { (char *)"GBSizerItem_GetGBSizer", (PyCFunction
) _wrap_GBSizerItem_GetGBSizer
, METH_VARARGS
| METH_KEYWORDS
},
41781 { (char *)"GBSizerItem_SetGBSizer", (PyCFunction
) _wrap_GBSizerItem_SetGBSizer
, METH_VARARGS
| METH_KEYWORDS
},
41782 { (char *)"GBSizerItem_swigregister", GBSizerItem_swigregister
, METH_VARARGS
},
41783 { (char *)"new_GridBagSizer", (PyCFunction
) _wrap_new_GridBagSizer
, METH_VARARGS
| METH_KEYWORDS
},
41784 { (char *)"GridBagSizer_Add", (PyCFunction
) _wrap_GridBagSizer_Add
, METH_VARARGS
| METH_KEYWORDS
},
41785 { (char *)"GridBagSizer_AddItem", (PyCFunction
) _wrap_GridBagSizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
},
41786 { (char *)"GridBagSizer_GetEmptyCellSize", (PyCFunction
) _wrap_GridBagSizer_GetEmptyCellSize
, METH_VARARGS
| METH_KEYWORDS
},
41787 { (char *)"GridBagSizer_SetEmptyCellSize", (PyCFunction
) _wrap_GridBagSizer_SetEmptyCellSize
, METH_VARARGS
| METH_KEYWORDS
},
41788 { (char *)"GridBagSizer_GetItemPosition", _wrap_GridBagSizer_GetItemPosition
, METH_VARARGS
},
41789 { (char *)"GridBagSizer_SetItemPosition", _wrap_GridBagSizer_SetItemPosition
, METH_VARARGS
},
41790 { (char *)"GridBagSizer_GetItemSpan", _wrap_GridBagSizer_GetItemSpan
, METH_VARARGS
},
41791 { (char *)"GridBagSizer_SetItemSpan", _wrap_GridBagSizer_SetItemSpan
, METH_VARARGS
},
41792 { (char *)"GridBagSizer_FindItem", _wrap_GridBagSizer_FindItem
, METH_VARARGS
},
41793 { (char *)"GridBagSizer_FindItemAtPosition", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPosition
, METH_VARARGS
| METH_KEYWORDS
},
41794 { (char *)"GridBagSizer_FindItemAtPoint", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
41795 { (char *)"GridBagSizer_CheckForIntersection", (PyCFunction
) _wrap_GridBagSizer_CheckForIntersection
, METH_VARARGS
| METH_KEYWORDS
},
41796 { (char *)"GridBagSizer_CheckForIntersectionPos", (PyCFunction
) _wrap_GridBagSizer_CheckForIntersectionPos
, METH_VARARGS
| METH_KEYWORDS
},
41797 { (char *)"GridBagSizer_swigregister", GridBagSizer_swigregister
, METH_VARARGS
},
41798 { (char *)"IndividualLayoutConstraint_Set", (PyCFunction
) _wrap_IndividualLayoutConstraint_Set
, METH_VARARGS
| METH_KEYWORDS
},
41799 { (char *)"IndividualLayoutConstraint_LeftOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_LeftOf
, METH_VARARGS
| METH_KEYWORDS
},
41800 { (char *)"IndividualLayoutConstraint_RightOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_RightOf
, METH_VARARGS
| METH_KEYWORDS
},
41801 { (char *)"IndividualLayoutConstraint_Above", (PyCFunction
) _wrap_IndividualLayoutConstraint_Above
, METH_VARARGS
| METH_KEYWORDS
},
41802 { (char *)"IndividualLayoutConstraint_Below", (PyCFunction
) _wrap_IndividualLayoutConstraint_Below
, METH_VARARGS
| METH_KEYWORDS
},
41803 { (char *)"IndividualLayoutConstraint_SameAs", (PyCFunction
) _wrap_IndividualLayoutConstraint_SameAs
, METH_VARARGS
| METH_KEYWORDS
},
41804 { (char *)"IndividualLayoutConstraint_PercentOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_PercentOf
, METH_VARARGS
| METH_KEYWORDS
},
41805 { (char *)"IndividualLayoutConstraint_Absolute", (PyCFunction
) _wrap_IndividualLayoutConstraint_Absolute
, METH_VARARGS
| METH_KEYWORDS
},
41806 { (char *)"IndividualLayoutConstraint_Unconstrained", (PyCFunction
) _wrap_IndividualLayoutConstraint_Unconstrained
, METH_VARARGS
| METH_KEYWORDS
},
41807 { (char *)"IndividualLayoutConstraint_AsIs", (PyCFunction
) _wrap_IndividualLayoutConstraint_AsIs
, METH_VARARGS
| METH_KEYWORDS
},
41808 { (char *)"IndividualLayoutConstraint_GetOtherWindow", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetOtherWindow
, METH_VARARGS
| METH_KEYWORDS
},
41809 { (char *)"IndividualLayoutConstraint_GetMyEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetMyEdge
, METH_VARARGS
| METH_KEYWORDS
},
41810 { (char *)"IndividualLayoutConstraint_SetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetEdge
, METH_VARARGS
| METH_KEYWORDS
},
41811 { (char *)"IndividualLayoutConstraint_SetValue", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
41812 { (char *)"IndividualLayoutConstraint_GetMargin", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetMargin
, METH_VARARGS
| METH_KEYWORDS
},
41813 { (char *)"IndividualLayoutConstraint_SetMargin", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetMargin
, METH_VARARGS
| METH_KEYWORDS
},
41814 { (char *)"IndividualLayoutConstraint_GetValue", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
41815 { (char *)"IndividualLayoutConstraint_GetPercent", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetPercent
, METH_VARARGS
| METH_KEYWORDS
},
41816 { (char *)"IndividualLayoutConstraint_GetOtherEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetOtherEdge
, METH_VARARGS
| METH_KEYWORDS
},
41817 { (char *)"IndividualLayoutConstraint_GetDone", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetDone
, METH_VARARGS
| METH_KEYWORDS
},
41818 { (char *)"IndividualLayoutConstraint_SetDone", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetDone
, METH_VARARGS
| METH_KEYWORDS
},
41819 { (char *)"IndividualLayoutConstraint_GetRelationship", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetRelationship
, METH_VARARGS
| METH_KEYWORDS
},
41820 { (char *)"IndividualLayoutConstraint_SetRelationship", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetRelationship
, METH_VARARGS
| METH_KEYWORDS
},
41821 { (char *)"IndividualLayoutConstraint_ResetIfWin", (PyCFunction
) _wrap_IndividualLayoutConstraint_ResetIfWin
, METH_VARARGS
| METH_KEYWORDS
},
41822 { (char *)"IndividualLayoutConstraint_SatisfyConstraint", (PyCFunction
) _wrap_IndividualLayoutConstraint_SatisfyConstraint
, METH_VARARGS
| METH_KEYWORDS
},
41823 { (char *)"IndividualLayoutConstraint_GetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetEdge
, METH_VARARGS
| METH_KEYWORDS
},
41824 { (char *)"IndividualLayoutConstraint_swigregister", IndividualLayoutConstraint_swigregister
, METH_VARARGS
},
41825 { (char *)"LayoutConstraints_left_get", (PyCFunction
) _wrap_LayoutConstraints_left_get
, METH_VARARGS
| METH_KEYWORDS
},
41826 { (char *)"LayoutConstraints_top_get", (PyCFunction
) _wrap_LayoutConstraints_top_get
, METH_VARARGS
| METH_KEYWORDS
},
41827 { (char *)"LayoutConstraints_right_get", (PyCFunction
) _wrap_LayoutConstraints_right_get
, METH_VARARGS
| METH_KEYWORDS
},
41828 { (char *)"LayoutConstraints_bottom_get", (PyCFunction
) _wrap_LayoutConstraints_bottom_get
, METH_VARARGS
| METH_KEYWORDS
},
41829 { (char *)"LayoutConstraints_width_get", (PyCFunction
) _wrap_LayoutConstraints_width_get
, METH_VARARGS
| METH_KEYWORDS
},
41830 { (char *)"LayoutConstraints_height_get", (PyCFunction
) _wrap_LayoutConstraints_height_get
, METH_VARARGS
| METH_KEYWORDS
},
41831 { (char *)"LayoutConstraints_centreX_get", (PyCFunction
) _wrap_LayoutConstraints_centreX_get
, METH_VARARGS
| METH_KEYWORDS
},
41832 { (char *)"LayoutConstraints_centreY_get", (PyCFunction
) _wrap_LayoutConstraints_centreY_get
, METH_VARARGS
| METH_KEYWORDS
},
41833 { (char *)"new_LayoutConstraints", (PyCFunction
) _wrap_new_LayoutConstraints
, METH_VARARGS
| METH_KEYWORDS
},
41834 { (char *)"LayoutConstraints_SatisfyConstraints", (PyCFunction
) _wrap_LayoutConstraints_SatisfyConstraints
, METH_VARARGS
| METH_KEYWORDS
},
41835 { (char *)"LayoutConstraints_AreSatisfied", (PyCFunction
) _wrap_LayoutConstraints_AreSatisfied
, METH_VARARGS
| METH_KEYWORDS
},
41836 { (char *)"LayoutConstraints_swigregister", LayoutConstraints_swigregister
, METH_VARARGS
},
41841 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
41843 static void *_p_wxGBSizerItemTo_p_wxSizerItem(void *x
) {
41844 return (void *)((wxSizerItem
*) ((wxGBSizerItem
*) x
));
41846 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) {
41847 return (void *)((wxSizer
*) ((wxBoxSizer
*) x
));
41849 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) {
41850 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
41852 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) {
41853 return (void *)((wxSizer
*) (wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
41855 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) {
41856 return (void *)((wxSizer
*) ((wxGridSizer
*) x
));
41858 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) {
41859 return (void *)((wxSizer
*) (wxGridSizer
*) ((wxFlexGridSizer
*) x
));
41861 static void *_p_wxPySizerTo_p_wxSizer(void *x
) {
41862 return (void *)((wxSizer
*) ((wxPySizer
*) x
));
41864 static void *_p_wxStaticBoxSizerTo_p_wxBoxSizer(void *x
) {
41865 return (void *)((wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
41867 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
41868 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
41870 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
41871 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
41873 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
41874 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
41876 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
41877 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
41879 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
41880 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
41882 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
41883 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
41885 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
41886 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
41888 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
41889 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
41891 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
41892 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
41894 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
41895 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
41897 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
41898 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
41900 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
41901 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
41903 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
41904 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
41906 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
41907 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
41909 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
41910 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
41912 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
41913 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
41915 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
41916 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
41918 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
41919 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
41921 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
41922 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
41924 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
41925 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
41927 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
41928 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
41930 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
41931 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
41933 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
41934 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
41936 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
41937 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
41939 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
41940 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
41942 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
41943 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
41945 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
41946 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
41948 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
41949 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
41951 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
41952 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
41954 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
41955 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
41957 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
41958 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
41960 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
41961 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
41963 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
41964 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
41966 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
41967 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
41969 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
41970 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
41972 static void *_p_wxGridBagSizerTo_p_wxGridSizer(void *x
) {
41973 return (void *)((wxGridSizer
*) (wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
41975 static void *_p_wxFlexGridSizerTo_p_wxGridSizer(void *x
) {
41976 return (void *)((wxGridSizer
*) ((wxFlexGridSizer
*) x
));
41978 static void *_p_wxGridBagSizerTo_p_wxFlexGridSizer(void *x
) {
41979 return (void *)((wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
41981 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
41982 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
41984 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
41985 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
41987 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
41988 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
41990 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
41991 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
41993 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
41994 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
41996 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
41997 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
41999 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
42000 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
42002 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
42003 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
42005 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
42006 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
42008 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
42009 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
42011 static void *_p_wxANIHandlerTo_p_wxCURHandler(void *x
) {
42012 return (void *)((wxCURHandler
*) ((wxANIHandler
*) x
));
42014 static void *_p_wxCURHandlerTo_p_wxICOHandler(void *x
) {
42015 return (void *)((wxICOHandler
*) ((wxCURHandler
*) x
));
42017 static void *_p_wxANIHandlerTo_p_wxICOHandler(void *x
) {
42018 return (void *)((wxICOHandler
*) (wxCURHandler
*) ((wxANIHandler
*) x
));
42020 static void *_p_wxICOHandlerTo_p_wxBMPHandler(void *x
) {
42021 return (void *)((wxBMPHandler
*) ((wxICOHandler
*) x
));
42023 static void *_p_wxCURHandlerTo_p_wxBMPHandler(void *x
) {
42024 return (void *)((wxBMPHandler
*) (wxICOHandler
*) ((wxCURHandler
*) x
));
42026 static void *_p_wxANIHandlerTo_p_wxBMPHandler(void *x
) {
42027 return (void *)((wxBMPHandler
*) (wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
42029 static void *_p_wxBMPHandlerTo_p_wxImageHandler(void *x
) {
42030 return (void *)((wxImageHandler
*) ((wxBMPHandler
*) x
));
42032 static void *_p_wxICOHandlerTo_p_wxImageHandler(void *x
) {
42033 return (void *)((wxImageHandler
*) (wxBMPHandler
*) ((wxICOHandler
*) x
));
42035 static void *_p_wxCURHandlerTo_p_wxImageHandler(void *x
) {
42036 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
42038 static void *_p_wxANIHandlerTo_p_wxImageHandler(void *x
) {
42039 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
42041 static void *_p_wxPNGHandlerTo_p_wxImageHandler(void *x
) {
42042 return (void *)((wxImageHandler
*) ((wxPNGHandler
*) x
));
42044 static void *_p_wxGIFHandlerTo_p_wxImageHandler(void *x
) {
42045 return (void *)((wxImageHandler
*) ((wxGIFHandler
*) x
));
42047 static void *_p_wxPCXHandlerTo_p_wxImageHandler(void *x
) {
42048 return (void *)((wxImageHandler
*) ((wxPCXHandler
*) x
));
42050 static void *_p_wxJPEGHandlerTo_p_wxImageHandler(void *x
) {
42051 return (void *)((wxImageHandler
*) ((wxJPEGHandler
*) x
));
42053 static void *_p_wxPNMHandlerTo_p_wxImageHandler(void *x
) {
42054 return (void *)((wxImageHandler
*) ((wxPNMHandler
*) x
));
42056 static void *_p_wxXPMHandlerTo_p_wxImageHandler(void *x
) {
42057 return (void *)((wxImageHandler
*) ((wxXPMHandler
*) x
));
42059 static void *_p_wxTIFFHandlerTo_p_wxImageHandler(void *x
) {
42060 return (void *)((wxImageHandler
*) ((wxTIFFHandler
*) x
));
42062 static void *_p_wxPyFileSystemHandlerTo_p_wxFileSystemHandler(void *x
) {
42063 return (void *)((wxFileSystemHandler
*) ((wxPyFileSystemHandler
*) x
));
42065 static void *_p_wxInternetFSHandlerTo_p_wxFileSystemHandler(void *x
) {
42066 return (void *)((wxFileSystemHandler
*) ((wxInternetFSHandler
*) x
));
42068 static void *_p_wxZipFSHandlerTo_p_wxFileSystemHandler(void *x
) {
42069 return (void *)((wxFileSystemHandler
*) ((wxZipFSHandler
*) x
));
42071 static void *_p_wxMemoryFSHandlerTo_p_wxFileSystemHandler(void *x
) {
42072 return (void *)((wxFileSystemHandler
*) ((wxMemoryFSHandler
*) x
));
42074 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
42075 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
42077 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
42078 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
42080 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
42081 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
42083 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
42084 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
42086 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
42087 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
42089 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
42090 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
42092 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
42093 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
42095 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
42096 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
42098 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
42099 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
42101 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
42102 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
42104 static void *_p_wxSizerTo_p_wxObject(void *x
) {
42105 return (void *)((wxObject
*) ((wxSizer
*) x
));
42107 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
42108 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
42110 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
42111 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
42113 static void *_p_wxMenuTo_p_wxObject(void *x
) {
42114 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
42116 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
42117 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
42119 static void *_p_wxImageTo_p_wxObject(void *x
) {
42120 return (void *)((wxObject
*) ((wxImage
*) x
));
42122 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
42123 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
42125 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
42126 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
42128 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
42129 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
42131 static void *_p_wxWindowTo_p_wxObject(void *x
) {
42132 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
42134 static void *_p_wxControlTo_p_wxObject(void *x
) {
42135 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
42137 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
42138 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
42140 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
42141 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
42143 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
42144 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
42146 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
42147 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
42149 static void *_p_wxEventTo_p_wxObject(void *x
) {
42150 return (void *)((wxObject
*) ((wxEvent
*) x
));
42152 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
42153 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
42155 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
42156 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
42158 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
42159 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
42161 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
42162 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
42164 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
42165 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
42167 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
42168 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
42170 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
42171 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
42173 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
42174 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
42176 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
42177 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
42179 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
42180 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
42182 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
42183 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
42185 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
42186 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
42188 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
42189 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
42191 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
42192 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
42194 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
42195 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
42197 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
42198 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
42200 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
42201 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
42203 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
42204 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
42206 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
42207 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
42209 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
42210 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
42212 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
42213 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
42215 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
42216 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
42218 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
42219 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
42221 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
42222 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
42224 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
42225 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
42227 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
42228 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
42230 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
42231 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
42233 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
42234 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
42236 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
42237 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
42239 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
42240 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
42242 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
42243 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
42245 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
42246 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
42248 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
42249 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
42251 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
42252 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
42254 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
42255 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
42257 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
42258 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
42260 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
42261 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
42263 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
42264 return (void *)((wxObject
*) ((wxFSFile
*) x
));
42266 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
42267 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
42269 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
42270 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
42272 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
42273 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
42275 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
42276 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
42278 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
42279 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
42281 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
42282 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
42284 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
42285 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
42287 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
42288 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
42290 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
42291 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
42293 static void *_p_wxControlTo_p_wxWindow(void *x
) {
42294 return (void *)((wxWindow
*) ((wxControl
*) x
));
42296 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
42297 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
42299 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
42300 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
42302 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
42303 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
42305 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
42306 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
42308 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
42309 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
42311 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
42312 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
42314 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
42315 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
42317 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
42318 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
42320 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
42321 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
42323 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
42324 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
42326 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
42327 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
42329 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}};
42330 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}};
42331 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}};
42332 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}};
42333 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}};
42334 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}};
42335 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}};
42336 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}};
42337 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}};
42338 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}};
42339 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}};
42340 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}};
42341 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}};
42342 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}};
42343 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}};
42344 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}};
42345 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}};
42346 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}};
42347 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}};
42348 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}};
42349 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}};
42350 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}};
42351 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}};
42352 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}};
42353 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}};
42354 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}};
42355 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}};
42356 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}};
42357 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}};
42358 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}};
42359 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}};
42360 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}};
42361 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}};
42362 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}};
42363 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}};
42364 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}};
42365 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}};
42366 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}};
42367 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}};
42368 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}};
42369 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}};
42370 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}};
42371 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}};
42372 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}};
42373 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}};
42374 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}};
42375 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}};
42376 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}};
42377 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}};
42378 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}};
42379 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}};
42380 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}};
42381 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}};
42382 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}};
42383 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}};
42384 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}};
42385 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}};
42386 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}};
42387 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}};
42388 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}};
42389 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}};
42390 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}};
42391 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}};
42392 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}};
42393 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}};
42394 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}};
42395 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}};
42396 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}};
42397 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}};
42398 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}};
42399 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}};
42400 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}};
42401 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}};
42402 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}};
42403 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}};
42404 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}};
42405 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}};
42406 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}};
42407 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}};
42408 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}};
42409 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}};
42410 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}};
42411 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}};
42412 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}};
42413 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}};
42414 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}};
42415 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}};
42416 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}};
42417 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}};
42418 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}};
42419 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}};
42420 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}};
42421 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}};
42422 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}};
42423 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}};
42424 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}};
42425 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}};
42426 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}};
42427 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}};
42428 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}};
42429 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}};
42430 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}};
42431 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}};
42432 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}};
42433 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}};
42434 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}};
42435 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}};
42436 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}};
42437 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}};
42438 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}};
42439 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}};
42440 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}};
42441 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}};
42442 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}};
42443 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}};
42445 static swig_type_info
*swig_types_initial
[] = {
42446 _swigt__p_wxLayoutConstraints
,
42447 _swigt__p_wxRealPoint
,
42448 _swigt__p_wxSizerItem
,
42449 _swigt__p_wxGBSizerItem
,
42450 _swigt__p_wxScrollEvent
,
42451 _swigt__p_wxIndividualLayoutConstraint
,
42453 _swigt__p_wxBoxSizer
,
42454 _swigt__p_wxStaticBoxSizer
,
42455 _swigt__p_wxGridBagSizer
,
42456 _swigt__p_wxAcceleratorEntry
,
42457 _swigt__p_wxUpdateUIEvent
,
42460 _swigt__p_wxGridSizer
,
42461 _swigt__p_wxFlexGridSizer
,
42462 _swigt__p_wxInitDialogEvent
,
42463 _swigt__p_wxItemContainer
,
42464 _swigt__p_wxNcPaintEvent
,
42465 _swigt__p_wxPaintEvent
,
42466 _swigt__p_wxSysColourChangedEvent
,
42467 _swigt__p_wxMouseCaptureChangedEvent
,
42468 _swigt__p_wxDisplayChangedEvent
,
42469 _swigt__p_wxPaletteChangedEvent
,
42470 _swigt__p_wxControl
,
42472 _swigt__p_wxMenuBarBase
,
42473 _swigt__p_wxSetCursorEvent
,
42474 _swigt__p_wxFSFile
,
42476 _swigt__p_wxRegion
,
42477 _swigt__p_wxPoint2D
,
42481 _swigt__p_wxPySizer
,
42482 _swigt__p_wxVisualAttributes
,
42483 _swigt__p_wxNotifyEvent
,
42484 _swigt__p_wxPyEvent
,
42485 _swigt__p_wxPropagationDisabler
,
42486 _swigt__p_wxAppTraits
,
42487 _swigt__p_wxArrayString
,
42488 _swigt__p_wxShowEvent
,
42489 _swigt__p_wxToolTip
,
42490 _swigt__p_wxMaximizeEvent
,
42491 _swigt__p_wxIconizeEvent
,
42492 _swigt__p_wxActivateEvent
,
42493 _swigt__p_wxMoveEvent
,
42494 _swigt__p_wxSizeEvent
,
42495 _swigt__p_wxQueryNewPaletteEvent
,
42496 _swigt__p_wxWindowCreateEvent
,
42497 _swigt__p_wxIdleEvent
,
42498 _swigt__p_wxMenuItem
,
42499 _swigt__p_wxStaticBox
,
42501 _swigt__p_wxTIFFHandler
,
42502 _swigt__p_wxXPMHandler
,
42503 _swigt__p_wxPNMHandler
,
42504 _swigt__p_wxJPEGHandler
,
42505 _swigt__p_wxPCXHandler
,
42506 _swigt__p_wxGIFHandler
,
42507 _swigt__p_wxPNGHandler
,
42508 _swigt__p_wxANIHandler
,
42509 _swigt__p_wxMemoryFSHandler
,
42510 _swigt__p_wxEvtHandler
,
42511 _swigt__p_wxCURHandler
,
42512 _swigt__p_wxICOHandler
,
42513 _swigt__p_wxBMPHandler
,
42514 _swigt__p_wxImageHandler
,
42515 _swigt__p_wxFileSystemHandler
,
42516 _swigt__p_wxPyFileSystemHandler
,
42517 _swigt__p_wxInternetFSHandler
,
42518 _swigt__p_wxZipFSHandler
,
42520 _swigt__p_wxGBSpan
,
42521 _swigt__p_wxPropagateOnce
,
42522 _swigt__p_wxAcceleratorTable
,
42524 _swigt__p_wxGBPosition
,
42527 _swigt__p_wxScrollWinEvent
,
42528 _swigt__p_wxImageHistogram
,
42531 _swigt__p_wxCursor
,
42532 _swigt__p_wxObject
,
42533 _swigt__p_wxPyInputStream
,
42534 _swigt__p_wxOutputStream
,
42535 _swigt__p_wxInputStream
,
42536 _swigt__p_wxDateTime
,
42537 _swigt__p_wxKeyEvent
,
42538 _swigt__p_wxNavigationKeyEvent
,
42539 _swigt__p_wxWindowDestroyEvent
,
42540 _swigt__p_wxWindow
,
42541 _swigt__p_wxMenuBar
,
42542 _swigt__p_wxFileSystem
,
42543 _swigt__p_wxBitmap
,
42544 _swigt__p_wxMenuEvent
,
42545 _swigt__p_wxContextMenuEvent
,
42546 _swigt__p_unsigned_char
,
42547 _swigt__p_wxCloseEvent
,
42548 _swigt__p_wxEraseEvent
,
42549 _swigt__p_wxMouseEvent
,
42551 _swigt__p_wxCommandEvent
,
42552 _swigt__p_wxPyCommandEvent
,
42553 _swigt__p_wxPyDropTarget
,
42554 _swigt__p_wxChildFocusEvent
,
42555 _swigt__p_wxFocusEvent
,
42556 _swigt__p_wxDropFilesEvent
,
42557 _swigt__p_wxControlWithItems
,
42558 _swigt__p_wxColour
,
42559 _swigt__p_wxValidator
,
42560 _swigt__p_wxPyValidator
,
42565 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
42567 static swig_const_info swig_const_table
[] = {
42577 SWIGEXPORT(void) SWIG_init(void) {
42578 static PyObject
*SWIG_globals
= 0;
42579 static int typeinit
= 0;
42582 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
42583 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
42584 d
= PyModule_GetDict(m
);
42587 for (i
= 0; swig_types_initial
[i
]; i
++) {
42588 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
42592 SWIG_InstallConstants(d
,swig_const_table
);
42595 #ifndef wxPyUSE_EXPORT
42596 // Make our API structure a CObject so other modules can import it
42597 // from this module.
42598 PyObject
* cobj
= PyCObject_FromVoidPtr(&API
, NULL
);
42599 PyDict_SetItemString(d
,"_wxPyCoreAPI", cobj
);
42603 PyDict_SetItemString(d
,"NOT_FOUND", SWIG_FromInt((int)wxNOT_FOUND
));
42604 PyDict_SetItemString(d
,"VSCROLL", SWIG_FromInt((int)wxVSCROLL
));
42605 PyDict_SetItemString(d
,"HSCROLL", SWIG_FromInt((int)wxHSCROLL
));
42606 PyDict_SetItemString(d
,"CAPTION", SWIG_FromInt((int)wxCAPTION
));
42607 PyDict_SetItemString(d
,"DOUBLE_BORDER", SWIG_FromInt((int)wxDOUBLE_BORDER
));
42608 PyDict_SetItemString(d
,"SUNKEN_BORDER", SWIG_FromInt((int)wxSUNKEN_BORDER
));
42609 PyDict_SetItemString(d
,"RAISED_BORDER", SWIG_FromInt((int)wxRAISED_BORDER
));
42610 PyDict_SetItemString(d
,"BORDER", SWIG_FromInt((int)wxBORDER
));
42611 PyDict_SetItemString(d
,"SIMPLE_BORDER", SWIG_FromInt((int)wxSIMPLE_BORDER
));
42612 PyDict_SetItemString(d
,"STATIC_BORDER", SWIG_FromInt((int)wxSTATIC_BORDER
));
42613 PyDict_SetItemString(d
,"TRANSPARENT_WINDOW", SWIG_FromInt((int)wxTRANSPARENT_WINDOW
));
42614 PyDict_SetItemString(d
,"NO_BORDER", SWIG_FromInt((int)wxNO_BORDER
));
42615 PyDict_SetItemString(d
,"TAB_TRAVERSAL", SWIG_FromInt((int)wxTAB_TRAVERSAL
));
42616 PyDict_SetItemString(d
,"WANTS_CHARS", SWIG_FromInt((int)wxWANTS_CHARS
));
42617 PyDict_SetItemString(d
,"POPUP_WINDOW", SWIG_FromInt((int)wxPOPUP_WINDOW
));
42618 PyDict_SetItemString(d
,"CENTER_FRAME", SWIG_FromInt((int)wxCENTER_FRAME
));
42619 PyDict_SetItemString(d
,"CENTRE_ON_SCREEN", SWIG_FromInt((int)wxCENTRE_ON_SCREEN
));
42620 PyDict_SetItemString(d
,"CENTER_ON_SCREEN", SWIG_FromInt((int)wxCENTER_ON_SCREEN
));
42621 PyDict_SetItemString(d
,"ED_CLIENT_MARGIN", SWIG_FromInt((int)wxED_CLIENT_MARGIN
));
42622 PyDict_SetItemString(d
,"ED_BUTTONS_BOTTOM", SWIG_FromInt((int)wxED_BUTTONS_BOTTOM
));
42623 PyDict_SetItemString(d
,"ED_BUTTONS_RIGHT", SWIG_FromInt((int)wxED_BUTTONS_RIGHT
));
42624 PyDict_SetItemString(d
,"ED_STATIC_LINE", SWIG_FromInt((int)wxED_STATIC_LINE
));
42625 PyDict_SetItemString(d
,"EXT_DIALOG_STYLE", SWIG_FromInt((int)wxEXT_DIALOG_STYLE
));
42626 PyDict_SetItemString(d
,"CLIP_CHILDREN", SWIG_FromInt((int)wxCLIP_CHILDREN
));
42627 PyDict_SetItemString(d
,"CLIP_SIBLINGS", SWIG_FromInt((int)wxCLIP_SIBLINGS
));
42628 PyDict_SetItemString(d
,"ALWAYS_SHOW_SB", SWIG_FromInt((int)wxALWAYS_SHOW_SB
));
42629 PyDict_SetItemString(d
,"RETAINED", SWIG_FromInt((int)wxRETAINED
));
42630 PyDict_SetItemString(d
,"BACKINGSTORE", SWIG_FromInt((int)wxBACKINGSTORE
));
42631 PyDict_SetItemString(d
,"COLOURED", SWIG_FromInt((int)wxCOLOURED
));
42632 PyDict_SetItemString(d
,"FIXED_LENGTH", SWIG_FromInt((int)wxFIXED_LENGTH
));
42633 PyDict_SetItemString(d
,"LB_NEEDED_SB", SWIG_FromInt((int)wxLB_NEEDED_SB
));
42634 PyDict_SetItemString(d
,"LB_ALWAYS_SB", SWIG_FromInt((int)wxLB_ALWAYS_SB
));
42635 PyDict_SetItemString(d
,"LB_SORT", SWIG_FromInt((int)wxLB_SORT
));
42636 PyDict_SetItemString(d
,"LB_SINGLE", SWIG_FromInt((int)wxLB_SINGLE
));
42637 PyDict_SetItemString(d
,"LB_MULTIPLE", SWIG_FromInt((int)wxLB_MULTIPLE
));
42638 PyDict_SetItemString(d
,"LB_EXTENDED", SWIG_FromInt((int)wxLB_EXTENDED
));
42639 PyDict_SetItemString(d
,"LB_OWNERDRAW", SWIG_FromInt((int)wxLB_OWNERDRAW
));
42640 PyDict_SetItemString(d
,"LB_HSCROLL", SWIG_FromInt((int)wxLB_HSCROLL
));
42641 PyDict_SetItemString(d
,"PROCESS_ENTER", SWIG_FromInt((int)wxPROCESS_ENTER
));
42642 PyDict_SetItemString(d
,"PASSWORD", SWIG_FromInt((int)wxPASSWORD
));
42643 PyDict_SetItemString(d
,"CB_SIMPLE", SWIG_FromInt((int)wxCB_SIMPLE
));
42644 PyDict_SetItemString(d
,"CB_DROPDOWN", SWIG_FromInt((int)wxCB_DROPDOWN
));
42645 PyDict_SetItemString(d
,"CB_SORT", SWIG_FromInt((int)wxCB_SORT
));
42646 PyDict_SetItemString(d
,"CB_READONLY", SWIG_FromInt((int)wxCB_READONLY
));
42647 PyDict_SetItemString(d
,"RA_HORIZONTAL", SWIG_FromInt((int)wxRA_HORIZONTAL
));
42648 PyDict_SetItemString(d
,"RA_VERTICAL", SWIG_FromInt((int)wxRA_VERTICAL
));
42649 PyDict_SetItemString(d
,"RA_SPECIFY_ROWS", SWIG_FromInt((int)wxRA_SPECIFY_ROWS
));
42650 PyDict_SetItemString(d
,"RA_SPECIFY_COLS", SWIG_FromInt((int)wxRA_SPECIFY_COLS
));
42651 PyDict_SetItemString(d
,"RB_GROUP", SWIG_FromInt((int)wxRB_GROUP
));
42652 PyDict_SetItemString(d
,"RB_SINGLE", SWIG_FromInt((int)wxRB_SINGLE
));
42653 PyDict_SetItemString(d
,"SL_HORIZONTAL", SWIG_FromInt((int)wxSL_HORIZONTAL
));
42654 PyDict_SetItemString(d
,"SL_VERTICAL", SWIG_FromInt((int)wxSL_VERTICAL
));
42655 PyDict_SetItemString(d
,"SL_AUTOTICKS", SWIG_FromInt((int)wxSL_AUTOTICKS
));
42656 PyDict_SetItemString(d
,"SL_LABELS", SWIG_FromInt((int)wxSL_LABELS
));
42657 PyDict_SetItemString(d
,"SL_LEFT", SWIG_FromInt((int)wxSL_LEFT
));
42658 PyDict_SetItemString(d
,"SL_TOP", SWIG_FromInt((int)wxSL_TOP
));
42659 PyDict_SetItemString(d
,"SL_RIGHT", SWIG_FromInt((int)wxSL_RIGHT
));
42660 PyDict_SetItemString(d
,"SL_BOTTOM", SWIG_FromInt((int)wxSL_BOTTOM
));
42661 PyDict_SetItemString(d
,"SL_BOTH", SWIG_FromInt((int)wxSL_BOTH
));
42662 PyDict_SetItemString(d
,"SL_SELRANGE", SWIG_FromInt((int)wxSL_SELRANGE
));
42663 PyDict_SetItemString(d
,"SB_HORIZONTAL", SWIG_FromInt((int)wxSB_HORIZONTAL
));
42664 PyDict_SetItemString(d
,"SB_VERTICAL", SWIG_FromInt((int)wxSB_VERTICAL
));
42665 PyDict_SetItemString(d
,"ST_SIZEGRIP", SWIG_FromInt((int)wxST_SIZEGRIP
));
42666 PyDict_SetItemString(d
,"ST_NO_AUTORESIZE", SWIG_FromInt((int)wxST_NO_AUTORESIZE
));
42667 PyDict_SetItemString(d
,"FLOOD_SURFACE", SWIG_FromInt((int)wxFLOOD_SURFACE
));
42668 PyDict_SetItemString(d
,"FLOOD_BORDER", SWIG_FromInt((int)wxFLOOD_BORDER
));
42669 PyDict_SetItemString(d
,"ODDEVEN_RULE", SWIG_FromInt((int)wxODDEVEN_RULE
));
42670 PyDict_SetItemString(d
,"WINDING_RULE", SWIG_FromInt((int)wxWINDING_RULE
));
42671 PyDict_SetItemString(d
,"TOOL_TOP", SWIG_FromInt((int)wxTOOL_TOP
));
42672 PyDict_SetItemString(d
,"TOOL_BOTTOM", SWIG_FromInt((int)wxTOOL_BOTTOM
));
42673 PyDict_SetItemString(d
,"TOOL_LEFT", SWIG_FromInt((int)wxTOOL_LEFT
));
42674 PyDict_SetItemString(d
,"TOOL_RIGHT", SWIG_FromInt((int)wxTOOL_RIGHT
));
42675 PyDict_SetItemString(d
,"OK", SWIG_FromInt((int)wxOK
));
42676 PyDict_SetItemString(d
,"YES_NO", SWIG_FromInt((int)wxYES_NO
));
42677 PyDict_SetItemString(d
,"CANCEL", SWIG_FromInt((int)wxCANCEL
));
42678 PyDict_SetItemString(d
,"YES", SWIG_FromInt((int)wxYES
));
42679 PyDict_SetItemString(d
,"NO", SWIG_FromInt((int)wxNO
));
42680 PyDict_SetItemString(d
,"NO_DEFAULT", SWIG_FromInt((int)wxNO_DEFAULT
));
42681 PyDict_SetItemString(d
,"YES_DEFAULT", SWIG_FromInt((int)wxYES_DEFAULT
));
42682 PyDict_SetItemString(d
,"ICON_EXCLAMATION", SWIG_FromInt((int)wxICON_EXCLAMATION
));
42683 PyDict_SetItemString(d
,"ICON_HAND", SWIG_FromInt((int)wxICON_HAND
));
42684 PyDict_SetItemString(d
,"ICON_QUESTION", SWIG_FromInt((int)wxICON_QUESTION
));
42685 PyDict_SetItemString(d
,"ICON_INFORMATION", SWIG_FromInt((int)wxICON_INFORMATION
));
42686 PyDict_SetItemString(d
,"ICON_STOP", SWIG_FromInt((int)wxICON_STOP
));
42687 PyDict_SetItemString(d
,"ICON_ASTERISK", SWIG_FromInt((int)wxICON_ASTERISK
));
42688 PyDict_SetItemString(d
,"ICON_MASK", SWIG_FromInt((int)wxICON_MASK
));
42689 PyDict_SetItemString(d
,"ICON_WARNING", SWIG_FromInt((int)wxICON_WARNING
));
42690 PyDict_SetItemString(d
,"ICON_ERROR", SWIG_FromInt((int)wxICON_ERROR
));
42691 PyDict_SetItemString(d
,"FORWARD", SWIG_FromInt((int)wxFORWARD
));
42692 PyDict_SetItemString(d
,"BACKWARD", SWIG_FromInt((int)wxBACKWARD
));
42693 PyDict_SetItemString(d
,"RESET", SWIG_FromInt((int)wxRESET
));
42694 PyDict_SetItemString(d
,"HELP", SWIG_FromInt((int)wxHELP
));
42695 PyDict_SetItemString(d
,"MORE", SWIG_FromInt((int)wxMORE
));
42696 PyDict_SetItemString(d
,"SETUP", SWIG_FromInt((int)wxSETUP
));
42697 PyDict_SetItemString(d
,"SIZE_AUTO_WIDTH", SWIG_FromInt((int)wxSIZE_AUTO_WIDTH
));
42698 PyDict_SetItemString(d
,"SIZE_AUTO_HEIGHT", SWIG_FromInt((int)wxSIZE_AUTO_HEIGHT
));
42699 PyDict_SetItemString(d
,"SIZE_AUTO", SWIG_FromInt((int)wxSIZE_AUTO
));
42700 PyDict_SetItemString(d
,"SIZE_USE_EXISTING", SWIG_FromInt((int)wxSIZE_USE_EXISTING
));
42701 PyDict_SetItemString(d
,"SIZE_ALLOW_MINUS_ONE", SWIG_FromInt((int)wxSIZE_ALLOW_MINUS_ONE
));
42702 PyDict_SetItemString(d
,"PORTRAIT", SWIG_FromInt((int)wxPORTRAIT
));
42703 PyDict_SetItemString(d
,"LANDSCAPE", SWIG_FromInt((int)wxLANDSCAPE
));
42704 PyDict_SetItemString(d
,"PRINT_QUALITY_HIGH", SWIG_FromInt((int)wxPRINT_QUALITY_HIGH
));
42705 PyDict_SetItemString(d
,"PRINT_QUALITY_MEDIUM", SWIG_FromInt((int)wxPRINT_QUALITY_MEDIUM
));
42706 PyDict_SetItemString(d
,"PRINT_QUALITY_LOW", SWIG_FromInt((int)wxPRINT_QUALITY_LOW
));
42707 PyDict_SetItemString(d
,"PRINT_QUALITY_DRAFT", SWIG_FromInt((int)wxPRINT_QUALITY_DRAFT
));
42708 PyDict_SetItemString(d
,"ID_ANY", SWIG_FromInt((int)wxID_ANY
));
42709 PyDict_SetItemString(d
,"ID_SEPARATOR", SWIG_FromInt((int)wxID_SEPARATOR
));
42710 PyDict_SetItemString(d
,"ID_LOWEST", SWIG_FromInt((int)wxID_LOWEST
));
42711 PyDict_SetItemString(d
,"ID_OPEN", SWIG_FromInt((int)wxID_OPEN
));
42712 PyDict_SetItemString(d
,"ID_CLOSE", SWIG_FromInt((int)wxID_CLOSE
));
42713 PyDict_SetItemString(d
,"ID_NEW", SWIG_FromInt((int)wxID_NEW
));
42714 PyDict_SetItemString(d
,"ID_SAVE", SWIG_FromInt((int)wxID_SAVE
));
42715 PyDict_SetItemString(d
,"ID_SAVEAS", SWIG_FromInt((int)wxID_SAVEAS
));
42716 PyDict_SetItemString(d
,"ID_REVERT", SWIG_FromInt((int)wxID_REVERT
));
42717 PyDict_SetItemString(d
,"ID_EXIT", SWIG_FromInt((int)wxID_EXIT
));
42718 PyDict_SetItemString(d
,"ID_UNDO", SWIG_FromInt((int)wxID_UNDO
));
42719 PyDict_SetItemString(d
,"ID_REDO", SWIG_FromInt((int)wxID_REDO
));
42720 PyDict_SetItemString(d
,"ID_HELP", SWIG_FromInt((int)wxID_HELP
));
42721 PyDict_SetItemString(d
,"ID_PRINT", SWIG_FromInt((int)wxID_PRINT
));
42722 PyDict_SetItemString(d
,"ID_PRINT_SETUP", SWIG_FromInt((int)wxID_PRINT_SETUP
));
42723 PyDict_SetItemString(d
,"ID_PREVIEW", SWIG_FromInt((int)wxID_PREVIEW
));
42724 PyDict_SetItemString(d
,"ID_ABOUT", SWIG_FromInt((int)wxID_ABOUT
));
42725 PyDict_SetItemString(d
,"ID_HELP_CONTENTS", SWIG_FromInt((int)wxID_HELP_CONTENTS
));
42726 PyDict_SetItemString(d
,"ID_HELP_COMMANDS", SWIG_FromInt((int)wxID_HELP_COMMANDS
));
42727 PyDict_SetItemString(d
,"ID_HELP_PROCEDURES", SWIG_FromInt((int)wxID_HELP_PROCEDURES
));
42728 PyDict_SetItemString(d
,"ID_HELP_CONTEXT", SWIG_FromInt((int)wxID_HELP_CONTEXT
));
42729 PyDict_SetItemString(d
,"ID_CLOSE_ALL", SWIG_FromInt((int)wxID_CLOSE_ALL
));
42730 PyDict_SetItemString(d
,"ID_PREFERENCES", SWIG_FromInt((int)wxID_PREFERENCES
));
42731 PyDict_SetItemString(d
,"ID_CUT", SWIG_FromInt((int)wxID_CUT
));
42732 PyDict_SetItemString(d
,"ID_COPY", SWIG_FromInt((int)wxID_COPY
));
42733 PyDict_SetItemString(d
,"ID_PASTE", SWIG_FromInt((int)wxID_PASTE
));
42734 PyDict_SetItemString(d
,"ID_CLEAR", SWIG_FromInt((int)wxID_CLEAR
));
42735 PyDict_SetItemString(d
,"ID_FIND", SWIG_FromInt((int)wxID_FIND
));
42736 PyDict_SetItemString(d
,"ID_DUPLICATE", SWIG_FromInt((int)wxID_DUPLICATE
));
42737 PyDict_SetItemString(d
,"ID_SELECTALL", SWIG_FromInt((int)wxID_SELECTALL
));
42738 PyDict_SetItemString(d
,"ID_DELETE", SWIG_FromInt((int)wxID_DELETE
));
42739 PyDict_SetItemString(d
,"ID_REPLACE", SWIG_FromInt((int)wxID_REPLACE
));
42740 PyDict_SetItemString(d
,"ID_REPLACE_ALL", SWIG_FromInt((int)wxID_REPLACE_ALL
));
42741 PyDict_SetItemString(d
,"ID_PROPERTIES", SWIG_FromInt((int)wxID_PROPERTIES
));
42742 PyDict_SetItemString(d
,"ID_VIEW_DETAILS", SWIG_FromInt((int)wxID_VIEW_DETAILS
));
42743 PyDict_SetItemString(d
,"ID_VIEW_LARGEICONS", SWIG_FromInt((int)wxID_VIEW_LARGEICONS
));
42744 PyDict_SetItemString(d
,"ID_VIEW_SMALLICONS", SWIG_FromInt((int)wxID_VIEW_SMALLICONS
));
42745 PyDict_SetItemString(d
,"ID_VIEW_LIST", SWIG_FromInt((int)wxID_VIEW_LIST
));
42746 PyDict_SetItemString(d
,"ID_VIEW_SORTDATE", SWIG_FromInt((int)wxID_VIEW_SORTDATE
));
42747 PyDict_SetItemString(d
,"ID_VIEW_SORTNAME", SWIG_FromInt((int)wxID_VIEW_SORTNAME
));
42748 PyDict_SetItemString(d
,"ID_VIEW_SORTSIZE", SWIG_FromInt((int)wxID_VIEW_SORTSIZE
));
42749 PyDict_SetItemString(d
,"ID_VIEW_SORTTYPE", SWIG_FromInt((int)wxID_VIEW_SORTTYPE
));
42750 PyDict_SetItemString(d
,"ID_FILE1", SWIG_FromInt((int)wxID_FILE1
));
42751 PyDict_SetItemString(d
,"ID_FILE2", SWIG_FromInt((int)wxID_FILE2
));
42752 PyDict_SetItemString(d
,"ID_FILE3", SWIG_FromInt((int)wxID_FILE3
));
42753 PyDict_SetItemString(d
,"ID_FILE4", SWIG_FromInt((int)wxID_FILE4
));
42754 PyDict_SetItemString(d
,"ID_FILE5", SWIG_FromInt((int)wxID_FILE5
));
42755 PyDict_SetItemString(d
,"ID_FILE6", SWIG_FromInt((int)wxID_FILE6
));
42756 PyDict_SetItemString(d
,"ID_FILE7", SWIG_FromInt((int)wxID_FILE7
));
42757 PyDict_SetItemString(d
,"ID_FILE8", SWIG_FromInt((int)wxID_FILE8
));
42758 PyDict_SetItemString(d
,"ID_FILE9", SWIG_FromInt((int)wxID_FILE9
));
42759 PyDict_SetItemString(d
,"ID_OK", SWIG_FromInt((int)wxID_OK
));
42760 PyDict_SetItemString(d
,"ID_CANCEL", SWIG_FromInt((int)wxID_CANCEL
));
42761 PyDict_SetItemString(d
,"ID_APPLY", SWIG_FromInt((int)wxID_APPLY
));
42762 PyDict_SetItemString(d
,"ID_YES", SWIG_FromInt((int)wxID_YES
));
42763 PyDict_SetItemString(d
,"ID_NO", SWIG_FromInt((int)wxID_NO
));
42764 PyDict_SetItemString(d
,"ID_STATIC", SWIG_FromInt((int)wxID_STATIC
));
42765 PyDict_SetItemString(d
,"ID_FORWARD", SWIG_FromInt((int)wxID_FORWARD
));
42766 PyDict_SetItemString(d
,"ID_BACKWARD", SWIG_FromInt((int)wxID_BACKWARD
));
42767 PyDict_SetItemString(d
,"ID_DEFAULT", SWIG_FromInt((int)wxID_DEFAULT
));
42768 PyDict_SetItemString(d
,"ID_MORE", SWIG_FromInt((int)wxID_MORE
));
42769 PyDict_SetItemString(d
,"ID_SETUP", SWIG_FromInt((int)wxID_SETUP
));
42770 PyDict_SetItemString(d
,"ID_RESET", SWIG_FromInt((int)wxID_RESET
));
42771 PyDict_SetItemString(d
,"ID_CONTEXT_HELP", SWIG_FromInt((int)wxID_CONTEXT_HELP
));
42772 PyDict_SetItemString(d
,"ID_YESTOALL", SWIG_FromInt((int)wxID_YESTOALL
));
42773 PyDict_SetItemString(d
,"ID_NOTOALL", SWIG_FromInt((int)wxID_NOTOALL
));
42774 PyDict_SetItemString(d
,"ID_ABORT", SWIG_FromInt((int)wxID_ABORT
));
42775 PyDict_SetItemString(d
,"ID_RETRY", SWIG_FromInt((int)wxID_RETRY
));
42776 PyDict_SetItemString(d
,"ID_IGNORE", SWIG_FromInt((int)wxID_IGNORE
));
42777 PyDict_SetItemString(d
,"ID_HIGHEST", SWIG_FromInt((int)wxID_HIGHEST
));
42778 PyDict_SetItemString(d
,"OPEN", SWIG_FromInt((int)wxOPEN
));
42779 PyDict_SetItemString(d
,"SAVE", SWIG_FromInt((int)wxSAVE
));
42780 PyDict_SetItemString(d
,"HIDE_READONLY", SWIG_FromInt((int)wxHIDE_READONLY
));
42781 PyDict_SetItemString(d
,"OVERWRITE_PROMPT", SWIG_FromInt((int)wxOVERWRITE_PROMPT
));
42782 PyDict_SetItemString(d
,"FILE_MUST_EXIST", SWIG_FromInt((int)wxFILE_MUST_EXIST
));
42783 PyDict_SetItemString(d
,"MULTIPLE", SWIG_FromInt((int)wxMULTIPLE
));
42784 PyDict_SetItemString(d
,"CHANGE_DIR", SWIG_FromInt((int)wxCHANGE_DIR
));
42785 PyDict_SetItemString(d
,"ACCEL_ALT", SWIG_FromInt((int)wxACCEL_ALT
));
42786 PyDict_SetItemString(d
,"ACCEL_CTRL", SWIG_FromInt((int)wxACCEL_CTRL
));
42787 PyDict_SetItemString(d
,"ACCEL_SHIFT", SWIG_FromInt((int)wxACCEL_SHIFT
));
42788 PyDict_SetItemString(d
,"ACCEL_NORMAL", SWIG_FromInt((int)wxACCEL_NORMAL
));
42789 PyDict_SetItemString(d
,"PD_AUTO_HIDE", SWIG_FromInt((int)wxPD_AUTO_HIDE
));
42790 PyDict_SetItemString(d
,"PD_APP_MODAL", SWIG_FromInt((int)wxPD_APP_MODAL
));
42791 PyDict_SetItemString(d
,"PD_CAN_ABORT", SWIG_FromInt((int)wxPD_CAN_ABORT
));
42792 PyDict_SetItemString(d
,"PD_ELAPSED_TIME", SWIG_FromInt((int)wxPD_ELAPSED_TIME
));
42793 PyDict_SetItemString(d
,"PD_ESTIMATED_TIME", SWIG_FromInt((int)wxPD_ESTIMATED_TIME
));
42794 PyDict_SetItemString(d
,"PD_REMAINING_TIME", SWIG_FromInt((int)wxPD_REMAINING_TIME
));
42795 PyDict_SetItemString(d
,"DD_NEW_DIR_BUTTON", SWIG_FromInt((int)wxDD_NEW_DIR_BUTTON
));
42796 PyDict_SetItemString(d
,"DD_DEFAULT_STYLE", SWIG_FromInt((int)wxDD_DEFAULT_STYLE
));
42797 PyDict_SetItemString(d
,"MENU_TEAROFF", SWIG_FromInt((int)wxMENU_TEAROFF
));
42798 PyDict_SetItemString(d
,"MB_DOCKABLE", SWIG_FromInt((int)wxMB_DOCKABLE
));
42799 PyDict_SetItemString(d
,"NO_FULL_REPAINT_ON_RESIZE", SWIG_FromInt((int)wxNO_FULL_REPAINT_ON_RESIZE
));
42800 PyDict_SetItemString(d
,"FULL_REPAINT_ON_RESIZE", SWIG_FromInt((int)wxFULL_REPAINT_ON_RESIZE
));
42801 PyDict_SetItemString(d
,"LI_HORIZONTAL", SWIG_FromInt((int)wxLI_HORIZONTAL
));
42802 PyDict_SetItemString(d
,"LI_VERTICAL", SWIG_FromInt((int)wxLI_VERTICAL
));
42803 PyDict_SetItemString(d
,"WS_EX_VALIDATE_RECURSIVELY", SWIG_FromInt((int)wxWS_EX_VALIDATE_RECURSIVELY
));
42804 PyDict_SetItemString(d
,"WS_EX_BLOCK_EVENTS", SWIG_FromInt((int)wxWS_EX_BLOCK_EVENTS
));
42805 PyDict_SetItemString(d
,"WS_EX_TRANSIENT", SWIG_FromInt((int)wxWS_EX_TRANSIENT
));
42806 PyDict_SetItemString(d
,"WS_EX_THEMED_BACKGROUND", SWIG_FromInt((int)wxWS_EX_THEMED_BACKGROUND
));
42807 PyDict_SetItemString(d
,"WS_EX_PROCESS_IDLE", SWIG_FromInt((int)wxWS_EX_PROCESS_IDLE
));
42808 PyDict_SetItemString(d
,"WS_EX_PROCESS_UI_UPDATES", SWIG_FromInt((int)wxWS_EX_PROCESS_UI_UPDATES
));
42809 PyDict_SetItemString(d
,"MM_TEXT", SWIG_FromInt((int)wxMM_TEXT
));
42810 PyDict_SetItemString(d
,"MM_LOMETRIC", SWIG_FromInt((int)wxMM_LOMETRIC
));
42811 PyDict_SetItemString(d
,"MM_HIMETRIC", SWIG_FromInt((int)wxMM_HIMETRIC
));
42812 PyDict_SetItemString(d
,"MM_LOENGLISH", SWIG_FromInt((int)wxMM_LOENGLISH
));
42813 PyDict_SetItemString(d
,"MM_HIENGLISH", SWIG_FromInt((int)wxMM_HIENGLISH
));
42814 PyDict_SetItemString(d
,"MM_TWIPS", SWIG_FromInt((int)wxMM_TWIPS
));
42815 PyDict_SetItemString(d
,"MM_ISOTROPIC", SWIG_FromInt((int)wxMM_ISOTROPIC
));
42816 PyDict_SetItemString(d
,"MM_ANISOTROPIC", SWIG_FromInt((int)wxMM_ANISOTROPIC
));
42817 PyDict_SetItemString(d
,"MM_POINTS", SWIG_FromInt((int)wxMM_POINTS
));
42818 PyDict_SetItemString(d
,"MM_METRIC", SWIG_FromInt((int)wxMM_METRIC
));
42819 PyDict_SetItemString(d
,"CENTRE", SWIG_FromInt((int)wxCENTRE
));
42820 PyDict_SetItemString(d
,"CENTER", SWIG_FromInt((int)wxCENTER
));
42821 PyDict_SetItemString(d
,"HORIZONTAL", SWIG_FromInt((int)wxHORIZONTAL
));
42822 PyDict_SetItemString(d
,"VERTICAL", SWIG_FromInt((int)wxVERTICAL
));
42823 PyDict_SetItemString(d
,"BOTH", SWIG_FromInt((int)wxBOTH
));
42824 PyDict_SetItemString(d
,"LEFT", SWIG_FromInt((int)wxLEFT
));
42825 PyDict_SetItemString(d
,"RIGHT", SWIG_FromInt((int)wxRIGHT
));
42826 PyDict_SetItemString(d
,"UP", SWIG_FromInt((int)wxUP
));
42827 PyDict_SetItemString(d
,"DOWN", SWIG_FromInt((int)wxDOWN
));
42828 PyDict_SetItemString(d
,"TOP", SWIG_FromInt((int)wxTOP
));
42829 PyDict_SetItemString(d
,"BOTTOM", SWIG_FromInt((int)wxBOTTOM
));
42830 PyDict_SetItemString(d
,"NORTH", SWIG_FromInt((int)wxNORTH
));
42831 PyDict_SetItemString(d
,"SOUTH", SWIG_FromInt((int)wxSOUTH
));
42832 PyDict_SetItemString(d
,"WEST", SWIG_FromInt((int)wxWEST
));
42833 PyDict_SetItemString(d
,"EAST", SWIG_FromInt((int)wxEAST
));
42834 PyDict_SetItemString(d
,"ALL", SWIG_FromInt((int)wxALL
));
42835 PyDict_SetItemString(d
,"ALIGN_NOT", SWIG_FromInt((int)wxALIGN_NOT
));
42836 PyDict_SetItemString(d
,"ALIGN_CENTER_HORIZONTAL", SWIG_FromInt((int)wxALIGN_CENTER_HORIZONTAL
));
42837 PyDict_SetItemString(d
,"ALIGN_CENTRE_HORIZONTAL", SWIG_FromInt((int)wxALIGN_CENTRE_HORIZONTAL
));
42838 PyDict_SetItemString(d
,"ALIGN_LEFT", SWIG_FromInt((int)wxALIGN_LEFT
));
42839 PyDict_SetItemString(d
,"ALIGN_TOP", SWIG_FromInt((int)wxALIGN_TOP
));
42840 PyDict_SetItemString(d
,"ALIGN_RIGHT", SWIG_FromInt((int)wxALIGN_RIGHT
));
42841 PyDict_SetItemString(d
,"ALIGN_BOTTOM", SWIG_FromInt((int)wxALIGN_BOTTOM
));
42842 PyDict_SetItemString(d
,"ALIGN_CENTER_VERTICAL", SWIG_FromInt((int)wxALIGN_CENTER_VERTICAL
));
42843 PyDict_SetItemString(d
,"ALIGN_CENTRE_VERTICAL", SWIG_FromInt((int)wxALIGN_CENTRE_VERTICAL
));
42844 PyDict_SetItemString(d
,"ALIGN_CENTER", SWIG_FromInt((int)wxALIGN_CENTER
));
42845 PyDict_SetItemString(d
,"ALIGN_CENTRE", SWIG_FromInt((int)wxALIGN_CENTRE
));
42846 PyDict_SetItemString(d
,"ALIGN_MASK", SWIG_FromInt((int)wxALIGN_MASK
));
42847 PyDict_SetItemString(d
,"STRETCH_NOT", SWIG_FromInt((int)wxSTRETCH_NOT
));
42848 PyDict_SetItemString(d
,"SHRINK", SWIG_FromInt((int)wxSHRINK
));
42849 PyDict_SetItemString(d
,"GROW", SWIG_FromInt((int)wxGROW
));
42850 PyDict_SetItemString(d
,"EXPAND", SWIG_FromInt((int)wxEXPAND
));
42851 PyDict_SetItemString(d
,"SHAPED", SWIG_FromInt((int)wxSHAPED
));
42852 PyDict_SetItemString(d
,"FIXED_MINSIZE", SWIG_FromInt((int)wxFIXED_MINSIZE
));
42853 PyDict_SetItemString(d
,"TILE", SWIG_FromInt((int)wxTILE
));
42854 PyDict_SetItemString(d
,"ADJUST_MINSIZE", SWIG_FromInt((int)wxADJUST_MINSIZE
));
42855 PyDict_SetItemString(d
,"BORDER_DEFAULT", SWIG_FromInt((int)wxBORDER_DEFAULT
));
42856 PyDict_SetItemString(d
,"BORDER_NONE", SWIG_FromInt((int)wxBORDER_NONE
));
42857 PyDict_SetItemString(d
,"BORDER_STATIC", SWIG_FromInt((int)wxBORDER_STATIC
));
42858 PyDict_SetItemString(d
,"BORDER_SIMPLE", SWIG_FromInt((int)wxBORDER_SIMPLE
));
42859 PyDict_SetItemString(d
,"BORDER_RAISED", SWIG_FromInt((int)wxBORDER_RAISED
));
42860 PyDict_SetItemString(d
,"BORDER_SUNKEN", SWIG_FromInt((int)wxBORDER_SUNKEN
));
42861 PyDict_SetItemString(d
,"BORDER_DOUBLE", SWIG_FromInt((int)wxBORDER_DOUBLE
));
42862 PyDict_SetItemString(d
,"BORDER_MASK", SWIG_FromInt((int)wxBORDER_MASK
));
42863 PyDict_SetItemString(d
,"DEFAULT", SWIG_FromInt((int)wxDEFAULT
));
42864 PyDict_SetItemString(d
,"DECORATIVE", SWIG_FromInt((int)wxDECORATIVE
));
42865 PyDict_SetItemString(d
,"ROMAN", SWIG_FromInt((int)wxROMAN
));
42866 PyDict_SetItemString(d
,"SCRIPT", SWIG_FromInt((int)wxSCRIPT
));
42867 PyDict_SetItemString(d
,"SWISS", SWIG_FromInt((int)wxSWISS
));
42868 PyDict_SetItemString(d
,"MODERN", SWIG_FromInt((int)wxMODERN
));
42869 PyDict_SetItemString(d
,"TELETYPE", SWIG_FromInt((int)wxTELETYPE
));
42870 PyDict_SetItemString(d
,"VARIABLE", SWIG_FromInt((int)wxVARIABLE
));
42871 PyDict_SetItemString(d
,"FIXED", SWIG_FromInt((int)wxFIXED
));
42872 PyDict_SetItemString(d
,"NORMAL", SWIG_FromInt((int)wxNORMAL
));
42873 PyDict_SetItemString(d
,"LIGHT", SWIG_FromInt((int)wxLIGHT
));
42874 PyDict_SetItemString(d
,"BOLD", SWIG_FromInt((int)wxBOLD
));
42875 PyDict_SetItemString(d
,"ITALIC", SWIG_FromInt((int)wxITALIC
));
42876 PyDict_SetItemString(d
,"SLANT", SWIG_FromInt((int)wxSLANT
));
42877 PyDict_SetItemString(d
,"SOLID", SWIG_FromInt((int)wxSOLID
));
42878 PyDict_SetItemString(d
,"DOT", SWIG_FromInt((int)wxDOT
));
42879 PyDict_SetItemString(d
,"LONG_DASH", SWIG_FromInt((int)wxLONG_DASH
));
42880 PyDict_SetItemString(d
,"SHORT_DASH", SWIG_FromInt((int)wxSHORT_DASH
));
42881 PyDict_SetItemString(d
,"DOT_DASH", SWIG_FromInt((int)wxDOT_DASH
));
42882 PyDict_SetItemString(d
,"USER_DASH", SWIG_FromInt((int)wxUSER_DASH
));
42883 PyDict_SetItemString(d
,"TRANSPARENT", SWIG_FromInt((int)wxTRANSPARENT
));
42884 PyDict_SetItemString(d
,"STIPPLE", SWIG_FromInt((int)wxSTIPPLE
));
42885 PyDict_SetItemString(d
,"BDIAGONAL_HATCH", SWIG_FromInt((int)wxBDIAGONAL_HATCH
));
42886 PyDict_SetItemString(d
,"CROSSDIAG_HATCH", SWIG_FromInt((int)wxCROSSDIAG_HATCH
));
42887 PyDict_SetItemString(d
,"FDIAGONAL_HATCH", SWIG_FromInt((int)wxFDIAGONAL_HATCH
));
42888 PyDict_SetItemString(d
,"CROSS_HATCH", SWIG_FromInt((int)wxCROSS_HATCH
));
42889 PyDict_SetItemString(d
,"HORIZONTAL_HATCH", SWIG_FromInt((int)wxHORIZONTAL_HATCH
));
42890 PyDict_SetItemString(d
,"VERTICAL_HATCH", SWIG_FromInt((int)wxVERTICAL_HATCH
));
42891 PyDict_SetItemString(d
,"JOIN_BEVEL", SWIG_FromInt((int)wxJOIN_BEVEL
));
42892 PyDict_SetItemString(d
,"JOIN_MITER", SWIG_FromInt((int)wxJOIN_MITER
));
42893 PyDict_SetItemString(d
,"JOIN_ROUND", SWIG_FromInt((int)wxJOIN_ROUND
));
42894 PyDict_SetItemString(d
,"CAP_ROUND", SWIG_FromInt((int)wxCAP_ROUND
));
42895 PyDict_SetItemString(d
,"CAP_PROJECTING", SWIG_FromInt((int)wxCAP_PROJECTING
));
42896 PyDict_SetItemString(d
,"CAP_BUTT", SWIG_FromInt((int)wxCAP_BUTT
));
42897 PyDict_SetItemString(d
,"CLEAR", SWIG_FromInt((int)wxCLEAR
));
42898 PyDict_SetItemString(d
,"XOR", SWIG_FromInt((int)wxXOR
));
42899 PyDict_SetItemString(d
,"INVERT", SWIG_FromInt((int)wxINVERT
));
42900 PyDict_SetItemString(d
,"OR_REVERSE", SWIG_FromInt((int)wxOR_REVERSE
));
42901 PyDict_SetItemString(d
,"AND_REVERSE", SWIG_FromInt((int)wxAND_REVERSE
));
42902 PyDict_SetItemString(d
,"COPY", SWIG_FromInt((int)wxCOPY
));
42903 PyDict_SetItemString(d
,"AND", SWIG_FromInt((int)wxAND
));
42904 PyDict_SetItemString(d
,"AND_INVERT", SWIG_FromInt((int)wxAND_INVERT
));
42905 PyDict_SetItemString(d
,"NO_OP", SWIG_FromInt((int)wxNO_OP
));
42906 PyDict_SetItemString(d
,"NOR", SWIG_FromInt((int)wxNOR
));
42907 PyDict_SetItemString(d
,"EQUIV", SWIG_FromInt((int)wxEQUIV
));
42908 PyDict_SetItemString(d
,"SRC_INVERT", SWIG_FromInt((int)wxSRC_INVERT
));
42909 PyDict_SetItemString(d
,"OR_INVERT", SWIG_FromInt((int)wxOR_INVERT
));
42910 PyDict_SetItemString(d
,"NAND", SWIG_FromInt((int)wxNAND
));
42911 PyDict_SetItemString(d
,"OR", SWIG_FromInt((int)wxOR
));
42912 PyDict_SetItemString(d
,"SET", SWIG_FromInt((int)wxSET
));
42913 PyDict_SetItemString(d
,"WXK_BACK", SWIG_FromInt((int)WXK_BACK
));
42914 PyDict_SetItemString(d
,"WXK_TAB", SWIG_FromInt((int)WXK_TAB
));
42915 PyDict_SetItemString(d
,"WXK_RETURN", SWIG_FromInt((int)WXK_RETURN
));
42916 PyDict_SetItemString(d
,"WXK_ESCAPE", SWIG_FromInt((int)WXK_ESCAPE
));
42917 PyDict_SetItemString(d
,"WXK_SPACE", SWIG_FromInt((int)WXK_SPACE
));
42918 PyDict_SetItemString(d
,"WXK_DELETE", SWIG_FromInt((int)WXK_DELETE
));
42919 PyDict_SetItemString(d
,"WXK_START", SWIG_FromInt((int)WXK_START
));
42920 PyDict_SetItemString(d
,"WXK_LBUTTON", SWIG_FromInt((int)WXK_LBUTTON
));
42921 PyDict_SetItemString(d
,"WXK_RBUTTON", SWIG_FromInt((int)WXK_RBUTTON
));
42922 PyDict_SetItemString(d
,"WXK_CANCEL", SWIG_FromInt((int)WXK_CANCEL
));
42923 PyDict_SetItemString(d
,"WXK_MBUTTON", SWIG_FromInt((int)WXK_MBUTTON
));
42924 PyDict_SetItemString(d
,"WXK_CLEAR", SWIG_FromInt((int)WXK_CLEAR
));
42925 PyDict_SetItemString(d
,"WXK_SHIFT", SWIG_FromInt((int)WXK_SHIFT
));
42926 PyDict_SetItemString(d
,"WXK_ALT", SWIG_FromInt((int)WXK_ALT
));
42927 PyDict_SetItemString(d
,"WXK_CONTROL", SWIG_FromInt((int)WXK_CONTROL
));
42928 PyDict_SetItemString(d
,"WXK_MENU", SWIG_FromInt((int)WXK_MENU
));
42929 PyDict_SetItemString(d
,"WXK_PAUSE", SWIG_FromInt((int)WXK_PAUSE
));
42930 PyDict_SetItemString(d
,"WXK_CAPITAL", SWIG_FromInt((int)WXK_CAPITAL
));
42931 PyDict_SetItemString(d
,"WXK_PRIOR", SWIG_FromInt((int)WXK_PRIOR
));
42932 PyDict_SetItemString(d
,"WXK_NEXT", SWIG_FromInt((int)WXK_NEXT
));
42933 PyDict_SetItemString(d
,"WXK_END", SWIG_FromInt((int)WXK_END
));
42934 PyDict_SetItemString(d
,"WXK_HOME", SWIG_FromInt((int)WXK_HOME
));
42935 PyDict_SetItemString(d
,"WXK_LEFT", SWIG_FromInt((int)WXK_LEFT
));
42936 PyDict_SetItemString(d
,"WXK_UP", SWIG_FromInt((int)WXK_UP
));
42937 PyDict_SetItemString(d
,"WXK_RIGHT", SWIG_FromInt((int)WXK_RIGHT
));
42938 PyDict_SetItemString(d
,"WXK_DOWN", SWIG_FromInt((int)WXK_DOWN
));
42939 PyDict_SetItemString(d
,"WXK_SELECT", SWIG_FromInt((int)WXK_SELECT
));
42940 PyDict_SetItemString(d
,"WXK_PRINT", SWIG_FromInt((int)WXK_PRINT
));
42941 PyDict_SetItemString(d
,"WXK_EXECUTE", SWIG_FromInt((int)WXK_EXECUTE
));
42942 PyDict_SetItemString(d
,"WXK_SNAPSHOT", SWIG_FromInt((int)WXK_SNAPSHOT
));
42943 PyDict_SetItemString(d
,"WXK_INSERT", SWIG_FromInt((int)WXK_INSERT
));
42944 PyDict_SetItemString(d
,"WXK_HELP", SWIG_FromInt((int)WXK_HELP
));
42945 PyDict_SetItemString(d
,"WXK_NUMPAD0", SWIG_FromInt((int)WXK_NUMPAD0
));
42946 PyDict_SetItemString(d
,"WXK_NUMPAD1", SWIG_FromInt((int)WXK_NUMPAD1
));
42947 PyDict_SetItemString(d
,"WXK_NUMPAD2", SWIG_FromInt((int)WXK_NUMPAD2
));
42948 PyDict_SetItemString(d
,"WXK_NUMPAD3", SWIG_FromInt((int)WXK_NUMPAD3
));
42949 PyDict_SetItemString(d
,"WXK_NUMPAD4", SWIG_FromInt((int)WXK_NUMPAD4
));
42950 PyDict_SetItemString(d
,"WXK_NUMPAD5", SWIG_FromInt((int)WXK_NUMPAD5
));
42951 PyDict_SetItemString(d
,"WXK_NUMPAD6", SWIG_FromInt((int)WXK_NUMPAD6
));
42952 PyDict_SetItemString(d
,"WXK_NUMPAD7", SWIG_FromInt((int)WXK_NUMPAD7
));
42953 PyDict_SetItemString(d
,"WXK_NUMPAD8", SWIG_FromInt((int)WXK_NUMPAD8
));
42954 PyDict_SetItemString(d
,"WXK_NUMPAD9", SWIG_FromInt((int)WXK_NUMPAD9
));
42955 PyDict_SetItemString(d
,"WXK_MULTIPLY", SWIG_FromInt((int)WXK_MULTIPLY
));
42956 PyDict_SetItemString(d
,"WXK_ADD", SWIG_FromInt((int)WXK_ADD
));
42957 PyDict_SetItemString(d
,"WXK_SEPARATOR", SWIG_FromInt((int)WXK_SEPARATOR
));
42958 PyDict_SetItemString(d
,"WXK_SUBTRACT", SWIG_FromInt((int)WXK_SUBTRACT
));
42959 PyDict_SetItemString(d
,"WXK_DECIMAL", SWIG_FromInt((int)WXK_DECIMAL
));
42960 PyDict_SetItemString(d
,"WXK_DIVIDE", SWIG_FromInt((int)WXK_DIVIDE
));
42961 PyDict_SetItemString(d
,"WXK_F1", SWIG_FromInt((int)WXK_F1
));
42962 PyDict_SetItemString(d
,"WXK_F2", SWIG_FromInt((int)WXK_F2
));
42963 PyDict_SetItemString(d
,"WXK_F3", SWIG_FromInt((int)WXK_F3
));
42964 PyDict_SetItemString(d
,"WXK_F4", SWIG_FromInt((int)WXK_F4
));
42965 PyDict_SetItemString(d
,"WXK_F5", SWIG_FromInt((int)WXK_F5
));
42966 PyDict_SetItemString(d
,"WXK_F6", SWIG_FromInt((int)WXK_F6
));
42967 PyDict_SetItemString(d
,"WXK_F7", SWIG_FromInt((int)WXK_F7
));
42968 PyDict_SetItemString(d
,"WXK_F8", SWIG_FromInt((int)WXK_F8
));
42969 PyDict_SetItemString(d
,"WXK_F9", SWIG_FromInt((int)WXK_F9
));
42970 PyDict_SetItemString(d
,"WXK_F10", SWIG_FromInt((int)WXK_F10
));
42971 PyDict_SetItemString(d
,"WXK_F11", SWIG_FromInt((int)WXK_F11
));
42972 PyDict_SetItemString(d
,"WXK_F12", SWIG_FromInt((int)WXK_F12
));
42973 PyDict_SetItemString(d
,"WXK_F13", SWIG_FromInt((int)WXK_F13
));
42974 PyDict_SetItemString(d
,"WXK_F14", SWIG_FromInt((int)WXK_F14
));
42975 PyDict_SetItemString(d
,"WXK_F15", SWIG_FromInt((int)WXK_F15
));
42976 PyDict_SetItemString(d
,"WXK_F16", SWIG_FromInt((int)WXK_F16
));
42977 PyDict_SetItemString(d
,"WXK_F17", SWIG_FromInt((int)WXK_F17
));
42978 PyDict_SetItemString(d
,"WXK_F18", SWIG_FromInt((int)WXK_F18
));
42979 PyDict_SetItemString(d
,"WXK_F19", SWIG_FromInt((int)WXK_F19
));
42980 PyDict_SetItemString(d
,"WXK_F20", SWIG_FromInt((int)WXK_F20
));
42981 PyDict_SetItemString(d
,"WXK_F21", SWIG_FromInt((int)WXK_F21
));
42982 PyDict_SetItemString(d
,"WXK_F22", SWIG_FromInt((int)WXK_F22
));
42983 PyDict_SetItemString(d
,"WXK_F23", SWIG_FromInt((int)WXK_F23
));
42984 PyDict_SetItemString(d
,"WXK_F24", SWIG_FromInt((int)WXK_F24
));
42985 PyDict_SetItemString(d
,"WXK_NUMLOCK", SWIG_FromInt((int)WXK_NUMLOCK
));
42986 PyDict_SetItemString(d
,"WXK_SCROLL", SWIG_FromInt((int)WXK_SCROLL
));
42987 PyDict_SetItemString(d
,"WXK_PAGEUP", SWIG_FromInt((int)WXK_PAGEUP
));
42988 PyDict_SetItemString(d
,"WXK_PAGEDOWN", SWIG_FromInt((int)WXK_PAGEDOWN
));
42989 PyDict_SetItemString(d
,"WXK_NUMPAD_SPACE", SWIG_FromInt((int)WXK_NUMPAD_SPACE
));
42990 PyDict_SetItemString(d
,"WXK_NUMPAD_TAB", SWIG_FromInt((int)WXK_NUMPAD_TAB
));
42991 PyDict_SetItemString(d
,"WXK_NUMPAD_ENTER", SWIG_FromInt((int)WXK_NUMPAD_ENTER
));
42992 PyDict_SetItemString(d
,"WXK_NUMPAD_F1", SWIG_FromInt((int)WXK_NUMPAD_F1
));
42993 PyDict_SetItemString(d
,"WXK_NUMPAD_F2", SWIG_FromInt((int)WXK_NUMPAD_F2
));
42994 PyDict_SetItemString(d
,"WXK_NUMPAD_F3", SWIG_FromInt((int)WXK_NUMPAD_F3
));
42995 PyDict_SetItemString(d
,"WXK_NUMPAD_F4", SWIG_FromInt((int)WXK_NUMPAD_F4
));
42996 PyDict_SetItemString(d
,"WXK_NUMPAD_HOME", SWIG_FromInt((int)WXK_NUMPAD_HOME
));
42997 PyDict_SetItemString(d
,"WXK_NUMPAD_LEFT", SWIG_FromInt((int)WXK_NUMPAD_LEFT
));
42998 PyDict_SetItemString(d
,"WXK_NUMPAD_UP", SWIG_FromInt((int)WXK_NUMPAD_UP
));
42999 PyDict_SetItemString(d
,"WXK_NUMPAD_RIGHT", SWIG_FromInt((int)WXK_NUMPAD_RIGHT
));
43000 PyDict_SetItemString(d
,"WXK_NUMPAD_DOWN", SWIG_FromInt((int)WXK_NUMPAD_DOWN
));
43001 PyDict_SetItemString(d
,"WXK_NUMPAD_PRIOR", SWIG_FromInt((int)WXK_NUMPAD_PRIOR
));
43002 PyDict_SetItemString(d
,"WXK_NUMPAD_PAGEUP", SWIG_FromInt((int)WXK_NUMPAD_PAGEUP
));
43003 PyDict_SetItemString(d
,"WXK_NUMPAD_NEXT", SWIG_FromInt((int)WXK_NUMPAD_NEXT
));
43004 PyDict_SetItemString(d
,"WXK_NUMPAD_PAGEDOWN", SWIG_FromInt((int)WXK_NUMPAD_PAGEDOWN
));
43005 PyDict_SetItemString(d
,"WXK_NUMPAD_END", SWIG_FromInt((int)WXK_NUMPAD_END
));
43006 PyDict_SetItemString(d
,"WXK_NUMPAD_BEGIN", SWIG_FromInt((int)WXK_NUMPAD_BEGIN
));
43007 PyDict_SetItemString(d
,"WXK_NUMPAD_INSERT", SWIG_FromInt((int)WXK_NUMPAD_INSERT
));
43008 PyDict_SetItemString(d
,"WXK_NUMPAD_DELETE", SWIG_FromInt((int)WXK_NUMPAD_DELETE
));
43009 PyDict_SetItemString(d
,"WXK_NUMPAD_EQUAL", SWIG_FromInt((int)WXK_NUMPAD_EQUAL
));
43010 PyDict_SetItemString(d
,"WXK_NUMPAD_MULTIPLY", SWIG_FromInt((int)WXK_NUMPAD_MULTIPLY
));
43011 PyDict_SetItemString(d
,"WXK_NUMPAD_ADD", SWIG_FromInt((int)WXK_NUMPAD_ADD
));
43012 PyDict_SetItemString(d
,"WXK_NUMPAD_SEPARATOR", SWIG_FromInt((int)WXK_NUMPAD_SEPARATOR
));
43013 PyDict_SetItemString(d
,"WXK_NUMPAD_SUBTRACT", SWIG_FromInt((int)WXK_NUMPAD_SUBTRACT
));
43014 PyDict_SetItemString(d
,"WXK_NUMPAD_DECIMAL", SWIG_FromInt((int)WXK_NUMPAD_DECIMAL
));
43015 PyDict_SetItemString(d
,"WXK_NUMPAD_DIVIDE", SWIG_FromInt((int)WXK_NUMPAD_DIVIDE
));
43016 PyDict_SetItemString(d
,"WXK_WINDOWS_LEFT", SWIG_FromInt((int)WXK_WINDOWS_LEFT
));
43017 PyDict_SetItemString(d
,"WXK_WINDOWS_RIGHT", SWIG_FromInt((int)WXK_WINDOWS_RIGHT
));
43018 PyDict_SetItemString(d
,"WXK_WINDOWS_MENU", SWIG_FromInt((int)WXK_WINDOWS_MENU
));
43019 PyDict_SetItemString(d
,"PAPER_NONE", SWIG_FromInt((int)wxPAPER_NONE
));
43020 PyDict_SetItemString(d
,"PAPER_LETTER", SWIG_FromInt((int)wxPAPER_LETTER
));
43021 PyDict_SetItemString(d
,"PAPER_LEGAL", SWIG_FromInt((int)wxPAPER_LEGAL
));
43022 PyDict_SetItemString(d
,"PAPER_A4", SWIG_FromInt((int)wxPAPER_A4
));
43023 PyDict_SetItemString(d
,"PAPER_CSHEET", SWIG_FromInt((int)wxPAPER_CSHEET
));
43024 PyDict_SetItemString(d
,"PAPER_DSHEET", SWIG_FromInt((int)wxPAPER_DSHEET
));
43025 PyDict_SetItemString(d
,"PAPER_ESHEET", SWIG_FromInt((int)wxPAPER_ESHEET
));
43026 PyDict_SetItemString(d
,"PAPER_LETTERSMALL", SWIG_FromInt((int)wxPAPER_LETTERSMALL
));
43027 PyDict_SetItemString(d
,"PAPER_TABLOID", SWIG_FromInt((int)wxPAPER_TABLOID
));
43028 PyDict_SetItemString(d
,"PAPER_LEDGER", SWIG_FromInt((int)wxPAPER_LEDGER
));
43029 PyDict_SetItemString(d
,"PAPER_STATEMENT", SWIG_FromInt((int)wxPAPER_STATEMENT
));
43030 PyDict_SetItemString(d
,"PAPER_EXECUTIVE", SWIG_FromInt((int)wxPAPER_EXECUTIVE
));
43031 PyDict_SetItemString(d
,"PAPER_A3", SWIG_FromInt((int)wxPAPER_A3
));
43032 PyDict_SetItemString(d
,"PAPER_A4SMALL", SWIG_FromInt((int)wxPAPER_A4SMALL
));
43033 PyDict_SetItemString(d
,"PAPER_A5", SWIG_FromInt((int)wxPAPER_A5
));
43034 PyDict_SetItemString(d
,"PAPER_B4", SWIG_FromInt((int)wxPAPER_B4
));
43035 PyDict_SetItemString(d
,"PAPER_B5", SWIG_FromInt((int)wxPAPER_B5
));
43036 PyDict_SetItemString(d
,"PAPER_FOLIO", SWIG_FromInt((int)wxPAPER_FOLIO
));
43037 PyDict_SetItemString(d
,"PAPER_QUARTO", SWIG_FromInt((int)wxPAPER_QUARTO
));
43038 PyDict_SetItemString(d
,"PAPER_10X14", SWIG_FromInt((int)wxPAPER_10X14
));
43039 PyDict_SetItemString(d
,"PAPER_11X17", SWIG_FromInt((int)wxPAPER_11X17
));
43040 PyDict_SetItemString(d
,"PAPER_NOTE", SWIG_FromInt((int)wxPAPER_NOTE
));
43041 PyDict_SetItemString(d
,"PAPER_ENV_9", SWIG_FromInt((int)wxPAPER_ENV_9
));
43042 PyDict_SetItemString(d
,"PAPER_ENV_10", SWIG_FromInt((int)wxPAPER_ENV_10
));
43043 PyDict_SetItemString(d
,"PAPER_ENV_11", SWIG_FromInt((int)wxPAPER_ENV_11
));
43044 PyDict_SetItemString(d
,"PAPER_ENV_12", SWIG_FromInt((int)wxPAPER_ENV_12
));
43045 PyDict_SetItemString(d
,"PAPER_ENV_14", SWIG_FromInt((int)wxPAPER_ENV_14
));
43046 PyDict_SetItemString(d
,"PAPER_ENV_DL", SWIG_FromInt((int)wxPAPER_ENV_DL
));
43047 PyDict_SetItemString(d
,"PAPER_ENV_C5", SWIG_FromInt((int)wxPAPER_ENV_C5
));
43048 PyDict_SetItemString(d
,"PAPER_ENV_C3", SWIG_FromInt((int)wxPAPER_ENV_C3
));
43049 PyDict_SetItemString(d
,"PAPER_ENV_C4", SWIG_FromInt((int)wxPAPER_ENV_C4
));
43050 PyDict_SetItemString(d
,"PAPER_ENV_C6", SWIG_FromInt((int)wxPAPER_ENV_C6
));
43051 PyDict_SetItemString(d
,"PAPER_ENV_C65", SWIG_FromInt((int)wxPAPER_ENV_C65
));
43052 PyDict_SetItemString(d
,"PAPER_ENV_B4", SWIG_FromInt((int)wxPAPER_ENV_B4
));
43053 PyDict_SetItemString(d
,"PAPER_ENV_B5", SWIG_FromInt((int)wxPAPER_ENV_B5
));
43054 PyDict_SetItemString(d
,"PAPER_ENV_B6", SWIG_FromInt((int)wxPAPER_ENV_B6
));
43055 PyDict_SetItemString(d
,"PAPER_ENV_ITALY", SWIG_FromInt((int)wxPAPER_ENV_ITALY
));
43056 PyDict_SetItemString(d
,"PAPER_ENV_MONARCH", SWIG_FromInt((int)wxPAPER_ENV_MONARCH
));
43057 PyDict_SetItemString(d
,"PAPER_ENV_PERSONAL", SWIG_FromInt((int)wxPAPER_ENV_PERSONAL
));
43058 PyDict_SetItemString(d
,"PAPER_FANFOLD_US", SWIG_FromInt((int)wxPAPER_FANFOLD_US
));
43059 PyDict_SetItemString(d
,"PAPER_FANFOLD_STD_GERMAN", SWIG_FromInt((int)wxPAPER_FANFOLD_STD_GERMAN
));
43060 PyDict_SetItemString(d
,"PAPER_FANFOLD_LGL_GERMAN", SWIG_FromInt((int)wxPAPER_FANFOLD_LGL_GERMAN
));
43061 PyDict_SetItemString(d
,"PAPER_ISO_B4", SWIG_FromInt((int)wxPAPER_ISO_B4
));
43062 PyDict_SetItemString(d
,"PAPER_JAPANESE_POSTCARD", SWIG_FromInt((int)wxPAPER_JAPANESE_POSTCARD
));
43063 PyDict_SetItemString(d
,"PAPER_9X11", SWIG_FromInt((int)wxPAPER_9X11
));
43064 PyDict_SetItemString(d
,"PAPER_10X11", SWIG_FromInt((int)wxPAPER_10X11
));
43065 PyDict_SetItemString(d
,"PAPER_15X11", SWIG_FromInt((int)wxPAPER_15X11
));
43066 PyDict_SetItemString(d
,"PAPER_ENV_INVITE", SWIG_FromInt((int)wxPAPER_ENV_INVITE
));
43067 PyDict_SetItemString(d
,"PAPER_LETTER_EXTRA", SWIG_FromInt((int)wxPAPER_LETTER_EXTRA
));
43068 PyDict_SetItemString(d
,"PAPER_LEGAL_EXTRA", SWIG_FromInt((int)wxPAPER_LEGAL_EXTRA
));
43069 PyDict_SetItemString(d
,"PAPER_TABLOID_EXTRA", SWIG_FromInt((int)wxPAPER_TABLOID_EXTRA
));
43070 PyDict_SetItemString(d
,"PAPER_A4_EXTRA", SWIG_FromInt((int)wxPAPER_A4_EXTRA
));
43071 PyDict_SetItemString(d
,"PAPER_LETTER_TRANSVERSE", SWIG_FromInt((int)wxPAPER_LETTER_TRANSVERSE
));
43072 PyDict_SetItemString(d
,"PAPER_A4_TRANSVERSE", SWIG_FromInt((int)wxPAPER_A4_TRANSVERSE
));
43073 PyDict_SetItemString(d
,"PAPER_LETTER_EXTRA_TRANSVERSE", SWIG_FromInt((int)wxPAPER_LETTER_EXTRA_TRANSVERSE
));
43074 PyDict_SetItemString(d
,"PAPER_A_PLUS", SWIG_FromInt((int)wxPAPER_A_PLUS
));
43075 PyDict_SetItemString(d
,"PAPER_B_PLUS", SWIG_FromInt((int)wxPAPER_B_PLUS
));
43076 PyDict_SetItemString(d
,"PAPER_LETTER_PLUS", SWIG_FromInt((int)wxPAPER_LETTER_PLUS
));
43077 PyDict_SetItemString(d
,"PAPER_A4_PLUS", SWIG_FromInt((int)wxPAPER_A4_PLUS
));
43078 PyDict_SetItemString(d
,"PAPER_A5_TRANSVERSE", SWIG_FromInt((int)wxPAPER_A5_TRANSVERSE
));
43079 PyDict_SetItemString(d
,"PAPER_B5_TRANSVERSE", SWIG_FromInt((int)wxPAPER_B5_TRANSVERSE
));
43080 PyDict_SetItemString(d
,"PAPER_A3_EXTRA", SWIG_FromInt((int)wxPAPER_A3_EXTRA
));
43081 PyDict_SetItemString(d
,"PAPER_A5_EXTRA", SWIG_FromInt((int)wxPAPER_A5_EXTRA
));
43082 PyDict_SetItemString(d
,"PAPER_B5_EXTRA", SWIG_FromInt((int)wxPAPER_B5_EXTRA
));
43083 PyDict_SetItemString(d
,"PAPER_A2", SWIG_FromInt((int)wxPAPER_A2
));
43084 PyDict_SetItemString(d
,"PAPER_A3_TRANSVERSE", SWIG_FromInt((int)wxPAPER_A3_TRANSVERSE
));
43085 PyDict_SetItemString(d
,"PAPER_A3_EXTRA_TRANSVERSE", SWIG_FromInt((int)wxPAPER_A3_EXTRA_TRANSVERSE
));
43086 PyDict_SetItemString(d
,"DUPLEX_SIMPLEX", SWIG_FromInt((int)wxDUPLEX_SIMPLEX
));
43087 PyDict_SetItemString(d
,"DUPLEX_HORIZONTAL", SWIG_FromInt((int)wxDUPLEX_HORIZONTAL
));
43088 PyDict_SetItemString(d
,"DUPLEX_VERTICAL", SWIG_FromInt((int)wxDUPLEX_VERTICAL
));
43089 PyDict_SetItemString(d
,"ITEM_SEPARATOR", SWIG_FromInt((int)wxITEM_SEPARATOR
));
43090 PyDict_SetItemString(d
,"ITEM_NORMAL", SWIG_FromInt((int)wxITEM_NORMAL
));
43091 PyDict_SetItemString(d
,"ITEM_CHECK", SWIG_FromInt((int)wxITEM_CHECK
));
43092 PyDict_SetItemString(d
,"ITEM_RADIO", SWIG_FromInt((int)wxITEM_RADIO
));
43093 PyDict_SetItemString(d
,"ITEM_MAX", SWIG_FromInt((int)wxITEM_MAX
));
43094 PyDict_SetItemString(d
,"HT_NOWHERE", SWIG_FromInt((int)wxHT_NOWHERE
));
43095 PyDict_SetItemString(d
,"HT_SCROLLBAR_FIRST", SWIG_FromInt((int)wxHT_SCROLLBAR_FIRST
));
43096 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_LINE_1", SWIG_FromInt((int)wxHT_SCROLLBAR_ARROW_LINE_1
));
43097 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_LINE_2", SWIG_FromInt((int)wxHT_SCROLLBAR_ARROW_LINE_2
));
43098 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_PAGE_1", SWIG_FromInt((int)wxHT_SCROLLBAR_ARROW_PAGE_1
));
43099 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_PAGE_2", SWIG_FromInt((int)wxHT_SCROLLBAR_ARROW_PAGE_2
));
43100 PyDict_SetItemString(d
,"HT_SCROLLBAR_THUMB", SWIG_FromInt((int)wxHT_SCROLLBAR_THUMB
));
43101 PyDict_SetItemString(d
,"HT_SCROLLBAR_BAR_1", SWIG_FromInt((int)wxHT_SCROLLBAR_BAR_1
));
43102 PyDict_SetItemString(d
,"HT_SCROLLBAR_BAR_2", SWIG_FromInt((int)wxHT_SCROLLBAR_BAR_2
));
43103 PyDict_SetItemString(d
,"HT_SCROLLBAR_LAST", SWIG_FromInt((int)wxHT_SCROLLBAR_LAST
));
43104 PyDict_SetItemString(d
,"HT_WINDOW_OUTSIDE", SWIG_FromInt((int)wxHT_WINDOW_OUTSIDE
));
43105 PyDict_SetItemString(d
,"HT_WINDOW_INSIDE", SWIG_FromInt((int)wxHT_WINDOW_INSIDE
));
43106 PyDict_SetItemString(d
,"HT_WINDOW_VERT_SCROLLBAR", SWIG_FromInt((int)wxHT_WINDOW_VERT_SCROLLBAR
));
43107 PyDict_SetItemString(d
,"HT_WINDOW_HORZ_SCROLLBAR", SWIG_FromInt((int)wxHT_WINDOW_HORZ_SCROLLBAR
));
43108 PyDict_SetItemString(d
,"HT_WINDOW_CORNER", SWIG_FromInt((int)wxHT_WINDOW_CORNER
));
43109 PyDict_SetItemString(d
,"HT_MAX", SWIG_FromInt((int)wxHT_MAX
));
43110 PyDict_SetItemString(d
,"MOD_NONE", SWIG_FromInt((int)wxMOD_NONE
));
43111 PyDict_SetItemString(d
,"MOD_ALT", SWIG_FromInt((int)wxMOD_ALT
));
43112 PyDict_SetItemString(d
,"MOD_CONTROL", SWIG_FromInt((int)wxMOD_CONTROL
));
43113 PyDict_SetItemString(d
,"MOD_SHIFT", SWIG_FromInt((int)wxMOD_SHIFT
));
43114 PyDict_SetItemString(d
,"MOD_WIN", SWIG_FromInt((int)wxMOD_WIN
));
43115 PyDict_SetItemString(d
,"UPDATE_UI_NONE", SWIG_FromInt((int)wxUPDATE_UI_NONE
));
43116 PyDict_SetItemString(d
,"UPDATE_UI_RECURSE", SWIG_FromInt((int)wxUPDATE_UI_RECURSE
));
43117 PyDict_SetItemString(d
,"UPDATE_UI_FROMIDLE", SWIG_FromInt((int)wxUPDATE_UI_FROMIDLE
));
43118 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
43119 SWIG_addvarlink(SWIG_globals
,(char*)"EmptyString",_wrap_EmptyString_get
, _wrap_EmptyString_set
);
43120 PyDict_SetItemString(d
,"BITMAP_TYPE_INVALID", SWIG_FromInt((int)wxBITMAP_TYPE_INVALID
));
43121 PyDict_SetItemString(d
,"BITMAP_TYPE_BMP", SWIG_FromInt((int)wxBITMAP_TYPE_BMP
));
43122 PyDict_SetItemString(d
,"BITMAP_TYPE_ICO", SWIG_FromInt((int)wxBITMAP_TYPE_ICO
));
43123 PyDict_SetItemString(d
,"BITMAP_TYPE_CUR", SWIG_FromInt((int)wxBITMAP_TYPE_CUR
));
43124 PyDict_SetItemString(d
,"BITMAP_TYPE_XBM", SWIG_FromInt((int)wxBITMAP_TYPE_XBM
));
43125 PyDict_SetItemString(d
,"BITMAP_TYPE_XBM_DATA", SWIG_FromInt((int)wxBITMAP_TYPE_XBM_DATA
));
43126 PyDict_SetItemString(d
,"BITMAP_TYPE_XPM", SWIG_FromInt((int)wxBITMAP_TYPE_XPM
));
43127 PyDict_SetItemString(d
,"BITMAP_TYPE_XPM_DATA", SWIG_FromInt((int)wxBITMAP_TYPE_XPM_DATA
));
43128 PyDict_SetItemString(d
,"BITMAP_TYPE_TIF", SWIG_FromInt((int)wxBITMAP_TYPE_TIF
));
43129 PyDict_SetItemString(d
,"BITMAP_TYPE_GIF", SWIG_FromInt((int)wxBITMAP_TYPE_GIF
));
43130 PyDict_SetItemString(d
,"BITMAP_TYPE_PNG", SWIG_FromInt((int)wxBITMAP_TYPE_PNG
));
43131 PyDict_SetItemString(d
,"BITMAP_TYPE_JPEG", SWIG_FromInt((int)wxBITMAP_TYPE_JPEG
));
43132 PyDict_SetItemString(d
,"BITMAP_TYPE_PNM", SWIG_FromInt((int)wxBITMAP_TYPE_PNM
));
43133 PyDict_SetItemString(d
,"BITMAP_TYPE_PCX", SWIG_FromInt((int)wxBITMAP_TYPE_PCX
));
43134 PyDict_SetItemString(d
,"BITMAP_TYPE_PICT", SWIG_FromInt((int)wxBITMAP_TYPE_PICT
));
43135 PyDict_SetItemString(d
,"BITMAP_TYPE_ICON", SWIG_FromInt((int)wxBITMAP_TYPE_ICON
));
43136 PyDict_SetItemString(d
,"BITMAP_TYPE_ANI", SWIG_FromInt((int)wxBITMAP_TYPE_ANI
));
43137 PyDict_SetItemString(d
,"BITMAP_TYPE_IFF", SWIG_FromInt((int)wxBITMAP_TYPE_IFF
));
43138 PyDict_SetItemString(d
,"BITMAP_TYPE_MACCURSOR", SWIG_FromInt((int)wxBITMAP_TYPE_MACCURSOR
));
43139 PyDict_SetItemString(d
,"BITMAP_TYPE_ANY", SWIG_FromInt((int)wxBITMAP_TYPE_ANY
));
43140 PyDict_SetItemString(d
,"CURSOR_NONE", SWIG_FromInt((int)wxCURSOR_NONE
));
43141 PyDict_SetItemString(d
,"CURSOR_ARROW", SWIG_FromInt((int)wxCURSOR_ARROW
));
43142 PyDict_SetItemString(d
,"CURSOR_RIGHT_ARROW", SWIG_FromInt((int)wxCURSOR_RIGHT_ARROW
));
43143 PyDict_SetItemString(d
,"CURSOR_BULLSEYE", SWIG_FromInt((int)wxCURSOR_BULLSEYE
));
43144 PyDict_SetItemString(d
,"CURSOR_CHAR", SWIG_FromInt((int)wxCURSOR_CHAR
));
43145 PyDict_SetItemString(d
,"CURSOR_CROSS", SWIG_FromInt((int)wxCURSOR_CROSS
));
43146 PyDict_SetItemString(d
,"CURSOR_HAND", SWIG_FromInt((int)wxCURSOR_HAND
));
43147 PyDict_SetItemString(d
,"CURSOR_IBEAM", SWIG_FromInt((int)wxCURSOR_IBEAM
));
43148 PyDict_SetItemString(d
,"CURSOR_LEFT_BUTTON", SWIG_FromInt((int)wxCURSOR_LEFT_BUTTON
));
43149 PyDict_SetItemString(d
,"CURSOR_MAGNIFIER", SWIG_FromInt((int)wxCURSOR_MAGNIFIER
));
43150 PyDict_SetItemString(d
,"CURSOR_MIDDLE_BUTTON", SWIG_FromInt((int)wxCURSOR_MIDDLE_BUTTON
));
43151 PyDict_SetItemString(d
,"CURSOR_NO_ENTRY", SWIG_FromInt((int)wxCURSOR_NO_ENTRY
));
43152 PyDict_SetItemString(d
,"CURSOR_PAINT_BRUSH", SWIG_FromInt((int)wxCURSOR_PAINT_BRUSH
));
43153 PyDict_SetItemString(d
,"CURSOR_PENCIL", SWIG_FromInt((int)wxCURSOR_PENCIL
));
43154 PyDict_SetItemString(d
,"CURSOR_POINT_LEFT", SWIG_FromInt((int)wxCURSOR_POINT_LEFT
));
43155 PyDict_SetItemString(d
,"CURSOR_POINT_RIGHT", SWIG_FromInt((int)wxCURSOR_POINT_RIGHT
));
43156 PyDict_SetItemString(d
,"CURSOR_QUESTION_ARROW", SWIG_FromInt((int)wxCURSOR_QUESTION_ARROW
));
43157 PyDict_SetItemString(d
,"CURSOR_RIGHT_BUTTON", SWIG_FromInt((int)wxCURSOR_RIGHT_BUTTON
));
43158 PyDict_SetItemString(d
,"CURSOR_SIZENESW", SWIG_FromInt((int)wxCURSOR_SIZENESW
));
43159 PyDict_SetItemString(d
,"CURSOR_SIZENS", SWIG_FromInt((int)wxCURSOR_SIZENS
));
43160 PyDict_SetItemString(d
,"CURSOR_SIZENWSE", SWIG_FromInt((int)wxCURSOR_SIZENWSE
));
43161 PyDict_SetItemString(d
,"CURSOR_SIZEWE", SWIG_FromInt((int)wxCURSOR_SIZEWE
));
43162 PyDict_SetItemString(d
,"CURSOR_SIZING", SWIG_FromInt((int)wxCURSOR_SIZING
));
43163 PyDict_SetItemString(d
,"CURSOR_SPRAYCAN", SWIG_FromInt((int)wxCURSOR_SPRAYCAN
));
43164 PyDict_SetItemString(d
,"CURSOR_WAIT", SWIG_FromInt((int)wxCURSOR_WAIT
));
43165 PyDict_SetItemString(d
,"CURSOR_WATCH", SWIG_FromInt((int)wxCURSOR_WATCH
));
43166 PyDict_SetItemString(d
,"CURSOR_BLANK", SWIG_FromInt((int)wxCURSOR_BLANK
));
43167 PyDict_SetItemString(d
,"CURSOR_DEFAULT", SWIG_FromInt((int)wxCURSOR_DEFAULT
));
43168 PyDict_SetItemString(d
,"CURSOR_COPY_ARROW", SWIG_FromInt((int)wxCURSOR_COPY_ARROW
));
43169 PyDict_SetItemString(d
,"CURSOR_ARROWWAIT", SWIG_FromInt((int)wxCURSOR_ARROWWAIT
));
43170 PyDict_SetItemString(d
,"CURSOR_MAX", SWIG_FromInt((int)wxCURSOR_MAX
));
43171 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultPosition",_wrap_DefaultPosition_get
, _wrap_DefaultPosition_set
);
43172 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultSize",_wrap_DefaultSize_get
, _wrap_DefaultSize_set
);
43173 PyDict_SetItemString(d
,"FromStart", SWIG_FromInt((int)wxFromStart
));
43174 PyDict_SetItemString(d
,"FromCurrent", SWIG_FromInt((int)wxFromCurrent
));
43175 PyDict_SetItemString(d
,"FromEnd", SWIG_FromInt((int)wxFromEnd
));
43177 wxPyPtrTypeMap_Add("wxInputStream", "wxPyInputStream");
43180 wxPyPtrTypeMap_Add("wxFileSystemHandler", "wxPyFileSystemHandler");
43182 SWIG_addvarlink(SWIG_globals
,(char*)"NullImage",_wrap_NullImage_get
, _wrap_NullImage_set
);
43183 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_BMP_FORMAT",_wrap_IMAGE_OPTION_BMP_FORMAT_get
, _wrap_IMAGE_OPTION_BMP_FORMAT_set
);
43184 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_CUR_HOTSPOT_X",_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get
, _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set
);
43185 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_CUR_HOTSPOT_Y",_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get
, _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set
);
43186 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTION",_wrap_IMAGE_OPTION_RESOLUTION_get
, _wrap_IMAGE_OPTION_RESOLUTION_set
);
43187 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTIONUNIT",_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get
, _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set
);
43188 PyDict_SetItemString(d
,"IMAGE_RESOLUTION_INCHES", SWIG_FromInt((int)wxIMAGE_RESOLUTION_INCHES
));
43189 PyDict_SetItemString(d
,"IMAGE_RESOLUTION_CM", SWIG_FromInt((int)wxIMAGE_RESOLUTION_CM
));
43190 PyDict_SetItemString(d
,"BMP_24BPP", SWIG_FromInt((int)wxBMP_24BPP
));
43191 PyDict_SetItemString(d
,"BMP_8BPP", SWIG_FromInt((int)wxBMP_8BPP
));
43192 PyDict_SetItemString(d
,"BMP_8BPP_GREY", SWIG_FromInt((int)wxBMP_8BPP_GREY
));
43193 PyDict_SetItemString(d
,"BMP_8BPP_GRAY", SWIG_FromInt((int)wxBMP_8BPP_GRAY
));
43194 PyDict_SetItemString(d
,"BMP_8BPP_RED", SWIG_FromInt((int)wxBMP_8BPP_RED
));
43195 PyDict_SetItemString(d
,"BMP_8BPP_PALETTE", SWIG_FromInt((int)wxBMP_8BPP_PALETTE
));
43196 PyDict_SetItemString(d
,"BMP_4BPP", SWIG_FromInt((int)wxBMP_4BPP
));
43197 PyDict_SetItemString(d
,"BMP_1BPP", SWIG_FromInt((int)wxBMP_1BPP
));
43198 PyDict_SetItemString(d
,"BMP_1BPP_BW", SWIG_FromInt((int)wxBMP_1BPP_BW
));
43199 PyDict_SetItemString(d
,"EVENT_PROPAGATE_NONE", SWIG_FromInt((int)wxEVENT_PROPAGATE_NONE
));
43200 PyDict_SetItemString(d
,"EVENT_PROPAGATE_MAX", SWIG_FromInt((int)wxEVENT_PROPAGATE_MAX
));
43201 PyDict_SetItemString(d
, "wxEVT_NULL", PyInt_FromLong(wxEVT_NULL
));
43202 PyDict_SetItemString(d
, "wxEVT_FIRST", PyInt_FromLong(wxEVT_FIRST
));
43203 PyDict_SetItemString(d
, "wxEVT_USER_FIRST", PyInt_FromLong(wxEVT_USER_FIRST
));
43204 PyDict_SetItemString(d
, "wxEVT_COMMAND_BUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_BUTTON_CLICKED
));
43205 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKBOX_CLICKED", PyInt_FromLong(wxEVT_COMMAND_CHECKBOX_CLICKED
));
43206 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICE_SELECTED", PyInt_FromLong(wxEVT_COMMAND_CHOICE_SELECTED
));
43207 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_SELECTED
));
43208 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_DOUBLECLICKED
));
43209 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKLISTBOX_TOGGLED", PyInt_FromLong(wxEVT_COMMAND_CHECKLISTBOX_TOGGLED
));
43210 PyDict_SetItemString(d
, "wxEVT_COMMAND_MENU_SELECTED", PyInt_FromLong(wxEVT_COMMAND_MENU_SELECTED
));
43211 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_CLICKED
));
43212 PyDict_SetItemString(d
, "wxEVT_COMMAND_SLIDER_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SLIDER_UPDATED
));
43213 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBOX_SELECTED
));
43214 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBUTTON_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBUTTON_SELECTED
));
43215 PyDict_SetItemString(d
, "wxEVT_COMMAND_SCROLLBAR_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SCROLLBAR_UPDATED
));
43216 PyDict_SetItemString(d
, "wxEVT_COMMAND_VLBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_VLBOX_SELECTED
));
43217 PyDict_SetItemString(d
, "wxEVT_COMMAND_COMBOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_COMBOBOX_SELECTED
));
43218 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_RCLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_RCLICKED
));
43219 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_ENTER", PyInt_FromLong(wxEVT_COMMAND_TOOL_ENTER
));
43220 PyDict_SetItemString(d
, "wxEVT_LEFT_DOWN", PyInt_FromLong(wxEVT_LEFT_DOWN
));
43221 PyDict_SetItemString(d
, "wxEVT_LEFT_UP", PyInt_FromLong(wxEVT_LEFT_UP
));
43222 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DOWN", PyInt_FromLong(wxEVT_MIDDLE_DOWN
));
43223 PyDict_SetItemString(d
, "wxEVT_MIDDLE_UP", PyInt_FromLong(wxEVT_MIDDLE_UP
));
43224 PyDict_SetItemString(d
, "wxEVT_RIGHT_DOWN", PyInt_FromLong(wxEVT_RIGHT_DOWN
));
43225 PyDict_SetItemString(d
, "wxEVT_RIGHT_UP", PyInt_FromLong(wxEVT_RIGHT_UP
));
43226 PyDict_SetItemString(d
, "wxEVT_MOTION", PyInt_FromLong(wxEVT_MOTION
));
43227 PyDict_SetItemString(d
, "wxEVT_ENTER_WINDOW", PyInt_FromLong(wxEVT_ENTER_WINDOW
));
43228 PyDict_SetItemString(d
, "wxEVT_LEAVE_WINDOW", PyInt_FromLong(wxEVT_LEAVE_WINDOW
));
43229 PyDict_SetItemString(d
, "wxEVT_LEFT_DCLICK", PyInt_FromLong(wxEVT_LEFT_DCLICK
));
43230 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_MIDDLE_DCLICK
));
43231 PyDict_SetItemString(d
, "wxEVT_RIGHT_DCLICK", PyInt_FromLong(wxEVT_RIGHT_DCLICK
));
43232 PyDict_SetItemString(d
, "wxEVT_SET_FOCUS", PyInt_FromLong(wxEVT_SET_FOCUS
));
43233 PyDict_SetItemString(d
, "wxEVT_KILL_FOCUS", PyInt_FromLong(wxEVT_KILL_FOCUS
));
43234 PyDict_SetItemString(d
, "wxEVT_CHILD_FOCUS", PyInt_FromLong(wxEVT_CHILD_FOCUS
));
43235 PyDict_SetItemString(d
, "wxEVT_MOUSEWHEEL", PyInt_FromLong(wxEVT_MOUSEWHEEL
));
43236 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DOWN", PyInt_FromLong(wxEVT_NC_LEFT_DOWN
));
43237 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_UP", PyInt_FromLong(wxEVT_NC_LEFT_UP
));
43238 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DOWN", PyInt_FromLong(wxEVT_NC_MIDDLE_DOWN
));
43239 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_UP", PyInt_FromLong(wxEVT_NC_MIDDLE_UP
));
43240 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DOWN", PyInt_FromLong(wxEVT_NC_RIGHT_DOWN
));
43241 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_UP", PyInt_FromLong(wxEVT_NC_RIGHT_UP
));
43242 PyDict_SetItemString(d
, "wxEVT_NC_MOTION", PyInt_FromLong(wxEVT_NC_MOTION
));
43243 PyDict_SetItemString(d
, "wxEVT_NC_ENTER_WINDOW", PyInt_FromLong(wxEVT_NC_ENTER_WINDOW
));
43244 PyDict_SetItemString(d
, "wxEVT_NC_LEAVE_WINDOW", PyInt_FromLong(wxEVT_NC_LEAVE_WINDOW
));
43245 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DCLICK", PyInt_FromLong(wxEVT_NC_LEFT_DCLICK
));
43246 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_NC_MIDDLE_DCLICK
));
43247 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DCLICK", PyInt_FromLong(wxEVT_NC_RIGHT_DCLICK
));
43248 PyDict_SetItemString(d
, "wxEVT_CHAR", PyInt_FromLong(wxEVT_CHAR
));
43249 PyDict_SetItemString(d
, "wxEVT_CHAR_HOOK", PyInt_FromLong(wxEVT_CHAR_HOOK
));
43250 PyDict_SetItemString(d
, "wxEVT_NAVIGATION_KEY", PyInt_FromLong(wxEVT_NAVIGATION_KEY
));
43251 PyDict_SetItemString(d
, "wxEVT_KEY_DOWN", PyInt_FromLong(wxEVT_KEY_DOWN
));
43252 PyDict_SetItemString(d
, "wxEVT_KEY_UP", PyInt_FromLong(wxEVT_KEY_UP
));
43253 PyDict_SetItemString(d
, "wxEVT_HOTKEY", PyInt_FromLong(wxEVT_HOTKEY
));
43254 PyDict_SetItemString(d
, "wxEVT_SET_CURSOR", PyInt_FromLong(wxEVT_SET_CURSOR
));
43255 PyDict_SetItemString(d
, "wxEVT_SCROLL_TOP", PyInt_FromLong(wxEVT_SCROLL_TOP
));
43256 PyDict_SetItemString(d
, "wxEVT_SCROLL_BOTTOM", PyInt_FromLong(wxEVT_SCROLL_BOTTOM
));
43257 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEUP", PyInt_FromLong(wxEVT_SCROLL_LINEUP
));
43258 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEDOWN", PyInt_FromLong(wxEVT_SCROLL_LINEDOWN
));
43259 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEUP", PyInt_FromLong(wxEVT_SCROLL_PAGEUP
));
43260 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLL_PAGEDOWN
));
43261 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLL_THUMBTRACK
));
43262 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLL_THUMBRELEASE
));
43263 PyDict_SetItemString(d
, "wxEVT_SCROLL_ENDSCROLL", PyInt_FromLong(wxEVT_SCROLL_ENDSCROLL
));
43264 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_TOP", PyInt_FromLong(wxEVT_SCROLLWIN_TOP
));
43265 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_BOTTOM", PyInt_FromLong(wxEVT_SCROLLWIN_BOTTOM
));
43266 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEUP", PyInt_FromLong(wxEVT_SCROLLWIN_LINEUP
));
43267 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_LINEDOWN
));
43268 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEUP", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEUP
));
43269 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEDOWN
));
43270 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBTRACK
));
43271 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBRELEASE
));
43272 PyDict_SetItemString(d
, "wxEVT_SIZE", PyInt_FromLong(wxEVT_SIZE
));
43273 PyDict_SetItemString(d
, "wxEVT_MOVE", PyInt_FromLong(wxEVT_MOVE
));
43274 PyDict_SetItemString(d
, "wxEVT_CLOSE_WINDOW", PyInt_FromLong(wxEVT_CLOSE_WINDOW
));
43275 PyDict_SetItemString(d
, "wxEVT_END_SESSION", PyInt_FromLong(wxEVT_END_SESSION
));
43276 PyDict_SetItemString(d
, "wxEVT_QUERY_END_SESSION", PyInt_FromLong(wxEVT_QUERY_END_SESSION
));
43277 PyDict_SetItemString(d
, "wxEVT_ACTIVATE_APP", PyInt_FromLong(wxEVT_ACTIVATE_APP
));
43278 PyDict_SetItemString(d
, "wxEVT_POWER", PyInt_FromLong(wxEVT_POWER
));
43279 PyDict_SetItemString(d
, "wxEVT_ACTIVATE", PyInt_FromLong(wxEVT_ACTIVATE
));
43280 PyDict_SetItemString(d
, "wxEVT_CREATE", PyInt_FromLong(wxEVT_CREATE
));
43281 PyDict_SetItemString(d
, "wxEVT_DESTROY", PyInt_FromLong(wxEVT_DESTROY
));
43282 PyDict_SetItemString(d
, "wxEVT_SHOW", PyInt_FromLong(wxEVT_SHOW
));
43283 PyDict_SetItemString(d
, "wxEVT_ICONIZE", PyInt_FromLong(wxEVT_ICONIZE
));
43284 PyDict_SetItemString(d
, "wxEVT_MAXIMIZE", PyInt_FromLong(wxEVT_MAXIMIZE
));
43285 PyDict_SetItemString(d
, "wxEVT_MOUSE_CAPTURE_CHANGED", PyInt_FromLong(wxEVT_MOUSE_CAPTURE_CHANGED
));
43286 PyDict_SetItemString(d
, "wxEVT_PAINT", PyInt_FromLong(wxEVT_PAINT
));
43287 PyDict_SetItemString(d
, "wxEVT_ERASE_BACKGROUND", PyInt_FromLong(wxEVT_ERASE_BACKGROUND
));
43288 PyDict_SetItemString(d
, "wxEVT_NC_PAINT", PyInt_FromLong(wxEVT_NC_PAINT
));
43289 PyDict_SetItemString(d
, "wxEVT_PAINT_ICON", PyInt_FromLong(wxEVT_PAINT_ICON
));
43290 PyDict_SetItemString(d
, "wxEVT_MENU_OPEN", PyInt_FromLong(wxEVT_MENU_OPEN
));
43291 PyDict_SetItemString(d
, "wxEVT_MENU_CLOSE", PyInt_FromLong(wxEVT_MENU_CLOSE
));
43292 PyDict_SetItemString(d
, "wxEVT_MENU_HIGHLIGHT", PyInt_FromLong(wxEVT_MENU_HIGHLIGHT
));
43293 PyDict_SetItemString(d
, "wxEVT_CONTEXT_MENU", PyInt_FromLong(wxEVT_CONTEXT_MENU
));
43294 PyDict_SetItemString(d
, "wxEVT_SYS_COLOUR_CHANGED", PyInt_FromLong(wxEVT_SYS_COLOUR_CHANGED
));
43295 PyDict_SetItemString(d
, "wxEVT_DISPLAY_CHANGED", PyInt_FromLong(wxEVT_DISPLAY_CHANGED
));
43296 PyDict_SetItemString(d
, "wxEVT_SETTING_CHANGED", PyInt_FromLong(wxEVT_SETTING_CHANGED
));
43297 PyDict_SetItemString(d
, "wxEVT_QUERY_NEW_PALETTE", PyInt_FromLong(wxEVT_QUERY_NEW_PALETTE
));
43298 PyDict_SetItemString(d
, "wxEVT_PALETTE_CHANGED", PyInt_FromLong(wxEVT_PALETTE_CHANGED
));
43299 PyDict_SetItemString(d
, "wxEVT_DROP_FILES", PyInt_FromLong(wxEVT_DROP_FILES
));
43300 PyDict_SetItemString(d
, "wxEVT_DRAW_ITEM", PyInt_FromLong(wxEVT_DRAW_ITEM
));
43301 PyDict_SetItemString(d
, "wxEVT_MEASURE_ITEM", PyInt_FromLong(wxEVT_MEASURE_ITEM
));
43302 PyDict_SetItemString(d
, "wxEVT_COMPARE_ITEM", PyInt_FromLong(wxEVT_COMPARE_ITEM
));
43303 PyDict_SetItemString(d
, "wxEVT_INIT_DIALOG", PyInt_FromLong(wxEVT_INIT_DIALOG
));
43304 PyDict_SetItemString(d
, "wxEVT_IDLE", PyInt_FromLong(wxEVT_IDLE
));
43305 PyDict_SetItemString(d
, "wxEVT_UPDATE_UI", PyInt_FromLong(wxEVT_UPDATE_UI
));
43306 PyDict_SetItemString(d
, "wxEVT_SIZING", PyInt_FromLong(wxEVT_SIZING
));
43307 PyDict_SetItemString(d
, "wxEVT_MOVING", PyInt_FromLong(wxEVT_MOVING
));
43308 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_CLICK
));
43309 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_DCLICK
));
43310 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_CLICK
));
43311 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_DCLICK
));
43312 PyDict_SetItemString(d
, "wxEVT_COMMAND_SET_FOCUS", PyInt_FromLong(wxEVT_COMMAND_SET_FOCUS
));
43313 PyDict_SetItemString(d
, "wxEVT_COMMAND_KILL_FOCUS", PyInt_FromLong(wxEVT_COMMAND_KILL_FOCUS
));
43314 PyDict_SetItemString(d
, "wxEVT_COMMAND_ENTER", PyInt_FromLong(wxEVT_COMMAND_ENTER
));
43315 PyDict_SetItemString(d
,"MOUSE_BTN_ANY", SWIG_FromInt((int)wxMOUSE_BTN_ANY
));
43316 PyDict_SetItemString(d
,"MOUSE_BTN_NONE", SWIG_FromInt((int)wxMOUSE_BTN_NONE
));
43317 PyDict_SetItemString(d
,"MOUSE_BTN_LEFT", SWIG_FromInt((int)wxMOUSE_BTN_LEFT
));
43318 PyDict_SetItemString(d
,"MOUSE_BTN_MIDDLE", SWIG_FromInt((int)wxMOUSE_BTN_MIDDLE
));
43319 PyDict_SetItemString(d
,"MOUSE_BTN_RIGHT", SWIG_FromInt((int)wxMOUSE_BTN_RIGHT
));
43320 PyDict_SetItemString(d
,"UPDATE_UI_PROCESS_ALL", SWIG_FromInt((int)wxUPDATE_UI_PROCESS_ALL
));
43321 PyDict_SetItemString(d
,"UPDATE_UI_PROCESS_SPECIFIED", SWIG_FromInt((int)wxUPDATE_UI_PROCESS_SPECIFIED
));
43322 PyDict_SetItemString(d
,"NavigationKeyEvent_IsBackward", SWIG_FromInt((int)wxNavigationKeyEvent::IsBackward
));
43323 PyDict_SetItemString(d
,"NavigationKeyEvent_IsForward", SWIG_FromInt((int)wxNavigationKeyEvent::IsForward
));
43324 PyDict_SetItemString(d
,"NavigationKeyEvent_WinChange", SWIG_FromInt((int)wxNavigationKeyEvent::WinChange
));
43325 PyDict_SetItemString(d
,"IDLE_PROCESS_ALL", SWIG_FromInt((int)wxIDLE_PROCESS_ALL
));
43326 PyDict_SetItemString(d
,"IDLE_PROCESS_SPECIFIED", SWIG_FromInt((int)wxIDLE_PROCESS_SPECIFIED
));
43327 PyDict_SetItemString(d
,"PYAPP_ASSERT_SUPPRESS", SWIG_FromInt((int)wxPYAPP_ASSERT_SUPPRESS
));
43328 PyDict_SetItemString(d
,"PYAPP_ASSERT_EXCEPTION", SWIG_FromInt((int)wxPYAPP_ASSERT_EXCEPTION
));
43329 PyDict_SetItemString(d
,"PYAPP_ASSERT_DIALOG", SWIG_FromInt((int)wxPYAPP_ASSERT_DIALOG
));
43330 PyDict_SetItemString(d
,"PYAPP_ASSERT_LOG", SWIG_FromInt((int)wxPYAPP_ASSERT_LOG
));
43331 PyDict_SetItemString(d
,"PRINT_WINDOWS", SWIG_FromInt((int)wxPRINT_WINDOWS
));
43332 PyDict_SetItemString(d
,"PRINT_POSTSCRIPT", SWIG_FromInt((int)wxPRINT_POSTSCRIPT
));
43333 SWIG_addvarlink(SWIG_globals
,(char*)"NullAcceleratorTable",_wrap_NullAcceleratorTable_get
, _wrap_NullAcceleratorTable_set
);
43334 SWIG_addvarlink(SWIG_globals
,(char*)"PanelNameStr",_wrap_PanelNameStr_get
, _wrap_PanelNameStr_set
);
43335 PyDict_SetItemString(d
,"WINDOW_VARIANT_NORMAL", SWIG_FromInt((int)wxWINDOW_VARIANT_NORMAL
));
43336 PyDict_SetItemString(d
,"WINDOW_VARIANT_SMALL", SWIG_FromInt((int)wxWINDOW_VARIANT_SMALL
));
43337 PyDict_SetItemString(d
,"WINDOW_VARIANT_MINI", SWIG_FromInt((int)wxWINDOW_VARIANT_MINI
));
43338 PyDict_SetItemString(d
,"WINDOW_VARIANT_LARGE", SWIG_FromInt((int)wxWINDOW_VARIANT_LARGE
));
43339 PyDict_SetItemString(d
,"WINDOW_VARIANT_MAX", SWIG_FromInt((int)wxWINDOW_VARIANT_MAX
));
43340 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultValidator",_wrap_DefaultValidator_get
, _wrap_DefaultValidator_set
);
43341 SWIG_addvarlink(SWIG_globals
,(char*)"ControlNameStr",_wrap_ControlNameStr_get
, _wrap_ControlNameStr_set
);
43342 PyDict_SetItemString(d
,"FLEX_GROWMODE_NONE", SWIG_FromInt((int)wxFLEX_GROWMODE_NONE
));
43343 PyDict_SetItemString(d
,"FLEX_GROWMODE_SPECIFIED", SWIG_FromInt((int)wxFLEX_GROWMODE_SPECIFIED
));
43344 PyDict_SetItemString(d
,"FLEX_GROWMODE_ALL", SWIG_FromInt((int)wxFLEX_GROWMODE_ALL
));
43345 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultSpan",_wrap_DefaultSpan_get
, _wrap_DefaultSpan_set
);
43346 PyDict_SetItemString(d
,"Left", SWIG_FromInt((int)wxLeft
));
43347 PyDict_SetItemString(d
,"Top", SWIG_FromInt((int)wxTop
));
43348 PyDict_SetItemString(d
,"Right", SWIG_FromInt((int)wxRight
));
43349 PyDict_SetItemString(d
,"Bottom", SWIG_FromInt((int)wxBottom
));
43350 PyDict_SetItemString(d
,"Width", SWIG_FromInt((int)wxWidth
));
43351 PyDict_SetItemString(d
,"Height", SWIG_FromInt((int)wxHeight
));
43352 PyDict_SetItemString(d
,"Centre", SWIG_FromInt((int)wxCentre
));
43353 PyDict_SetItemString(d
,"Center", SWIG_FromInt((int)wxCenter
));
43354 PyDict_SetItemString(d
,"CentreX", SWIG_FromInt((int)wxCentreX
));
43355 PyDict_SetItemString(d
,"CentreY", SWIG_FromInt((int)wxCentreY
));
43356 PyDict_SetItemString(d
,"Unconstrained", SWIG_FromInt((int)wxUnconstrained
));
43357 PyDict_SetItemString(d
,"AsIs", SWIG_FromInt((int)wxAsIs
));
43358 PyDict_SetItemString(d
,"PercentOf", SWIG_FromInt((int)wxPercentOf
));
43359 PyDict_SetItemString(d
,"Above", SWIG_FromInt((int)wxAbove
));
43360 PyDict_SetItemString(d
,"Below", SWIG_FromInt((int)wxBelow
));
43361 PyDict_SetItemString(d
,"LeftOf", SWIG_FromInt((int)wxLeftOf
));
43362 PyDict_SetItemString(d
,"RightOf", SWIG_FromInt((int)wxRightOf
));
43363 PyDict_SetItemString(d
,"SameAs", SWIG_FromInt((int)wxSameAs
));
43364 PyDict_SetItemString(d
,"Absolute", SWIG_FromInt((int)wxAbsolute
));
43366 // Initialize threading, some globals and such
43370 // Although these are defined in __version__ they need to be here too so
43371 // that an assert can be done to ensure that the wxPython and the wxWindows
43373 PyDict_SetItemString(d
,"MAJOR_VERSION", PyInt_FromLong((long)wxMAJOR_VERSION
));
43374 PyDict_SetItemString(d
,"MINOR_VERSION", PyInt_FromLong((long)wxMINOR_VERSION
));
43375 PyDict_SetItemString(d
,"RELEASE_VERSION", PyInt_FromLong((long)wxRELEASE_NUMBER
));